Advertisement
superr

unroot.sh

Jul 12th, 2013
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. #!/bin/bash
  2. @echo off
  3.  
  4. /files/adb "wait-for-device"
  5. /files/adb shell "su -c 'echo --- Superuser check successful'"
  6. /files/adb shell "cd /data/local/tmp/; rm *"
  7. /files/adb push /files/busybox "/data/local/tmp/."
  8. /files/adb shell "chmod 755 /data/local/tmp/busybox"
  9. /files/adb shell "su -c '/data/local/tmp/busybox mount -o remount,rw /system'"
  10. /files/adb push /files/unroot "/data/local/tmp/."
  11. /files/adb shell "chmod 777 /data/local/tmp/unroot"
  12. /files/adb shell "su -c '/data/local/tmp/unroot'"
  13. /files/adb shell "cd /data/local/tmp/; rm *"
  14. /files/adb reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement