View Single Post
Old February 13th, 2011, 10:28 PM   #41 (permalink)
bucketbass
Junior Member
 
Join Date: Dec 2010
Location: Central, Fl
Posts: 70
 
Device(s): (2)LG Connect 4G, Droid (not connected just to play with), Hp zeen
Carrier: Not Provided

Thanks: 12
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by getitnowmarketing View Post
Please do not host these links or how to's else-where and instead direct users to this post as its easier for me to keep up with things in just one place.

Lets start the custom roms!!



To use download & unzip & copy flash_image and recovery-thunderc-m-v1.2.0-GNM.img to the root of your sdcard.

To flash: via adb shell or terminal type this from root # su shell (Do not type the # its for reference)

Code:
# 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-m-v1.2.0-GNM.img
Trouble shooting
1. If you get an out of memory error reboot device and do it on a fresh reboot.
2. If you get a file not found on the "mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak" 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.

Key combo to boot custom recovery from powered off is Vol down+ Home +Power and release at LG Logo or use adb reboot recovery from adb shell.

Recovery Features:

ADB as root user

USB-MS Toggle :mounts sdcard as mass storage

Backup/Restore:
Nand Backup : runs a nandroid backup of data, cache, boot, system
Nand Backup + .android secure : backs up above plus .android_secure on sdcard (froyo native apps on sd)
Nand + ext backup : data, cache, system, boot, plus apps2sd on ext partition (old style apps2sd)
Nand Restore : browse to and select nandroid backup to restore

Flash Zip From Sdcard: Update.zip must be in root of sdcard or you can directory browse.
Toggle Signature Verify : Turn of signature checking on flashing zips

Wipe Menu:
Wipe data/factory reset: wipes data & cache
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 .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 (requires kernel support for ext3)
SD:ext3 to ext4 : same as above but ext3 to ext4 (requires kernel support for ext4)

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

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

Note this recovery and the one for Optimus One P500 have a service that instantly reboots out of recovery once you load it & I disabled it and thats why you get a E: "Bad Boot Message" on inital startup. Its completely fine.

Recovery Key mapping:
Up & down : vol-up and vol-down
Select : Menu
Backup : Back

Thanks to :
Amon_Ra for his awesome source and a few pointers. His original Source Link Buy him a redbull
Koush for a few items we kanged like directory browsing from clockwork mod.
Worstenbrood's desire recovery Link
Andyo70 for testing

Donators Thank You List:
Andyo70 $15

Donation link to Buy me an Energy Drink is below:


Changelog:

1.2.0: Added ext4 support via custom kernel and packaged for release.

recovery-thunderc-m-v1.2.0-GNM.img.zip
md5= 4611fe8f62315c9661261707cc20d8b8

DO NOT FLASH RADIO.IMG WITH RECOVERY!!!!!
As I try to use TERMINAL EMULATOR and enter the code after applying su shell to the app I keep getting msgs that it cannot do that due to read only state. What am I doing wrong? Need diff app? cannot seem to get sdk to work on my windows 7 ult 64 due to some java issue which I have been trying to fix. Can anyone help me understand what I am not doing???? I feel like im stupid but I am new to android and Linux I hate to say it but it is true. I have been using some form of windows crap for years. And building my own computers and using computers since punch cards, 10" floppies, and bulk discs. So I’m not dumb just not up to speed on the phone thing. Please be patient with me.... I am here to learn.
bucketbass is offline  
Reply With Quote