santino405
Member
- Apr 28, 2010
- 19
- 0
- 0
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.
really? i assumed it was a sprint one since the menu and home buttons where swaped around.
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
- root phone
- launch adb shell
- 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"- (recovery is located on mtd2)
- cat /dev/mtd/mtd2 > /sdcard/stock-recovery.img
- stock recovery backup is complete
- flash custom recovery from this thread
- flash stock recovery
- root phone
- launch adb shell
- mount -o remount,rw -t yaffs2 /system /system
- cat /sdcard/flash_image > /system/bin/flash_image
- chmod 755 /system/bin/flash_image
- mount -o remount,ro -t yaffs2 /system /system
- flash_image recovery /sdcard/stock-recovery.img
- reboot recovery
Does this correctly backup and flash the stock recovery?
Thank you for your time.
I tried it out and it worked. I compared a SHA-1 hash of my recovery.img against yours and they matched.That should work.
That is what I did to pull the stock recovery.img from my phone.
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
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 !![]()