Trying to relock bootloader of One Plus 5 need help! - OnePlus 5 Questions & Answers

Hi,
I've tried all the following steps in the video and I got the error "flashing lock is not allowed". I've already flashed stock rom and recovery and wiped the phone so it's as stock as it gets yet I still get the same error when I enter "fastboot oem lock". Please help ASAP!!!! I'm trying to update to Android 8.0 but the update keeps failing because my bootloader is unlocked
Thanks in advanced.

https://forum.xda-developers.com/oneplus-5/how-to/lock-oneplus-5-bootloader-guide-t3651819

Go to developer settings.. check the oem unlock option. If it's off, bootloader won't relock. You need to turn it on. If it's greyed out & can't be turned on, then you need to root your firmware or flash custom rom & turn it on.

When you have this problem, only magisk will help you turn on allow bootloader unlocked when it's grayed out.
So, you have to flash magisk, turn on allow bootloader to be unlocked in devlopper settings, then flash a clean OOS, make sure there's no modification like custom recovery or root, then relock your bootloader.
Good luck!

use command "fastboot flashing lock" instead of "fastboot oem lock", this will lock your bootloader

hope this tutorial will help you....!!! https://www.youtube.com/watch?v=CQYCSdDUdAU

I had the same problem and solved using magistik, reenable unlock volta loader and After relock.

Related

warning about oem lock

Friends please be careful about OEM lock in an unlocked bootloader.
Since lollipop , google introduced an option in developer menu
'Allow OEM unlock'
It allows fastboot unlock.
Also it prevent unlock while it disable.
The problem is we can't unlock second time after OEM lock.
It makes device bootloop.
My advice is
Don't lock bootloader after unlock.
Don't lock bootloader if your device rooted and/or custom recovery installed.
My phone is in service centre now
samysimbu said:
Friends please be careful about OEM lock in an unlocked bootloader.
Since lollipop , google introduced an option in developer menu
'Allow OEM unlock'
It allows fastboot unlock.
Also it prevent unlock while it disable.
The problem is we can't unlock second time after OEM lock.
It makes device bootloop.
My advice is
Don't lock bootloader after unlock.
Don't lock bootloader if your device rooted and/or custom recovery installed.
My phone is in service centre now
Click to expand...
Click to collapse
So Bad Dear to hear, that your Device now in Service Center
can anyone please give me the stock recovery file of lava pixel v1
sayan123 said:
can anyone please give me the stock recovery file of lava pixel v1
Click to expand...
Click to collapse
Download stock rom from this link
http://firmwarefile.com/lava-pixel-v1
U have to flash STOCK ROM immediately after u relock Oem
Plz Help.........!!!
samysimbu said:
Friends please be careful about OEM lock in an unlocked bootloader.
Since lollipop , google introduced an option in developer menu
'Allow OEM unlock'
It allows fastboot unlock.
Also it prevent unlock while it disable.
The problem is we can't unlock second time after OEM lock.
It makes device bootloop.
My advice is
Don't lock bootloader after unlock.
Don't lock bootloader if your device rooted and/or custom recovery installed.
My phone is in service centre now
Click to expand...
Click to collapse
I was trying to root my phone so i unlock the oem in setting but i typed fastboot unlock bootloader in cmd promt while installing TWRP because it was not taking this but now its stucked in a bootloop showing TEAMWIN logo and flashing in couple of seconds....... plz help me what to do....
.
.
and what happen to your device in service center plz tell me in detail......

XT1700 Fastboot oem unlock fails

I seem to have lost the ability to unlock the bootloader of my XT1700. I previously had unlocked the bootloader and installed TWRP and SuperSU, which took a while to figure out, but it worked. Today I tried to install a newer version of the stock firmware using SP flash tool (from here), which seemed to work fine, except now I find I am unable to reinstalled TWRP or SuperSU because I cannot unlock the boot loader.
When the phone boots, I still see the "device unlocked" message, and I have enabled oem unlocking and USB debugging in the developer options menu, however when I go into fastboot mode, if I run the "fastboot oem unlock" command, when the phone prompts me to press up or down, I get an "unlocking failed" error, and Fastboot reports "Unlock operation is not allowed"
Any ideas on how I can unlock this device again?
So it seems like those firmware images must have locked boot loaders. I ended up installing an xt1706 firmware instead (from here) and was able to unlock the boot loader successfully.
Anyone know where to get xt1700 stock firmwares with unlocked boot loader?

Trying to re-lock the bootloader

I have a A2017U that I just downgraded to B35 using this guide: https://forum.xda-developers.com/axon-7/how-to/guide-axon-7-universal-unbrick-t3814413
I want to lock the bootloader to stop the annoying boot warning but can't get into fastboot when using AXON7TOOLKIT.
I tried flashing A2017U_FASTBOOT_UNLOCK_EDL (downloaded from https://forum.xda-developers.com/axon-7/how-to/complete-guide-to-unlocking-installing-t3561128) through miFlash but I still can't get into the bootloader.
What can I do?
EDIT: Thanks everyone! I used the toolkit to unlock the bootloader again, then locked it. For some reason I couldn't access the bootloader even though i got the bootloader ulocked warning.
mateokross said:
I have a A2017U that I just downgraded to B35 using this guide: https://forum.xda-developers.com/axon-7/how-to/guide-axon-7-universal-unbrick-t3814413
I want to lock the bootloader to stop the annoying boot warning but can't get into fastboot when using AXON7TOOLKIT.
I tried flashing A2017U_FASTBOOT_UNLOCK_EDL (downloaded from https://forum.xda-developers.com/axon-7/how-to/complete-guide-to-unlocking-installing-t3561128) through miFlash but I still can't get into the bootloader.
What can I do?
Click to expand...
Click to collapse
You only want to lock it because of the boot warning? There are flashables to get rid of that... I dom't know which exact files there are for stock B35 or Oreo but there are some going around.
hell you could even go custom and use the splash bootstack if you wanted.
If you want to lock anyways, you have to get an A2017U B19 package and flash it via EDL Tool (or MiFlash). Right after that you'll have fastboot. enable oem unlocking then enter fastboot and issue fastboot oem lock and you're done. But it's way too overkill if you want to just get rid of the 5 sec screen
mateokross said:
I have a A2017U that I just downgraded to B35 using this guide: https://forum.xda-developers.com/axon-7/how-to/guide-axon-7-universal-unbrick-t3814413
I want to lock the bootloader to stop the annoying boot warning but can't get into fastboot when using AXON7TOOLKIT.
I tried flashing A2017U_FASTBOOT_UNLOCK_EDL (downloaded from https://forum.xda-developers.com/axon-7/how-to/complete-guide-to-unlocking-installing-t3561128) through miFlash but I still can't get into the bootloader.
What can I do?
Click to expand...
Click to collapse
you need to flash original stock rom for your device trough edl. (rom your device came from factory,marshmallow)
then boot into system,unlock developer options.Allow oem unlock and turn on usb debugging.Now connect phone to laptop and check the dialogue on your phone that ask for usb debug.Unplug phone.
When you did this you want to flash TWRP trough EDL.
Now boot in TWRP and flash UnlockbootloaderPackage from DrakenFX.
Reboot system.
Now turn off your device and boot into fastboot,connect your phone with laptop and open ADB terminal on your laptop or use Axon7toolkit.
In terminal enter fastboot oem lock,or in axon7toolkit choose lock bootloader.
Your bootloader is now locked.
PS: you dont need locked bootloader to recieve ota's,and make sure you are on the firmware your device came shipped with!!
You need a locked bootloader to get rid of the warning message ( dont flash any mod package that claims it delete the warning page)

OEM Unlock Greyed out

I recently flashed the new StatixOS 3.0 (Custom ROM) from the ug plus roms thread. I wanted to return to stock since there was an annoying bug on it. But after I flashed the latest stock rom from lolinet and ran all the commands to revert the state of my phone, I also ran the command fastboot oem lock to lock my bootloader. Now my IMEI is showing "0" and I can't reflash the stock rom again, since it gives me a " (bootloader) flashing permission denied error.
I can boot into the OS, the fastboot and the stock recovery.
The "OEM Unlock" Button is greyed out with: contact your carrier or connect to the internet. The WIFI works so this must be a bug.
Can I flash it via stock recovery any way or bypass the greyed out OEM unlock button in any way?

OEM unlocking won't work

Hi everyone,
Today I tried unlocking the bootloader on my Lenovo Z6 Pro to root my phone but I've hit a dead end.
I've enabled OEM unlocking and USB debugging on the developer options before using "adb reboot bootloader". I managed to get to bootloader mode alright, but neither "fastboot flashing unlock" nor "fastboot oem unlock-go" works; I always get "remote: flashing unlock is not allowed" or "remote: oem unlock is not allowed".
This makes it seem like I didn't enable OEM unlocking before, but I made sure it was enabled. Any ideas how I might solve this?
Hi,
First you have to get the sn.img file for unlocking your bootloader from the zui website. Reboot to bootloader, first flash the img file and then enter the command for unlocking. As far as I have tried, you have to use this image file every time you need to unlock the bootloader(if you have locked it)
Good luck
Sayi Keshkar said:
Hi,
First you have to get the sn.img file for unlocking your bootloader from the zui website. Reboot to bootloader, first flash the img file and then enter the command for unlocking. As far as I have tried, you have to use this image file every time you need to unlock the bootloader(if you have locked it)
Good luck
Click to expand...
Click to collapse
Thanks for the reply. I gave up rooting my device for a while but I got tired of my phone bugging all the time so decided to give it another shot. This time I have another problem and it's driving me crazy: ADB wouldn't detect my phone when it's connected so I still can't unlock my bootloader. I tried installing every driver I could find but nothing works, but I can transfer files through explorer just fine. It occured to me that the USB might be the problem but it's the exact same one I used the last time I tried rooting it and I didn't have this problem back then.

Categories

Resources