Locking Bootloader with Custom ROM - OnePlus 5 Questions & Answers

I just wondered if its possible to lock the OnePlus 5 bootloader with a custom ROM installed?
I only ask as I know it was possible with the OnePlus 2 previously.
Thanks! :good:

This is more out of interest but why would you need to lock bootloader after flashing a custom rom?

Z-Blade said:
This is more out of interest but why would you need to lock bootloader after flashing a custom rom?
Click to expand...
Click to collapse
My guess is to bypass the annoying screen before booting. Don't question why they wish to do it just help them do it....

The only way I know how to lock the bootloader is to simply go into the Developers option and disable OEM unlocking. I never done it myself so not sure if this will wipe your phone or not. Just back everything up just in case.

OcazPrime said:
My guess is to bypass the annoying screen before booting. Don't question why they wish to do it just help them do it....
Click to expand...
Click to collapse
Z-Blade said:
This is more out of interest but why would you need to lock bootloader after flashing a custom rom?
Click to expand...
Click to collapse
yeah its just to get rid of the annoying warning screen before booting and i guess just to feel that my device is somewhat secure lol

So anyone any idea if this is possible then or not?

Lmfaooooo wutt ?

adnan.techme said:
Lmfaooooo wutt ?
Click to expand...
Click to collapse
Well it was actually possible with the OnePlus 3. So just asking if it's possible one the 5 because that unlocked bootloader loading screen is irritating lol

Related

n1 returned with re locked bootloader

as from my other thread my n1 was sent back with a ill fitting back so i received it back today with the same imei number same serial number according to repair the bezel was replaced but there is no unlock padlock anymore is that usual
They gave you back your warranty, how nice of them
At least we now know there is a way to relock the phone, no?
SBS_ said:
They gave you back your warranty, how nice of them
At least we now know there is a way to relock the phone, no?
Click to expand...
Click to collapse
exactly what i was thinking
did you tell them the bootloader was unlocked?
xxmonsterx said:
did you tell them the bootloader was unlocked?
Click to expand...
Click to collapse
nope they never asked
How crazy is that???
It is possible to lock the bootloader, but you have to be working at HTC to do it.
liam.lah said:
It is possible to lock the bootloader, but you have to be working at HTC to do it.
Click to expand...
Click to collapse
Apparently
It is possible to lock the bootloader, but you have to be working at HTC to do it.
Click to expand...
Click to collapse
...for now?
I reckon they have some sort of flashing box that just obliterates everything and replaces it with official software.
dont they just have to flash back the original spl, which we dont have?
norman505 said:
dont they just have to flash back the original spl, which we dont have?
Click to expand...
Click to collapse
That's what i think.
Unless someone can get that, no luck. Though it's probably a good thing that we can't relock the bootloaders.

Nexus 6p nougat bootloader

I have a major problem, I need to know if it will be possible to flash a custom rom on a nexus 6p. It seems that it will be hard because of that new bootloader.
smilehead said:
I have a major problem, I need to know if it will be possible to flash a custom rom on a nexus 6p. It seems that it will be hard because of that new bootloader.
Click to expand...
Click to collapse
What do you mean? Any bootloader version on this device can be unlocked.
Heisenberg said:
What do you mean? Any bootloader version on this device can be unlocked.
Click to expand...
Click to collapse
Sorry, I'm new to this stuff. I thought they can change the bootloader when you upgrade. Thanks for the help though
smilehead said:
Sorry, I'm new to this stuff. I thought they can change the bootloader when you upgrade. Thanks for the help though
Click to expand...
Click to collapse
The bootloader does get updated. But you can unlock any bootloader, and updating it doesn't lock it again. Take a look at my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Oh, because i was afraid of the phone won't boot because of the android n won't boot if the phone has a unlocked bootloader.
smilehead said:
Oh, because i was afraid of the phone won't boot because of the android n won't boot if the phone has a unlocked bootloader.
Click to expand...
Click to collapse
Nope, nothing like that to worry about. The locked/unlocked status won't stop it from booting.
Thanks. I can now upgrade in peace

Lock BootLoader after Rooting?

