How to Unlock Bootloader of Motorola Phones

unlock bootloader of moto phones

Getting bored of stock ROM on your phone? Is your phone getting slow day by day? Is your device manufacturer not providing software updates anymore? Want to explore the world of custom ROMs? If your answer is YES, then congrats! You are in the right place, my friend.

The journey towards flashing custom ROMs begins with the first baby step – unlocking the bootloader. Now, some manufacturers already provide phones with unlocked bootloaders. For example, Nexus phones by Google. But, if you have Moto manufactured device, then its bootloader will already be locked.

For those who don’t know what a bootloader is? The bootloader is a code that executes even before the operating system loads up and instructs OS on how to boot up. Moto has been pretty good at providing the OTA updates over the years, but still, they abandon you after 2-3 software updates. Maybe you are like me, who wants to get all the new features as soon as they come out. There is a solution to this problem – custom ROMs.

There are tons of custom ROMs available on the internet full of custom features with the latest Android integration. The most popular of them is CyanogenMod. Almost all the Moto devices are supported by CM ROMs. But, before you can try it out, you need to perform specific steps. Unlocking the bootloader is the first one. So, how to unlock the bootloader of Moto phones? Well! The process is quite simple and similar to all the Moto devices.

Warning: Unlocking the bootloader is not for the faint of heart. It will void any warranty your phone has. Unlocking the bootloader and installing your own may also cause physical damage; the device may stop working or lose some functionality.

Read the above lines? They might sound scary, but don’t worry. Here I will explain it in detail, and if you follow the steps correctly, your phone will be safe.

Here is a list of requirements you will require before proceeding any further.


How to Unlock Bootloader of Moto Phones

The process is identical for all the Motorola devices. Whether you have Moto G 2013 or Moto G4 Plus from 2016, it’s all the same.

Warning: Ensure you have backed up all your data because unlocking the bootloader will erase everything from your device.

  • You will need to Enable Developer options; for that: Go to Settings → About phone → Tap on Build number 7 times, and voila! You have enabled developer options successfully.
Android Build Number
Android Build Number
  • Now, go back to the settings homepage, open Developer options, and Enable OEM unlocking and USB Debugging.
Enable OEM Unlocking & Android Debugging
Enable OEM Unlocking & Android Debugging
ADB & Fastboot
ADB & Fastboot
  • Now, connect your device to a PC and type this command:
adb reboot bootloader

Pay attention to your phone; it may ask you for permission – whether to trust debugging access from your computer or not. Give them permission, and your phone will reboot into fastboot mode.

ADB Reboot to Bootloader
ADB Reboot to Bootloader
  • Next, type this command:
fastboot oem get_unlock_data

and hit enter.

unlock bootloader of moto phones
Unlock Data
  • The above command will give you the string, which will help you to unlock your device. To copy it, right-click on the order prompt and select Mark; then, by using the mouse, mark the whole string and press left clicks to copy (or any other method you use that works).
Fastboot Unlock Data
Device Unlock Data
  • Now, open Notepad and paste the string; remove all the spaces in between and copy it.
Copy String to Notepad
Copy String to Notepad
  • Sign in to your Motorola account, scroll down to step 6, and then paste the string you have just copied from Notepad and click on ” Can my device be unlocked? Button.
Check If your device can be unlocked?
Check If your device can be unlocked?
  • Now, scroll down to the bottom. If your device is unlockable, a blue Request Unlock Key button will appear; agree to the terms and click Request Unlock Key.
unlock bootloader of moto phones
Request Unlock Key
  • After requesting, Motorola will send you the unlock key to your registered E-Mail address.
  • Copy the unlock code from your E-Mail and go back to the command prompt.
Copy Unlock Code from Email
Copy Unlock Code from Email
  • I am assuming your phone is still in fastboot mode; if not, follow the step 3 and reboot it to bootloader, and type:
fastboot oem unlock unlock_code

replace the unlock_code with the key you got in your E-Mail and hit enter.

Unlock Bootloader
Unlock Bootloader

Now, your phone will unlock.

  • After unlocking, your device will reboot, and you will see a screen with a WARNING BOOTLOADER UNLOCKED message, just like in the image below.
Unlocked Bootloader Warning
Unlocked Bootloader Warning

This is the whole process of unlocking the bootloader of Moto phones. Now, you are ready for the next step in the journey toward installing the custom ROM. If you still have any questions feel free to comment below; we would be happy to help.

Choose A Format
Personality quiz
Series of questions that intends to reveal something about the personality
Trivia quiz
Series of questions with right and wrong answers that intends to check knowledge
Voting to make decisions or determine opinions
Formatted Text with Embeds and Visuals
The Classic Internet Listicles
The Classic Internet Countdowns
Open List
Submit your own item and vote up for the best submission
Ranked List
Upvote or downvote to decide the best list item
Upload your own images to make custom memes
Youtube and Vimeo Embeds
Soundcloud or Mixcloud Embeds
Photo or GIF
GIF format