Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- @echo off
- /files/adb "wait-for-device"
- /files/adb shell "su -c 'echo --- Superuser check successful'"
- /files/adb shell "cd /data/local/tmp/; rm *"
- /files/adb push /files/busybox "/data/local/tmp/."
- /files/adb shell "chmod 755 /data/local/tmp/busybox"
- /files/adb shell "su -c '/data/local/tmp/busybox mount -o remount,rw /system'"
- /files/adb push /files/unroot "/data/local/tmp/."
- /files/adb shell "chmod 777 /data/local/tmp/unroot"
- /files/adb shell "su -c '/data/local/tmp/unroot'"
- /files/adb shell "cd /data/local/tmp/; rm *"
- /files/adb reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement