ROM Manager having some trouble flashing ClockworkMod - Nexus S Q&A, Help & Troubleshooting

So, basically ever since I've had my phone rooted and had ROM Manager on it, it has had trouble flashing Clockwork Recovery for me. I'll select for it to flash, it will appear to do so, but when I try to boot into recovery, either manually or from ROM Manager, it will just go to the default bootloader. When I attempt to choose Recovery from there, nothing will happen, and I'll have to reboot my phone and attempt to flash CWM again, and again, until it finally boots into it.
This always used to work after about 3 tries though, but now suddenly, it's just not even going anymore.
Is there anything I can do to make this process easier (or actually work)?

Set cwm to erase before flashing.
Sent from my Nexus S using xda premium

Or just use the fastboot command and flash recovery that way.

krohnjw said:
Set cwm to erase before flashing.
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Just tried doing this, didn't work.
NYYFan325 said:
Or just use the fastboot command and flash recovery that way.
Click to expand...
Click to collapse
What command would that be? /noob

The command is called fastboot. You run it from a command prompt. You need to download the recovery image, then from the command prompt type:
fastboot flash recovery nameofrecoveryimage.img
There are multiple guides on here that explain it step by step

NYYFan325 said:
The command is called fastboot. You run it from a command prompt. You need to download the recovery image, then from the command prompt type:
fastboot flash recovery nameofrecoveryimage.img
There are multiple guides on here that explain it step by step
Click to expand...
Click to collapse
First off, sorry for taking so long to reply.
That was extremely noobish of me, I had completely forgotten about fastboot.
Turned out that solved it. I'm not sure what was going on, but all seems to be well now.
Thank you for your help!

use qbking77 guide in rooting ns/s 4g it is superb tutorial... go to youtube and type qbking77 ^_^

There was a file you have to delete. Look around Q&A, It's in there
Sent from my Nexus S 4G using XDA App

Ok so either delete these two files below or change the permissions so it has none (000)
"Install-recovery.sh" located in /system/etc
"Recovery-from-boot.sh" located in /system

Related

soft brick, no recovery...

Hello. I am new to this forum so bare with me lol. Recently I rooted my G1 using the following guide.
http ://forum.xda-developers. com/showthread.php?t=727688
Everything was working perfect. I went to Rom Manager app and updated recovery image and my phone was rebooting fine. Today I could not send text messages so I rebooted my phone and it gets stuck on G1 screen. Home+power doesnt work but camera+power works. What can I do?? I searched for 3 hours already and I only read that people fixed it but no one gave step by step instructions
radekkacz07 said:
Hello. I am new to this forum so bare with me lol. Recently I rooted my G1 using the following guide.
http ://forum.xda-developers. com/showthread.php?t=727688
Everything was working perfect. I went to Rom Manager app and updated recovery image and my phone was rebooting fine. Today I could not send text messages so I rebooted my phone and it gets stuck on G1 screen. Home+power doesnt work but camera+power works. What can I do?? I searched for 3 hours already and I only read that people fixed it but no one gave step by step instructions
Click to expand...
Click to collapse
Does it only get stuck on the splash screen when you try to boot into recovery? Or does it not boot into the ROM at all?
Same thing
I have the same thing happening to me but there is no ROM. So I am able to get into FASTBOOT but it wont flash anything but I have no ROM or RECOVERY IMAGE
In fastboot you can flash, either download the original RC29 DREAIMG.NBH, or get the fastboot executable on your PC (mostly in PATH in sdk/tools/ with adb) and flash recovery with fastboot:
Code:
fastboot flash recovery recovery.img
In the Cyanogen Wiki there is a link for both recoveries (RA and CWM).
fonix232 said:
In fastboot you can flash, either download the original RC29 DREAIMG.NBH, or get the fastboot executable on your PC (mostly in PATH in sdk/tools/ with adb) and flash recovery with fastboot:
Code:
fastboot flash recovery recovery.img
In the Cyanogen Wiki there is a link for both recoveries (RA and CWM).
Click to expand...
Click to collapse
When I go into fastboot which I suppose is camera+power, I dont have any options to flash. I have 4 options...
<CAMERA STEP2> HBoot Mode
<SEND> Reset Device
<ACTION> Restart to HBoot
<MENU> Power Down
To clarify, my phone does not boot at all and no recovery.
radekkacz07 said:
When I go into fastboot which I suppose is camera+power, I dont have any options to flash. I have 4 options...
<CAMERA STEP2> HBoot Mode
<SEND> Reset Device
<ACTION> Restart to HBoot
<MENU> Power Down
To clarify, my phone does not boot at all and no recovery.
Click to expand...
Click to collapse
The fastboot command is entered on the computer , Windows command line for example
http://android-dls.com/wiki/index.php?title=Magic_Rooting
Is good guide to show you the basics, just download a dream recovery instead of sapphire/magic recovery image
radekkacz07 said:
When I go into fastboot which I suppose is camera+power, I dont have any options to flash. I have 4 options...
<CAMERA STEP2> HBoot Mode
<SEND> Reset Device
<ACTION> Restart to HBoot
<MENU> Power Down
To clarify, my phone does not boot at all and no recovery.
Click to expand...
Click to collapse
Are you able to go through the root process again. Sounds like your only option to me.
I have absolutely no clue how to get the fastboot to load. My adb doesnt turnon on pc nor the fastboot. Im a noob to this stuff.
"Java not found in your path" .
radekkacz07 said:
"Java not found in your path" .
Click to expand...
Click to collapse
You need to have a java jre/jdk within your classpath.
Sent from my Htcclay's Superfly G1 using XDA App
? Im so confused with this lol
There is a Guide for ADB and Fastboot in the Q&A section. Please read there how to set up an appropriate environment.
Sent from my Htcclay's Superfly G1 using XDA App
Thank you for the link but I cant run sdk setup because it doesnt detect my java although I installed it. Also I will not be able to put my phone in debug mode since I cant boot it.
How can I put java in my classpath? could you clarify?
radekkacz07 said:
How can I put java in my classpath? could you clarify?
Click to expand...
Click to collapse
In Linux you have to enter:
export PATH=$JAVA_HOME/bin:$PATH
On the shell, where JAVA_HOME points to the directory where java is installed.
In Windows you have to open your settings, and to find the PATH configuration. There you have to add the bin-Directory of your Java-Installation. But you have to separate by a ';' instead of ':'.
Hope that will help you ...
Sent from my Htcclay's Superfly G1 using XDA App
i am having this same problem.
i can get into the "android system recovery" menu, but i dont know what to do from there...if anything.
nandroid restore gives me an error.
do i need to put the ROM and update ZIPs back on the SD for a restore to work?
rdub202 said:
i am having this same problem.
i can get into the "android system recovery" menu, but i dont know what to do from there...if anything.
nandroid restore gives me an error.
do i need to put the ROM and update ZIPs back on the SD for a restore to work?
Click to expand...
Click to collapse
So you dont have the same problem because you can get into the recovery and I cant...
If anyone lives around chicago land area, I am willing to pay for someone to help me out withthis problem.
there have been a load of issues flashing recovery from within a rom when running CM5 or 6....unfortunately, most of the "clear warnings" are far from that....
if you are having trouble setting up fastboot, have a look at this guide, it may be of benefit to you....you only really need to follow the fastboot instructions (note. the guide is for ubuntu 9.10 and 10.04)
http://www.lineardroid.co.uk/2010/04/how-to-set-up-adb-in-ubuntu/
i have the same problem but when i try to flash a new recovery img i get MTD: a bunch of numbers and it keeps on telling me that i dont have enough memory.. is there anyway i can fix this?

[HOWTO] Restore Nexus s 4g to stock