Thanks for taking time to read my query.
I was wondering if I've to lock boot-loader after rooting ( I just rooted my Oero)
and before looking can I take everything backup on titanium backup and then restore everything after locking ?
I'm I still be rooted?
Regards
Unless you are on the totally stock system then I wouldn't lock your bootloader.
vjyrdy said:
Thanks for taking time to read my query.
I was wondering if I've to lock boot-loader after rooting ( I just rooted my Oero)
and before looking can I take everything backup on titanium backup and then restore everything after locking ?
I'm I still be rooted?
Regards
Click to expand...
Click to collapse
Technically i believe you could and would still be rooted, but I've always seen it advised NOT to lock your bootloader again until you are on 100% stock (right now your boot.img isn't stock since it's patched for root).
mrcooter said:
Technically i believe you could and would still be rooted, but I've always seen it advised NOT to lock your bootloader again until you are on 100% stock (right now your boot.img isn't stock since it's patched for root).
Click to expand...
Click to collapse
So you mean I would not be able to re-lock bootloader even if I had installed Nougat, isn't it?
thats because we are using tampered boot.img. Is it possible in-future we can use original boot.img ?
vjyrdy said:
Thanks for taking time to read my query.
I was wondering if I've to lock boot-loader after rooting ( I just rooted my Oero)
and before looking can I take everything backup on titanium backup and then restore everything after locking ?
I'm I still be rooted?
Regards
Click to expand...
Click to collapse
If you relock your bootloader with anything other than a factory image you will brick your device.
vjyrdy said:
So you mean I would not be able to re-lock bootloader even if I had installed Nougat, isn't it?
thats because we are using tampered boot.img. Is it possible in-future we can use original boot.img ?
Click to expand...
Click to collapse
If you modify your device, bottom line, you should leave it unlocked so you can fix things or go back to stock if needed, otherwise you could turn it into a paper weight. Even if root is done without modifying the boot.img, I would still keep it unlocked as there are usually still system changes.
mrcooter said:
If you modify your device, bottom line, you should leave it unlocked so you can fix things or go back to stock if needed, otherwise you could turn it into a paper weight. Even if root is done without modifying the boot.img, I would still keep it unlocked as there are usually still system changes.
Click to expand...
Click to collapse
This.
With a modified system or other partition, you risk a brick.
If anything goes wrong, once the bootloader is locked you can't fix it.
DO NOT LOCK THE BOOTLOADER ON ANY PHONE IF ROOTED!!!!!
See this thread:
https://forum.xda-developers.com/essential-phone/help/bricked-essential-phone-t3714809
When I boot my k20 plus I get "cannot verify corruption. Lock your boot loader" it sticks there until I press power. How do I get rid of that without locking bootloader?
zlost1 said:
When I boot my k20 plus I get "cannot verify corruption. Lock your boot loader" it sticks there until I press power. How do I get rid of that without locking bootloader?
Click to expand...
Click to collapse
K20+?? You are in the wrong thread sir. Please search for your phones XDA forum and ask in the rooting thread there. This is the essential ph-1 forum. Good luck!
Sent from my PH-1 using XDA Labs
swiftbones74 said:
K20+?? You are in the wrong thread sir. Please search for your phones XDA forum and ask in the rooting thread there. This is the essential ph-1 forum. Good luck!
Click to expand...
Click to collapse
Doesn't really matter what phone. If. It were a rocket with a string attached the question would have the. Same answer.
zlost1 said:
Doesn't really matter what phone. If. It were a rocket with a string attached the question would have the. Same answer.
Click to expand...
Click to collapse
This ain't the rocket and thread forum or the whatever dumb other thing forum so it really doesn't matter what the answer is.
Sent from my PH-1 using XDA Labs
I don't see anything about a phone type in the original question. Only that he asks about locking the boot loader.
zlost1 said:
I don't see anything about a phone type in the original question. Only that he asks about locking the boot loader.
Click to expand...
Click to collapse
Lol you are in the wrong thread genius. I don't know who "he" is but assume you are referring to the OP and in that case "He" doesn't need to mention anything about any specific phone because he is already posting in the right place. The question you asked about your k-whatever phone will most certainly be different for every phone. Good luck and who knows maybe a forum moderator can help you?
Sent from my PH-1 using XDA Labs
Also this. https://forum.xda-developers.com/lg-k20-plus/help
MOD EDIT
You are one trippy person ? if you really feel the need to post about your LG phone in the mata thread go right ahead buddy.
Sent from my PH-1 using XDA Labs
MOD EDIT
It's worth noting that the Essential PH-1 uses an A/B partition system so any advice given here would not be helpful in the slightest for devices that don't have the same file system. Quickly doing a search of your phone reveals it's not an A/B partitioned system so following advice here could potentially lead to you actually destroying your phone.
could you lock the BL once rooted if in fastboot mode it lists device tampering = false?
Wonderful reply
tech_head said:
This.
With a modified system or other partition, you risk a brick.
If anything goes wrong, once the bootloader is locked you can't fix it.
DO NOT LOCK THE BOOTLOADER ON ANY PHONE IF ROOTED!!!!!
See this thread:
https://forum.xda-developers.com/essential-phone/help/bricked-essential-phone-t3714809
Click to expand...
Click to collapse
Thanks, this reply should be pinned to the top of the thread. It is crucial information for our dear noobies
swiftbones74 said:
Lol you are in the wrong thread genius. I don't know who "he" is but assume you are referring to the OP and in that case "He" doesn't need to mention anything about any specific phone because he is already posting in the right place. The question you asked about your k-whatever phone will most certainly be different for every phone. Good luck and who knows maybe a forum moderator can help you?
Sent from my PH-1 using XDA Labs
Also this. https://forum.xda-developers.com/lg-k20-plus/help
Click to expand...
Click to collapse
Just an opinion, but...there are rules for posting in forums that Dev's, no matter how over worked and underpaid/appreciated should follow as well. Teach by example not proxy. Applaud the calm gentleman who responded with eloquent grammar and poise.
NaterTots said:
Unless you are on the totally stock system then I wouldn't lock your bootloader.
Click to expand...
Click to collapse
If you patched boot.img (Android 11 stock) with magisk and then lock bootloader... Will that be possible since it's stock rom or it altered because of the boot.img patch?
rossrosh007 said:
If you patched boot.img (Android 11 stock) with magisk and then lock bootloader... Will that be possible since it's stock rom or it altered because of the boot.img patch?
Click to expand...
Click to collapse
I don't know.

