[Android N Preview 2] Can no longer enable 'Allow OEM Unlocking" in dev settings - Nexus 6 Q&A, Help & Troubleshooting

Hey XDA,
So today I got my N Preview 2 OTA update and everything is fine and great. However I went into dev settings today to make sure I had debugging and OEM unlocking on but, if seems the Allow OEM unlock button is grayed out. Is anyone else seeing this? It may even be stuck on the Allow setting but, I really can't tell and it's a bit concerning. Any help would be appreciated thanks!
http://imgur.com/YeWFcO0

I have to ask the obvious question. Is your device already unlocked?

dahawthorne said:
I have to ask the obvious question. Is your device already unlocked?
Click to expand...
Click to collapse
Nope, status code 2 'locked' according to my bootloader.

He's right, I'm unlocked already and on np2 and I don't see OEM unlock in dev options either. They must be moving it to another location or something
Edit: I do see it now but you can't toggle the switch anymore
Sent from my Nexus 6 using XDA-Developers mobile app

looks like after the fiasco of the 1st preview that bricked phones during OTA & most of them have the bootloaders locked & OEM unlock in off position, this preview has put the oem unlock in default on position.

so if I am already unlocked and I flash the 2nd preview- am I OK? will the bootloader stay unlocked?

i believe so

looks like after the fiasco of the 1st preview that bricked phones during OTA & most of them have the bootloaders locked & OEM unlock in off position, this preview has put the oem unlock in default on position.
Click to expand...
Click to collapse
That makes sense...the op screen shot shows the button slider to the right (on position), even though grayed out.

LittleJakub said:
so if I am already unlocked and I flash the 2nd preview- am I OK? will the bootloader stay unlocked?
Click to expand...
Click to collapse
Yea, you're good. As long as you don't run the "fastboot oem lock" command through fastboot, your bootloader should always remain unlocked. Even if the "OEM Unlocking" toggle is switched off, an unlocked bootloader should remain unlocked.

I'm on NPC91K with a Nexus 6 and the "Allow OEM Unlock" option is grayed out and disabled for me. My phone is currently locked and Fastboot oem unlock does not work.

Griff Ellis said:
I'm on NPC91K with a Nexus 6 and the "Allow OEM Unlock" option is grayed out and disabled for me. My phone is currently locked and Fastboot oem unlock does not work.
Click to expand...
Click to collapse
Thanks for checking that out. Officially concerned now

I tried out NPC91K yesterday and the "Allow OEM Unlock" option was also grayed out , but the button was in the enabled position. After a while i out back backup and bootloader is still unlocked. In Bootloader it says Device is Unlocked Status code 3.

I am in the same situation, my phone is locked and N preview 2 now oem unlock is greyed out and disabled, anybody can suggest a way to enable this, TIA.

droidguy22 said:
I am in the same situation, my phone is locked and N preview 2 now oem unlock is greyed out and disabled, anybody can suggest a way to enable this, TIA.
Click to expand...
Click to collapse
Check out my post here on how to get around the oem unlock problem, and get back to marshmallow.
http://forum.xda-developers.com/nexus-6/help/command-device-corrupt-update-t3362317/page2

Related

[Q] Why does OEM unlocking automatically turn itself off -- Verizon

