yashsingh1/xdaforums huggingface dataset:
[Nexus S General] zikronix:
ok back to stock but the boot loader is still locked. and this pc is being gay and fastboot wont reconize the phone which that in its self is a driver problem
[Nexus S General] Vandam500:
These drivers worked perfectly for me a few months ago when I got the Nexus:

http://xdaforums.com/showpost.php?p=9919944&postcount=1
[Nexus S General] zikronix:
yea i got those...meant to say the boot loader is still unlocked....unlocked...

I want to relock it just to make sure.
[Nexus S General] rougegoat:
Hey, just realized that the recovery gets wiped every time you boot up. I don't have Root Explorer 'cause I usually just used ES File Explorer since it was free. Is there any alternative for renaming the /etc/install-recovery.sh file, such as an adb command that I don't know about?

(edit)Nvrmnd...just bought/refunded Root Explorer to do it. Not a bad app(people here like it), but I can't stand it for aesthetic reasons.(/edit)
[Nexus S General] herbthehammer:
Yes, that is the stock flash. You beat me to it! Similar to the way moments were flashed and someone was saying the tar works in Odin, for those coming from the epic.

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

Back to stock flash..

Hey op, could you post that in your beginning posts? Mirrors would be awesome but I'm not at home yet.
[Nexus S General] zikronix:
Jesus that was a pain in the ASS

Ok I had to reflash via odin to relock the device....now its reconized in fastboot again. that was a fun experience. i cant link to odin directly but what i can tell you...is google nexus s 1.8 and odin and youll find it if you need it.
[Nexus S General] zikronix:
ok so I redid my phone completly and this did not apply either time

I do not have those files. and my recovery sticks. more reading shows that at least 5 people dont have this file and people on 9020 dont hve this file.
[Nexus S General] .mak:
I didn't have this file, either. My recovery sticks.
[Nexus S General] jdh10475:
I hope I'm able to get a good answer, I have read every post in this thread and I have not see any one post with what they think the best way to root the NS4G. I have an Evo which has been rooted since the second day that I got it so I am some what experienced. I also noticed that some things seem to be different between the NS and NS4G and all the root guides seem to be from before the NS4G was released. So I want to know what the best method would be to root, also with out breaking my phone or breaking my 4G. The reason for going to the NS4G is to get away from Sense so I really just want to look at a stock rooted.

Thanks in advance any info appreciated.
[Nexus S General] herbthehammer:
I will answer you before you get flamed. Your answer is in the first post of this topic.

Slight sarcasm

I have never rooted a ns4g before. I was familiar with adb and fastboot with previous phones. I read a couple of different posts with rooting and recovery and adapted them to what I needed to do on a mac in the command line. Yeah I made a couple of mistakes but nothing major. It is true what someone said that this phone is very easy to root and recovery. Just follow the instructions.
[Nexus S General] jdh10475:
Not really it just states

"AFAIK all these guides are compatible with the Nexus S 4G. If there are more guides that you know work or if any of the following do not work please let me know!"

and there are 4 guides listed but no one has really posted which is the best or if any aren't working. I also agree about people getting flamed some people have have big balls behind a monitor until they meet me in person.
[Nexus S General] Vandam500:
They all currently work but I say I guess start with the first one. This guy had success with it http://xdaforums.com/showpost.php?p=13640564&postcount=40
[Nexus S General] jdh10475:
Thanks I get the phone tomorrow through fedex. I will post back with any positives or negatives about my rooting experience.
[Nexus S General] mikeyinid:
****disregard
[Nexus S General] zikronix:
I concur although like I said my root sticks. I also used recovery 2.0.2.4 vs 2.0.0.5 as thats what netarchy said to do in another thread
[Nexus S General] Vandam500:
Yep. And if they don't flash 2.0.2.4 right away they can easily update it in ROM Manager.
[Nexus S General] brokentoaster24:
i'm having a weird issue :/

fastboot drivers installed, i've unlocked my ns4g with fastboot but cannot flash clockword recovery. every attempt returns "error: cannot load "recovery.img"

edit:ugh, figured it out and got it flashed :)
[Nexus S General] dopeypopey123:
There are ways to return to stock have you looked into odin?

that returns everything back to the stock out of the box...

