Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

LG IOroot

By: derp_derp on Dec 21st, 2013  |  syntax: None  |  size: 8.04 KB  |  views: 16,557  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. IOroot25r1 Download: http://bit.ly/1ldPel3
  2. -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  3. Automated root for LG Optimus G, G Pro, G2, G Pro 2, G Flex, G3
  4. Original IOroot 1 - 10 by IOMonster (thecubed on XDA)
  5. http://tinyw.in/mXhw
  6. Original LG root backdoor by giantpune
  7. Original linux script and IOroot 11 by Shelnutt2
  8. IOroot 12 - 25r1 and 4.4.2+ root by autoprime
  9. -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  10.  
  11.  
  12. Changelog:
  13. -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  14. v25r1: Fixed LG OG EFS backup. Added D802T 4.2.2 support. Script checks for 4.4.2 first. G3 supported.
  15. v25: Added root for 4.4.2 devices. Added G Pro 2 D838 support.
  16. v24: added support for G2 D800 10q, G Flex D956 and G Pro 2 F350K/L/S
  17. v23: added support for AT&T G Flex D950 10c.
  18. v22: added support for TMO D959 G Flex. Tweaked scripts EFS backup... hopefully no more errors.
  19. v21: added support for Sprint LS980ZVA update. Added EFS backup support.
  20. v20: added support for all D802/D805/D806. Updated all scripts. Added LG Optimus G and LG G Flex support.
  21. v19: added support for MORE F320 4.4 firmware. Added Singtel D802 support. Linux/Mac script fixes.
  22. v18: added support for MORE F320 4.4 firmware. Added Vodafone(VDF) carrier(should work with at least Shipping ROM). Tweaked scripts.
  23. v17: added F320* 4.4 KitKat root. Added SuperSu.4.4 users must reboot after running root script(mac/linux)
  24. v16: added TMO 10g root and "SCA" root(D802/D805)
  25. v15: added ATT 10o root.
  26. v12: added Verizon 12B root.
  27. v11: added Sprint LS980 root.
  28.  
  29.  
  30. Supports(as of Jun 07 2014):
  31. -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  32. LG G3
  33. F400 Series - Shipping ROM
  34.  
  35. LG G2:
  36. D800 - D80010d/D80010o/4.4.2
  37. D801 - TMO(all 4.2.2 // No 4.4.2 support), CLR(all 4.2.2 // 4.4.2 ??), WND(all 4.2.2 // 4.4.2 ??), VTR(all 4.2.2 // 4.4.2 ??)
  38. D802 - all
  39. D803 - all
  40. D805 - all
  41. D806 - all
  42. F320K (Shipping ROM)
  43. F320K - F320K20a/20f // 4.4.2 ??
  44. F320L (Shipping ROM)
  45. F320L - F320L20b/20e // 4.4.2 ??
  46. F320S (Shipping ROM)
  47. F320S - F320S20a/20g // 4.4.2 ??
  48. Sprint LS980 - All
  49. Verizon VS980 - All
  50.  
  51. LG G Flex:
  52. F340 series - All 4.2.2  // 4.4.2 ??
  53. D950 - All 4.2.2 // No 4.4.2 support
  54. D955 series - All 4.2.2
  55. D958 series - All 4.2.2 // No 4.4.2 support
  56. D959 - All 4.2.2 // No 4.4.2 support
  57. LS995 - All
  58.  
  59. LG Optimus G - All
  60.  
  61. LG G Pro:
  62. 4.4.2 Only
  63.  
  64. LG G Pro 2:
  65. F350 series - Shipping ROM // 4.4.2 ??
  66. D838 - Shipping ROM // 4.4.2 ??
  67.  
  68. LG G Pad - 4.4.2 only
  69. -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  70.  
  71.  
  72. Directions:
  73. -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  74. Confirm your device is supported above.
  75.  
  76. Download latest IOroot zip and extract it.
  77.  
  78. Set phone in USB Debugging mode.
  79.  
  80. Verizon users need to set USB connection to "Ethernet" mode.
  81.  
  82. Confirm device is detected in ADB using "adb devices" command.
  83. Be sure to accept the RSA prompt on your phone.. and check the "always allow" box as well.
  84.  
  85. Run .sh/.bat and follow the onscreen instructions.
  86.  
  87. If the script is stuck at "waiting for device".. turn your phone screen on and unlock it.. make sure ADB has the proper permission and that the ADB RSA prompt isn't sitting on the YES/NO screen. Check the "always remember" box when you accept it!!!
  88.  
  89. Windows:
  90. Download and install proper ADB driver. Double-click on root.bat
  91.  
  92. Linux:
  93. cd into IOroot folder
  94. chmod +x root.sh
  95. ./root.sh
  96.  
  97. Mac:
  98. cd into /IOroot/mac folder
  99. chmod +x root.sh
  100. ./root.sh
  101.  
  102.  
  103. Drivers:
  104. -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  105. Verizon Drivers - http://bit.ly/1bXdAdf
  106. Drivers for everyone else - http://bit.ly/18EPHZN
  107.  
  108.  
  109. Manual 4.4.2 Root:
  110. -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  111. cd into ioroot folder (ioroot/mac/ if on OSX...)
  112. Linux/Mac users may have to enter ./ before adb on each line.
  113. Example: ./adb push g2_security /sdcard/g2_security
  114.  
  115. 1. adb devices
  116. 2. adb reboot recovery
  117. (when booted in recovery, select: 'apply update from adb' with power button)
  118. 3. adb sideload kk_root.zip
  119.  
  120. reboot when zip finishes flashing. done.
  121.  
  122.  
  123.  
  124.  
  125. 4.2.2 Manual Root:
  126. -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  127. Download and extract the latest IOroot.zip
  128. Enable USB Debugging. VZW users must also enable ethernet mode.
  129. Open terminal/command prompt. windows/linux users: cd into /ioroot folder. mac users cd into /ioroot/mac
  130. (windows users can hold shift key, right click in ioroot folder. Select "open command window" option.
  131.  
  132. copy/paste commands below.. hitting enter/return after each line.
  133. Linux/Mac users may have to enter ./ before adb on each line.
  134. Example: ./adb push g2_security /sdcard/g2_security
  135.  
  136. 1: adb devices
  137. (make sure it sees your device; if "offline" turn on phone/unlock and accept RSA key prompt)
  138. 2: Choose next line based on model and firmware version:
  139. AT&T D80010d (Shipping ROM): adb push g2_security /sdcard/g2_security
  140. AT&T D80010o/10q: adb push ytiruces_1a_att /sdcard/ytiruces_1a
  141. KT F320k (Shipping ROM): adb push g2_security /sdcard/g2_security
  142. KT F320K20a/20f (KitKat): adb push ytiruces_1a_kk /mnt/shell/emulated/0/ytiruces_1a
  143. LGU F320L (Shipping ROM): adb push g2_security /sdcard/g2_security
  144. LGU F320L20b/20e (KitKat): adb push ytiruces_1a_kk /mnt/shell/emulated/0/ytiruces_1a
  145. D802(T) (4.2.2): adb push g2_security /sdcard/g2_security
  146. D803 (4.2.2): adb push ytiruces_1a_d803 /sdcard/ytiruces_1a
  147. D805 (4.2.2): adb push g2_security /sdcard/g2_security
  148. D806 (4.2.2): adb push g2_security /sdcard/g2_security
  149. SKT F320S (Shipping ROM): adb push g2_security /sdcard/g2_security
  150. SKT F320S20a/20g (KitKat): adb push ytiruces_1a_kk /mnt/shell/emulated/0/ytiruces_1a
  151. Sprint LS980ZV7/ZV8: adb push g2_security_spr /sdcard/g2_security
  152. Sprint LS980ZVA (OTA): adb push ytiruces_1a_ls980 /sdcard/ytiruces_1a
  153. T-Mobile D80110c (Shipping ROM): adb push g2_security /sdcard/g2_security
  154. T-Mobile D80110g (OTA): adb push ytiruces_1a_tmo /sdcard/ytiruces_1a
  155. Verizon VS98010B (Shipping ROM): adb push g2_security_vzw /sdcard/g2_security
  156. Verizon VS98011A/12B (OTA): adb push ytiruces_1a_vzw /sdcard/ytiruces_1a
  157. Videotron D801 (4.2.2): adb push ytiruces_1a_d803 /sdcard/ytiruces_1a
  158. Wind D801 (4.2.2): adb push ytiruces_1a_d803 /sdcard/ytiruces_1a
  159.  
  160. F340-Series (4.2.2): adb push ytiruces_1a_F340JB /sdcard/ytiruces_1a
  161. D950 (4.2.2): adb push ytiruces_1a_kk /sdcard/ytiruces_1a
  162. D955-Series (4.2.2): adb push ytiruces_1a_kk /sdcard/ytiruces_1a
  163. D956-Series (4.2.2): adb push ytiruces_1a_kk /sdcard/ytiruces_1a
  164. D958-Series (4.2.2): adb push ytiruces_1a_kk /sdcard/ytiruces_1a
  165. D959 (4.2.2): adb push ytiruces_sumtz /sdcard/ytiruces_sumtz
  166. LS995 (4.2.2): adb push ytiruces_1a_ls995 /sdcard/ytiruces_1a
  167.  
  168. F350K/L/S (4.4.2): adb push ytiruces_1a_kk /sdcard/ytiruces_1a
  169.  
  170. ********************************************************
  171. This next depends on your computer/phone model...
  172.  
  173. USB Connection Mode needs to be toggled.
  174. Ways to do this are listed below...
  175.  
  176. a. Unplug usb cable from phone then re-plug.
  177. b. Toggle USB mode from Charge to MTP back to Charge
  178. c. Toggle USB mode from Ethernet to MTP back to Ethernet (VZW users)
  179. ********************************************************
  180.  
  181. 3: adb shell
  182. (you should now see a # instead of a $. # = root)
  183. 4: exit
  184. 5: adb shell "mount -o remount,rw /system"
  185. 6: adb push su /system/xbin/su
  186. 7: adb push su /system/xbin/daemonsu
  187. 8: adb push install-recovery.sh /system/etc/install-recovery.sh
  188. 9: adb shell "chown 0.0 /system/xbin/su;chmod 06755 /system/xbin/su"
  189. 10: adb shell "chown 0.0 /system/xbin/daemonsu;chmod 06755 /system/xbin/daemonsu"
  190. 11: adb shell "chown 0.2000 /system/etc/install-recovery.sh;chmod 755 /system/etc/install-recovery.sh"
  191. 12: adb shell "sync;mount -o remount,ro /system"
  192. 13: adb install Superuser.apk
  193.  
  194. REBOOT AFTER STEP #13