yashsingh1/xdaforums huggingface dataset:
[Nexus S General] ztm.000:
OMG this worked, I left it in tools, but now ITS PROMPTING ME FOR A PASSWORD...

Last login: Sun Dec 19 23:56:03 on console
Zach-Donleys-MacBook-Pro:~ zachdonley$ sudo /Users/zachdonley/Desktop/androidsdk/tools/fastboot oem unlock
Password:

wtf?

EDIT:

Password is my password for everything... after I typed that in, it said command not found. after that I dragged fastboot into a bash terminal window and I typed in fastboot oem unlock and still got permission denied... so I'm out of ideas.
[Nexus S General] Michael.B.:
In unix that would be the password for the current user you are running that command as.
[Nexus S General] ztm.000:
yeah man i figured that out right quick, thank you though
[Nexus S General] Amin Sabet:
When you drag fastboot into the Terminal window, what exactly does it give you as the path?
[Nexus S General] URPREY:
My response wasn't directed at you as evidenced by the fact that I quoted someone different.

However, many people didn't know this and I was posting it to prevent typos such as the one I quoted which cause those errors.

I'll leave you to figure out why you can't root your phone rather than trying to help you, "master"
[Nexus S General] ztm.000:
Just the path to where fastboot is on my mac.

Dude! I wasn't trying to be mean or imply anything. Sorry man. :)
[Nexus S General] ztm.000:
Tried everything. I'm starting from scratch.
[Nexus S General] theimpaler747:
Stickied this due to it's usefulness ;)
[Nexus S General] ztm.000:
No luck.... wtf.

edit: i just used a winpc. whatever. thanks anyway
[Nexus S General] annndrewww:
Got root. Thanks!
[Nexus S General] annndrewww:
Can I delete the SU zip file from my "SD"?
[Nexus S General] Amin Sabet:
Yes you can ;).
[Nexus S General] BuzzSpan:
I want to thank the people that helped with this guide. I finally got it to work.

I also suffered from the 'permission denied'. As for my fastboot problem, the one I downloaded from HTC and the one I downloaded on here were both different (the one on here worked on page 2 or 3??).

I did the commands with SUDO and it worked perfectly.

My fastboot problem, I dragged it as suggested which worked flawlessly then typing or pasting the command for some strange reason. Lol.

Thanks again!
[Nexus S General] WilliamStern:
Glad you were finally able to get root.
[Nexus S General] BuzzSpan:
Thanks. Now I'm wondering what to do now that its unlocked and rooted. This all all new to me, coming from an iPhone 4. Lol.
[Nexus S General] WilliamStern:
Now you just wait till all the Roms, and custom builds to come in. I'm sure we're not far off now.
[Nexus S General] Amin Sabet:
A few suggested app downloads while waiting for ROMs:

Titanium Backup: Makes it easy to backup and restore all your apps

Screenshot: (let's you easily take screenshots)

Root Explorer: File Explorer like Astro but for Root users only (gives you access to delete/move anything, so be careful!)
[Nexus S General] dabotsonline:
I would also like to know the answer to this.
[Nexus S General] yungfresh:
I finally unlocked the bootloader and installed clockword mod, but I held off on the superuser permission because I was reading that it didn't work well with certain rooted apps. I know the latest one is the one used for Froyo. Did anybody flash the superuser and has had no problems?? Should I wait for the gingerbread version of su?
[Nexus S General] URPREY:
SU seems be fine here.
[Nexus S General] jroid:
It will work on any version of android its just a binary file.

Sent from my Nexus S
[Nexus S General] yungfresh:
thank you.
[Nexus S General] WilliamStern:
Well, I lost root after getting OTA. Anyone know what steps I need to take in order to get root back? Thanks!
[Nexus S General] Amin Sabet:
I had installed the insecure boot image, so in order to get the OTA, I restored the Nandroid backup from this thread: http://xdaforums.com/showthread.php?t=884093

Then after getting the OTA that way, I had lost root, so I followed these instructions to get root back: http://xdaforums.com/showpost.php?p=10029098&postcount=2
[Nexus S General] WilliamStern:
Yeah, nothing is working... anything else you think I should try? I just want my root back.
[Nexus S General] Amin Sabet:
I updated the first post of this thread. If you follow those instructions to the letter, you should be all set.
[Nexus S General] WilliamStern:
Nevermind I think I got it. Thanks again for the help.
[Nexus S General] The K-Zoo Kid:
How do you go about booting into recovery...? Holding down the volume rockers while im powering on doesnt seem to work..
[Nexus S General] ztm.000:
absolute best guide ever
[Nexus S General] Sim-1:
Thanks for this very useful guide.

Just out of curiosity: what happens now if I wipe the system and install another ROM (e.g. the newest from Modaco)?

What do I loose/keep?

:)
[Nexus S General] itsjoncharles:
Super easy to do. Got my rooted in about 15 minutes.

Now if only I could use ADB properly on my Mac.
[Nexus S General] sosasami:
So I followed the steps up to step 17 (reboot the phone) - then I saw the google logo with a lock at the bootloader, and then the device booted into the first login screen - all my settings were wiped!!

Even worse - my external storage has been completely wiped as well.

Did this happen to anyone else?

does everybody see the google logo with the lock once the phone has been unlocked?
[Nexus S General] Sim-1:
Yup, it's all normal!
[Nexus S General] mprziv:
Awesome guide...thank you for your time and effort!
[Nexus S General] sosasami:
post Deleted.
[Nexus S General] Sim-1:
I have noticed 2 things after rooting:

1 - I cannot find some apps I had before in the market!

2 - my Gmail Unread Count widget doens't alling to the grid with the other icons anymore!

No big deal, but still worth noticing!
[Nexus S General] skbharadia:
hi there,

i have tried this method, it went really well without n e errors, but when i rebooted the phone to download ROM Manager n other apps required, it keeps rebooting, i cannot go n e further, plz help me out.

thnks.
[Nexus S General] skbharadia:
Is thats the reason my phone is keep rebooting on its own...?
[Nexus S General] Amin Sabet:
As I understand, those apps are missing from the market not because you rooted but because you updated to 2.3.1. It often takes a while for new Android updates to be recognized such that protected apps are available. Non-rooted phones which updated via the 2.3.1 OTA have the same issue.
[Nexus S General] Amin Sabet:
You keep root and ClockworkMod Recovery. You lose all your data in internal storage (but not what was on the SD card) and have to reinstall all your apps.
[Nexus S General] Amin Sabet:
The very beginning of the guide say in bold print "This process will wipe your phone. Ie, you will lose all your apps/data on your phone and have to reinstall them." Also, Step 5 says "... your phone will prompt you to confirm and warn you that you are going to lose everything." This was the step where everything was wiped, and it was spelled out on your phone at that step in order to give you the option to change your mind and keep your data. My understanding is that this is a security feature so that someone cannot use fastboot oem unlock to gain access to your data.
[Nexus S General] Sim-1:
Thanks again. :)
[Nexus S General] JRFogarty:
Great guide. Worked like a charm.
[Nexus S General] rb9228:
I may be a n00b, but I was stuck at this part for over an hour trying every which way to initiate Fastboot. I even tried to go through VMWare (MS Win XP). So after pasting the code in Terminal (again on OS X), I manually shut off my device and went into Bootloader/Fastboot mode by holding Volume down and Power buttons. It was only then I was able to continue with the Guide.

By-the-way, much thanks for the guide!! I'm unlocked, rooted and overclocking :)
[Nexus S General] tominater12:
Is there any way to keep clockwork mod and not buy a $4 app?
[Nexus S General] mazodude:
you don't have to use root explorer if you know what you are doing with the command line

you can do everything through adb shell
[Nexus S General] tominater12:
I just bought it thanks anyways.
[Nexus S General] iinviktus:
Can anyone tell me what the advantages/disadvantages are of re-locking the bootloader?
[Nexus S General] philbs17:
Thanks for the tutorial.

I am stuck with the following thing. Done so far:

-unlocked bootloader

-flashed the su...zip file

-rebooted phone and installed root explorer

Now I can't rename the file:

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"

There's no grey box that says "Mount R/W".

At what stage is my phone now? Is it rooted, does it stay rooted after reboot? And how do I finish the root?

Thank you!

Phil
[Nexus S General] Waza_Be:
What are the equivalent adb commands? Is the OP the seller of Root Explorer?

I downloaded Root explorer, flashed su2361ef.zip file in CWM recorevery several times and root explorer always tell me that I have no root access
[Nexus S General] Waza_Be:
Forget that tutorial that is so long and want you to install paying applications and thanks Modaco:

http://android.modaco.com/content/g...0/23-dec-grh78-superboot-rooting-the-nexus-s/
[Nexus S General] Amin Sabet:
I am the OP and am in no way related to Root Explorer except that I am a happy user of that app. I had forgotten that it was a pay app when I wrote these instructions, and I am not proficient in adb commands to know how to do this without Root Explorer. If I recall correctly, those commands were somewhere in this thread: http://xdaforums.com/showthread.php?t=875875
[Nexus S General] Amin Sabet:
The MoDaCo method you linked says:

Mac users who don't know how to do that part can use Steps 1-5 of the guide I've written here and then go with the MoDaCo method after that. I was trying to write a set of instructions that assumes no pre-existing experience/knowledge.
[Nexus S General] Amin Sabet:
If you have root, then Root Manager should be showing you that "Mount R/W" option. Are you sure you mounted system before flashing Superuser?
[Nexus S General] Waza_Be:
First of all, I have to apologize because I didn't thank you for the tuto!

Then I had the same issue before using Modaco guide.

I did every step of totorial, installed CWM 3.0 and then flashed the zip file.

I also installed Root Explorer from Market, but every application ( ROM manager, Root explorer, etc...) told me that I have no root access.

I this point, I was really upset, and I used modaco tutorial and everything was fine.

Thank again!
[Nexus S General] theghazi:
great instruction. I am rooted using this in 5 minutes.

but i didnt do the rom manager thing.

and one more question..

it was told that warranty is void if bootloader is unlocked, but at the bottom, there is option step to relock the bootloader.

question is if i lock the bootloader, would i get unrooted.? or would i still be rooted, and bootloader locked?

still kepp the warranty
[Nexus S General] Amin Sabet:
If you lock the bootloader, you still have root. As far as I know, your warranty would still be void though. To be safe, you'd have to revert completely to stock before submitting your phone for any warranty repair.
[Nexus S General] DKYang:
Super Manager works just as well as Root Explorer for renaming the file. Make sure to have the root option selected in preferences/settings/whatever it's called, then go to the directory. Once in the directory > press menu button > select mount as r/w and if the selection comes up "r/w, read only, cancel" select r/w. Then go ahead and rewrite the file.

Oh, thx OP for keeping a copy of the sdk. The current one from Google requires downloading all of the updates and even after doing that, fastboot isn't added to the directory for some reason.
[Nexus S General] neu242:
Cannot boot phone

I'm stuck on the clockworkmod screen. I can reboot the phone, but it always ends up in clockwork. I'm able to use adb and mount the partitions (except /sd-ext).

What should I do? Do I need to reflash the phone somehow?
[Nexus S General] dade70:
Guys I have a problem, I follow all the step-by-step but when I rename the file with root explorer will not let me (of course I press the button), but until that point everything goes well, tips?
[Nexus S General] Viperpsych:
I just wanted to say thanks for this how to.

Worked for me 1st time.

Thanks

Dan
[Nexus S General] twerk:
wow easiest root ever!
[Nexus S General] Sim-1:
I have manually updated the OS to 2.3.2 and as a result now I have lost all Root privileges (altough I still have the Superuser Icon!).

Even when I enter Rom Manger I cannot restore any backups, and if I use Root Explorer I cannot rename the install-recovery.sh string (I still have the old install-recovery.sh.old string too).

Any ideas/suggestions?

The phone works fine, but I miss some programs that require SU privileges..

Thanks!

edit-

all solved. Just did the procedure again and everything works fine with 2.3.2
[Nexus S General] alanine:
I manually updated to 2.3.2 and also lost root. I followed the procedure again, but still cannot regain root (I have tried the newer 3.0.0.5 recovery image, but was still unsuccessful).

All the procedure reported success (i.e. no error message in adb or recovery), so I did not know which part went wrong. I still have the Superuser icon, and the apps which require root privilege are still listed inside the Superuser app, but when I try to run them (e.g. setcpu) those apps would report lack of root privilege.

I would appreciate any suggestion for me to regain root, thank you.
[Nexus S General] Sim-1:
Did you remove from Root Explorer the "old" file you renamed install-recovery.sh.old and then renamed the new one you've found?
[Nexus S General] alanine:
no, i did not use root explorer to rename that file at all. but that should only lead to the replacement of clockwork recovery by stock recovery, right?
[Nexus S General] Sim-1:
You are right. If you have followed the guide here though it should be working. Did you get any errors at all during the procedure?
[Nexus S General] alanine:
no error message at all stages
[Nexus S General] alanine:
finally regain root by using superboot of modaco, following instructions as contained in http://xdaforums.com/showthread.php?t=927838
[Nexus S General] garynz:
Thanks for the great step by step
[Nexus S General] tamaratee:
Mac User w/bricked Nexus S (Noob)

Greetings Everyone,

Okay, so I endeavoured to root my phone last night and was successful. I ran into trouble when the clockwork recovery and superuser permissions kept getting removed each time I reboot.

Now, I'm at the Google splash screen with no way to move forward. I'm a mac user and I don't really get the adb thing. Got adb to work with mac from a youtube video, but still not sure what commands to run.

What I've done so far:

- wiped cache

- wiped/factory data reset

- retraced my steps by using terminal to setup superuser permission from this post (http://xdaforums.com/showthread.php?t=927838)

What I think:

- maybe in all of my clicks I removed the ROM, so the phone doesn't have a ROM to work with.

This maybe a really infantile conclusion, but I know there's a solution (had a rooted G1 that I flashed all the time and thought I bricked once but was able to get it back to stock).

Eagerly waiting for a reply... no cell phone if this can't be fixed.

Tamara

__________________

Phone: Nexus S

Almost rooted
[Nexus S General] lmedland:
Stuck at Google Logo

Hi,

I'm in a bit of trouble....

Was going through the process of rooting the Nexus S as documented here and I'm stuck at the Google logo. I can get back into Clockwork after flashing it from recovery but as soon as I reboot I'm stuck at the Google logo screen.

I have an unlocked bootloader and I followed the instructions to update su2361ef.zip which seemed to complete successfully.

Any ideas?

Thanks in advance.
[Nexus S General] lmedland:
I solved tamaratee's problem, as well as mine.

I needed to reinstall stock Android to get past the Google logo. You can get the stock zip from http://xdaforums.com/showthread.php?t=967953

Use Clockwork to mount as a drive on your computer and copy the 2.3.3 rom to your phone. Then update from phone and reboot.

I actually installed CM7 but the above should work too.
[Nexus S General] aref9200:
Hhhheeeelllllppppp

Is there any way to flash rom via fastboot?only I have fastboot right now.any ideas?
[Nexus S General] kemsiro:
im on 2.3.1, rooted. yet i haven't install clockwork mod

can anyone show me how do i continue now?
[Nexus S General] shoryken:
go to the market and download rom manger app. Once installed flash clockwork recovery, after its flashs and is up to date then you can download a rom from their app list or which ever one you want from the web.
[Nexus S General] omegacell:
I need help... I followed the instructions and Clockwork Recovery on my Nexus and and I was attempting to get CM7 on it when I ran into some trouble.

I am getting errors while in recovery and I cannot flash and ROMs. Furthermore, the phone won't booth past the Google logo right now!

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

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

E: can't mount /cache/recovery/last_log

E: can't open /cache/recovery/last_log

E: can't find misc
[Nexus S General] Bas-Tyra:
Wow .. glad to meet someone who is experiencing the same thing... me too, I got the exact same error when trying to flash CM7 RC4 ...

can anyone help? I still can access Bootloader and Recovery .. but stuck at Google Logo......

:(
[Nexus S General] omegacell:
I found the solution... Use the recovery for i9023 from here:

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

no more cache errors
[Nexus S General] e-dub:
i can get to this step no problem:

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

but am running into a brick wall there, as i can't find the file! i went to the etc folder, and i did a search with it (pressing the search button). anyone care to tell me what i'm doing wrong? thanks in advance :(

eric b
[Nexus S General] e-dub:
can you bump a sticky thread? lol

i had a problem, in that i needed to use the 9023 recovery to avoid the cache problems like the first post on this page. past that, i still can't find install-recovery.sh anywhere. help, please?

eric b
[Nexus S General] AfroCreame:
Same problem here
[Nexus S General] royalmitkaese:
same thing here, couldn't find the file either..

But then, if the script's not there, there's no need to rename it, since your system will be unable to find it in the first place..

As I understand it, the rename part is just in there so you still have the original file, _in case_ you might need it sometime later.

Basically it doesn't matter if you'd rename the file or simply delete it, as long as your system cannot execute it anymore (and thus replace ClockworkRecovery)

And since it's not there, you can easily replace Step 4 with "Have a beer" and go on.

Worked for me, running cyanogen now, and recovery is not being replaced when rebooting.

btw: maybe the author could add that the recovery included will not work properly for i9023 models of the nexus s..

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

includes a never version of the recovery image, with versions for both models.
[Nexus S General] MU-Biomed:
Same policy I took when I couldn't find the file either...."oh well lets reboot and see" :D
[Nexus S General] nan18:
Help! Not too sure what I had done wrong, but now my S is stuck on the Google logo. I used to have a Nexus One, and never ran into any troubles. I'm coming back from iOS and have forgotten most of this jargon! I have unlocked my bootloader, and I thought I had root, but I'm not sure. Someone PLEASE PLEASE help me out. i am in dire need of some tech support!!
[Nexus S General] Jester23:
Will rooting this way work with the new 2.3.4??

I have tried and had no luck... Anyone else try yet?

EDIT:

Figured out my problem and now am rooted,.. also, it fixed the problem I was having with the folling text showing up in CWM

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

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

E: can't mount /cache/recovery/last_log

E: can't open /cache/recovery/last_log

E: can't find misc

..and being stuck at the google splash screen when I would reboot.

The problem was that I had an outdated version of CWM.. when this text shows up take a look and see what version of CWM is showing..if it's 3.0.0.5 you are out of date.. Make sure it is 3.0.2.5. This made all my headaches go away!

I just followed the directions in the first post.. HOWEVER.. when you download androidsdk.zip .. and extract it on your desktop, go in and replace the CWM recovery with the one that is here as omegacell mentioned.. (Thanks BTW!!)-> http://xdaforums.com/showthread.php?t=988686 . . but change it's name to be what the original one was.. I'm pretty sure that's what fixed my problem... but I don't want to screw around with it anymore to find out ha!
[Nexus S General] derekwilkinson:
http://derekcwilkinson.com/Derek_Wilkinson.com/Blog/Entries/2011/5/12_Push_File_for_mac__Beta_3.html

Check out my new ADB UI.

Allows you to flash a recovery image without terminal :)
[Nexus S General] mstein01:
i did the same thing and upgraded to 3.0.2.5 but when i get to step 7 my phone doesnt show up as NO NAME.

i select mount USB storage and the phone only gives me an Unmount option so it looks like its working, but nothing shows up on my mac

im not sure what the problem could be :confused:
[Nexus S General] 1902:
just wanted to thank you, you really made my day, i was trying to enable the Arabic on my device the first day i bought it and wasn't able to install it without root, now it is reading arabic 100% clear.

version: 2.3.4
[Nexus S General] chiballer20:
Done right but no permissions.

Man, i'm about to throw this phone. I'm having the hardest time. I've tried at least three different types of root methods and still the same problem.

I already have an unlocked bootloader, so i'm good there. no problems.

What happens after i root and flash clockwork & SuperUser, the phone reboots...

and I have SU. ok. My problem is that i have no permissions. When I DL Titanium Backup, it says I have no permission and I need to check my rom and version of BusyBox.

I've tried your method and Modaco's superboot procedure. as well as one on

theunlockr.com.

I consistently get the same problem. No fcking permissions. What the hell!!!??????

HELP!!!!
[Nexus S General] jroid:
Chmod 4755 /system/bin/su
Chmod 4755 /system/bin/busybox
Reboot

Sent from my Google Nexus S
[Nexus S General] stevenoca:
this worked awesome for me thanks alot!
[Nexus S General] Planet X:
I want to root my Nexus S. The phone is on 2.3.4 Is the guide still valid?

I have read the thread over and over and I want to be sure that I will not brick the phone. I just bought it :rolleyes:. Do I just have to use the 4.0.0.2 revery image and rename it? Please help me out.
[Nexus S General] Planet X:
Never mind. It works. Thank you for this excellent guide and the adjustments from everybody. That has helped me too to not brick that thing :D.
[Nexus S General] ponyoninja:
do you know if this will work for the nexus s that att is selling?
[Nexus S General] C_Kristos:
Thanks a lot ! LOL
[Nexus S General] yungl82:
Thanks for the guide, it worked perfectly.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] Dan84:
Ive been running andriod on my phone for a while now (mattc Leo + Froyo w/Sense 1.8) but the data dropouts and battery usage is starting to annoy me..

The windows ROM is on 1.66, I have just noticed a update avalible - Is there a big improvment in this? Windows was always slugging for me and the text messaging lag drove me mad. I cant seem to win here!

So, is it worth it? Has the SMS lag stopped?

Thanks!
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] xlr8me:
There is a thread on 3.14 and from what I can gather there are bugs still remaining I would stick with 1.66 for a while yet.