What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Unroot and Relock Bootloader?

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.
 
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.
 
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.
 
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.
 
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:
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
 
Back
Top