Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,194 Members 51,955 Now Online
XDA Developers Android and Mobile Development Forum

[ROOT][IOroot] Root your LG G Flex [D950|D955|D958|D959|F340|LS995][Weee!]

Tip us?
 
autoprime
Old
(Last edited by autoprime; 9th July 2014 at 04:38 AM.)
#1  
autoprime's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 4,963
Posts: 1,630
Join Date: Jun 2010

 
DONATE TO ME
Default [ROOT][IOroot] Root your LG G Flex [D950|D955|D958|D959|F340|LS995][Weee!]


ioroot

ioroot latest update jun172014

ioroot is an untethered jailbreak for LG android phones and tablets.
Gain full administrator access to your device to run cool themes and neat apps that require root.

G Flex models supported by ioroot jailbreak:

F340 series - All 4.2.2 // 4.4.2 ??
D950 (ATT) - All 4.2.2 // No 4.4.2 support
D955 series - All 4.2.2
D958 series - All 4.2.2 // No 4.4.2 support
D959 (TMO) - All 4.2.2 // No 4.4.2 support
LS995 (SPR) - All


To see a list of all ioroot supported devices click the button below...
 


LG Optimus G - All

LG G2:
D800 (ATT) - All
D801 (TMO) - All 4.2.2 // No 4.4.2 support, (CLR/VTR) - All 4.2.2 // 4.4.2 ??), (WND) - All
D802/T - All
D803 - All
D805 - All
D806 - All
F320K - Shipping 4.2.2 ROM/20a/20f // 4.4.2 ??
F320L - Shipping 4.2.2 ROM/20b/20e // 4.4.2 ??
F320S - Shipping 4.2.2 ROM/20a/20g // 4.4.2 ??
LS980 (SPR) - All
VS980 (VZW) - All

LG G3
F400K - 4.4.2 10B
F400L - 4.4.2 10A
F400S - 4.4.2 10B
LS990 - 4.4.2 ZV2

LG G Flex:
F340 series - All 4.2.2 // 4.4.2 ??
D950 (ATT) - All 4.2.2 // No 4.4.2 support
D955 series - All 4.2.2
D958 series - All 4.2.2 // No 4.4.2 support
D959 (TMO) - All 4.2.2 // No 4.4.2 support
LS995 (SPR) - All

LG G Pro - All 4.4.2

LG G Pro 2:
F350 series - Shipping ROM // 4.4.2 ??
D838 - Shipping ROM // 4.4.2 ??

LG G Pad 8.3 - All

Download:
Changelog...
 

Code:
jun172014: cleaned everything up. 
v25r1: Script fixes: Proper D802T support, LGOG EFS backup typo, better 4.4.2 detection.
v25: added root for most 4.4.2 devices. Thx to @jarari2 for the stock recovery idea. 
v24: added support for G2 D800 10q, G Flex D956 and G Pro 2 F350K/L/S(thx to @hkfriends for confirming ioroot method still works)
v23: added support for AT&T G Flex D950 10c.
v22: added support for TMO D959 G Flex. Tweaked scripts EFS backup.
v21: added support for Sprint LS980ZVA update. Added EFS backup support. 
v20: added support for all D802/D805/D806. Updated all scripts. Added LG Optimus G and LG G Flex support. SuperSu now installs to /system. 
v19: added support for MORE F320 4.4 firmware. Added Singtel D802 support. Linux/Mac script fixes.
v18: added support for MORE F320 4.4 firmware. Added Vodafone(VDF) carrier. Tweaked scripts.
v17: added F320* 4.4 KitKat root. Added SuperSu.4.4 users must reboot after running root script(mac/linux)
v16: added TMO 10g root and "SCA" root(D802/D805)
v15: added ATT 10o root. 
v12: added Verizon 12B root.
v11: added linux support and Sprint LS980 root(both thanks to @Shelnutt2)

Now accepting donations to get my own LG G3

How-to:
 

