The Custom Droid

Android Tutorials, Tips and Tricks

How to Enable OEM Unlocking on Android [OEM Unlock]

Enable OEM Unlocking on Android

Do you want to unlock your Android device’s bootloader? Then you must first enable the OEM Unlocking option. In this post, we will talk about what OEM Unlocking is and guide you further on how to enable it on your Android device.


Android is well-known for its open-source nature and the possibilities to push it beyond the limitations set by the OEM. Talking about the boundaries, the device manufacturers often tend to limit the OS’s functionality with a software switch, to disallow any outside customizations. That is encouraged to allow day-to-day users to preserve the integrity of their Android devices. But what if a user chooses to deliberately tinker with the preinstalled software? Well, as far as the “official” word is concerned, it is not supported in most cases. Which means unlocking an Android device’s bootloader will straightforward lead to destroying the warranty. Just not in the case of OnePlus or maybe Google itself.

Now, if you’re really interested in customizing your Android phone with third-party software, you will first need to unlock the bootloader. But in order to do that, you will be required to enable the ‘OEM unlocking’ option in the phone’s settings. We shall be covering it all below.

What is OEM Unlocking?

Enable OEM Unlocking on Android

OEM Unlocking on Android is an option in the device’s Developer Options settings that needs to be enabled in order to unlock the bootloader. It was first introduced by Google in Android 5.0 Lollipop and is also sometimes referred to as “OEM Unlock”.

Enabling this option sets the “unlock_ability” flag to “1”, thus giving the user the ability to run the “fastboot flashing unlock” command to unlock the phone’s bootloader. Once enabled, this option stays persistent across reboots and factory data resets, until disabled manually.

The option itself is generally hidden to prevent any accidental access, just like “USB debugging”. It could also serve as a recovery process to revive your device if anything goes wrong with the software.

Why would you need to enable OEM Unlocking?

Before we even get to the instructions and enable OEM unlocking on Android, let us go through the complete understanding of the benefits and drawbacks of unlocking the bootloader. We will further be adding what actually “OEM unlocking” actually is and why is it necessary.

The standard process of installing a custom ROM, kernel, or some famous mods like ViPER4Android, etc would require your device to have root permissions. Rooting itself relies on a custom recovery like TWRP in most cases. Furthermore, installing a custom recovery would require you to have access to write the device’s partitions. A locked bootloader prevents just that. It wouldn’t allow you to overwrite or modify the existing partitions. Thus, the first step towards rooting an Android device is to unlock the bootloader.

The illustration below will help you further understand the process, in case everything in the above paragraph sounded confusing.

Enable OEM Unlocking on Android - Process of Rooting Android

So what is a bootloader? – It is a software program that runs from the minute your Android phone is turned ON. It is loaded with the instructions to boot the operating system kernel and OEM provides the required permission for the user to modify or access the bootloader. An unlocked bootloader will also allow flashing factory images in case of Google Nexus/Pixel, Razer and more.

An unlocked bootloader has its benefits, yes! But it also has a few disadvantages of its own. So before we head to the instructions to enable OEM unlocking on Android, take a look at a few common ones have been listed as follows:

  • The foremost disadvantage is that you’d lose your official warranty or support in the majority of cases. Except in case of some OEMs like OnePlus.
  • Second, your device will be wiped the instant you unlock the bootloader.
  • It may prevent you from using DRM-protected features or apps like Netflix on your Android device.

How to Enable OEM Unlocking on Android Devices

Over to the thing, we are actually here for today. We have split the instructions into three steps so that you can easily understand the complete procedure.

Step 1: Backup your Android Device

It is strongly advised to backup your device completely including the apps, messages, contacts, and internal storage. While enabling OEM unlocking itself wouldn’t erase the data stored on your device. It’s likely that you’ll proceed further to unlock the bootloader, which will result in a complete data wipe. You can follow our guide on how to backup Android devices.

Step 2: Enable Developer Options on Android