I'm trying to root my Verizon Nexus 6, and for some reason, when I try to toggle OEM unclocking and boot into the bootloader, it says device is locked - status code 2.
Any Verizon owners experience this problem, or know how to fix it? It would certainly be unfortunate if this is how Verizon keeps its customers from modifying their phones.
RootTheWorld said:
I'm trying to root my Verizon Nexus 6, and for some reason, when I try to toggle OEM unclocking and boot into the bootloader, it says device is locked - status code 2.
Any Verizon owners experience this problem, or know how to fix it? It would certainly be unfortunate if this is how Verizon keeps its customers from modifying their phones.
Click to expand...
Click to collapse
The toggle is a new feature of Android 5.0 and up. The toggle does not unlock your bootloader, rather it allows the process to happen. You need to use fastboot to OEM unlock. Click the top link in my signature for more info. Also, I suggest you read the beginners guide in the general forum.
RootTheWorld said:
I'm trying to root my Verizon Nexus 6, and for some reason, when I try to toggle OEM unclocking and boot into the bootloader, it says device is locked - status code 2.
Any Verizon owners experience this problem, or know how to fix it? It would certainly be unfortunate if this is how Verizon keeps its customers from modifying their phones.
Click to expand...
Click to collapse
After you toggle enable OEM unlock you need to reboot into boot loader and run the command "fastboot OEM unlock"
Everything is here
http://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
Sent from my Nexus 6 using XDA Premium HD app
RootTheWorld said:
I'm trying to root my Verizon Nexus 6, and for some reason, when I try to toggle OEM unclocking and boot into the bootloader, it says device is locked - status code 2.
Any Verizon owners experience this problem, or know how to fix it? It would certainly be unfortunate if this is how Verizon keeps its customers from modifying their phones.
Click to expand...
Click to collapse
It is a security feature. All "enable oem unlocking" does is allow you to unlock the bootloader by fastboot. It doesnt actually unlock it.
RootTheWorld said:
I'm trying to root my Verizon Nexus 6, and for some reason, when I try to toggle OEM unclocking and boot into the bootloader, it says device is locked - status code 2.
Any Verizon owners experience this problem, or know how to fix it? It would certainly be unfortunate if this is how Verizon keeps its customers from modifying their phones.
Click to expand...
Click to collapse
When you toggle "allow bootloader unlock" in developer options, it does just that; it allows you to unlock the bootloader.
Then you boot to bootloader and type "fastboot OEM unlock".
Assuming you have the android SDK on your PC, and device connected by USB cable. Look in the sticky roll up thread in general section for specific directions.
Intub8 said:
After you toggle enable OEM unlock you need to reboot into boot loader and run the command "fastboot OEM unlock"
Everything is here
http://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
Sent from my Nexus 6 using XDA Premium HD app
Click to expand...
Click to collapse
That's what I'm doing. However, the issue is that it relocks itself. Hence the "device is locked - status code 2". You shouldn't unlock the bootloader when it's locked, or else you could cause a bootloop.
RootTheWorld said:
That's what I'm doing. However, the issue is that it relocks itself. Hence the "device is locked - status code 2". You shouldn't unlock the bootloader when it's locked, or else you could cause a bootloop.
Click to expand...
Click to collapse
Are you sure its relocking? Are you sure you're unlocking it?
So you go into settings > developer options
You tick "allow OEM unlock"
You boot into bootloader
Connect USB to computer
Open command prompt
Type "fastboot OEM unlock"
Does it unlock and change to status 3?
When does it change back to 2?
rootSU said:
Are you sure its relocking? Are you sure you're unlocking it?
So you go into settings > developer options
You tick "allow OEM unlock"
You boot into bootloader
Connect USB to computer
Open command prompt
Type "fastboot OEM unlock"
Does it unlock and change to status 3?
When does it change back to 2?
Click to expand...
Click to collapse
Here's my rundown:
So you go into settings > developer options
tick "allow OEM unlock"
boot into bootloader
shows: device is locked - status code 2
boot back into OS
go to settings > developer options
allow OEM unlock is unticked
RootTheWorld said:
Here's my rundown:
So you go into settings > developer options
tick "allow OEM unlock"
boot into bootloader
shows: device is locked - status code 2
boot back into OS
go to settings > developer options
allow OEM unlock is unticked
Click to expand...
Click to collapse
and you misses a step.. You need to get ur ass in dos or terminal and run the fastboot oem unlock command
Robert_W said:
and you misses a step.. You need to get ur ass in dos or terminal and run the fastboot oem unlock command
Click to expand...
Click to collapse
I thought I'd put my phone into a bootloop if I did that with a device is locked - status code 2 message.
I'll report back shortly
RootTheWorld said:
Here's my rundown:
So you go into settings > developer options
tick "allow OEM unlock"
boot into bootloader
shows: device is locked - status code 2
boot back into OS
go to settings > developer options
allow OEM unlock is unticked
Click to expand...
Click to collapse
You are not doing it correctly. Go here and follow the directions
http://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
cam30era said:
You are not doing it correctly. Go here and follow the directions
http://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
Click to expand...
Click to collapse
I was doing everything correctly, but I didn't realize that it was okay to proceed on the "device is locked" message.
One thing that's not covered in the guide however: Is it okay to use the Chainfire root on a 5.1 device? The Chainfire website lists the tool as compatible with 5.0, but could I proceed anyway?
RootTheWorld said:
Here's my rundown:
So you go into settings > developer options
tick "allow OEM unlock"
boot into bootloader
shows: device is locked - status code 2
boot back into OS
go to settings > developer options
allow OEM unlock is unticked
Click to expand...
Click to collapse
As we've said multiple times, ticking the OEM unlock box only allows you to unlock. It doesn't actually unlock. There is only 1 way to unlock and that's with the fastboot commands.
---------- Post added at 03:22 AM ---------- Previous post was at 03:20 AM ----------
RootTheWorld said:
I was doing everything correctly
Click to expand...
Click to collapse
Yes the half of it you did, you did correctly
RootTheWorld said:
I didn't realize that it was okay to proceed on the "device is locked" message.
Click to expand...
Click to collapse
What did you expect it to say? You cant unlock it if its not locked.
rootSU said:
As we've said multiple times, ticking the OEM unlock box only allows you to unlock. It doesn't actually unlock. There is only 1 way to unlock and that's with the fastboot commands.
---------- Post added at 03:22 AM ---------- Previous post was at 03:20 AM ----------
Yes the half of it you did, you did correctly
What did you expect it to say? You cant unlock it if its not locked.
Click to expand...
Click to collapse
Yes, I know. The problem was that the OEM unlock box kept unticking itself, which I had assumed led to the message I saw in the bootloader. Do you understand what I am trying to say? I don't think it was clear.
RootTheWorld said:
Yes, I know. The problem was that the OEM unlock box kept unticking itself, which I had assumed led to the message I saw in the bootloader. Do you understand what I am trying to say? I don't think it was clear.
Click to expand...
Click to collapse
That box un ticks it self on each boot. I also have a Verizon nexus. You check it and USB debugging. Then use wugfresh tool kit to unlock. Or just power down to boot loader mode & use terminal. Its only used to reboot to allow unlock. My phone is a flash whore & that box always off.
RootTheWorld said:
Yes, I know. The problem was that the OEM unlock box kept unticking itself, which I had assumed led to the message I saw in the bootloader. Do you understand what I am trying to say? I don't think it was clear.
Click to expand...
Click to collapse
Yes the box keeps unticking. That's a security feature to stop a thief unlocking your bootloader and using your phone.
i run above method in my lenovo vibe shot z90a40, it gives below error msg: (failed: unknow remote command)
aicts said:
i run above method in my lenovo vibe shot z90a40, it gives below error msg: (failed: unknow remote command)
Click to expand...
Click to collapse
We can't help you. We have nexus 6.
same thing happens with me just mine would untick immediately after i press it oem unlocking in developer settings
Good lord man read the thread.
ON THE NEXT BOOT OF ANDROID, ALLOW OEM UNLOCK IS TICKED BACK OFF AUTOMATICALLY, THIS IS NORMAL AND CORRECT.
The reason it says allow unlock, and not unlock... Is because this command only ALLOWS unlocking to happen.
As a security measure, you need to allow unlock, then immediately do it... YOU CANNOT ENABLED ALLOW OEM UNLOCK FOR USE AT A LATER DATE.
This toggle simply passes the message to your bootloader that you it can be unlocked via the unlock command.
The point is, that if your phone is password protected and locked... No one can flash anything to it. If you could simply boot the phone to bootloader and unlock, it would not be as secure. You need to enter the password to gain access to the running phone, then choose to allow the unlock, then reboot. If you could simply toggle on allow unlock and leave it through reboots it would negate the whole idea that if someone gets your phone they cannot unlock the bootloader with out the phones password.

OEM Unlocking Greyed Out?

Perhaps I am just misremembering, but on NBD90Z, if your bootloader is already unlocked, should the developer option for OEM Unlocking be available or greyed out? Mine is greyed out (Pic attached) and only becomes available if I flash a 6.x ROM.
Tinfoil hat backgrounder....
I recently wanted to verify my carrier unlocked status on my Nexus 6. I popped in the Verizon SIM from my recently purchased Pixel, which worked fine. I'm now worried that however Verizon is able to force OEM lock onto the Pixel has now been set on my N6 and if I relock I will be unable to unlock.
@mattfrazer,
Yes the option is grayed out on 7.0 if your bootloader is already unlocked. I'm on Fi, my bootloader is unlocked, and it's grayed out on my N6.
No carrier to my knowledge can force lock a bootloader. Once you fastboot oem unlock it, it will stay that way till you pass the fastboot oem lock command.
cam30era said:
@mattfrazer,
Yes the option is grayed out on 7.0 if your bootloader is already unlocked. I'm on Fi, my bootloader is unlocked, and it's grayed out on my N6.
Click to expand...
Click to collapse
Thank You Sir, I appreciate the confirmation.
SynisterWolf said:
No carrier to my knowledge can force lock a bootloader. Once you fastboot oem unlock it, it will stay that way till you pass the fastboot oem lock command.
Click to expand...
Click to collapse
I understand that. My worry was not that lock would be force enabled, but that the option would not "ungrey" if I were to choose to lock the bootloader on my N6 again. Either I hadn't paid close enough attention post 7.0 upgrade, or hadn't gone through the 2 step unlock process since running 6.x to notice the option greys out if your bootloader is unlocked on 7.0. I must not be the only one as the description under the option is changed in 7.1 to say "Bootloader is already unlocked" instead of "Allow the bootloader to be unlocked"
Thanks again to you both.
there are 2 possibilities . 1 : your bootloader is already unlocked(check it by going to fastboot) 2: turn on USB debugging ON
im sure your bootloader is already unlocked
cheers
mattfrazer said:
Thank You Sir, I appreciate the confirmation.
I understand that. My worry was not that lock would be force enabled, but that the option would not "ungrey" if I were to choose to lock the bootloader on my N6 again. Either I hadn't paid close enough attention post 7.0 upgrade, or hadn't gone through the 2 step unlock process since running 6.x to notice the option greys out if your bootloader is unlocked on 7.0. I must not be the only one as the description under the option is changed in 7.1 to say "Bootloader is already unlocked" instead of "Allow the bootloader to be unlocked"
Thanks again to you both.
Click to expand...
Click to collapse
Thats a good question. I have been away from VZW for a while now but did they have an N6 branded to them? if so, did they removed bootloader unlock like they do with HTC phones branded to them? if you did buy one from google or a non branded N6 carriers have zero control over it so in theory you can lock and unlock the bootloader at any time regardless of the carrier you are using for cell service. I personally never had to go back so i never noticed the greyed out option.
But thanks for pointing this out.
It is gray if you are already unlocked so you dont hit that before you fastboot lock if you are relocking. Doing the slider first can be bad. It was a changed in N.
SynisterWolf said:
Thats a good question. I have been away from VZW for a while now but did they have an N6 branded to them? if so, did they removed bootloader unlock like they do with HTC phones branded to them?
Click to expand...
Click to collapse
No, there wasn't a VZW branded N6. In the US, only AT&T had a branded N6, and FWIW it was carrier locked to AT&T. Usual rigmarole to get it SIM unlocked. This version had an unlockable bootloader, just like the Google Play Store version.
TonikJDK said:
It is gray if you are already unlocked so you dont hit that before you fastboot lock if you are relocking. Doing the slider first can be bad. It was a changed in N.
Click to expand...
Click to collapse
So we can simply lock it again, without having to tick it or anything?
cam30era said:
No, there wasn't a VZW branded N6. .
Click to expand...
Click to collapse
Yes there was. Vzw was the last of the major carriers to pick it up though.
Larzzzz82 said:
Yes there was. Vzw was the last of the major carriers to pick it up though.
Click to expand...
Click to collapse
Thanks for setting the record straight.

