[LG Revolution] Zoookle:
This Guide is to root the LG Revolution 4G with system builds V7 and lower using only linux. Not many people use linux, but I do and figured someone may need a hand if they are just starting out with linux. I have tested this on 2 phones and 2 different distros. If you have problems let me know.

Android is based off from linux so let's do it in linux.:rolleyes:

Disclamer

Do This at your OWN risk. Nothing is my responsibility if you brick your phone or damange anything in frustration. If you follow this guide to the "T" you should have no problems what-so-ever.

This is not MY exploit, only a guide on how to do it in a linux environment.

Things you will ABSOLUTELY need:

1) Root privliges on your linux-box

2) The exploit from mtmichaelson's post HERE

3) The Android SDK for linux HERE

4) Your LG Revolution, Duh!

5) Patience, and a brain :D

To start things off you need to setup the SDK, if you already have the SDK up and working skip down to the preparation section.

Setting up the SDK:

1) Go to your downloads folder and extract your android-sdk_xxx-linux.tgz

2) I recommend moving that extracted folder to your Desktop for easy access and rename the folder android-sdk.

3) Next you must download the proper platform-tools, so open terminal and type

cd /home/[your username]/Desktop/android-sdk/tools
sudo ./android

4) This should popup the SDK Manager, click on the checkmark for the tools folder then click "install _ packages"

5) Next go to your android-sdk folder and make sure you have the folder platform-tools. If not go back to "Setting up the SDK".

Preparation:

1) Make sure you turn USB debugging 'on' from Settings>applications>development>USB Debugging => This should be checked!

2) Make sure you have internet connection selected from Settings>Connectivity => select always ask or choose the default connection as internet connection.

Rooting:

1) Extract the exploit you downloaded above and I would recommend moving it to the Desktop for easy access.

2) Now connect your phone via USB, and choose internet connection when you click on the USB icon in your notifications pull-down menu; open up a terminal and type:

cd /home/[your username]/Desktop/android-sdk/platform-tools
sudo ./adb kill-server
sudo ./adb devices

3) This should give you a "List of the devices attached" to your computer with adb. Make sure you see numbers/letters and "device" like so...

99999B9999ECB9999 device

Note: if you do not get any devices listed, don't :(, do:

i) Disconnect your phone

ii) Pull the battery for 10 sec.

iii) Restart your computer

iv) go back to step #2

4) Now push the exploit and start it by typing:

sudo ./adb push /home/[your username]/Desktop/LGRevolutionRoot/zergrush /data/local/tmp/zergrush
sudo ./adb shell "chmod 755 /data/local/tmp/zergrush"
sudo ./adb shell "./data/local/tmp/zergrush"

5) This should start the exploit and you should see the activity in the terminal. When its done you should be prompted with a #.

a) if it is successful, simply click ctrl+Z. This should bring you back to a $ prompt.

b) if it fails

i) Disconnect your phone

ii) Backup ANYTHING you need with mybackup from the android market

iii) Perform a factory reset of your phone in Settings>Privacy>Factory Data Reset

iV) go back to step #2

6) Next we must push the proper files to run the root so type in terminal:

sudo ./adb shell /data/local/tmp/sh -c "mkdir /system/tmp"
sudo ./adb shell /data/local/tmp/sh -c "chmod 777 /system/tmp"

sudo ./adb push /home/[your username]/Desktop/LGRevolutionRoot/su /system/tmp/su
sudo ./adb push /home/[your username]/Desktop/LGRevolutionRoot/busybox /system/tmp/busybox
sudo ./adb push /home/[your username]/Desktop/LGRevolutionRoot/Superuser.apk /system/tmp/Superuser.apk
sudo ./adb push /home/[your username]/Desktop/LGRevolutionRoot/RevoToolkit-1.0.apk /data/local/tmp/RevoToolkit-1.0.apk

sudo ./adb shell /data/local/tmp/sh -c "mv /system/tmp/su /system/xbin/su"
sudo ./adb shell /data/local/tmp/sh -c "mv /system/tmp/Superuser.apk /system/app/Superuser.apk"
sudo ./adb shell /data/local/tmp/sh -c "mv /system/tmp/busybox /system/xbin/busybox"
sudo ./adb shell /data/local/tmp/sh -c "mv /data/local/tmp/RevoToolkit-1.0.apk /data/app/RevoToolkit-1.0.apk"
sudo ./adb shell /data/local/tmp/sh -c "chown root /system/xbin/su"
sudo ./adb shell /data/local/tmp/sh -c "chmod 4755 /system/xbin/su"
sudo ./adb shell /data/local/tmp/sh -c "ln -s /system/xbin/su /system/bin/su"
sudo ./adb shell /data/local/tmp/sh -c "chmod 755 /system/xbin/busybox"
sudo ./adb shell /data/local/tmp/sh -c "/system/xbin/busybox --install /system/xbin/"

7) Everything should be in order now cleanup; type:

sudo ./adb shell /data/local/tmp/sh -c "rmdir /system/tmp"
sudo ./adb shell "rm /data/local/tmp/* 2>/dev/null"

8) Just left to do is reboot the phone so type:

sudo ./adb reboot
sudo ./adb kill-server

Congrats! now you should reboot and be completely rooted and have the RevoToolkit to install the CWM recovery.

To install the recovery just start the RevoToolkit app and check for stock recovery and then install CWM.

Then you are free to install proper ROMs/Kernels. :cool:

If anyone has any questions please tell me your distro and if you are running virtually or not.

Hope this helps! :cool:

Special Thanks:

mtmichaelson for posting the inital thread for the download of his repackaged exploit.

The The Revolutionary Guys for the exploit

djrbliss for the initial script and port

thecubed for RevoToolkit

MikesTooLz for coordinating