but make sure you download all the correct files for you phone first!!
[Nexus S General] s12512:
rooted using the mac method. worked great. pretty easy!
[Nexus S General] LoveisPeace2012:
Thanks for the root guide using Ubuntu guys really appreciate it.
[Nexus S General] dandan2980:
How did you get it to flash I had the same issue
[Nexus S General] dandan2980:
How did you get it to flash I was having the same issue
[Nexus S General] herbthehammer:
I haven't tried each one to see what is "best". There was a thread in either general or dev that I think mentioned 4g in the title. If there isn't then I'm sorry for the brain fart. I don't know for a fact but I think all the phones are the same when it comes to root and recovery. Just make sure you use 3024+ of cwm for the recovery part. I rooted mine on a Mac but did look at a windows guide also. I basically just looked at the commands and did the same thing in my os. When you flash roms or kernels, THAT'S when you have to find out what phone model it's for.

Someone correct me if I'm wrong.
[Nexus S General] herbthehammer:
This is what I did summarized with a mistake snafu in there but it wouldn't hurt anything because of the mistake. I could do it slightly different because of hindsight but it's no big deal.

Boot the phone into the boot loader. Get the computer into command line in the same directory as the fastboot program. Download the cwm recovery img into the same folder as the fast boot program. Do the same thing with the super user zip. Connect the USB to the phone and computer. In command line fastboot the phone to unlock. Let the phone shut down or reboot. Get back into bootloader. Push the new recovery into the phone. Choose recovery at the boot loader screen. Do a nandroid backup in case of emergency. Reboot phone. Sign into Google and let the phone do it's setup thing. Choose to connect to the computer via usb so you can copy the super user zip to the root of the "sd card". Copy the file over. Unmount the phone from the computer on the computer side. Check the phone to see if it unmounted from the computer. Reboot phone back to bootloader. Push cwm to phone again. Choose recovery in bootloader. In cwm recovery, flash the superuser zip. Reboot into regular phone. Download a file manager that can make root user adjustments. Find the sh file that is reflashing the stock recovery. Rename the file by adding ".old or .bak" to the end of the filename. Find busybox in the market and install it. Run the busybox app and install it. Reboot the phone into the bootloader again. Push the cwm recovery again to the phone. Choose recovery again. Make another nandroid backup. Reboot phone into normal mode. Finished.

Newbs, don't follow this guide. It's just a summary for people who have done this kind of thing before. It has mistakes in it and is probably more confusing than helpful.
[Nexus S General] fixxxer2008:
anybody got sprints visual voicemail to install and work?
[Nexus S General] brokentoaster24:
i believe my issue was not having the right path variables set up for fastboot. make sure you cd the right folder path for fastboot and not adb (if that made sense)
[Nexus S General] fixxxer2008:
bump? 10 char
[Nexus S General] zikronix:
I thought I had it working. it only worked once then it crapped out. but I did figure this out.

http://xdaforums.com/showthread.php?p=13707871#post13707871
[Nexus S General] zikronix:
Another useful post

http://xdaforums.com/showthread.php?t=1074584
[Nexus S General] Vandam500:
Indeed, very important to have the key just in case. Will add this now.

Sent from my Nexus S
[Nexus S General] herbthehammer:
It seems as if some of these guides are incorrect for the ns4g when it comes to recovery. I'm not good at writing guides so here are the files to use instead of the 3005 that is in most of the guides. I forgot where I read it and found these but here they are anyways. Everything else "should" still be the same in the guides.

The cwm that works with ns4g and the stock recovery. Remember to rename the sh file in system/etc folder so that it won't revery back to stock recovery after every reboot.

I am not any good at guides but I think it would be a good idea to write a rooting and recovery guide for the ns4g for windows, linux and mac. The only thing that needs to be changed that I see so far is the recovery file. There could be some editing and clarification on some things to make them easier to understand for the inexperienced.

These are zipped because I don't think I can upload img files to the forum.

Oh and OP, the last time I checked the link to the instructions for flashing back to stock, it was the wrong post. There wasn't any instructions. Ok, I looked again. If you want to call that instructions then I guess they could be called that. Very brief though, lol.
[Nexus S General] M@XLOL:
I used the ubuntu method to root. unlocking went fine but when i tried to load custom roms the recovery mentioned failed me. the .24 file mentioned in his post is what I am using now.
[Nexus S General] jdh10475:
Ok back again I just rooted my ns4g and I ended up using the unlocker.com guide here is the link. Everything went pretty smooth but I was not able to find the file to rename it so I dont have to keep flashing a recovery.

http://theunlockr.com/2010/12/17/how-to-root-the-samsung-nexus-s/

I am unable to find the file install-recovery.sh in system/etc does any one know why I can not find this file?

Do not use the files for recovery or superuser from the unlocker.com only use the video as a reference. Use the files found in the link in post 99 for the correct files.
[Nexus S General] Vandam500:
Yes the people that wrote the guides should update the recovery link, don't know why they haven't yet :S

And yeah those "instructions" were pretty vague for the flashing back to stock :p
[Nexus S General] mikeyinid:
then you dont need to worry about it. it wasnt there for me either and ive only flashed recovery once
[Nexus S General] Vandam500:
Some people don't have it for some reason. Turn off your phone and then try to get into recovery, if it lets you in then your fine.
[Nexus S General] mikeyinid:
I think it has something to do with what method you follow to root. And what files you use.
[Nexus S General] jdh10475:
Yes I was able to boot into recovery thanks for the fast responses!!

Ok so I went into clockwork and tried to manage backups to see if it would show the nand-backup I made. But it said I needer to install clockwork recovery :confused: so I hit accept to install and about half way through it gave me an error. I'm still able to boot in recovery am I missing something with clockwork app?
[Nexus S General] mikeyinid:
Yea. You followed the wrong method to root. You have the wrong recovery.

* Go here and follow the actual root part. I assume you unlocked it already, so you just need to push the right recovery and flash superuser, or a rom.

http://www.droidfiles.us/nexus-s-4g/root-nexus-s-4g/
[Nexus S General] Vandam500:
Did you write this guide?
[Nexus S General] Vandam500:
He didn't root it wrong, its just that the people that wrote the guides don't have the latest recovery attached.
[Nexus S General] mikeyinid:
lol, thats what i meant. but there are a few write ups that have the correct files, for whatever reason nobody seems to be using those ones
[Nexus S General] Vandam500:
Gotcha. I added a note on the first post along with the link to the current recovery.
[Nexus S General] jdh10475:
Ok got it thanks. I flashed the correct recovery, went into clockwork and I was able to verify my nand. All is good now. Thanks for all the help.

I'm going to update my post from earlier that has the link to the unlocker.com
[Nexus S General] obsanity:
Yeah, it got me too. I'll try again tonight with the correct recovery.

Also, none of the posts explain where to rename the stock recovery so it doesn't get flashed back on reboot. We might want to add this as the extra step outside of each tutorial.
[Nexus S General] Paleryder:
Great Thread much appreciated :)
[Nexus S General] Ryno23:
Which rooting option is the best to root with? Also is that same method easy to unroot with? Thanks.
[Nexus S General] wild1z:
Special Thanks to VanDam for posting this thread. I followed the link to Jonathon Griggs rooting guide, followed steps one and two, downloaded the latest CM you have linked here and viola! Thanks for your time and effort.
[Nexus S General] mikeyinid:
Can you adb push superuser to your sd while in bootloader?
[Nexus S General] jdh10475:
I used the unlocker.com video as a guide if you look at a previous post of mine on page 10 I have a link to the unlocker.com's video guide. Unlocker.com's video will help you through the process be sure to use the unlocker video as a guide only and use the links from post 99 to root. In post 99 there is a link to a guide those links in the guide are what you are going to need. Hope this helps I will try to post back with what you will need in more detail.
[Nexus S General] Vandam500:
I added the unlockr guide yesterday to the list ;)

Sent from my Nexus S
[Nexus S General] Dadeeo:
What a Charlie Fox, it's obvious the Sprint CDMA Nexus S needs it's own forum. To lump it in with the GSM version is going to be a continual PITA as more and more people come here to learn how to root their Sprint version. You guys are trying but all these references to "go back to X post for info for post X" are stop gaps that really only work for some of the "brighter bulbs".
[Nexus S General] rougegoat:
The John Griggs method worked fine for me, and this was the first time I'd ever touched ADB. First time I actually rooted my phone instead of having someone else do it for me.
[Nexus S General] herbthehammer:
I'm not saying I will do it, I'm just asking for now. Do you think it would help to have a video guide specifically for the ns4g to root and recovery in Mac and windows?
[Nexus S General] herbthehammer:
Link removed

3100 isn't working so just use 3024 until the newer one gets fixed. I flashed back to 3024 and it is working as it should.
[Nexus S General] zikronix:
a recovery for our phones... awesome.

