[Nexus S General] ale.landra91:
Hello everyone,

i decide to write this guide and to collect all the future Factory Images for Nexus S (i9020T,i9023,i9020a,m200)

Once installed them you retourn 100% stock.

This is usefull in case you don't want to wait official OTA or you have to use warranty for some problem or you like a really clean install.

Since Android 4.0 IceCreamSandwich you can't install OTA via update.zip method in stock recovery because is no more possible. If you try via stock recovery you get "error status 7" (this problem is corrected only if you use ClockWorkMod Recovery).

Then is necessary to use Factory Image provided by Google.

Factory Images:​

JZO54K Android 4.1.2

Factory Image "soju" for Nexus S (worldwide version, i9020T,i9023)

MD5 Checksum 788233dca5954532acda63039f814b4d

IMM76D Android 4.0.4

Factory Image "soju" for Nexus S (worldwide version, i9020T,i9023)

MD5 Checksum 414d80b4ed221f3c183d48b25ed16a19

GRK39F Android 2.3.6

Factory Image "soju" for Nexus S (worldwide version, i9020T,i9023)

MD5 Checksum e255b3373e1b96d5722ef35759c4b393

JZO54K Android 4.1.2

Factory Image "sojua" for Nexus S (850MHz version, i9020a)

MD5 Checksum 9cceb30ac64c914c06df5d16f5af2a52

IMM76D Android 4.0.4

Factory Image "sojua" for Nexus S (850MHz version, i9020a)

MD5 Checksum 3e73b10ffc07bf727c604965ea8346ce

GRK39F Android 2.3.6

Factory Image "sojua" for Nexus S (850MHz version, i9020a)

MD5 Checksum eeaaadb90fbc113fd8b7aa78ddb7d154

JRO03E Android 4.1.1

Factory Image "sojuk" for Nexus S (Korea version, m200)

MD5 Checksum 3f31acd14b3b464881886d2e8d2d94f4

IMM76D Android 4.0.4

Factory Image "sojuk" for Nexus S (Korea version, m200)

MD5 Checksum 393b47d3389232ce4388d019b3ce344b

GRK39F Android 2.3.6

Factory Image "sojuk" for Nexus S (Korea version, m200)

MD5 Checksum e25b1e8ee70a7820d3947e056715068f

How to install:​

Requirements:

-Android SDK

-Java JDK

-Platform-Tools

-Unlocked bootloader ("fastboot oem unlock" pay attention, wipes everything,

also SD card

)

-experience with adb and fastboot​

NOTICE: If you never used the sdk, the jdk, fastboot and adb, before installing the factory image YOU HAVE TO FOLLOW this guide in order to get sdk and unlock bootloader.

From this guide YOU NEED ONLY PART 1 and PART 2 (maybe in the guide speaks about "tools" now is "platform-tools")

Now you can proceed to install the Factory Image

On Windows:​

1) copy the ecxtracted files (two times with 7zip) on android-sdk/platform-tools/

(this is important, if you dont unzip it, dont complain about "radio couldnt be loaded")

2) run a cmd and moves in "platform-tools" folder

3) write those command:

4A) If you are coming from a custom rom,

this wipe your data/cache

:

adb reboot bootloader

fastboot flash bootloader bootloader-crespo-********.img

fastboot reboot-bootloader

fastboot flash radio radio-crespo-********.img

fastboot reboot-bootloader

fastboot -w update image-********.zip

if you want relock the bootloader (not necessary, only for warranty) do also these two step:

fastboot reboot-bootloader

fastboot oem lock

4B) If you are coming from another stock rom (official older OTA unrooted),

this doen't wipe your data/cache

:

adb reboot bootloader

fastboot flash bootloader bootloader-crespo-********.img

fastboot reboot-bootloader

fastboot flash radio radio-crespo-********.img

fastboot reboot-bootloader

fastboot update image-********.zip

if you want relock the bootloader (not necessary, only for warranty) do also these two step:

fastboot reboot-bootloader

fastboot oem lock

On Linux, Mac:​

1) copy the ecxtracted files (two times with 7zip) on android-sdk/platform-tools/

(this is important, if you dont unzip it, dont complain about "radio couldnt be loaded")

2) run a terminal and moves in "platform-tools" folder

3) write those command:

chmod +x flash-all.sh

./flash-all.sh

"flash-all.sh" wipes your data (it contains fastboot -w update, if you want to remove/change it edit with notepad++)

"flash-base.sh" flashes only the bootloader and the radio.

NOTICE:

1) Instead of ******** you have to put the name of the files you download.

2) somebody is aking why "adb reboot bootloader" each passages. Is not essential, but some people think it is better, maybe is only a superstition.

​

PLEASE LEAVE ME A THANKS :) ​

WARNING! DON'T DO THESE THING IF YOU DON'T KNOW WHAT YOU ARE DOING. I'M NOT RESPONSIBLE OF BRICKED NEXUS S OR SIMILAR​