Guest User

Untitled

a guest
Oct 21st, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. su
  2. stop adbd
  3. setprop service.adb.tcp.port 5555
  4. start adbd
  5.  
  6. adb connect 192.168.123.123
  7.  
  8. android update sdk no-ui
  9. android update adb
  10.  
  11. adb kill-server
  12. adb connect 192.168.123.123
  13.  
  14. su
  15. mv /mnt/usb/sdcard/adbkey.pub /data/misc/adb/adb_keys
  16.  
  17. stop adbd
  18. setprop service.adb.tcp.port 5555
  19. start adbd
  20.  
  21. adb kill-server
  22. adb connect 192.168.123.123
  23.  
  24. su
  25. mount -o rw,remount /system
  26.  
  27. mkdir /system/bin/.ext
  28. chmod 777 /system/bin/.ext
  29. chown root /system/bin/.ext
  30. cp /data/superuser/su /system/bin/.ext/.su
  31. chmod 6755 /system/bin/.ext/.su
  32. chown root /system/bin/.ext/.su
  33. cp /data/superuser/su /system/xbin/su
  34. chmod 755 /system/xbin/su
  35. chown root /system/xbin/su
  36. cp /data/superuser/su /system/xbin/daemonsu
  37. chmod 755 /system/xbin/daemonsu
  38. chown root /system/xbin/daemonsu
  39. cp /data/superuser/supolicy /system/xbin/supolicy
  40. chmod 755 /system/xbin/supolicy
  41. cp /data/superuser/libsupol.so /system/lib/libsupol.so
  42. chmod 644 /system/lib/libsupol.so
  43.  
  44. mkdir /system/etc/init.d
  45. chmod 644 /system/etc/init.d
  46. cp /data/superuser/99SuperSUDaemon /system/etc/init.d/99SuperSUDaemon
  47. chmod 744 /system/etc/init.d/99SuperSUDaemon
  48. busybox_xm touch /system/etc/.installed_su_daemon
  49. echo 1 >> /system/etc/.installed_su_daemon
  50. chmod 644 /system/etc/.installed_su_daemon
  51.  
  52. mkdir /system/app/SuperSU
  53. chmod 755 /system/app/SuperSU
  54. cp /data/superuser/SuperSU.apk /system/app/SuperSU/SuperSU.apk
  55. chmod 644 /system/app/SuperSU/SuperSU.apk
  56. cp /data/superuser/install-recovery.sh /system/etc/install-recovery.sh
  57. chmod 755 /system/etc/install-recovery.sh
  58. ln -s /system/etc/install-recovery.sh /system/bin/install-recovery.sh
Add Comment
Please, Sign In to add comment