how to flash recovery? - Hero CDMA Q&A, Help & Troubleshooting

im trying to flash godspeed recovery but im a newb so of course i dont know how. it says to flash from recovery and type whatever but it doesnt do anything. someone suggested using rom manager to flash it but that didnt work. how can i flash a new recovery? i have asked twice in the godspeed recovery thread but noone answered so i figured i'd try here. any help would be greatly appreciated. thanks!

Someone help, ima newb!!! Lol
Sent from my HERO200 using XDA App

Have you read through Darch's post on how to flash this recovery? Just click on the link in my sig for this particular thread. This is not directly flashable from the sd card. You need to flash it via adb
edit* You have read the thread, do you know how to flash via adb?

Based on your signature, I'm going to assume you are already rooted.
My first question is do you have the Android SDK installed on your computer? My Next question is have you already placed the recovery image on your SD Card (if you are using apps2sd you will want to place it on the FAT partition, but do not place it in any folders)
If you can answer yes two both question above, then go ahead conncect your phone to your computer with the cable and run the sdk in a command window or terminal window (depends on if you are using Windows or Linux) and type the following:
adb shell
flash_image recovery /sdcard/nameofrecovery.img (changing the "nameofrecovery.img" to the name of the image file on your sdcard)
If you run into any problems or if you don't know how to install the sdk post back and I will give you an alternative method to try.

Yes to everything. I tried typing that from recovery and while in the phone with usb debugging on and charge only. It just kept giving me errors.
Sent from my HERO200 using XDA App

cp0020 said:
Yes to everything. I tried typing that from recovery and while in the phone with usb debugging on and charge only. It just kept giving me errors.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Change from charge only to sync and it should work. Make sure ur in the sdk/tools folder and type adb remount before u type in the adb shell command

If you are still having trouble, you may want to just grab from the market a neat little program called Gscript (paid version) or Gscript Lite (adware) and create a script to flash the recovery image.
Once you install it on your phone the steps are:
Start GScript
Click on the phone's Menu Key and select Add Script
Give your script an easily identifiable name
Make sure there is a check mark in the Needs SU? box
then you can type in the command to flash recovery which would be:
flash_image recovery /sdcard/"nameofimagefile" (changing the name to whatever the name of the recovery image you stored on you sd card is)
then click on save.
The script should now appear in the list of availble scripts - just click it to run it. If SuperUser Permissions pops up requesting permission click on allow and you should see message at the bottom that the window will close in 19 seconds.
To verify if this worked for you go ahead and manually reboot into recovery mode - Power off the phone, then press and hold the home key while pressing and releasing the power button.
Let me know how you make out with this.

Related

Will donate for help.

Just like the title suggests, I need help. I have been working on this for three days and have not accomplished anything.
I have been rooted for six months, flashed many roms, kernels, enabled apps2sd, etc.., etc.., but I do not know how it all works(just to give you a little FYI).
"I do not have a recovery screen anymore." At first I just wasn't able to push a new one, it would tell me "usage flash_image partition.img" or something very similar. I searched for that phrase and found something with it in the G1 forums, tried it(probably should have asked first), and now I don't even have a recovery image. Like I said I've tried almost everything and it may be simple but this is beyond me, someone please help.
Sent from my HERO200 using XDA App
secbrad said:
Just like the title suggests, I need help. I have been working on this for three days and have not accomplished anything.
I have been rooted for six months, flashed many roms, kernels, enabled apps2sd, etc.., etc.., but I do not know how it all works(just to give you a little FYI).
"I do not have a recovery screen anymore." At first I just wasn't able to push a new one, it would tell me "usage flash_image partition.img" or something very similar. I searched for that phrase and found something with it in the G1 forums, tried it(probably should have asked first), and now I don't even have a recovery image. Like I said I've tried almost everything and it may be simple but this is beyond me, someone please help.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
what happens when you hold home then press the power button? Is there any sort of screen if you get a screen you need to install android sdk and flash a new recovery image using adb
bycoo222 said:
what happens when you hold home then press the power button? Is there any sort of screen if you get a screen you need to install android sdk and flash a new recovery image using adb
Click to expand...
Click to collapse
Yes there is a screen, it's the green HTC w/ white background. It will just sit there forever. I am at work right now so I can't do it yet but when I get home I'll try it, hopefully that works.
BTW, from my phone I can't tell if you have a donate button. I was serious about that.
Sent from my HERO200 using XDA App
Try downloading the RUU and then re-rooting your phone. It will be wiped clean from the RUU install then you'll be able to push a new recovery img over. If you don't want to do that my other suggestion is if you can't manually flash the recovery try downloading RomManager from the market and using that to flash a recovery.
As far as why you can't flash a recovery where are you placing the recovery.img when you try? are you doing it from your computer or from your sdcard using a terminal emulator? If its from your computer make sure that the recovery.img is in the tools folder and make sure you type it word for word (caps included) if your trying to do it from the terminal emulator and its on your sdcard the same applies as it must be letter for letter and word for word, but before you can type anything you have to gain root access in the terminal you do this by simply typing su and then enter. SuperUser Permissions will ask you if its ok to use root click ok then type in what you need to.
Since you said you've been trying to flash it I assume you know what to type but if you need it again just ask I'll post it up for you. Hope this helps.
Here's something I wrote a few days ago to help someone who was trying to flash a custom recovery might be helpful.
Flashing a custom recovery is pretty easy there is a couple of ways to do it some find it easier to do by putting it on the sd card and flashing it through a terminal emulator or if you have your htc sync and adb set up already you can throw it on your sd card and type this
Code:
adb remount
Code:
adb shell
Code:
flash_image recovery /sdcard/RA-darchstar.img
You should see this below
Code:
# flash_image recovery /sdcard/RA-darchstar.img
flash_image recovery /sdcard/RA-darchstar.img
#
Reboot into recovery and you should be all set to go. The other way by using the terminal emulator you'll just type in this in:
Code:
su
Accept Root access request from SuperUser Permissions then type:
Code:
flash_image recovery /sdcard/RA-darchstar.img
You should see the same output to know you did it correctly. Hope this helps.
secbrad said:
Yes there is a screen, it's the green HTC w/ white background. It will just sit there forever. I am at work right now so I can't do it yet but when I get home I'll try it, hopefully that works.
BTW, from my phone I can't tell if you have a donate button. I was serious about that.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
No donate needed
Sent from my HERO200 using XDA App
Also try quick boot to get in to recovery
Sent from my HERO200 using XDA App
Thanks
Thanks everyone for all you help. I ended up being able to do it through terminal. I guess next time I won't wait three days to ask for a thirty second fix.

Flash new recovery to Wildfire the Easy Way

