5,595,918 Members 31,488 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
TheShadow1
Old
(Last edited by TheShadow1; 11th January 2013 at 04:17 AM.)
#1  
Senior Member - OP
Thanks Meter 245
Posts: 174
Join Date: Dec 2010
Default [Windows/Linux][Source]Optimus G All in One Root/Unlock

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:
Bin4y
http://forum.xda-developers.com/show....php?t=1886460

Credits for the Unlock method:
thecubed
http://forum.xda-developers.com/show....php?t=2002984

Here is a screenshot of the program under Windows:



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

https://github.com/The-Shadow/lg_optimus_g_aio/


Current Version: 1.50

Download:
gaio.dark-hosting.net

Changelog:
Code:
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, http://gaio.dark-hosting.net/gaio/recovery.json 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

1.00:

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.
The Following 48 Users Say Thank You to TheShadow1 For This Useful Post: [ Click to Expand ]
 
neno2323
Old
#2  
Senior Member
Thanks Meter 89
Posts: 344
Join Date: 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.
 
megamaster2
Old
#3  
Senior Member
Thanks Meter 58
Posts: 523
Join Date: 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
 
TheShadow1
Old
#4  
Senior Member - OP
Thanks Meter 245
Posts: 174
Join Date: Dec 2010
Should work with Windows 8. No reason it shouldn't. Let me know how it goes and thanks for your interest.
 
_Epic
Old
#5  
_Epic's Avatar
Senior Member
Thanks Meter 1163
Posts: 1,791
Join Date: Apr 2011
Location: Lakeland, FL
Awesome!!

Sent from my LG-LS970 using xda premium


If you enjoy my work or I have helped you in anyway, let me know. Hit the "Thanks" button.
 
dubstone
Old
#6  
Junior Member
Thanks Meter 8
Posts: 23
Join Date: May 2010
Just used this to root, works perfectly and very easy. Thanks a lot!
 
engine95
Old
#7  
engine95's Avatar
Recognized Contributor
Thanks Meter 861
Posts: 1,565
Join Date: Oct 2008
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
Eventually
 
r4dik4l
Old
#8  
Senior Member
Thanks Meter 9
Posts: 125
Join Date: 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
 
ackNalej
Old
#9  
Member
Thanks Meter 5
Posts: 44
Join Date: Nov 2012
Location: San Diego
Great news!

Sent from my Nexus 7 using xda app-developers app
HTC EVO 3D: S-Off, HBoot 1.50, CyanogenMod 11.0 - VILLUMINATI
LG Optimus G: OFFICIAL CM11.0
 
bizzshow26
Old
#10  
Senior Member
Thanks Meter 21
Posts: 212
Join Date: 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes