yashsingh1/xdaforums huggingface dataset:
[Nexus S General] chronophase1:
I think this was the exact way I did it as well:thumbup: I must have skipped one step during the process though because my "SD" didn't get wiped.
[Nexus S General] karleeezy:
turchs

This doesn't apply to the i9020a Nexus S

-_-
[Nexus S General] FirePoncho86:
Yes it does! I9020A OTA in the thread below!

http://xdaforums.com/showthread.php?t=1736645
[Nexus S General] greg2826:
ok got it ;)

my thanks went 2 u
[Nexus S General] rhadrio:
Couldn't you just do a factory reset after installing the OTA package? :confused:
[Nexus S General] thas5:
Thank you, your tutorial was helpful. Needed to go back to stock.
[Nexus S General] karleeezy:
Got it! Thanks, dude!
[Nexus S General] jayjay3333:
Well written. I'm sure you helped hundreds of stressed out newcomers with this. :laugh:
[Nexus S General] jithinsarath:
yeah.. the fastbbot oem lock and fastboot oem unlock after the 4.0.4 flash wipes the SD

The OTA is essentially an upgrade, it builds atop the existing ICS 4.0.4 rom. I had so much mods on top of my rom that I wasnted to have a clean start. Besides, there has been multiple reports of an error 7 in case of non stock or certain moded roms.

Glad I could help

I am already missing the various tweaks I had on the CM9 RC2 and other mods :p
[Nexus S General] d960:
Thanks for the tutorial. Thinking of doing the update this way. I have a i9020a rooted with 4.0.4 and when I try to do OTA update I got signature verification error in CWM 5.8.0.2.

For the wipe, from what I understand, you just execute the lock command above which wipes the SD and then unlock it with the second command? Sorry total newbie on this.
[Nexus S General] ka'cipeder:
That is exactly what i did when the OTA zip pacage first showed up here on xda. Good guide. Im rocking mine with simple kernel :D
[Nexus S General] d960:
I followed the first part of the guide to restore to stock, and then did the OTA update. It all went well except one little catch: after the OTA update for 4.1.1, I flashed the CWM 6.0.0.7, and then realize that I forgot to copy the root zip file onto SD. Had to reboot the phone and copy the file over. After that I go into bootload mode again and try to go to recovery, ends up with a red exclaim mark and phone is locked. Had to do a battery pull, restart the phone, and then reflash that CWM image, and immediately after that, go to recovery and do the root zip install. Not sure why is that. Have not tried to do the recovery again but I'm glad that I'm now on JB and rooted. Thanks OP !
[Nexus S General] alireza_simkesh:
I keep gettin status 7 error.

When i install the OTA through the phone itself (by letting it restart the phone and install it) i get the exclamation mark.

Im on Stock 4.0.4 and not rootet. Is there anyway to install this OTA without fully wipe it?
[Nexus S General] jithinsarath:
The lock command just lock the bootloader, it is the unlock command that will wipe the SD. It will also ask you for a confirmation on your phone's screen...

when you rebooted the phone to copy the su.zip, the OS restored the oroginal recovery. That's why you got the red exclamation mark. To get the CWm, you can flash it again in fast boot, go into recovery and then ask the CWM to reboot.. if it is 6.0.0.7, before reboot it will ask for the recovery to be made overwrite proof (a nice new feature in v6), choose yes and you are good to go..
[Nexus S General] jithinsarath:
Status 7 error comes when you have some kind of custom rom or may be some core mod applied to your rom. I am not aware of a way to get this proceed without full wipe: You can try the below though:

1. Flash the stock 4.0.4 for your phone without data wipe (you can wipe the dalvik cache though). This will make sure you are on the "stock".

2. Try the OTA

or you can backup using titanium backup, and then follow my guide. Restore the apps after flashing 4.0.4 and the try OTA.

It will be good it you take a nandroid backup before doing either of the above.
[Nexus S General] ironia.:
Flash image or zip?
[Nexus S General] jithinsarath:
OK, I'm confused now :o

As I understand, flashing the .img WILL wipe out the apps & data.

However, I have flashed the CM9 nightlies zip multiple times without loosing the data. Here we are dealing with a stock zip, so I am not sure. You can try the zip method after taking a nandroid backup.
[Nexus S General] solom200:
Having trouble with cmd

says fastboot is not recognized as an internal or external command, operable program or batch file. What do i do, im so confused. Srry total noob.
[Nexus S General] jithinsarath:
try this link
[Nexus S General] ironia.:
im little confusing about reboots...so

-fastboot flash bootloader bootloader-crespo-i9020xxkl1.img

-fastboot reboot-bootloader

-fastboot flash radio radio-crespo-i9020xxki1.img

-fastboot reboot-bootloader

-fastboot -w update image-soju-imm76d.zip

ALSO SD WAS WIPED?

REBOOT?

put Superuser-3.2-RC2-arm-signed.zip and 9ZGgDXDi.zip (= JB OTA) into SD?

fastboot flash recovery recovery-clockwork-6.0.1.0-crespo.img (or maybe for now will be more safe 5.8.0.2..?)

install 9ZGgDXDi.zip (= JB OTA)

install Superuser-3.2-RC2-arm-signed.zip or Simple-Root-1.0 (su+busybox)

REBOOT?

ok???
[Nexus S General] jithinsarath:
If you want to wipe SD, you have to follow the below steps after the 4.0.4 image is flashed.

1. After image flash, the phone will automatically reboot, and shoudl you the welcome screen. Here power off and go to bootloader mode.

2. enter the command fastboot oem lock. This will lock your bootloader

3. Enter the command fastboot oem unlock. This will now prompt in the phone for a confirmation and then unlock bootloader, and also as a security measure, wipe the SD.

4. reboot the phone and proceed with next steps

CWM v6 is better than the old one.

Other steps seem good to go.. Good Luck!
[Nexus S General] ezio84:
After

fastboot -w update image-soju-imm76d.zip

the Nexus reboot itself. At this step, fastboot doesn't delete files on sdcard.

I usually do a reboot between the rom flashing and the rooting.

BTW: Simple-Root-1.0 works good on my Nexus with JBean.
[Nexus S General] ironia.:
i'm already unlocked

i prefer don't wipe sd (lock and unlock bootloader)

is recommended?? possible garbage stillr emain on sd card???
[Nexus S General] jithinsarath:
If you don't want it, don't do it... It is possible that some folders like whatsapp etc. remain behind, but they are totally harmless.
[Nexus S General] alireza_simkesh:
I will try it but i think flashing either zip or image of the stock rom will wipe everything anyway....
[Nexus S General] ironia.:
i think ..and i read here on xda that:

unlock bootloader will wipe sd

fastboot-w means wipe ONLY the data and cache

anyone confirm???

tnx
[Nexus S General] jithinsarath:
usage: fastboot [ <option> ] <command>

commands:

update <filename> reflash device from update.zip

flashall flash boot + recovery + system

flash <partition> [ <filename> ] write a file to a flash partition

erase <partition> erase a flash partition

getvar <variable> display a bootloader variable

boot <kernel> [ <ramdisk> ] download and boot kernel

flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it

devices list all connected devices

continue continue with autoboot

reboot reboot device normally

reboot-bootloader reboot device into bootloader

options:

-w erase userdata and cache

-s <serial number> specify device serial number

-p <product> specify product name

-c <cmdline> override kernel commandline

-i <vendor id> specify a custom USB vendor id

-b <base_addr> specify a custom kernel base address

-n <page size> specify the nand page size. default: 2048
[Nexus S General] alireza_simkesh:
Quick question now, if i wanted to flash zip of ICS hoping that it wont erase anything and then apply JB OTA, i might as well flash zip of JB then right?! and again hopin that it wont erase anything.
[Nexus S General] d960:
Thanks for explanation. Now that I have successfully rooted the phone (with the su.zip file remain on the root of SD), the next time when I go to recovery, will I still get the red exclaimation mark ? I'm curious why putting a zip file will restore the original recovery.
[Nexus S General] krizalvarez:
1. Does Stock Rom come with Gapps ?

2. Can i install the stock rom from te recovery instead using fasboot ?

3. After get a stock rom can i got back and installed custom roms ?
[Nexus S General] ironia.:
Yes

Yes

Yes
[Nexus S General] asdf2020:
Worked like charm.........
[Nexus S General] Graham19:
Hi,

I'm on stock 4.0.4 at the moment but have rooted and flashed a kernel.

Do I need to follow the guide in the first post or can I flash the 4.0.4 full ROM over what I have currently?

Will my APN settings be preserved when I flash over my current ROM?

G
[Nexus S General] JohnD:
Nexus i9020

Pardon the silly question: My Nexus S is a i9020 (GSM, purchased in the UK), which I thought was the international model?

If I download stock ICE 4.0.1 precisely as you did, will this be a problem to my nexus?

Thanks.
[Nexus S General] jithinsarath:
I think If you remove the battery and see , you will find your exact model# - I9020A or I9020T. According to that you can download the appropriate images from google server
[Nexus S General] anshumandash:
Google has already uploaded 4.1.1 images at the below link. No need to try going through ICS first & JB next.

https://developers.google.com/android/nexus/images

Can be flashed following steps in the first post.
[Nexus S General] jithinsarath:
Thanks for the update, I have added it to the First Post
[Nexus S General] mayaakel:
Hi,

So if I am on stock unrooted ICS 4.0.4 can I just rename the image.zip file to update.zip and put in the root of the SD card and thats it??
[Nexus S General] Ozone:
1) should i have Android SDK to eneter the commands ?

2) am using custom rom right now. JB will be install without problems or i have to un root first?

3) updating to 4.1 stock will unroot my phone ?
[Nexus S General] ironia.:
Yes

Wipe

Yes
[Nexus S General] Ozone:
can i rename the file image-soju-jro03e.zip to update.zip and then reboot to recovery with ClockworkMod and wipe/ flash ?
[Nexus S General] AtomicPC:
No, you are thinking of the OTA update. This is different. This isn't hard to do, the OP has the steps listed. There was another thread that gave more detail but I'm having trouble finding it for you.
[Nexus S General] Jesushasadroid:
I get write fail on system...dk?
[Nexus S General] anshumandash:
Here is the link with detailed descriptions and steps. Actually the 4.1.1 images can be directly flashed now.

http://xdaforums.com/showthread.php?t=1572307
[Nexus S General] uansari1:
Flashed directly..? I don't see where anyone has repackaged the stock image to a flashable zip...
[Nexus S General] ironia.:
Means flash trought fastboot
[Nexus S General] MischievousMrFoxx:
Stuck at bootloader unlocked screen

Hi,

I followed the instructions to install JB and on the last step it failed. Now when I boot my phone it's stuck at the screen where it shows that the bootloader is unlocked. Here is what I did in cmd prompt.

C:\Users\Desktop\New folder\soju-jro03e>fastboot flash bootloader bootloader-crespo-i9020xxlc2.img
sending 'bootloader' (1536 KB)...
OKAY [ 0.228s]
writing 'bootloader'...
OKAY [ 0.352s]
finished. total time: 0.587s

C:\Users\Desktop\New folder\soju-jro03e>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.002s]
finished. total time: 0.003s

C:\Users\Desktop\New folder\soju-jro03e>fastboot flash radio radio-crespo-i9020xxki1.img
sending 'radio' (12288 KB)...
OKAY [ 1.785s]
writing 'radio'...
OKAY [ 1.708s]
finished. total time: 3.501s

C:\Users\Desktop\New folder\soju-jro03e>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.003s]
finished. total time: 0.005s

C:\Users\Desktop\New folder\soju-jro03e>fastboot -w update image-soju-jr
o03e.zip
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: I9020XXLC2
Baseband Version.....: I9020XXKI1
Serial Number........: 3431A8A56D6300EC
--------------------------------------------
checking product...
OKAY [ 0.002s]
checking version-bootloader...
OKAY [ 0.002s]
checking version-baseband...
OKAY [ 0.001s]
sending 'boot' (3964 KB)...
OKAY [ 0.585s]
writing 'boot'...
OKAY [ 0.517s]
sending 'recovery' (4308 KB)...
OKAY [ 0.629s]
writing 'recovery'...
OKAY [ 0.549s]
sending 'system' (333431 KB)...
[B]FAILED (data transfer failure (Too many links))[/B]
finished. total time: 38.720s

Any help would be appreciated.
[Nexus S General] ironia.:
sending 'system' (333431 KB)...

FAILED (data transfer failure (Too many links))

you have all file into android-sdk/platform-tools??

try to download again the factory image?

http://xdaforums.com/showthread.php?t=1043630&page=4
[Nexus S General] MischievousMrFoxx:
Fixed

Thank you so much!! I thought I bricked my phone.
[Nexus S General] mayaakel:
Hey dEris

ok so this is what my "About Phone" screen says:

Model Number: Nexus S

Android Version 4.0.4

Basband version I9020AUCKJ1

Kernel Version: 3.0.8-g6656123

android build @vpbs1 #1

Thu Feb 2 16:56:02 PST 2012

Build Number: IMM76D

How can I upgrade this to 4.1.1??

Help Please
[Nexus S General] AtomicPC:
From what I understand of your other posts and this one you just want to do the OTA. That's fine, you simply download the OTA file and rename it to update.zip and put it in the root directory of your sdcard then boot into recovery and update it from there.

Here is a thread that links the OTA file. http://xdaforums.com/showthread.php?t=1736645
[Nexus S General] mayaakel:
ok so this is what my "About Phone" screen says:

Model Number: Nexus S

Android Version 4.0.4

Basband version I9020AUCKJ1

Kernel Version: 3.0.8-g6656123

android build @vpbs1 #1

Thu Feb 2 16:56:02 PST 2012

Build Number: IMM76D

How can I upgrade this to 4.1.1??

Help Please

I tried these steps but my pc wont recognize my nexus s?? HELP!!
[Nexus S General] AtomicPC:
Then you need to install a driver for it.
[Nexus S General] mayaakel:
That's what I did and the Google USB driver came with the sdk and it still didn't work
[Nexus S General] AtomicPC:
Me too, I wound up following the first few steps of a root thread that showed how to get the driver. This is the thread which I followed part of the way to get my computer to reconize my Nexus. I don't have the i9020A, I have the i9020T. Here is one for the i9020A.
[Nexus S General] gapotter:
Guide step one? I already have ICS

I have a 9020a (AT&T) with stock ICS 4.0.4

How can I simply update the sojua-jr0.... file? I cannot update OTA because AT&T is completely out of the picture / retarded / greedy (choose your synonym)

I unzipped the .tga - now just need a little direction on how to update my phone to Jellybean. The "Follow the part 1 of the guide below and flash the JB image instead of ICS" just isn't enough information

This should be more simple! Google needs to add an option (Please click here if your wireless provider is a douchebag)

Thanks!!
[Nexus S General] ironia.:
remember that after the first boot with a file manager to delete or rename these 2 files:

/system/recovery-from-boot.p

/system/etc/install-recovery.sh

or at the next reboot the stock recovery will be restore

(maybe is possible that cwm ask to prevent that...)

or use this zip
[Nexus S General] AtomicPC:
CWM asks to prevent that.
[Nexus S General] ironia.:
Delete or rename?
[Nexus S General] AtomicPC:
I don't know what method CWM uses. And it's been a few days since I saw it. I followed a tutorial that I cannot seem to find now that linked to this thread. Something about removing auto recovery installation.
[Nexus S General] -CMX:
Being a female with moderate computer knowledge yet an insane fear of command prompt meant that it took weeks for me to finally work up the courage to flash JB. After a bit of a mission to get fastboot working on my new laptop I finally sorted everything out and faced my fear. Ha ha, JB set up screen has just appeared :)

In short, this post was just to say thanks for these instructions.
[Nexus S General] humanati:
Thank you for these simple, clear instructions which have sorted out my insane lag on my nexus s after the Jelly Bean update.

I am currently exuding savvy geek chic having been able to deal with this myself.

To the OP especially, but all supergeeks on this site that take the time to help out ****wit noobs like me, I THANK YOU sincerely.

Isn't it amazing how, because of the internet, people share knowledge, time, skills & the fruits of their labour with people they will never know or meet?

No wonder they want to take the internet away from us, because it's revolutionary & God knows we need one!

Have a good weekend people!

:o
[Nexus S General] sulfobus:
Works well

After having idle battery drain problems with custom ROMs I'll try stock to see if it's a JB issue. Great tutorial, I just skipped step 1 in the 2nd part, and flashed the JB rom in the first part. Just a comment on step 4 in the 2nd part: It's a good idea to copy the Superuser-zip to the phone before rebooting into recovery, it'll save you a reboot.
[Nexus S General] abd3lfatta4:
when i write the first code it tells me cannot load bootloader-crespo-i9020xxlc2

what am i doing wrong ??
[Nexus S General] billford:
Try:

adb devices

or

fastboot reboot-bootloader

To see if your phone is recognized.
[Nexus S General] abd3lfatta4:
ya my phone is recognized but just one question. does this have anything to do with pda net being installed or not
[Nexus S General] jithinsarath:
Where is the fastboot.exe located in your PC? Are the .img files placed in the same location as fastboot.exe? If not, please copy the files there and retry.
[Nexus S General] mapjan:
Thank you IT works
[Nexus S General] jayjay3333:
fastboot flash bootloader bootloader-crespo-i9020xxlc2.img

fastboot reboot-bootloader

fastboot flash radio radio-crespo-i9020xxlc2.img (may not be this...I just put i9020xxlc2 as a guess)

fastboot reboot-bootloader

fastboot -w update image-soju-imm76d.zip (change this to your zip name)
[Nexus S General] beardedpig:
Hey guys I have the d720 version (Nexus S 4G), got the right download for it, but once I update the zip file in cmd. I get this

C:\sojus-imm76d>fastboot -w update image-sojus-imm76d.zip
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: D720SPRKE1
Baseband Version.....: D720SPRKE1
Serial Number........: 30346070423600EC
--------------------------------------------
checking product... OKAY
checking version-bootloader... OKAY
checking version-baseband... FAILED

Device version-baseband is 'D720SPRKE1'.
Update requires 'D720SPRKC9' or 'D720SPRKD8' or 'D720SPRKE5' or 'D720SPRKH1' or
'D720SPRKL1' or 'D720SPRKL2' or 'D720SPRLC1'.

Anyone have a solution??
[Nexus S General] beardedpig:
Anyone? I need help ASAP :(
[Nexus S General] zeehere:
Thanks for the tuto...

I was able to update my Korean [Nexus-S (m200)] to JB using your first procedure. (korean version does not seem to get OTA in near future)

After 1st procedure I got JB via OTA

[Nexus S][4.1.1][JRO03E]
[Nexus S General] jithinsarath:
give correct file names as from the folder that was extracted in step 2, things should go good.
[Nexus S General] jithinsarath:
Can you try the 2.3.7 version and see if it works? instead of directly going to 4.0.4
[Nexus S General] beardedpig:
same problem still happens with the baseband.

--------------------------------------------
Bootloader Version...: D720SPRKE1
Baseband Version.....: D720SPRKE1
Serial Number........: 30346070423600EC
--------------------------------------------
checking product... OKAY
checking version-bootloader... OKAY
checking version-baseband... FAILED

Device version-baseband is 'D720SPRKE1'.
Update requires 'D720SPRKC9' or 'D720SPRKD8' or 'D720SPRKE5' or 'D720SPRKH1'.
[Nexus S General] jithinsarath:
Okey.. I did a bit of search and found this link - http://xdaforums.com/showthread.php?t=1340667

apparently the D720SPRKE1 is same as D720SPRKH1 . You can probably do the edit (in the zip file) that is mentioned in the link, and then try to flash the zip.

The file will have contents as below, you may have to add D720SPRKH1 to the two lines require version-bootloader and require version-baseband

Note that this is based on my searches and what I make of it, so take it with a pinch of salt :)

# This is the open-source version of board-info.txt; it should contain
# version of the radio and bootloader that are available to the
# public.
require board=herring
require version-bootloader=D720SPRKE1|D720SPRLC1
require version-baseband=D720SPRLC1|D720SPRKE1
[Nexus S General] rodem77:
Hi, thankyou for this guide, its very helpfull to noob like me... I've a question:

I've Nexus s 9023 with stock 4.1.1, I've intalled driver and unlocked my phone with wugfresh tool so I've already wiped all. Now to root it can I follow only the second part of your guide? I've only to flash CWM and the superuser file? Could I flash them using only my phone or I need to install google sdk, java or something else? Thankyou.

"Download the superuser from androidsu website. This is the RC version 3.2

Download the latest clocworkmod recovery touch-version non-touch-version

For simplicity sake, put all the files downloaded at a single folder

Reboot phone into bootloader mode.

Open a command prompt and go to the folder in step 4.

Now execute this fastboot command to flash the CWM recovery. Change the filename to the file you have downloaded.

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

Now using the vol down key choose to go to recovery.

There, using the options, navigate to the install zip from sdcard and first install the OTA and then the superuser zip file.

Reboot. You now have rooted JB"
[Nexus S General] caymangolfer:
EDIT!!!! Don't worry doesn't help when I name my radio image file with .img in the name! JB is on my phone now!

I have a Nexus S 4G so I downloaded the tar file from Google Factory Images "sojus" for Nexus S 4G (d720), and followed all of your steps, which are very clear, thanks. I get to the end and I get a similar error to beardedpig.

c:\Users\rrrr family\Downloads\Android\platform-tools>fastboot -w update image-

sojus-jro03r.zip

archive does not contain 'boot.sig'

archive does not contain 'recovery.sig'

archive does not contain 'system.sig'

--------------------------------------------

Bootloader Version...: D720SPRLC1

Baseband Version.....: D720SPRLC1

Serial Number........: 343159BA890900EC

--------------------------------------------

checking product...

OKAY [ 0.002s]

checking version-bootloader...

OKAY [ 0.002s]

checking version-baseband...

FAILED

Device version-baseband is 'D720SPRLC1'.

Update requires 'D720SPRLF2'.

From google it looks like the latest baseband Version for JB is D720SPRLF2 but the radio I got from that download is D720SPRLC1, any idea how I should go? I tried fastboot an img of the D720SPRLF2 but I got an error that the image could not load... Any ideas?
[Nexus S General] caymangolfer:
Me again... So I followed this:

But I got an error installing the OTA BZ-Bqdau.zip which is for the D720 and I get Error 7, which I thought this would avoid? It was able to install the SU that I like and now my JB is rooted, but wondering if not being able to CWM the OTA will be an issue?

Cheers

PT
[Nexus S General] rsriram22:
i had the same issue - all i had to do was to shutdown the phone, restart it (this time into android) and then reboot it in bootloader mode...

it worked.. it seems that when the radio img is flashed, and rebooted to bootloader, the baseband version is reported as D720SPRLC1. but my workaround seems to report the correct baseband version . and i was able to flash the zip file from there on... hope this helps to someone who is on the same boat...