How to Relock Bootloader of OnePlus 7t - OnePlus 7T Questions & Answers

Anyone know how to Relock Bootloader of OnePlus 7t

frank602z said:
Anyone know how to Relock Bootloader of OnePlus 7t
Click to expand...
Click to collapse
fastboot oem lock

abalam said:
fastboot oem lock
Click to expand...
Click to collapse
Does it swipe the phone?
I know it does when unlocking but I'm not sure about locking... Actually I never did it xD

abalam said:
fastboot oem lock
Click to expand...
Click to collapse
After that, I ended up getting a loop of:
"Your device is corrupt. it can't be trusted and will not boot. Visit this link on another device"

frank602z said:
After that, I ended up getting a loop of:
"Your device is corrupt. it can't be trusted and will not boot. Visit this link on another device"
Click to expand...
Click to collapse
Did you do any modifications on your phone like root?
If so, you'll need to restore to stock either with fastboot ROM or MSM tool, the lock the bootloader.
Sent from my OnePlus7TPro using XDA Labs

Lossyx said:
Did you do any modifications on your phone like root?
If so, you'll need to restore to stock either with fastboot ROM or MSM tool, the lock the bootloader.
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
:good:

Never lock the bootloader after making system-level changes!

Lossyx said:
Did you do any modifications on your phone like root?
If so, you'll need to restore to stock either with fastboot ROM or MSM tool, the lock the bootloader.
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
how do i restore to stock? please help me

is it safe to just relock normally in fastboot via command prompt if ur on beta 2 one plus ?? Do i need any files to do it ? except adb etc...

If You did not messed with Rom it will be ok, but if You root it, first You need to go back to stock rom

Will the phone boot after relocking with a custom rom without root?

If You are full stock, stock rom, fastboot, all is stock, You should lock bootloader with no problem.
First search and read. I will be not responsible for bricking Your device.
Read about msm unbricking tool

I get "your device corrupt" after I try to relock my bootloader in 7T..
Im full stock because I flashed stock with this tutorial:
https://forum.xda-developers.com/oneplus-7t/how-to/rom-stock-fastboot-roms-oneplus-7t-t3979213
Any ideas?

yanokashi said:
I get "your device corrupt" after I try to relock my bootloader in 7T..
Im full stock because I flashed stock with this tutorial:
https://forum.xda-developers.com/oneplus-7t/how-to/rom-stock-fastboot-roms-oneplus-7t-t3979213
Any ideas?
Click to expand...
Click to collapse
Use MSM tool.
Sent from my OnePlus7TPro using XDA Labs

Globus.gd said:
If You are full stock, stock rom, fastboot, all is stock, You should lock bootloader with no problem.
First search and read. I will be not responsible for bricking Your device.
Read about msm unbricking tool
Click to expand...
Click to collapse
My phone is full stock, never rooted, just one day i unlock the bootloader but (so far) i want the bootloader locked again. I did the same procedure but wrote "lock" instead and nothing happend.
---------- Post added at 09:43 AM ---------- Previous post was at 09:28 AM ----------
abalam said:
fastboot oem lock
Click to expand...
Click to collapse
I tried 3 weeks ago and no work!

And what You get as response for: fastboot oem device-info
??

yanokashi said:
I get "your device corrupt" after I try to relock my bootloader in 7T..
Im full stock because I flashed stock with this tutorial:
https://forum.xda-developers.com/oneplus-7t/how-to/rom-stock-fastboot-roms-oneplus-7t-t3979213
Any ideas?
Click to expand...
Click to collapse
Download the same version zip file and then use the local upgrade method to flash. I hope the "Corrupt" wiriting will go way.

Globus.gd said:
And what You get as response for: fastboot oem device-info
??
Click to expand...
Click to collapse
Done! Just wrote fastboot oem lock .....and walahhh! My bootloader is lock againg and i have my netflix with high definition videos again (L1) plus my google pay is working again! Thanks!:good:
---------- Post added at 10:36 PM ---------- Previous post was at 10:30 PM ----------
The problem is with rooted devices. If anyone have a full stock (without root) HD1905 and only the bootloader unlocked....just use again de adb program and write
FASTBOOT OEM LOCK and the problem with some app dispear and your phone run like factory as normal.

nice tips!

wilsonmd said:
Done! Just wrote fastboot oem lock .....and walahhh! My bootloader is lock againg and i have my netflix with high definition videos again (L1) plus my google pay is working again! Thanks!:good:
The problem is with rooted devices. If anyone have a full stock (without root) HD1905 and only the bootloader unlocked....just use again de adb program and write
FASTBOOT OEM LOCK and the problem with some app dispear and your phone run like factory as normal.
Click to expand...
Click to collapse
Got my HD1905, unlocked bootloader (no root etc. Only to be able to use TWRP, just in case) and installed my apps. Then I noticed the Netflix problem with unlocked bootloader. If I do a 'fastboot oem lock' now, I'm pretty sure it will do a factory reset, correct?
Thx, W

Related

Unlock bootloader without wiping

Hey guys. So I was trying to install a stock RUU zip and for that I relocked my bootloader. The thing is I'm not being able to install the RUU zip and the phone is bricked, and I just want to unlock the bootloader again and install a custom rom to have this over with. The other thing is that I have many files in there, I had only 3 gb free of memory, and I don't have a backup of those since my computer broke down and I lost my files. Is there a way to backup my files while the phone is bricked? Or a way to unlock the bootloader without wiping my files?
I hope you have good news for me, I'm getting kinda nervous... Thanks in advance
tiagoSequeira said:
Hey guys. So I was trying to install a stock RUU zip and for that I relocked my bootloader. The thing is I'm not being able to install the RUU zip and the phone is bricked, and I just want to unlock the bootloader again and install a custom rom to have this over with. The other thing is that I have many files in there, I had only 3 gb free of memory, and I don't have a backup of those since my computer broke down and I lost my files. Is there a way to backup my files while the phone is bricked? Or a way to unlock the bootloader without wiping my files?
I hope you have good news for me, I'm getting kinda nervous... Thanks in advance
Click to expand...
Click to collapse
You phone isn't bricked i bet it.... the real brick for the one X is the APX mode...however could you access recovery? fastboot?
matt95 said:
You phone isn't bricked i bet it.... the real brick for the one X is the APX mode...however could you access recovery? fastboot?
Click to expand...
Click to collapse
I can't access or install recovery. I can access fastboot though. Everytime I boot it it goes into fastboot mode
tiagoSequeira said:
I can't access or install recovery. I can access fastboot though. Everytime I boot it it goes into fastboot mode
Click to expand...
Click to collapse
Is your bootloader unloked?
matt95 said:
Is your bootloader unloked?
Click to expand...
Click to collapse
No, it was relocked, therefore it's locked now
tiagoSequeira said:
No, it was relocked, therefore it's locked now
Click to expand...
Click to collapse
That's why you can't flash anything, unlock your bootloader and all your problems will be gone
matt95 said:
That's why you can't flash anything, unlock your bootloader and all your problems will be gone
Click to expand...
Click to collapse
I had that in mind. The problem is that unlocking the bootloader will wipe my phone completely and I wonder if that's a method of unlocking my bl without wiping
There's no way around unfortunately... The only way you can backup is through the command
Code:
adb backup
and you can do this only with the phone in recovery or booted up
matt95 said:
There's no way around unfortunately... The only way you can backup is through the command
Code:
adb backup
and you can do this only with the phone in recovery or booted up
Click to expand...
Click to collapse
That is terrible, I realy had bad luck this time around... I really didn't want to lose all my photos and music :crying:
Thanks anyway
tiagoSequeira said:
That is terrible, I realy had bad luck this time around... I really didn't want to lose all my photos and music :crying:
Thanks anyway
Click to expand...
Click to collapse
I don't know any way to backup files through fastboot, sorry
---------- Post added at 08:35 PM ---------- Previous post was at 08:33 PM ----------
Try to
Fastboot oem rebootRUU
then check if adb recognizes the phone
matt95 said:
I don't know any way to backup files through fastboot, sorry
---------- Post added at 08:35 PM ---------- Previous post was at 08:33 PM ----------
Try to
Fastboot oem rebootRUU
then check if adb recognizes the phone
Click to expand...
Click to collapse
on the plus side you will still have a working phone:good:
matt95 said:
I don't know any way to backup files through fastboot, sorry
---------- Post added at 08:35 PM ---------- Previous post was at 08:33 PM ----------
Try to
Fastboot oem rebootRUU
then check if adb recognizes the phone
Click to expand...
Click to collapse
I feel very bad because of this, I'll just try to unlock the bootloader and install a rom on the phone, thanks
tiagoSequeira said:
I feel very bad because of this, I'll just try to unlock the bootloader and install a rom on the phone, thanks
Click to expand...
Click to collapse
Wait, check my post above before
matt95 said:
Wait, check my post above before
Click to expand...
Click to collapse
I'm still trying to flash the RUU, I always get the error: 12 signature verify fail. Can I solve this?
Check here http://forum.xda-developers.com/showthread.php?t=1859714
matt95 said:
Check here http://forum.xda-developers.com/showthread.php?t=1859714
Click to expand...
Click to collapse
I'll give a try and report later, thank you for being so helpful
tiagoSequeira said:
I'll give a try and report later, thank you for being so helpful
Click to expand...
Click to collapse
Let me know
You can try to make a backup via the app called Carbon. It does not need root acces or anything.
Thanks everybody! I unlocked the bootloader expecting to lose everything I had but in some crazy way everything is fine, my files are untouched, the phone is boot looping but that I know how to fix without a problem. Thanks for spending your time with me, problem solved
Ah if i recall it right its like this, the very first time you unlock the bootloader
Locked to unlocked
It deletes everything.....when going from
Relocked to unlocked
All is fine as you have experienced now.

