Relock bootloader - OnePlus 7T Guides, News, & Discussion

Hi there,
I hope I post in the right section. Did search for it but didn't found the info.
Is it possible to relock bootloader (and loose root)?
Thanks,
Mambobuzzz

Yes but not recommended as if bricked, it'll be harder to unbrick. Msmtool can reinstall oos10 with locked BL, the can ota to oos11

If on custom roms, definitely not recommended to lock BL, if even possible

Oh ****. I'm on iOS. But a pre-rooted image. Do you count this as custom build?

Funny guy

Sorry i'm quite ignorant. Si I mean custom. Ok.

iOS? what lol?

Oh sorry stupid auto correction. I meant OOS.

Mambobuzzz said:
Oh sorry stupid auto correction. I meant OOS.
Click to expand...
Click to collapse
Oos is not custom so can use msmtool to reinstall locked oos10

HueyT said:
Oos is not custom so can use msmtool to reinstall locked oos10
Click to expand...
Click to collapse
Okay, thank you! Was not sure if pre-rooted OOS counts as custom or not. Will have a try.

Wondering. What happens if to the next OTA I just let it do?
I will loose root and get a full original ROM ready to relock bootloader?

Mambobuzzz said:
Wondering. What happens if to the next OTA I just let it do?
I will loose root and get a full original ROM ready to relock bootloader?
Click to expand...
Click to collapse
Yep

Sounds good. Thanks!

Related

Relocking bootloader question

Hi hope someone can verify.
I'm running stock 3.2.7 unrooted with stock recovery. The bootloader is still unlocked as I tried out a few custom ROMs about a month back. I now want to wipe and sell the phone so need to lock the bootloader. Can I just do the standard OEM lock in adb or should I also sideload the full 3.2.7 update zip again?
Thanks
just oem lock it. but everything will be removed when you do that.
Playa82 said:
just oem lock it. but everything will be removed when you do that.
Click to expand...
Click to collapse
Thanks, I thought so but I had to check. Strange... after rooting phones and installing custom ROMs for maybe 8 years, I don't think I've ever relocked a bootloader.
It's safer to flash stock again then to relock bootloader, even if you think you are stock (including recovery) maybe you are not.
But except the booting screen, you won't gain anything from relocking bootloader, even the warranty will work with bootloader unlocked.
SpaceGooner said:
Hi hope someone can verify.
I'm running stock 3.2.7 unrooted with stock recovery. The bootloader is still unlocked as I tried out a few custom ROMs about a month back. I now want to wipe and sell the phone so need to lock the bootloader. Can I just do the standard OEM lock in adb or should I also sideload the full 3.2.7 update zip again?
Thanks
Click to expand...
Click to collapse
Deleted my comment for incorrect information
Le_Zouave said:
It's safer to flash stock again then to relock bootloader, even if you think you are stock (including recovery) maybe you are not.
But except the booting screen, you won't gain anything from relocking bootloader, even the warranty will work with bootloader unlocked.
Click to expand...
Click to collapse
Thanks, but I plan to sell my OP3 to a high street store that buys and sells second-hand phones and tablets. Although it's only 3 months old and in immaculate condition, I'm guessing they may be reluctant to buy it if the start up screen says 'this phone can't be trusted...'
No choice in this situation - I will need to relock the bootloader I guess.
If you lock the bootloader, everything will be wiped and phone won't boot till you flash OOS.
ungeeked said:
If you lock the bootloader, everything will be wiped and phone won't boot till you flash OOS.
Click to expand...
Click to collapse
Thank you. So after OEM lock, when you say flash OOS do you mean sideload a full update zip? That's what I was asking in my original post.
SpaceGooner said:
Thank you. So after OEM lock, when you say flash OOS do you mean sideload a full update zip? That's what I was asking in my original post.
Click to expand...
Click to collapse
Yup.
SpaceGooner said:
Thank you. So after OEM lock, when you say flash OOS do you mean sideload a full update zip? That's what I was asking in my original post.
Click to expand...
Click to collapse
Follow:
https://forums.oneplus.net/threads/...lus-3-and-go-back-completely-to-stock.456232/
ritchiedrama said:
Follow:
https://forums.oneplus.net/threads/...lus-3-and-go-back-completely-to-stock.456232/
Click to expand...
Click to collapse
Ta mate. I already saw that thread but as I'm running a clean sideloaded OOS that has never been rooted, I am already back to stock. Anyway, as opinion seems to be divided on whether OEM lock alone is enough, I will also sideload a full OOS update zip again to be sure.
Won't be doing it for a few days though so it's all academic at the moment.
ritchiedrama said:
Follow:
https://forums.oneplus.net/threads/...lus-3-and-go-back-completely-to-stock.456232/
Click to expand...
Click to collapse
i did that guide too. i came from cm13. thiss guide works perfect if you follow all steps exactly.

Finally my Unlocked HTC 10 nougat, unlocked bootloader and rooted!

It seems that the Nougat and Marshmallow are the same procedures. The reason why I have made this post is, why didn't anyone here say that it is no different than the Marshmallow procedure?!
So far, everything is working without any complain!
Network is fine. Did I forget something that I should check if it's working or not?
Why should it be mentioned it isn't changed. It's actually only important when things DO change ! No news......no change. Simple as that. And if you do a xda search there will very likely be a post which will mention there are no changes regarding unlocking the bootloader, even sunshine to S-Off the device is still working the same.
Don't expect to be spoonfed but do some good old fashioned research. Checking the HTC dev site and the procedures there to unlock the bootloader hasn't changed either. Even their whole website layout hasn't changed.
But if something hasn't changed in the future we will put a reminder up to tell you
:highfive:
how do you root nougat HTC 10?
riz157 said:
how do you root nougat HTC 10?
Click to expand...
Click to collapse
The same as MM. Unlock the bootloader, flash TWRP and flash Superuser.zip (root access)
Mr Hofs said:
The same as MM. Unlock the bootloader, flash TWRP and flash Superuser.zip (root access)
Click to expand...
Click to collapse
Thanks could you provide link to correct superuser and flash via twrp pls?
I tried one file and got stuck in bootloop, fortunately I had backup so restored that.
riz157 said:
Thanks could you provide link to correct superuser and flash via twrp pls?
I tried one file and got stuck in bootloop, fortunately I had backup so restored that.
Click to expand...
Click to collapse
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Mr Hofs said:
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Click to expand...
Click to collapse
Thanks finally do I need s-off to flash custom ROM?
riz157 said:
Thanks finally do I need s-off to flash custom ROM?
Click to expand...
Click to collapse
No that's not mandatory.
Mr Hofs said:
No that's not mandatory.
Click to expand...
Click to collapse
thanks for your help, i've decided not to root but just flashed custom rom. I was informed i don't need root to flash custom roms, just waiting for it boot up!
riz157 said:
thanks for your help, i've decided not to root but just flashed custom rom. I was informed i don't need root to flash custom roms, just waiting for it boot up!
Click to expand...
Click to collapse
Indeed. Pretty much all the custom roms comes with root access.
Enjoy

Question about Custom ROM

I think I know the answer to this already but I'll ask anyway. If I flashed a custom ROM. Would it be possible at all to then go back to complete stock at some point and continue to get OTA updates once back?
Yes it is possible
rickysidhu_ said:
Yes it is possible
Click to expand...
Click to collapse
Not what I thought lol Thanks for the answer.
Yes it is
Cusrom is like when you bored with stock rom, and you can easily back to stock rom also
https://forum.xda-developers.com/oneplus-5t/how-to/guide-restore-to-complete-stock-relock-t3712739
And you'll continue to get OTA updates again? I love this phone more each day
Shaneee said:
And you'll continue to get OTA updates again? I love this phone more each day
Click to expand...
Click to collapse
You have a stock phone. Even if you flash an old rom, after a reboot you will get a ota.
sytayeth said:
You have a stock phone. Even if you flash an old rom, after a reboot you will get a ota.
Click to expand...
Click to collapse
That's awesome. Might try some of the ROMs while I'm waiting on the official Oreo then

