Android OS Forum banner

1 - 20 of 31 Posts

·
Developer
Joined
·
28 Posts
Howdy all you guys!
To you, I present ClockworkMod Recovery on the LG Revolution 4G

After many hours of late-night coding and testing by some fearless testers who, without though for their device's safety, allowed me to test building ClockworkMod Recovery despite the fact that I don't actually own this device!


First of all, let me get a few things out of the way:
Credits:
Special thanks to the following people for helping out in one way or another...
  • Majorpay
  • birdman
  • Nemith
  • Fattire
  • STACKS (initial testing)
  • Koush / CyanogenMod team for ClockworkMod

Super special thanks to those who've donated so far!
General Information
This is BETA software! There are no guarantees that this won't instabrick your device. That's not to say it hasn't been tested, but if you happen to not follow directions or just have bad luck in general, I can't be blamed for your misfortune.

Please note, this software has been tested to ensure it's safe to install, however, features like nandroid backup and restore have not been tested. If you do choose to do a nandroid restore, please be aware that it may not work.
Requirements
To use this, you must:
  • be rooted
  • have ADB shell access to your phone; and
  • be able to follow directions EXACTLY
Downloads
To download the first release of ClockworkMod Recovery for the LG Revolution 4G, use the following download links:

[SERVER 1] http://bit.ly/iVa1Kx
[SERVER 2] https://github.com/downloads/thecubed/android_device_lge_revolution/recovery-cwm-pr1.tar.gz

Code:
<br />
# md5sum recovery-cwm-pr1.img<br />
a1c61d06fa0f029411cf4cde44639b3f recovery-cwm-pr1.img<br />
Check md5sum before flashing!
Instructions
This is what everyone's been waiting for, isn't it?
You sure you don't want to take a jog, or get some fresh air first?
Okay. You're sure. I won't try to change your mind.
I will, however admonish you-- follow these directions EXACTLY.
If you don't, I can't guarantee that your phone will work afterwords.

  1. To begin, download the .tar.gz file from the above links, and extract it somewhere easy, like c:\android (on windows) or ~/android (on linux/OSX)
  2. Let's check the md5sum of the extracted file.
    If you're in linux, run
    Code:
    md5sum recovery-cwm-pr1.img
    It should match EXACTLY the md5sum posted under the download link. If it doesn't STOP. You have either not extracted it correctly or the download was bad. Try again until you get the correct md5sum.
    If you're on windows, you'll have to find a md5sum application to download.
  3. Once you've got the file extracted correctly, we need to copy it to your phone.
    You can either put it on your SD card using the storage mode over usb, or through ADB.
    If you choose to do it through ADB, just use
    Code:
    adb push <path/to>/recovery-cwm-pr1.img /sdcard/
    Make SURE that you copy the .img file, not the .tar.gz file!
  4. After you have the recovery copied to your SDcard, it's time to install it on your phone.
    ADB shell into your phone.
  5. Once you're adb shell'd into your phone, make sure you have superuser access by typing
    Code:
    su
    and your prompt should change from a "$" to a "#"
  6. Now, let's backup your original recovery image, just in case. Issue
    Code:
    <br />
    cat /dev/block/mmcblk0p14 > /sdcard/recovery-original.img<br />
    to back up your original recovery image for a rainy day. Keep that safe!
  7. Once we've got that backed up, let's copy over the new recovery image.
    Code:
    <br />
    cat /dev/zero > /dev/block/mmcblk0p14<br />
    cat /sdcard/recovery-cwm-pr1.img > /dev/block/mmcblk0p14<br />
    You'll get an error on the first command, something like "no space left on device". That's okay, we're just clearing out the orignal recovery image.
  8. Now, we MUST check to make sure that our push of recovery worked. Let's run md5sum on it.
    Code:
    <br />
    busybox md5sum /dev/block/mmcblk0p14<br />
    Should return back the same hash as above in the download section. If it does not, STOP! Post here explaining, and get a developer's attention ASAP.
  9. Lastly, let's make a backup of your MISC partition. This is not required, but is HIGHLY recommended.
    Code:
    <br />
    cat /dev/block/mmcblk0p8 > /sdcard/p8-backup.img<br />
    This helps us incase somehow your phone gets gunged or weird things happen.

Congrats! You now have ClockworkMod Recovery installed!
Accessing Recovery
To access recovery, power off your device and hold VOLUME DOWN and POWER until you see the LG logo.
You will be asked to confirm a 'wipe' of your device. Don't worry! Our custom recovery ignores this.
Your datas will be perfectly safe.
Pictures!
Here's a few screenshots from Majorpay's device:
http://i.imgur.com/DYfNK.jpg
http://i.imgur.com/Q7qE4.jpg
Donation Information
I love to develop. I don't do this for money, I do it just for the "thanks".
However, I don't actually own a Revolution-- I'm not even on Verizon!
If I can get enough donations together, I will have my friend purchase the device on contract for $250 at a Verizon retail location.
With that device, I plan on doing quite a lot- creating stock 2.2 roms, attempting to port CyanogenMod7 and a bunch of other awesome things.

Please don't feel obligated to donate, but if you feel like it, you can click the button below to donate any amount you wish to me.
Thank you in advance!
Contact Me!
Got an issue with this release? Post here!
Want to contact me privately? PM me on XDA or Rootzwiki
Twitter your thing? Follow me, @tylerfixer on Twitter

Join the official LG Revolution dev IRC channel at freenode on #lgrevolution
I'm IOMonster on IRC!
Technical information
Breakdown of the LG software posted by me here: http://www.wiki.rootzwiki.com/wiki/index.php/LG_Revolution_Software_Breakdown

Source will be released as soon as I figure out how to merge all my changes to recovery/minui/graphics.c into my device directory
 

·
Premium Member
Joined
·
1,900 Posts
Keep in mind that thecubed does not have the device, and we have spoken to him on a side note, it is okay to, and we recommend to donate to this developer, this phone is very powerful and could be a great addition to our growing collection of devices.


b16
 

·
Marty Mcfly/Theme Dev
Joined
·
912 Posts
Awesomeness, will be great to cm7 on there. Great job on this, you're a monster!

Sent from 1885
 

·
Android Beginner
Joined
·
3 Posts
By very open, you mean there is no reason there could not be other kernels flashed onto this? I have a Droid and I want something open. Also, If this gets a little more support, I will be making a good sized donation and LG will be getting a new customer.
 

·
Developer
Joined
·
28 Posts
Discussion Starter · #6 ·
There is no reason we can't put custom kernels on here, there appears to be no signing at all for the Android part of the phone. As for the radio/bootloader I am not sure.

The only thing stopping custom kernels at this point in time is LG. We need the kernel source before any real kernel-related developments can begin. We could try using CodeAurora's source code, but it'd be a long and arduous process.
 

·
Android Beginner
Joined
·
3 Posts
thecubed said:
There is no reason we can't put custom kernels on here, there appears to be no signing at all for the Android part of the phone. As for the radio/bootloader I am not sure.

The only thing stopping custom kernels at this point in time is LG. We need the kernel source before any real kernel-related developments can begin. We could try using CodeAurora's source code, but it'd be a long and arduous process.
theLGgirl has said on twitter that they are working on supporting the community for this device. I hope that means more than just getting the kernel source out quickly. I hope that means bootloader is as open as the x2/G2x's.
 

·
Themer
Joined
·
575 Posts
This is completely awesome! Seriously considering theRevolution as my next phone, this just makes my decision a little easier.
 

·
Developer
Joined
·
28 Posts
Discussion Starter · #10 ·
Public Service Announcement!
Do NOT restore NANDROIDs created from cwm-pr1 build!

It appears the backup process is flawed. I'll be looking into it more tonight on IRC.
 

·
Android Beginner
Joined
·
3 Posts
I am excited to do this but as @stetsonaw will attest I am an utter newbie so I'll give it a bit to iron out the details. Thank you for all the effort and I hope to make a donation at some point.

*edit* And once again I did it and I was successful. Sadly once again I don't know what I want to do now that I am done. *shrug*

THANK YOU SO MUCH!
 

·
Marty Mcfly/Theme Dev
Joined
·
912 Posts
LOL, glad you got it joe!
 

·
Developer
Joined
·
28 Posts
Discussion Starter · #14 ·
Good to hear this is working for everybody-- and it's also a pleasant surprise-- first public release and no bugs so far!
That may be a personal best
 

·
Android Beginner
Joined
·
3 Posts
Everything went great and I even managed to have a Sunday Night where I had to do a Factory Reset on Monday Morning. I think this phone may be a keeper!
 

·
Android Beginner
Joined
·
1 Posts
Donated! Thanks for developing for the Revo thecubed! I hope to see further development, and cyanogenmod would be awesome


EDIT: i also have no/little experience with rooting/rom'ing a phone and last night (first day of owning!) i managed to root it. this morning, before work, i had clockworkmod installed in less than 10 minutes. it worked flawlessly. now, to find a rom....
 

·
Marty Mcfly/Theme Dev
Joined
·
912 Posts
The guy who made this, also made a ROM, debinged and everything... here
 

·
Android Beginner
Joined
·
6 Posts
I followed all of the instructions; and now somehow I am stuck in the Fastboot mode; is there anyway to recover from this? =/
 
1 - 20 of 31 Posts
Top