I found this after searching around for ages on a way to upgrade the recovery on my Wildfire/Buzz, all the friggin fastboot methods weren't working. This worked straight away, no errors, no problems.
Flash a New Recovery Image
1. Find the recovery image you want and MAKE SURE IT IS FOR YOUR PHONE (should say in where you download it what phone it is for)
2. Rename the filename of the recovery image EXACTLY as it is written to recovery.img
3. Put the recovery image file on the SD card (not in any folders)
4. Download Android Terminal Emulator from the Market (there are a few different terminals in the Market some have an onscreen keyboard and some don’t experiment till you get one, also hold down Menu in some of them to bring up the onscreen keyboard if you don’t see it)
5. Open the Terminal program and type the following (with hitting enter at the end of each line):
su (press enter)
(at this stage it will ask you for superuser permission to access your core system. Allow the access)
su (press enter)
flash_image recovery /sdcard/recovery.img
6. Phone should pause for a second and then show you a new blank line. Turn it off and back on by holding down Home and Power to ensure it flashed correctly. Done.
Error
flash_image: not found
Sdcard is fat (not fat32). Any idea.
Sent from my HTC Wildfire using XDA App
EDIT - Sorry, Wrong method, here's the correct one:
First, make sure you have the latest Android SDK, then:
Connect the device to your computer
Copy recovery.img to the root of your SD card
Open term on your computer and run: adb root adb remount
Flashing the custom recovery adb shell flash_image recovery /sdcard/recovery.img
Reboot into recovery to make sure the process was successful.
Sec:
http://wiki.cyanogenmod.com/wiki/RE-recovery-img
3xeno, your method is the same as yusuo's.
he directly use console on android to send command "flash_image recovery /sdcard/recovery.img" after become root ("su")
pro: no need for PC, con: hard typing on the device
you ask adb to execute on the device the command "flash_image recovery /sdcard/recovery.img".
pro: single command with a real keyboard; con: need for PC and cable
fastboot works only with s-off,if you don t have s-off it will not work .-. (or if you don t have the right files)
anyway this metod didn t work for me
fastboot is the best and more simple than this,anyway is there a metod to flash recovery from the phone?
ilgimmy said:
3xeno, your method is the same as yusuo's.
he directly use console on android to send command "flash_image recovery /sdcard/recovery.img" after become root ("su")
pro: no need for PC, con: hard typing on the device
you ask adb to execute on the device the command "flash_image recovery /sdcard/recovery.img".
pro: single command with a real keyboard; con: need for PC and cable
Click to expand...
Click to collapse
I know, but the method on the handset itself didn't work for him. Hence, just suggested the alternative of the same technique as in the OP
My phone has alpharevx s-off. I thought there was no need of pc and everything can be done from phone itself. But still it didn't work for me. Same error.
If there was a need of pc terminal, maybe the 1st post needs to be clear.
Sent from my HTC Wildfire using XDA App
After a bit more reading, it seems "flash_image" must be present in /system/bin for it to work.
More details here:
http://forum.xda-developers.com/showthread.php?t=1146566
Std Disclaimer - I have not tested any of these, so I don't know if they will work or not.
3xeno said:
After a bit more reading, it seems "flash_image" must be present in /system/bin for it to work.
More details here:
http://forum.xda-developers.com/showthread.php?t=1146566
Std Disclaimer - I have not tested any of these, so I don't know if they will work or not.
Click to expand...
Click to collapse
Yes. Now I can confirm that it works when there is "flash_image" (a file with no extension) is present in the path /system/bin/. Also the permissions of flash_image needs to be executable. Just flashed the recovery partition .
Download flash_image from the link given by 3xeno. The OP needs to be updated.
Sent from my HTC Wildfire using XDA App
i use this command since age... it's the only method that works on my buzz