Installing Stock Recovery - data loss?

Hi All,
I am currently rooted via Magisk with TWRP installed. I am unable to install the Feb OTA update because of this mostly. I am planning to get stock recovery while keeping the root - question is if I do this via the AIO tool <https://forum.xda-developers.com/pixel-2-xl/development/tool-tool-one-driversunlocktwrpfactory-t3730226> - will i lose all my data?
Thanks,
J2
arpanj2 said:
Hi All,
I am currently rooted via Magisk with TWRP installed. I am unable to install the Feb OTA update because of this mostly. I am planning to get stock recovery while keeping the root - question is if I do this via the AIO tool <https://forum.xda-developers.com/pi...l-tool-one-driversunlocktwrpfactory-t3730226> - will i lose all my data?
Thanks,
J2
Click to expand...
Click to collapse
If you want to take the ota, you need to be unrooted, and on stock recovery. You won't lose your data if your careful with the toolkit.
Badger50 said:
If you want to take the ota, you need to be unrooted, and on stock recovery. You won't lose your data if your careful with the toolkit.
Click to expand...
Click to collapse
Thanks Badger! For some reason I thought systemless root works with OTA.
arpanj2 said:
Thanks Badger! For some reason I thought systemless root works with OTA.
Click to expand...
Click to collapse
It used to, but not so much on this phone. Friendly advice for ya, learn how to flash factory images, and ditch the OTA's. Much quicker, and less room for error that side loading or waiting on OTA's. Just my opinion my friend ?
Badger50 said:
It used to, but not so much on this phone. Friendly advice for ya, learn how to flash factory images, and ditch the OTA's. Much quicker, and less room for error that side loading or waiting on OTA's. Just my opinion my friend
Click to expand...
Click to collapse
Hi badger,
If you are referring to steps laid out here - https://developers.google.com/android/images, then I can do it. Won't it still require me to be unrooted?
I am not that Tech agnostic - so if I am wrong, can you refer me to a thread where this is outlined. My only thing is that I get latest patches and still get to keep root without losing data
Thanks,
J2
arpanj2 said:
Hi badger,
If you are referring to steps laid out here - https://developers.google.com/android/images, then I can do it. Won't it still require me to be unrooted?
I am not that Tech agnostic - so if I am wrong, can you refer me to a thread where this is outlined. My only thing is that I get latest patches and still get to keep root without losing data
Thanks,
J2
Click to expand...
Click to collapse
Yep, that's the one. No, you don't have to be unrooted for it to work. You won't even lose any data once you learn the -w trick(you'll see) Here's a guide written by Flash, the kernel Dev Jedi Master. Look over that thread, and you'll figure it out pretty quick I bet ?
https://forum.xda-developers.com/pixel-2-xl/how-to/guide-unlock-flash-root-pixel-2-xl-t3702418
Badger50 said:
Yep, that's the one. No, you don't have to be unrooted for it to work. You won't even lose any data once you learn the -w trick(you'll see) Here's a guide written by Flash, the kernel Dev Jedi Master. Look over that thread, and you'll figure it out pretty quick I bet
https://forum.xda-developers.com/pixel-2-xl/how-to/guide-unlock-flash-root-pixel-2-xl-t3702418
Click to expand...
Click to collapse
Sounds perfect - I will get this done tonight
Thanks so much Badger! :angel:
arpanj2 said:
Sounds perfect - I will get this done tonight
Thanks so much Badger! :angel:
Click to expand...
Click to collapse
Welcome bro! Give em hell :good:
I can second this method. I flash factory images with root/unlocked bootloader. It is easy to do.

HELP Delete The Booatloader and Root from Honor 7X

