- ROM Developer
- 32 Posts
Here is a recovery for you guys! Tested Working on xda by Joesph Mother
Let ThundeRom for T commence.
[Dead Link Removed]
Please check md5 of 82deaeec44c9b6b7095efcfa31fee099 prior to flashing
See my recovery section in opt s Here for description of features and I'll build a full release version soon with proper credits etc.
Only thing I'll change is remove test naming fyi.
To install extract the recovery.zip (linked above) and flash_image.zip (from opt s post) and copy those to the ROOT of sdcard.
To flash recovery from root # shell do these commands. If install-recovery.sh doesn't exist on your phone just move to next step.
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /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/mtdblock1 /system # flash_image recovery /sdcard/recovery-RA-GNM-OPT-T-test.img # reboot recovery
If you would like to back up your stock recovery you can do it via this command from a root shell PRIOR to flashing recovery
dd if=/dev/mtd/mtd2 of=/sdcard/recovery-dump-T.img bs=4096
Last edited by drellisdee; 05-06-2011 at 12:41 PM.Thanked by 24:
+ Show/Hide list of the thanked
- 12-02-2010, 08:03 PM #2
- 12-03-2010, 06:42 AM #3
- 80 Posts
What's even worse is 150 views, probably means about 50 downloads, and 1 thanks, and that came from the guy who had already tested it. As for feedback, works great, flashing a zip works. Signature toggle works, automatically starts as enabled. Backup works, I don't have apps2sd to know if backup+ext works. Wipe works. Mount works. USB mount works twice, if you try to mount it a third time it'll show working on the phone but won't show on the computer, restart the phone and it'll work twice again. Partition SD works. Adb su in recovery works.
Last edited by Joeseph Mother; 12-03-2010 at 07:07 AM.
- 12-05-2010, 05:40 AM #4
- 10 Posts
Ok, I think I got this to work but... after reboot recovery my phone rebooted, got to a screen with a picture of an android coming out of a box, appeared to reboot again, and is now asking me to set the phone up for the first time. Did I miss something? It looks like I'm just going to have to go through another restore with Titanium Backup again.
Oh here's what happened in shell:
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /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/mtdblock1 /system mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system # flash_image recovery /sdcard/recovery-RA-GNM-OPT-T-test.img flash_image recovery /sdcard/recovery-RA-GNM-OPT-T-test.img # reboot recovery reboot recovery C:\android-sdk-windows\tools>
- 12-05-2010, 10:57 AM #5
- 12-05-2010, 03:02 PM #6
It looks like everything went smoothly for me. I received both error messages that drellisdee said were to be ignored -
\install-recovery.sh doesn't exist
E:Bad boot message
I'm now at a screen that says Android System Recovery and looks identical to that posted in the Optimus S post.
Everything seems to be working great!
I have some pointers for the noobs who rooted with the z4 method (like me). First install the SDK and drivers as explained in the [How to] Root sticky and follow steps 1-3.
Next Open a CMD window and type the following:
cd c:\wherever-your-sdk-tools-folder-is (mine for example is C:\Program Files (x86)\Portable\Android\tools)
adb shell su
*Note for Vista/7 users with UAC enabled - Depending on where you installed the Android SDK you may have to open the CMD window as an Administrator (search "cmd", right click "Run as Administrator")
At this point you should now see # and you can begin to follow drellisdee instructions at the top of the page.
Last edited by Turducken; 12-07-2010 at 01:20 PM. Reason: Noob guidance
- 12-06-2010, 12:13 PM #7
- 12-06-2010, 12:25 PM #8
- 2 Posts
Re-flash stock recovery
First off just wanna thank all you guys out there getting the Optimus dev community up and running, d-rizzle, kSmith, Beezy, J Mother... kinda sounds like an android rap group, we all appreciate your time and effort.
Main question is how do we go about reflashing the stock recovery if need be?
Just change the last line of code to the correct name?
I'm trying to make time to learn ADB but until then I'm on the dangerous crash course of guess and check. Long story short, I had the recovery up and running great, then realized uninstalling things in titanium completely gets rid of them even after a factory reset, (or is it because I wiped too much in the recovery?). Next thing, I find the stock V10L_00.kdz file and tried to flash it using the KDZ Updater and ended up with a completely non-responsive phone that won't turn on or even connect to a computer. Is this because I needed the stock recovery on there to flash the kdz?
Thanks again guys.
Oh yea, I have a replacement Opt T on the way from Tmo with free 3 day shipping. Gotta love Tmobile
- 12-06-2010, 01:23 PM #9
- 12-06-2010, 04:02 PM #10
- 2 Posts
Thanks, yea I wasn't sure if that would fix it or not. I was trying to no avail to just find the stock firmware and flash it but that didn't go to smooth. Just have to wait on the replacement to get here now. Then I'm gonna learn/practice ADB with my G1 before messing around with this guy again.
- 12-08-2010, 02:08 AM #11
- 12-08-2010, 10:49 AM #12
- 12-08-2010, 08:05 PM #13
- 12-09-2010, 04:00 AM #14
- 12-09-2010, 05:40 AM #15
- 12-09-2010, 07:55 AM #16
- 12-15-2010, 05:41 PM #17
- 1 Posts
I just had the same problem (stuck at fastboot, not because of this recovery).
What I did was flash the recovery with fastboot.
You need to have the fastboot executable in your tools folder of the SDK.
Take the battery out and attempt to go into recovery.
Plug the phone into the computer, at the command prompt on your computer type "fastboot flash recovery.img" or whatever the recovery image is named on your SDcard. Once its done, I was able to reboot into recovery and restore my nandroid backup.
Hope this helps you guys.
- 12-15-2010, 09:49 PM #18
- 12-20-2010, 10:15 AM #19
- 4 Posts
- 12-25-2010, 01:50 AM #20
- 12-30-2010, 04:43 PM #21
- 01-08-2011, 05:52 AM #22
- 19 Posts
Select properties, then select advanced system settings.
In bottom of the new window, select Enviroment Variables.
Under System Variables, select New.
Under Variable Name: type "adb"
Under Variable Value: type the address for the folder that contains the adb (Mine is C:\android\platform-tools)
Once this is completed, make sure you have all those attached files already on the root of your SD card.
In your phone, go to settings/application/development and enable Debugging!!
Then open up Command console in your Windows 7 or xp by going to start menu and in search bar type CMD.
Now from this point on you are just using this CMD (big black window) to instruct your computer to find the ADB and use it to install the custom recovery into your phone.
Follow the list of commands on the front page exactly as written. It will take you several attempts and cups of coffee
- 01-10-2011, 08:30 PM #23
- 01-13-2011, 11:45 AM #24
Hi guys I need your help please
I bricked my LG Optimus T P509 and it is stuck on the LG splash screen. I also cant seem to get into recovery mode. I somehow got into this yellow screen that says EMERGENCY MODE!!!
What do I do? I'm looking to somehow flash back to the stock T-mobile rom.
- 01-17-2011, 09:25 PM #25