Question correct way to unroot and re lock bootloader?

Search This thread

roirraW "edor" ehT

Forum Moderator
Staff member
want to put my p6p back to stock. currently rooted on stock firmware stock kernel etc. what's the best way to get it back to stock? do I need to flash back the stock boot image before I lock the bootloader?
Official Google Android Flash Tool, and then lock the bootloader after that.

Note that you should never lock the bootloader unless you're 100% stock, and flashing the full stock image is the only way of ensuring that, even if you choose to not let Official Google Android Flash Tool wipe your user data, as well.
 
  • Like
Reactions: s3axel and Alekos

whatsisnametake2

Senior Member
Yes. I would leave the oem unlock slider at allow unlock for awhile in case it goes sideways. I would wait for the first OTA update before changing that.
you mean in developer options? I hadn't thought of that thanks. so a full factory flash with wipe doesn't set that back to off?

so,
full factory flash with wipe
lock bootloader
boot into phone and turn OEM unlocking off
factory reset from phone settings

I'm returning the phone to google so it needs to be completely stock.
 

TonikJDK

Senior Member
Dec 9, 2012
2,784
1,463
Google Pixel 6 Pro
you mean in developer options? I hadn't thought of that thanks. so a full factory flash with wipe doesn't set that back to off?

so,
full factory flash with wipe
lock bootloader
boot into phone and turn OEM unlocking off
factory reset from phone settings

I'm returning the phone to google so it needs to be completely stock.

If you are returning it them skip my advice and do your steps.

Don't worry about this too much. Google does not care if you unlocked it.
 
  • Like
Reactions: roirraW "edor" ehT

Top Liked Posts