The Custom Droid

Android Tutorials, Tips and Tricks

How to Unlock Bootloader on Moto Devices (Guide)

Unlock Bootloader on Moto Devices

Unlocking your phone’s bootloader is a vital step if you’re willing to push its boundaries and get custom content on it. Here are the simple steps that will help you easily unlock bootloader on Moto smartphones. We will help you throughout the complete procedure. Using this guide, you can unlock bootloader of any Moto device that you own.


Unlock Bootloader on Moto Devices

Page Contents

Guide to Unlock Bootloader on Moto Devices

It is a common practice to follow if you’re willing to write/modify your device partitions or make any other changes that are not officially supported by the OEM. So, if you wish to install a custom ROM, kernel, or add tweaks, it is imperative that you unlock bootloader. The process of unlocking bootloader is officially supported by Moto, and you can do so directly from the official unlock page. Unlocking bootloader on Moto is bit tricky/complex, as compared to that of a Nexus smartphone, but saves a whole lot of trouble when compared to the device by manufacturers like Samsung.

Just before you begin, there are a few things that you must take note of:

  • Unlocking the Moto phone software may make your phone vulnerable to outside-software and malware. It also tends to break Moto apps – Motorola Connect, Motorola FM Radio, Moto Email, Motorola Assist, Moto Display, etc. Motorola claims no responsibility if you damage your phone during the unlock process.
  • Unlocked bootloader devices are not covered under Motorola warranty. And you, the user shall only be held liable if anything goes wrong.


  • A Motorola ID for logging in to the unlock page. This is also where you will receive your device-specific unlock code.
  • Enable OEM Unlocking on your Moto phone.
  • Also, enable USB debugging.
  • Install Android SDK tools on your PC
  • Charge your phone to at least 60% battery level to avoid any sudden shutdowns during the process.

Instructions to Unlock Bootloader on Moto Devices

We have split the instructions into three parts so that it easy for you to understand the complete process.

Step 1: Get OEM Unlock Data

  1. Open a new command-line window and connect your phone to the PC via USB data cable.
  2. Now boot into bootloader mode using the following command:
    adb reboot bootloader

    Moto G Bootloader Mode

  3. To make sure that your Moto smartphone is successfully being detected by fastboot, enter:
    fastboot devices
  4. The command window should return a device ID. If it doesn’t, you need to make sure that you have properly installed the required USB drivers.
  5. When the device has entered bootloader, get the unlock data using the command below:
    fastboot oem get_unlock_data
  6. The command window will display a string. This string is a very crucial part to get the unlock code. So select the complete string in the command-line window, and copy it.
  7. Paste the copied string in any text editor like Windows Notepad, Notepad++, etc. Remove all the spaces out of the code (This is necessary).

Step 2: Request Bootloader Unlock Key

  1. Go to the Motorola unlock website and login with your Motorola ID, or you can also use your Google ID.
  2. Scroll down to the bottom of the page that is displayed and click on NEXT.
  3. Again, scroll until you see step #6 and paste your unlock data string in the space provided.
  4. When prompted, agree to the terms and conditions mentioned below on the page.
  5. You will see the Request Unlock Key button at the end of the page, click on it to receive the unlock code on your registered Motorola ID.
  6. Open the email from Motorola and copy the unique unlock code provided for your Motorola device.

Step 3: Unlock Bootloader using Fastboot

  1. Now, go back to the command window, and enter the following command to start the unlock process (Replace UNIQUE_UNLOCK_KEY with key that you copied from the email):
    fastboot oem unlock UNIQUE_UNLOCK_KEY


    fastboot oem unlock 83HUB30290024GGH8A
  2. And voila! You have been successful to unlock bootloader on Moto devices.
  3. When everything is complete, you can reboot your phone by entering:
    fastboot reboot


Moto Bootloader Unlocked Warning

Okay, so you have just been successful to unlock bootloader on Moto smartphone. Go ahead, install custom ROMs, kernels, tweaks, etc. If you have issues post unlocking or during the process, let us know via the comments.

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 6 Comments

  1. I was successful in getting my unlock code thru Motorola and after issuing #tfunlock# and entering the response code sent to my mail it responded by successfully unlocking, but when rebooting to fastboot and issuing “fastboot oem unlock [code]” and receiving ok success response from fastboot, it still says “oem_locked” and any system commands say bootloader locked.

  2. hello my moto e4 from boost mobile sprint says its not unlockable is there anyway around this?

  3. My Moto Z2 Play is in fastboot mode, but the computer does not recognize it as a fastboot device. On the phone, in the commands on screen I noticed oem_locked even though I specifically unlocked the oem. I have restarted and done this several times to no avail.

    1. Hello Tyler, the command will not work unless you properly setup Android SDK tools. Here’s what you should do now.

      First, make sure that you follow our guide to establish a proper ADB/Fastboot connection between your Moto Z2 Play and the PC. Once that is done, come back here and comment again. I will guide you further.

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.