Custom Recovery for Optimus V

i hope so, a true vm stock recovery would be nice, the one thats floating around the fourms is the sprint one, which works fine but will probably cause issues if theres ever an update sent our way.
 
The recovery.img in my stock package was pulled straight from my Optimums V.

Sent from my VM670 using Tapatalk
 
really? i assumed it was a sprint one since the menu and home buttons where swaped around.

They aren't switched. The stock recovery uses the "home" button as the trigger. The custom recovery uses the "menu" button.
 
I want to be able to revert to the stock recovery. Please let me know if I'm doing anything wrong or if there's a preferred method over what I am suggesting:
  • backup stock recovery
    1. root phone
    2. launch adb shell
    3. cat /proc/mtd
      dev: size erasesize name
      mtd0: 00700000 00020000 "boot"
      mtd1: 06e20000 00020000 "cache"
      mtd2: 00700000 00020000 "recovery"
      mtd3: 00140000 00020000 "splash"
      mtd4: 00100000 00020000 "FOTA_STO"
      mtd5: 0a480000 00020000 "system"
      mtd6: 0b2e0000 00020000 "userdata"
      mtd7: 00080000 00020000 "misc"
      mtd8: 00180000 00020000 "persist"​
    4. (recovery is located on mtd2)
    5. cat /dev/mtd/mtd2 > /sdcard/stock-recovery.img
    6. stock recovery backup is complete
  • flash custom recovery from this thread
  • flash stock recovery
    1. root phone
    2. launch adb shell
    3. mount -o remount,rw -t yaffs2 /system /system
    4. cat /sdcard/flash_image > /system/bin/flash_image
    5. chmod 755 /system/bin/flash_image
    6. mount -o remount,ro -t yaffs2 /system /system
    7. flash_image recovery /sdcard/stock-recovery.img
    8. reboot recovery

Does this correctly backup and flash the stock recovery?
Thank you for your time.


That should work.
That is what I did to pull the stock recovery.img from my phone.
 
  • Like
Reactions: denshigomi
That should work.
That is what I did to pull the stock recovery.img from my phone.
I tried it out and it worked. I compared a SHA-1 hash of my recovery.img against yours and they matched.
I was able to flash the custom recovery, and then flash back to stock recovery.
 
No backup/restore option

Hey all. Performed the custom recovery steps as written and yes, I have Custom Recovery. But my options there do not include backup/restore.Nor does pic look like this Custom Recovery Optimus V - Android Forums

Instead it Says :

Android system recovery <3e>

Android System Recovery utility

reboot system now
apply sdcard:update.zip
wipe data/factory reset
wipe cache partition



Android System Recovery...
Do not pull out the battery

and theres a pic of Android with an exclamation mark

Any ideas? Or is there another way to backup before I try out [ROM] Stock Virgin Mobile + Xionia Kernel (BETA 2)?

Thanx
 
Try reflashing it again. You're still in stock recovery. Try using this set of codes, as your phone may have overwritten the custom recovery:
$su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
# cat /sdcard/flash_image > /system/bin/flash_image
# chmod 755 /system/bin/flash_image
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
# flash_image recovery /sdcard/ recovery-thunderc-v-1.2.0-GNM.img
# reboot recovery

Also, did you permanently root, or did you just temp root?
 
still on stock recovery

Hey, thanks for replying. Redid it to no avail. I'm permanently rooted I believe cuz I wireless tether, removed bloatware, etc.
Im typing cd\
cd androidsdk\tools
adb shell and get a #
after, Im copy/paste into command prompt. However at cat /sdcard/flash_image > /system/bin/flash_image it says no such file or image, and at mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak, it says failed... no such file or directory


everything goes smooth
 
Ok. The only difference between the two sets of code was the mv /system...... line.

Did you extract the files from the archives to the root of your sd card?
 
Sounds good. I don't know why it isn't working for you.

Edit: Do you have the sdcard mounted for storage when you are doing this? Just covering bases.

Sent from my VM670 using Tapatalk
 
still only stock recovery

I tried downloading the 2 files again. I have debugging on, and phone as usb storage . Still reboots into stock recovery. below is from my command prompt:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\mike>adb shell
$ su
su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
# cat /sdcard/flash_image > /system/bin/flash_image
cat /sdcard/flash_image > /system/bin/flash_image
/sdcard/flash_image: No such file or directory
# chmod 755 /system/bin/flash_image
chmod 755 /system/bin/flash_image
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
failed on '/system/etc/install-recovery.sh' - No such file or directory
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
# flash_image recovery /sdcard/ recovery-thunderc-v-1.2.0-GNM.img
flash_image recovery /sdcard/ recovery-thunderc-v-1.2.0-GNM.img
# reboot recovery
reboot recovery

C:\Documents and Settings\mike>


Any suggestions?
thanks
 
I tried downloading the 2 files again. I have debugging on, and phone as usb storage . Still reboots into stock recovery. below is from my command prompt:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\mike>adb shell
$ su
su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
# cat /sdcard/flash_image > /system/bin/flash_image
cat /sdcard/flash_image > /system/bin/flash_image
/sdcard/flash_image: No such file or directory
# chmod 755 /system/bin/flash_image
chmod 755 /system/bin/flash_image
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
failed on '/system/etc/install-recovery.sh' - No such file or directory
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
# flash_image recovery /sdcard/ recovery-thunderc-v-1.2.0-GNM.img
flash_image recovery /sdcard/ recovery-thunderc-v-1.2.0-GNM.img
# reboot recovery
reboot recovery

C:\Documents and Settings\mike>


Any suggestions?
thanks

That is your issue. Turn USB Mass Storage off and try again.

The ADB won't recognize a file on your sdcard if it is mounted on your computer's hard drive.
 
still only stock recovery

Hey, just got back in from work. I have tried it also with just usb connected (not mounted as hard drive) still to no avail. I tried the latest commands you gave me and the first set as below:


C:\Documents and Settings\mike>adb shell
$ su
su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
# cat /sdcard/flash_image > /system/bin/flash_image
cat /sdcard/flash_image > /system/bin/flash_image
/sdcard/flash_image: No such file or directory
# chmod 755 /system/bin/flash_image
chmod 755 /system/bin/flash_image
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
# flash_image recovery /sdcard/recovery-thunderc-v-1.2.0-GNM.img
flash_image recovery /sdcard/recovery-thunderc-v-1.2.0-GNM.img
# reboot recovery
reboot recovery

C:\Documents and Settings\mike>


if i use astro file explorer I see where file_image was moved to sytem/ bin, but dont know if recovery image file is supposed to move or not, its still on sd card, named correctly.


Any ideas?
 
got custom recovery!

Hey Takehull,
I finally got it and heres how. I had not opened the zips and figured command prompts wouldnt recognize folder name. So I unzipped and put them on sd card as instructed. Still not working until I noticed I was using recovery-RA-GNM-thunderc-s-1.1.0.img and not recovery-thunderc-v-1.2.0-GNM.img. I guess I had too many windows opened and downloaded from a wrong link. I feel a little stupid cuz it actually is pretty easy with the right tools. Anyways, thank you for your help !:)
 
Hey Takehull,
I finally got it and heres how. I had not opened the zips and figured command prompts wouldnt recognize folder name. So I unzipped and put them on sd card as instructed. Still not working until I noticed I was using recovery-RA-GNM-thunderc-s-1.1.0.img and not recovery-thunderc-v-1.2.0-GNM.img. I guess I had too many windows opened and downloaded from a wrong link. I feel a little stupid cuz it actually is pretty easy with the right tools. Anyways, thank you for your help !:)

Glad you got it working :)
 
I've been wondering, what's the advantage of using a custom recovery that's designed for the Optimus V, as opposed to using a custom recovery that's designed for the Optimus S?
It seems people have flashed S recoveries to the V without problem.
 
Help, Im a newb and performed RevolutionRed perm root method http://forum.androidcentral.com/optimus-v/57485-how-root-lg-optimus-v.html
and successfully acheived permanent root. Now when I try to gain access via adb shell to flash custom recovery I get a "$" and not "#" and permission denied after su cmd. But I know I have perm root because I can delete bloatware and run titanium backup on my phone. How can I fix this ..I want roms! Thanks
 
Last edited:

Trending Posts

Forum statistics

Threads
956,459
Messages
6,968,353
Members
3,163,550
Latest member
jimmyrichard