Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
gullu101
Old
#1  
gullu101's Avatar
Senior Member - OP
Thanks Meter 89
Posts: 324
Join Date: Jan 2011
Location: Ann Arbor, MI
Default [Guide] Step by step guide to rooting your Nexus S (works with NS4G, I9020T, I9023/A)

This guide is a slightly modified step-by-step write-up of m.sabra’s one click root guide found at http://forum.xda-developers.com/show....php?t=1589251, so please head over to his thread and thank him! I thought making a step-by-step guide would be helpful in case anyone wanted to see how exactly rooting this phone happens.

This guide is for rooting your Nexus S [works with NS4G, I9020T, I9023, and I9020A variants]. By the end of this guide, your device will have an unlocked bootloader, a custom recovery, root access and Superuser app, and the ability to flash ROMs and kernels.

[Disclaimer! Your warranty is now void. I am not responsible for bricked or damaged devices! You are choosing to follow this guide]


Step 0: Download and extract the file found here http://d-h.st/gcZ to your C:/ drive (for simplicity’s sake).
Plug in your phone and put it into USB Debugging Mode, found by going to Settings>Applications>Development (in Gingerbread) or Settings >Developer Options (in Ice Cream Sandwich).
Extract and install the drivers included if you don’t already have them installed.

Step 1: Turn your phone off.
Then, press both the volume up and power button.
You should now be in the Android Bootloader Interface (with a green Android and the options for Reboot, Recovery, Reboot Recovery, and Power off)

Step 2: Now, we have to open a command prompt and change the directory to the location where we have extracted the files (which, if you followed step 0, should be in the C:/ drive).
Open a command prompt and type “cd C:\Nexus S One Click Root.”
We should now be in the correct directory for using fastboot commands.

Step 3: Type the command “fastboot oem unlock” and press enter.
A screen should pop up on your Nexus S.
Use the volume buttons to scroll and the power button to select “Yes” (as the screen says, picking yes WILL wipe everything on your device).

Step 4: Type the command “fastboot flash recovery cwm.img”.
Press enter.
Then type “fastboot boot cwm.img”.
Press enter.

Step 5: Now we have to mount USB storage to copy over the Su.zip file and install it.
Tap or use the volume keys to scroll and select “Mounts and Storage” > “Mount USB Storage” [you have to scroll down to get to it].
Copy the su.zip file to your Nexus S.
Press “Go Back” twice to return to the main menu.

Step 6: Press “install zip from SD card” [you can also use the volume buttons to scroll and the power/lock button to select].
Press “choose zip from SD”.
Press the “su.zip” file you placed on the SD card earlier.
Press “Yes.”

Congratulations! Your phone is now rooted! Select “Reboot System Now” and enjoy!

HTC One m7wls ~ 4.1.2 JB (viperROM 1.1.0, stock kernel)

Samsung Toroplus ~ 4.2.2 JB (Xylon 4/16/13, AK Diamond 044)

Samsung Nexus S 4G ~ 4.0.4 ICS (Apex 1.1.2, Air Kernel 4.0)

Samsung Fascinate SCH-I500 - toy device ~ 4.2.2 JB (AOKP 4/14, stock kernel)


Transformer Prime TF201 ~ Cracked and Sold

My step by step guide to rooting the Nexus S [works with other Nexus devices]

Logo2menu, Logo2wake demo @ goo.gl/k4OO3

The Following 9 Users Say Thank You to gullu101 For This Useful Post: [ Click to Expand ]
 
Ashhong
Old
#2  
Senior Member
Thanks Meter 21
Posts: 353
Join Date: Feb 2011
Thanks for this, the other guide was a bit out of date and hard to follow.

However, is there any way to root without erasing everything? I know there is a method to root without unlocking the bootloader and saving the SD card contents, but will that also keep all the apps and settings? Don't really want to redownload the programs and set the phone up again.
 
gullu101
Old
(Last edited by gullu101; 29th May 2012 at 08:52 PM.)
#3  
gullu101's Avatar
Senior Member - OP
Thanks Meter 89
Posts: 324
Join Date: Jan 2011
Location: Ann Arbor, MI
Quote:
Originally Posted by Ashhong View Post
Thanks for this, the other guide was a bit out of date and hard to follow.

However, is there any way to root without erasing everything? I know there is a method to root without unlocking the bootloader and saving the SD card contents, but will that also keep all the apps and settings? Don't really want to redownload the programs and set the phone up again.
Sorry, if there is a way to this without wiping the device I don't know it. Google backs up your contacts and wireless networks and keys and the Play Store remembers your apps (not their data), but that's it. :(

HTC One m7wls ~ 4.1.2 JB (viperROM 1.1.0, stock kernel)

Samsung Toroplus ~ 4.2.2 JB (Xylon 4/16/13, AK Diamond 044)

Samsung Nexus S 4G ~ 4.0.4 ICS (Apex 1.1.2, Air Kernel 4.0)

Samsung Fascinate SCH-I500 - toy device ~ 4.2.2 JB (AOKP 4/14, stock kernel)


Transformer Prime TF201 ~ Cracked and Sold

My step by step guide to rooting the Nexus S [works with other Nexus devices]

Logo2menu, Logo2wake demo @ goo.gl/k4OO3

 
Moritzio
Old
#4  
Member
Thanks Meter 6
Posts: 71
Join Date: Nov 2008
I'm already unlocked from rooting 2.3.7. I then did an OTA update to ICS. I checked that bootloader still says lock status is unlocked. Can I just start with step 4? I don't want to wipe anything as some data still needs to be backed up and I need superuser installed to do that.
The Following User Says Thank You to Moritzio For This Useful Post: [ Click to Expand ]
 
gullu101
Old
#5  
gullu101's Avatar
Senior Member - OP
Thanks Meter 89
Posts: 324
Join Date: Jan 2011
Location: Ann Arbor, MI
Quote:
Originally Posted by Moritzio View Post
I'm already unlocked from rooting 2.3.7. I then did an OTA update to ICS. I checked that bootloader still says lock status is unlocked. Can I just start with step 4? I don't want to wipe anything as some data still needs to be backed up and I need superuser installed to do that.
Sorry for the late reply.
Yeah you should be able to do that with no problem.


Sent from my Nexus S 4G

HTC One m7wls ~ 4.1.2 JB (viperROM 1.1.0, stock kernel)

Samsung Toroplus ~ 4.2.2 JB (Xylon 4/16/13, AK Diamond 044)

Samsung Nexus S 4G ~ 4.0.4 ICS (Apex 1.1.2, Air Kernel 4.0)

Samsung Fascinate SCH-I500 - toy device ~ 4.2.2 JB (AOKP 4/14, stock kernel)


Transformer Prime TF201 ~ Cracked and Sold

My step by step guide to rooting the Nexus S [works with other Nexus devices]

Logo2menu, Logo2wake demo @ goo.gl/k4OO3

 
JustinBieber
Old
#6  
JustinBieber's Avatar
Senior Member
Thanks Meter 110
Posts: 401
Join Date: Jun 2012
When I type in "fastbook oem unlock" , the command window stops at "< waiting for device >" and it's been a couple of hours and nothing has popped up on the phone screen, how can I get past this? I'm on stock ics 4.0.4
 
m.sabra
Old
#7  
Senior Member
Thanks Meter 473
Posts: 130
Join Date: Sep 2011
Location: Beirut
Quote:
Originally Posted by danshuynh View Post
When I type in "fastbook oem unlock" , the command window stops at "< waiting for device >" and it's been a couple of hours and nothing has popped up on the phone screen, how can I get past this? I'm on stock ics 4.0.4
Make sure you have the phone drivers installed properly.
Galaxy Nexus & Nexus S One Click Root Tool !
[Toolkit] Nexus 7 One Click Root Tool
paypal not available in my country so i can't have a donation button,but you still can send me an amazon gift card with any value to this email m.sabra95@gmail.com by clicking here Thanks.
The Following User Says Thank You to m.sabra For This Useful Post: [ Click to Expand ]
 
Warren_Orange
Old
(Last edited by Warren_Orange; 16th October 2012 at 02:37 PM.)
#8  
Senior Member
Thanks Meter 41
Posts: 444
Join Date: Jun 2011
Does this work on Jelly Bean??

Can I replace the SU.zip file with the latest chainfire release or is the one included in the download ok?
 
gullu101
Old
#9  
gullu101's Avatar
Senior Member - OP
Thanks Meter 89
Posts: 324
Join Date: Jan 2011
Location: Ann Arbor, MI
Yes, it should work with Jellybean. Just remember to enable USB Debugging.

You can either use the SU in the download and update it via the play store after you're done rooting or just use the latest one from the start. Whichever one you prefer.

Sent from my Galaxy Nexus using xda app-developers app

HTC One m7wls ~ 4.1.2 JB (viperROM 1.1.0, stock kernel)

Samsung Toroplus ~ 4.2.2 JB (Xylon 4/16/13, AK Diamond 044)

Samsung Nexus S 4G ~ 4.0.4 ICS (Apex 1.1.2, Air Kernel 4.0)

Samsung Fascinate SCH-I500 - toy device ~ 4.2.2 JB (AOKP 4/14, stock kernel)


Transformer Prime TF201 ~ Cracked and Sold

My step by step guide to rooting the Nexus S [works with other Nexus devices]

Logo2menu, Logo2wake demo @ goo.gl/k4OO3

 
Warren_Orange
Old
#10  
Senior Member
Thanks Meter 41
Posts: 444
Join Date: Jun 2011
Awesome thanks!

Do you think I should wait for the OTA 4.1.2. then unlock and root? I take it that it will boot me back into a factory reset 4.1.2.? Can I then flash a custom kernel??

I'm not really into trying different ROM's, I really just want Voodoo sound on my Nexus S.

What about the clockwork mod in the folder? Will that version be ok?

Cheers.

 
Post Reply+
Tags
fastboot, nexus s, one-click, root, step-by-step
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...