[Q] Nexus one bricked :( and lost recovery mode

can you help me fix this problem
after wipe all data, cache and anotherthing wipe (it's name very hard to remember ).
I cant use recovery mode, my phone can open fastboot and bootloader, but can't open recovery mode (it's only show a android logo when i press "recovery")
please help me (
I could be wrong, but you should be able to use adb to push a new recovery on to your phone.
Try plugging your phone thru USB cord to your computer to see if you can run any adb commands. If you can I think you should be able to push a new recovery to your phone.
justflikwalk said:
I could be wrong, but you should be able to use adb to push a new recovery on to your phone.
Try plugging your phone thru USB cord to your computer to see if you can run any adb commands. If you can I think you should be able to push a new recovery to your phone.
Click to expand...
Click to collapse
can you show me more, i dont know adb commands, and push new recovery is "recovery clockwork" and "recovery RA". I tried apply them, but it's not work,may be i wrong in some thing, it's the first time i use android phone . throught usb, i have "fastboot usb"
please help me
http://wiki.cyanogenmod.com/wiki/Nexus_One:_Full_Update_Guide
but my phone cant connect with PC, atlthough i installed google usb driver.
i might be wrong but cant you just flash a original ruu, than root and reinstall recovery
#1)Go and download yourself a recovery.img file that is compatible with your device and put the image on the root of your SD card (that means on the main directory and not in a folder)
#2)Make sure you have a terminal emulator application installed from the market on your phone. If you don't...install one now.
#3)Open up your terminal and type in
Code:
su
to gain root access. If you are root the next line should show the
Code:
# symbol
#4)At the next line type in
Code:
flash_image recovery /sdcard/name-of-recovery.img
you will need to replace the code that says name-of-recovery.img with the exact name of the file on your SD card.
#5)Hit enter, wait a few seconds and viola ! you have a recovery again.
Good luck man.
hxq88 said:
but my phone cant connect with PC, atlthough i installed google usb driver.
Click to expand...
Click to collapse
Try the driver from this thread.
It helped me set up my ADB for the N1
http://forum.xda-developers.com/showthread.php?t=613217
#2)Make sure you have a terminal emulator application installed from the market on your phone. If you don't...install one now.
you mean install terminal from android market? my phone stop working in android logo screen, i cant do anything in android OS, include enable debugging?
I need restore my recovery mode, and my prolem is Pc cant see phone
hxq88 said:
#2)Make sure you have a terminal emulator application installed from the market on your phone. If you don't...install one now.
you mean install terminal from android market? my phone stop working in android logo screen, i cant do anything in android OS, include enable debugging?
I need restore my recovery mode, and my prolem is Pc cant see phone
Click to expand...
Click to collapse
Did you have ADB working before? Try using the driver from the link I posted.
Have you tried the passimg method?
baseballfanz said:
Did you have ADB working before? Try using the driver from the link I posted.
Have you tried the passimg method?
Click to expand...
Click to collapse
i typed ADB devices on command prompt, it'show
View attachment 763802
and it's my driver after update from your link
View attachment 763803
what is passimg method, is the way rename room.zip => PASSIMG.zip
You did have debugging turn on correct?
Not sure what else to suggest except the passimg method, worth a shot.
Sent from my Transformer TF101 using Tapatalk
And... if you try to install a stock rom? When starts the HBOOT automatically detect the rom and ask to install. One time you've installed the rom, root & install recovery
I think that work because, It happens to me 1 week ago.

cwm touch

So iam running bo 2.0.1 with cwm 5.5.0.4. Tried to update to cwm 6 touch by replacing cwm image in pretty much all the aio's.. it'll either say it pushed and still reboot into old cwm or I'll get permission denied on /data/local/temp/sh and mmcblk14 even after giving them all read write and execute permission. Can someone help me get this on my revo? Maybe a guide to do it with adb? It would be much appreciated..... sorry if this is posted in wrong section... I wasn't sure where it would be seen by the dev 's who can help
All I had to do was use this tool:
http://forum.xda-developers.com/showthread.php?t=1630821
After you unzip that file, download the CWM 6.0.0.0 img file and rename it cwmrecovery.img and replace the one in /files. Then run the Run Me.bat and select option 2 - it says Root and CWM 5.5.0.4, but since you replaced the img file it'll push the one you want. Make sure your phone is in Internet Connection more and turn on USB Debugging. I hope that works!
slimzim said:
All I had to do was use this tool:
http://forum.xda-developers.com/showthread.php?t=1630821
After you unzip that file, download the CWM 6.0.0.0 img file and rename it cwmrecovery.img and replace the one in /files. Then run the Run Me.bat and select option 2 - it says Root and CWM 5.5.0.4, but since you replaced the img file it'll push the one you want. Make sure your phone is in Internet Connection more and turn on USB Debugging. I hope that works!
Click to expand...
Click to collapse
The same exact way I've done it. Numerous times with no success. It said it pushed but reboot back into 5.5.0.4
Anyone else have this problem? How can I achieve this with adb or file explorer... the method posted just isn't pushing the image...
To do it from within the phone... (Insert the usual disclaimers here about messing your phone up here. It's all you from here on out)
You can open up the .bat batch file of one of the rooting tools that have CWM install scripting.
Copy the commands they perform in preparation for the procedure. Remove adb shell and push from the commands as you will be doing this from inside the phone, not via adb. I think you might have to remove some open/close quotation marks too, unnecessary from the terminal prompt.
Rename the new CWM file to match the command prompt change the command to match the new CWM filename.
Move that file to the expected location (/local/tmp if I recall correctly).
Use app Terminal Emulator to create a terminal windows and type su and Press enter. That will get superuser access.
Then, issue the commands you took note of from the batch file.
Reboot to Recovery to test if successful.
I used this basic process to get CWM on after rooting stock ZV9 a few weeks ago. Combing through a couple different batch scripts, I wanted to make sure I wasn't going to bork my phone. The adb remount command doesn't seem to work after rooting for some reason. That seems to be the cause of adb failure to update CWM.
If you get into trouble, I can't help you much there as I'm not that advanced. Good luck.
Anyone else with tips please chime in and help the chap :beer:
Sent from my VS910 4G using Tapatalk 2
Ill try it out. Thanks for the advice
Didnt work.. iam hoping that resetting back to stock and using that image from the start will work
Weird. I was expecting to hear good news since that's how I got CWM onto my phone. Good job trying!
Sent from my Transformer Prime TF201 using Tapatalk 2

[Q] i need help for my "bricked" phone.. i know it can be fix :-/

well while rooting my phone, installing the recovery and custom rom.. i made a slight (big) mistake towards the ending of root kit process by hasoon. When we are about to flash the custom rom, we're supposed to wipe everything so there wouldn't be any problems later on. We all know a fresh install always gives the best results. When i was wiping everything, i forgot to put Android Revolution HD on my sd so now i have recovery but i can't install a stock rom, custom rom, and i can't restore my phone. please someone help me.. i unfortunately have to go to work in 20 mins but when i get out of work i would greatly appreciate it if i had a few answers that can help me out with my situation. I don't care if its a hard process. this isn't my first phone i root so im not that noobie (at least i don't think so) so all im asking is to be pointed in the right direction and i would greatly appreciate that. Please and thanks for the help everyone. Hope we're all enjoying this amazing phone
Use the all-in-one toolkit in the dev forum to sideload the ROM from your PC. Rename the ROM something simple like arhd.zip on your PC to make it easier.
This helped me with a similar problem.
Sent from my HTC One using xda premium
thanks for getting me on the right track.. i honestly feel really close to having a phone again but now cwm is messing me up now. whenever i try to sideload.. i keep getting "failed to open driver control: No such file or directory" then it says "restarting adbd..." and then it just repeats with the no driver control. did this happen to u? :-/
Josh112191 said:
thanks for getting me on the right track.. i honestly feel really close to having a phone again but now cwm is messing me up now. whenever i try to sideload.. i keep getting "failed to open driver control: No such file or directory" then it says "restarting adbd..." and then it just repeats with the no driver control. did this happen to u? :-/
Click to expand...
Click to collapse
I have exactly the same problem. ADB sideload isn't working for me as the device isn't showing up in adb when booted into recovery... I've been doing this for years... I don't know how I could have done something so stupid :'(
EDIT:
I managed to fix this by installing CWM touch recovery and using LINUX to sideload the ROM .zip for installation. Good look sorting it out!
No didn't get anything like that. Maybe if you can get a USB OTG cable and try load the ROM that way through CWM from a USB or micro sd adapter?
I'm not sure if this would work as I haven't tried it - just a suggestion to try.
Sent from my HTC One using xda premium
Sideload from CWM Recovery
Just went through the whole boot loop due to Aroma freezes at the beginning of the installation, but CWM Recovery is still accessible so I went the ADB Sideload method and push the file to be installed because I didn't have any backup on the internal memory.
Just a couple of guides from the guys at XDA that got me back:
make sure you have the most up to date ADB Tools
From your phone go to Recovery>install zip from sideload
From CMD prompt, check that adb can see your device by 'adb devices' command, it should show your device number with sideload next to it.
If it doesn't see it, try 'adb kill-server' and then 'adb start-server'
Then 'adb sideload custom.zip' (custom= name of ROM zip file)
You should see the percentage completion then it will start the installation on your phone.
I am also newbie at this, was panicking and looked around here having this bricked phone next to me for 24hrs, but I asked around and they got me back in.
Good luck.
boot to recovery and push rom to phone....
'adb push /path/to/ROM/on/your/computer /path/on/device' (without quotes)
xdracco said:
boot to recovery and push rom to phone....
'adb push /path/to/ROM/on/your/computer /path/on/device' (without quotes)
Click to expand...
Click to collapse
I'd be interested to see an example of the command for future reference??
For example, the ROM is saved in C:\fastboot
Thanks.
xdracco said:
boot to recovery and push rom to phone....
'adb push /path/to/ROM/on/your/computer /path/on/device' (without quotes)
Click to expand...
Click to collapse
This is what I was going to suggest.
Sent from my HTC One using xda app-developers app
redbull123 said:
I'd be interested to see an example of the command for future reference??
For example, the ROM is saved in C:\fastboot
Thanks.
Click to expand...
Click to collapse
Code:
adb push C:\fastboot\My_Rom.zip /sdcard/Download/
Try to have no spaces in the file name. linux based systems hate that.
Then when you boot into recovery, head over to:
install zip from sdcard -> choose zip from sdcard -> Download/
You'll find your ROM there.
HTH
What model do u have?
Sent from my HTC One using xda app-developers app

Categories

Resources