yashsingh1/xdaforums huggingface dataset:
[Nexus S General] mbensen:
this guide bricks your nexus. sry to say that but i have done everything exactly how its written here = problems. then i found solutions on another xda thread regarding this problems = still problems. so either you missed out a step (a step which is probably obvious for you because you have written it, but not obvious for a normal user who follows your guide or your guide just doesnt work.)
[Nexus S General] zero383:
Scroll to the top, click on 'all devices' then 'have disk' and point it to the USB driver.
[Nexus S General] Seven9:
It worked!

Once I flashed the 3025-i9023.img, just go to recovery....I had the su-2.3.6.1...already copied...and i updated frm it...it worked!!

Thank you :)
[Nexus S General] zero383:
Nice. Good job. :)
[Nexus S General] spydersly:
I need help

my nexus s i9020A rogers

my bootloader is unlock now

part 3 recovery

4 - Switch to the directory where you unzipped the Android SDK & go to "tools"

ok

i put image 3025-i9023 in dir tools open command and tape

C:\program files (x86)\android\android-sdk\tools and the msg i have is c:\program n,est pas reconue en tant que commande interne ou externe ....

please help me
[Nexus S General] zero383:
You forgot to type "CD" before the path.
[Nexus S General] spydersly:
OH yeah

Thank you my nexus is root now
[Nexus S General] dccxviii:
As stated, the only driver installed from the andorid sdk was the composite ADB interface one, not the bootloader one. My problem is getting the bootloader driver to install in the first place because as far as windows is concerned - it already has the driver i.e. composite.

There is no option to select from, like in that picture. Windows only finds one driver to install in C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver.

This is nuts, I don't know where you guys are getting your drivers from but it certainly isn't the Android SDK.

EDIT: OK, it turns out that there is one critical step no one seems to mention. The phone needs to be booted into recovery only for the correct driver to load. However in my case it wasn't the bootloader driver but the vanilla ADB one that came up. With this I was able to finally execute "fastboot flash recovery 3025-i9023.img" to my phone. Only when I went to reboot into recovery to check clockwork was installed...nada. It was still running the default Android recovery. This is strange as I get all the indicated successful messages when the aforementioned command was run.

EDIT: Would anyone happen to know how to get su-2.3.6.1-ef-signed.zip installed without clockwork? If I could do that, problem solved.
[Nexus S General] pratishk:
@ dccxviii Can I just check thet when you reach the update driver window as shown by zero383, you are unticking the Show compatible hardware box. If uyou UNtick the box you will see the 3 drivers shown.

If you are doing this and still can not see them, then try the USBviewer to remove the drivers again and try again...
[Nexus S General] dccxviii:
Unfortunately, that box never comes up for me to untick that box in the first place. Windows just finds the driver in the google usb folder and installs the composite driver straight away. USBviewer shows this (i have uninstalled the 4 android drivers at the bottom and re-installed them multiple times, the only thing i'm not sure about are the other composite drivers but they don't appear to be related to android when their details are checked):
[Nexus S General] pratishk:
okay, once the driver has loaded.

Got to Device Manager, right click on the Android driver and then do update.

then do let me choose

then you should be able to see that option?
[Nexus S General] thiagodark:
sorry if it was asked before, i read as much as i could.

my recovery backs to stock after reboot, is there anyway to keep cwm or i just need to flash it every time i need to flash rom/kernel/whatever?

