yashsingh1/xdaforums huggingface dataset:
[Nexus S General] kenvan19:
I'm sorry but I am currently away from my home. Ill be back at homr later today and ill be able to offer you some help then however in the meantime some more information would be helpful: what step is giving you the error? Did you download the files I provided and use those ( they will only work on a mac)

Sent from my MattedBlues CM7 Nexus S from the XDA Premium app.
[Nexus S General] kenvan19:
If you're in root explorer its a light grey box in the upper right hand corner.

Sent from my MattedBlues CM7 Nexus S from the XDA Premium app.
[Nexus S General] mustafa_000000:
Actually, I couldn't find an app in the market that is named "root explorer"

I am using "super manager" to access the files. Still couldn't find it.
[Nexus S General] kenvan19:
Sent you a pm.

Sent from my MattedBlues CM7 Nexus S from the XDA Premium app.
[Nexus S General] kenvan19:
I hate it when people do this but I'm bumping this so people use the new versions of clockwork and SU
[Nexus S General] carlost24:
Did you update your links or do we have to look for the new versions?
[Nexus S General] kenvan19:
No my links are the newest...the stickied guide does not have the newest links however.
[Nexus S General] madhartigan:
Root Explorer is a paid app. Any suggestions that are free?
[Nexus S General] kenvan19:
You can use adb to do it but I don't really remember the command. I also am sending you a pm.

Sent from my MattedBlues CM7 Nexus S from the XDA Premium app.
[Nexus S General] kenvan19:
Updated the OP to make things a little more concise and easy to follow!
[Nexus S General] kenvan19:
Updated to reflect the fact that a few people are not finding the install-recovery.sh file.
[Nexus S General] glmrckr:
Thank you so much for this awesome guide! Worked perfect for me! :) I wish this one was stickied since the old one isn't updated :(
[Nexus S General] joshthewaster:
Having issues.....

Follow steps 1-4 no problem.

Skip step 5 as my bootloader is already unlocked.

Step six is the issue.

~/Desktop/androidsdk/tools/fastboot flash recovery recovery-clockwork-3.0.0.5-crespo.img

is this command correct? I got errors about no such file.

I tried

~/desktop/adb fastboot/tools/fastboot flash recovery recovery-clockwork-3.0.0.5-crespo.img

and got some other error....

anyway help would would be appreciated, thanks.

Edit: I get the cannot load error.... but instructions to fix it are not working.
[Nexus S General] joshthewaster:
Ok following the steps in post 15 for the cannot load error

joshthewasters-macbook:~ joshthewaster$ ~/Desktop/androidsdk/tools/fastboot flash recovery

error: neither -p product specified nor ANDROID_PRODUCT_OUT set

joshthewasters-macbook:~ joshthewaster$ ~/Desktop/androidsdk/tools/recovery-clockwork-3.0.0.0-crespo.img

-bash: /Users/joshthewaster/Desktop/androidsdk/tools/recovery-clockwork-3.0.0.0-crespo.img: Permission denied

joshthewasters-macbook:~ joshthewaster$

???
[Nexus S General] kenvan19:
Hey man, I'm having trouble figuring out whats wrong for you. I've never seen any of those errors. Did you unlock the bootloader for sure?

The only advice I can give is to try

fastboot boot recovery-clockwork-3.0.0.5-crespo.img
[Nexus S General] joshthewaster:
Bootloader is definitely unlocked. After the first comand it says "LOCK STATE - UNLOCKED" and when rebooting shows the padlock unlocked.

I downloaded the files in your first post, put them on my desktop and ran the commands. So the clockwork file is exactly where it should be.
[Nexus S General] kenvan19:
Have you tried the other command I posted before?
[Nexus S General] joshthewaster:
Like this?

fastboot boot recovery-clockwork-3.0.0.5-crespo.img

-bash: fastboot: command not found

I might be screwing something up on the command line

Edit: the command

~/Desktop/adb-fastboot/fastboot boot recovery-clockwork-3.0.0.5-crespo.img

also gives me the cannot load error
[Nexus S General] kenvan19:
<.< Dammit. I'm not really sure whats going on. A lot of people have issues with that command not working but I've not run into anyone who wasn't able to use the fastboot flash command.

You're sure you enabled USB Debugging on your phone? Its possible that is why you got the permission denied. Short of that solving it the only thing I could think of is using something like teamviewer to let me or someone you trust who knows how to root give it a go.
[Nexus S General] joshthewaster:
I check that every time I retry just to be sure and USB Debugging is always on. I'll try again. Check your PM's.