oem unlocking non persistent on g6

Hello I have a new Moto G6. I have enabled developer options and I've enabled OEM unlocking. But it doesn't seem to stay enabled between reboots? I just bought this yesterday. I'm trying to unlock the bootloader, but I can't unless OEM unlocking stays enabled. Am I missing something? I know there's currently no root for the G6, but still I think I should be able to unlock it, or am I mistaken?
jloh1963 said:
Hello I have a new Moto G6. I have enabled developer options and I've enabled OEM unlocking. But it doesn't seem to stay enabled between reboots? I just bought this yesterday. I'm trying to unlock the bootloader, but I can't unless OEM unlocking stays enabled. Am I missing something? I know there's currently no root for the G6, but still I think I should be able to unlock it, or am I mistaken?
Click to expand...
Click to collapse
That just allows the bootloader to be unlocked. You still would need to actually unlock it following the unlocking guide thread in the guides section
dejello said:
That just allows the bootloader to be unlocked. You still would need to actually unlock it following the unlocking guide thread in the guides section
Click to expand...
Click to collapse
Yes I know this is not root, this is just unlocking the bootloader, yes I do have a key from motorola. But I can't do anything if OEM unlocking will not persist between reboots. I'm just trying to unlock the bootloader. And yes it is unlocked for sims.
jloh1963 said:
Yes I know this is not root, this is just unlocking the bootloader, yes I do have a key from motorola. But I can't do anything if OEM unlocking will not persist between reboots. I'm just trying to unlock the bootloader. And yes it is unlocked for sims.
Click to expand...
Click to collapse
I said nothing of root. Unless I am missing something from your original post, "Allow OEM unlocking" just allows the bootloader to be unlockable. After you tick it, reboot directly into fastboot mode (not back into android, that'll untick it again).
[GUIDE] Unlock Bootloader - This states after enabling OEM Unlock in settings (from within Android) to reboot into the bootloader (This guide says power off and then power back on while holding volume down, if you have debugging on you can just "adb reboot bootloader"). Rebooting back into Android with the bootloader still locked I believe does untick the OEM Unlock option.
ok thanks, I'll try again.
I have the XT 1925-6 US unlocked version. One of the first things I do with a new phone is to enable Developer Options and toggle OEM Unlock even though I may not Unlock the Bootloader right away.
The OEM Unlock toggle has stayed persistently on through numerous reboots with the Bootloader still locked.
Hmm.. Well I could have sworn I had seen what was described before, however it has been a while. I unlocked mine all in one go so I can't say. If it's supposed to stay on then I'd really be curious why it isn't for jloh
dejello said:
Hmm.. Well I could have sworn I had seen what was described before, however it has been a while. I unlocked mine all in one go so I can't say. If it's supposed to stay on then I'd really be curious why it isn't for jloh
Click to expand...
Click to collapse
I tried it again and it worked, thanks. I guess I rebooted android at first. Thank you.

Any Chance?

Hey, im coming from my old s7. So does WE have any Chance to get bootloader unlocked?
Got the phone from Three Ireland and the bootloader was unlocked, just switched the toggle in developer options and all good, just waiting for some progress with root and roms but nothing really happening here.
Obecny said:
Got the phone from Three Ireland and the bootloader was unlocked, just switched the toggle in developer options and all good, just waiting for some progress with root and roms but nothing really happening here.
Click to expand...
Click to collapse
How did you get your phone unlocked? Do have the method? I can pay for that
zhangyang_haha said:
How did you get your phone unlocked? Do have the method? I can pay for that
Click to expand...
Click to collapse
I just toggled the switch in developers options, phone asked for my pin so i typed in the same as for screen lock and done, rebooted, unlocked
Obecny said:
I just toggled the switch in developers options, phone asked for my pin so i typed in the same as for screen lock and done, rebooted, unlocked
Click to expand...
Click to collapse
Yep, I get the same on my P30 Pro, type in pin and I get a popup saying: "Enable OEM unlock, Device protection features will no longer work on this device" then an "enable" and a "Cancel" button.. - not hit the enable button as yet tho, as I dunno what the "protection features" they are talking about do...
I'm not sure if toggling the oem switch actually unlocks the bootloader. Pretty sure that's half the process, but a unlock key still needs to be entered through adb/fastboot
That doesn't unlock anything. It just gives you the possibility to do so (in general, there is no solution for p30 atm)
Bootloader unlock would format every data of your phone for example, everything
Obecny said:
I just toggled the switch in developers options, phone asked for my pin so i typed in the same as for screen lock and done, rebooted, unlocked
Click to expand...
Click to collapse
Actually, this option only allows you to unlock the bootloader, without the code, you still cannot unlock it.

[TMO] Bootloader Unlock?

Hey all,
Was wondering if anyone has had success in unlocking their bootloader on a tmobile device. I had the sim permanently unlocked, yet my oem unlock toggle is greyed out.
Thanks
Edit: Factory resetting the phone and connecting to wifi allowed me to toggle oem unlock
NikoZBK said:
Hey all,
Was wondering if anyone has had success in unlocking their bootloader on a tmobile device. I had the sim permanently unlocked, yet my oem unlock toggle is greyed out.
Thanks
Edit: Factory resetting the phone and connecting to wifi allowed me to toggle oem unlock
Click to expand...
Click to collapse
Did you get it done by resseting the phone im confuse
caballon said:
Did you get it done by resseting the phone im confuse
Click to expand...
Click to collapse
Tmobile sim unlocked my device, but the oem toggle was greyed out. I had to reset the phone before I could toggle oem unlock. Hope that clarifies
NikoZBK said:
Tmobile sim unlocked my device, but the oem toggle was greyed out. I had to reset the phone before I could toggle oem unlock. Hope that clarifies
Click to expand...
Click to collapse
Call them and ask them to unlock the bootloader specifically, reference the greyed out oem unlock option. Sprint (pre-mid merge) had no problem doing it for my GF's 3a.
The only annoying thing was, even though I bought it outright (didn't even have to wait for monthly rebates to finish paying it off), I still needed to wait something like two months after it was activated.

Categories

Resources