Root T-Mobile S6/Edge on 5.1.1 Without Tripping Knox

If you purchase phones from a carrier, you may be no stranger to the difficulties … more

IonVR Coming Soon, HTC M9 Dev Edition Gets Android 5.1 – XDA TV

The HTC M9 Developer Edition has received Android 5.1. That and … more

Android 5.1.1 Omni ROM For Motorola Xoom

Back in Feb 2011, the Motorola Xoom became the first device to be sold with Android 3.0 … more

CleanSlate Brings Fingerprint Scanner Mod to HTC One M9+

Work of XDA Recognized Developer tbalden, CleanSlate custom kernel for the HTC … more

[Windows/Linux][Source]Optimus G All in One Root/Unlock

176 posts
Thanks Meter: 249
By TheShadow1, Senior Member on 10th December 2012, 02:51 AM
Post Reply Subscribe to Thread Email Thread
Hello everyone.

I have created an AIO tool for the Sprint LG Optimus G. (G AIO, or GAIO).

I am trying to spur up more people to get interested in rooting and unlocking their devices to get more action around here. I have coded this AIO tool quickly to help those who can not find root/unlock information, are too lazy to do it, or don't know how to use it.

The AIO tool supports both Linux and Windows (Not sure about Mac OS X, please don't test on Mac because I won't know the outcome).

The tool supports both unlocking the bootloader and rooting the device via Linux AND Windows. The AIO tool is programmed in Java to allow that to happen.

Before I continue, I would like to point out I did not make the unlock/root methods.

Credits for the Root method:

Credits for the Unlock method:

Here is a screenshot of the program under Windows:

I have released the source to Github for all to see and use:

Current Version: 1.50



Fixed root detection bug
Automate root scripts. You no longer have to press '1' to activate the scripts
Add confirmation dialog for rooting, unlocking, installing recovery etc.
Fixed bug where adb server was not killed on application close
Fixed deleting temporary files on exit
Added software version check to check if device is supported. ZV9 added to unsupported list at the time
Updated Bin4y root scripts to v18
Modified those root scripts to work automatically
Added JSON library. Example of use, Allows for dynamic elements in program
Added recovery installer! Needs internet connection. Currently supports TWRP and clockwork
Added element to check if device bootloader is unlocked
Add boot restore function! Restore your boot.img if you flashed a bad kernel. Requires internetc connection
Added automatic LG Driver installer. Requires internet connection
LG Installer will check if Windows driver is installed, if not, gracefully ask the user to install it.
Added an update function. This only checks for an update if you are connected to the internet
The update is checked on start, once, in the background and only annoys you if you are out of date
Update Swing GUI threading the correct way, since Swing is not thread safe
Fixed many graphical errors
Fixed some exceptions
Fixed many other random bugs and cleaned up some code


Initial Release
Future Additions:
Remove Root
Remove Unlock
Implement Reboot menu (recovery, bootloader etc.)

I hope this is useful for some people, my intention was to centralize and ease the rooting and unlocking process. I am sorry if the program doesn't work for your specific computer. I am also sorry if my code is a little unorganized, as this was made rather quickly.
Last edited by TheShadow1; 11th January 2013 at 04:17 AM.
The Following 48 Users Say Thank You to TheShadow1 For This Useful Post: [ View ]
10th December 2012, 03:12 AM |#2  
Senior Member
Thanks Meter: 94
Thanks bro i haven't rooted yet still waiting on this update ( jellybean ) too come ... fingers crossed

But when i do i will def use this. THANKS FOR YOUR HARD WORK AND TIME BRO.
10th December 2012, 03:52 AM |#3  
Senior Member
Thanks Meter: 58
I'm rooting after finals but if this works with windows 8 and only takes one click, I may just root this week!

Sent from my LG-LS970 using Tapatalk 2
10th December 2012, 03:56 AM |#4  
OP Senior Member
Thanks Meter: 249
Should work with Windows 8. No reason it shouldn't. Let me know how it goes and thanks for your interest.
10th December 2012, 04:08 AM |#5  
_Epic's Avatar
Senior Member
Flag Lakeland, FL
Thanks Meter: 1,195

Sent from my LG-LS970 using xda premium
10th December 2012, 04:11 AM |#6  
Junior Member
Thanks Meter: 8
Just used this to root, works perfectly and very easy. Thanks a lot!
10th December 2012, 04:19 AM |#7  
engine95's Avatar
Recognized Contributor
Thanks Meter: 3,223
Donate to Me
This is awesome! It'll definitely generate more interest here.
I've been rooted and unlocked as soon as available. And loving it. This phone will come into its own soon. Thank you.

Sent from my LG-LS970 using xda premium
10th December 2012, 04:30 AM |#8  
Senior Member
Thanks Meter: 9
This is great. Hope you can add a rom into it when roms start coming . I am still not at my upgrade time, but soon
10th December 2012, 04:50 AM |#9  
Flag San Diego
Thanks Meter: 5
Great news!

Sent from my Nexus 7 using xda app-developers app
10th December 2012, 05:04 AM |#10  
Senior Member
Thanks Meter: 21
Going to give this a try in a few minutes I have been to lazy and with school and a family I do think have a lot of free time. With any other device I'm usually rooted within the first day of owning it just didn't have a huge need this phone is dang good stock
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes