Post Reply

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

OP TheShadow1

10th December 2012, 03:51 AM   |  #1  
OP Senior Member
Thanks Meter: 246
174 posts
Join Date:Joined: Dec 2010
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 05:17 AM.
The Following 48 Users Say Thank You to TheShadow1 For This Useful Post: [ View ]
10th December 2012, 04:12 AM   |  #2  
Senior Member
Thanks Meter: 93
372 posts
Join Date:Joined: Dec 2010
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, 04:52 AM   |  #3  
Senior Member
Thanks Meter: 58
524 posts
Join Date:Joined: Nov 2012
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, 04:56 AM   |  #4  
OP Senior Member
Thanks Meter: 246
174 posts
Join Date:Joined: Dec 2010
Should work with Windows 8. No reason it shouldn't. Let me know how it goes and thanks for your interest.
10th December 2012, 05:08 AM   |  #5  
_Epic's Avatar
Senior Member
Flag Lakeland, FL
Thanks Meter: 1,191
1,837 posts
Join Date:Joined: Apr 2011

Sent from my LG-LS970 using xda premium
10th December 2012, 05:11 AM   |  #6  
Junior Member
Thanks Meter: 8
25 posts
Join Date:Joined: May 2010
Just used this to root, works perfectly and very easy. Thanks a lot!
10th December 2012, 05:19 AM   |  #7  
engine95's Avatar
Recognized Contributor
Thanks Meter: 2,337
2,580 posts
Join Date:Joined: Oct 2008
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, 05:30 AM   |  #8  
Senior Member
Thanks Meter: 9
126 posts
Join Date:Joined: Dec 2009
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, 05:50 AM   |  #9  
Flag San Diego
Thanks Meter: 5
44 posts
Join Date:Joined: Nov 2012
Great news!

Sent from my Nexus 7 using xda app-developers app
10th December 2012, 06:04 AM   |  #10  
Senior Member
Thanks Meter: 21
212 posts
Join Date:Joined: Mar 2010
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