hi guys
I want to delete The Booatloader and Root from my Honor 7X ( BND-L21)
is there a way ?
thank you
ALOoONE said:
hi guys
I want to delete The Booatloader and Root from my Honor 7X ( BND-L21)
is there a way ?
thank you
Click to expand...
Click to collapse
Well root yes. But if you delete the bootloader you will not be able to "load" anything to "boot"
In other words device will be just a brick
mrmazak said:
Well root yes. But if you delete the bootloader you will not be able to "load" anything to "boot"
In other words device will be just a brick
Click to expand...
Click to collapse
Even if i downloaded the operating system again?
I want to return the device to its original state
#mrmazak thanks for your reply
ALOoONE said:
Even if i downloaded the operating system again?
I want to return the device to its original state
#mrmazak thanks for your reply
Click to expand...
Click to collapse
Well original state , Android has always had a bootloader. You cannot delete it.
Maybe you just want to unroot and relock bootloader?
This is possible. And answered in the thread. Do a search.
mrmazak said:
Well original state , Android has always had a bootloader. You cannot delete it.
Maybe you just want to unroot and relock bootloader?
This is possible. And answered in the thread. Do a search.
Click to expand...
Click to collapse
Yes, I want to do that
I am new here and do not know much about Android
I will search
thanks
ALOoONE said:
Yes, I want to do that
I am new here and do not know much about Android
I will search
thanks
Click to expand...
Click to collapse
Couple of warnings first. If you are new to Android and rooting, you might not know, lot of times problems(bootloops) happen when you do not do it correctly.
If phone is not on full stock unrooted system then locking bootloader will cause phone to "brick".
Do you have reason to need it locked again?
Usually to unroot all you need to do is flash the stock boot.img if you are on nougat or stock Ramdisk if you are on Oreo.
Magisk manager has an unroot option that will work only if you installed root from twrp.
mrmazak said:
Couple of warnings first. If you are new to Android and rooting, you might not know, lot of times problems(bootloops) happen when you do not do it correctly.
If phone is not on full stock unrooted system then locking bootloader will cause phone to "brick".
Do you have reason to need it locked again?
Usually to unroot all you need to do is flash the stock boot.img if you are on nougat or stock Ramdisk if you are on Oreo.
Magisk manager has an unroot option that will work only if you installed root from twrp.
Click to expand...
Click to collapse
I used this Video And my phone is the same type
https://www.youtube.com/watch?v=sI3TR3aB7O4&index=30&list=WL&t=140s
After the root i did not benefit from it ,I want to update my operating system and I can not because of the root
I want to unroot the phone (Honor 7X EMUI 5.1 -ANDROID 7.0)
ALOoONE said:
I used this Video And my phone is the same type
https://www.youtube.com/watch?v=sI3TR3aB7O4&index=30&list=WL&t=140s
After the root i did not benefit from it ,I want to update my operating system and I can not because of the root
I want to unroot the phone (Honor 7X EMUI 5.1 -ANDROID 7.0)
Click to expand...
Click to collapse
Well if what you want is to update. There is hwota for doing g that while rooted. And when it finishes you will be updated, unrooted, and if you want bootloader locked.
mrmazak said:
Well if what you want is to update. There is hwota for doing g that while rooted. And when it finishes you will be updated, unrooted, and if you want bootloader locked.
Click to expand...
Click to collapse
Yas thank you This is great news what I have to do
( I've done a lot of things yesterday in my device, for example somthig call FLASHIFY and SuperSU and now the ROOT CHECKER tells me that Sorry Root is not properly installed on this device
and still cant update and still have the message when you start the phone *you deivce has been unlock ... ....the message *)
ALOoONE said:
Yas thank you This is great news what I have to do
( I've done a lot of things yesterday in my device, for example somthig call FLASHIFY and SuperSU and now the ROOT CHECKER tells me that Sorry Root is not properly installed on this device
and still cant update and still have the message when you start the phone *you deivce has been unlock ... ....the message *)
Click to expand...
Click to collapse
Follow this guide. It will allow you to make update, as long as your model has fullOTA update available
https://forum.xda-developers.com/honor-7x/how-to/guide-honor-7x-flash-oreo-update-t3781649
mrmazak said:
Follow this guide. It will allow you to make update, as long as your model has fullOTA update available
https://forum.xda-developers.com/honor-7x/how-to/guide-honor-7x-flash-oreo-update-t3781649
Click to expand...
Click to collapse
I will thank you so mutch

Categories

Resources