[LG Revolution] nasaiya:
NOTE: THIS WILL NOT WORK ON ZV8!

Greetings.

Here is a Linux Version of the "LG Revo All in One Pkg for Root, CWM 5.0.2.7, and Unroot" by mtmichaelson. Most of the credit belongs to him, I just took his script and re-wrote it in Perl to run on Linux! Enjoy!

With this you can root or un-root your LG Revolution, install ClockWorkMod Recovery, or reinstall Stock Recovery!

DISCLAIMER: Neither myself, nor the original author are responsible for ANYTHING that may or may not happen to your phone!!! Rooting your phone etc. voids your warranty! For this reason this software should be considered EXPERIMENTAL and used with caution as such. By using this program in any way you accept your own fate!!! :)

As always, BACKUP before using! You may also want to read up and make sure you know how to flash the stock firmware before doing this in case anything bad happens. It should be safe, but you can never be too careful!!

READ THE DIRECTIONS!

Tested on my Gentoo Linux amd64 (multilib) system with Perl v5.12.4 and included adb binary, and my guiniea pig phone -- LG Revolution running VS910V7 (Gingerbread). It should also work fine on Froyo but I haven't tested it.

Instructions:

Step 1: Download and unzip the "LG Revo All in One Pkg for Root, CWM 5.0.2.7, and Unroot" by mtmichaelson. Found here: http://xdaforums.com/showthread.php?t=1348557

Step 2: Install adb (from the android sdk) on your linux machine and make sure it can be found in your PATH.

Alternative: You can download the x86 adb binary attached to this post.

Also available here: http://www.box.com/s/juac85czze1zv43bloc0 Make sure to put it in your PATH!

Step 3: Download the linux version (linux_aio.pl)(gzipped, and attached to this post!). It's also available here: http://www.box.com/s/0tk5zv3nf6731605u0k2 Place it in the folder where you extracted the original LG Revo All in One Pkg for Root by mtmichaelson. It should be placed in the same folder where the .bat file for windows is located.

(Optional) Step 4:Install the perl Term::ANSIColor module if you don't have it already for better looking, and more easily readable output! (This will work fine without it though so feel free to skip)

Step 5: Make the script executable and run it!

a. Change to the directory where the linux_aio.pl script is located.

b. Make executable by typing:

chmod 755 linux_aio.pl

c. Run it!

./linux_aio.pl

Step 6: Follow the on-screen instructions and enjoy!

Troubleshooting:

USB Connection problems:

* Make sure phone has usb debugging enabled. Found in settings->Applications->Development

* Make sure usb connection mode is set to "Internet Connection"

* Make sure the user you run the script as on your computer has permission to access the usb devices. (You can run it as root, but you're a good linux user that doesn't run unknown scripts from the internet as root right? right? ;) )

* Use the factory cable that came with the phone, no extension cables or hubs or anything weird. (Although it did work fine for me using a 10ft usb cable)

* If it can't find adb you need to add it to your PATH!

$ export PATH=$PATH:/path/to/your/adb/binary

* If it can't find one or more of the required files, make sure you placed the linux_aio.pl script in the correct location! (See Step 3)

* If you are trying to un-root etc. while running Gingervolt and get errors about /dev/log/main not being found, you might need to go back to a stock gingerbread or froyo before using this (you did make backups RIGHT???! ).

Thanks to:

* mtmichaelson for making this possible by making the original AIO in the first place, and allowing me to copy it and make a linux version!

* Revolutionary and the Android Exploit Crew for making zergrush possible!

* Anyone else directly or indirectly involved!

Screenshot:

http://www.box.com/s/unvxy7exxtynaoubhhom