yashsingh1/xdaforums huggingface dataset:
[Nexus S General] cygnum:
[INFO] Working root for ICS 4.0.3

Credits to Chamb'.

Flash via CWM and you're done. :D

Tested working for ICS 4.0.3 I9020T.

Enjoy!

Source: http://xdaforums.com/showpost.php?p=20394635&postcount=4
[Nexus S General] Jabaculemos:
It seems to have worked like a charm, thank you!

I was even able to flash the latest CWM Recovery using ROM Manager :)
[Nexus S General] zipredictive:
can I flash stock 2.3.6 with cwm?

Im on ics alpha13
[Nexus S General] bratfink:
Anyone got a download link for the stock 2.3.6?
[Nexus S General] zipredictive:
http://xdaforums.com/showthread.php?t=1063664
[Nexus S General] scoutmb:
I have an i9023.

Got the device not found and waiting for device. Help please.
[Nexus S General] 21stNow:
If I did the OTA update to ICS and am no longer rooted, do I need to start at step one of these instructions? If so, how can I flash the 2.3.6 stock ROM to the Nexus S?
[Nexus S General] jumpingsheep:
Working on my i9023. Thank you!
[Nexus S General] rub1k:
I'm not sure what you mean, sorry.

If your post was directed at me, I did mention dzo's name, thanked him and pretty much gave him all the credit for the fix. I only put a signed flashable ZIP together and I wanted no credit for anything. :p

Regardless, it looks like ChainsDD has got an updated ZIP file himself so everyone should be using that one instead from now on!
[Nexus S General] doa4ever:
He's not alone. All wiped but ICS is fast as hell.

Thanks anyway.
[Nexus S General] scoutmb:
Ok installed the correct drivers and it works. Thanks!
[Nexus S General] IIIV:
I just flashed the latest version of Superuser:

http://downloads.androidsu.com/superuser/Superuser-3.0.7-efghi-signed.zip

...and it now asks for permission. I also updated to the latest version of Busybox and it now works as well.
[Nexus S General] anirudh.pullela:
Sorry mate, I had no idea where that zip came from! I know I downloaded it off XDA but the number of SU zips I downloaded, I lost track. Updating OP now. :)
[Nexus S General] Sahkolihaa:
The su binary has been updated. Run the updater through Superuser (3.0.7, update from the market) and it should say 3.0.3.2 is available. That version causes Superuser to work properly - it'll ask you about root permissions now. :)
[Nexus S General] bmaa:
I would just start at step 7 "enable USB debug...", since you already have up to step 6.
[Nexus S General] Rickythemaniac:
Worked, but I didn't trust the bat file so I just opened it and executed the commands myself.

Thanks!
[Nexus S General] ElMango:
Fine for me...
[Nexus S General] EdForce1:
Got the cwm recovery persistent and su is working just fine (with prompt)! Thanks guys! I9023
[Nexus S General] chrisgtl:
All working now, happy so far with ICS.

Can we install latest CWM 5.0.2.0 now?
[Nexus S General] The0Code:
Keep getting the device not found error on my i9023...any advice?
[Nexus S General] scoutmb:
I used pdanet to install the drivers and once the phone is recognized by windows everything works.
[Nexus S General] wildestpixel:
And make sure if you're putting this root on after already having the old un-attended, no prompts root (old as in 2 days !) you FIX PERMISSIONS!
[Nexus S General] ryanytchan:
Hi Guys

I'll be getting my NS today and if I'm correct it should come with a full stock setup with Gingerbread installed. If I do not follow the instructions on this post and do it via my method described below will the whole root and recovery thing still work?

1. Flash ICS stock update, found on http://xdaforums.com/showthread.php?t=1395828

2. Root via fastboot oem unlock

3. Download CWM recovery from http://xdaforums.com/showthread.php?t=1248760 then flash via fasboot flash recovery recovery.img

is CWM the only recovery available for NS?

Please tell me if this will work

Thanks
[Nexus S General] The0Code:
I just did that and I'm still getting the same error report :(
[Nexus S General] jedijos:
I did the steps rom OP but flashed the file from this post. It worked like a charm.

I have an i9023.
[Nexus S General] Max2mus:
Works just fine! Thanks a lot!
[Nexus S General] qorron:
After skimming through the whole thread, I'm still curious about that step 4:

before I'll start upgrading to ics and root, can someone please elaborate on that?

being a linux guy for years, I know may way around tools like chmod and chown but I need at least an idea of the file which has its permissions to be fixed.

most likely it's /system/bin/su which has to be set to 6755 but the update script already does that.

everyone else seems to understand this quite perfectly (or is afraid to ask).

assuming not all of you are linux guys, I'm beginning to think, that I'm seriously wrong about this having something to do with permissions on a file system.
[Nexus S General] Jhyrachy:
it doesn't work for me :(

My step:

1) Downloaded CWR 5.0.2.3 Green and Superuser-3.0.7-efghi-signed.zip.

2) Moved CWR in fastboot directory and renamed it in green.img; moved Superuser-3.0.7-efghi-signed.zip in nexus s sd.

3) Open cmd and choose directory with "cd C:\......\fastboot"

4) Switched on my nexus s 9023 and sent it in bootloader (UP+Power) and connected it to my pc.

5) Typed "fastboot devices";

result: "[numbers and letters here] fastboot"

6) Typed "fastboot flash recovery green.img".

Output:

"sending 'recovery' (3348 KB) OKAY"

"writing 'recovery' ... OKAY"

7) On my phone, i choosed "RECOVERY" and then i entered in cwr menù.

8) i'll go on "mounts and storage" and then "mount /system"

9) now i'll choose "*Go Back*" and then "install zip from sd card".

10) so i'll run "choose zip from sdcard" and i selected Superuser-3.0.7-efghi-signed.zip

11) It asked me to confirm install (THIS CAN NOT BE UNDONE), i'll choosed "Yes - Install Superuser-3.0.7-efghi-signed.zip". Output:

"[a lot of things]

Install complete. Enjoy!

Install from sdcard complete."

12) Then i'll choosed "*Go Back*" -> "advanced" -> "Fix Permissions". Output: "Done".

13) Now i'll go back and choosed "reboot system now".

14) I gone in /etc, but i haven't found the file.

15) Some app, like AdFree had no problem, but other app, like autostarts, says that i have no root access!

I've tried this step around 10 time!

Any idea about that?

EDIT: Ops, it worked properly! the problem is from the app, that was outdated!
[Nexus S General] qorron:
oh, "Fix Permissions" is an option in CWM!

appearantly I was thinking much to complicated.

thanks @Jhyrachy for implicitly pointing that out!
[Nexus S General] Jhyrachy:
LoL!

i just made a noobproof guide XD

(don't misunderstand me, i'm a huge noob too!)

homewever; i discovered that the problem is not the roor, but the app that was outadated XD
[Nexus S General] qorron:
just done ics update and root.. seems to work like advertized.

there are however some completely root-unrelated issues in ics which I have to get used to.

I did the ics-update.zip and the su.zip right one after another.

and I renamed the install-recovery.sh also while still in the recovery with an adb shell.

all that was done in about 15minutes.

(9023 for the record)
[Nexus S General] klone96:
Tried using Jhyrachy's method and worked but recovery didnt stick so i the steps from the 1st post (again) and worked with recovery sticking !! thx xda fam
[Nexus S General] ahdee:
Done by following the steps. can go into CWM straight after flash recovery but after reboot I still got the recovery returned to stock one.

I renamed the installrecovery.sh to installrecovery.sh.old like the guide has written.

anyone got the same issue?
[Nexus S General] layzielarry:
awesome thanks!
[Nexus S General] nsx_23:
Mine did the same thing. Now that you've renamed the file just flash CWM again.
[Nexus S General] rguz:
Too much tinkering with my NS led me to losing my signal. I wasn't able to make/receive calls and texts all day. This is a quick, hassle-free fix. Thanks! Cheers from the Philippines.
[Nexus S General] Tornisyourdaddy:
Works fine, Thx
[Nexus S General] j3n3alon:
Worked like a charm. Thanks tons!
[Nexus S General] klone96:
WHOOAA!! Same with me last night after flashing I was able to get CWR to stick but today out if curiosity when I tried to get into recovery mode I got the Android (!) Guess it didn't stick after all any suggestions??
[Nexus S General] DaX05:
Reflash the superuser & after it reboots use an app like Root Explorer to get into "etc" folder and rename the file"install.recovery.sh" to install.recovery.old"

That should make it stick.

Beamed from my Nexus S
[Nexus S General] klone96:
Its telling me it cant be renamed bcuz the file system is read only
[Nexus S General] wildestpixel:
This needs testing, but I don't have time before I leave the house just now.......

Full One click root pacakge

Recovery.img updated to Clcokwork Mod 5.0.2.0

Super User latest signed 3.07 apk and matched binaries symlinked from xbin

Deletes the system/etc/installrecovery.sh

Sets permissions

Installs busybox

For Windows x86/x64

Unzip all

Install PDAnet to install drivers for it to work - install x86 or x64 binary depending on your WIndows version

Execute run.bat

Just follow through - note that if your already bootloader unlocked you can just proceed through it

Obviously this is just a repack of previous OCR's but I couldn't find any from anyone else updated in this way.

Download - http://www.sendspace.com/file/hsxjje
[Nexus S General] DaX05:
Click on the R/W top right then retry.

Beamed from my Nexus S
[Nexus S General] st3laras:
Thankss lot helped me root Ice Screammm:D
[Nexus S General] undeniablynerdy:
Works a treat on my i9023, thanks!
[Nexus S General] harman2:
I don't know I'm not able to root my nexus s i9020 used in T Mobile i update to ICS from A backup zip i flash from CWM then i get Ics 4.0.3 both i lost root access SU not work i try to rool back to 2.3.6 from the stock recovery in that way i will tray to root in the old way , both no accept the zip of stock 2.3.6 i have unlock boot louder can some one help me go true , i read the info in the beginning of this tread i dot get i not noob both i feel like one i have all my backup file is just get to CWM and flash one
[Nexus S General] l don.tee l:
Hey guys, I'm having trouble and I apologize for me noob-ness.

I did a manual update to the official ICS 4.0.3 and already have an unlocked Bootloader. All I need to do is install CWM Recovery image and SuperUser but I'm having trouble with it. I saved the SU.Zip to my SD card and I tried to flash the CWM image through ROM Manager and its prompting me" Error occured while attempting to run privileged commands." Can some please give me a detailed way on how to install the CWM so I can then install SuperUser =/
[Nexus S General] wildestpixel:
Try using this : http://xdaforums.com/showpost.php?p=20527025&postcount=217
[Nexus S General] MaicoAndrade:
Omg, Ty a lot ! Finally !!

Works in I9023 XXKI1 / IML74K - ISC 4.0.3 :D
[Nexus S General] Lazer Bear:
You can't flash CWM through ROM manager like that, because you would need a working SU already installed to do it.

Either use wildestpixel's one-click root solution or manually flash CWM and SU through fastboot.
[Nexus S General] l don.tee l:
Thank you guys. I got it!
[Nexus S General] l don.tee l:
PS. Am I suppose to run a "stickyrecovery.bat" to make the recovery stick? Or am I good to go already just from installing wildestpixels one clicker?
[Nexus S General] jedijos:
Has someone tried this already? does it work?
[Nexus S General] Emama:
In step 2,

which one should I use for the stock 4.0.3?

Green or Cyan
[Nexus S General] wildestpixel:
Its working

---------- Post added at 05:51 AM ---------- Previous post was at 05:49 AM ----------

Hiya,

Sorry I didn't answer the PM's as I was out working all day yesterdat followed by Xmaz Drinkz - I am now officially ill.

The script inside the one click makes the recovery stick already.

I see from elsewhere that you are now flashing Glados so I think you'll have experienced its stickiness.
[Nexus S General] Shiva1:
Hi all, sorry for the extremely stupid question, but will this su.zip work on a Galaxy Nexus? I'm looking for a root method that works on stock 4.03, and this is the only one I can find
[Nexus S General] etrustin:
that work great, it is working fine in my phone
[Nexus S General] mrluker:
my nexus s drain the battery faster after root :(
[Nexus S General] DaX05:
Depends what kernel and/or from you are using. Rooting your device has nothing to do with your battery drain.

Beamed from my Nexus S
[Nexus S General] wildestpixel:
Root on some devices can affect battery due to the way on which root is achieved with insecure blobs. Nexus S isn't affected like this.
[Nexus S General] bjlefebvre:
Good Lord, you saved my bacon. Thanks! I owe you a laurel, and hardy handshake.
[Nexus S General] grharry:
[*]For Windows x86/x64

[*]Unzip all

[*]Install PDAnet to install drivers for it to work - install x86 or x64 binary depending on your WIndows version

Thanks,

I am sad that there is not a run.sh for linux users.

Looking at your run.bat file I 've found out that this will erase all from the phone even the sdcard ...

Is there a way to circumvent this?

Since I updated to ICS I've lost root, su, busybox and the like ... I am not able to backup any application..

What about a tar -czvf backup of the sdcard ??? after say moving some apps to it ... will it save some???

All though a linux user for over a decade I am lost and confused with all these recovery images ++++ bla bla ... so please excuse my stupid Q.

Regards

Harry
[Nexus S General] wildestpixel:
I'm sure with your *nix knowledge you could port it.
[Nexus S General] flixos:
I have a Nexus S I9023 running ICS 4.0.3 IML74K, the one with the SLCD screen. Will this work with my phone? Will this wipe my phone?, i don´t have an unlocked bootloader yet. Thanks so much.

I'm going to answer myself...well, in fact, grharry did it in his last post. By the way, thanks for your work.
[Nexus S General] al_madd:
any idea how I can root with broken power button??

usually I root my phone using OCR. but with this broken power button..when it reboot to bootloader , light at captative button turn off..So I cant boot to recovery..

please help me...
[Nexus S General] AllGamer:
this topic has become irrelevant after CM9 alpha 17
[Nexus S General] Nantaphan:
that very kind off you thx :D
[Nexus S General] mattpall:
i9020t?

Will this work on a i9020t?
[Nexus S General] DaX05:
Follow this thread:

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

Beamed from my Nexus S
[Nexus S General] Dadi68:
Can someone tell us responsibly that this work with 9023? (SLCD NS version)
[Nexus S General] DaX05:
For i9023, I would follow this thread:

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

Beamed from my Nexus S
[Nexus S General] Dadi68:
Guys, when im trying to enter RECOVERY, it displays a little dead android, and then it restarts... any help please?

SOLUTION: delete/move/rename the file recovery-from-boot.p in /system (and reflash the recovery)
[Nexus S General] wildestpixel:
Many thanks for the PM I received from you trashing the scripting of the OCR I posted in which you were woefully inaccurate in every statement you claimed.

recovery-from-boot.p patch file has no effect since /system/etc/install-recovery.sh is removed during the flash of root.zip

The version of su binary and apk you claim requires replacing in my zip file is the version already implemented by me.

The hacked version of CWM you state should be used really isn't in the best interests of doing things properly or using and supporting the ROM Toolbox effort, Koush and the CM team.

It does install busybox within the flashable zip

If you want to disseminate the script, claim there are bugs there and offer solutions, that's fine; that is if you are correct and if you know what you are talking about.

A lot of people have used that script which was only modded by myself with the relevant ICS compatible binaries and checked to make sure recovery didn't re-patch - and only you manage to fail with it. And then you PM me claiming all manner of spurious fixes.

I shalln't be donating to you.

---------- Post added at 07:17 AM ---------- Previous post was at 07:14 AM ----------

Yes - that would be great for G'Bread. This is ICS though. So if a fully ICS compliant OCR is offered, why direct someone to a year old root method ?
[Nexus S General] DaX05:
Because it works with updated files for ICS. Its the method that counts.

I lost root when I first updated to ICS like everyone else. Rooted my device the exact same way using updated files, obviously. (Latest recovery file & latest superuser)

Beamed from my Nexus S
[Nexus S General] wildestpixel:
And mine doesn't or something. ????????
[Nexus S General] tankerglenn:
Hi just created an account wanting to thank you but I guess new users don't have the thank button huh. SU is finally asking for permission so..many thanks dude. (:
[Nexus S General] blackiddor:
Su inop on ics cm9 kang

HEY Guys i have updated from CM7 TO cm9ICS on a Samsung galaxy s gt i know its in dev only prob was cam but ev 'y'g else cool so i am now on kang BUILD NUM IML74K my only prob SU so i downloaded fix from market still same prob SUPERUSER HAS UNFORTUNATELY STOPPED but i then got an update and now all ok.
[Nexus S General] plnghiepla:
Thanks very much!

I succeed with my SNS I9023 with OTA rom 4.0.3
[Nexus S General] Pickled Jesus:
won't let me delete install-recovery.sh

On my I9023 it wont let me delete the install-recovery.sh file... what's wrong?

I'm attaching a printscreen of me trying to delete the file and also trying to change the permissions via chmod....

(root is working but I cant get the recovery to stick)
[Nexus S General] WesleyChan:
will this work on 4.0.4?
[Nexus S General] sean1984:
here is the latest su :D

you can also go here http://goo.im/superuser to keep up with the latest updates or here http://androidsu.com/superuser/ :D
[Nexus S General] vsc0705:
thanks!
[Nexus S General] Jabaculemos:
That's what I did, I flashed stock 2.3.6 using CWM Recovery, booted 2.3.6, rebooted into the stock recovery, flashed ICS and then rooted.
[Nexus S General] Bllazo:
confirmed working I923... thanks!!
[Nexus S General] pilspeda:
Awesome !

Thanks !
[Nexus S General] HD2kty.:
And where the hell do I get 2.3.6 ?
[Nexus S General] :
I've got a problem.

When I try to flash the recovery, it just hangs at "sending 'recovery' (4116 KB)" and nothing seems to happen.

Any ideas?
[Nexus S General] xlaw6600:
my ns doesn't have unlock option and never root, and ????
[Nexus S General] dougcunha:
I think there is something wrong. All apps (root explorer, ROM Manager) are getting root without requiring superuser. Ideas? Superuser app is up to date with market version.
[Nexus S General] :
I've got a problem.

When I try to flash the recovery, it just hangs at "sending 'recovery' (4116 KB)" and nothing seems to happen.

Any ideas?

EDIT: Fixed it by using another USB port.
[Nexus S General] dan96815:
Hi when I try to flash the OTA I get signature fail!!
[Nexus S General] irtehun:
stupid question but i have never used stock recovery, how do I flash an update.zip from it? all i see is the little triangle with android on it.
[Nexus S General] sinik420:
Are you following any instructions here, or just trying to flash it in cwm
[Nexus S General] dan96815:
Hi I have stock 2.3.6, on a rogers I9023a, what OTA file should I use? Plus I have 3e revovery.

This one?

a)http://android.clients.google.com/pa...o/VQ8PQk_V.zip (4.0.3 OTA)

---------- Post added at 10:21 AM ---------- Previous post was at 10:06 AM ----------

Why does it say signature failed?
[Nexus S General] anirudh.pullela:
Is your device listed under fastboot devices? Re-download the recovery image and try again. :)

Or try another USB port/cable.
[Nexus S General] ro_explorer:
That's the one !
[Nexus S General] renna1992:
look in the nexus s general section

btw: awesome job, thanks OP! :)
[Nexus S General] :
I thought I tried everything, but I forgot the most obvious one...

Trying another USB port. It worked.

Thanks alot! :D
[Nexus S General] dan96815:
http://xdaforums.com/showthread.php?t=1063664

HERE
[Nexus S General] warranty45:
If you root it this way does superuser ask for permissions when you go into a root app or does it just automatically grant permissions like the some of the other ways people were posting?
[Nexus S General] renna1992:
worked here great without any problems :)
[Nexus S General] zipredictive:
Amazing job....

works like a charm on my I9023

Noob proof step bye step batch!

YOu rock!
[Nexus S General] boykioy:
Rename it to update.zip
[Nexus S General] tdtylert:
For whatever reason I follow the steps and once I flash su its says installed but once I reboot it doesn't have su and once I install it from the market rom manager says phone is not rooted o_O
[Nexus S General] anirudh.pullela:
It doesnt prompt. It directly allows.
[Nexus S General] xlaw6600:
my ns doesn't have unlock option and never root, and ????

