Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,266 Members 45,544 Now Online
XDA Developers Android and Mobile Development Forum

[HOW TO] Restore Galaxy Nexus to Stock V2

Tip us?
 
Evostance
Old
(Last edited by Evostance; 1st July 2012 at 05:56 PM.) Reason: fixed commands from post 45
#1  
Evostance's Avatar
Senior Member - OP
Thanks Meter 330
Posts: 1,478
Join Date: Nov 2008

 
DONATE TO ME
Default [HOW TO] Restore Galaxy Nexus to Stock V2


This is a tutorial on how to return your Galaxy Nexus to stock if needed. This method uses the official images from Google

I am not to be held responsible if anything goes wrong when attempting this. This includes bricking your phone, flashing a bad image, causing WW3 etc. I am also not responsible for any files in this tutorial. They were all provided by other people.

There may be inaccuracies in this post that may lead to various things such as bricked devices so be warned. Let someone check it over first! If you see anything wrong, let me know and I will edit it!


What you need
  • Samsung Galaxy Nexus GSM Version
  • All the usual fastboot & ADB drivers etc
  • Fastboot
  • Official Google Image

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

Fastboot
DOWNLOAD


Quote:
1) Take a Nandroid Backup if you have CWM installed

2) Extract the content of the Google Image

3) Copy the contents of the Fastboot download to the same folder as where you extract the Google Image too.

4) Boot your phone into the Bootloader mode

5) Open up Command Prompt or Terminal, navigate to the folder you've extracted it all too and enter the following commands waiting for each to finish
Windows
fastboot-windows flash bootloader bootloader-maguro-primekk15.img
fastboot-windows reboot-bootloader
fastboot-windows flash radio radio-maguro-i9250xxkk6.img
fastboot-windows reboot-bootloader
fastboot-windows -w update image-yakju-icl53f.zip

Linux
./fastboot-linux flash bootloader bootloader-maguro-primekk15.img
./fastboot-linux reboot-bootloader
./fastboot-linux flash radio radio-maguro-i9250xxkk6.img
./fastboot-linux reboot-bootloader
./fastboot-linux -w update image-yakju-icl53f.zip

OSX
./fastboot-mac flash bootloader bootloader-maguro-primekk15.img
./fastboot-mac reboot-bootloader
./fastboot-mac flash radio radio-maguro-i9250xxkk6.img
./fastboot-mac reboot-bootloader
./fastboot-mac -w update image-yakju-icl53f.zip

6) The last step is to lock the bootloader. Restart the phone into the bootloader

7) Open CMD in the location of Superboot and type:
fastboot-windows oem lock
[SIZE="1"]Current Phone: Nexus 5 16GB | ROM: Stock
[SIZE="1"]Current Tablet: Nexus 10 | ROM: Sto

Follow me on Twitter
Circle me on G+
The Following 54 Users Say Thank You to Evostance For This Useful Post: [ Click to Expand ]
 
chandlerweb
Old
#2  
chandlerweb's Avatar
Senior Member
Thanks Meter 35
Posts: 203
Join Date: May 2010
Anyone other than the OP try this yet? If so, what state were you starting from (cwm installed, which custom rom etc) and did it work? did you need to do anything differently?
 
m_adnan
Old
#3  
Senior Member
Thanks Meter 39
Posts: 347
Join Date: Nov 2009
It works, can confirm!!

1. copy the extracted rom folder to clockworkmod\backup\maguro_4.0.1 on your internal storage
2. boot in too cwm
3. (what i do) in mount and storage menu, format system/data/cache
4. install super wipe lite zip file
5. restore the maguro_4.0.1 rom

phone boot up, everything fine, first run wizard start..

6. reboot to fastboot
7. flash the stock recovery "fastboot flash recovery recover.img"
8. boot in to recovery to test
9. reboot the phone

i didnt lock the bootloader while i will only root the device and other things let on stock.

i came from unlocked bootloader, clockworkmod recovery and android revolution hd rom..
The Following 5 Users Say Thank You to m_adnan For This Useful Post: [ Click to Expand ]
 
Evostance
Old
#4  
Evostance's Avatar
Senior Member - OP
Thanks Meter 330
Posts: 1,478
Join Date: Nov 2008

 
DONATE TO ME
Brilliant news.

I've updated the tutorial to include the latest updates
[SIZE="1"]Current Phone: Nexus 5 16GB | ROM: Stock
[SIZE="1"]Current Tablet: Nexus 10 | ROM: Sto

Follow me on Twitter
Circle me on G+
 
TroyBoy30
Old
#5  
TroyBoy30's Avatar
Senior Member
Thanks Meter 3
Posts: 120
Join Date: Oct 2007
Location: Atlanta, GA
so you cant just do a erase all content and setting like you can on the iphone?
 
Evostance
Old
#6  
Evostance's Avatar
Senior Member - OP
Thanks Meter 330
Posts: 1,478
Join Date: Nov 2008

 
DONATE TO ME
Quote:
Originally Posted by TroyBoy30 View Post
so you cant just do a erase all content and setting like you can on the iphone?
Even on a jailbroken iPhone, when you do a factory reset you get all your settings reset but the phone is still jailbroken.

Same thing applies with Android. You need to flash the stock files to get back to stock.
[SIZE="1"]Current Phone: Nexus 5 16GB | ROM: Stock
[SIZE="1"]Current Tablet: Nexus 10 | ROM: Sto

Follow me on Twitter
Circle me on G+
 
Thyrus
Old
#7  
Thyrus's Avatar
Recognized Themer
Thanks Meter 2224
Posts: 1,905
Join Date: Mar 2010
Location: Vienna
@evostance

Another possibility (as yours relies on having access to a backup/nandroid as well as somehow being able to access the SDCARD partition) which some people may not have


would be Peter Alfonsos "return to stock"way
http://www.peteralfonso.com/2011/11/...mages-for.html

flash it via fastboot and you are golden

All you need is fastboot and the image


My themes on Google Play

 
TroyBoy30
Old
#8  
TroyBoy30's Avatar
Senior Member
Thanks Meter 3
Posts: 120
Join Date: Oct 2007
Location: Atlanta, GA
Quote:
Originally Posted by Evostance View Post
Even on a jailbroken iPhone, when you do a factory reset you get all your settings reset but the phone is still jailbroken.

Same thing applies with Android. You need to flash the stock files to get back to stock.
ah i got ya. so when you say stock you mean unrooted, etc? So if i never root I can simply wipe data
 
Evostance
Old
#9  
Evostance's Avatar
Senior Member - OP
Thanks Meter 330
Posts: 1,478
Join Date: Nov 2008

 
DONATE TO ME
Quote:
Originally Posted by Thyrus View Post
@evostance

Another possibility (as yours relies on having access to a backup/nandroid as well as somehow being able to access the SDCARD partition) which some people may not have


would be Peter Alfonsos "return to stock"way
http://www.peteralfonso.com/2011/11/...mages-for.html

flash it via fastboot and you are golden

All you need is fastboot and the image
I tried that and it trashed my phone, so I had to restore to the zip above and all way fixed.
I think Peter might have changed his files now but not sure
[SIZE="1"]Current Phone: Nexus 5 16GB | ROM: Stock
[SIZE="1"]Current Tablet: Nexus 10 | ROM: Sto

Follow me on Twitter
Circle me on G+
 
m_adnan
Old
#10  
Senior Member
Thanks Meter 39
Posts: 347
Join Date: Nov 2009
guys have one problem, after i sucessdully restore the stock rom over the method i wrote i try it over fastboot with the original oem files from peter, erase system and user partition over fastboot and flash it again with the files on his site.. everything seems to work, and i finish with the setup from my device bit then i see in google account my calendar didnt sync, there is no entry for it.. i try to delete the account and recreate it but without success.. anybody here a idea what can ne the problem?? any suggestions how to fix that?? i dont want make the whole proceess over recovery, i like this method more while they are really empty images and not a nandroid backup..

many thanks!!

Sent from my Galaxy Nexus using XDA App
HTC G1 --> HTC Desire --> HTC Desire HD --> Galaxy S --> Galaxy SII --> HTC Sensation XE --> HTC XL --> Galaxy Nexus --> HTC One X --> Galaxy SIII --> RAZR HD --> ASUS Padfone 2 --> Galaxy SIII LTE

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes