Page 1 of 1

Rooted 2.1: extract recovery?

Posted: Fri Oct 07, 2011 8:52 am
by netomx
Anyone with a 2.1 rooted, have you tried to get the recovery img??? maybe we can flash it to the 3.1

Possible commands:

cat /proc/mtd (to check what is your recovery partition)

Then:

cat /dev/mtd/mtd1 > /sdcard/mtd1.img (if mtd1 is the recovery, and /sdcard/ is the USB, but I read that it is /mnt/usb)

Then, try to flash this image recovery to a 3.1

Also, it may be interesting to ask koushikdutta to build a custom one for x86 platforms.
http://www.koushikdutta.com/2010/02/clo ... image.html
Clockworkmod source: https://github.com/koush/android_bootable_recovery

Re: Rooted 2.1: extract recovery?

Posted: Fri Oct 07, 2011 6:19 pm
by netomx
EDIT: I made it, and flashed the 3.1 Alpha recovery and works! (i think) I rebooted and then the recovery menu appeared... just once.. rebooted and it is the same haha


Any brave guy to inject su and busybox to the system.img and then use flash_image ???

Re: Rooted 2.1: extract recovery?

Posted: Sat Oct 08, 2011 6:44 am
by davpel
Just so I understand (I'm a bit dense sometimes), you have a working recovery for the 3.1 debug version? If so, can you post it somewhere?

Re: Rooted 2.1: extract recovery?

Posted: Sat Oct 08, 2011 8:59 am
by netomx
It is weird. It worked one time. It appears it overwrites it.

Although, it seems i noticed how to enter recovery mode: get a wrong update.zip on your usb (i used a the hc userdebug), then boot to recovery. You'll see how is updating. Turn off the box. Remove the usb. Turn it on. It will try to get to the recovery :)

I'll make a tutorial in an hour.