Edit: Double checked to make sure I had Debugging on. Still got permission denied or cannot load errors depending on the commands I tried.
[Nexus S General] kchino:
It doesn't work because it's not the right command to flash a system image. boot is used to boot a kernel from ramdisk.

Anyone who doesn't know what these commands mean really shouldn't be using them, although it's hard to brick a device this is probably one of the easiest ways.

If you're not sure what any of the commands do in your adb tools folder you can cd in to that folder and just call the command without any arguments. i.e. just type fastboot from the command prompt inside the tools folder.

DON'T do this with your device connected! Better safe than sorry.

You will then be able to see what arguments can and can't be used with that executable. Calling the executable and "help" i.e. fastboot help, is the same difference.

Also you should change your instructions to just move inside your adb tools folder instead of using your arbitrary ~Desktop/blah/blah/blah. If anyone has downloaded or moved their adb folder to a different location these commands don't work.

Hope that helps.
[Nexus S General] kenvan19:
Actually, I got the problem solved in private. I don't use the whole sdk because its not necessary for the rooting process, you only need the adb and fastboot scripts. The fastboot boot command works fine for me in regard to booting a recovery image and not a boot image in fact I just did it:

Last login: Sat Apr 2 18:51:31 on ttys000
**********-***********-MacBook-Pro:~ Ken$ ~/Desktop/adb-fastboot/fastboot boot ~/Desktop/adb-fastboot/recovery-clockwork-3.0.0.5-crespo.img
ERROR: could not get pipe properties
downloading 'boot.img'... OKAY
booting... OKAY
**********-***********-MacBook-Pro:~ Ken$

I actually chose to omit CD commands because in order to CD to a directory you have to have the file path and that requires the user to determine that for themselves whereas if they follow the instructions I provided and unzip the folder to their desktop my commands work perfectly and they only have to copy/paste the commands. In this case the issue was resolved by re-downloading my provided file. That's it.

I know of 15 people who rooted using this guide with no issue, two who had issues that I subsequently fixed and were due to a typo in my guide and this one who has since been rooted not to mention the 5 separate Nexus S' I've personally rooted using this exact method (not counting the number of times I tested and re-tested it on my own device after the two people had an issue due to my own typo).

One of the issues you seem to forget is one you point out: people who don't know what they're doing shouldn't be mucking about which is exactly the reason I omitted change directory commands.
[Nexus S General] kchino:
If you're solving problems in private it's not very helpful to the rest of us now is it? Most of us can figure things out if given good instructions, so I don't have to worry about forgetting anything. There haven't been many posters on this thread and the ones who have posted seem to have issues and I didn't see the fixes for a few of them and was offering my assistance. This forum is peer reviewed development and help, your terminal output has an error, :-P.
[Nexus S General] kenvan19:
Don't like my methods get out of my thread. Simple as that.
[Nexus S General] Bas-Tyra:
Guys, need help .. I am stuck and I think I do not have ROM in my Nexus S. And everytime I try to instal zip from CWM .. the recovery could not mount /cache ..

This is what happened:

- I follow all of the instruction.

- unlocking went well.

- I pushed the CWM 3.0.0.5 ... successful

- install the SU zip... successful

- but in the CWM (at the bottom), there seems to be an error msg;

E: can't find misc

E: failed to find "cache" partition to mount at "/cache

E: Can't mount/cache/recovery/command

E: can't find misc

E: Failed to find "cache" partition to mount at "/cache"

E: Can't mount /cache/recovery/log

E: Can't open /cache/recovery/log

.........

- I ignored it (because I thought it was normal) and reboot system.

- I got root, when I tried to delete the install recovery but could not find it

- so I go to CWM, and it is there .. so I though everything went well (even though I still have the error as mentioned above)

- Downloaded CM7 RC4

- Go to CWM, install zip from sd card ...

- ...... installation aborted ... i saw a lot of error lines .. all related to cache ..

Now I cannot boot to the OS.. stuck at Google logo with an unlocked sign...

I presume I do not have ROM in my Nexus S .. but everytime I try to install it to CWM .. always failed ... (the 'cannot mount cache' thingy)

Can anyone help? I'm quite desperate. I hope this does not mean 'brick' ... can we install ROM from adb/fastboot?

FYI:

This is i90023 retail.

I still can access bootloader

I still can access Recovery

The battery is stil charging when i plug the charger

on Android 2.3.3 GRI54

... no android for me today .. :(
[Nexus S General] omegacell:
Same problem with me Bas-Tyra. Exact same.
[Nexus S General] kenvan19:
Its possible you mighht need a different superuser file. Let me look into it

Sent from my MIUI Nexus S from the XDA Premium app.
[Nexus S General] Bas-Tyra:
Aha .. omegacell .. I just posted under a different thread, quoting your post because we have the same problem ... and here you are doing the same thing :)

If you found a solution, share with me OK ....

reading up on the use of odin flasher .. but that's for windows if I recall ..
[Nexus S General] kenvan19:
If you can get into recovery have you tried flashing a full rom?

Sent from my MIUI Nexus S from the XDA Premium app.
[Nexus S General] Bas-Tyra:
When you said "full ROM" do you mean like CM7 RC4? if so; yes I did .. but the installation was aborted everytime.

Or do you mean the stock rom? I haven't tried that .. but what's the difference with installaing CM7 ROM? If it might make a difference, can you tell me where I can get a "full ROM"

Thanks for your help.
[Nexus S General] kenvan19:
I see, I meant any ROM so that would include CM7. I apologize for not being able to offer exact help right now but I'm currently at a garage having my car fixed so downloading stuff is a bit difficult. My guess is that the issue is that there seems to be a difference in the rooting methods for the i9023 of which I haven't looked into yet. Since you were able to flash CWM fine, I'm assuming the issue stems from a difference in the SuperUser file (the sublahblahblah.zip file you have to flash after going into CWM). I'm currently tethering to my laptop to be able to post this so I'll give downloading a different SU binary a try and if it looks different I'll post that and have you try it, ok?
[Nexus S General] kenvan19:
http://xdaforums.com/showpost.php?p=12373903&postcount=1

Try following the instructions in part 4 on that post. Its for the i9023 but on windows but its not necessary to use adb commands to accomplish what they're doing. Just boot back into CWM and go into mounts and storage and mount USB storage and place the new su zip on the SDcard. Again, I usually like to test these things but as I don't have a i9023 I am unable to do so.
[Nexus S General] omegacell:
Thanks for the reply Kevnan... I have an I9020 and I ran into this problem. Should I try the above superuser? It's one of the new ones with 850 MHz 3G.

EDIT, that's actually the same one that I used...
[Nexus S General] omegacell:
I got impatient and tried flashing with Odin. It's bricked now :(
[Nexus S General] Bas-Tyra:
woa, can you tell us what did u do exactly omegacell? why use odin? I thought kenvan19 suggested to follow the i9023 thread part 4. I hope everythin will be ok with your unit.

@kenvan19: I am currently at work this time. I will try your suggestion tonight. Thx. btw, in Part 3 of the thread, the TO mentioned a different CWM for i9023 .. should i install that too?
[Nexus S General] omegacell:
Yup, use the CWM for i9023 and it will work. I tried on another phone and all is good now.
[Nexus S General] Bas-Tyra:
Solved! I did what you said and flash the CWM for i9023. No more errors. Installed CM7 RC4 .. now I got root ;)

Thx to kenvan19 and omegacell.

@kenvan19: you might want to add a warning to people who want to use your method to root their i9023 about this .. I believe the CWM is different between i9020 and i9023. Thank you for your guide and effort. - Cheers
[Nexus S General] Kiralina:
Great guide. Thanks a mill.

I just got my Nexus S and in 5 min it was rooted and with custom recovery. Great to see good guides for Mac users.

By the way ,I did not have the install-recovery.sh file, so no need for those steps.

I have a I9023 and used the first post method with no issues. Installed CM7 with no problems and all works fine.
[Nexus S General] kenvan19:
Sorry to everyone who has been reading this outdated guide and hoping for an update, I have bad news for you. After being banned for a completely ridiculous reason I decided not to update this anymore. I'm only here after being contacted over gtalk and told that there might be some misinformation going around due the guide and I apologize for that. This guide will NOT be updated nor will anything else I've ever posted. I have no intentions of being an active member of XDA at any time in the future.
[Nexus S General] mstein01:
Trying to Root

So i have a mac and ive been trying to root my SNS4G for over an hour

when i type even the first command into Terminal it says that the command cannot be found.

ive also tried uninstalling and reinstalling the android SDK... for some reason i think my problem is with the SDK not my phone or my mac.

if anyone has any insight as to how i can begin to troubleshoot this please let me know... i just got my NEXUS S today and i want to get it rooted already! lol my EVO was so easy. This seems so much harder for some reason. :confused:

TIA
[Nexus S General] blue23dragon4:
I just got my Nexus S 4g, and I am having issues as well. Is it because we are running 2.3.4?
[Nexus S General] VisedMonk:
I just got the gsm NS (had the lg g2x but just too many issues and I need a phone that works) and did the guide yesterday. It worked like a charm for me.

