yashsingh1/xdaforums huggingface dataset:
[Nexus S General] AllGamer:
just copy all the content from platform-tools to tools or vice versa

that was mentioned in the original instructions on message #2 http://xdaforums.com/showpost.php?p=10238348&postcount=2
[Nexus S General] tonyt3rry:
I found a post while searching I now have the bootloader unlocked but problem is the recovery file wont download its a dead link
[Nexus S General] AllGamer:
if you read again the message # 2

you'll see there was a mirror there ....:rolleyes:
[Nexus S General] afilopou:
http://www.mediafire.com/?6voh3wiu42b0egj

md5:

faaa2850f053daa3355bcfe9724fe8e3
[Nexus S General] tonyt3rry:
ive done most of the steps im just having trouble flashing recovery I downloaded the superuser but didnt install it put it on my root sd card F but when I go to recovery its giving me a google logo with unlocked but doesnt do nothing else
[Nexus S General] AllGamer:
i'll suggest you to go back to page 1 and review the commands for the fastboot recovery.

and follow all the instruction to flash the recovery image to the phone

the mirror is on the 2nd message

even if you do not flash the recovery image, the phone should be able to boot back into the OS
[Nexus S General] tonyt3rry:
its booting fine just not into recovery
[Nexus S General] tonyt3rry:
all rooted now thanks for the guide took a good few trys but its all done now. can anyone tell me how I go by installing stuff like voodoo colours and sound maybe miui
[Nexus S General] AllGamer:
usually you download the zip file, you boot into CWR, then in CWR you select install from zip file
[Nexus S General] tonyt3rry:
Thank you. Does the same apply for doing a nandroid backup
[Nexus S General] AllGamer:
you'll select the Restrore backup option in CWR
[Nexus S General] Goat_For_Sale:
Error booting into clockwork

Hey,

I successfully added SU, unlocked the bootloader and applied CWM. My problem now is that I cannot boot into CWM,

after i initially flashed CWM i was able to boot into it. i was just confirming it was there and i rebooted my phone and went one with my newly "free'd" SNS i a little while later i did a power down and rebooted into bootloader then pressed recovery. It waited for a few seconds showing the android out of the box icon then displayed the exclamation point triangle. I was able to open the stock recovery with button presses and reboot the phone.

I decided to reflash CWM via ADB/Fastboot which worked and i was again able to boot into CWM.

HOWEVER

after the initial boot into CWM i am unable to get back into it. i will load into the exclamation point triangle screen and need to use stock recovery or pull battery to reboot my phone.

I also tried installed CWM via rom manager and the same thing happened after initial load into CWM i was unable to re-access it.

Any ideas on what went/is wrong and how to fix it ?

thanks,
[Nexus S General] afilopou:
" It's normal to lose the recovery after the reboot, the steps to flash the CW recovery needs to be repeated every time you want to access the CW recovery.

This is due the build in protection in 2.3

As some one pointed it out on another topic, the good thing about this is that you'll never lose the stock recovery of 2.3, thus minimizing the chance of a bricked phone.

If you want to the CW recovery to remain permanently, you'll need to rename /etc/install-recovery.sh to something thing else"

This is what Allgamer wrote on his second post.Just rename the install-recovery.sh to install-recovery.sh.bak
[Nexus S General] Goat_For_Sale:
Hey,

Thanks alot for pointing that out and my bad for not reading the rest of OP's post. I have come over from my desire and i just assumed it would work the same.
[Nexus S General] Goat_For_Sale:
I just want to confirm, adding .bak to install-recovery.sh will allow my to boot into CWM instead of stock recovery?

will i need to reflash CWM ?

if i removed the .bak at a later time will i be able to return to the stock recovery.
[Nexus S General] tonyt3rry:
I think I might have mistakenly got rid of my stock recovery is there any way to check where it is, I wish I wasnt so new to the scene.

.
[Nexus S General] AllGamer:
you'll get your stock recovery back as soon as you restore any of the listed nandroid backups of stock 2.3.x
[Nexus S General] tonyt3rry:
cool I think I might of acidetly restored my nandroid backup because my recovery doesnt show the clockwork no more I dont think..
[Nexus S General] AllGamer:
you can always flash the CWR back
[Nexus S General] ykphuah:
Thanks, I read the steps again and again, but also can't, finally did it with the pdanet drivers as mentioned here:

http://techie-buzz.com/mobile-news/complete-guide-to-rooting-nexus-s.html

Though my laptop is running windows 7 32 bit, I needed the x86 drivers from the pdanet.
[Nexus S General] matxdaku:
I'm having some trouble with this whole thing. I get to the point where I am suppose to install the driver, but the choice of Android Bootloader is not a choice, I only get Android ADB interface. I install that one, but cannot do fastboot unlock and abd devices lists no serials. I have tried installing the PDAnet drivers, sitll no go. Any solutions?

If it just go along with the steps and try to do fastboot oem unlock, it just waits to find the device.
[Nexus S General] mazodude:
Have you got it in fastboot mode?

That is the only way you will be able to install the drivers
[Nexus S General] matxdaku:
My phone does say fastboot mode at the top. It seems that adb devices finds the phone when it is booted normally, but not in bootloader mode. I think where I am supposed to get three choices for which driver to install, I only get the ADB interface one and NOT the bootloader one.
[Nexus S General] mazodude:
to find the phone in fastboot use the command

fastboot devices
[Nexus S General] matxdaku:
So I was finally able to reinstall the driver by just deleting everything and starting over. I am now stuck at the recovery portion. I do the clockwork flash recovery, but how do I get to the root of the internal SD? is that just the drive letter? I put it in there and then tried recovery, but I get to a screen with an exclamation point and the android bot. I tried doing the fastboot flash recovery three times, redownloading the image each time.
[Nexus S General] mazodude:
/sdcard

is the command
[Nexus S General] matxdaku:
Thanks for the reply. I got Super user installed, but still can't seem to get clock work recovery installed. I downloaded Rom manager to install it; however when I run rom manager it says that my SD card is not mounted. As I understand I just connect my usb and turn on USB storage. Is this correct or is there something else I need to do? It does show up as a drive letter in My computer.

EDIT: Figured it out. Mounting the SD card actually means to disconnect it from the computer. Go figure. Thanks so much for the help.
[Nexus S General] h46it:
Well i've gone thru the instructions and followed instructions (thanks for the walk thru), but seem like when i try adfree says i do not have root? Am i missing something? I'll keep trying thru the day if i can figure it out.
[Nexus S General] AllGamer:
i'm using adfree, you have to select

"Use BTC IP"

the other options will thrown you an java error

However, if that is not the error you are getting, then you might very well be, that the SuperUser did not get installed properly

download superuser from the link or from market and install it again
[Nexus S General] AllGamer:
the Android SDK drivers, comes with both the 32 and 64 bits

you have to manually select it

windows doesn't detect it automatically, that was covered in part 1 of the guide
[Nexus S General] h46it:
I just tried again and no luck. Says "unable to get root". Mmm...I just triple check my steps and it's correct. I'm stumped at the moment. Maybe after lunch will help me get root! :P
[Nexus S General] h46it:
Still having problems...do you think not having usb debugging during the process would cause not having root? I didn't switch it when i did the oem unlock. I was looking around, would i have to re-name this /etc/install-recovery.sh? Would this help? There was no clear answer to this re-naming.
[Nexus S General] Silrocco:
Okay, I don't know what is going on, I had root running with CM7-A2 which was running great until I flashed boot CM7.img and broke my Bluetooth. So, I decided to restore my NS back to stock and now I can't get into recovery after flashing recovery.img to load SU. When I try to get into recovery I get the triangulated astrix with the Android!! Any suggestions?
[Nexus S General] h46it:
Just to make sure that you are flashing the recovery before going to the recovery. I always loose the recovery image everytime i reboot into fastboot. The triangle is cause you don't have the CW recovery. Just flash before entering CW.
[Nexus S General] AllGamer:
the renaming is only if you want to keep CW recovery image as your default recovery.

else it goes back to the stock recovery after you reboot back to the OS

the renaming part is optional

as in my notes, if you don't do the renaming, then the next time you want to use CW recovery, you'll just have to repeat the fastboot steps again
[Nexus S General] Silrocco:
Deleted - ------------------------
[Nexus S General] Silrocco:
Thanks but I've done all that and even tried other recovery images and still can't get CW to load.

Edit: You were right!!! I tried it again and worked this time. Thanks I was rebooting everytime...I'm total dumb ass. :o
[Nexus S General] thomasck:
Hi there, thanks for the tuto. Dunno why, but I'm stuck on the step that I have to select Recovery to install the superuser.. After selecting it, I'm getting a screen with a little green android and a exclamation mark inside a triangle.. Any ideas?

Cheers
[Nexus S General] wickedsaint:
guys... real noob question here... i have unlocked my Nexus S through adb... then i rooted it through Superboot method. Now whenever i am trying to install the clockwork recovery img its giving an error "cannot load recovery img"

is it because i rooted the phone earlier than installing the recovery?? Please suggest!!'

Thanks!!

EDIT... i have downloaded the img file several times incase anybody thinks its corrupted!! also tried from different sources!!
[Nexus S General] EonHawk:
Help!

I'm having issues with the Path.

When I run cmd and type in adb, or adb devices, it tells me:

" 'adb' is not recognized as an internal or external command, operable program or batch file."

This is what my Path currently says:

C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem; C:\Program Files (x86)\Android\android-sdk\platform-tools;C:\Program Files (x86)\Android\android-sdk\tools;

I've installed all the drivers, everything I needed (and probably even more stuff) from the SDK Manager, and have debug checked on SNS.

I'm still trying to Unlock the Bootloader. I've been at it for about 4 hours now, and I have no clue what to do next.

Any help is greatly appreciated!

Edit: Fixed it. Apparently, it wasn't going to work if I had the sdk installed on my Program Files folder. I redid the whole process and just unzipped the folder at C: (root).

Now, onto the actual unlocking of the bootloader, rooting, installing the rom and the kernel. I've got a long night ahead of me.

Edit 2: I guess I didn't fix it?

When I boot into Fastboot Mode, and type in "fastboot oem unlock" on cmd, it says that it's "< waiting for device >", and just stays there. It opens no prompt on my phone, instead, it just stays in fastboot mode like before. So, I guess now my problem is with unlocking the bootloader.

I'm pretty sure I got sdk tools, etc, working alright, it's just not detecting my SNS.

Edit 3: Phew. Got it. If someone had the same problems as I did and ended up finding my post in hopes of seeing how I did it, I'm sorry to tell you, I have absolutely no clue how I did it. I tried so many things, so many different guides. In the end, these were the most useful: (http://wiki.cyanogenmod.com/index.php?title=Howto:_Install_the_Android_SDK, http://wiki.cyanogenmod.com/index.php?title=Nexus_S:_Full_Update_Guide, http://jaxov.com/2011/02/how-to-root-android-2-3-3-gingerbread-on-nexus-s/, http://jaxov.com/2011/03/use-superboot-to-root-android-2-3-3-gingerbread-on-nexus-s/, http://nexusshacks.com/nexus-s-hacks/how-to-root-nexus-s/). Unfortunately, the guides, as noob-friendly as they try to be, don't help much when the process is pretty complex. At least it was for me, since this was my first smartphone, and I was really used to the iOS, having had an iPod Touch for several years. Best advice? Just get a day where you don't have to do much stuff, and work on this. Set aside some time, because if it is your first time, like it was mine, it might take a while. Good luck.
[Nexus S General] Legion09:
So I'm not finding the install-recovery.sh in my /etc folder....any ideas? I did a file search using astro and it's nowhere to be found.
[Nexus S General] benrees21:
Think you have to use Root Explorer from the market. I'm not sure if astro lets you look at system files.

Sent from my Nexus S running Stock 2.3.3 Netarchy 1.3.0.2 and OC'd to 1.2ghz (I'm not that brave lol)
[Nexus S General] BowLow:
Hello I'm coming from the Vibrant. I had someone root my NS but he did not install CWM for me so I just wanted to know where do I place the img files via Root Explorer.

sorry if this has been answered already...

Answer FOUND!!!!! just flashed via Rom Manager Thanks anyway lol!
[Nexus S General] atrevino19:
im stuck on... error: cannot load "recovery.img" nexus s ... I spelled everything right, spaced everything right am i missing something. It is named correctly as well it doesnt have the .img in the name itself. any help
[Nexus S General] AllGamer:
did you download the recovery.img file from post #2?
[Nexus S General] rikardo1979:
Thanks OP for this :cool:

helped a lot cos i'm a new to Nexus S :rolleyes:

I've came from HD2 so all is a bit different, u know

But anyway, it wasn't that straight forward as I thought cos I had a lot of probs with the drivers at the start and after I was stuck for few hours on "waiting for device ". Bat after i found where was the problem so I had to copy some files from

\android-sdk-windows\platform-tools > into the \android-sdk-windows\tools

But all good now, all done unlocked,etc ....

And my favorite MIUI ROM flashed back :D

:cool:

Cheers m8

Appreciate all your work
[Nexus S General] jmattaxel:
can anybody tell me how to --mount the storage and system--.i had problem cannot enter into clockwork.thx
[Nexus S General] matt2053:
I used your guide to root and I am grateful for it. However I found one issue. I recommend you edit the guide by adding what I put in italics.

If the user follows your guide to the letter, he will flash CWM, power off phone, then power on, boot the OS, stock recovery image will be written to /recovery when install-recovery.sh runs on boot, and the user will a) be booted in the OS when the next steps call for him to be in recovery, and b) user will lose CWM and have to reflash which is not covered in the guide.

Just trying to help. Let me know if I read it wrong.
[Nexus S General] jmattaxel:
i think that's when i go wrong,i didn't turn of the phone..
[Nexus S General] EonHawk:
Hey, AllGamer, just a tip to improve the Guide, some things that were really confusing me:

on "switch to the directory where you downloaded & unzipped the ..\android-sdk-windows\tools", I never really knew what that meant, and it took me a really embarassing ammount of time to figure out that that meant I had to type: "cd C:\//sdk here\tools\".

Also, I would be much easier if the placing of the SU on the root of the zip was done before the CWRM flashing, so that after you flashed CWRM and rebooted, there wasn't the risk that you could lose the recovery and go back into stock recovery. Some people, like me, might not be smart enough to scroll down and read the second post and understand that the Stock Recovery might rewrite itself onto the SNS after every reboot if a new one has been placed and the file name hasn't been changed.

Either that, or have people just go straight into recovery after flashing CWRM, and not having to Reboot.

But besides that, great guide!
[Nexus S General] matt2053:
Another method is to go into recovery immediately after you flash the ClockworkMod recovery. I don't believe there is any need to power off. Just flash recovery with fastboot, then immediately press volume down and go into recovery, and continue following the guide from there.
[Nexus S General] jmattaxel:
i did exactly like that,and now i lose the clockwork recovery.clockwork recovery only show up when i flash su-version#-signed.zip.After flashing the recovery seems back to stock android.
[Nexus S General] Borky_16:
i have a inported unlocked U.K. i9020, the specific Name is i9020gsmh..

is that the right guide?

thanks :)
[Nexus S General] matt2053:
The Nexus has built in to it a script which will flash stock recovery every time the phone boots.

If you don't want this behaviour, you need to flash su, boot into Android, install Root Explorer and navigate to this file: "etc/install-recovery.sh" Then long press on it and choose "Rename" and rename the file to "install-recovery.sh.bak". Then go back into fastboot and flash ClockworkMod recovery another time. This time it will stay.
[Nexus S General] spa2k:
unable to find driver.....

i have downloaded the java sdk and the android sdk. I have updated the android sdk and installed the google usb driver package revision 4.

Windows 7 recognizes the phone when in normal mode and installs all drivers but wont install the fastboot drivers. It simply says "cannot find driver for your device" when trying to install the android 1.0 driver (which has the yellow circle with the exclamation mark).

I have tried both auto install and manually showing w7 where the drivers are...any help would be appreciated.
[Nexus S General] rikardo1979:
10_char

:cool:
[Nexus S General] spa2k:
Thank you muchly!!!!
[Nexus S General] Fitchman:
Works great with Gingerbreak

Hey guys, got a rooted, CM7 device with just two apps. I know it's not very educational as well as not clever, but using Gingerbreak and ROM Manager might be the way some lazy people may want to go without using a desktop PC.

detailed here:

http://xdaforums.com/showpost.php?p=13266969&postcount=136
[Nexus S General] zero383:
Nice.

Personally, I like doing it manually using fastboot commands, but that's just me. :p
[Nexus S General] erreterr:
I found the problem and now I installed the drivers. Let the work go on :o
[Nexus S General] mode153:
tq very much..
[Nexus S General] SovereigN7:
Just bought a nexus s and finished rooting it with cyanogenmod 7, than installed google apps by the zip.

I'm currently on 2.3.3, but how do I root the phone if there are new ota updates? Would I have to unroot the phone and repeat the process or just do a backup and flash it again?
[Nexus S General] raeef:
Will this work with 2.3.4?
[Nexus S General] AllGamer:
yes, i just did it last night, because i upgraded to 2.3.4
[Nexus S General] ectole:
I dont know what´s happening, but i get stuck on "waiting for device" right after i type fastboot oem unlock. can someone help me?
[Nexus S General] keltsi95:
I've also tried it on 2.3.4. Works perfectly! :)
[Nexus S General] NexusShanto:
Will this work on 2.3.4 ??

Will this work on 2.3.4 ??
[Nexus S General] AllGamer:
just read the answer above you ;)
[Nexus S General] spa2k:
had root on 2.3.3 and this worked a treat, to upgrade to 2.3.4 i had to flash to a base 2.3.3 rom and then apply the update. Since then although i can re-root i can no longer rename "install-recovery.sh", i simply get the message "insufficient permissions"

Any help would be appreciated.
[Nexus S General] zero383:
Did you mount as R/W (read/write) in root explorer?
[Nexus S General] scandiun:
How can I get a copy or Original Recovery Image for 2.3.4 GRJ22? I need it in case of bootloader unlocking and rooting if later I need to send the phone to Technical Service under warranty.

It is basically to be able to undo this:

https://sites.google.com/site/zeta/nexus-s/update-rooted-nexus-s-to-2-3-4-build-grj22
[Nexus S General] Zorachus:
Will this guide on page 1 work on the new Sprint Nexus-S 4G ?
[Nexus S General] Hands0n:
Yea, me too :D

I've just updated a Nexus One (using a slightly different set of files) and a Nexus S using the files and procedure in this thread.

I lost root going 2.3.3 to 2.3.4 (of course) and got it back with this thread's help. Thanks very much to the OP.
[Nexus S General] mrmylanman:
Before I noticed this thread, I followed the instructions here and it worked fine, and the instructions look similar here, so it should work. The version of CWM in the link I sent you to seems newer, although I'm not sure about CWM too much, I used RA on my EVO so I'm not very familiar.
[Nexus S General] stillblood:
i had to restore my computer and seem to have lost the file with goggle usb driver

redownloaded and installed the the android sdk hoping to get it back. with no luck where can i find a link for these

thank you
[Nexus S General] proxylullaby:
very usefull for newer like me ~thx
[Nexus S General] theprodigy85:
A newbie question...

If I follow this guide, will I still be able to receive OTA updates from google?

I just want to keep the stock OS but have root access. However, I may opt against it if it means that I can no longer receive the latest updates from google.
[Nexus S General] matt2053:
Yes. If you are on stock rom you will get ota.

Of course, you will also find the ota update here on xda far before it ever makes it to your phone over the air so its nothing much to worry about. :D
[Nexus S General] melloyellowkc:
I have an exclamation mark on my device manager under the android 1.0

im super noob with android devices, just ported over from iphone 4 @_@

I dont see Android Bootloader Interface after clicking let me a list of drivers from my computer...

someone halp me hahaha
[Nexus S General] Der Teufel:
I9020t 2.3.4

Hey AllGamer!

I just upgraded my I9020T to 2.3.4, and did all steps, but when i try to start TitaniumBackup it says that cannot get root permissions, and doing:

adb root, got "adbd cannot run as root in production builds"

doing adb shell, just got "Permission denied"

How is rooted the phone?

Just if the following seems OK, it supposes that the phone was succesfully rooted?

fastboot flash recovery recovery.img

Everything seems well done...

In other hand, what about busybox, it is contened in the recovery.img file?

Thanks in advace for your comments,
[Nexus S General] melloyellowkc:
"Select Brose my computer for driver software

point it to where you downloaded the Android SDK 2.3 (..\android-sdk-windows\google-usb_driver)"

someone explain this more clearly please :(

when i point it to the downloaded android 2.3..nothing happens..or it doesnt find the driver...
[Nexus S General] zero383:
Browse my computer

Let me choose...

Show all devices

Have disk

Point to the USB driver directory where you installed the ask

Pick ADB bootloader
[Nexus S General] raeef:
I rooted my phone on 2.3.4 for the first time following this http://jaxov.com/2011/02/how-to-root-android-2-3-3-gingerbread-on-nexus-s/

Now I can't move most of the apps from the phone to USB storage, what might be the problem ?
[Nexus S General] cmpanas:
I've got am up-to-date nexus s 4g. I've done the early stuff and my fastboot screen tells me that I am in unlocked state.

When I go to the Recovery menu, I do not get the option to "Install zip from SD card".

I get a yield triangle with an exclamation point inside and a little droid below, then when I hit power and get a blue recovery menu that says:

reboot system now

apply update from /sdcard

wipe data/factory reset

wipe cache partition

So I choose 'apply update from /sdcard" and it takes me to my internal drive, where I have the su-2.3.6.1-ef-signed.zip file at the top level. I select that and try to update but it tells me: E:signature verification failed and Installation aborted.

Where did I go wrong?
[Nexus S General] zero383:
You can't use the stock recovery to flash su, must use CWM recovery.