helooooooooo
[Nexus S General] xanos01:
Thanks dude I have root again
[Nexus S General] :
Everything works perfect except the super außer app does not log anything and is Not showing apps that gained root access
[Nexus S General] dirk1978:
Why package it up in a Windows bat like this? All anyone needs is the root.zip which can be flashed using any CWM or other custom recoveries.

This does give you root but doesn't ask for permissions. OK for now. Thanks for providing.
[Nexus S General] adewey234:
In step 3, you don't need to mount system; the su scriipt you provided automatically mounts system then unmounts it when its done...
[Nexus S General] AllGamer:
finally an easier solution

i was up until 3 AM trying out all the different methods specially the OTA protector, which sort of work, but not completely
[Nexus S General] boykioy:
i agree but with this you also get the recovery not only the root.
[Nexus S General] xlaw6600:
FAILED!!!! with stock recovery
[Nexus S General] maxicet:
...........................
[Nexus S General] coercri:
Tried to go from a leaked ICS Rom but it doesnt seem to want to do it, it comes up with "assert fail" before installing - any ideas?
[Nexus S General] seriosbrad:
Seemed to have worked for me. I deleted the recovery that came in the .zip and added CWM 5.0.2.0
[Nexus S General] zipredictive:
failed what? so boykioy or we can help you.

Guys do not update su binary to 3.03 because u loose root.

Anyway not problem at all cause I flashed su.zip and everything works
[Nexus S General] rub1k:
No offense to you and I know we're all working with what we've got here until the app developer updates his app, but the Superuser app NOT prompting for root access is a HUGE security risk (for me).

I want to know (and approve/deny) *everything* that uses root access on my phone... not just let everything run as root without me knowing.

Just sayin'...
[Nexus S General] AllGamer:
IMO it's safe

we should be aware what we install into the phone no?

i only install from reputable sources, and those that are iffy i always run them by a Test phone to scan it for malicious stuff, or AD/SPAM bots
[Nexus S General] GallStones:
If i update only the app (to v3.0.7) and not the binary will it work ?

Before i upgraded both and, as you said, i lost root permissions.
[Nexus S General] zipredictive:
yes

App update through market is fine but nothing changed... automatic permission and empty list problems remain
[Nexus S General] timhl7:
Thanks ! working on 9020t
[Nexus S General] SalsaForte:
Humm.... I flashed the stock 2.3.6 version...

But when I try to go into "stock recovery" I get the "! mark" logo... No menu to flash update.zip... Nothing... :(
[Nexus S General] robrob777:
worked

Any way to lock the bootloader again?
[Nexus S General] MultiCulti:
thanks :D worked on my 9023 ... :D
[Nexus S General] boykioy:
press power nad volume up for a second. see this http://www.youtube.com/watch?v=tytCX0vqjQU&feature=player_embedded
[Nexus S General] dirk1978:
Just flash CWM 5.0.2 http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.2.0-crespo.img using

fastboot flash recovery recovery-clockwork-5.0.2.0-crespo.img

then copy the root.zip onto the SD, reboot into recovery and flash from there.