Yesterday, we received a tip that the specific variant of the Optimus G on sale in Australia had been rooted and unlocked. Having had some failed attempts at this in the past, I was keen to give this a try to see what could be achieved. Well, it seems, it’s not all that difficult.
For those needing a quick introduction, this: rooting and unlock your phone are two different yet related concepts. Rooting allows you access to all facets of your phone; what you don’t like, you can change. It’s like having the keys to the castle. Unlocking, which can (on the Optimus G at least, be achieved after rooting) allows you to install full custom firmwares on your phone.
I’ll call rooting the Optimus G a fairly safe and reversible procedure. Unlocking probably is too, but it’s a little more risky. Do it wrong and you could really break things. With this warning, we’ll continue.
I’m going to walk you through it, but only really the first two steps in detail. I figure, if you know enough to be confident to root your phone, you can figure out how to install CyanogenMod yourself; we’ve covered it enough times in the past as well.
As always, the risk you undertake when modifying your phone is entirely yours. While we provide these guides, and have tested them ourselves, we don’t speak to your technical knowledge, skill, or luck. Follow these instructions precisely and everything should be okay — it was for us — but it doesn’t mean it will be. If you’re at all worried about destroying your phone or the planet, you probably don’t want to proceed.
First, rooting the device
The easy part. First, download these tools and extract the archive. We did this on a Mac, but the same process applies on Windows or Linux. We assume you have ADB installed, and know how to use it.
- Run the ‘adb devices’ command, to make sure your phone shows up.
- Run ‘adb shell’, and when the shell prompt comes up, type this in:
echo -en \x0d > /sdcard/G_security exit
- Unplug your phone from the computer, go into Settings and disable USB debugging mode, and sit back for 30 seconds and relax.
- After the time’s up, re-enable USB debugging, and re-connect your Optimus G to the computer.
- Again, run ‘adb devices’ to make sure your phone is visible.
- If it is, run ‘adb root’ — you should get a message indicating ‘adbd already running as root’ or similar. If you DON’T see this, repeat these first few steps again. If it doesn’t work a second time, chances are it isn’t going to.
- Run ‘adb shell id’, and make sure it indicates you’re running as root. Again, if you don’t see it, run the first few steps again and see how you go.
- If everything has worked up until this point, it’s time to run a few shell commands to get things happening:
- First, push busybox:
adb push busybox /data/local/tmp/busybox
- Run ‘adb shell’ then execute these commands in the shell:
chmod 755 /data/local/tmp/busybox /data/local/tmp/busybox mount -o remount,rw /system /data/local/tmp/busybox cp /data/local/tmp/busybox /system/xbin/busybox exit
- Now, run these commands to install superuser and return to the shell:
adb push su /system/xbin/su adb push Superuser.apk /system/app/Superuser.apk adb shell
- Now, in the shell, run these commands to move everything in to place:
chown 0.0 /system/xbin/su chmod 06755 /system/xbin/su chmod 655 /system/app/Superuser.apk chmod 755 /system/xbin/busybox /data/local/tmp/busybox rm /sdcard/G_security exit
- With this done, your phone SHOULD now be rooted. Reboot your phone with ‘adb reboot’, and when it comes back up, you should have a Superuser app in your drawer, and everything should be working. Install something like Titanium Backup to check that you have root permissions working properly.
Second, installing FreeGee
This part is easy, but risky. What is FreeGee I hear you asking? Well, it’s like this. If you wanted to stop following this guide right here, you can. Your phone is rooted, you can use root apps like Titanium Backup, Root Explorer and the like.
However, if you want custom ROMs, then you’ll need to install a custom recovery and modify the Optimus G in a few ways such that you can actually install such a ROM.
FreeGee is available for free on the Play Store. What it does is modify the bootloader on the phone so that custom ROMs will actually work. It does this (in simple terms) by backing up the existing bootloader images, then installing modified ones that will allow custom software to run. This is not without risk — if it stuffs up somehow, then you may be left with a brick. So, proceed with extreme caution.
From the Play Store description:
Freegee is now completely rewitten. It is a much cleaner and nicer codebase. All current variants are supported. Some software version are not supported yet because I’m missing boot.img’s. Please upload it if prompted!
Dropbox support is under menu -> settings.
This is the next step in Project FreeGee. Have an LG Optimus G? If so this app will allow you to unlock your bootloader, remove LG Security and install cwm/twrp recovery. With removed lg security you can now uninstall any preloaded applications you want.
This version is exactly the same as the donate version.
Please contact Shelnutt2 or IOMonster on freenode irc #lg-optimus-g with any problem.
This application also supports restoring from your backups.
Ready to proceed? Install here, run, and follow the instructions to the letter.
Made it this far? Awesome.
You then know what to do; reboot into recovery, run a backup, factory wipe/reset, then install away! (Note, if this seems too casual an instruction set for you, you probably shouldn’t be doing this)
Some notes from my experiments however:
- TWRP won’t install CM10.1 properly; it doesn’t believe your device is an E975. I had to use CWM Touch to get it to install. Instructions to install this are readily available elsewhere; here’s the CWM Touch image for E975 that you’ll need to flash through fastboot.
- The Optimus G doesn’t have a clear way to reboot into recovery/fastboot etc. Basically, it’s all done by holding the power button and volume up, which activates fastboot mode. From THERE, you can access recovery mode.. though it took me a while to work this out. Read this post on XDA about how this works, and you’ll have no problems. In case it disappears:
Upon entering the bootloader, you will notice that there is no ‘menu’ to enter fastboot or recovery. Unfortunately, since the stars didn’t align properly, we were unable to tell the new bootloader where to load the images that contain the menu from.
In light of that, you’ll have to navigate the menu blind. Use the volume keys to change selection, and the power key to select.
The choices are (in order of pressing volume down):
Start – boot the phone normally [already selected]
Restart Bootloader – reboot into the bootloader
Recovery Mode – enter recovery (CWM)
Power Off – powers the phone off
So, to get to Recovery, you would press volume down twice then power.
So, with all that out of the way, will you be modifying, rooting and/or unlocking your Optimus G? It’s a risky process, but not without its rewards. Let us know if you’re game.