OEM unlocking Device Pin? - Essential Phone Questions & Answers

I found OEM unlocking in the developer options and it requires a device pin. Anyone know what this is or how I can get it?

Is this a Sprint model? Or who's SIM did you stick into there?
It might be "locked" when you register it with a carrier which is why I always OEM unlock it before I do anything else with a new device. You might have to call the carrier to see if they can supply said Pin in this case.

Device pin would be the pin you setup on your lockscreen. Unlocking the bootloader adds a security risk, that's why it asks for it.

When I got the ph1 I just took my old Verizon Sim card and used it.

tribulationwolf said:
When I got the ph1 I just took my old Verizon Sim card and used it.
Click to expand...
Click to collapse
Did you try your lockscreen PIN?

tribulationwolf said:
I found OEM unlocking in the developer options and it requires a device pin. Anyone know what this is or how I can get it?
Click to expand...
Click to collapse
That OEM unlocking is for unlocking your bootloader. Any PIN it asks for would be the PIN you created when you set up the device - your unlock code.

ack154 said:
That OEM unlocking is for unlocking your bootloader. Any PIN it asks for would be the PIN you created when you set up the device - your unlock code.
Click to expand...
Click to collapse
Check this out...
(Via Twitter) @essential: @nj2tx2010 @arubin The bootloader on Essential Phone can be unlocked by following the directions here: https://source.android.com/source/running

Dead link man?.
remove the .
808phoneaddict said:
Check this out...
(Via Twitter) @essential: @nj2tx2010 @arubin The bootloader on Essential Phone can be unlocked by following the directions here: https://source.android.com/source/running. 1/2
Click to expand...
Click to collapse

808phoneaddict said:
Check this out...
(Via Twitter) @essential: @nj2tx2010 @arubin The bootloader on Essential Phone can be unlocked by following the directions here: https://source.android.com/source/running. 1/2
Click to expand...
Click to collapse
fixed.the post

Finally was able to enable oem unlocking with device pin. Not sure why it wouldn't accept it originally but after a shutdown and restarted the phone it accepted the pin and kept oem unlocking enabled.

Related

[WARNING] Do NOT lock your bootloader when on Android 5.1

The new Device Protection features of Android 5.1 on the Nexus 9 and Nexus 6 can, in certain cases, cause you to have a bootloader which can not be unlocked.
Please have a read of the following links:
https://support.google.com/nexus/answer/6172890?hl=en
http://forum.xda-developers.com/nexus-6/help/update-to-5-1-lock-bootloader-t3058480
http://forum.xda-developers.com/nexus-6/general/relock-bootloader-time-updating-to-5-1-t3053497
What a pita
Sent from my Nexus 5 using XDA Free mobile app
i would never relock my bootloader
people unlock there bootloader for a reason
but to relock it after thats just wrong...
thats one of the things i hate about CM
they recommend you to relock your bootloader...
Agreed, why would you lock your bootloader unless sending in for repairs maybe?
But Google is really messing up the flow. The nexus 6 5.1 OTA is a mess right now but I will leave that for another thread.
Android 5.1 for Nexus 9? You must be joking.
So, I just purchased a Nexus 9 via the 4-hour online-only sale at Best Buy. It was $100 off, couldn't pass it up. My question is: is this likely going to be shipped in such a condition as to prevent me from permanently unlocking the bootloader? Or is a permanent lock something one must deliberately do?
disturbd1 said:
So, I just purchased a Nexus 9 via the 4-hour online-only sale at Best Buy. It was $100 off, couldn't pass it up. My question is: is this likely going to be shipped in such a condition as to prevent me from permanently unlocking the bootloader? Or is a permanent lock something one must deliberately do?
Click to expand...
Click to collapse
No no you can still unlock it
But if you relock it that's the problem
disturbd1 said:
So, I just purchased a Nexus 9 via the 4-hour online-only sale at Best Buy. It was $100 off, couldn't pass it up. My question is: is this likely going to be shipped in such a condition as to prevent me from permanently unlocking the bootloader? Or is a permanent lock something one must deliberately do?
Click to expand...
Click to collapse
As USBhost said, you'll be able to unlock it. However, when you are first setting it up and are running through the set-up wizard, there will be an option to "Protect Device" or something like that. If you enable it, and re-lock the bootloader, it will put you in a situation where you can only unlock the booloader in certain situations -- and if you happen to have a bootloop with a locked bootloader, that's when you are in trouble.
EDIT: On Nexus devices, I personally unlock the bootloader as soon as I take it out of the box, without first booting into Android, and then leave it unlocked. But of course, you give up some security by doing that.
efrant said:
As USBhost said, you'll be able to unlock it. However, when you are first setting it up and are running through the set-up wizard, there will be an option to "Protect Device" or something like that. If you enable it, and re-lock the bootloader, it will put you in a situation where you can only unlock the booloader in certain situations -- and if you happen to have a bootloop with a locked bootloader, that's when you are in trouble.
EDIT: On Nexus devices, I personally unlock the bootloader as soon as I take it out of the box, without first booting into Android, and then leave it unlocked. But of course, you give up some security by doing that.
Click to expand...
Click to collapse
Considering this is a tablet, hopefully I won't lose or misplace it
Thanks, guys! Glad I stumbled across this thread before the thing arrived.
Locking the bootloader doesn't protect you from anything. If the device leaves your physical control in a potentially hostile environment, whatever is on the system or boot partition becomes suspect, regardless of whether the bootloader is locked or unlocked.
doitright said:
Locking the bootloader doesn't protect you from anything. If the device leaves your physical control in a potentially hostile environment, whatever is on the system or boot partition becomes suspect, regardless of whether the bootloader is locked or unlocked.
Click to expand...
Click to collapse
Example: I have a device running a stock ROM with no encryption, the stock recovery and a lock screen password. I happen to lose my phone. What happens to the photos of me dancing to Old Time Rock & Roll in my underwear that are stored on the device? If the bootloader is unlocked, someone just plugs it into a PC, boots TWRP and pulls them off. If the bootloader is locked, there is no easy way to see or get the photos off the device.
That is all I was saying about security. Nothing to do with you leaving your device somewhere or losing it, and then finding it again. Strictly about the personal content on the device.
efrant said:
EDIT: On Nexus devices, I personally unlock the bootloader as soon as I take it out of the box, without first booting into Android, and then leave it unlocked. But of course, you give up some security by doing that.
Click to expand...
Click to collapse
I thought Lollipop always requires you to go in and check the Enable OEM Unlock box? Or is that not true if you never booted into Android even once?
bailyc said:
I thought Lollipop always requires you to go in and check the Enable OEM Unlock box? Or is that not true if you never booted into Android even once?
Click to expand...
Click to collapse
If you have never booted into Android, then you don't need to check that setting. As I said, that's the way I did it on my N6: take out of box -> charge -> boot directly into bootloader -> "fastboot oem unlock". No other steps required if you don't boot into Android first.
can i use this guide for safely relock my Bl on Nexus 9 ..... Relocking coz of RMA and warranty purpose as bought from amazon India instead of Play Store
http://forum.xda-developers.com/nexus-6/general/guide-safely-lock-bootloader-android-5-1-t3067302
lilliput222 said:
can i use this guide for safely relock my Bl on Nexus 9 ..... Relocking coz of RMA and warranty purpose as bought from amazon India instead of Play Store
http://forum.xda-developers.com/nexus-6/general/guide-safely-lock-bootloader-android-5-1-t3067302
Click to expand...
Click to collapse
Yes, that should work for the N9 as well.
The bootloader on my Nexus 9 Android 5.1.1 is locked forever due to my mistake
Short backstory:
- I wanted to install the Android M developer Preview for the Nexus 9 but I forgot to check "Enable OEM unlock" in developer options (worst mistake).
- I used adb command to flash the new image but failed somehow
- I carelessly type # fastboot oem lock
- I tried to factory reset from bootloader to bring it back to Stock. Now it couldn't factory reset and my Nexus 9 hangs in a nice boot loop.
- I try # fastboot oem unlock but failed with permission denied error
I tried some ways to save my device but no hopes
- I used Nexus Root Tookit to unlock bootloader or restore image with force mode but failed,
- I follow instruction in HTC dev forum to get identifier token in order to receive your unlock code binary file but failed
- Unluckily, I don't installed any custom recovery.
Please help if you know a way unlock the bootloader or flash the factory ROM to save the nexus 9
quekl84 said:
Please help if you know a way unlock the bootloader or flash the factory ROM to save the nexus 9
Click to expand...
Click to collapse
Not possible. You will have to return it to HTC for repair or replacement.
quekl84 said:
Short backstory:
- I wanted to install the Android M developer Preview for the Nexus 9 but I forgot to uncheck "Enable OEM unlock" in developer options (worst mistake).
- I used adb command to flash the new image but failed somehow
- I carelessly type # fastboot oem lock
- I tried to factory reset from bootloader to bring it back to Stock. Now it couldn't factory reset and my Nexus 9 hangs in a nice boot loop.
- I try # fastboot oem unlock but failed with permission denied error
I tried some ways to save my device but no hopes
- I used Nexus Root Tookit to unlock bootloader or restore image with force mode but failed,
- I follow instruction in HTC dev forum to get identifier token in order to receive your unlock code binary file but failed
- Unluckily, I don't installed any custom recovery.
Please help if you know a way unlock the bootloader or flash the factory ROM to save the nexus 9
Click to expand...
Click to collapse
u mean u forgot to CHECK to box to allow oem UNLOCK? im confused lol
cobyman7035 said:
u mean u forgot to CHECK to box to allow oem UNLOCK? im confused lol
Click to expand...
Click to collapse
Yes, I forgot to check the box to allow oem UNLOCK. And now my device is locked forever.
A quick question: A lot of N9 ROMs require flashing an updated bootloader from the factory image. Aren't these bootloaders locked by default? Can we flash a factory bootloader over a custom ROM?
It seems that we might bork our Nexus 9s if we flash a locked bootloader in.

Relock bootloader without Unlock code

The S8 (G950F) I own came with unlocked bootloader, is there a way to relock it with out the unlock code?
algnerd said:
The S8 (G950F) I own came with unlocked bootloader, is there a way to relock it with out the unlock code?
Click to expand...
Click to collapse
Why would you want to relock it? But if you wish to do so, you'll need to firstly enable developer options, once done go to settings then developer options, then you will see oem unlock, if that switch is to the right then boot loader is unlocked, to relock bootloader just press and move so that switch is to th3 left
sofir786 said:
Why would you want to relock it? But if you wish to do so, you'll need to firstly enable developer options, once done go to settings then developer options, then you will see oem unlock, if that switch is to the right then boot loader is unlocked, to relock bootloader just press and move so that switch is to th3 left
Click to expand...
Click to collapse
Because, google play says that my device is uncertified and I can't install Netflix
algnerd said:
The S8 (G950F) I own came with unlocked bootloader, is there a way to relock it with out the unlock code?
Click to expand...
Click to collapse
You're mixing up two different things, oem unlock that unlocks the bootloader is disabled on the g950f, you have to enabled it yourself. The unlock code is for carrier locks, totally different thing. You might as well root it now and use magisk to hide root from netflix.
algnerd said:
Because, google play says that my device is uncertified and I can't install Netflix
Click to expand...
Click to collapse
That happens when you have root, nothing to with unlocked bootloader
sofir786 said:
That happens when you have root, nothing to with unlocked bootloader
Click to expand...
Click to collapse
That's the thing, I wasn't rooted but I had unlocked bootloader and it wasn't working.
Now that I've rooted it using Magisk, the device is "certified"

Bypass lock code?

So I sold this phone on swappa fully functional and the buyer managed to get some kind of lock code on the device and returned it. Anyway how do I fix this since I can't even get to settings or anything without this code? It's not a FRP, it boots to the lockscreen but when you unlock instead of going home it goes to this screen where it asks for a code. What do I do?
Does it show how many digits it's asking for? Is it sprint variant or open market?
enigma2446 said:
Does it show how many digits it's asking for? Is it sprint variant or open market?
Click to expand...
Click to collapse
Sprint variant and no it doesn't show the number of digits so I have no idea on that.
nascar48 said:
Sprint variant and no it doesn't show the number of digits so I have no idea on that.
Click to expand...
Click to collapse
Is there a non sprint sim in it? It might be networked locked now via the customer messing around.
enigma2446 said:
Is there a non sprint sim in it? It might be networked locked now via the customer messing around.
Click to expand...
Click to collapse
I kind of do think it is asking for a netowork unlock code most likely. However, I don't really know how to bypass it because I can't get to the settings to enable USB debugging or anything.
I would suggest trying the Back to Stock zips on it because it wipes everything and see if that works. You can also try and load TWRP and use it to delete the lock screen password files and then flash the boot image so it boots normally and then you should be able to swipe to dismiss the lock screen. Hope this helps you out
nascar48 said:
I kind of do think it is asking for a netowork unlock code most likely. However, I don't really know how to bypass it because I can't get to the settings to enable USB debugging or anything.
Click to expand...
Click to collapse
I believe in fastboot mode you don't need usb debugging. In fastboot is where the network unlocking happens.

Relock bootloader

Hi, I need to send my p smart to huawei service due to battery problems.
My phone is rooted with bl unlocked and, it seems, my warranty is void.
If I remove root and relock my bl, my phone will be accepted regardless of the rooting?
Unfortunately no, because the bootloader status is RElock, not lock. Lock bootloader with DC Unlocker, because the program lock bootloader and change status to lock with 4 euro
Ok thanks, that actually seemed the only way.
If I use dc unlock to lock the bl, do you know if it makes my unlock code unusable for a future unlock and root? I mean, if I want to root my phone again, can I use the standard procedure (using my unlock code, twrp and so on) or do I have to use necessarily DC unlock?
Zioward said:
Ok thanks, that actually seemed the only way.
If I use dc unlock to lock the bl, do you know if it makes my unlock code unusable for a future unlock and root? I mean, if I want to root my phone again, can I use the standard procedure (using my unlock code, twrp and so on) or do I have to use necessarily DC unlock?
Click to expand...
Click to collapse
If you want unlock the bootloader again you can if you have a unlock code
Hey, did you Lock the bootloader again? If yes, could you give me a quick guide on how to do it? I unlocked mine some time ago and cant quite figure out how to lock it again now!
if have to dig this up. i can't relock my bootloader for some reason. is there an up to date method? flashed official through erovery. bootlocker and frp are unlocked atm.

Enable OEM Unlocking/Debloat Script for Tmobile/Sprint

all you have to do is extract the zip file, make sure your phone has adb debugging enabled, plug it into the computer, and run the script and it will debloat your phone and enable you to slide the oem unlocking toggle in developer options that was previously greyed out
********WARNING*********
this script will remove the keyboard app from your phone leaving you without a way to type, i dont know which exact package it is but you can always look them up and just remove that line from the script. otherwise make sure you have a usb-otg cable and keyboard to use or a program like Vysor/scrcpy or you wont be able to type. just reinstall gboard or whatever other keyboard you use and it will be fine
PrivyetCyka said:
Thank you. Tested is working to enable the OEM unlocking on T-Mobile phone.
Click to expand...
Click to collapse
Just getting the unlock token from Oneplus. Successfully flash and unlocked bootloader. Is it have any way to unlock network?
Update:
Have been flash global rom 10.5.7 and the update to beta global rom, network still locked.
Fastboot erase modemst1 and modemst2 also can't unlock network.
Hey does this mean what I think it means. Can you unlock a bootloader and convert to global if your phone is network locked? Can someone explain how I can unlock bootloader after enabling oem unlocking?
Yes, can covert to Global but sim remain locked.
Follow this link to covert.
Thank you. I went ahead to start the process and the oem unlock switch worked after some trouble having my pc recognize my phone in fastboot. Submitted it through oneplus and waiting on an unlock token. OP has my thanks for creating this script. Been waiting for this since I got the device. Surprised there isn't more interaction on this thread.
hendavi said:
Yes, can covert to Global but sim remain locked.
Follow this link to covert.
Click to expand...
Click to collapse
I don't know why this script doesn't work on my device and can't unlock my device OEM. Do you need to pay attention to when using this script? Does the device need to disconnect the network?
runcieliao said:
I don't know why this script doesn't work on my device and can't unlock my device OEM. Do you need to pay attention to when using this script? Does the device need to disconnect the network?
Click to expand...
Click to collapse
As I done before if you have wipe all data and start your phone without sign in google account it wont work. You need to sign in a google account then run the script.
hendavi said:
正如我之前所做的那样,如果您已擦除所有数据并在不登录 Google 帐户的情况下启动手机,它将无法正常工作。您需要登录一个 google 帐户,然后运行该脚本。
Click to expand...
Click to collapse
thankyou
Does anyone know if this works on Android 11?
Edit: Just wound up going for it and it worked flawlessly, Ungrayed the OEM Unlocking on my T-Mobile device that they wouldn't unlock
hendavi said:
Yes, can covert to Global but sim remain locked.
Follow this link to covert.
Click to expand...
Click to collapse
Anyone know what actually locks the sim slot? And how can it persist even on Global rom? On Tmo devices there is a "Device Unlock" app that gets deleted after you sim unlock the phone by carrier.
But global rom doesn't have the proprietary unlock app, so what is actually keeping it locked? Does the modem have the locking instructions in it?
Yes, something like that which is impossible to remove.
SimplisticXDA said:
Yes, something like that which is impossible to remove.
Click to expand...
Click to collapse
The previous OP devices it was possible after flashing Int. rom.
Question is where/how did they place the restrictions now. It had something to do with the modem after the t-mo app unlocks the phone.
But I don't think backing up and restoring a modem from an unlocked OP8 and flash it to locked OP8 will work as intended anymore.
I guess no one cared enough to reverse engineer this again
hendavi said:
Just getting the unlock token from Oneplus. Successfully flash and unlocked bootloader. Is it have any way to unlock network? View attachment 5421891
Update:
Have been flash global rom 10.5.7 and the update to beta global rom, network still locked.
Fastboot erase modemst1 and modemst2 also can't unlock network.
Click to expand...
Click to collapse
what does your unlock bin look like cause mine looks like jibberish? tried flashing mine and it said it cant verify it
Snekxs said:
what does your unlock bin look like cause mine looks like jibberish? tried flashing mine and it said it cant verify it
Click to expand...
Click to collapse
I think is same if open with notepad
hendavi said:
I think is same if open with notepad
Click to expand...
Click to collapse
Yeah mine looks the same. Did you flash it from your computer or flashed from your device's storage?
Snekxs said:
Yeah mine looks the same. Did you flash it from your computer or flashed from your device's storage?
Click to expand...
Click to collapse
Flash from computer. ..
hendavi said:
Flash from computer. ..
Click to expand...
Click to collapse
weird been doing that and no luck at all

Categories

Resources