yashsingh1/xdaforums huggingface dataset:
[Nexus S General] docsamsom:
Hi,

I have reinstalled everything twice according to the guide. I even get the android bootloader interface show up after installing the drivers ( google-usb-drivers). Would the bootloader interface show up on my laptop even if the wrong drivers were installed?

Samsom
[Nexus S General] AllGamer:
yes, because it is not part of your PC the phone works independently

in Manage Drivers screen in windows, does it show your phone at all as a question mark or listed as Android 1 ?
[Nexus S General] docsamsom:
Thanks for your help. I found the solution on another thread on the forum.

It seems to be a problem on Windows 7 64bit systems. Need to install the pdanet driver instead of the google-usb driver for the pc to recognise the phone. Please see link for details. Hope this helps someone else as well.

http://xdaforums.com/showthread.php?p=9861928#post9861928
[Nexus S General] h46it:
Don't need pdanet driver for Win 7 x64. I only used the google usb driver here, and works fine. I guess that my experience tho.
[Nexus S General] AllGamer:
Exactly the stock google drivers are all that is required

the difference between PDAnet drivers and google drivers, is that the PDAnet install programs forces the drivers for you

the google drivers you need to configure them manually

the part 1 of the guide, takes you step by step to use the proper google drivers, if the instructions were followed correctly the PDAnet would have not been necessary
[Nexus S General] wickedsaint:
Hi, thanks for your reply... as suggested in the first post i kept the recovery.img in c:\android\adb-sdk-windows\tools folder... also i tried by keeping it in tools folder of android folder in my c drive!!!

and still got the same reply!!
[Nexus S General] tosh1:
This was my exact problem getting SU to stick. After doing these steps above it worked like a charm and was able to flash CWM through ROM Manager.

Thanks again for your help!!!!

You guys rock...now to ROMS.....woot wooot
[Nexus S General] Darrien13:
Thanks this is the most detailed post Ive ever seen on rooting the phone :) Now I can root the exact same way if im on 2.3.1? Thanks
[Nexus S General] mak213:
I have successfully unlocked my bootloader successfully flashed CW recovery..witch i know its normal for it to go back to stock after reboot but while i get the cw recovery on there then flash my super users.zip that i downloaded (yes i downloaded the elcair-froyo one) the signs claim to be a success after update then i reboot still no root, due to i have hand full of apps that require root also adb shell then SU permission denied did i do something wrong?heres steps i took

go in bootloader

fastboot flash recovery recovery.img

reboot recovery

flash zip from sdcard picked my superuser.zip

hit yes updated etc. success

reboot now

no root?

also im on 2.3.1
[Nexus S General] alturismo:
may try mount /system on cwm before flashing su
[Nexus S General] hmanxx:
Based on my understanding of stock recovery.img is not replaced and revert to stock recovery image upon reboot.

Does that mean, upon new OTA update, update will run smoothly without the custom recovery image signature verification failure ? Assumption: Stock ROM is used

I just want to root the stock rom for installation of apps that required root..and dont want to restore from passion ROM in order to accept the new update..

thanks.
[Nexus S General] adel2adel:
unlocked and rooted but lost stock recovery

Thanks man..I followed your steps and got root access however I did one extra step. I created a backup using cw recovery and after a while I restored it. Now everytime I reboot I see cw recovery is there. I did not intend for this to happen. The question is did I lost the stock recovery forever by doing this and why???
[Nexus S General] meetagrawal:
Is there anyway to get root without wiping all the apps/data on the phone?

I really don't want to set all that up again.
[Nexus S General] cyc1120:
I installed the android sdk and jdk but whenever I type in the command "fastboot oem unlock" it says

"The program can't start because AdbWinApi.dll is missing from your computer. Try reinstalling the program to fix this problem."

Anyone know what else I need to install? :confused:
[Nexus S General] h46it:
You need to install the adb that is not packaged with the newer sdk. Use this link to get the ADB. Just unzip in place into your tools folder of the sdk! Hope that helps!
[Nexus S General] cyc1120:
Thanks. Works now!

I'm at the step where I just put the superuser zip into the sd card, reboot and go into the recovery. I get the image of the droid with a triangle and an exclamation mark inside.

What might be wrong? Was the recovery not flashed properly? :confused:

Edit: Nvm, reflashed the recovery and it works now :)
[Nexus S General] h46it:
The problem your having is that the stock recovery will come back with every reboot, so you have to flash the CW recovery image before you go into CW recovery. If not your going to see the triangle exclamation screen all the time. Let me know if that works!
[Nexus S General] cyc1120:
That's what I thought. Did it and it worked! Thanks! :D

Um.. weird.. i loaded Titanium Backup and it says that it will not work. I tried Wifi tether (which requires root) and it works... so it's definitely not a rooted or not problem...
[Nexus S General] jamesandruth:
Thanks!

Your answer seems to be helping lots of people. But not me :-(

Could you go into more detail here? Are we talking about adb commands? Could you make it a bit more explicit, including when to disconnect/connect the USB cable?

I have the bootloader unlocked, I am getting the warning triangle, so it looks like I need to reflash clockwork-recovery, and have /system mounted r/w, I think. I just need it a little more step-by-step.

Thanks

Thanks!
[Nexus S General] h46it:
Droidmage is telling you do this in CW recovery(not in adb or anything else). I thought it was pretty clear. Before you flash superuser.zip go to "mount and storage" then "mount/system" then flash superuser.zip!

Does it make sense now?
[Nexus S General] JaMaBBo:
This looks like the perfect guide for a noob. Thanks so much for this.

I was just wondering after I do this and root the phone, if I want to put a custom rom on the phone do I need to do any other steps after the root. I have read some of the other guides and each one has a different part.

Like un/lock bootloader

Root and recovery.

I hope I'm not being thick, I just want to make sure I do this correct.

Thanks for your time in who replies to this. So far this forum has been great, lots of nice people.
[Nexus S General] AllGamer:
after you are done with these steps

you can download any of the Custom ROM (ZIP) and the install it via Clockwork Recovery
[Nexus S General] jamesandruth:
Yes, it made a lot more sense when I got CW recovery working! ;-/

Reboots were removing the CW recovery image for me.

Thanks.
[Nexus S General] JaMaBBo:
Thanks AllGamer,

Just one more question others have suggested I do a back up with CWR after the root. Do you think this is necessary with your steps. Since the built in protection in 2.3?

Getting ready to install the sdk now. Other guides say to place fastboot and ADB in the root of your C:\ drive. This step is not mentioned, Does it matter?

Sorry for all the question. Maybe I should have just read one guide.

Thanks again.
[Nexus S General] JaMaBBo:
So I'm fallowing the guide and went to update my drivers and in android-sdk-windows I do not have anything that says google-usb_driver.

Anyone have a suggestion?
[Nexus S General] h46it:
When you get the sdk unzipped to your computer:

run the sdk manager

look under available packages

drill the third party add-ons

click and install google usb driver package

This is how i got the usb driver.
[Nexus S General] AllGamer:
Thanks for pointing that out, i guess i should have been more detailed in that step
[Nexus S General] h46it:
No worries! You did a good write up! I'm here just to help!
[Nexus S General] JaMaBBo:
lol thanks everyone I figured that one out a little after I posted that. I am now unlocked and trying to run the flash boot flash recovery recovery.img. I renamed the file as well saved C:\android\tools to recovery.img as stated and now I get: error can not load recovery.img.

Tried to re-download it a few times and still get the same thing. I feel like such a tool with all these questions. But I have to be honest so far once I got to this point and figuring things out it has been pretty easy.

Thanks again all.

Jay
[Nexus S General] h46it:
Should be this "fastboot flash recovery recovery.img"

Just making sure you have written the write thing.
[Nexus S General] JaMaBBo:
Yep sorry for the space, but redid it just in case and still getting the same error...

I even tried to run the flash opening a cmd line window in C:\android\tools, Same error.
[Nexus S General] h46it:
Have you have change directory to tools folder? I don't know what your missing to cause this problem.
[Nexus S General] JaMaBBo:
Got it all working! For some reason it was recovery.img.img. Maybe I should have just called it recovery. But anyway I'm unlocked and rooted and running a custom rom.

Thank to every on the site. You all have been great!
[Nexus S General] h46it:
I was going to ask about how you named your recovery! That's good to hear! Enjoy!
[Nexus S General] adrian.gab:
i still can't get passed the usb driver issues, no matter which way i try whenever i point to the following dir:

D:\Program Files\Android\android-sdk-windows\google-usb_driver\

which contains numerous files e.g. android_winusb.inf

i get the below message:

the hardware was not installed because the wizard cannot find the necessary software

i got the usb drivers via the android sdk and ticking "google usb driver package, rev 4"

the phone is connected via usb and it is in bootloader interface

any ideas? i'm on xp sp3 32bit

thanks heaps.
[Nexus S General] AllGamer:
in WinXP there is the same option, but with a slightly different wording

then you can point it to the .inf file in the root folder of the USB drivers from the Android SDK
[Nexus S General] tidygrant:
Excellent! was easier than i thought

Thanks
[Nexus S General] tidygrant:
i did that first of all, renamed it "recovery.img" when i learned just called it "recovery" and it will give it the extension all by itself.

Welcome to the unlocked and rooted boat :D
[Nexus S General] adrian.gab:
how can i confirm this has worked successfully?

i tried what this article mentions:

http://www.androidcentral.com/is-my-phone-rooted

but according to the article my nexus s is not rooted...
[Nexus S General] h46it:
You can also try to download titanium or adfree from the market, both apps need root to work.
[Nexus S General] adrian.gab:
hi all,

i know you probably wont believe this but i followed every step of the instructions and confirmed the expected results for each step but i have no root access :(

i tried the above article to confirm whether it was rooted or not, which it failed. then i installed titanium backup and it says cannot gain root access.

i'm completely stumped on how this could be. any suggestions?
[Nexus S General] h46it:
Sounds like you missed this:

So all you guys who are having trouble getting root inside the rom, When your in recovery before you flash the superuser.zip file select — mounts and storage — then –mount /system

This was a common problem for many (myself as well), did you do this step? If you don't do these steps you will not get root.
[Nexus S General] pksen88:
hopefully someone can help me...

I renamed /etc/install-recovery.sh to permanently keep cw as my recovery. Today I tried to look for the file so I can restore the stock recovery on every boot.. however I can't find it. Am I missing something here?
[Nexus S General] adrian.gab:
absolute legend! thanks heaps. i now have root and confirmed via terminal.

for the assistance of others. this is what i did to get it:

- as my phone was already oem unlocked, i start at: fastboot flash recovery recovery.img from there i

- i powered it off

- i skipped powering on the SNS normally as i already had the zip file on the sd storage

- i then booted the SNS into the Bootloader Interface, by holding Volume UP & Power button

- select Recovery

- select -- mounts and storage

- then --mount /system --

- i might have chosen to go back at this stage

- select install ZIP from sdcard (power button to apply)

- select choose zip from sdcard (power button to apply)

- select su-version#-signed.zip file you downloaded earlier, and apply it

- select yes - install su-version#-signed.zip

- confirm it says "Install from sdcard complete"

- select go back

-select reboot

done!
[Nexus S General] Kingken:
i am on 2.3.1.. after connecting SNS to pc, my device manager does not seem to be able to detact android 1.0???

Anyone can help me?

i already download and install usb driver.
[Nexus S General] AllGamer:
does it show up at all like a question mark or as an ADB device?

open Device Manager

unplug your phone

then plug back your phone

see if anything new shows up in Device Manager
[Nexus S General] Kingken:
It Show up as adb bootloader interface in android phone but i dont see any new device (nexus S) show up in portable devices.

Even after install PDA driver, no nexus S show up.
[Nexus S General] Kingken:
finally unlock and done!! did not see nexus s in the device manager but in device and printer list in win7...
[Nexus S General] AllGamer:
that is what you should see

that was mentioned on PART 1 of the Step by Step guide
[Nexus S General] Riyanweb:
I'm having a little problem and i was wondering if someone could help me.

so i rooted my phone last night but i cant get back into ClockworkMod Recovery

without flashing it with Rom manger

can someone please tell me why and what can do about i

ps. yes i did download Recovery more then once and im still having that problem ?
[Nexus S General] Kingken:
same problem as me.. i also clockworkmod recovery twice but did not get to the recovery, it just hang at andriod ! part... so i use the superboot "i click root' to root it again and it is finally rooted. u might want to try.
[Nexus S General] AllGamer:
read this

http://xdaforums.com/showpost.php?p=10238348&postcount=2
[Nexus S General] baolongn:
reinstalled the update with google revision 4 under third party updates. when trying to use fastboot command, it says its not recognized... :|

sorry im very new to all of this, im trying to do it on my D drive rather than my C. will this affect anything?
[Nexus S General] meetagrawal:
When you select Recovery from the menu, how long should it take to boot into the recovery menu?

Its been a few minutes, and all I see is the Google logo and the unlocked lock at the bottom.
[Nexus S General] burninglava001:
this is how you rename the install-recovery.sh

hi

i had to spend alot of time looking up how to rename install-recovery.sh

just thought save other people some time...

adb shell

su

mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system

mv /system/etc/install-recovery.sh /system/etc/install-recovery.bak
[Nexus S General] ripperrs:
First thanks for the guide, had a few problems but i did it!!!

now, i had the same problem. all you have to do is open the cmd exactly as AllGamer said and then as the cmd opens you will see probably "C:\Users\"name of the user"\" so after that you must type "CD "the full path of the file you have the sdk tools"" and then enter. for example mine was

C:\Users\George\CD C:\Users\George\Desktop\android root\android-sdk-windows\tools

also in order to enable the usb debug mode in case you dont know go to settings>applications>developement.

hope i helped
[Nexus S General] Darrien13:
I have rooted thanks :D
[Nexus S General] fathom614:
success. Although developer phones are generally easier to unlock and root it's always nice to be able to be referenced on what to do. That's what makes xda a great community.
[Nexus S General] iori:
hey guys

I'm sorry for the noob question

But I have done every single steps in first post and it confirmed superuser Install from sdcard completed successfully

but still my phone is stated not rooted

Have I done wrong?

Please help

Thanks
[Nexus S General] adrian.gab:
the guide in my opinion isn't as clear and in the correct order as it could be. please note i am eternally grateful for the creator of the guide.

follow my steps to root it. it's most likely you forgot the mount part:

http://xdaforums.com/showpost.php?p=10533906&postcount=107
[Nexus S General] iori:
thanks for the guide. you're right i might have missed the mount part

but then i follow your steps and repeated twice but still root access failed

i checked it with nexus torch and titanium back up

what should i do?

just to make sure i have the right superuser file, the file I get from here is:

su-2.3.6.1-ef-signed.zip

289 KB (296,748 bytes)

thanks
[Nexus S General] adrian.gab:
that superuser is fine.

i'd suggest you start from the very top of the original instructions but follow my instructions.

you wont need to copy the super user zip file over as youve already done it, so after flash the image skip that part and go straight to the bootloader interface and go to recovery.

i assume you were already 2.3.1 OTA updated too?
[Nexus S General] iori:
ok i will try to start the step from flashing recovery (cause I have already unlocked right? It said lock state: unlocked)

fyi, i also follow the instruction in the article posted in this post

according to that article, i have already rooted cause the prompt change from $ to #

but again when i tested with titanium backup, it cant gain access to root

EDIT: this last attempt failed again. still no root access :(
[Nexus S General] sanginbc:
finally rooted my sns

finally did it after all the hard work using the handy guide with some problems but finally roooted my sns...the only problem now is i lost everything except the contact which are saved on google account...how do i backup my sns???...at least for the next time i do something that will erase everything...i will be very thankful if someone gave me the idea to backup my sns...
[Nexus S General] adrian.gab:
ah i see what's going on. dont follow the instructions again. your phone is rooted. if at a terminal you type su and you get the superuser app popping up to confirm permissions (or you see a popup balloon message saying access granted) and it changes from $ to #, that means you have root.

for some unknown reason titanium did not work for me. i tried heaps of things reboot plus downloading busy box installer from the marktet but to no avail (that app installed a version of busy box and noted there was another one already installed, no doubt from titanium). i tried titanium some time later and then all of sudden it worked. i hadn't done anything different. trust me.

my bet is give it a couple reboots wait a few hours and it will fix itself. it certainly doesn't make sense to me but that's what happened.
[Nexus S General] iori:
That's really weird

I installed several apps that need superuser access

And all of them has granted access without problem and listed in SU app list

Bbut stil my nexus is not rooted

I test it with nexus torch etc all stated I'm not rooted

But thanks anyway for your reply

May be with several reboot can fix
[Nexus S General] michaelmruffin:
Interesting problem. I flash the recovery img but when I reboot, it returns to stock.
[Nexus S General] ripperrs:
if you want to keep the clockwork recovery you have to rename it. it is written in the guide and in some posts in this thread.

"# Download the clockwork recovery recovery-clockwork-3.0.0.0-crespo.img image, and save it to the ..\android-sdk-windows\tools directory

# renamed it to recovery.img

# then type fastboot flash recovery recovery.img"

if you want to keep the stock recovery in order to flash the clockwork type "fastboot flash recovery recovery-clockwork-3.0.0.0-crespo.img" (you have to do this part again after the rebbot if you keep the stock recovery)
[Nexus S General] AllGamer:
maybe you are missing the correct BUSYBOX version required by those apps

if you do not have root access, you would not be able to run / install SuperUser
[Nexus S General] wargy:
how can we install the latest busybox?
[Nexus S General] ripperrs:
its in the market. search it
[Nexus S General] mrnexus:
can someone help I am stuck at the first part were you have to click let me pick from q list of device drivers and everytime I click it android bootloader interface doesn't show up can someonehelp?

Sent from my Nexus S
[Nexus S General] Bipin saspara:
i tried to install device driver but i have no success. Can you please help what could be reason? i downloaded from different place and tried but still no luck.
[Nexus S General] AllGamer:
which Windows OS are you using?
[Nexus S General] AllGamer:
did you select the USB drivers download during the Android SDK download?
[Nexus S General] mrnexus:
Vista

Sent from my Nexus S
[Nexus S General] AllGamer:
make sure the phone is plugged in to the computer

and it is in the boot loader screen

if it's not in the boot loader screen it will not show up

if you see the Android 1.0 in question mark, the you can change the driver to use Android Bootloader Interface, using the manual selection method
[Nexus S General] iori:
yes you are absolutely right

sorry for my dumb cause i thought busybox was automatically installed with all those steps

after i install busybox from market most apps that need root are working well

thanks
[Nexus S General] Mujja:
Thanks for the guide.

You should add a steap to install the SDK and select the USB drivers. I just unzipped the download, searched for the drivers, installed using the defaults and searched for the drivers again util I read your post.

This needs to be a complete novice guide will ALL steps included please.
[Nexus S General] mrnexus:
Its plugged in the computer and its in the bootloader screen but I can't find the android bootloader interface

Sent from my Nexus S
[Nexus S General] TheUnlockr:
How To Root the Nexus S Video for Newbies

Did a quick video of this procedure for newbies here -

http://theunlockr.com/2010/12/17/how-to-root-the-samsung-nexus-s/

UPDATE: I redid the procedure and video at that link to fix some issues in the original procedure at this point here:

"Then back on the SNS select Power Off (Reboot also works)

Power ON the SNS

...meanwhile the SNS is rebooting Download superuser from http://xdaforums.com/showthread.php?t=682828

choose the Eclair/Froyo version

Mount the USB storage"

I redid that section since if you do that you can't boot into recovery (cause it is rewritten with the new 2.3.1 update).

So if you were having issues at that point I put a different way of doing the procedure to get around that.

Hope that helps some people out!

Feel free to add this to your first post if you find it useful :)
[Nexus S General] SaHiLzZ:
Thanks.

I am noob to Android, and this was one of the well written guides I have seen!
[Nexus S General] distortedloop:
I think the first post should be updated to reflect the download link to the latest version of CWM recovery: http://koush.tandtgaming.com/recoveries/recovery-clockwork-3.0.0.5-crespo.img
[Nexus S General] AtomicPC:
I'm seriously considering rooting my Nexus S and this is a well written guide but I still have questions.

Can you back up all your apps before you root the device? (Or can you root your device without losing all that stuff? Just root and no custom image?) What's my best option here?

Why root? Before when I had my G1 I understood it. (I chickened out though.) I could run custom roms. Now the only benifit I can see is taking screenshots. What else can I do? I'm not knocking on you guys, I think it's awesome. I don't understand everything though. I ran Linux exclusively for several years to extend the life of my last PC. Newbied on Slackware so I'm no stranger to commandline stuff. But like I said, I don't understand the other benifits. Maybe list apps that would beinifit me that require root access. I like the idea of being ad free for sure.
[Nexus S General] shrivelfig:
http://www.appbrain.com/search?q=root