Unable to relock bootloader - Nexus 6P Q&A, Help & Troubleshooting

hey I am on nougat 7.1.2 and am trying to relock my bootloader to sell my phone and buy a pixel but I am can't do this as option is greyed out in developer options, can anyone help please?

Malerin11 said:
hey I am on nougat 7.1.2 and am trying to relock my bootloader to sell my phone and buy a pixel but I am can't do this as option is greyed out in developer options, can anyone help please?
Click to expand...
Click to collapse
You can't lock it by developer options. What you need to do is do fastboot oem lock for windows or fastboot flashing lock on Linux. Just do the fastboot command you did to unlock your bootloader but instead of unlock type lock. Then select yes on your phone and the bootloader will lock.

Thanks for your reply, I got the bootloader relocked using adb after previously not working for me, I had to update adb fastboot files

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......

Is it possible to relock the bootloader?

I'm holding off twrp + bootloader unlock because I want to be able to undo in case I need to use my warranty. Is twrp/bootloader unlock reversible? Many thanks
Yes. Flash complete stock everything, boot into bootloader, connect to PC, and "fastboot oem lock".
Is it sure that it works??I have a A2017G and i have open BL and a B29 Custom Rom and i want back to Lock Bootloader
Kevinkuensken said:
Is it sure that it works??I have a A2017G and i have open BL and a B29 Custom Rom and i want back to Lock Bootloader
Click to expand...
Click to collapse
Yup! I've done it plenty of times. You do need to format the data partition though. This could mean that it'll wipe out even your internal storage, so back that up as well!
Im on stock and then i go to edl and then i type fastboot oem lock but nothing happend
Kevinkuensken said:
Im on stock and then i go to edl and then i type fastboot oem lock but nothing happend
Click to expand...
Click to collapse
Boot into bootloader, not EDL.
Erahgon said:
Yup! I've done it plenty of times. You do need to format the data partition though. This could mean that it'll wipe out even your internal storage, so back that up as well!
Click to expand...
Click to collapse
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
BlazingBullets said:
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
Click to expand...
Click to collapse
Locking it again is good for when you want to sell the device or send it in for warranty repair.
BlazingBullets said:
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
Click to expand...
Click to collapse
Yeah, the unlock procedure is the same as before. If you didn't restore the original boot image before the relock, then it's just a matter of booting into fastboot and unlocking the device. Note that this will cause your data to be wiped as well!
If you restore your boot.bin backup file from when your device was locked, does this lock the bootloader? "fastboot oem lock", "fastboot flashing lock" nor "fastboot oem device-info" does nothing for me. Is there any other way to check if your bootloader has been relocked?
Thanks
H0lmEd said:
I'm holding off twrp + bootloader unlock because I want to be able to undo in case I need to use my warranty. Is twrp/bootloader unlock reversible? Many thanks
Click to expand...
Click to collapse
Hi there,
Were you ever able to re-lock your bootloader on your A2017G?
I just want root for now but understand that I'll need to unlock the bootloader first. Before doing that, I want to make sure I can re-lock the bootloader if needed.
Thanks for letting us know!
joaste said:
Hi there,
Were you ever able to re-lock your bootloader on your A2017G?
I just want root for now but understand that I'll need to unlock the bootloader first. Before doing that, I want to make sure I can re-lock the bootloader if needed.
Thanks for letting us know!
Click to expand...
Click to collapse
Guys/Gals, it is seriously as simple as using the fastboot command in reverse. I've done it a few times already with mine.
If you used the following to unlock....
fastboot devices
fastboot oem unlock
.....then you can use the following commands to relock
fastboot devices
fastboot oem lock
fastboot devices is not necessary, but I do it to make sure the devices is being recognized by ADB/FASTBOOT
sauerkraut17 said:
Guys/Gals, it is seriously as simple as using the fastboot command in reverse. I've done it a few times already with mine.
If you used the following to unlock....
fastboot devices
fastboot oem unlock
.....then you can use the following commands to relock
fastboot devices
fastboot oem lock
fastboot devices is not necessary, but I do it to make sure the devices is being recognized by ADB/FASTBOOT
Click to expand...
Click to collapse
Thanks for the answer.
But there are a few files to flash before using that command according to this thread.
Doesn't anything need to be flashed again (e. g. stock files or anything)?
Correct, but you would have already flashed those in order to use the unlock command in the first place.
Are you trying to relock on marshmallow or nougat?
sauerkraut17 said:
Correct, but you would have already flashed those in order to use the unlock command in the first place.
Are you trying to relock on marshmallow or nougat?
Click to expand...
Click to collapse
My phone is only a few days old. I'm debating whether to keep it or not (considering the Mate 9, but the price is not the same - love the form factor and bigger screen though - sound won't be the same and I think I'll miss the MiPop button on the Axon (never thought that would happen )).
I'm on the latest MM (B10 - the A2017G model).
Following the mentioned thread, I got to the point of installing TWRP (the signed version), only to realize that besides making backups, there is not much else I can do with that without unlocking the bootloader. I really just wanted to flash supersu and install adaway fro the time being until development matured for this phone (maybe also play around with viper - had great results on my LG G4).
HI, I get the error "FAILED (remote: unknown command)" in ADB when I enter "fastboot oem lock". Any way to fix this?
Guys, can anyone help me? I really need to lock the bootloader!
How can I fix the error "FAILED (remote: unknown command)" in ADB when I enter "fastboot oem lock"?
I'm on MM B11 Stock.
https://i.imgur.com/fdkgYs6.jpg
Hi Guys,
The Axon 7 Model A2017U I just purchased has the bootloader locked and it is running LineageOS 14.1 - 2018032-Nightly-axon7. I need to relock the bootloader and get back to the stock MiFavor rom so that I can send the phone to ZTE for repair. Can you please explain to a newb in some detail how to achieve that.
Thank you.

Trying to relock bootloader of One Plus 5 need help!

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.

How to unlock Bootloader for China Version (SKW-A0)

Anyone has idea about how to unlock the bootloader for China Version. Do I have to use Mi Unlock tool?
abhijitgiri123 said:
Anyone has idea about how to unlock the bootloader for China Version. Do I have to use Mi Unlock tool?
Click to expand...
Click to collapse
make the developer settings available, within it you will have oem bootloader authorization, you need to turn it on and theoretically ready
GáborHuN said:
make the developer settings available, within it you will have oem bootloader authorization, you need to turn it on and theoretically ready
Click to expand...
Click to collapse
I reboot into bootloader and tried both "fastboot flashing unlock" and "fastboot oem unlock". None of them seems to be working. Do I have to use Mi Unlock tool?
abhijitgiri123 said:
I reboot into bootloader and tried both "fastboot flashing unlock" and "fastboot oem unlock". None of them seems to be working. Do I have to use Mi Unlock tool?
Click to expand...
Click to collapse
this is a very good question! if I remember well, I read in another forum that you don't need Miunlock to just open the open bootloader in the developer settings, and then you can root it, and you just need to flash the ROM from the TWRP. to do this I think I need an OTG cable and a flash drive that you can flash, because you don't have a memory card slot
I have the same issue with the global version. I tried both "fastboot flashing unlock" and "fastboot oem unlock". I even tried Mi Unlock tool without any success. Also, they don't answer support tickets regarding unlocking the bootloader at blackshark site.
Any ideas?
Any one help me to unlock bootloader of black Shark 2 Chinese version?
Any one help me to unlock bootloader of black Shark 2 Chinese version?
black shark 2 global version
Any success unlocking bootloader of SKW-H0??
alaa929 said:
Any success unlocking bootloader of SKW-H0??
Click to expand...
Click to collapse
Just one Chinese developer who does not want to share this publicly for free.
Edit: Oh yea, I didn't notice I missed the most important word :< Thanks!
xshunin said:
Just one Chinese developer who does want to share this publicly for free.
Click to expand...
Click to collapse
*Does NOT want
I have a bootloader unlocked device. I can help you, we can extract the way to get the bootloader unlocked. Anyone who has an idea post a reply.
I need beta testers for root and bl unlock
How could I do it Ronith128?

How to prevent unlock bootloader (Newest build V10.0.17.0 android 9)

I just reflash my Mi A1 to latest build android P V10.0.17.0. But I relized I could still unlock boot loader though I didn't enable OEM unlocking in Development option, I just boot to fastboot mode and type fastboot oem unlock and it alway OK. I also turn on Find device or set passcode.
gazavn said:
I just reflash my Mi A1 to latest build android P V10.0.17.0. But I relized I could still unlock boot loader though I didn't enable OEM unlocking in Development option, I just boot to fastboot mode and type fastboot oem unlock and it alway OK. I also turn on Find device or set passcode.
Click to expand...
Click to collapse
hmm... maybe a factory reset would work but if you want to relock your bootloader I strongly suggest backing up app data using TWRP.
Yes, I already backup data. But I don't know why it can be unlocked while not allowed.

Categories

Resources