Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. echo "echo skipping chargemon" > chargemon.script
  2.  
  3. adb pull /system/bin/chargemon chargemon.backup
  4.  
  5. adb push chargemon.script /sqlite_stmt_journals
  6.  
  7. adb shell
  8.  
  9. $ cd /sqlite_stmt_journals
  10. $ su
  11. # mount -o remount,rw /dev/block/mtdblock0 /system
  12. # cat chargemon.script > /system/bin/chargemon
  13. # chmod 755 /system/bin/chargemon
  14. # reboot -p
  15.  
  16. #!/system/bin/sh
  17. /system/bin/reboot
  18.  
  19. #!/system/bin/sh
  20. su
  21. /system/bin/reboot
  22.  
  23. /system/bin/reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement