Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
drellisdee
Old
(Last edited by drellisdee; 9th November 2011 at 06:54 PM.)
#1  
Recognized Developer - OP
Thanks Meter 808
Posts: 610
Join Date: Jan 2008
Location: East Coast

 
DONATE TO ME
Default [DEV] Custom Recovery P500/Thunderg

Full release post is here and I'll update at xda soon.

http://androidforums.com/lg-optimus-...ml#post1896517

I got all the bugs worked out thanks alahkel & fughy for testing and of course Amon-Ra for original source.

New link version 2.2.1 Version 2.2.1

New version 3.06 Version 3.06
The Following 29 Users Say Thank You to drellisdee For This Useful Post: [ Click to Expand ]
 
alahkel
Old
#2  
Senior Member
Thanks Meter 111
Posts: 531
Join Date: May 2008
Thanks to you for the whole great work you've done!
We really appreciate that.
 
fughy
Old
#3  
Junior Member
Thanks Meter 0
Posts: 16
Join Date: Feb 2010
really GREAT WORK !!!!
 
gemarc
Old
#4  
Member
Thanks Meter 3
Posts: 76
Join Date: Oct 2009
Location: Prague
Please, i need some info, how use adb on P500.
 
LuvStry
Old
#5  
Member
Thanks Meter 2
Posts: 31
Join Date: Nov 2010
Absolute AWESOME!!!

 
Vintersorg
Old
#6  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Nov 2010
Default Thanks!

Thanks !

works like a charm. I have installed your custom recovery. Backed up everything with nandroid, tried KeruROM, flashed back my original branded ROM from nandroid backup.
Everything works. I'm not going to try flash back my original recovery mtd, there is no reason to do it, but have a dd backup just in case. I don't know if it is safe to tamper with recovery mtd, cause I'm not sure if it is re-flashed after every system shutdown. I don't think so, cause I haven't found recovery.img in /system.

I have two questions regarding flashing custom recovery. I haven't used this command:

Code:
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
cause, i didn't found this script on my phone. Is it ok?

Second question: Is it mandatory to copy flash_image to /system/bin with this command?

Code:
cat /sdcard/flash_image > /system/bin/flash_image
Can't we use /data/local/tmp directory and running flash_image from there as we used in the process of rooting the phone? This way we don't have to remount /system in rw and do not have to modify it.


Now I'm going to explore ROM modding ;)
 
drellisdee
Old
#7  
Recognized Developer - OP
Thanks Meter 808
Posts: 610
Join Date: Jan 2008
Location: East Coast

 
DONATE TO ME
Quote:
Originally Posted by Vintersorg View Post
Thanks !

works like a charm. I have installed your custom recovery. Backed up everything with nandroid, tried KeruROM, flashed back my original branded ROM from nandroid backup.
Everything works. I'm not going to try flash back my original recovery mtd, there is no reason to do it, but have a dd backup just in case. I don't know if it is safe to tamper with recovery mtd, cause I'm not sure if it is re-flashed after every system shutdown. I don't think so, cause I haven't found recovery.img in /system.

I have two questions regarding flashing custom recovery. I haven't used this command:

Code:
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
cause, i didn't found this script on my phone. Is it ok?

Second question: Is it mandatory to copy flash_image to /system/bin with this command?

Code:
cat /sdcard/flash_image > /system/bin/flash_image
Can't we use /data/local/tmp directory and running flash_image from there as we used in the process of rooting the phone? This way we don't have to remount /system in rw and do not have to modify it.


Now I'm going to explore ROM modding ;)
Flash_image doesn't have to be there but for simplicity I put it there so it would be in :PATH. The install-recovery.sh is an evil script that will rewrite a recovery on boot with stock recovery(that only is there on some phones after an official ota update) so rom markers please remove it if it exists.
 
Joeseph Mother
Old
#8  
Senior Member
Thanks Meter 35
Posts: 116
Join Date: Sep 2009
Any chance the p509 optimus t is similar enough for this to work? I'm willing to be the guinea pig if it should work.
 
drellisdee
Old
(Last edited by drellisdee; 23rd November 2010 at 03:54 PM.)
#9  
Recognized Developer - OP
Thanks Meter 808
Posts: 610
Join Date: Jan 2008
Location: East Coast

 
DONATE TO ME
Quote:
Originally Posted by Joeseph Mother View Post
Any chance the p509 optimus t is similar enough for this to work? I'm willing to be the guinea pig if it should work.
Its close enough it has a very good chance of working but will take a guinea pig to verify. Kernel should be close enough to try. Only differences I saw in the ramdisk of p500 & p509 was model number and lang of en GB and en Us repectively. I had a bad/corrupt dump to work off of on the p509/T. I could use a good dump source with a md5sum to verify its not corrupted in uploading/downloading.

make sure you do this 1st to backup your stock recovery

from terminal or adb shell
Code:
dd if=/dev/mtd/mtd2 of=/sdcard/recovery-dump-T.img bs=4096
please upload that dump for me with a md5 too and I'll work on an official.
 
ruigui
Old
#10  
Member
Thanks Meter 23
Posts: 54
Join Date: Oct 2010
Can it be done without root? As normal user?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...