View Single Post
Old June 5th, 2011, 04:25 PM   #46 (permalink)
thunderkiss65's Avatar
Join Date: Jan 2011
Location: Arlington Texas
Posts: 150
Device(s): HTC EVO 4-g, running EVOlvedROM r3chargeD.
Carrier: Not Provided

Thanks: 13
Thanked 14 Times in 13 Posts

Originally Posted by getitnowmarketing View Post
PLEASE NO LINKING OF THESE DOWNLOAD LINKS OR REHOSTING!!! Please direct users to this thread!!!!

This thread is an all in one recovery thread.

1. You must have a rooted device
2. Adb setup on computer (terminal on phone can be used in place of adb but adb is preferred)
3. Phone charged 30% or greater is required to use nandroid.

Supported devices:
LG Ally (aloha)
LG Optimus S
LG Optimus V
LG Optimus M
LG Vortex
LG Chic (alessi)
LG Optimus P500, Optimus T P509 (thunderg)
HTC Droid Incredible See link here Xda
LG Shine Plus
Gz'One Commando (in testing)

Want to submit a new device see thread here : How to submit a new device for recovery creation

Recovery Features:

ADB as root user

USB-MS Toggle :mounts sdcard as mass storage
(dinc only) mount /Emmc

Nand Backup : Select Items to backup with the [X]
Nand Restore : browse to and select nandroid backup to restore
As of 2.2.1 sd-ext is backed up as whole so link2sd users should work fine

Flash Zip From Sdcard: must be in root of sdcard or you can directory browse. (Fixed dir-browsing)
Flash Zip From Emmc (Dinc only)
Toggle Signature Verify : Turn of signature checking on flashing zips

Wipe Menu:
Wipe data/factory reset: wipes all
Wipe cache
Wipe Dalvik cache : Wipes Dalvik cache in all possible locations if moved by apps2sd
Wipe SD:ext : Wipes Apps2sd ext partition
Wipe Battery Stats
Wipe rotate settings
Wipe data only
Wipe .android secure : Wipes froyo native .android_secure on sdcard

Partition Sdcard:
Partition SD: Partition's sdcard for apps2sd (this formats card so all non backed-up data is lost)
Repair Sd:ext
SD:ext2 to ext3 : coverts apps2sd ext2 partition to ext3
SD:ext3 to ext4 : same as above but ext3 to ext4 (requires kernel support for ext4 which all but shine have)

Gui mounts to avoid typing in terminal to mount and cd into a dir to mount system, data, cache, sd-ext (if exists), sdcard

Fix apk uid mismatches
Move recovery log to SD
Key Test : Output keycodes for debugging recovery
Wipe Sdcard

(Dinc only)
Format /data as ext3 | ext4 : format(reformat) /data between ext3,ext4. (This wipes /data also) Requires modification of & and compatible rom kernel see dinc thread link above

I have included flash_eraseall binary to recovery which can be used to fix/erase corrupted partitions that will not mount correctly to nandroid restore to.
Useage from adb shell is : flash_eraseall /dev/mtd/mtd4 (where mtd4 is the number of the partition from "adb shell cat /proc/mtd" you want to erase)

Trouble Shooting:
1. Use option under Other menu to move recovery log to sd. Mount your sdcard to pc and read that file called recovery.log. It should have detailed cause of error.
2. If you get an out of memory error reboot device and do it on a fresh reboot.
3. If you get a file not found on the "mv /system/etc/ /system/etc/" skip it and move to the next step as this file will not be in your rom unless it has recieved an ota-update and if so needs to be disabled.
4. Permission denied means you are not root user (#)
5. If rebooting into recovery you get a little android guy with a ! and does not look like picture above you still have stock recovery and did not remove the
6. You did check the md5sum for a match before flashing correct?

Please check all the above issues before posting. This is the format I request to be used for troubleshooting.

Device :
Recovery Version :
Error :
Please upload the recovery.log AS AN ATTACHMENT that you moved to sdcard and read. Posts without this log will be ignored!!!
Please no PM's!!!!!

Device system paths:
Ally: /dev/block/mtdblock4
Optimus M: /dev/block/mtdblock5
Vortex: /dev/block/mtdblock4
Optimus V: /dev/block/mtdblock5
Optimus S: /dev/block/mtdblock5
Optimus P500/Optimus T: /dev/block/mtdblock1
Chic: /dev/block/mtdblock1
Shine Plus: /dev/block/mtdblock1

Directions to flash recovery:

Download your device specific recovery and check md5sum for a match before flashing. Download and unzip it to root of your sdcard. (Not in any folder)
Copy your devices recovery.img to root of sdcard.

Below can be done via adb shell or terminal emulator on phone via root # shell not a $ shell
Note do not type the # or $ as they are for reference only!
$ su
# mount -o remount,rw -t yaffs2 (your device /system path) /system
# cat /sdcard/flash_image > /system/bin/flash_image
# chmod 755 /system/bin/flash_image
# mv /system/etc/ /system/etc/
# flash_image recovery /sdcard/(your device recovery.img name)
# sync
Example for LG Ally above would be:
mount -o remount,rw -t yaffs2 dev/block/mtdblock4 /system

Device specific recovery keys:

Key mapping for Optimus Line & Vortex:
Move up & down = Vol-up & Vol-down
Select = Menu
Backup = Back
Boot recovery from device off: Vol-down + Home + Power and release at LG logo.
Chic(alessi): Vol-up + Vol-down + Power

LG Ally & LG Shine Plus:
Move up & down = Up & down on sliding keyboard
Select = Enter on keyboard
Backup = Vol-down
Boot recovery Ally: Send + Menu + Power
Boot recovery Shine Plus: Vol-down + Home + Power

Adb reboot recovery can also be used to boot custom recovery on most devices.

Do not flash a radio.img
Do not factory reset your device via Android OS. Use wipe in recovery.

Source for recovery & recovery kernels My Github

Special Thanks:
Thanks to :

Amon_Ra for his awesome source and a few pointers. His original Source Link Buy him a redbull
Worstenbrood's desire recovery Link
My many testers (too many to name one by one)

fcccddea6110fa6bcf676bdc409e0261 recovery-RA-alessi-2.2.1-GNM.img
05f57d682efe7845f7584087aa533ebb recovery-RA-aloha-
f370e39969c8ce4bdd0dd18b897cddeb recovery-RA-optm-2.2.1-GNM.img
4a8e8d4a64cc027020f6dc2e1371a6ee recovery-RA-optS-2.2.1-GNM.img
354419bf92ea0bfcc2609e88243a8889 recovery-RA-optV-2.2.1-GNM.img
368e7e2fa2e5962040e3ee00f02f39c2 recovery-RA-thunderg-2.2.1-GNM.img
97e551cdcf6574f86da237fd4259c755 recovery-RA-vortex-2.2.1-GNM.img
14a7a269ddc1173cc1a8bf00ea4cf443 recovery-RA-shineplus-2.2.1-GNM.img

Download Link
Donation link to Buy me an Energy Drink is below:

Contact me on twitter @getitnowmarket
When i flash to this everything goes through fine, but when i go into recovery i have my same exsisting recovery, RESOLVED, had one typo in adb.
thunderkiss65 is offline  
Last edited by thunderkiss65; June 5th, 2011 at 05:03 PM.
Reply With Quote