How do you fix message ''Your device has been unlocked and cant be trusted'' M3 Lite8

I unlocked the bootloader and now there is a message telling me whenever I boot that my device has been unlocked and cannot be trusted. Does anyone know how to fix this? Thanks
donster42019 said:
I unlocked the bootloader and now there is a message telling me whenever I boot that my device has been unlocked and cannot be trusted. Does anyone know how to fix this? Thanks
Click to expand...
Click to collapse
lock bootloader!
nicolap8 said:
lock bootloader!
Click to expand...
Click to collapse
Anything apart from that, and that is quite obvious!
donster42019 said:
Anything apart from that, and that is quite obvious!
Click to expand...
Click to collapse
No.Anything.
nicolap8 said:
No.Anything.
Click to expand...
Click to collapse
Okay, I just want to keep root, but I can't do that if I lock the bootloader. So please can you give me a solution, so I do not have to deal with an ugly message whenever I boot!

How can I hide the bootloader is unlocked screen?

I want to remove the bootloader is unlocked screen when you start the phone, is it possible is any way?
Btw, I have root and custom rom.
ZaKh10 said:
I want to remove the bootloader is unlocked screen when you start the phone, is it possible is any way?
Btw, I have root and custom rom.
Click to expand...
Click to collapse
The only way to do that is lock your bootloader again.
indian84 said:
The only way to do that is lock your bootloader again.
Click to expand...
Click to collapse
Okay, I thought that there was some mod to hide it.
ZaKh10 said:
Okay, I thought that there was some mod to hide it.
Click to expand...
Click to collapse
Unfortunately nope..
ZaKh10 said:
I want to remove the bootloader is unlocked screen when you start the phone, is it possible is any way?
Btw, I have root and custom rom.
Click to expand...
Click to collapse
Yes it's hideous and distracting. But for now they didn't find out how to get rid of it. It's probably part of the bootloader which can't be touched unless you want a total brick.
Sent from my ONEPLUS A6013 using Tapatalk
DaOldMan said:
Yes it's hideous and distracting. But for now they didn't find out how to get rid of it. It's probably part of the bootloader which can't be touched unless you want a total brick.
Sent from my ONEPLUS A6013 using Tapatalk
Click to expand...
Click to collapse
Yes, it's part of secure boot.
It's a requirement.
The screen is there to make sure some nefarious program does not unlock the BL and root your phone without you knowing.
Can't get rid of it.

Categories

Resources