yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] nxt:
My main issue is:
[Nexus S Android Development] momohammed20:
Try redownloading, then try flashing again.
[Nexus S Android Development] willyalmanzar:
can you make a step by step, i know this is as simple as it gets to the ones that are not a rookie like me lol. so please make a guide or a vidoe. i beg of you
[Nexus S Android Development] momohammed20:
i added some instructions, hopefully that should help
[Nexus S Android Development] unremarked:
You may want to add to those instructions a warning that people should make sure the file is named exactly "2010-12-22.21.06.07" (might want to add a note to remove the quotes, too) and not to rename it otherwise they'll end up with an MD5 mismatch error.
[Nexus S Android Development] nxt:
I renamed mine just fine to "StockGRH78ROM" and it worked just fine. I think the Folder name can be anything, just the files within, if changed will get MD5 error, since the MD5 files are within the folder.
[Nexus S Android Development] unremarked:
Hm, fair enough. I just know from personal experience I renamed a backup folder once via Windows and bam MD5 mismatches. Did you do yours through Rom Manager? I think that might make the different. Rom Manager might give it a new MD5 to match the new name.
[Nexus S Android Development] nxt:
Nope did, not, I downloaded it to my PC, renamed it, then copied it to my "internal" sd.
[Nexus S Android Development] willyalmanzar:
Thank you for your reply. i have a problem when im in number 4 on your instruction i put adb reboot recovery. it shows me a triangle with the little android icon. I think this is due to the update from rom manager that google had so i update it using rom manager app. what should i do next?
[Nexus S Android Development] momohammed20:
It sounds like you are on the stock recovery, you will need to download clockwork recovery manager, then go into bootloader mode "adb reboot bootloader" then

fastboot flash recovery "name_of_recovery.img"

without the quotes of course

this will flash clockwork recovery manager. After that, just select recovery, and it will take you into clockwork recovery manager, then you can use this nandroid backup.
[Nexus S Android Development] willyalmanzar:
when i put adb reboot bootloader the command prompt saids is not recognized as internal or external command, operable program or batch file.

Damn this is not easy for me lol.
[Nexus S Android Development] defysword:
where should I create the folders "clockworkmod/backup/"? what's the phones internal storage? could you elaborate? thanks much.
[Nexus S Android Development] jblade1000:
after flashing this nandroid backup, it is updated and i did re-root with no problem, but like others I'm missing apps that were on my phone before the backup including paid ones (Root Manager, Uno from Gameloft) and free ones (Android System Info, tv.com, .Podkast). Im still going through my list. Also, in general, it is the old market (or maybe old, old). Any help?
[Nexus S Android Development] momohammed20:
That probably means advanced might not be setup properly, also make sure in the phone debugging mode is turned on.
[Nexus S Android Development] momohammed20:
You have to put your phone in mass storage mode, to see the onboard sdcard. That is where you will transfer the folders
[Nexus S Android Development] sym1:
Download link not working

I tried to download this last night, it started, but only got about 2/3 of the way through, then I got a download error. Today when I try it doesn't even start. Is there a problem with mediafire? :(
[Nexus S Android Development] kouami:
Hi All,

I followed the steps highlighted in this thread but I keep getting the triangle and the exclamation mark inside it. Any help will be very much appreciated. I own a nexus s that I recently rooted but I can't get the OTA 2.3.1 from google so I thought these steps could have worked for me but that is not the case.

Thanks
[Nexus S Android Development] rashad1:
Will this allow me to have OTA updates, and keep my phone rooted?
[Nexus S Android Development] kouami:
I got it figured out. I had to download ROM manager to get things going.

As an FYI, you might want to use Appbrain to backup all your apps before proceeding with this hack.
[Nexus S Android Development] momohammed20:
this is meant, so that you can go back to stock. if you want it to be 100% stock, then the only thing left to do would be to lock the bootloader back up

"fastboot oem lock" from bootloader mode.
[Nexus S Android Development] hollywood_jack:
I did not understand ... before you said after you reboot you will no longer have clockwork mod, now you said that the recovery manager stay intact, I'm really confused :confused:
[Nexus S Android Development] sym1:
Is there a mirror or another hosting site? I can't download from the link. :confused:
[Nexus S Android Development] bsbtauldl1:
guys, I have all the files in order. My problem is that when I go to restore it, either in recovery or rom manager, I get a boot error.

Do I have the wrong boot image? If so, which one do I need to get?

If not, then what should I do from here? I have already re-downloaded the backup so I know its not a corrupt file or anything.

any other ideas?

thanks yall
[Nexus S Android Development] rashad1:
I used this backup to upgrade my firmware, now I have the stock recovery, and I re-rooted my phone. So will I be able to download future OTA updates while keeping my phone rooted?
[Nexus S Android Development] momohammed20:
as long as you keep the stock recovery, you should be able to get OTA updates, but if you install clockwork recovery, or any other custom recovery, then OTA updates will fail
[Nexus S Android Development] heinrich:
IT WORKS!!!!!!!!!!!!!!

Momohammed20, YOU are a king among men, my friend. Blessings and best wishes to you and your family, you've saved me a trip to return my phone as after a lot of thrashing and trouble and failing to enable wifi after root, your rom returned full functionality to my Nexus S.

If you're ever in Seattle, I will personally buy you a coffee / beer / whatever

CHEERS!!!!

Heinrich
[Nexus S Android Development] coco135:
Why do i still have the superuser icon after following your instruction?

PS- i am not rooted, but i was before.
[Nexus S Android Development] nexusdude:
Sorry momohammed20, something is wrong with your boot.img ... when trying to restore, it says "Error writing boot image".

I then tried to flash the boot.img manually using "fastboot flash boot boot.img" but I am getting

C:\Nexus S\clockworkmod\backup\2010-12-22.21.06.07>fastboot flash boot boot.img

sending 'boot' (8192 KB)... OKAY [ 1.462s]

writing 'boot'... FAILED (remote: Write Fail)

I don't know if this is to be expected, can Nandroid backups be restored in such a manual fashion normally?

I am trying this, restoring the stock image, because rooting the phone broke wifi and camera.

However after the failed restore attempt I was apparently left with not boot image whatsoever as the phone booted right into fastboot on power up. So I reflashed the rootboot.img posted in another thread, better no wifi/camera than no phone at all.
[Nexus S Android Development] Dr.Remote:
Ty!

Thanks, your NANDROID BACKUP saved me.

I played with my system and wiped out everything and then I though my phone is ruined but then, you brought this and saved me :-)

Thanks again :-)
[Nexus S Android Development] momohammed20:
Try wiping from recovery manager, then run restore via recovery manager, hope that works.
[Nexus S Android Development] momohammed20:
Glad it helped! Enjoy
[Nexus S Android Development] momohammed20:
Good to hear :) thanks
[Nexus S Android Development] chrisharmful:
When you flash this, does your Android ID change or stay the same?
[Nexus S Android Development] xpgroup:
Can anybody please send me the stock nexus s modem? Many thanks!!
[Nexus S Android Development] atmasphere:
I'm having the missing files in market issue as well ... would love a fix. Can't find NYTimes or PayPal and actually can't install them either from outside Market. Just tried to barcode NYT in from DoubleTwist and it was rejected on the phone.

otherwise this image saved me tonight ... got my S back in order.
[Nexus S Android Development] atmasphere:
quick thought on the lack of apps working from Market ... Seems it's because they are protected and for some reason not available as a result. Has anyone tried switching out of root to install and then coming back?
[Nexus S Android Development] burnfire:
This is a life saver...I tried several baked roms but forgot to back up my stock and had no idea on how to get back to stock...downloaded on SNS and restored flawlessly...

Kudos my friend.
[Nexus S Android Development] wesbalmer:
Download is failing for me, can someone reupload?
[Nexus S Android Development] wesbalmer:
Seems that media fire is failing-------- damn I really want to go return my defective device before I go to work today... Come on guys, someone can upload
[Nexus S Android Development] omar302:
Thanks Mohammed, worked very well & I got back to stock.
[Nexus S Android Development] z3nz0:
not working for me. boot.img always fails via recovery. system.img is fine. what's the problem?
[Nexus S Android Development] leidenhag:
Any ideas on how to get stock recovery back? Seems that I lost it along the way and this Nandroid didn't bring it back.

I have tried locking and unlocking the bootloader again, I have wiped the phone through Clockwork and i'm currently out of ideas.

Edit: Never mind, I managed to get into stock recovery 3e. I just hade to hold volume up + power for 10-15 seconds.

Another question, it seems like it's not possible to make a nandroid within stock recovery?
[Nexus S Android Development] dragon546:
NS 3e REcovery never had backup option. Just reboot, factory/wipe and cache wipe.
[Nexus S Android Development] leidenhag:
Thanks a lot for clearing that up.
[Nexus S Android Development] brownmonkey:
Thanks for this guide momohammed20. Everything worked fine. The only issue I am having now is that before I flash Clockwork recovery, I need to change the name of /etc/install-recover.sh but when i try doing it using a file manager (like astro) it says “insufficient permissions!”

Is there any way i can get around this? As an aside, is it possible to run applications as root, even if the applications themselves don’t normally need to be run as root?
[Nexus S Android Development] momohammed20:
You will probably need to use root explorer, that will let u set r/w permissions, and of course you need root for that to work.
[Nexus S Android Development] brownmonkey:
Ahh ok.. thanks. Will give it a go and see if it works. :)
[Nexus S Android Development] chabsie:
Random Reboots

Phone randomly reboots every couple days or so now that I'm on this ROM. Never happened prior when I was on stock 2.3. Anyone else having this issue?
[Nexus S Android Development] mmanjj:
Thanks so much! This really saved my arse. Didn't backup my original stock either and flashed this with no probs. Now on to root again!
[Nexus S Android Development] brownmonkey:
do i set the r/w permissions via the command "mount -o rw remount /etc" or "mount -o rw remount /system"?

Also, what is the difference between /etc and /system/etc? they both seem to have the same files...is it just a symbolic link between the two?

once I have the r/w permissions, then i should be able to change the name without having to use chmod to change the permissions of the specific install-recovery.sh file right?

Thanks in advance
[Nexus S Android Development] TheUnlockr:
Thanks for the Nandroid backup, worked like a charm!

I did a quick video how to to get the phone completely back to stock using your Nandroid backup here -

http://theunlockr.com/2011/01/20/how-to-unroot-the-nexus-s/

Hope this helps some people out!

Feel free to link to it in the first post if you think it's useful.
[Nexus S Android Development] momohammed20:
i think you just need to remount /etc then rename the file, then you should be set. no need to chmod.
[Nexus S Android Development] momohammed20:
thanks for this, I added the link to original post, this should help some people.
[Nexus S Android Development] brownmonkey:
Thanks for the replies to my questions. Everything has worked perfectly, but I have some more questions.

Background:

So I flashed the stock 2.3.1, rooted, renamed the install-recovery.sh file to install-recovery.sh.old and flashed clockwork recovery....and then OTA 2.3.2 became available and now I need to flash back to stock recovery to apply the update (i will have to reroot but currently if I try and apply the update it gets stuck on the screen with the robot and the exclamation mark).

So i renamed the install-recovery.sh.old file back to install-recovery.sh but when I reboot, clockwork recovery is still flashed. Does anyone know of a way to flash back the stock recovery?

Thanks,
[Nexus S Android Development] chris6278:
Just flash the latest cm7 nightly its 2.3.2
[Nexus S Android Development] antz88c:
Just curious and stupid question, if I root and restore using this nandroid backup, Nexus S will be restored to 2.3.1?
[Nexus S Android Development] brownmonkey:
If i do this, I will have the cyanogenmod 7 mod flashed right?...but I dont want to flash that as it will wipe everything. (if i do flash cm7 to just get the stock recovery...thats effectively the same as me flashing stock 2.3.1 and just doing the OTA update to 2.3.2 right?) Is there anywhere I can just flash the stock recovery? Does anyone have an image for the stock recovery?

Sorry if these are stupid questions...im still learning all about android etc.

I have backed up my mod via cm recovery and apps etc via titanium backup but I was hoping i could do it without having to resort to starting from scratch again...

Thanks,
[Nexus S Android Development] brownmonkey:
actually sorry, i think im being very stupid.

Can someone tell me if the following would work to flash the stock recovery:

1) Take the recovery.img from the zip file provided in this thread.

2) Place recovery.img in root of sdcard

3) use command "fastboot flash recovery recovery.img"

Thanks
[Nexus S Android Development] brownmonkey:
I tried the above, but when i take the recovery.img from the stock GRH78 zip file and try flashing it, it comes up with the following error:

sending 'recovery' (8192 KB)... OKAY

writing 'recovery'... FAILED (remote: Write Fail)

However, if i try flashing the cm 3.0.0.5 recovery image, then i get no errors and it flashes perfectly without any write errors.

Does anyone know why I cant write the stock recovery.img and how i can fix it?

Thanks,

EDIT: Got it all working. Managed to apply the OTA update via CM (even thought it didnt work the first time).
[Nexus S Android Development] robstunner:
NVM, that video tutorial was perfect!
[Nexus S Android Development] nitsuajd:
Is there any way to get a nandroid of 2.3 version?

I have a theory that the problem of reboots started when version 2.3.1 was released and the 2.3 was not affected (One week in 2.3 without reboots, the first day after update to 2.3.2 I have two)
[Nexus S Android Development] stiefa00:
ok.. i'm ten years older now.

i tried and tried. but i could'nt flash my recovery by using fastboot

fastboot flash recovery recovery.img

--> writing 'recovery' ... FAILED ...(remote: write fail)

i tried:

fastboot erase recovery

and then again:

fastboot flash recovery recovery.img

no luck

after further google using...

i booted my rom for normal and started a terminal emulator, copied the recovery.img at root on the sdard and the flash it by using:

su

flash_image recovery recovery.img

according to:

http://forum.cyanogenmod.com/topic/14527-fastboot-flash-recovery-failed/
[Nexus S Android Development] Darrien13:
why has google not released the stock images yet?! :mad:
[Nexus S Android Development] Buddha:
nice rom.

thanks :)
[Nexus S Android Development] stiefa00:
Hey, first of all thanks for this nice guide.

It worked but after stock again and locked bootloader I can't boot into recovery. NS shows me orange exclamation mark sourroundey by a white triangle. Is this behavior normal?
[Nexus S Android Development] burnfire:
Yes. Press power and volume up simultaneously. That's the stock recovery.

*Death to IPHONE!!!!... Maybe not yet... Lets torture them first*
[Nexus S Android Development] stiefa00:
NS is powered off. Then I press volume up and power. The exclamation mark is coming after selecting recovery. Normally there is the menu for backup/recovery and so on, but I get these exclamation mark after seeing the google logo for 2-3 secs. After the exclamation mark arrived I have to put the battery out to get NS back working.

Yeah I don't like apple, too. But that's kinda off topic? ;)
[Nexus S Android Development] tosh1:
Anyone have the Nandroid backup of the newest update last week? I would like to go back to stock or where I could find it as well. Thanks.
[Nexus S Android Development] fabio008:
That's because everytime you reboot it brings back the stock recovery. You need to flash Clockwork again if you want its recovery functionalities.
[Nexus S Android Development] stiefa00:
Thank you fabio! I got this before you posted.. a nice user helped me by PM.

But thanks for answering, too!

stiefa00 (Fabian :D)
[Nexus S Android Development] gadjet:
Awesome...

Many, many thanks momohammed20....:)

Works a treat, then pulled in the 2.3.2 update straight after, I then re locked bootloader to complete!

Nice to have a get out of jail card in case needed.

Needless to say I am rooted again, and on Cyanogen's nightly builds and am re asured that I can restore stock in case of emergency (I diden't do a nandroid backup myself).

Live long and prosper...:)
[Nexus S Android Development] murdoch1:
Error

Hi. Is the link down as download not commencing??????? Cheers Andy
[Nexus S Android Development] mtw4991:
If you change the name of the recovery script from install-recovery.sh to something else, like old-install-recovery.old, only CWM will show when you boot into recovery and you won't have to install CWM every time you need it. ;)
[Nexus S Android Development] CB620:
Do we have to reflash clockwork everytime we want to backup or restore? That is a pain. Its not permanent for the nexus s or something?
[Nexus S Android Development] Mujja:
The answer to your question is in the post above yours :rolleyes:
[Nexus S Android Development] CB620:
How do I change the name of the script?
[Nexus S Android Development] deeren:
You can use root explorer to do it. Just scroll ro the etc directory, mount as r/w and then rename the file. After that remount that as r/o

You're done!!
[Nexus S Android Development] Bajo76:
Is there a mirror for the nandroid backup, trying 2 days already to download it from mediafirem. Sometimes it starts and suddenly stopps and now it wont even start downloading.

edit: ok, found it
[Nexus S Android Development] fifoo:
Remote: write fail

sending 'boot' (129906 KB)... OKAY

writing 'boot'... FAILED (remote: Write Fail)

if I use the clockwork to restore it fails to flash boot!

I can flash boot.img from here its a success but keeps me on boot loop.

Can anyone help plzzzz ? need to go stock badly
[Nexus S Android Development] robstunner:
Tried this twice so far, and both times i have no recovery at all. Just the exclamation point screen :(
[Nexus S Android Development] leonlmf:
that's the recovery i had try after restore can upgrade to 2.3.2 work fine but just cant get in recovery maybe need to unlock. correct me if i am wrong
[Nexus S Android Development] robstunner:
IM not sure what your trying to ask.
[Nexus S Android Development] mylexon20s:
Hit the power button and THEN the volume up key and it should take you into recovery
[Nexus S Android Development] stiefa00:
I think this is the stock recovery. I used it while updation to 2.3.3 manually.

How to manually update your Nexus S to Android 2.3.3 http://bit.ly/gaNXg8
[Nexus S Android Development] sloppy1:
life saver many thanks
[Nexus S Android Development] aref9200:
How can I move the nandroid files to memory card via fastboot?My phone is rooted and I have clockwork recovery too but I cant install rom with recovery I did SDEXT Partion after that the phone damaged and I need to moving these files to my sd but I

cant.
[Nexus S Android Development] wainwda:
I have an unrooted Nexus S - which until a few hours ago was running 2.3.4.

I want to root the phone.

I have unlocked the bootloader.

I attempted a superboot with ./install-superboot-mac.sh but I did it from GRJ22 instead of GRH78C and got the following:

ERROR: could not get pipe properties

sending 'boot' (3072 KB)... OKAY

writing 'boot'... OKAY

ERROR: could not get pipe properties

rebooting...

The phone is now stuck on the Google logo.

I can do a battery-pull to get back to fastboot mode, but I'm not sure if USB debugging is on anymore. (Is there any way to check this without booting? 'STANDARD_SET_CONFIGURATION'?)

Is there a way of restoring to the stock version of GRH78 (thanks momohammed20) without a custom recovery console?

Thanks.
[Nexus S Android Development] Heeter:
Hi all,

By doing this, will it restore the radio version too?

Will this work on a Canadian Rogers version?

Thanks

Heeter
[Nexus S Android Development] aNdroidnut:
edit for problem still at large
[Nexus S Android Development] aNdroidnut:
I am still trying to figure out how i9020a devices can be returned to stock using this method? It is under my impression that the radio from this is wrong as I am stuck in airplane mode. I am currently on this nand backup with stock recovery and cannot flash the update over wifi or manual update.zip due to esig failure
[Nexus S Android Development] ahqball:
Is this method ok to apply to i9020a?

Will the phone automatically update to 2.3.4 after running this update to 2.3.1?
[Nexus S Android Development] enryea123:
omg you are the best man!!
[Nexus S Android Development] rrohanjs:
any nandroid backup for i9023 2.3.4 ? or 2.3.6 ?
[Galaxy S I9000 General] android53:
The music player 'Disc View' is quite good, similar to coverflow for the iphone. Although it would be much more useful if it automatically switched to it when going from portrait to landscape mode.

Would it be possible to hack that into the apk?
[Galaxy S I9000 General] KerberoZ:
I remember that the music player in official 2.1 Eclair had that feature.

Maybe someone could just copy the apk out of Eclair.
[Fascinate General] muad-dib:
So, I can no longer even get to the download screen on my Fascinate.

It won't connect to Odin, or even (long shot, I know) to Kies. I've tried the "remove sd, sim and battery, plug in, hold volume buttons and reinsert battery" technique. All that happens is I get a little "device not connected to PC" icon (there is no text, just a pic of a device, an error triangle, and a PC).

When I try to connect to the PC without powering on (to charge the battery), the loading spinner comes up and the device freezes.

Any ideas? I think I might be screwed, here...
[Fascinate General] scriz:
Phone should still be under warranty, as long as you're the original owner on the original account. Take that ***** back.
[Fascinate General] soba49:
It would be useful to know exactly what action you think killed it.

The error you describe sounds exactly like you tried to boot after an incomplete or incorrect Odin.

Actually killing download mode for real is extremely rare, so it would be helpful to know how you did it.

Battery is totally optional for download mode.

1. Pull battery (to be sure phone is off). Leave the sd card alone.

2. Plug into pc, while holding down vol - (do not let go ever unless you see a yellow triangle)

3. If nothing happens, press power until you see any screen activity.

Just posting in case it is helpful, chances are download mode got your device to where it is now.

Swyped w/ XDA App. When in doubt, mumble.
[Fascinate General] muad-dib:
Original owner on original account, but rooted the phone and failed flashing the firmware (connection got interrupted mid-flash). Think warranty will still cover it? I'm with Telus in Canada.