Unroot and Relock Bootloader?

Detonation

Member
Joined
Jan 20, 2010
Messages
925
Reaction score
6
Location
Wisconsin
Whenever I get new electronics I try not to mess/tweak them for a little while in case I find something defective and need a warranty exchange. However, I've really been itching to root my Nexus so I can restore my app/data and use root apps. Is it possible to unroot and relock the bootloader in the event I would need a warranty replacement? Regardless if Verizon actually checks or not...would rather be safe than sorry.
 

NewAge

XOOM Rescue Squad
Rescue Squad
Joined
Dec 11, 2010
Messages
178
Reaction score
14
Sure is! No reason to unroot. Just push stock images with fastboot and I have verified "fastboot oem lock" works from command prompt pointed to the folder fastboot.exe is located in. If all you changed is the recovery, ensure stock recovery is loaded and it will work. All stock images must be installed for oem lock to work. and from what i can see there is no way for anyone to know it was once unlocked.
 

scdown

Member
Joined
Sep 8, 2011
Messages
293
Reaction score
5
Location
Denver, Colorado
I would imagine that would be a process of:
  1. Removing /system/bin/su via adb shell
  2. Removing /system/app/Superuser.apk via adb shell
  3. Rebooting the phone to the bootloader
  4. fastboot oem lock
Not verified - but if unlocking and rooting was ALL you did to the phone, this would seem to be a logical way to reverse it.
 

vtnerd

Member
Joined
Sep 1, 2011
Messages
38
Reaction score
0
I too am curious about this.

If I root and brick the phone, I'm not going to hold VZW responsible and try to cheat a warranty replacement out of them.

But, if I root and my power button or volume button wears out in 9 months, I don't want to get screwed because I rooted once upon a time and it has nothing to do with the actual problem.
 

NewAge

XOOM Rescue Squad
Rescue Squad
Joined
Dec 11, 2010
Messages
178
Reaction score
14
Exact commands:

adb reboot bootloader
fastboot flash bootloader bootloader-toro-primekk15.img
fastboot reboot-bootloader
fastboot flash radio radio-toro-i515.ek02.img
fastboot reboot-bootloader
fastboot flash radio-cdma radio-cdma-toro-i515.ek05.img
fastboot reboot-bootloader
fastboot -w update image-mysid-icl53f.zip
fastboot reboot-bootloader
fastboot oem lock
Use volume rocker to select ok and then Gnex will reboot.

You are now stock, locked and unrooted.

Droid-Life.

Get the images from Google. There is a thread floating around.

Edit: Changed to reflect actual commands. Don't want to spread bad info!
 
Last edited:

NewAge

XOOM Rescue Squad
Rescue Squad
Joined
Dec 11, 2010
Messages
178
Reaction score
14
The four files (boot.img, system.img, recovery.img and userdata.img) are located in the image-mysid-icl53f.zip after downloading from Google. Unzip them and place in folder that fastboot.exe is located in.

It also contaings a "flash-all.sh" which will allow you to flash them all with one command.

Command is in this thread: Factory images for the Verizon Galaxy Nexus - Android Forums at AndroidCentral.com
 
Last edited:

NewAge

XOOM Rescue Squad
Rescue Squad
Joined
Dec 11, 2010
Messages
178
Reaction score
14
Awesome, thanks for the responses everyone. Just noticed that Droid-Life also answered my exact question shortly after I posted this: How to: Unroot the Galaxy Nexus, Re-lock the Bootloader and Return to a Factory State – Droid Life

LMAO! I was just going to post this. I wasn't too far off!

adb reboot bootloader
fastboot flash bootloader bootloader-toro-primekk15.img
fastboot reboot-bootloader
fastboot flash radio radio-toro-i515.ek02.img
fastboot reboot-bootloader
fastboot flash radio-cdma radio-cdma-toro-i515.ek05.img
fastboot reboot-bootloader
fastboot -w update image-mysid-icl53f.zip
fastboot reboot-bootloader
fastboot oem lock
 
Top