Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP BuglessPete

14th May 2011, 03:54 AM   |  #1  
OP Senior Member
Thanks Meter: 875
 
389 posts
Join Date:Joined: Feb 2010
Donate to Me
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
Last edited by BuglessPete; 8th October 2011 at 03:03 AM.
The Following 66 Users Say Thank You to BuglessPete For This Useful Post: [ View ]
14th May 2011, 03:58 AM   |  #2  
oxeneers's Avatar
Senior Member
Flag Long Beach, Calif.
Thanks Meter: 79
 
529 posts
Join Date:Joined: Mar 2008
More
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
14th May 2011, 04:02 AM   |  #3  
OP Senior Member
Thanks Meter: 875
 
389 posts
Join Date:Joined: Feb 2010
Donate to Me
Quote:
Originally Posted by oxeneers

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: [ View ]
14th May 2011, 04:12 AM   |  #4  
mikeyinid's Avatar
Senior Member
Flag Nampa
Thanks Meter: 2,659
 
6,892 posts
Join Date:Joined: Sep 2010
More
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
14th May 2011, 04:25 AM   |  #5  
OP Senior Member
Thanks Meter: 875
 
389 posts
Join Date:Joined: Feb 2010
Donate to Me
Quote:
Originally Posted by mikeyinid

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: [ View ]
14th May 2011, 04:55 AM   |  #6  
dalvarez7's Avatar
Senior Member
Flag Overland Park
Thanks Meter: 36
 
469 posts
Join Date:Joined: Nov 2007
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?
Last edited by dalvarez7; 14th May 2011 at 04:58 AM.
14th May 2011, 05:06 AM   |  #7  
OP Senior Member
Thanks Meter: 875
 
389 posts
Join Date:Joined: Feb 2010
Donate to Me
Quote:
Originally Posted by dalvarez7

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: [ View ]
14th May 2011, 05:29 AM   |  #8  
dalvarez7's Avatar
Senior Member
Flag Overland Park
Thanks Meter: 36
 
469 posts
Join Date:Joined: Nov 2007
Quote:
Originally Posted by BuglessPete

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.
14th May 2011, 05:31 AM   |  #9  
shabbypenguin's Avatar
Recognized Developer
Thanks Meter: 5,123
 
4,667 posts
Join Date:Joined: May 2010
Donate to Me
More
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
14th May 2011, 05:32 AM   |  #10  
tandxcstar1's Avatar
Senior Member
Thanks Meter: 89
 
645 posts
Join Date:Joined: Sep 2009
More
You are my HERO! Thx man

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes