Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,637 Members 39,877 Now Online
XDA Developers Android and Mobile Development Forum

[TUT] Getting a clean 4.1.1 Experience - Steps to Flash Stock 4.0.4 and then 4.1.1

Tip us?
 
jithinsarath
Old
(Last edited by jithinsarath; 28th July 2012 at 01:19 PM.) Reason: Added I9020A references.
#1  
Member - OP
Thanks Meter 50
Posts: 60
Join Date: Aug 2011
Location: Bangalore
Default [TUT] Getting a clean 4.1.1 Experience - Steps to Flash Stock 4.0.4 and then 4.1.1

First up, let me tell you that doing this is not necessay to get the OTA or having a smooth JB experience. The JB OTA installs without a wipe which means the data is preserved.

UPDATE: Google has put up the full image for 4.1.1 [i9023, i9020a and i9020t] . Now you do not need to clean flash ICS and then JB. Follow the part 1 of the guide below and flash the JB image instead of ICS. Nothing more to it.

Thanks anshumandash for pointing it out

That being said, I wanted to have the real stock image on my Nexus S and then Upgrade to JellyBean. Below are the steps that I took.
  1. Go to this GoogleAndroidImages page and download the appropriate image for your phone & download. Since mine is an international version a.k.a I9023, I chose that ROM.
  2. The download will be a tar.gz file. Use a utility like 7Zip to uncompress it. The tar.gz will have a .tar file inside and the /tar file will have a folder. Extract the folder to your PC. For my download, the folder was named soju-imm76d
    Next Steps will wipe your phone, completely
  3. Reboot your phone into bootloader mode.
  4. Open a command prompt, navigate to the folder in step 2.
  5. Enter the below commands, the image file names are for my download, modify it to the file names in your folder before running (I assume that you have fastboot working)

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

After the last step, the phone reboots and takes you to the initial setup screen.

Additionally, I reflashed CWM and the the JellyBean OTA along with superuser. Below are the steps for that
  1. Download the OTA from google server. This thread by oldblue910 is kept updated with the latest updates. Currently it has OTA's for I9023 and I9020A
  2. Download the superuser from androidsu website. This is the RC version 3.2
  3. Download the latest clocworkmod recovery touch-version non-touch-version
  4. For simplicity sake, put all the files downloaded at a single folder
  5. Reboot phone into bootloader mode.
  6. Open a command prompt and go to the folder in step 4.
  7. 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
  8. Now using the vol down key choose to go to recovery.
  9. There, using the options, navigate to the install zip from sdcard and first install the OTA and then the superuser zip file.
  10. Reboot. You now have rooted JB

PS: I additionally did a fastboot oem lock and fastboot oem unlock back to back to wipe my sdcard too


Reason for this post?

Quote:
Originally Posted by dEris
Because if you're not on stock 4.0.4 image, you cannot flash the OTA zip. You get a Status 7 error.

This isn't "his" way. It's the official Google way if you go to the Google site to download stock images

Nexus S
Android 4.1.1 Jelly Bean JRO03E
My Blog

How to Clean Install JellyBean OTA
The Following 32 Users Say Thank You to jithinsarath For This Useful Post: [ Click to Expand ]
 
greg2826
Old
(Last edited by greg2826; 20th July 2012 at 08:16 PM.)
#2  
Senior Member
Thanks Meter 47
Posts: 258
Join Date: Nov 2010
Whats the difference/benefits between ur "way" and just flashing JB zip with proper clean install?
thanks in advance ;-]
 
dEris
Old
#3  
dEris's Avatar
Senior Member
Thanks Meter 684
Posts: 2,803
Join Date: Nov 2009
Location: Dallas Texas

 
DONATE TO ME
Quote:
Originally Posted by greg2826 View Post
Whats the difference/benefits between ur "way" and just flashing JB zip with proper clean install?
thanks in advance ;-]
Because if you're not on stock 4.0.4 image, you cannot flash the OTA zip. You get a Status 7 error.

This isn't "his" way. It's the official Google way if you go to the Google site to download stock images.
The Following 2 Users Say Thank You to dEris For This Useful Post: [ Click to Expand ]
 
chronophase1
Old
#4  
chronophase1's Avatar
Senior Member
Thanks Meter 163
Posts: 912
Join Date: Mar 2011
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.
Devices: Galaxy Nexus GSM(Deodexed 4.2.2) Nexus 7(Deodexed 4.2.2)
 
karleeezy
Old
#5  
karleeezy's Avatar
Junior Member
Thanks Meter 0
Posts: 12
Join Date: Dec 2010
Default turchs

This doesn't apply to the i9020a Nexus S

-_-
 
FirePoncho86
Old
#6  
FirePoncho86's Avatar
Senior Member
Thanks Meter 103
Posts: 384
Join Date: Nov 2011
Location: Montréal
Quote:
Originally Posted by karleeezy View Post
This doesn't apply to the i9020a Nexus S

-_-
Yes it does! I9020A OTA in the thread below!
http://forum.xda-developers.com/show....php?t=1736645
 
greg2826
Old
#7  
Senior Member
Thanks Meter 47
Posts: 258
Join Date: Nov 2010
Quote:
Originally Posted by dEris View Post
Because if you're not on stock 4.0.4 image, you cannot flash the OTA zip. You get a Status 7 error.

This isn't "his" way. It's the official Google way if you go to the Google site to download stock images.
ok got it
my thanks went 2 u
 
rhadrio
Old
#8  
rhadrio's Avatar
Senior Member
Thanks Meter 17
Posts: 149
Join Date: Aug 2010
Location: Jakarta
Couldn't you just do a factory reset after installing the OTA package?
NÖIRETTE IV | Samsung Google Nexus S GT-I9023

Predecessor: Sony Ericsson XPERIA X1 [NÖIRETTE I] - Blackberry 8900 [NÖIRETTE II] - Samsung Galaxy Ace GT-S5830 [NÖIRETTE III]

 

Quote:
Originally Posted by Bruce lee roy View Post
Nexus S until the wheels fall off. And when that sad day finally arrives, only another Nexus will take its place.
 
thas5
Old
#9  
thas5's Avatar
Member
Thanks Meter 12
Posts: 98
Join Date: Dec 2011
Location: Toronto
Thank you, your tutorial was helpful. Needed to go back to stock.
 
karleeezy
Old
#10  
karleeezy's Avatar
Junior Member
Thanks Meter 0
Posts: 12
Join Date: Dec 2010
Quote:
Originally Posted by FirePoncho86 View Post
Yes it does! I9020A OTA in the thread below!
http://forum.xda-developers.com/show....php?t=1736645
Got it! Thanks, dude!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes