[HOWTO] Restore Nexus s 4g to stock - Nexus S Q&A, Help & Troubleshooting

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?

Related

[Q] Help, bricked phone

I was trying to uninstall CWR from my phone, and in the process, somehow messed everything up. Now my phone won't boot, my computer won't recognize it in USB storage, and I don't know how to flash any files onto it. I'm running Mac OSX Snow Leopard. Any advice?
Lol this is the 3rd person that asked the same question ;D
1. Reboot into your bootloader
2. Download another clockwork mod img and CD into that directory on terminal
3. Fastboot erase recovery
4. Fastboot flash recovery ____.img
____ = name of img file
And that should let u boot into recovery and restore a nandroid!
;D
Sent from my Nexus S using XDA App
Mononoko said:
I was trying to uninstall CWR from my phone, and in the process, somehow messed everything up. Now my phone won't boot, my computer won't recognize it in USB storage, and I don't know how to flash any files onto it. I'm running Mac OSX Snow Leopard. Any advice?
Click to expand...
Click to collapse
What was the last thing you did?
Can you get into fastboot?
mathkid95 said:
Lol this is the 3rd person that asked the same question ;D
1. Reboot into your bootloader
2. Download another clockwork mod img and CD into that directory on terminal
3. Fastboot erase recovery
4. Fastboot flash recovery ____.img
____ = name of img file
And that should let u boot into recovery and restore a nandroid!
;D
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Can you elaborate on steps 3 and 4? How do I fastboot erase recovery? Thanks for the quick reply though
Do you have a fastboot binary installed for mac os x? You should be able to google it and obtain one if you dont.
Just download the binary and the fastboot command should work in your terminal.
mathkid95 said:
Do you have a fastboot binary installed for mac os x? You should be able to google it and obtain one if you dont.
Just download the binary and the fastboot command should work in your terminal.
Click to expand...
Click to collapse
You're a saint. In the process of fixing, but it mounts now. Thanks very much!
No problem! Let me know if everything works with your recovery img!
Sent from my Nexus S using XDA App

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

[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

[Solved] wont boot after chainfire3d in JB. Fastboot- showing error

I tried installing chainfire3d driver in jellybean( i didnt know then that it is not for JB). Now my nexus wont boot into os. it just stays at the unlocked bootloader logo.
1. I can get into recovery mode
2. I have wiped out the cache and factory reset
3. I dont have a update file in my phone.since nexus dont have an external sd card i cant put any file in it directly.
4. I have tried fastboot -it shows my serial ID and i am able to reboot my phone using it but whenever i try to flash recovery.img or update update.zip it shows "cannot load recovery.img" or "cannot update update.zip"
5. I have tried ADB - on using adb shell it shows "error:device not found"
6. on using Odin (not sure whether it is compatible with Nexus s) it detects my phone. when i tried to flash the stock fireware it fails and my device shows "verify image (radio) fail"
Plz help.Is my phone bricked???????
Ok I don't want to be insulting, but you really REALLY need to read on the whole process of Nexus S rooting and using it.
You don't have to use ODIN at all for something so simple. You simply need to reflash a ROM/your ROM.
Mount your SD from within Clockworkmod recovery and transfer a ROM. Then flash it. Done.
What polo says go to recovery- mount and formay- all the way down "mount sd card". Now your phone will be like a usb drive
Sent from my Nexus S
polobunny said:
Ok I don't want to be insulting, but you really REALLY need to read on the whole process of Nexus S rooting and using it.
You don't have to use ODIN at all for something so simple. You simply need to reflash a ROM/your ROM.
Mount your SD from within Clockworkmod recovery and transfer a ROM. Then flash it. Done.
Click to expand...
Click to collapse
thank u for the suggestion. I just have the stock recovery right now. I tried installing clockwork recovery through fastboot but as i mentioned in my first post i get "error:cannot load recovery.img" .Is there any other way of installing a clockwork recovery?
kwibis said:
What polo says go to recovery- mount and formay- all the way down "mount sd card". Now your phone will be like a usb drive
Sent from my Nexus S
Click to expand...
Click to collapse
thank u for the suggestion. I just have the stock recovery right now. I tried installing clockwork recovery through fastboot but as i mentioned in my first post i get "error:cannot load recovery.img" .Is there any other way of installing a clockwork recovery?
amvignesh said:
thank u for the suggestion. I just have the stock recovery right now. I tried installing clockwork recovery through fastboot but as i mentioned in my first post i get "error:cannot load recovery.img" .Is there any other way of installing a clockwork recovery?
Click to expand...
Click to collapse
is your boot loader unlocked??? (command: fastboot oem unlock)
then in the folder that is your fasboot exe, there is the recovery too?
http://nexusshacks.com/nexus-s-hacks/how-to-root-nexus-s-or-nexus-s-4g-new/
Cascabreu said:
is your boot loader unlocked??? (command: fastboot oem unlock)
then in the folder that is your fasboot exe, there is the recovery too?
Click to expand...
Click to collapse
yes it is unlocked(using the command in fastboot also shows already unlocked) and yes the recovery image is in the same folder as that of fastboot.
amvignesh said:
yes it is unlocked(using the command in fastboot also shows already unlocked) and yes the recovery image is in the same folder as that of fastboot.
Click to expand...
Click to collapse
Instead of writting fastboo flash recovery (file name)
Do this fastboot flash recovery (drag and drop file)
Cascabreu said:
Instead of writting fastboo flash recovery (file name)
Do this fastboot flash recovery (drag and drop file)
Click to expand...
Click to collapse
Thanks a lot Cascabreu.it worked . i never knew one could drag and drop files in command prompt(wonder y it didnt work otherwise, I had specified the path correctly).Thanks again..will change the thread topic accordingly....
Yes!!!!! Finally i helped someone!!!!! Hit the thanks button please.
sent from my Nyan NeXus S
I just lolled xD
Sent from my Nexus S
kwibis said:
I just lolled xD
Sent from my Nexus S
Click to expand...
Click to collapse
helppp..im also facing the same prob...i dun know how to run adb shell and those stufff after that...:crying:
C4SCA said:
Yes!!!!! Finally i helped someone!!!!! Hit the thanks button please.
sent from my Nyan NeXus S
Click to expand...
Click to collapse
Good job.. I wouldn't have thought of that...
Sent from my Nexus S using XDA Premium 4 mobile app
C4SCA said:
Yes!!!!! Finally i helped someone!!!!! Hit the thanks button please.
sent from my Nyan NeXus S
Click to expand...
Click to collapse
hi there i also need help with almost the same problem, im using alcatel one touch pop c1, i have rooted it a while ago and the decide to install chainfire 3d i didnt know it doesnt work on jelly bean and now my phone cant boot, i tried doing factory reset but nothing happens it just shows the logo and plays that start up sound but can go past that, i have no back up or anything, and please try to explain in a best possible way im not so good when it comes to computers thanks in advance
tlangey said:
hi there i also need help with almost the same problem, im using alcatel one touch pop c1, i have rooted it a while ago and the decide to install chainfire 3d i didnt know it doesnt work on jelly bean and now my phone cant boot, i tried doing factory reset but nothing happens it just shows the logo and plays that start up sound but can go past that, i have no back up or anything, and please try to explain in a best possible way im not so good when it comes to computers thanks in advance
Click to expand...
Click to collapse
either u can find onlien a way to flash back to stock.
or ur best bet is to go to the store and say u got an update but it failed and that now its not turning on. Warranty will cover that

Categories

Resources