[Custom Recovery] Optimus S/ Thunderc-sprint
Updated recovery 5/05/11: Fixed & and updated many issues. Will work on all device lcd panels both novatek & hitachi
Its very hard for me to keep up with posts all over so questions/comments in this thread will not be monitored all the time by me.
Lets start the custom roms!!
To use copy flash_image and recovery-RA-GNM-thunderc-s-1.1.0.img to the root of your sdcard.
To flash: via adb shell or terminal type this from root # shell
# 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-RA-GNM-thunderc-s-1.1.0.img # reboot recovery
ADB as root user
USB-MS Toggle :mounts sdcard as mass storage
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
Wipe data/factory reset: wipes data & 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 SD: Partition's sdcard for apps2sd (this formats card so all non backed-up data is lost)
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)
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
Toggle Signature Verify : Turn of signature checking on flashing zips
Key Test : Output keycodes for debugging recovery
Recovery Key mapping:
Up & down : vol-up and vol-down
Select : Menu
Backup : Back
Thanks to :
zefie for dumps
Amon_Ra for his awesome source and a few pointers. His original
Worstenbrood's desire recovery
Donators Thank You List:
Donation link to Buy me an Energy Drink is below:
Md5 = 6e1afcbcebda3adda43aa76a408ec705
BRICK WARNING DO NOT FLASH A RADIO.IMG WITH RECOVERY
Last edited by drellisdee; 05-06-2011 at 12:38 PM.Thanked by 56:
+ Show/Hide list of the thanked
alec2504, Anonamoose, Baron Phillip von Traum, basketthis, beezy, bigsupersquid, buckeye_jeff, CaMelGuY1337, captainmorgan#ac, ccrs8, dafluke24, drewwalton19216801, droiduser11, dvine1, dvldog99, Fajo, FFWRX, firassasin, hanoverfiste74, harabai, HCGeek, Herk_FE, infid3lkastro, ivan1real, j37hr0, email@example.com, jstntp, junkshow, Kalums, KSmithInNY, larryk1000, loudang, ltrz, MaXXimus, mikehill2003, MooshKill3r, mrnat, naptownmade, Nick7, nsan1129, reefdog, reltm, rothbd, Scott_L#AC, 64fairlane, shortyjacobs, silverxj, sixit, spd-racer, Supakitsune, mike9670, wagon_ftw, watters33, wildcat2083, xtacocorex, ypypy
- 11-25-2010, 03:17 AM #2
I followed the steps above both via adb push and downloading files to sd card. When I go into recovery mode I am not given the option to install from sd card, only the following choices:
reboot system now
apply sdcard: update.zip (which does not exist on my sdcard)
wipe data/ factory reset
wipe cache partition
Recovery mode does not give me the option to flash from sdcard like the example shown in post above. Can you tell me what I am doing wrong?
- 11-25-2010, 03:51 AM #3
- 860 Posts
- CyanogenMod 9
- 11-25-2010, 11:04 AM #4
I'm not sure if I did or not I just followed thr steps above. How is that file removed? Man, my EVO was a breeze to root, but this phone is weird (smh)!!!
- 11-25-2010, 11:39 AM #6
Ok. Just went back into adb and now I'm getting the $ instead of # but the phone still seems to be rooted. Do I need to re-root or how can i get to the # prompt and insert this command line?
- 11-25-2010, 11:51 AM #7
- 11-25-2010, 12:10 PM #8
@kalex1114: ur post worked, thanks!
@drellisdee: I went into adb and typed: mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
Booted phone into recovery mode and still got lg recovery screen!
- 11-26-2010, 02:42 AM #9
- 379 Posts
- CM 7 v9 radio
The author of this post(ichihollow) is an *****, everyone please remember to EXTRACT BOTH FILES to the root of your sd card, just copying the files you download from this post is not enough the contents of both zips MUST be extracted to the root of the sd.
again i'm pretty much an ***** at this point, or at least feel like it.
Last edited by ichihollow; 11-26-2010 at 03:01 AM.
- 11-26-2010, 08:42 AM #10
- 11-26-2010, 09:12 AM #11
Custom recovery :: check
ThundeROM installed to root of SD ::check
When i go to do a backup it gives me this: "Error: run 'nanadroid-mobile.sh' via adb!" Ideas? or what am i doing wrong?
- 11-26-2010, 11:30 AM #12
I was able to create nandroid backup from the recovery screen with no issues. Do you have enough space on the sd card to hold backup? Its about 170MB in size
- 11-26-2010, 11:49 AM #13
- 11-26-2010, 11:53 AM #14
Oh i just did first option nandroid. it created all i needed. not sure if u even need that one
- 11-26-2010, 11:59 AM #15
- 11-26-2010, 12:00 PM #16
- 3,809 Posts
The only backup you need is the very first one called nand backup. The others are for people who are using ext partitions on their SD for data and apps or people who may be running CM stuff and need to backup gaps due to the proprietary crap and CM not allowed to include them.
backing up nand will grab everything in system and everything in data.Thanked by:
- 11-26-2010, 12:33 PM #17
oh, cool. Thank you.
The gapps backup is way outdated and I'll update if someone wants to give me a tested list of all the needed proprietary google stuff for optimus. The gapps backup backs up to /cache fyi not to sdcard
- 11-26-2010, 10:18 PM #19
i am so confused,
Am I suppose to install andriod SDK to get the shell?
also once I am inside shell it doesnt locate any of the files...
- 11-26-2010, 10:46 PM #20
sorry ignore my last post..
I am now using a mac because connecting to PC wont work anymore (it says i need to install a driver)
Anyway in terminal i get the error mount: exec /System/Library/Filesystems/yaffs2.fs/Contents/Resources/mount_yaffs2 for /System: No such file or directory
Am I suppose to copy paste the entire command prompt?
Did I make the mistake of rooting my phone first before doing this custom recovery?
I am sorry for sounding like a total noob. I am able to build PC's, install/repair and I know about dos, but when it comes to andriod this is completely new to me. I also have a feeling I am missing some steps from this tutorial but I could be wrong.
I appreciate any help you guys can provide! Thanks!
- 11-26-2010, 11:24 PM #21
- 11-27-2010, 09:32 AM #22
I finally got the recovery file to install correctly around midnight! I got ao excited I passed (went to sleep... probably was the rum cake!). Anyway thanks to everyone for your help. Now I can't wait for all the custom roms to start showing up......!
- 11-27-2010, 01:33 PM #23
- 293 Posts
anyone plans to do a one click install for this?
that would be greatly appreciated. thank you
- 11-27-2010, 04:44 PM #25
- 7 Posts
- ThuneROM v1.5 / Xionia 5