Why re lock the bootloader?

kingmikel

Senior Member
Oct 19, 2015
262
227
0
I've read that some people like to install twrp, root, etc. and then re lock the bootloader. Is there any benefits to doing that? And is there a way to unlock/lock without wiping every time you unlock again?
 

[hfm]

Senior Member
Aug 21, 2009
2,159
599
0
NYC
It's better to relock it as if your phone is lost or stolen unlocking it ends up wiping the phone. Your data is safer.
 

kibmikey1

Senior Member
Aug 26, 2010
457
246
0
44
Los Angeles
Re-locking your bootloader can be risky. If you're on a custom rom and rooted, if something goes wrong, and you can't boot into Android, you could be stuck in a loop and have to either re-flash the rom in recovery (hopefully custom recovery) or wipe and re-flash stock via fastboot. Alternatively, you could experience the same issues using a custom kernel on stock for root. Basically, with the new verity checks and security framework, at this point with the phone being so new, you're better off sticking with it locked or unlocked and keeping it that way for optimal use.
 
  • Like
Reactions: kingmikel

kingmikel

Senior Member
Oct 19, 2015
262
227
0
Re-locking your bootloader can be risky. If you're on a custom rom and rooted, if something goes wrong, and you can't boot into Android, you could be stuck in a loop and have to either re-flash the rom in recovery (hopefully custom recovery) or wipe and re-flash stock via fastboot. Alternatively, you could experience the same issues using a custom kernel on stock for root. Basically, with the new verity checks and security framework, at this point with the phone being so new, you're better off sticking with it locked or unlocked and keeping it that way for optimal use.
I hadn't thought it of it that way! Good point, and thanks for the advice!

Which kind of forces you into a clean wipe each time you flash. Like you should.
I agree that clean wipes are the way to go, but it wipes everything including pictures, media, anything you might want to flash. You have to move everything to a pc, and then move it back which can be a hassle.

No, you can't if bootloader is locked, first thing is to unlock the bootloader.
What I meant is, if I unlock the bootloader and install twrp, can I re lock the bootloader and have twrp continue to work and be able to wipe, flash, etc.

TWRP should add a password function.
It won't unlock features until you enter a password. This protects the phone even with an unlocked bootloader.
This times a million!!
 

Haul

Senior Member
Aug 16, 2012
122
111
63
TWRP should add a password function.
It won't unlock features until you enter a password. This protects the phone even with an unlocked bootloader.
This won't effectively do anything. TWRP is just the recovery component. As long as your bootloader is unlocked, a thief can just boot into the bootloader and overwrite your recovery with his own (a new TWRP without a password, CWM, stock, etc).
 

hudsoncouto

Senior Member
Jun 8, 2013
361
254
0
Brasília
This won't effectively do anything. TWRP is just the recovery component. As long as your bootloader is unlocked, a thief can just boot into the bootloader and overwrite your recovery with his own (a new TWRP without a password, CWM, stock, etc).
When did the average pickpocketer, street mugger or armed robber become an expert Android developer? Chances are, the thug who steals your phone never heard of XDA anyways

I say keep your bootloader unlocked and stop overestimating **** Dastardly's IQ :silly:
 
Last edited:

jackdubl

Senior Member
Aug 14, 2010
946
207
0
Which kind of forces you into a clean wipe each time you flash. Like you should.

Besides, with Nandroid + titanium backups = not a big deal. You can always go back to where you were before flash or restore apps after.
Your Nandroid would get wiped also, though.

Sent from my Nexus 6P using Tapatalk
 

Elnrik

Senior Member
Nov 16, 2013
1,047
676
0
Denver
www.superbestaudiofriends.org
Your Nandroid would get wiped also, though.

Sent from my Nexus 6P using Tapatalk
Nope. Why would someone store backups on the device they are backing up? That's just crazy talk. :silly: :p :D

http://amzn.com/B00Q4U7LIO

Of course, I'm going to have to get something like this to replace it. Hopefully something comes along which will fit on my key ring.
Edit: Or This or That.
 
Last edited:

Born<ICs

Senior Member
Oct 29, 2012
418
70
58
GMT -5