[Q] Fastboot Recovery Issue (SOLVED) - Nexus S Q&A, Help & Troubleshooting

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.

Related

[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?

ROM Manager having some trouble flashing ClockworkMod

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

trouble going from CWM to smelkus recovery on evo 4g

what is the standard procedure on changing the recovery? i have CWM on it right now. not sure on how to remove that and then install the smelkus one. found a video on yt saying to use terminal emulator to flash it, it "flashed it" but now it just goes to the bootloader menu where you choose fastboot or the other option. still boots into the OS fine tho
douellette said:
what is the standard procedure on changing the recovery? i have CWM on it right now. not sure on how to remove that and then install the smelkus one. found a video on yt saying to use terminal emulator to flash it, it "flashed it" but now it just goes to the bootloader menu where you choose fastboot or the other option. still boots into the OS fine tho
Click to expand...
Click to collapse
Try flashing it via fastboot.
Code:
fastboot erase recovery
fastboot flash recovery recovery.img
Theonew said:
Try flashing it via fastboot.
Code:
fastboot erase recovery
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
how do i do that? terminal emulator? do i type anything else or just that and then reboot into recovery from the desktop?
douellette said:
how do i do that? terminal emulator? do i type anything else or just that and then reboot into recovery from the desktop?
Click to expand...
Click to collapse
No. You run those commands from your PC.
finally got it, opened rom manger and it had the option right in there to flash smelkus. so its all set, thanks!
douellette said:
finally got it, opened rom manger and it had the option right in there to flash smelkus. so its all set, thanks!
Click to expand...
Click to collapse
I guess that's the simpler way .

TWRP (wathever the version) ask a Password

I really don't know why and when, but i've upgrade my TWRP to the new one... and now when i enter in TWRP, they asking for a password... but i've NEVER set a password. I've try to downgrade to few older TWRP, the same password page again.
My bootloader is unlock, i'm on 4.2.1, but how to get rid of this freaking password in TWRP?
You're help is very needed
Rambytes said:
...they asking for a password... but i've NEVER set a password...
Click to expand...
Click to collapse
Mainly it happens when You go to TWRP after flashing it without reboot. Reboot should fix it, if not - reboot tablet after flashing TWRP.
Rambytes said:
I really don't know why and when, but i've upgrade my TWRP to the new one... and now when i enter in TWRP, they asking for a password... but i've NEVER set a password. I've try to downgrade to few older TWRP, the same password page again.
My bootloader is unlock, i'm on 4.2.1, but how to get rid of this freaking password in TWRP?
You're help is very needed
Click to expand...
Click to collapse
Happened to me when I flashed the wrong version of TWRP because I put it in the wrong spot.
cmendonc2 said:
Happened to me when I flashed the wrong version of TWRP because I put it in the wrong spot.
Click to expand...
Click to collapse
Ok and what the solution? Reboot after the flash of TWRP (in fastboot mode) don't solve the problem
Rambytes said:
Ok and what the solution? Reboot after the flash of TWRP (in fastboot mode) don't solve the problem
Click to expand...
Click to collapse
Well what had happened to me was I already had an old version of TWRP on my internal memory and I put the new version on my SD card which I wanted to flash. When I flashed twrp.blob, it flashed a very old version with an incompatible bootloader (whoops) which gave me the password error. So I put the new version on my internal memory, flashed twrp.blob again, and it worked.
cmendonc2 said:
Well what had happened to me was I already had an old version of TWRP on my internal memory and I put the new version on my SD card which I wanted to flash. When I flashed twrp.blob, it flashed a very old version with an incompatible bootloader (whoops) which gave me the password error. So I put the new version on my internal memory, flashed twrp.blob again, and it worked.
Click to expand...
Click to collapse
Ok, I can now booting in TWRP, but why they can't mount nothing????
Rambytes said:
Ok, I can now booting in TWRP, but why they can't mount nothing????
Click to expand...
Click to collapse
mount manually from TWRP settings, just mount what you need.
cmendonc2 said:
mount manually from TWRP settings, just mount what you need.
Click to expand...
Click to collapse
I've do something wrong again.... i'm stuck in the password section...
To trying to reset the password problem, i've flash the older blob i've found on TWRP, the 2.1.4. reboot the tablet, trying to enter in the RCK section, nothing append, like a freeze... so I reboot, flash the newer blob, the 2.6.3.0... reboot... enter in the RCK, and always the password...
i'm going crazy... i'm about to slam the tablet! :silly::crying:
Rambytes said:
I've do something wrong again.... i'm stuck in the password section...
To trying to reset the password problem, i've flash the older blob i've found on TWRP, the 2.1.4. reboot the tablet, trying to enter in the RCK section, nothing append, like a freeze... so I reboot, flash the newer blob, the 2.6.3.0... reboot... enter in the RCK, and always the password...
i'm going crazy... i'm about to slam the tablet! :silly::crying:
Click to expand...
Click to collapse
delete the 2.1.4 trwp from your tablet altogether
The do this exactly from fastboot:
Download the file, check the md5, rename to twrp.blob and put the file in the same directory as your fastboot.exe (unless you have /platform-tools in PATH then you can flash from anywhere). Turn off your device and boot to fastboot (power on while holding volume down, then select the usb icon and hit volume up to confirm). The device will now be in fastboot mode. Plug the device into your computer. Run the following command via the command line:
Code:
fastboot -i 0x0B05 flash recovery twrp.blob
Click to expand...
Click to collapse
So put the 2.6 -42 TWRP in your fastboot folder, then run the command.
cmendonc2 said:
delete the 2.1.4 trwp from your tablet altogether
The do this exactly from fastboot:
So put the 2.6 -42 TWRP in your fastboot folder, then run the command.
Click to expand...
Click to collapse
2.6 -42 ?????
and I don't have the usb icon on the VOL- and POWER menu.... but at this screen, I can do fastboot command....
There is a way that can whe chat togheter live on facebook or wathever? Please don't stop to help me, it's very important... Never have problem with my N7 (2013) but this one TF300t is gouing very bad)
[solve] TWRP (wathever the version) ask a Password
ok, i will try to resart form the beginning.
The driver in windows is installed. When i'm on android, I can copy and see the tablet in the explorer. When i reboot the tablet in bootloader mode, again in windows I see a "android device in bootloader", Fastboot command work when I try fastboot -devices, I see the device.
I'm on 4.2.1 but I need to reflash and wipe all the data to install a better custom rom, I know TWRP because i'm using it on my N7...
It's after that... that going really bad for me and I don't know why.....
Can I try to flash with ClockwokMod instead TWRP? Wathever the recovery, I just want to flash a rom inside the TF300T...
Rambytes said:
ok, i will try to resart form the beginning.
The driver in windows is installed. When i'm on android, I can copy and see the tablet in the explorer. When i reboot the tablet in bootloader mode, again in windows I see a "android device in bootloader", Fastboot command work when I try fastboot -devices, I see the device.
It's after that... that going really bad for me and I don't know why.....
Click to expand...
Click to collapse
OK put the twrp 2.6.3.0 file in the folder platform-tools. Rename it to twrp.blob. Then run the command:
Code:
fastboot -i 0x0B05 flash recovery twrp.blob
cmendonc2 said:
OK put the twrp 2.6.3.0 file in the folder platform-tools. Rename it to twrp.blob. Then run the command:
Code:
fastboot -i 0x0B05 flash recovery twrp.blob
Click to expand...
Click to collapse
Just to be sure, I take the JB version (because i'm on 4.2.1 right)?
OK... I've see my error..... I din't see there is a "special version" of TWRP, the 2.6.3.0 - 4.2......
Ho man... i feel like a big looser!!!!! Ho man very sorry...
Rambytes said:
OK... I've see my error..... I din't see there is a "special version" of TWRP, the 2.6.3.0 - 4.2......
Ho man... i feel like a big looser!!!!! Ho man very sorry...
Click to expand...
Click to collapse
yeah thats what i meant by -42 earlier
did that work?
cmendonc2 said:
yeah thats what i meant by -42 earlier
did that work?
Click to expand...
Click to collapse
yes!!! Working very good! Thanks!
Do you have a good custom rom to suggest? I'm download the CM10.2, but do you have another and/or better one?
Rambytes said:
yes!!! Working very good! Thanks!
Do you have a good custom rom to suggest? I'm download the CM10.2, but do you have another and/or better one?
Click to expand...
Click to collapse
I have a preference towards PAC-man since it combines the features of three of the most popular custom Roms

Problem flashing recovery

Hoping someone can help. I've unlocked bootloader easily, however, im having a problem flashing recovery. Each time i get failed remote error image is not a boot image....it starts to write and then fails. ive tried with cwm and twrp. i am placing the file in my adb folder, and renaming it to recovery.img so really i dont know whats wrong. never had this issue ever before. i checked to see if it was flashed, and nothing was there, showing a dead robot with an exclamation. cannot figure it out!
it goes in the same folder on your computer as where fastboot is located. then fastboot flash recovery recovery.img
I have fastboot, adb and recovery image in the same folder on my desktop.
mgf8384 said:
I have fastboot, adb and recovery image in the same folder on my desktop.
Click to expand...
Click to collapse
the android laying on its back is the stock recovery btw. did you rename the recovery properly? is it still an img file?
mgf8384 said:
Each time i get failed remote error image is not a boot image....
Click to expand...
Click to collapse
Its not a boot image, Its a recovery image. You sure your typing the correct command?
Esit: Just done some googling and someone had the same problem. Was due to a bad download.
Edit 2: ah just read again and you said you tried 2 types of recovery. Scrap my 1st edit then?
Sent from my Nexus 5 using XDA mobile app
mgf8384 said:
Hoping someone can help. I've unlocked bootloader easily, however, im having a problem flashing recovery. Each time i get failed remote error image is not a boot image....it starts to write and then fails. ive tried with cwm and twrp. i am placing the file in my adb folder, and renaming it to recovery.img so really i dont know whats wrong. never had this issue ever before. i checked to see if it was flashed, and nothing was there, showing a dead robot with an exclamation. cannot figure it out!
Click to expand...
Click to collapse
You'll just be doing wrong and no, nothing needs to be in the same folder of you installed it properly. Click the link in my signature to the sticky thread and read my adb and fastboot thread.
Also ensure "hide known file extensions" is turned off in windows.
If you need more help, you should post screenshots of your cmd window.
Sent from my Nexus 5 using Tapatalk
Thank you all. Setting somewhere in my PC I think. When .img.img was typed it worked. ( i tried fastboot flash recovery rec and then hit tab) Checked properties in the recovery zip and it's named just recovery.img so don't understand why it had to be typed twice? If anyone knows please tell me so I can correct it.
mgf8384 said:
Thank you all. Setting somewhere in my PC I think. When .img.img was typed it worked. ( i tried fastboot flash recovery rec and then hit tab) Checked properties in the recovery zip and it's named just recovery.img so don't understand why it had to be typed twice? If anyone knows please tell me so I can correct it.
Click to expand...
Click to collapse
the way it was renamed.
There's no need to rename it....for future flashes.
KJ said:
There's no need to rename it....for future flashes.
Click to expand...
Click to collapse
i rename it to simple 3-4 letter words, for ease of typing
simms22 said:
i rename it to simple 3-4 letter words, for ease of typing
Click to expand...
Click to collapse
Just brought it up, cause in this case...he wouldn't have had an issue if he left it.
But yeah, I do that too. Lol
mgf8384 said:
Thank you all. Setting somewhere in my PC I think. When .img.img was typed it worked. ( i tried fastboot flash recovery rec and then hit tab) Checked properties in the recovery zip and it's named just recovery.img so don't understand why it had to be typed twice? If anyone knows please tell me so I can correct it.
Click to expand...
Click to collapse
Because you had "hide file extensions" on in windows like I said.
File was called whatever.img but you can only was whatever because. .img is hidden. So when you rename it, it only let's you rename whatever (leaving .img hidden and unchanged) so you rename what's visible to recovery.img and results are obvious
(whatever).img > (recovery.img).img
So the quick lesson - turn off "hide known file extensions" in windows. Not just for this reason but for your own security. .exe files with word doc icons etc
Sent from my Nexus 5 using Tapatalk
---------- Post added at 08:42 AM ---------- Previous post was at 08:41 AM ----------
simms22 said:
i rename it to simple 3-4 letter words, for ease of typing
Click to expand...
Click to collapse
Or type first letter or two then press tab
Sent from my Nexus 5 using Tapatalk
Hello everyone.
I had to move back to the factory image because of a bad flash. After resetting, i try to install TWRP or CWM using fastboot. The recovery works the first time its installed, but goes away when I reboot my phone. By goes away i mean I see googles recovery (dead robot) once I reboot the phone and then boot into recovery.
I tried to flash a ROM while TWRP works but once I do, I cant see any of my files on the SD card. This means I cannot flash anything even if I booted in TWRP and this brings me back around to flashing the factory image.
Any help is much appreciated.
siddjazz said:
Hello everyone.
I had to move back to the factory image because of a bad flash. After resetting, i try to install TWRP or CWM using fastboot. The recovery works the first time its installed, but goes away when I reboot my phone. By goes away i mean I see googles recovery (dead robot) once I reboot the phone and then boot into recovery.
I tried to flash a ROM while TWRP works but once I do, I cant see any of my files on the SD card. This means I cannot flash anything even if I booted in TWRP and this brings me back around to flashing the factory image.
Any help is much appreciated.
Click to expand...
Click to collapse
Go to general and read the sticky thread about 5.0 roms and recovery

Categories

Resources