1 Run ioroot.bat, ioroot.sh, ioroot.tool and follow the onscreen directions.

Extended info and FAQ below...
 

Windows Drivers:
Verizon Drivers - HERE
Drivers for everyone else - HERE


Download and extract the latest ioroot.zip... datroot.zip is inside the bts folder.
ioroot also jailbreaks other LG devices. Supported devices are found in the device list in this thread.
Enable "USB Debugging" on phone. Accept RSA certificate to allow ADB access. Not accepting RSA will cause ADB device to show as "offline"
Verizon users must also enable "Ethernet" for USB mode.

Windows:
Install drivers.
Double-click on ioroot.bat in ioroot folder.

Linux:
Open terminal and cd into /ioroot/ folder
chmod +x ioroot.sh
./root.sh

Mac:
double-click on ioroot.tool* in ioroot folder.

** may need to chmod +x the file first.


FAQ
Q: Will this jailbreak other LG devices?
A: It will jailbreak any LG device which can be booted into stock recovery with menu. Confirmed devices are found in the device list in this thread.

Q: Why do I see an android with a red x or just reboot when I try to get into recovery?
A: Your device has a lame recovery and may have issues jailbreaking w/current IOroot 4.4.2.

Q: Will this root non-LG devices?
A: Probably not.

Q: The script doesn't work for me, can you help?
A: No, use terminal to manually enter the commands or ask for help in the thread.

Q: I can't get 'adb devices' to see me phone, can you help?
A: learn2android

Q: Know any hip places to hang out and talk with other rad people about the LG G Flex?
A: Check us out on IRC: #lg-g-flex on Freenode



EFS Backup:
 

Code:
Backup EFS after jailbreaking your G Flex. EFS is split into 2 partitions modemst1 and modemst2. 
Save the .img files somewhere in case you need them in the future(email, cloud, etc..).

Backup:
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst1 of=/sdcard/modemst1.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst2 of=/sdcard/modemst2.img

Restore:
adb shell
su
dd if=/sdcard/modemst1.img of=/dev/block/platform/msm_sdcc.1/by-name/modemst1
dd if=/sdcard/modemst2.img of=/dev/block/platform/msm_sdcc.1/by-name/modemst2


Code:
About ioroot

ioroot was originally a Windows script to root the LG G2 on 4.2.2 made by IOMonster.
It was based on the original adb backdoor found by GiantPune and later posted by jcase.
The script has grown to run on Windows, Linux and OSX and support various other LG devices on Android 4.0 - 4.4.2... 
Supported devices include LG Optimus G, G2, G3, G Pro, G Pro 2, G Flex, G Pad, L70, L80, L90, G2 mini and more.
4.4.2 recovery root (datroot.zip) by autoprime. IOroot 12+ by autoprime.
y u no hit thanks button?
The Following 73 Users Say Thank You to autoprime For This Useful Post: [ Click to Expand ]
 
papi92
Old
#2  
papi92's Avatar
Senior Member
Thanks Meter 1,358
Posts: 2,116
Join Date: Nov 2009

 
DONATE TO ME
IOroot20
LG-F340S
SKT
F340S10f
lge/z_skt_kr/zee:4.2.2/JDQ39B/F340S10f.1389236182:user/release-keys


Root didn't work on my F340
The Following User Says Thank You to papi92 For This Useful Post: [ Click to Expand ]
 
autoprime
Old
(Last edited by autoprime; 20th January 2014 at 11:36 PM.)
#3  
autoprime's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 4,963
Posts: 1,630
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by papi92 View Post
IOroot20
LG-F340S
SKT
F340S10f
lge/z_skt_kr/zee:4.2.2/JDQ39B/F340S10f.1389236182:user/release-keys


Root didn't work on my F340
When people have issues in the future.. the following info is what i need(on top of what is already provided in the quote above).

which script? windows linux or mac?
any errors along the way?
which IOroot version?

if you try: adb shell
you don't see a #?

any other specifics you can give me may help as well.
The Following User Says Thank You to autoprime For This Useful Post: [ Click to Expand ]
 
papi92
Old
#4  
papi92's Avatar
Senior Member
Thanks Meter 1,358
Posts: 2,116
Join Date: Nov 2009

 
DONATE TO ME
I used a mac. I tried manually it never grabs # also in the zip there are no files for the flex. Everything is g2 branded.

Sent from my LG-F340S using Tapatalk
 
autoprime
Old
#5  
autoprime's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 4,963
Posts: 1,630
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by papi92 View Post
I used a mac. I tried manually it never grabs # also in the zip there are no files for the flex. Everything is g2 branded.

Sent from my LG-F340S using Tapatalk
ah ha! figures I'd derp something. I left the F340-series file out of the zip by mistake. I've uploaded a new v20 zip with the proper file.
delete current zip.. redownload.. and hopefully you're good.
 
papi92
Old
#6  
papi92's Avatar
Senior Member
Thanks Meter 1,358
Posts: 2,116
Join Date: Nov 2009

 
DONATE TO ME
Lol okay thanks

Sent from my LG-F340S using Tapatalk
 
N3M3SYS
Old
#7  
N3M3SYS's Avatar
Member
Thanks Meter 4
Posts: 73
Join Date: Dec 2009
Location: Thessaliniki
Hi, maybe a silly question, but if I root my F430L, would I be able to receive OTA updates normally? I'm not interested to flash any other ROM, just some mods.
Thanks in advance, great explained guide!
 
autoprime
Old
(Last edited by autoprime; 22nd January 2014 at 11:52 PM.)
#8  
autoprime's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 4,963
Posts: 1,630
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by N3M3SYS View Post
Hi, maybe a silly question, but if I root my F430L, would I be able to receive OTA updates normally? I'm not interested to flash any other ROM, just some mods.
Thanks in advance, great explained guide!
most official OTA updates from a carrier patch the current files found in /system rather than replacing all of them entirely(at least in many cases)... because of this.. the OTA update will check each and every stock system file to make sure it has been unmodified. If you modify any of the stock files this would cause the OTA to most likely fail.

What you could do is make backups of the files you do choose to update.. then you can restore the backups when it's time to OTA update. Also, you can add modded files that are not part of /system and this will not mess with the OTA. The OTA only cares about the original system files... not new files you have added(that have not altered the original system files themselves).

tl;dr
you can root and still accept OTA updates as long as no original /system files have been altered and you still have stock recovery(you didnt install twrp/cwm).
The Following 2 Users Say Thank You to autoprime For This Useful Post: [ Click to Expand ]
 
N3M3SYS
Old
#9  
N3M3SYS's Avatar
Member
Thanks Meter 4
Posts: 73
Join Date: Dec 2009
Location: Thessaliniki
Quote:
Originally Posted by autoprime View Post
most official OTA updates from a carrier patch the current files found in /system rather than replacing all of them entirely(at least in many cases)... because of this.. the OTA update will check each and every stock system file to make sure it has been unmodified. If you modify any of the stock files this would cause the OTA to most likely fail.

What would could do is make backups of the files you do choose to update.. then you can restore the backups when it's time to OTA update. Also, you can add modded files that are not part of /system and this will not mess with the OTA. The OTA only cares about the original system files... not new files you have added(that have not altered the original system files themselves).

tl;dr
you can root and still accept OTA updates as long as no original /system files have been altered and you still have stock recovery(you didnt install twrp/cwm).
Thank you for the extensive clarification, I appreciate it!
 
Wired4Fun
Old
#10  
Wired4Fun's Avatar
Senior Member
Thanks Meter 65
Posts: 205
Join Date: Sep 2010
OMG...
Simplest. Root. Ever.

Worked flawlessly on my VS980 running Software version VS98012B.

Thanks!

Thread Tools
Display Modes