Not working Nexus 5X

I can't run Nexus 5X after flash stock firmware.
Phone restarts when is boot animation.
I have locked bootloader.
Please help
reboot to fastboot, use a computer with fastboot drivers and use the following commands...
fastboot format cache
fastboot format userdata
And NEVER uncheck that "allow unlocking" box
noidea24 said:
reboot to fastboot, use a computer with fastboot drivers and use the following commands...
fastboot format cache
fastboot format userdata
And NEVER uncheck that "allow unlocking" box
Click to expand...
Click to collapse
Thank You for answer but I can't do this because I have locked bootloader.
I tried to think of everything I have to give to repair.
Have you tried a factory reset from the stock recovery?
The_mamba said:
Have you tried a factory reset from the stock recovery?
Click to expand...
Click to collapse
Yes
I have this phone only 2 weeks.
XPawlex said:
Thank You for answer but I can't do this because I have locked bootloader.
I tried to think of everything I have to give to repair.
Click to expand...
Click to collapse
bootloader does not have to be unlocked for those commands.
Once you try the above suggestions, download the latest OTA and ADB sideload it. No unlocked bootloader required. The instructions on how to sideload are on the download page.
Sent from my Nexus 5X using Tapatalk
noidea24 said:
bootloader does not have to be unlocked for those commands.
Click to expand...
Click to collapse
uhm, from what I remember from the Nexus 6 brick disaster due to locked bootloader + disabled OEM unlocking + fail OTA, people were claiming that they couldn't do those 2 commands either with a locked bootloader.
noidea24 said:
bootloader does not have to be unlocked for those commands.
Click to expand...
Click to collapse
I haven't tested with the latest bootloaders, but I thought I recalled you couldn't do any write operations through the bootloader when it was locked.
Thank You
Thank you all for your answers, I will give tomorrow to repair. I will answer when I get it back and write what was the cause.
They gave me money for the phone, topic is closed.

Bricked Pixel XL

So I messed up a bit when relocking my bootloader. I relocked the bootloader, and completely forgot that I had the ElementalX kernel installed. Now I'm at a point where my phone wont boot because it has a custom kernel installed on top of a locked bootloader, and I can't boot the phone to enable OEM unlocking. What the hell do I do here?
Flash the stock images.
flonker said:
Flash the stock images.
Click to expand...
Click to collapse
Doesn't the bootloader need to be unlocked?
harritaco said:
Doesn't the bootloader need to be unlocked?
Click to expand...
Click to collapse
You can still do that. If you want to get back to stock, read through this:
https://developers.google.com/android/images
Just make sure you download the correct images and follow the instructions. Read through everything before you start.
Edit: This is dependent on being able to get into fastboot, which, judging from another thread, might not be possible in your situation. Hopefully you still can boot into fastboot using the key commands.
flonker said:
You can still do that. If you want to get back to stock, read through this:
https://developers.google.com/android/images
Just make sure you download the correct images and follow the instructions. Read through everything before you start.
Edit: This is dependent on being able to get into fastboot, which, judging from another thread, might not be possible in your situation. Hopefully you still can boot into fastboot using the key commands.
Click to expand...
Click to collapse
That is not an option. You need to have the bootloader unlocked in order to flash the images. I can't unlock the bootloader because I can't boot the device. I can get in to fastboot, and watch the charging animation, thats it. I can push commands, then it just comes back at me and tells me that I need to unlock the bootloader.
Running "fastboot continue" let me in. I was able to get the bootloader unlocked again.
harritaco said:
Running "fastboot continue" let me in. I was able to get the bootloader unlocked again.
Click to expand...
Click to collapse
Awesome man. I need to archive this solution as we all have brainfarts sometimes and it's only a matter of time before myself or someone else stumbles. Thanks for sharing your solution.
schwem said:
Awesome man. I need to archive this solution as we all have brainfarts sometimes and it's only a matter of time before myself or someone else stumbles. Thanks for sharing your solution.
Click to expand...
Click to collapse
I definitely can't take credit for it, I saw it on a PSA thread that jcase posted on XDA regarding this topic. I happened to find the post after somebody mentioned him in my reddit post.
https://imgur.com/a/8O93m
harritaco said:
I definitely can't take credit for it, I saw it on a PSA thread that jcase posted on XDA regarding this topic. I happened to find the post after somebody mentioned him in my reddit post.
https://imgur.com/a/8O93m
Click to expand...
Click to collapse
Hey! I'm the guy that mentioned the jcase solution in your Reddit post. Glad you got it fixed.
Anyone have any idea what to do if "fastboot continue" does not work. As I too am stupid and relocked the bootloader. Now all I get is "this device is courpt" when I try to boot it up.
longbowpilot said:
Anyone have any idea what to do if "fastboot continue" does not work. As I too am stupid and relocked the bootloader. Now all I get is "this device is courpt" when I try to boot it up.
Click to expand...
Click to collapse
Did you load into bootloader (vol down + power) and try to run "fastboot -w" (to wipe userdata) then "fastboot continue" and wait 10 min. If you still don't boot power down, go into bootloader again and try "fastboot continue" again.
Sent from my sailfish using XDA Labs
I have tried the "fastboot -w" it says failed and the phone still says courpt. I guess ill just get a replacement. Thanks for the help.
I just want to confirm 100%...flashing stock will not RELOCK bootloader correct? I have a terrible freezing and force closing issue after rooting. I have flashed the stock boot image and tried other kernels but it hasn't helped. So I'm going to flash complete stock but afraid it will RELOCK bootloader
Forgot to mention I have an OTA but the download/install fails every time
Sent from my Pixel XL using XDA-Developers mobile app
Flashing stock will not relock the bootloader.
DIXZ06 said:
Flashing stock will not relock the bootloader.
Click to expand...
Click to collapse
Good to hear. Thank you for confirming
Sent from my Pixel XL using XDA-Developers mobile app
It happened in my case, i forgot to oem unlocking and usb debugging activated.. my rom is 7.1.1, need help, i am stuck in dot loop..
flonker said:
Flash the stock images.
Click to expand...
Click to collapse
This will not work with a locked bootloader. If it did, anyone could flash older firmware and use the bootloader unlock tool. You're screwed once you relock the bootloader with a non stock kernel. Unfortunately for the OP, I suspect he now has a very expensive paper weight.
Mike02z said:
This will not work with a locked bootloader. If it did, anyone could flash older firmware and use the bootloader unlock tool. You're screwed once you relock the bootloader with a non stock kernel. Unfortunately for the OP, I suspect he now has a very expensive paper weight.
Click to expand...
Click to collapse
Op fixed his issue. Read one page back. He got it to boot with fastboot continue.
On a side note. Why the hell is anyone locking their bootloader's.
toknitup420 said:
Op fixed his issue. Read one page back. He got it to boot with fastboot continue.
On a side note. Why the hell is anyone locking their bootloader's.
Click to expand...
Click to collapse
dont understand that too^^
I think there should be a sticky that not to relock the bootloader before reading the proper instructions or please search the xda forums.
Sent from my Pixel XL using XDA-Developers Legacy app

re lock the bootloader and unroot?

hello to everyone , I would like to know how to re lock the bootloader and unroot and flash to stock global rom. If anyone can help it would be much appreciated. I am currently using RR on china dev base (chiron)
thanks
I believe if you wipe and flash stock, it relocks the bootloader.
alose said:
I believe if you wipe and flash stock, it relocks the bootloader.
Click to expand...
Click to collapse
thanks will try that!
or fastboot oem lock
animaleyes76 said:
or fastboot oem lock
Click to expand...
Click to collapse
alose said:
I believe if you wipe and flash stock, it relocks the bootloader.
Click to expand...
Click to collapse
i flashed the stock rom but still unlocked bootloader
if i do the fastboot method will it work? have you tried it? do i have a chance of bricking the device?
Terole said:
i flashed the stock rom but still unlocked bootloader
if i do the fastboot method will it work? have you tried it? do i have a chance of bricking the device?
Click to expand...
Click to collapse
It was fine for me. If you are still a bit nervous use the Xiaomi flash tool to flash a fastboot stock Rom and pick the flash and relock option in the bottom right http://en.miui.com/a-234.html
Terole said:
i flashed the stock rom but still unlocked bootloader
if i do the fastboot method will it work? have you tried it? do i have a chance of bricking the device?
Click to expand...
Click to collapse
Did you ever get your bootloader relocked? I'm getting the Mi Mix 2s (China Version) on friday and wondering how to flash stock global and then relock bootloader.\

How do i go back to completely stock?

I mean how do I go completely back to stock because I unlocked my bootloader and I relock it but now I cant pass safety net and some apps don't work even with my bootloader locked and rom completely stock
Manuel Marta said:
I mean how do I go completely back to stock because I unlocked my bootloader and I relock it but now I cant pass safety net and some apps don't work even with my bootloader locked and rom completely stock
Click to expand...
Click to collapse
https://forum.xda-developers.com/z2-force/how-to/how-to-return-to-stock-sprint-t3694783
Caltinpla said:
https://forum.xda-developers.com/z2-force/how-to/how-to-return-to-stock-sprint-t3694783
Click to expand...
Click to collapse
Follow that guide and after you have to type in fastboot "fastboot oem lock" to relock the bootloader.
PD: You will see a message that you booted a modified OS and that's normal, you will boot.

Categories

Resources