[Q] How to extract a recovery image? - Streak 5 General

hi,
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!

i am in need of the same thing!
I do have access to another AU stock streak.
Let me know what i need to do and ill get the file

http://forum.xda-developers.com/showthread.php?t=695701

Related

mytouch 1.2 recovery broken

On test seven, went to flash Amun ras new recovery, didn't know that flashing a recovery is broken in this so now I am stuck with a broken recovery. I tried flashing it via adb shell didn't work, you guys have any suggestions?
Flash the 2010 Engineering SPL, flash recovery, then revert to stock SPL.
Flash via Terminal Emulator. I had to do the same thing.
Guess ill do yhat. I was hoping there was another way cuz i do not like flashing an spl via anything but fastboot lol.
C0dy said:
Flash the 2010 Engineering SPL, flash recovery, then revert to stock SPL.
Click to expand...
Click to collapse
I have the similar problem, i can't access the recovery, i can use the phone, or in the computer (adb) but i don't know how i can flash this without access to the recovery.
p10l1n said:
I have the similar problem, i can't access the recovery, i can use the phone, or in the computer (adb) but i don't know how i can flash this without access to the recovery.
Click to expand...
Click to collapse
Download Terminal Emulator if you don't already have it.
Then follow these steps.
Code:
Copy recovery-RA-sapphire-v1.7.0G.img to the root of your sdcard
start the terminal app
#flash_image recovery /sdcard/recovery-RA-sapphire-v1.7.0G.img
Flashing recoveries is broken in t7 so that wont wrk. What i wanna know is if fladhing an spl via terminal is.
knny1491 said:
On test seven, went to flash Amun ras new recovery, didn't know that flashing a recovery is broken in this so now I am stuck with a broken recovery. I tried flashing it via adb shell didn't work, you guys have any suggestions?
Click to expand...
Click to collapse
Do you have any access via fastboot? You could do a nandroid restore via fastboot then flash a recovery img... if not flashing an spl via goldcard method would work to let you fastboot flash a rom and recovery image.. perhaps..
I of course could be way off but I'm trying to help you brain storm.
What are the commands to nand restore via fastboot?
depends if you've done a backup via the recovery tool or the fastbooter.
If you did it on your recovery screen and it saved to the sd card you'll need to copy these files from the NAND folder in your sd card
Code:
data.img
system.img
boot.img
saved then in the /tools area of where ever you set up AndroidSDK. in my case it's /AndroidSDK/Tools/ (might be different for you)
Once that's done flashing codes are below. if you did NAND via fastbooter just use these codes.
Code:
fastboot devices (make sure it sees you)
fastboot flash system system.img
it will say Sending, then writing and say OKAY if it was successful
then type
fastboot flash userdata data.img
wait for the second OKAY and type
fastboot flash boot boot.img
wait for the second OKAY and type
fastboot reboot
Hopefully that works for you.
Ah okay that was simple, idk why I didn't think of it. I'm setting up sdk on my buddies laptop right now n then I'm going to get this thing breathin correctly again.
knny1491 said:
Ah okay that was simple, idk why I didn't think of it. I'm setting up sdk on my buddies laptop right now n then I'm going to get this thing breathin correctly again.
Click to expand...
Click to collapse
me too, hope it works out for you. if it doesn't I'll keep brain storming with you.
I'm just REALLY trying not to go throguh the root process again lol, I think I'm just going to adb shell the SPL and then fastboot the recovery given its the easiest way I can think of.
I also just thought of the idea that you could simply do
Code:
fastboot erase recovery
fastboot flash recovery (recoverynamehere)
I need to flash the ENG spl first, which I am doing right now lol.
What is the appropriate command for flashing the spl? I did this:
adb shell
mount /sdcard
cd /sdcard/
flash_image hboot hboot.img
and via terminal:
su
flash_image hboot /sdcard/hboot.img
It said it couldn't find the hboot partition, my guess is I need to figure out what the correct partition name is.
Anybody know the command?
Heellllloo? Lol need some help here
Anyone got anything?
Fixed
-------------------------------------
Sent via the XDA Tapatalk App

Uninstall clockworkmod and return to stock recovery

