[Windows/Linux][Source]Optimus G All in One Root/Unlock
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, 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
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.