yashsingh1/xdaforums huggingface dataset:
[Nexus S General] Pi3rluigi:
Sure,just read post #211 and apply the little changes due to new releases of CW recovery and su.bin
[Nexus S General] codenamedroid:
mac all day. lol
[Nexus S General] godsonbx:
Appreciate this!
[Nexus S General] corgan1001:
Works Great! Thanks for the guide
[Nexus S General] lanwellon:
Good news !! really helpful info for me.
[Nexus S General] Rabbit_52:
thanks very much!
[Nexus S General] gie666:
can nexus s use this?
[Nexus S General] Pi3rluigi:
Sure,you are in the Nexus S section,:rolleyes:
[Nexus S General] Pi3rluigi:
These are the new touch recovery

Nexus S http://download.clockworkmod.com/recoveries/recovery-clockwork-touch-5.8.0.2-crespo.img

Nexus S4G http://download.clockworkmod.com/recoveries/recovery-clockwork-touch-5.8.0.2-crespo4g.img

put it in the androidsdk/tools folder and replace at the end of the string you have to digit in the terminal (step6) whit the correct name of the file

Pay attention:use the right one for your device

You can refer for touch recovery,here http://xdaforums.com/showthread.php?t=1471120
[Nexus S General] orankashaw:
Trouble booting into Clockwork Mod Recovery

I can't accomplish these steps:

1) Reboot your phone, and download the app "Root Explorer" from the Market

Instead I'm using ES File Explorer and I've enabled "Root Explorer" and "Mount File System."

2) Open Root Explorer and navigate to the "etc" directory.

Finally found this after a while.

3) Tap on the gray box that says "Mount R/W"

I can't find this.

4) Tap and hold on the file "install-recovery.sh" and rename this file to "install-recovery.sh.old"

Definitely can't find this.

5) Download the app "ROM Manager"

I have this.

6) Open ROM Manager and choose "Flash ClockworkMod Recovery". At this point you are all set .

I already did this/don't have the option to do it again.

I'm on an AT&T Nexus S and this is making me sad. I'm so close that I can feel it but now I'm completely stumped. Thanks guys!
[Nexus S General] Pi3rluigi:
Your phone is running ICS?

If the answer is yes,you don't need to rename install-recovery old,couse it was removed :)

What kind of recovery have you flashed at step 6 of the guide?if you flashed the touch one,rom manager doens't see it installed couse was a premium feature,it should say that is available!

You can do a test:in Rom Manager tap on reboot recovery,your phone turn off and on,if it enter in recovery you're done;if not post here what happens and I'll try to give you an hand!
[Nexus S General] ImSevenup:
Nice!

Works fine for me, safe and easy.
[Nexus S General] TheArtist8:
Awesome post! Thanks!
[Nexus S General] Cruz182:
if i root my nexus i lose warranty ?
[Nexus S General] Pi3rluigi:
Read the first post, it is all explaned

Inviato dal mio Nexus S usando Tapatalk
[Nexus S General] se_bastian:
does this tutorial work with 4.0.3? cause in the first entry it says you need 2.3.1... i have manually updated to 4.0.3 in december before google stopped the OTA update!
[Nexus S General] Pi3rluigi:
Yes it works,search my previous posts for some updated info

Inviato dal mio Nexus S usando Tapatalk
[Nexus S General] Scudderb:
Alright, few DUMB questions...

I prefaced this post nicely, huh?? ;) Believe it or not, I actually

read

previous posts and don't think these questions were raised. I also much say this is VERY new to me. I have a rooted EVO for a year plus but the method was one-click easy stuff and I

just

got a Nexus S 4G this afternoon!

My questions...

My phone is a Sprint Nexus S 4G and came with Gingerbread 2.3.7 installed but I am being prompted for the 4.0.

4

OTA update...

(1) PRELIMINARY DUMB QUESTION: Does the method described work on my Nexus S 4G....does it matter if it is S or S 4G??

(2) Does the method described in this thread work

after accepting

the 4.0.4 update?? (I have only seen reference to 4.0.3)

(3) Would it be recommended to unlock the bootloader and/or root

while running GB 2.3.7 and BEFORE accepting the 4.0.4 OTA

or accept the 4.0.4 OTA and THEN unlock/root?? That are the pros/cons of each option if both are available?? I mean I could root out of the box and then flash a current ICS 4.0.x ROM but is there any benefit to rooting AFTER accepting the OTA??

THANK YOU!!
[Nexus S General] Pi3rluigi:
Answer to question 1: the method works for Nexus S/S4G, you MUST pay attention to which recovery .zip file you flash cause the difference is there:two different recovery,I think due to different phone part!

Answer to question 2-3:as I understand,you never unlocked and rooted the phone,so I suggest to accept the OTA update and then do the procedure,couse many people with rooted phones get error 7 issue.
[Nexus S General] Scudderb:
Thanks for your time and your reply! I went ahead and accepted the OTA today...will consider unlocking the bootloader and more a bit later.

Thank you...
[Nexus S General] jawonder:
I'm trying to use the fastboot method here to flash a different recovery on my CDMA Galaxy Nexus this works ~/Desktop/androidsdk/platform-tools/adb reboot boot loader -but i can't get the fastboot to work i put the recovery i want to flash at the end like this ~/Desktop/androidsdk/tools/fastboot flash recovery ~/Desktop/androidsdk/tools/twrp-toro-2.1.0.img it tells me "no such file in directory" and the file is there just as i named it at the end of the command. In the androidsdk/tools folder i have- adb, fastboot and twrp-toro-2.1.0.img , am i doing something wrong or this can't work ?. I also tried another recovery and i got the same thing "no such file in directory".
[Nexus S General] Pi3rluigi:
Are you using the sdk downloaded from post #1?

Have you installed the su file before?

As you are trying on a Galaxy Nexus,I'm not sure this can be apply to your phone!
[Nexus S General] jawonder:
No i have the SDK from google installed everthing works ADB runs fine i can see my device and i used the method on here to get into fastboot i just can't get it to flash the recovery in fastboot which is what i need. My phone is rooted and have a recovery but just need to get fastboot on my Mac working so i can flash another rocovery if i want to. I rooted my phone using my PC but the drivers give so much problems it would be much easier on the Mac. The hardest thing to find is how to Fastboot on Mac i came across this thread and was happy to see Fastboot using Mac .
[Nexus S General] Pi3rluigi:
Try using the sdk from first post,or adb root before adb reboot
[Nexus S General] amedika:
Hey, quick question... if running stock I9020A 4.0.4 with an unlocked bootloader, I can just start from step six right?! with the correct image of course!!

can someone point me to the newest image!? :o
[Nexus S General] Pi3rluigi:
Yes,you can start from step 6!

Here:

http://www.clockworkmod.com/rommanager

you can find the two version of the latest recovery available for Nexus S.

If this helped you,hit thank button :)
[Nexus S General] amedika:
strike that//

its the touch recovery right haha?

also the "su2361.ef.zip" must be outdated if I'm running stock 4.0.4 no?
[Nexus S General] amedika:
done and done.. on a a couple posts I found very helpful! :Dhaha
[Nexus S General] Pi3rluigi:
About su file:in a previous post of mine, I linked the newst one;but if you install this one,it could be updated from the app superuser.
[Nexus S General] amedika:
So heres the update!

my phone seems to be up and running .. but I cant rename the 'install-recovery.sh'..

every time I try with root explorer I get a message saying " action cannot be performed this is a read only file"

and with es explorer when I go to enable the root explorer i get "Sorry, test failed. This cannot run on your phone."

I also went a few steps back and tried testing it with rom manager and it doesnt reboot into recovery when I try that either!

any ideas!? I really do appreciate the help!!
[Nexus S General] Harbb:
You need to be rooted (not just unlocked). Flash the latest superuser.zip in a freshly flashed recovery then enable root explorer in ES, make sure /system is mounted too (option underneath root exploring) and then proceed to rename that file.
[Nexus S General] amedika:
Hey man,

let me clarify, even if I reflash it. Which has been done. Still no luck.

So this I am aware, the steps you described are my problem.. thanks though.

UPDATE: So on the 3rd try for tonight, 5 over all ..it worked.. i dont know why it did this time or why it wouldnt go before but it did!

weird! but Im happy with the results and its running solid!

THanks so much to all who helped!
[Nexus S General] hungbunny:
So I attempted rooting my NS using the original post, but my NS is running ISC 4.0.4, so I think it did not work. everything went smoothly until step 17. I installed Root Checker on my phone, and it told me I don't have root. I think this is because from this step on nothing worked:

At this point you have root, but your phone will continue to replace ClockworkMod Recovery on reboot. To prevent this, do the following:

1) Reboot your phone, and download the app "Root Explorer" from the Market

2) Open Root Explorer and navigate to the "etc" directory.

3) Tap on the gray box that says "Mount R/W"

4) Tap and hold on the file "install-recovery.sh" and rename this file to "install-recovery.sh.old"

5) Download the app "ROM Manager"

6) Open ROM Manager and choose "Flash ClockworkMod Recovery". At this point you are all set .

I could NOT rename the file "install-recovery.sh" as it said it was read only, and ROM Manager gives me an error when flashing ClockworkMod.

Since these final two steps did not work, I don't think I have root, although SU is installed. Now how do I proceed? Start all over? start from and intermediate step? My bootloader is unlocked. Thanks for the help!
[Nexus S General] Pi3rluigi:
At your step 3 the grayed box turns to Mount R/O ?

Try to update the SU .bin using Superuser App that has been installed.
[Nexus S General] hungbunny:
Nope, I tap that button but nothing happens, stays as "Mount R/W"

Also, I updated the Superuser app from the play store to the newest one:

v3.0.7 (41)

But that didn't do much it looks like....
[Nexus S General] Pi3rluigi:
Maybe the SU install wasn't succeffully, do another time all the steps,using the last SU .bin,instead of the one that came with the file of the first post.

You can google for it or check my previous posts

Inviato dal mio Nexus S con Tapatalk 2
[Nexus S General] hungbunny:
Thanks for the help! Will i also need to re-install root explorer, rom manager, and rename files etc? I will let you know how it goes? I'm new to this, how can you be sure your phone is actually rooted? Like now I can't tell, I have superuser installed but no activity in it....
[Nexus S General] Pi3rluigi:
You are rooted if you can access system files and modify them.

Another test you can do is install Titanium free from the market, it needs rooted device to work.

Let me know

Inviato dal mio Nexus S con Tapatalk 2
[Nexus S General] amedika:
yah!

Hey so after rooting a different i9020A phone, I discovered that the best way to go to go is exactly this method but replace the clockwork with the latest and same for the SU zip you need to flash.

so your looking for 'Superuser-3.0.7-efghi-signed.zip' and 'recovery-clockwork-touch-5.8.0.2-crespo.img'
[Nexus S General] vix1981:
Used these this morning and was successful. Great thread!
[Nexus S General] amedika:
Thank Pi3rluigi for guiding us in the right direction!:D
[Nexus S General] Pi3rluigi:
Maybe a new thread,with updated files, is necessary!Next ICS update I will open it,after testing :D
[Nexus S General] parlapipas25:
very good guide!
[Nexus S General] _So3r3n:
thanks a lot.

I searched a long time for a manual like this!
[Nexus S General] nexus2526:
Thanks this guide worked perfectly
[Nexus S General] EraqEE:
I used this guide a few days ago to root my Jelly Bean device so it still works :)
[Nexus S General] anand224patel:
My Nexus S i9020T won't boot past the Google splash screen* (with an unlocked padlock at the bottom)

Can you Please Explain the Same Procedure in Windows XP or Windows 7.
[Nexus S General] Pi3rluigi:
Give a look here:

http://xdaforums.com/showthread.php?t=895545

Read carefully the note in part 1
[Nexus S General] kindasport:
stuck

I was trying to unlook my nexus s and it went well until the step 1) "Reboot your phone, and download the app Root Explorer from the Market "

the problem is: i can't find such an app. i tried to install another explorer app but there wasn't a "gray box that says "Mount R/W". So i lost all my data but it's okay. I made a little backup but it's still annoying anyway.

Actually i wanted to test out with CM 10 to use it with my nexus 4 when it arrives but now that i see that it's such a hassle, i don't know if i will go on because i don't want to loose my guarantee for this..
[Nexus S General] Amin Sabet:
I would write such a guide if I had been able to figure it out!
[Nexus S General] jroid:
That path specifies that the sdk is on the desktop, but if its not it won't work. He also doesn't really need to be admin for it to work because it doesn't require root on the Mac to execute. Just download the sdk, place on desktop for easy reference, open up terminal, type cd (hit space) open sdk and drag tools folder and drop in terminal window (which auto generates the correct path) press enter. Then adb devices should read the phone (assuming adb is in the tools directory) and u have your phone on USB debugging.

You also need to type it like this for it to execute on Mac and Linux:

./adb devices

Sent from my Nexus S
[Nexus S General] Amin Sabet:
Yes, which was specified in Step 2 of the OP.
[Nexus S General] jroid:
Ok, I'm just pointing that out because maybe his sdk was in the downloads folder or somewhere else.

Sent from my Nexus S
[Nexus S General] WilliamStern:
Ok, let me start off by thanks guys for really trying to help me out here when you really don't need. It's because of guys like you that make me enjoy xda so much.

Thank you!

Now, I'm gonna give this another shot, and type my steps. Only issue I seem to have is I cant get bootlader to unlock because commands wont go to my phone.

androidsdk folder is on my desktop with tool, platforms, platform-tools within it.

I'll plug in my phone (debugging) is checked off, and I see my "no name" device on my desktop.

I'll open up my terminal (Applications>Utilities>Terminal)

I entered this command now changing "Amin"

/Users/Amin/Desktop/androidsdk/platform-tools/adb devices

It finally found my device.

Yes! I unlocked the bootloader now!

Now I this as far as I can get. I can't get su-2.3.6.1-ef-signed.zip flashed.
[Nexus S General] WilliamStern:
This is what I'm getting...

/fastboot flash recovery /Users/Amin/Desktop/androidsdk/tools/recovery-clockwork-herring.img

error: cannot load '/Users/Amin/Desktop/androidsdk/tools/recovery-clockwork-herring.img'
[Nexus S General] BuzzSpan:
I want to thank you for this post. I'm going to try it out. I was waiting for someone to write up a step by step guide for rooting nexus s on the mac! Thanks!
[Nexus S General] BuzzSpan:
Anyone else having troubles downloading fastboot on the mac?

I tried chrome, safari and firefox. After I click 'download', it just opens in a new browser and won't let me save to deskstop.
[Nexus S General] jroid:
Here you go.
[Nexus S General] WilliamStern:
BAM, I HAVE ROOT!!!!!!

Finally!

I want to thank everyone here for all the hard work! Thank you to OP for the step-by-step on how to root using a Mac.

I officially rooted my first phone without using a one-click root method.

You guys f@*king rock!

Last question... should I leave the bootloader unlocked, or should I lock it up again?
[Nexus S General] BuzzSpan:
I get a permission denied on step 10.

I tried switching to 'su', put in my password and it says su: Sorry.
[Nexus S General] jroid:
where is the recovery.img located? you're telling fastboot with that path that it's on the tools directory of the sdk. If it is, don't put it in there you shouldn't be. Put everything on desktop and run the command again:

./fastboot flash recovery /Users/Amin/Desktop/recovery-clockwork-herring.img

also, is your fastboot binary named fastboot? If you got it from HTC's dev center they have it named as fastboot-mac. When you enter the command you need to specify exactly how the binary is named for example:

./fastboot-mac flash recovery etc etc

or

./fastboot flash recovery etc etc

to have a little less typing, I suggest you just rename it to fastboot if it's currently named fastboot-mac, just sayin ;)
[Nexus S General] jroid:
what are you getting permission denied from?

are you unlocking or flashing recovery?
[Nexus S General] BuzzSpan:
I am unlocking.

/Users/Amin/Desktop/androidsdk/tools/fastboot oem unlock

At that step (i know Amin is where my name is).
[Nexus S General] jroid:
try this:

/Users/your_dir/Desktop/androidsdk/tools[B]./fastboot oem unlock[/B]

./ is your friend on mac ;)
[Nexus S General] WilliamStern:
I got root, thanks for all your help.
[Nexus S General] jroid:
I know that, but were you able to flash clockwork recovery
[Nexus S General] WilliamStern:
Yes I was. I saw the mistake I was making and fixed it. Do you know if I can use Rom manager now?
[Nexus S General] BuzzSpan:
MacBook-Pro:~ Johnni$ /Users/Johnni/Desktop/androidsdk/tools./fastboot oem unlock

-bash: /Users/Johnni/Desktop/androidsdk/tools./fastboot: No such file or directory

:-( fastboot is in there. followed all the instructions.
[Nexus S General] Amin Sabet:
Did you try control-click (right click) and choose "Download Linked File As..."?
[Nexus S General] URPREY:
Just wanted to say thanks for the great guide! My NS was rooted before I ever actually used it!
[Nexus S General] Amin Sabet:
What was the issue? Maybe someone else can benefit from knowing...
[Nexus S General] beetlejelly:
Thanks!

Thanks for this guide.

How would one completely undo this to make the phone factory fresh?
[Nexus S General] ztm.000:
Yeah... permission denied still. what the ****, everything is done right, how do we remove the permission block... thx
[Nexus S General] beetlejelly:
I had to go back into recovery, then select "mounts and storage," click "mount /system," then go back to "install zip from sdcard," and finally select the "su2361ef.zip." After that, I had root.
[Nexus S General] ztm.000:
Thank you, I'll keep this in mind for when I need to flash the recovery, but I am still stuck on unlocking the bootloader, permission denied. So therefore, I cannot continue.
[Nexus S General] WilliamStern:
I kept forgetting to change /User/Amin/ in the second part of this command.

/Users/Amin/Desktop/androidsdk/tools/fastboot flash recovery /Users/Amin/Desktop/androidsdk/tools/recovery-clockwork-herring.img
[Nexus S General] ztm.000:
Did you have permission denied problems?
[Nexus S General] WilliamStern:
I just kept getting an error till I double checked what my typo was.
[Nexus S General] Amin Sabet:
I have no idea. Was wondering the same thing :).

You're welcome, and I have no idea!
[Nexus S General] ztm.000:
No typo for me, just PERMISSION DENIED. Gahdamn this is pissing me off..

Thanks for the guide though Amin
[Nexus S General] WilliamStern:
What part are you stuck on?
[Nexus S General] ztm.000:
Unlocking the bootloader. I am no n00b either, everything is placed right, i just cannot get past the permission denied wall...
[Nexus S General] WilliamStern:
Oh man I was having the same issue with this last night too, and I just couldn't get it to unlock.

My issue was that my terminal just wouldn't read my device at all.

Does yours show that you have a device?
[Nexus S General] ztm.000:
I believe that this is also my issue, how did you get your terminal to finally read your NS in fastboot?
[Nexus S General] WilliamStern:
This is the command that finally did it for me.

/Users/Amin/Desktop/androidsdk/platform-tools/adb devices

you are changing Amin right?
[Nexus S General] Amin Sabet:
Zack, do you have USB debugging enabled on your phone?
[Nexus S General] ztm.000:
Yes I am, let my try that command really quick.

Yes I do my good man
[Nexus S General] ztm.000:
Ran the command, NS does NOT appear on the list of connected devices.
[Nexus S General] WilliamStern:
Hmmm... and you have the sdk on your desktop right?
[Nexus S General] ztm.000:
Correct, everything is in it's designated place. Triple-checked.
[Nexus S General] WilliamStern:
and you're also replacing the "Amin" name as well?

I'm sure you are. I'm just trying to go down the line to see what it could be.
[Nexus S General] ztm.000:
Yes I am :) Thanks for helping guys. It's a bummer and I would like to achieve root before work at 4
[Nexus S General] WilliamStern:
I also had my phone connected to my Mac when I entered the command I gave you above.
[Nexus S General] Amin Sabet:
Zack, are you able to see "adb" file inside the "platform-tools" folder (which itself is inside the "androidsdk" folder on your Desktop)?
[Nexus S General] ztm.000:
As did I, your phone was also in FASTBOOT, correct?

Yes I can see that there, androidsdk is on my desktop, platform-tools is there inside androidsdk, adb is also inside platform-tools which is inside androidsdk, which is located on my desktop. haha :)
[Nexus S General] ztm.000:
I've even rebooted my computer.
[Nexus S General] irishrally:
Put adb in tools instead of platform tools, that's where the instructions say to put the other files. Also, all the commands listed are from within tools, not platform tools. You are trying to execute adb in the tools folder but it's really in the platform tools folder.
[Nexus S General] Amin Sabet:
:D

What is the exact error message you're getting?
[Nexus S General] Amin Sabet:
adb was moved to platform-tools by default with Gingerbread, and the instructions in the OP won't work if adb is in tools.
[Nexus S General] ztm.000:
Ok I moved it, let me try.

After the command is entered is repeats the command : permission denied.

So wait, DON'T put it in tools?
[Nexus S General] ztm.000:
Still permission denied, even with adb moved into tools. This shouldn't be this difficult... :(
[Nexus S General] Amin Sabet:
Zack, don't move it into tools. Leave in platform-tools. What happens when you add sudo, ie:

sudo /Users/[COLOR="Red"]Amin[/COLOR]/Desktop/androidsdk/tools/fastboot oem unlock
[Nexus S General] jroid:
you don't have fastboot in your tools directory of the sdk. i posted fastboot a cpl pages back, download it, unzip and put that in the tools folder, then try the ./fastboot oem unlock again
[Nexus S General] URPREY:
There is an extra period in there after /tools

FYI - on Mac, you can drag a file (such as Fastboot) to the terminal window and it will automatically fill in the path for you. Makes it much easier
[Nexus S General] jroid:
I have been saying this, but they're not listening :p
[Nexus S General] GameOver69:
I followed the directions in the first post to the letter, and was able to do everything. I have superuser installed, but it seems that i do not have root access?

When i installed titanium backup, superuser comes up, i give it access, but Titanium tells me i do not have root access. My bootloader is unlocked, i installed the recovery image, and have superuser installed?

any ideas?
[Nexus S General] irishrally:
Hit "problems?" in titanium backup to download busybox.
[Nexus S General] Amin Sabet:
Are you sure you mounted /system before flashing the Superuser zip? That seems to be the step missing when people go through all the steps and find themselves without root in the end.
[Nexus S General] GameOver69:
Tried. Wont install cause I Sony have root access
[Nexus S General] GameOver69:
Forget it guys. Tried busy box again and it worked. Thanks
[Nexus S General] ztm.000:
Let me try that, both with fastboot in tools and in platform-tools...

Yea, I am aware of this, thanks anyway? ha

I do have fastboot in tools, do not tell me what I don't have, do not speak condescendingly to me, it'd be much appreciated.

...