Please delete this thread.
The updated version is here
http://forum.xda-developers.com/showthread.php?t=1167819
you could always post the links as text and then after 10 posts then you can convert to urls again
www.filefactory.com/file/cb882b4/n/Flash_Recovery.zip
www.filefactory.com/file/cb88370/n/Full_recovery.zip
filefactory.com/file/cb882b4/n/Flash_Recovery.zip link 1
filefactory.com/file/cb88370/n/Full_recovery.zip link 2
PM Sent.....
Its telling me that fastboot is not a internal or external command. I'm going into the cmd and typing cd filepath then the fastboot instructions. Am I missing something?
Fixed! Thanks so much!
cloo24 said:
Its telling me that fastboot is not a internal or external command. I'm going into the cmd and typing cd filepath then the fastboot instructions. Am I missing something?
Fixed! Thanks so much!
Click to expand...
Click to collapse
Your welcome and so everyone else knows you have to hold ctrl and shift in the folder and then click on open command prompt.
ok i made it simpiler to follow. I decided to do this because the ota is coming and many people want stock back.
Anyone have any issues getting stock recovery back on their nexus? I have ran odin a few times with stock files and I end up with no recovery, just that triangle exclamation thing. I have tried fastboot flashing stock recovery as well as custom ones with no luck. The only thing that has saved me is shabby's one click...for some reason its fastboot flash of recovery works while doing it manually doesn't...but that doesn't put on stock recovery...
Thanks I really needed these instructions.
Sent from my Nexus S 4G using XDA Premium App
raiderep said:
Anyone have any issues getting stock recovery back on their nexus? I have ran odin a few times with stock files and I end up with no recovery, just that triangle exclamation thing. I have tried fastboot flashing stock recovery as well as custom ones with no luck. The only thing that has saved me is shabby's one click...for some reason its fastboot flash of recovery works while doing it manually doesn't...but that doesn't put on stock recovery...
Click to expand...
Click to collapse
When I was on stock (when I first got the phone) I remember not having a recovery at all ( just the triangle) .
Sent from my Nexus S 4G using XDA Premium App
ok i used odin put those files in the right spot but its not doing anything. It says all threads comp succeed 0 failed 0 any ideas
ok will i treid this method and it dosent work i follow the directions just like it says put the tar files in the right spot hit start and nothing happens. it gives me the mess suceed 0 failed 0. put it download more and it just sits there. i do have adb set up for the device
Petes method is better than this method guys. Use fastboot, just copy and paste the commands into the terminal. Much better than this.
mikeyinid said:
Petes method is better than this method guys. Use fastboot, just copy and paste the commands into the terminal. Much better than this.
Click to expand...
Click to collapse
Hey mike would you mind a pm on how to, cause I'm a little lost.
Sent from my Nexus S 4G using XDA Premium App
info[]box1 said:
Hey mike would you mind a pm on how to, cause I'm a little lost.
Sent from my Nexus S 4G using XDA Premium App
Click to expand...
Click to collapse
OK. You obviously have fastboot drivers installed cus your rooted. Download THESE, courtesy of Pete. Extract that zip to a folder on your desktop. Open that folder, hold shift and right click in the folder and choose open command window here. Then run these commands, hitting enter at the end of each line:
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot oem lock
fastboot reboot
That is all, takes like a minute or 2 and your back to stock. I can do it with my eyes closed
Thanks Mike
Sent from my Nexus S 4G using XDA Premium App
windows can not recognize my phone can someone help me !
damnn said:
windows can not recognize my phone can someone help me !
Click to expand...
Click to collapse
can't recognize it at all, or can't recognize it in fasboot mode?
cant recognize it in fast boot mood.. my phone is on like normally and usb debugging is on and when i type in the cmd it doesnt go through it says "adb" is not regnozied as an internal or external command operable program or batch file
gonna try this since ive got a replacement phone on the way, what would happen if it sent the phone back unlocked and rooted anyway?

adb problem

is there any other way to install clockwork other than adb method. her is the thing
i have a nexus s model i9020t- t-mobile i unlock the bootloader been trying for 3 days to install recovery.. using all gamer method whenever i type the fastboot flash recovery recovery.img it say it could not open recovery image... can anyone help i read all over xda about this kind of problem, try every single method.. still can't get recovery.. anyhelp will be apreciate thanks...
fineazbro said:
is there any other way to install clockwork other than adb method. her is the thing
i have a nexus s model i9020t- t-mobile i unlock the bootloader been trying for 3 days to install recovery.. using all gamer method whenever i type the fastboot flash recovery recovery.img it say it could not open recovery image... can anyone help i read all over xda about this kind of problem, try every single method.. still can't get recovery.. anyhelp will be apreciate thanks...
Click to expand...
Click to collapse
I think the answer is very simple:
When you type the command you must type in the full path to the recovery image file. It will depend on where you saved it, but for example when I flash it, I have to type:
Code:
fastboot flash recovery c:\android-sdk\tools\recovery-clockworkmod-3.0.2.4-crespo.img
Just make sure you type all the folder names exactly as they are on your system, and type the full exact name of the recovery file you are flashing.
thanks i finally get it to work

[Q] Fastboot Recovery Issue (SOLVED)

I know this is not a new subject. but i feel i wont get a response in another thread that is pretty outdated. so im trying to flash cwm recovery thru fastboot but i get an error. I've tried typing the directory path c:\android-sdk\platform-tools\recovery.img. i get "cannot load recovery.img". this is what im typing
fastboot flash recovery c:\android-sdk\platform-tools\recovery.img
and i still get the error. I've even tried moving the recovery.img to c:\recovery.img
but no matter where or how i call it. it wont load. please help guys. I had android sdk install before but i had to wipe my pc clean and i just recieved a replacement nexus s 4g.
Have you tried navigating to the folder where recovery.img is located and typing "fastboot flash recovery recovery.img"
Sent from my Nexus S using XDA App
What do mean navigating? Typing the directory path?
Sent from my Nexus S 4G using Tapatalk
I think he means typing this first:
cd c:\android-sdk\platform-tools\
So how would I type this? I don't I am... please elaborate. Thank
Sent from my Nexus S 4G using Tapatalk
What operating system are you using? Windows?
Sent from my Nexus S using XDA App
Place the recovery you need in C:\android-sdk\platform-tools\recovery.img
Open up command prompt and type:
cd \android-sdk\platform-tools
Now, make sure it detects your android:
fastboot devices
You'll see a line with a serial number, you're good to go (remember you need to be in fastboot mode while you do all of this, Vol. Up + Power while off)
Now, just flash the recovery.img (i'd recommend the latest recovery from clockworkmod.com):
fastboot flash recovery recovery.img
Harbb said:
Place the recovery you need in C:\android-sdk\platform-tools\recovery.img
Open up command prompt and type:
cd \android-sdk\platform-tools
Now, make sure it detects your android:
fastboot devices
You'll see a line with a serial number, you're good to go (remember you need to be in fastboot mode while you do all of this, Vol. Up + Power while off)
Now, just flash the recovery.img (i'd recommend the latest recovery from clockworkmod.com):
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
wow. i did everything mentioned. i even redownloaded the recovery image. and i still get cannot load error. i even did it where i renamed it and left it alone the way it was typed
Is your bootloader unlocked? Also, fastboot devices shows a serial number right?
Harbb said:
Is your bootloader unlocked?
Click to expand...
Click to collapse
yup its unlocked.
Have you, by any chance, tried pressing the Tab button to autocomplete the recovery filename?
for example:
fastboot flash recovery rec[TAB] --> autocompletes to recovery.img
I'm running out of ideas here
Harbb said:
Have you, by any chance, tried pressing the Tab button to autocomplete the recovery filename?
for example:
fastboot flash recovery rec[TAB] --> autocompletes to recovery.img
I'm running out of ideas here
Click to expand...
Click to collapse
let me give this a tried
Harbb said:
Have you, by any chance, tried pressing the Tab button to autocomplete the recovery filename?
for example:
fastboot flash recovery rec[TAB] --> autocompletes to recovery.img
I'm running out of ideas here
Click to expand...
Click to collapse
wow this did it for me... i dont understand bc i typed
fastboot flash recovery rec(tab)
fastboot flash recovery recovery.img.img and i hit enter and it flashed. weird. but thanks dude i greatly appreciate it for sticking it out with me.
Wonderful. You probably have "hide file extensions for known file types" checked. So when you downloaded the original, it ACTUALLY had a .img on the end of it already (which windows hid from you). Windows, unlike unix, cannot differentiate files based on their header, but instead relies on a useless extension in the file name of all places (ie, .img, .mp3 and .jpg at the end of the filename).
And noo problem mate, happy to help.
i flashed super user in cwm and it flashed ok. i reboot, go to the app drawer and its not there.... i did this twice.
Techno Droid said:
i flashed super user in cwm and it flashed ok. i reboot, go to the app drawer and its not there.... i did this twice.
Click to expand...
Click to collapse
weird. i downloaded superuser from the their website and flashed. it didnt show. so i downloaded it from the market and tried running an app that requires su permission and it worked. am i missing something here? why did this work that way?
Flash this su.zip file. There was an older su version that automatically accepted any su access because it wasn't compatible with ICS yet.
thanks. it feels good to finally be rooted. i was stock for 2 days.. lol thanks
cannot load recovery.img
Thanks. the TAB autocomplete worked. I had forgotten about the additional file extension. gotta change that setting. Thanks again
Harbb said:
Have you, by any chance, tried pressing the Tab button to autocomplete the recovery filename?
for example:
fastboot flash recovery rec[TAB] --> autocompletes to recovery.img
I'm running out of ideas here
Click to expand...
Click to collapse
wow, thanks man, you made my day, was about to throw the phone from anger. thanks a million man thank you.

[Q] No recovery or rom, stuck in bootloop

I posted this before but it was dead so I'm reposting, sorry. I was in the process of rooting my brothers phone, I turned S-off and flashed updated firmware, however I forgot to flash a recovery. Now the phone is in a bootloop. I tried downloading 4ext recovery file PG58IMG to flash in bootloader. I added his cid number to the file but when I run bootloader it doesn't give me the option to install the file. The other method I was told to try involves using CMD to do it with the flashing tool. But since I can't start the phone, cmd doesn't recognize the device. Can somebody please help me? How can I install recovery on this device?
You could always go into fastboot manually and use the cmd prompt. Fastboot flash recovery **********.IMG I'm almost sure that's the proper command.
Sent from my HTC Sensation 4G using xda app-developers app
Sloopjoshb said:
You could always go into fastboot manually and use the cmd prompt. Fastboot flash recovery **********.IMG I'm almost sure that's the proper command.
Sent from my HTC Sensation 4G using xda app-developers app
Click to expand...
Click to collapse
I tried doing that but nothing happened. cmd prompt said waiting for device but nothing happened. Do I have to have adb set up or what are the steps in order for me to do that?
smockpuv said:
I tried doing that but nothing happened. cmd prompt said waiting for device but nothing happened. Do I have to have adb set up or what are the steps in order for me to do that?
Click to expand...
Click to collapse
Hi,
You need to have THESE DRIVERS on your PC.
ADB is explained HERE
Installing recovery is HERE
Took the words right out of my mouth.
Sent from my HTC Sensation 4G using xda app-developers app
smockpuv said:
I tried doing that but nothing happened. cmd prompt said waiting for device but nothing happened. Do I have to have adb set up or what are the steps in order for me to do that?
Click to expand...
Click to collapse
this means you havent connected the phone properly to pc
the phone should show "fastboot usb" if connected to pc properly ..if it shows hboot and there is an option fastboot in the list . browse to fastboot using volume download ..then select fastboot using power ...then connect the device to pc ( at the end phone should show fastboot usb)
then try the command
fastboot flash recovery recovery.img
(if you got PG58IMG.zip open it and copy the recovery.img to the folder where you got adb/fastboot )
Hi,
Take a look at this thread, it may be able to help you out, plus the tool is simple to use to install the recovery as well. Just follow the instructions.
http://forum.xda-developers.com/showthread.php?t=1668276

Categories

Resources