sending my phone back into google, have frf91 back. need to remove clockworkmod now and install the stock recovery. googled it but no help with the current frf91, unless you can use the original shipping recovery image with it? also do you think clockworkmod might cause any concerns when they receive it if i cant figure it out? bootloader is not unlocked.
So, for some reason, I couldn't find a guide on xda...I know I saw one here...
Anyways, here you go:
http://androidspin.com/2010/05/06/guide-unrooting-your-nexus-one-its-like-it-never-happened-almost/
is there an easier way to do this if you used Rom Manager?
Nope, I don't think it's possible to flash a recovery with a recovery...(edit: there is no option in Rom Manager to select a specific recovery.img)
You might be able to do use the flash_image binary.
If you have adb setup, use: (you must have the recovery.img in the root of your sd card)
Code:
adb shell
su
flash_image recovery /sdcard/recovery.img
Is that true for the paid Rom Manager version as well?
wdfowty said:
Nope, I don't think it's possible to flash a recovery with a recovery...(edit: there is no option in Rom Manager to select a specific recovery.img)
You might be able to do use the flash_image binary.
If you have adb setup, use: (you must have the recovery.img in the root of your sd card)
Code:
adb shell
su
flash_image recovery /sdcard/recovery.img
Click to expand...
Click to collapse
I second this. This is how i got the stock recovery back onto my device.
im not familiar with adb setup, is it hard to install/use? im getting frustrated trying to get it back to stock. do you think htc will care i have clockwork mod as my recovery? bootloader isnt unlocked.
futango said:
I second this. This is how i got the stock recovery back onto my device.
Click to expand...
Click to collapse
everytime i hit adb shell a # comes up with the line next and su command isnt working
bobbbyjuice said:
everytime i hit adb shell a # comes up with the line next and su command isnt working
Click to expand...
Click to collapse
That mean your machine not yet rooted, go to the wiki page, or search 1-click rooted, that is a post link on wiki page, title is something like root without unlocking, details instructions on and shell
thanks i just 1 click rooted real quick. i have the recovery file on my sd card but now it says not found. its recovery.img like it asks for.
bobbbyjuice said:
thanks i just 1 click rooted real quick. i have the recovery file on my sd card but now it says not found. its recovery.img like it asks for.
Click to expand...
Click to collapse
Why are you trying to get rid of clockwork when you weren't rooted and couldt have installed it in the first place.
booted into recovery and found out one of my previous attempts must have worked because i have the stock recovery back now. thanks for all the help guys!

Htc Hero Black Screen

hi my screen wont come on on a htc hero!! the phone is on and my pc recognises my htc being in adb bootloader the phone has a light on to say its charging but everything else seems dead now there is no data on the phone i want to keep, but i would like to get it working and i think i need to install the firmware again but i have to do it using fastboot can anyone help me?
Are you using official 2.1 or a rom?
s.watling said:
hi my screen wont come on on a htc hero!! the phone is on and my pc recognises my htc being in adb bootloader the phone has a light on to say its charging but everything else seems dead now there is no data on the phone i want to keep, but i would like to get it working and i think i need to install the firmware again but i have to do it using fastboot can anyone help me?
Click to expand...
Click to collapse
When in fastboot, check what SPL/bootloader version you have. That tells us what we can do. Likely (if it's 004), then you can simply
fastboot boot AmonRARecovery1.7.0.1.img (or whatever you call it) and get your recovery image booted. From there, flash a ROM, and reflash recovery using the adb command "adb shell flash_image recovery /sdcard/recovery.img" after putting recovery on there.
Check bootloader version first though
pulser_g2 said:
When in fastboot, check what SPL/bootloader version you have. That tells us what we can do. Likely (if it's 004), then you can simply
fastboot boot AmonRARecovery1.7.0.1.img (or whatever you call it) and get your recovery image booted. From there, flash a ROM, and reflash recovery using the adb command "adb shell flash_image recovery /sdcard/recovery.img" after putting recovery on there.
Check bootloader version first though
Click to expand...
Click to collapse
how do you check the spl/bootloader version as i have absolutley no display on my phone!!
what do i type in termainal
i was using modaco custom firmware but would ideal like to get it back as standard uk orange!!
Right, get a recovery image, and try to fastboot it, and just see if it works.
If you don't see the spl though,then I think you have a hardware issue.
You could also try an RUU.
hi i have a nandroid backup of the phone in fastboot i can flash the boot.img the data.img but when i try flshing the system.img it says remote data length is too long
any ideas

[Q] LG Optimus L5 (e610)

Hi Everyone... I Want To Ask How to Install Clock Work Mod Recovery Without PC, And How To Install The newest Or How To Update CWM Recovery. Thanks
Do you have rooted your phone?
Do you know someting about bash / shell / bat files ?
I have rooted phone, but I'm don't know about those shell/bash/bat files...
In some tutorials to install CWM requires you to have a unlocked bootloader and adb to flash things. With root you can do that using Android Terminal Emulator and doing the commands that comonly are in bat files that calls adb
the common should be
dd bs=4096 if=/sdcard/bootloader_unlock.bin of=/dev/ (something)
of course you must have the files extracted in sdcard (the same with recovery)
Ye... I have unlocked bootloader, ok, i try this...
I prepared a thread for this after see this thread. http://forum.xda-developers.com/optimus-l3-l5-l7/general/l5-guide-root-unlock-bootloader-install-t2938943

Need help, friend tried to downgrade from N beta and hard bricked phone.

I need someone with a rooted Sprint Galaxy S7 (NOT EDGE) to dump their boot loader debrick image for me to use to fix a friend's phone. Using this zip, you should be able to make one, anyone willing to help out, will be much appreciated.
http://d-h.st/Mui
The tool to dump bootloader.
You can use FlashFire to run the zip, or run the code manually in a terminal emulator.
Code:
su
dd if=/sdcard/debrick.bin of=/dev/block/mmcblk0

Categories

Resources