Advertisement
Guest User

en_f05dsu.bat

a guest
Mar 19th, 2012
727
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. echo F-05D root
  3. echo Required files: lsm_disabler.ko su adb.exe AdbWinUsbApi.dll AdbWinApi.dll
  4. echo On the phone, enable Settings, Applications, Unkown sources.
  5. echo Enable Settings, Applications, Development, USB Debugging.
  6. echo Go to Settings, Setting my body, Step/activity counter app, Pedometer use, and make sure it is turned On. Press any key when ready.
  7. pause
  8.  
  9. adb shell "mv /data/local/motion_activemass02.db /data/local/motion_activemass02.db-"
  10. adb shell "ln -s /data/local.prop /data/local/motion_activemass02.db"
  11.  
  12. echo Toggle Settings, Setting my body, Step/activity counter app, Pedometer use, OFF, then ON. Press any key when ready.
  13.  
  14. pause
  15.  
  16. adb shell "mv /data/local/motion_activemass02.db- /data/local/motion_activemass02.db"
  17. adb shell "echo ro.kernel.qemu=1 > /data/local.prop"
  18.  
  19. echo Rebooting phone, please wait.
  20. adb reboot
  21.  
  22. echo Once the phone is rebooted, make sure it's connected via USB and ready. Press any key when ready.
  23. pause
  24.  
  25. adb push lsm_disabler.ko /data/local/
  26. adb shell "insmod /data/local/lsm_disabler.ko"
  27.  
  28. adb shell "mount -o rw,remount /system /system"
  29. adb push su /data/local/
  30.  
  31. adb shell "chmod 755 /data/local/su"
  32.  
  33. adb shell "cat /data/local/su > /system/xbin/su"
  34. adb shell "chown root.root /system/xbin/su"
  35. adb shell "chmod 06755 /system/xbin/su"
  36.  
  37. adb shell "echo insmod /data/local/lsm_disabler.ko > /system/xbin/soff"
  38. adb shell "chmod 755 /system/xbin/soff"
  39.  
  40. adb shell "mount -o ro,remount /system /system"
  41. adb shell "echo > /data/local.prop"
  42.  
  43. echo If no errors are reported, press any key to reboot the phone one last time - it will then be rooted.
  44. pause
  45. adb reboot
  46. echo Please install Superuser.apk and Busybox from the market.
  47. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement