WARNING - This is a cat and mouse game we play with manufacturers. I guarantee you an update will come from LG that patches this exploit and will prevent people from rooting. It will also close your root access if you've already rooted using this method. Long story short, NEVER ACCEPT OTA UPDATES FROM THE CARRIER OR MANUFACTURER.
Notice: There is now an application available called z4root which roots your phone using the same method detailed below. This has been confirmed to work on the Optimus line. Click THIS for more information. I feel the knowledge gained by doing this process yourself rather than a 1-click method will prove to be invaluable down the road if/when you encounter any issues but either way works.
For those who learn visually, iamlilysdad has put together an awesome walkthrough video of this process which you can find [Only registered users can view links. ]
What You'll Need:
- Sun JRE, [Only registered users can view links. ]
- The Android SDK, [Only registered users can view links. ]. Install this on the root of your computer so the path is C:/android
- Drivers for the LG phone installed on your computer. Instructions can be FOUND HERE courtesy of our favorite android hacker, modder, developer, blogger (jack of all trades) gbhil
- And the file I have attached to this post. Download it, unzip it, and put the 3 files inside in your android-sdk-windows\tools folder created from installing the SDK.
/\You need to have installed/done all of the stuff in the "what you'll need" section. From this point on I'll assume you've done that./\
Ready?: Step 1: Plug your phone into your PC with the USB cable.
Step 2: Make sure the phone is charge only (don't mount as USB drive) and USB debugging is enabled. Menu > Settings > Applications > Development > check mark USB debugging
Step 3: Launch the SDK manager, should be something like C:/Android-sdk-windows SDK Manager
Step 4: Open a CMD window and type the following:
cd c:\wherever-your-sdk-tools-folder-is (mine for example is C:\android\tools however in the new SDK the correct directory would be "Platform Tools", and not just "tools". See what you have on your directory) adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage adb push su /data/local/tmp/ adb push busybox /data/local/tmp/ adb shell
chmod 4755 /data/local/tmp/rageagainstthecage
chmod 4755 /data/local/tmp/busybox
cd /data/local/tmp
./rageagainstthecage (let things sit a couple minutes (2), your phone will disconnect from the computer and you'll be removed from your ADB session) adb shell This should return a "#" symbol instead of a "$" symbol. If it does you're good. If not go back and start from the beginning of step 4
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
cd /data/local/tmp
./busybox cp su /system/bin
./busybox cp busybox /system/bin
cd /system/bin
chmod 4755 su
chmod 4755 busybox
busybox --install /system/bin
exit
exit
If you get to this step "busybox --install /system/bin" you get an error, do this:
4-A) Download superuser (free) from chainsDD in the market (this is step 5 below)
4-B) Download titanium backup (free) in the market
4-C) Launch titanium. You should get a request to give it root permissions select always allow. Now in titanium, hit the "problems" button and let it install busybox
4-D) Reboot phone and enjoy
Some phones are having a problem on that step while others are not.
Step 5: Go to the android market on your phone and download "Superuser"(free). The developer will be listed as ChainsDD.
Donations:
What I ask is, if this helps you root, please watch this thread and help someone who may be experiencing issue. Yes, I am asking you to donate your time. The same donation I made while writing this so you could root your phone
Thanks: gbhil - as always thanks, you rock rainman lol. [Only registered users can view links. ] - Without your exploit many phones would not be rooted today. iamlilysdad - for making the walkthrough video and sticking around and providing so much support for new users during this process.
Last edited by KSmithInNY; 12-22-2010 at 04:12 PM.
Everything in this post assumes you've successfully rooted your phone. Now what?: -Memory Management -
The optimus has not so great lowmemory settings. This will improve that. 1) Download the free app from the market called "Minfreemanager" (free) 2) Launch the app and you'll notice the following numbers:
6, 8, 16, 20, 22, 24
For an explanation of what these numbers mean GO HERE and read an excellent in-depth explanation by Jerry Hildenbrand
3) From inside Minfreemanager hit the menu button and select "presets". Because you have a second gen device, you can select "aggressive" without a care in the world. 4) After selecting aggressive the numbers should now reflect
6, 8, 16, 32, 64, 96 5) Press the menu button and select "apply"
NOTE - This is not a sticky change and even if you select "apply at boot" it will not work. Every time the device is rebooted you will need to open the minfreemanager app and re-apply the aggressive setting but this should keep you're phone running like butter
-Cache Management-
Android has a tendency to cache everything it seems like. Now you can reclaim that space.
There are 2 really great cache cleaning apps for rooted users. CacheMate for root users and Cachecleaner. Both can be obtained for free but cacheMate for root users has a paid version (not currently showing in the market, soon) which gives you much much more customization and caches available to be cleaned. Also i prefer the free version of CacheMate over the free version Cachecleaner because it lets you pick which caches you'd like deleted, cachecleaner does not. Thats just a preference of mine.
Last edited by KSmithInNY; 11-07-2010 at 02:14 PM.
Thank you! I'll be picking up one of these on Monday. Just need to do some general do's, don'ts and just in case research to feel comfortable before jumping in. THANKS AGAIN!!
Awesome. LG seems to know the score, and is selling hardware that hasn't been locked down.
Now I'm off to KMart, I need some underwear
lol oh boy! Too funny man
Quote:
Originally Posted by Turducken
Thank you! I'll be picking up one of these on Monday. Just need to do some general do's, don'ts and just in case research to feel comfortable before jumping in. THANKS AGAIN!!
You're welcome. I will have updated root instructions posted shortly. They are slightly longer but no more difficult.
The only thing i ask is when you root, stick around the thread and help the folks out who bump into issues. Seems like a fair trade to me
Where in step 4 are you? Please show me what you're screen (CMD) looks like. Also just to verify, you're on a PC (not a mac), correct?
Also to eliminate spelling/typos from being a problem, when you get to this line - adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage you can pretty much copy and paste right into the CMD window. Another side note, make sure you are NOT mounted as a USB drive.
The optimus T and optimus S share the same kernel so considering the optimus T came out first and the exploit wasn't patched by this weekend when the optimus S shipped, this method will work.
Last edited by KSmithInNY; 11-08-2010 at 03:29 PM.