thanks!
[Nexus S General] zero383:
Use Root Explorer and rename install-recovery.sh file to something else. It's located in the /etc folder.
[Nexus S General] dccxviii:
You sir are a genius! :D I finally was able to load the boot-loader driver (that guide doesn't go into enough detail, seriously). I then repeated the steps in intall the 3025-i9023.img. I got all the successful command line entries etc, but...When I go to check if the default recovery has been overwritten with clockwork...still stuck on vanilla recovery!

Man it's lame that the stock recovery can't install from zip *sigh*, but at least i'm 1 step closer.

EDIT: Looking at the other users posts, I attempted to change "install-recovery.sh" to something else using ES File Explorer (better than root explorer because it's free) but it reports the operation failed. My guess is that it's failing because the phone isn't rooted yet so...chick and egg paradox.
[Nexus S General] thiagodark:
thank you very much sir... =o)

i think the OP should add this info to the first post... really useful
[Nexus S General] mikeruoc:
This is happening to me also. I just updated to 2.3.4 and I am trying to get root back but I can not get this recovery to load. It says it was successful when I run fastboot flash recovery 3025-i9023.img but when I boot into recovery I get the stock android recovery. Any help would be great!

Thanks

"With this I was able to finally execute "fastboot flash recovery 3025-i9023.img" to my

phone. Only when I went to reboot into recovery to check clockwork was installed...nada. It was still running the default Android recovery. This is strange as I get all the indicated successful messages when the aforementioned command was run."
[Nexus S General] gregounech:
Hey there,

I'm getting an i9023 in a week, i'll definitely root it & install CWM on it.

However, I heard that once i'll update to 2.3.4 i'll lose CWM is this true ?

Plus, I might as well receive my phone already with 2.3.4, does this also works on that version ? (I guess it does but I just wanna be sure).
[Nexus S General] pratishk:
I did not have to rename the files. The flash "fastboot flash recovery 3025v3-i9023.img, worked for me.

When you rebooted, you can just copy the su-signed zip file using standard drag and drop through usb which is what I did and worked.

Am stuck on how to help, the issue for you is the flash fastboot bit, need to workout how to ensure that bit is working.. you are using 3025 right? for 2.3.4? and 3024 for 2.3.3?
[Nexus S General] dccxviii:
I have the su-signed zip file on the sdcard. Did that a wile back, the problem is that the stock recovery doesn't have the option to install from zip (although I can see the file listed in stock recovery) so there's nothing I can do with it. Hence the need for CWM. Also, as far as I know, there is no 3025v3-i9023.img, only 3025-i9023.img (i'm on 2.3.4). However I just noticed that the maker of said img file has updated his thread to completely different img files names based on colours and he hasn't said which img corresponds to whcih flavour of the nexus s (weird).

Perhaps it's his version of CWM that's faulty...

Note: Recovery>apply update from sdcard>su-2.3.6.1-signed.zip:

Executing = Finding update package

opening update package

verifying update package

E:signature verification failed

installation aborted.
[Nexus S General] zero383:
This one you mean? http://xdaforums.com/showthread.php?t=988686

The different files just changes the color of the CWM screen. They all work for both the i9020a and i9023.
[Nexus S General] dccxviii:
FINALLY!

Ok folks, for those having trouble; there's a bunch of steps the OP hasn't included that is critical for the process to work. It seems every 'guide' seems to make the same mistake. Here's how you actually get root (assuming your boot-loader is already unlocked):

Pre-requisite: Android Bootloader Interface" driver installed and successfully loaded. When checking this, make sure to set your phone to usb debugging mode to trigger the driver load in windows.

1. Download the CWM file from the OP link, choose whichever colour you feel like and save it to the directory he specified.

2. Make sure you have both "AdbWinUsbApi.dll" & "AdbWinApi.dll" files copied from the "platform-tools" directory over to the "tools" directory in the android-sdk folder.

3. Follow the OP's steps to transfer the "su-2.3.6.1-ef-signed.zip" file as well (it is necessary to do this contrary to what the OP states in the guide, before starting his final step). Be sure to only transfer it to the phone, don't follow the OP's remaining steps yet.

4. Make sure your phone is in fast-boot mode only, before proceeding to the next step.

5. Connect your phone to you computer and check that in windows device manager, it shows it's loaded the "Android Bootloader Interface". If not you will have to sort that out first (see my previous posts in this thread).

6. Now you can flash the recovery using the command the OP describes ensuring you change the .img file name to the one you downloaded.

7. CRITICAL: If this is all successful DO NOT reboot or turn off your phone like the OP says. Instead, boot straight into recovery.

8. If you are now in CWM recovery you just flashed, then proceed to the OP's final steps regarding installing the su-2.3.6.1-ef-signed.zip file. Only ignore the part about transfering the .zip since you've already done that.

Note that CWM will not stay. It gets overwritten with the default android recovery the moment you boot into full android and you'll have to rewrite the recovery again to get it back.

...and just like that I got my root back :D

Thanks to the people who helped me, I could not have figured this out without your input :)

Note to self: Write a proper guide for future reference. >.<
[Nexus S General] Fmbl:
i followd above, and i did managed to get into recovery, but when installing SU form sd card it aborted and said it was bad

Could i have a bad SU file? and thus try downloading a new super user file and start again?

i checked with rootchecker and it says i dont have root

I just dont know anymore!

EDIT: Solved!!!
[Nexus S General] Fmbl:
i used this, crosspost from here http://xdaforums.com/showthread.php?t=1055723&page=3

For those of you that installed 2.3.4 and root it right away thru clockwork. You guys need to make sure that you guys have clockwork permanently. I just went thru this. I went to backup my new 2.3.4 Stock Rom via Rom Manager and it went into the Triangle screen with an exclamation point. To avoid this:

At this stage, you have successfully rooted your Nexus S on Android 2.3.4 Gingerbread but your phone will continue to replace ClockworkMod Recovery on reboot. To prevent your phone from doing so, follow the steps below:

1. I went into Rom Manager and click on Flash ClockworkMod Recovery

2. Download and/or open Root Explorer

3. Open Root Explorer and navigate to "etc" directory

4. Tap on the gray box that says "Mount R/W"

5. Tap and hold on the file install-recovery.sh and rename this file to install-recovery.sh.old (Note I had both so I erased the previously install-recovery.sh.old and rewrote it on the new install-recovery-sh file that was there)

6. Once renamed, open ROM Manager again

7. choose Flash ClockworkMod Recovery option.

8. You should have Permanent ClockworkMod Recovery.

To test that you have permanent clockworkmod just reboot and go into recovery.

It worked for me, i have permanent root now!!
[Nexus S General] zero383:
I think you're confused as to what recovery vs. root is.

When you install the superuser package through CWM Recovery THAT is the part where your phone is rooted. The recovery is just a menu that you boot into, kind of like a BIOS.

You DON'T need a permanent recovery to maintain root! If you've already installed superuser, you're done. Renaming install-recovery.sh is just a convenience so that you don't have to re-flash CWM every time you want to do stuff like nandroid backups.
[Nexus S General] BJNK:
To be fair, having a stable, useable Recovery is one of the biggest, if not the biggest feature of having root access!
[Nexus S General] zero383:
I agree but I was just replying the that poster's comment that permanent recovery means having permanent root which is not true. Root doesn't go away if the custom recovery is not there.
[Nexus S General] Fmbl:
Yes of course, you are both obv right!, my bad!
[Nexus S General] teh_ice:
help needed

hi everyone, when i rooting my nexus s, it always stuck at here.. i had done all the step that guided in 1st thread.. but it seems nothing happen on my phone after i type "fastboot oem unlock".. any guide ? thanks
[Nexus S General] Fmbl:
Whats the message you get after typing Oem unlock?, are you sure you installed the drivers correctly?
[Nexus S General] moep.at:
Cant Root my Nexus S :(

Hi all,

yesterday I got my Nexus S (i9023) and now I want to flash it with CM7, but i stuck by installing the device drivers :(

I could not find any related post so far, so I just ask.

My Setup:

Windows 7 32Bit

Nexus S i9023

And I'm stuck at point 9 of "Part 1 - Drivers", Windows can't find the right driver.

I have added the missing Line to the Ini-File and also removed all USB drivers with USBDeview-Tool.

Am I missing something?

The phone says:

USB Control Init

USB Control Init End

greetz

moep.at

PS: sry for my bad english :(
[Nexus S General] Fmbl:
Im on Vista, so excuse me if i say something wrong, when you go to let search my computer for drivers, did you untick the checkbox so you see al posible drivers and not only ADB?

if not, uncheck and choose android bootloader interface!, also make sure you copied the AdbWinApi and AdbWinUsbApi from "Platform Tools"----> to "Tools", or the onther way arround, dunno for sure anymore !

maybe that helps! GL!

Aslo this might help since your on win7

http://xdaforums.com/showpost.php?p=12731117&postcount=57
[Nexus S General] moep.at:
thanks, for your quick reply :)

i'm gonna try!

€: same problem, when i select the folder with the drivers init (Point 14 in your link) windows sas it was unable to install nexus s :(
[Nexus S General] davidquesada:
hey what's up I got my nexus S yesterday, and I want to root it, does this method works with 2.3.4?
[Nexus S General] moep.at:
not for me, yet :(
[Nexus S General] zero383:
Yes
[Nexus S General] davidquesada:
I'm stuck in the "update driver" part, I can't find the android bootloader interface! I even pointed the folder
[Nexus S General] davidquesada:
and the mediafire .img is broken
[Nexus S General] davidquesada:
I give up. I can't find the drivers. I have the i9020A
[Nexus S General] zero383:
You don't point to the folder, you point to the android_winusb.inf file. You'll get the following window. Remember to uncheck "show compatible hardware".
[Nexus S General] davidquesada:
I can't point at that file, I can only point the folder, and then when I click next, i get the windows was unable to install

EDIT: I got it, I had to install the driver with debug on, first. :)
[Nexus S General] zero383:
Yes you can...

Browse my computer > Let me chooose... > Show all devices > Have Disk
[Nexus S General] davidquesada:
guys, I rooted, and did everything but I think I'm missing the wifi personal hotspot, please help!
[Nexus S General] zero383:
Huh? You mean tethering? It's built into gingerbread, under the wireless menu.
[Nexus S General] davidquesada:
fail lol thank u so much
[Nexus S General] epichappy:
I would like having clockwork permanently however I do not trust rom manager with any of my data... It has bricked my other phone. Would this guide work if I renamed the file and then flashed clockwork using the OP's steps.
[Nexus S General] zero383:
Yes, you can rename and flash CWM with Fastboot. I don't trust doing it with Rom Manager either.
[Nexus S General] moep.at:
hi,

i still get an error :(

now i have managed to unloick the bootloader, so i can theoreticly flash my SNS

BUT when i want to recover to this "su-2.3.6.1-ef-signed.zip" i get an error:

"E:signature verification failed Installation aborted." :(

someone gets the same error?
[Nexus S General] deeren:
after unlocking the bootloader, you should install a custom recovery in order to flash this file.
[Nexus S General] moep.at:
Hi,

sry I forgott to mention that I also installed a custim recovery: 3024v3-i9023.img

greetz
[Nexus S General] zero383:
How exactly are you installing "su-2.3.6.1-ef-signed.zip"? Are you choosing "Install update from zip" option within CWM Recovery?

You can also try j_r0dd's modded CWM (ver. 3101) which is what I'm using: http://xdaforums.com/showthread.php?t=988686
[Nexus S General] deeren:
go through the options in recovery and toggle verification off. then dont forget to mounr system before flashing the file
[Nexus S General] moep.at:
heureka :)

this solved my problems :)

and now i'm going to install cm7 :) hope this will work better ;)

€: WUHUUUUU see the CM7 bootscreen :)

€2: CM7 is really nice :)
[Nexus S General] waylman:
I'm running 2.3.4 and got the bootloader unlocked with no probs

As for recovery, can I install cwm from the market?

I tried following the steps in the 1st post for recovery, but it doesn't seem to work. When i boot into recovery it is just the stock recovery.
[Nexus S General] zero383:
CWM Recovery is not an app you install. It's like a BIOS that needs to be flashed through fastboot.

After flashing, don't reboot the phone, go directly into recovery. If you reboot the system will restore the stock one.
[Nexus S General] waylman:
^awesome, thanks for that.

The guide in post #1 needs some serious editing!!!
[Nexus S General] Reza WM:
i do all step in post 1

but when i flash recovery and go to recovery... recovery image dont load and i have black screen...:confused:

how to fixed it?!
[Nexus S General] ciwek90:
is this the step to root for I9023 slcd version? Thanks!
[Nexus S General] Fmbl:
yes it is!
[Nexus S General] ps-gunkie:
Ok, so I'm trying to root my Nexus S i9023 using the guide in the first post. I've been getting everything to work (thanks to this post) up until step 3 (the phone is unlocked now).

I tried to download the file directly, dead link. I followed the link to the file's original topic to find that there's apparently new versions out. I picked a random color (3101-orange.img), followed until step 3.5, but I can't get that to work. I keep getting "error: cannot load '3101-orange.img'". Any way to fix this? Or a different image I could try?

Thanks in advance!
[Nexus S General] zero383:
Are you typing this?

fastboot flash recovery 3101-orange.img
[Nexus S General] ps-gunkie:
Sort of. I'm running it this way because I couldn't get the environment variables to work. It worked perfectly fine for unlocking the bootloader, so I can't see why that would be the problem now.
[Nexus S General] zero383:
Not sure what you mean by "sort of", so you're not typing it exactly as shown? The only way to flash the 3101 recovery is to use the command line "fastboot flash recovery <filename.img>". Use the "cd" command and change to the tools folder first.

Example:

cd C:\Program Files\Android\android-sdk-windows\platform-tools

then:

fastboot flash recovery 3101-orange.img
[Nexus S General] ps-gunkie:
I'm running it as "..\tools\fastboot.exe flash recovery 3101-orange.img" in "C:\Program Files (x86)\Android\android-sdk-windows\platform-tools" because fastboot.exe is located in tools now and for some reason this gives problems with environment variables as explained in this topic, which provides the solution for the missing AdbWinApi.dll error I was previously getting.
[Nexus S General] zero383:
Are you running this in XP? I've had no problems doing it in Win7.

Why don't you just copy both the AdbWinApi.dll and AdbWinUsbApi.dll into the same folder as the fastboot.exe? Here's how I set mine up.
[Nexus S General] ps-gunkie:
Nope, Windows 7 x64. And I could try that, don't know if it would work.
[Nexus S General] zero383:
I edited my post, see pic.
[Nexus S General] ps-gunkie:
Yeah, I had to wait 5 minutes before I was allowed to edit my post or post a new one. That did the trick, don't know why it wouldn't work before. Gonna go ahead and follow the rest of the guide. Thanks!
[Nexus S General] wholoot1:
GOOD

Thanks!

Nexus S good
[Nexus S General] CarelessDogg:
I'm stuck at Part 4 (Root), Step 6:

Whenever I input this command, it says: "error: device not found". Can anyon please help me?

I have the Nexus S i9023 (with SLCD). I'm running the command on Windows 7 Ultimate (64-bit).

Thanks in advance ^_^
[Nexus S General] thiagodark:
guys, first of all thanks the op for the guide and everyone for all help you provide.

now i come with the questions: =oP

i just rooted fine (really weird to flash cwm to gain root, usually is the oposite), but after all you realise that is quite easy process (except the trick of usb drivers).

in htc devices it's simple to back everything to stock, you just need to apply ruu.exe file and voilá, everything was there, recovery + rom + no root. so, i don't get how make the same thing with nexus s, there no such thing. What i found is a stock rom to flash in cwm or stock recovery, but how to get stock recovery back? I do understand how to prevent my recovery from being replaced by stock every boot, but doing that and flash cm7, in eg, i will lost stock recovery?!

and, what does google look to push ota updates, the rom or recovery?!

thanks in advance! =o)
[Nexus S General] thiagodark:
just mount the device as storage and copy the file to sdcard.... i don't undesrtand why the guide makes it so complicated. it's easier to copy file from pc using windows explorer, that use adb to push it!
[Nexus S General] CarelessDogg:
Even when doing that, Recovery doesn't seem to start. I just keep seeing the "!" Android icon. I did follow the steps before with no problems, so I don't think something went wrong there...
[Nexus S General] zero383:
We really need a sticky or FAQ explaining this as this question comes up several times a day!

It's because every time you reboot the phone it runs a script that restores the stock recovery. Just reflash cwm and don't reboot.

Then after you gain root sccess if you want to make cwm permanent, use root explorer to rename /etc/install-recovery.sh to something else, then reflash.
[Nexus S General] CarelessDogg:
Nevermind, I just had to redownload the recovery image. Thanks ^_^
[Nexus S General] mysql2779:
hey guys.. for Part 2 - Unlock

1 - Open a command prompt go to run & type "CMD" & hit enter

2 - Switch to the directory where you unzipped the Android SDK & go to "tools"

CMD in my pc right ? how to switch to directory ? any example ? lets say the directory i place it SDK is C drive>program file>android den shud type wat in CMD ?
[Nexus S General] zero383:
CD c:\program file\android

Please don't post in more than one thread with the same question.
[Nexus S General] mysql2779:
all right.. will look through all pages if i could.. thx anyway..
[Nexus S General] zero383:
I just gave you the answer in my post.
[Nexus S General] rukawa91:
I;m stuck on the last step which is recovery part... my phone just stuck at google with unlock icon... and the image's link provided in part 2 is broken, where can I get 1? Im using nexus i9023 2.3.4
[Nexus S General] zero383:
Do you mean the recovery image from Part 3? Don't use the direct link for 3024, click on the other link that brings you to the download page.
[Nexus S General] epichappy:
Are the images at the top of that thread (the cyan one for example) compatible with the i9020A or is there some type of modification that needs to be made.
[Nexus S General] thiagodark:
download the file that i linked bellow, unrar in any folder you want (could be desktop) and open the file with the suggestive name "start here".

http://hotfile.com/dl/119279955/e2325da/Tool.rar.html

edit: the file contains adb, fastboot, cwm recovery and DLLs (like AdbWinApi.dll). Everything is working properly with no missing dll problems... this is almost everything you will need to follow every single guide!
[Nexus S General] zero383:
The first 3 are for all version except the 4G.