What I did wrong that fixed the problem is to move the adb-fastboot folder that you download to the desktop - make sure it's on the desktop. Try that first. Once I did that all the commands worked perfectly for me.

I used this to root 2.3.4 (gsm version) last night and it worked fine, so I don't think that's the problem. Could you be a little more specific about your issues so I can try to help? Thanks.
[Nexus S General] handzsolo:
Hi all,

Sorry if this is a newB question but I need some help please;

I rooted my device per the instructions here and when I boot up holding the power and volume up button, it says LOCK STATE - UNLOCKED..

So I tried installing a custom ROM and and got the following error;

Installing update...

Welcome to NSCollab

Wiping Cache

Extracting System : CM 7

Cleaning System

Finalizing Installation

Flashing Kernel: Netarchy CFS

assert failed: write_raw_image("/tmp/boot.img","boot")

E:Error in /sdcard/NSCollab-1.0.22.zip

(Status 7)

Installation aborted

Any idea how I can fix this ??

Thanks so much
[Nexus S General] anaglich:
I just want to double check, cwm on the NS4G backs up wimax keys correct? I remember this being an issue with the Evo 4G.
[Nexus S General] StormCell:
How do I relock my bootloader? I think I may be returning this due to signal issues. Thanks.
[Nexus S General] Maximilian Mary:
I do not believe so.

Try this:

dd if=/dev/mtd/mtd6 of=/sdcard/backup/wimax.img
[Nexus S General] Maximilian Mary:
First you have to unroot. Then

fastboot oem lock
[Nexus S General] mordekainen:
I see posts about the recovery in the OP not working with the i9023 model...

Do I need a modified recovery for the i9023 or can I just use the latest, taken from http://www.koushikdutta.com/2010/02/clockwork-recovery-image.html ?
[Nexus S General] DON2003:
can't seems to make the CWM sticky, it always go back to default triangle with ! when boot to recovery, why?
[Nexus S General] Maximilian Mary:
The stock rom tries to restore the stock recovery when you boot (which I think is a nice option). To override this, rename /etc/install-recovery.sh to install-recovery.sh.bak, then reflash the recovery.

Note: if all you want is root, you don't need to do this. Just flash the recovery, boot directly into recovery (without rebooting first), then install superuser.
[Nexus S General] foethalove:
I just got my nexus i9020t but it was running 2.3.4

I used your methods and got the bootloader unlocked just fine and then continued.

Everything flashes through terminal and says OKAY but at step6 after I hit return everything says OKAY but it doesnt boot into recovery on its own. So I manually selected Recovery and boot into CWM just fine.

I move the SU file over, flash it and reboot but I am stuck at the Google splash screen ...any ideas?
[Nexus S General] stexyn:
Hi, thank you for your guide!

I do all procedure but I want to suggest you any modification at your guide:

- At the point 5) when you unlock your bootloader you need to press volUp and then PowerButton to confirm

- at the point 6) the recovery was not automatically loaded, you need to launch it with volume+power buttons
[Nexus S General] EraqEE:
It's a lot easier to reboot into the boot loader by shutting down the phone, then pressing the up volume button & power button at the same time. I got a weird error about my adb not being up to date, when I tried your method.

Everything else worked flawlessly so thank you very very much!

However, your clockwork recovery file and superuser app are pretty outdated so I highly recommend using the full version of Rom Manager to get the latest clockwork recovery file..... superuser can be updated from the Market :D
[Nexus S General] vng10:
will this work on 2.3.7??? lol
[Nexus S General] kenvan19:
People should really stop using this guide I haven't updated it in months.
[Nexus S General] stexyn:
Why stop using this guide?

It's very well done!

I've used it on my new nexus S and work perfectly!

You just should update the clockWorkMod version :D
[Nexus S General] kenvan19:
I updated the recovery file as requested but the reason I said people should not use this guide anymore is I'm not providing support to people trying to root anymore. I had a few...issues...with the mods at XDA so I stopped supporting/updating my guides, themes, and files. If people are still able to use this guide then I'm glad I left it up rather than removing the information as I had intended to do but just remember (and this is more important than usual) if you use this guide and brick/break your device, I will not be responsible nor will I be available to help you recover it. With that said, use at your own risk.
[Nexus S General] EraqEE:
I used your guide to root my phone a few days ago and it worked perfectly so please keep this guide on this website.

I also updated the recovery file and superuser applications, but I haven't tried them myself. If anyone's willing to test 'em out, just open the attached file.