EDIT: Something drastically wrong. when I click mounts and storage or advanced I dont get anything on the screen
[Nexus S General] Vandam500:
That's odd. I can't test since I have the other Nexus S. Is there anything wrong with the the 3.0.2.4 recovery?
[Nexus S General] zikronix:
well for me sd doesnt mount in it, doesnt have wimax partition back up and who knows what else.
[Nexus S General] mikeyinid:
Yup, definitly dont work
[Nexus S General] mikeyinid:
I was getting the unmounted sd just about every time i booted from recovery. I dont get it anymore. Not sure exactly whats diiferent, but I havent had it happen since I updated the rom last night.
[Nexus S General] zikronix:
never had the issue in the rom...just couldnt mount sd at all in recovery.
[Nexus S General] herbthehammer:
So is there something wrong with 3100 or 3024? I haven't put 3100 on yet. I will check rom manager and see if 3100 shows up in there.

update: rom manager is reporting 3024 as the newest. I will poke around and see if 3100 is on his site. brb

It's on his site specifically for the ns4g as 3100 but the app is only 3024.

EDIT: THE 3100 RECOVERY ISN'T WORKING FOR ME SO I'M GOING TO REMOVE THE LINKS UNTIL IT'S FIXED. 3024 IS WORKING.

That's the link on koush's site so it must be good.
[Nexus S General] herbthehammer:
Don't use 3100! It no workie! Flash 3024, it works.

I'm sorry for posting 3100. I wasn't at home to test on computer and I got excited to see a newer version and posted it without testing first. Attached is the working version, I promise.
[Nexus S General] mikeyinid:
ummm yea, toooo late lol. we already tried it.
[Nexus S General] herbthehammer:
Just letting people know I made a mistake and use the older version.

I just tried to mount the sd card through cwm 3024 and it isn't working in mac either. That's to confirm with you windows people that it's not necessarily the os's fault.

update:

I've had enough of "helping" people for one day. For now, if I see another post in general or q&a of someone messing up by flashing the wrong phone rom, I am going to let someone else help them. I've had a long day at work, I'm tired and cranky, and I'm losing what little patience I have. [End of rant]
[Nexus S General] decalex:
Has it been decided by the xda gods that there will be no ns4g dedicated forum?

Super appreciate this thread tho.
[Nexus S General] StormCell:
PLEASE make a separate Forum for the Nexus S 4G. It's waay too confusing with one Forum.
[Nexus S General] kurigowa:
Sexy Nexy??

digging the phone, 3G/4G and Wifi reception seems to fluctuate quite a bit. I'm getting around 2-4MB download and 1MB upload on 4G (LongBeach Ca). 4G sucks so much juice can't really use it. Wifi speed almost half of what I'm getting w iPhone 4/CPUs on same network 10MB vs 18MB (still fast, seems trivial at that point but still) Slight hangups using headphone button to start/stop and forward songs. Google Voice integration while initially neat, no MMS plus discrete Voicemail notifications became more trouble than the neat factor of Google Voice. I don't need to forward my calls to many phones. Camera pretty good overall, just want touch to Focus, miss that. Tried all camera apps on market, only one was camera 360 which didn't play well with the Nexus. Battery life is really hard to judge so far with all of the tweaking I've done. Haven't made it through a full day yet. I toggle everything off, including 4G, Wifi, GPS, Location services, Low Brightness settings. I'd say battery is OK at best. So overall pretty satisfied, however still using my 30 days to decide if I want to stay with Sprint, or jump ship and see whats on the other side...

These are the probs I've had, overall though, really great showcase of the Android experience, great phone, lets work out the kinks
[Nexus S General] fixxxer2008:
do we have any devs working on porting some of the gsm roms like miui or sense?
[Nexus S General] 12MaNy:
Wrong thread....
[Nexus S General] housry23:
hello Nexus S users. I just won a Brand New Sprint Nexus S 4G on ebay and it should be here by Wednesday or Thursday. I am coming over from the EVO 4G forum and I do see a couple familiar names here. What's up fixxxer. I recognize you from EVO forum. Just wanted to say hi and will be here in a few days on a regular basis.

PS I have a EVO 4G for sale with a lot of accessories. I have a snap on case with a wrap around silicone case on top of that. I have 2 or 3 Ebay 3500mah batteries and a Sprint 2600mah battery(which lasts longer than the Chinese cheapies) along with all the back covers. I have everything that came with it and some more accessories to go with it if you are interested. It is only about 4 weeks old because I just got it replaced through the insurance and when the refurb they sent me was defective they sent me a brand new one. PM me for more details. Can't wait to get my Nexus S!!!!:)
[Nexus S General] zikronix:
LOL @ sense

