Jump to content

How to dump a recovery image?


Recommended Posts

Posted

I'm after the stock recovery image for my optus streak, there isn't one floating around unfortunately. If I can get my hands on a stock optus streak, would this be the command to extract it, in a shell?

dd if=/dev/mtd/mtd0 of=/sdcard/recovery-dump.img bs=4096

I should then be able to fastboot flash it onto my phone?

thanks!

Guest freepal
Posted
I'm after the stock recovery image for my optus streak, there isn't one floating around unfortunately. If I can get my hands on a stock optus streak, would this be the command to extract it, in a shell?

dd if=/dev/mtd/mtd0 of=/sdcard/recovery-dump.img bs=4096

I should then be able to fastboot flash it onto my phone?

thanks!

+1

Guest untrueparadox
Posted

gotta be rooted.

assuming stock rom and rooted, u needa type in

adb remount

adb shell

su

and then the dd if command.

Posted
gotta be rooted.

assuming stock rom and rooted, u needa type in

adb remount

adb shell

su

and then the dd if command.

I gave it a try, but the Streak just reboots when trying to run the re-flashed recovery. The phone currently has a working -21 recovery image. What I did was:

- run the dd command from a Terminal window on the phone, and copied the resulting 5,242,880 byte .IMG file to my computer.

- flashed clockworkmod-streak-2.5.0.1 and tested it - CWM it loads up

- flashed the .IMG file (of the previous -21 recovery) from the dd command - the streak shows a black screen for a short while then reboots, after i select the Update.pkg option.

Is the recovery at mtd0? What am i missing?

thanks!

Guest untrueparadox
Posted

that's how its done on other phones. i'm not sure how to dump it for the dell streak because the conventional method does not work. the other stock recoveries out there are extracted from the pkg rom i believe.

Guest Nexus 1
Posted

you need figure out the correct device name and partition.

that's how its done on other phones. i'm not sure how to dump it for the dell streak because the conventional method does not work. the other stock recoveries out there are extracted from the pkg rom i believe.
Posted

Thanks for the help guys, fards last night posted a -00 recovery image that works on mine, so I don't have to do it anymore!

Posted (edited)
you need figure out the correct device name and partition.

Just use good old cat command, like this to list all.

this is it from my nexus one;

cat /proc/mtd

mtd0: 000e0000 00020000 "misc"

mtd1: 00500000 00020000 "recovery"

mtd2: 00280000 00020000 "boot"

mtd3: 09100000 00020000 "system"

mtd4: 05f00000 00020000 "cache"

mtd5: 0c440000 00020000 "userdata"

Edited by twon
Posted
Just use good old cat command like this to list all.

this it from my nexus one

cat /proc/mtd

Well that was easy! it's mtd1. Thanks!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.