Use this at your own risk! I'm not responsible for damages that may occur as a result.
[Nexus S General] wcrov:
I've used this thread on 2.3.3 and 2.3.4 with success.

Question: Will this guide works to root 2.3.6?

Thanks
[Nexus S General] wcrov:
Working like a champ on 2.3.6

Thanks!
[Nexus S General] Pacothebandit:
SWEET BABY JESUS! that worked for me as well. I was getting mad banging my head against the wall. THANKS OP!.....i love you...
[Nexus S General] kenvan19:
Haha np.

Sent from my Nexus S MV from the XDA Premium app.
[Nexus S General] argentmacleod:
Shiute it only took me 3 days... to attain root good thing I read the next page. Damn I was getting somewhat perturbed. Thanks for all the help
[Nexus S General] theRG:
I just rooted my stock 2.3.7 Nexus S 4G with this guide so it still is very much relevant.

One issue I had was assertion errors when attempting to install a ROM. ("assert failed: getprop("ro.product.device") == "crespo4g"[....]). This was due to installing the Clockwork recovery for the Nexus S and not for the 4G model (crespo4g). For 4G users wishing to root on OSX follow the guide but use download.clockworkmod.com/recoveries/recovery-clockwork-5.0.2.0-crespo4g.img
[Nexus S General] skinniezinho:
Thanks a lot for this guide.It rooted my phone fine.

It proved to be very useful to block my bootloader again (to warranty effects).

~/Desktop/adb-fastboot/fastboot oem lock

Thanks
[Nexus S General] kenvan19:
I wonder why this got moves all of a sudden.

Sent from my Hercules with xda Premium.
[Nexus S General] tamaratee:
Works Beautifully

Rooted before with help (wink, wink)...

Re-rooted tonight using this guide. It works great! Only got hung-up with the terminal code that uses the the older clockwork recovery. But I updated the file name and it was smooth sailing from there.

Thanks! I think people want to try out different ROMS leading up to ICS... just my explanation for why I decided to use the guide.

Thanks! Thanks! Thanks!
[Nexus S General] jtflow2002:
I never get this message 5) If your Bootloader screen says "LOCK STATE - UNLOCKED" then skip to Step 6. If it says "LOCK STATE - LOCKED" then copy/paste the following into the Terminal:........am i doing something wrong at this point??
[Nexus S General] kenvan19:
It will be at the bottom of your screen. Look down there. If its a brand new device just out of the box, the bootloader WILL be locked.

Also, I updated the guide for ICS and I included the instructions in the Zip!
[Nexus S General] nfc fan:
Making progress but

I've got a Nexus S 4g running 2.3.7 and trying to root for the first time in preparation for loading ICS. Following the guide I am successful through step 6, that is I do see "boot state unlocked".

I have unzipped the supplied package onto my desktop. However when I copy the next command into terminal:

~/Desktop/adb-fastboot/fastboot flash recovery recovery-clockwork-5.0.2.0-crespo.img

I get the following message: error: cannot load 'recovery-clockwork-5.0.2.0-crespo.img'.

Any help with getting past this hurdle would be much appreciated.

Also, in step 17 of the guide (as included in the zip file) is the file name supposed to be the same as shown in step 10? That is, "Superuser-3.0.7 =erghi-signed.zip"? The guide file currently shows something quite different.

Thanks much,
[Nexus S General] Esteway.619:
Try renaming the cwm file to just recovery.img. and try following my video see if that helps u. https://www.youtube.com/watch?v=sP9ZDWmbLVM&feature=youtube_gdata_player
[Nexus S General] Rybitron:
I just got a refurbed evo 4g after an insurance replacement. I am getting never get the message LOCK STATE - UNLOCKED or LOCK STATE - LOCKED

I assume mine is locked because it just came from the manufacturer, also it still says S-on at the top. So i went ahead with step 5 but i get the error

... INFO[ERR] Command error !!!

if i go ahead to the next step

(~/Desktop/adb-fastboot/fastboot flash recovery ~/Desktop/adb-fastboot/recovery-clockwork-3.0.0.5-crespo.img)

i get

error: cannot load '/Users/rybitron/Desktop/adb-fastboot/recovery-clockwork-3.0.0.5-crespo.img'

What could be the problem? The phone has 2.3.3 and i wiped all data before i started.

Thanks for the help!
[Nexus S General] parkermckay92:
I got stuck

Hi there, I am trying to root my HTC incredible S, but ive gotten stuck on step 5 there, for one i dont see where it says if its locked or not... and when i proceed with the second terminal command it says waiting for device in the terminal window but nothing happens with my phone. Any ideas?