As we mentioned earlier, the option/switch itself is hidden by default under the “Developer options” menu. In order to enable OEM unlocking, you will first need to reveal/enable Developer Options in the phone’s settings.

  1. Go to the app drawer and open “Settings”.
  2. Scroll down and find the “System” section. If you’re using a device with Android Nougat or below, look directly for “About phone”.
  3. Tap on the “About phone” section. You shall then see the device information like Android version, security patch level, etc.
    Enable OEM Unlocking on Android - Developer Options - 1
  4. Find “Build number”.
  5. Tap 7 times on “Build number” rapidly. If you have a PIN/Password set, you will be prompted to enter it.
    Enable OEM Unlocking on Android - Developer Options - 2
  6. Post that, you shall see a toast notification towards the bottom of the screen, saying – “You’re now a developer!”.
    Enable OEM Unlocking on Android - Developer Options - 3
  7. Go back to the “System” section. On Android Nougat and below, simply go back to the main settings.
  8. You shall see a new section named “Developer options”.

You can now follow the instructions below to enable OEM unlocking on Android.

Step 3: Enable OEM Unlocking (OEM Unlock) on Android

  1. Go to “Settings” and tap on “System”.
  2. Select “Developer options”.
  3. Scroll down through the options and find the “OEM unlocking”.
    Enable OEM Unlocking on Android - 1
  4. Simply tap on the toggle next to it. Again, if you have a password/PIN set, you will be asked to enter it.
  5. You shall be prompted to confirm the process, so press “ENABLE”.
    Enable OEM Unlocking on Android - 2

So there you go, you now know what OEM Unlocking is and how to enable it on Android device. You may further go ahead and unlock the bootloader using the fastboot command. Once unlocked, you can easily install TWRP recovery and root your phone via Magisk.

That was easy now, wasn’t it? We hope the article was able to explain to you well about the whole concept. However, if you still have questions, then jump down to the comments below and ping us.

About the Author

Founder and Editor-in-Chief

Dhananjay has more than 11 years of experience in Android software customization and development, and has spent the past 10 years writing about it. He spends most of his prime time reading, learning and writing about Android and other open-source projects. He is also a community-taught web developer. Apart from that, he loves mountain biking and playing video games on his PlayStation.

Comments 9 Comments

  1. My model number is SM-G986W, Samsung galaxy s20 plus. The OEM unlock option is not in the developer options. I tried many methods only like changing the time, switch off auto update software, etc, but did not work.

    1. Allen, you’re not seeing the OEM Unlock option on your Galaxy S20 Plus because it’s the Canadian model (SM-G986W) that comes with a non-unlockable bootloader. You will find more details about why it is so in our Samsung Bootloader Unlocking guide.

      The only known way to unlock the bootloader on the device is using a paid service such as UNSAMLOCK. However, please note that the service has its limiations as the method was patched in newer bootloader revisions/versions. So be sure to check the original XDA thread first and consult with the provider if the bootloader unlock is possible or not.

  2. Great tutorial! Can the snapdragon international version of the OnePlus Pro 7 be rooted? I know that the Note10 and Note20 require the exynos version to be rooted. I don’t know that the OnePlus Pro 7 even has the exynos version to begin with though.

    1. Yes, for sure it can be rooted. Those are pretty much Samsung shenanigans. Samsung phones in the US with a Snapdragon SoC cannot be rooted because bootloader unlocking isn’t allowed.

      With the OnePlus 7 Pro or any other OnePlus phone for that matter, things are extremely easy. We already have tutorials on unlocking the bootloader and rooting the OnePlus 7 Pro with Magisk.

    1. Hi Adit. I am afraid no. Yes, you can root your phone using another rooted phone, but that’s way more complex.

      You’d need the PC for bootloader unlocking (depends on your phone and the unlock method), as well as for flashing TWRP (or temporarily booting it on A/B devices).

    1. Hi Jockie. For the Note 3, you do not need to enable OEM unlocking. You can go straight ahead and flash unofficial binaries (TWRP, SuperSU, etc).

  3. Hi. The Snapdragon variants do not support bootloader unlocking and thus, you’re not seeing an OEM Unlocking toggle.

Leave a Reply

Comments are moderated, and published only if they are relevant to the topic and add value in a constructive way. If you disagree with something, please be polite and respectful. We suggest you read our comment policy before commenting.