miui is being worked on however
[Nexus S General] fixxxer2008:
sense would be welcome as there is already a gsm version on here. we need all the options we can get. development seems too slow for us.
[Nexus S General] fixxxer2008:
welcome... you will love the nexus. i also have a evo for sale.
[Nexus S General] python08:
Dear Nexus S 4G users, here is a test version of my ROM (OpenSoju) built for your Nexus S : http://bit.ly/kBdhDa

As I don't have any device to test on, any feedback will be appreciated.
[Nexus S General] rougegoat:
No dice on installing it.
[Nexus S General] JewishMatt:
I got the same.
[Nexus S General] evohog:
I'm having problems getting adb to work. When I plug it in it registers as adb interface not Android 1.0, so I can't get cmd to recognize it. It give me wrong batch. I would greatly appreciate some guidance.
[Nexus S General] Vandam500:
You have to install the drivers, that's why.
[Nexus S General] volta:
Download the PDANet driver RAR, and then run a manual browse to the extracted folder through Windows Device Manager.

What you're missing is the fastboot driver, which for some reason doesn't come in the Google USB Driver package in the SDK Manager... I had the same problem yesterday.

Oh, and un-install HTC Sync if you had an HTC phone - it's been said there are driver conflicts.
[Nexus S General] evohog:
Thanks, I kept trying to update the drivers but it kept saying that my drivers were up to date, I was also looking for the fastboot drivers in the ask but couldn't findem, thanks for pointing that out. This is alot different than my evo and epic ,never needed to use adb probably should have. Thanks again Much appreciated.
[Nexus S General] evohog:
How so I find the pdanet driver rar? I installed PDA net but don't see the rar.?
[Nexus S General] volta:
I got mine here: http://xdaforums.com/showthread.php?t=878786 (first link in 'Drivers' section of OP)
[Nexus S General] evohog:
Thanks, I've downloaded sdk , PDA net and went to the Samsung site and just can't get fastboot drivers to show up. No matter what I do device manager shows my drivers as adb device interface and I just can't figure out how or what I need to do to get the android bootloader to show up. I'm not new to rooting just adb and I feel like a dumb ass! Not a noob a DUMB ASS!

edit:finally figured it out, i wasnt in fastboot when i was installing the drivers, thanks for the help i really appreciate it
[Nexus S General] volta:
glad you got it working (sorry, didn't have an active sub to this thread).

I had the same issue just the other day - needed to do the manual browse-my-drive based driver install while in the bootloader to register the "Android 1.0" device as fastboot... Sorry that I didn't anticipate your issue and post the info up front ^^
[Nexus S General] evohog:
No problem, thanks again. Now I just need to figure out adb and I'm good. Oh,one question, when I open the sdk which files do I need to check for download or is it all in there?
[Nexus S General] volta:
I grabbed the SDK from Google's website (http://developer.android.com/sdk/installing.html) and from within SDK Manager, I typically grab the entirety of "Android Repository" as well as the "Third Party Add-ons" from Google...
[Nexus S General] evohog:
Thanks. I'm going to try and finally get everything figured out tonight.
[Nexus S General] fixxxer2008:
okay i had great battery life till i went ahead and updated nets kernel. i may have to calibrate once again but i think upgrading kernels jacks your battery stats. :(

we also need a port of amon's recovery. :D
[Nexus S General] brokentoaster24:
Seriously dude, just chill. Run a kernel for at least 48 hours before complaining about battery life.

Sent from my Nexus S 4G
[Nexus S General] texas83:
this blows! its been a week and still no CM7 for my Sprint Nexus.... Where are the custom ROMs at?!!?!?!?!?!
[Nexus S General] derekwilkinson:
Thanks for the useful post and all your contributions to the community.
[Nexus S General] stillblood:
Don't be a tampon eater
[Nexus S General] zikronix:
See My Sig

Hi OP. Where can I download the project you are developing?

LOL

F'n LOL
[Nexus S General] gdm320:
Nice work here with the compilation, very handy given the GSM NS vs. CDMA NS4G insanity.
[Nexus S General] xbatis:
theme

are there any themes available yet for the sprint nexus?

if so can you guys post some links.

thanks,
[Nexus S General] ROB281:
what does the image need to be renamed to? I pushed the image to the phone, and have already made a nand, but I can not boot into recovery, now I know why