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

[REF] [NS4G] Stock ROMs | How To Root/Unroot | OTA Files & Images

Tip us?
 
BuglessPete
Old
(Last edited by BuglessPete; 8th October 2011 at 02:03 AM.)
#1  
Senior Member - OP
Thanks Meter 875
Posts: 389
Join Date: Feb 2010

 
DONATE TO ME
Arrow [REF] [NS4G] Stock ROMs | How To Root/Unroot | OTA Files & Images

Why another post for stock files? Well for a few reasons, mainly the lack of quality found amongst the files in similar threads on the web. When I got my Nexus S 4G I took a look around the web, downloaded the stock roms that were floating around and noticed they were very flawed. The update scripts used in them were poorly done, seem to be the result of copy and pasting many update scripts together. The boot.imgs were also flawed, some of them even 8mbs in size, the stock boot.img is 2.8mb. After running them through one of my scripts, I also noticed many apps were not even zipaligned. Needless to say I did not flash these files. I took it upon myself to remake all these files. Stock files are essential to a development phone and can save many people in a sticky situation. Also, I have noticed that the official stock software images have not been released yet, so I went ahead and uploaded those for you all as well. These images include radio, boot, recovery, system, userdata, and bootloader. Please note, this post is not intended to bash anyone's work. I am simply trying to provide much needed files to the community. If you have any questions feel free to ask. Also, I may forget to keep this post updated so please check the downloads page on my website as it will always be maintained.

http://www.peteralfonso.com/p/downloads.html


Downloads: (Most can also be found in ROM Manager)
GRJ06D Stock Rooted ROM (Odexed)
GRJ22 Stock Rooted ROM (Odexed) (DeOdexed)
GRJ90 Stock Rooted ROM (Odexed) (DeOdexed)
GWK74 Stock Rooted ROM (Odexed) (DeOdexed)
GRJ22 Software Images
GRJ22 from GRJ06D OTA
GRJ90 from GRJ22 OTA
GWK74 from GRJ90 OTA
D720SPRKD8 Radio
D720SPRKE5 Radio
D720SPRKE1 Radio
Tethering Fix For Android 2.3.5 ROMs

How To: Root Nexus S 4G
1. Download GWK74 Stock Rooted ROM from above
2. Download CWM Recovery
3. Open a terminal and use the following commands:
Code:
adb reboot bootloader
fastboot oem unlock
fastboot flash recovery recovery-clockwork-5.0.2.0-crespo4g.img
4. Navigate to "recovery" in the bootloader and select it
5. Navigate to "mounts and storage" > "mount USB storage"
6. Place the GWK74 Stock Rooted ROM on your sdcard
7. Navigate to "Unmount" > "+++++Go Back+++++"
8. Navigate to "install zip from sdcard" > "choose zip from sdcard" > choose "GWK74ODEXED.zip" > choose "Yes – Install GWK74ODEXED.zip"
9. Navigate to "reboot system now" and enjoy.

How To: Return Nexus S 4G To Stock
1. Download the GRJ22 Images from above
2. Open a terminal and use the following commands:
Code:
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot oem lock
The Following 66 Users Say Thank You to BuglessPete For This Useful Post: [ Click to Expand ]
 
oxeneers
Old
#2  
oxeneers's Avatar
Senior Member
Thanks Meter 67
Posts: 526
Join Date: Mar 2008
Location: Long Beach, Calif.
Pete did you get a Nexus S 4G? Thought you were on Verizon?

Any ROM development plans?

Sent from my GT-P7510 using XDA Premium App
 
BuglessPete
Old
#3  
Senior Member - OP
Thanks Meter 875
Posts: 389
Join Date: Feb 2010

 
DONATE TO ME
Quote:
Originally Posted by oxeneers View Post
Pete did you get a Nexus S 4G? Thought you were on Verizon?

Any ROM development plans?

Sent from my GT-P7510 using XDA Premium App
My work provided me with the Nexus S 4G. I still use my OG Droid and will continue to develop for it. I have successfully built an entire AOSP ROM for the Nexus S 4G and am running it now, not sure what I will release for this device though seeing as how it is for work. Time will tell...right now I am really busy though.
The Following 2 Users Say Thank You to BuglessPete For This Useful Post: [ Click to Expand ]
 
mikeyinid
Old
#4  
mikeyinid's Avatar
Senior Member
Thanks Meter 2483
Posts: 6,820
Join Date: Sep 2010
Location: Nampa
Yea, I know the stuff I posted is crap I am not a dev and say that in the threads on several occasions. I am very, very glad you posted this, I will post a HUGE link in my thread to this also. Look forward to the awesomeness you will bring to this phone
Follow me on Twitter @mikeyinid
 
BuglessPete
Old
#5  
Senior Member - OP
Thanks Meter 875
Posts: 389
Join Date: Feb 2010

 
DONATE TO ME
Quote:
Originally Posted by mikeyinid View Post
Yea, I know the stuff I posted is crap I am not a dev and say that in the threads on several occasions. I am very, very glad you posted this, I will post a HUGE link in my thread to this also. Look forward to the awesomeness you will bring to this phone
Really hope I didn't offend anyone, that was not my intentions. Having said that the only way to learn is to try to put things together yourself, compare them to others, etc. I was there not long ago. Keep it up and soon you will know more than you imagined.
The Following 3 Users Say Thank You to BuglessPete For This Useful Post: [ Click to Expand ]
 
dalvarez7
Old
(Last edited by dalvarez7; 14th May 2011 at 03:58 AM.)
#6  
dalvarez7's Avatar
Senior Member
Thanks Meter 35
Posts: 469
Join Date: Nov 2007
Location: Overland Park
You plan on making a ROM for the NS4G? You also mentioned that the ROM's that were out there were not zipaligned. Is the stock version posted above zipaligned?
 
BuglessPete
Old
#7  
Senior Member - OP
Thanks Meter 875
Posts: 389
Join Date: Feb 2010

 
DONATE TO ME
Quote:
Originally Posted by dalvarez7 View Post
You plan on making a ROM for the NS4G? You also mentioned that the ROM's that were out there were not zipaligned. Is the stock version posted above zipaligned?
Not sure what my plans are as of now to be honest. You can guarantee anything I release will be zipaligned.
The Following User Says Thank You to BuglessPete For This Useful Post: [ Click to Expand ]
 
dalvarez7
Old
#8  
dalvarez7's Avatar
Senior Member
Thanks Meter 35
Posts: 469
Join Date: Nov 2007
Location: Overland Park
Quote:
Originally Posted by BuglessPete View Post
Not sure what my plans are as of now to be honest. You can guarantee anything I release will be zipaligned.
I for one would be very grateful if you made us a ROM for the NS4G.
 
shabbypenguin
Old
#9  
shabbypenguin's Avatar
Recognized Developer
Thanks Meter 4920
Posts: 4,516
Join Date: May 2010

 
DONATE TO ME
well thanks for this, you are correct on many points except one.. the stock images were released but most people had to work to get them :P
If you feel as though my work is worth something, you can alwaysDonate
 
tandxcstar1
Old
#10  
tandxcstar1's Avatar
Senior Member
Thanks Meter 89
Posts: 645
Join Date: Sep 2009
You are my HERO! Thx man
Sprint Nexus 5 | ┌П┐[◣_◢]┌П┐
Kernel: franco.Kernel
Sprint HTC M8 HK | ┌П┐[◣_◢]┌П┐


Galaxy Tab 10.1 Wifi ┌П┐[◣_◢]┌П┐
ROM: AOKP Milestone #6
Kernel: boot-cm_2636.4_p4wifi_ics-oc-xtra-vfpv3-d16_fp-071112
_____________________________________

Tags
crespo4g, images, nexus, root, stock
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes