In this guide, we will share with you an in-depth guide to Unlock Bootloader on Moto G4 and Moto G4 Plus via ADB Fastboot. Similar to the Android smartphones, the Moto G4 and Moto G4 Plus handset also come with a locked bootloader. The handset runs on Android 6.0 Marshmallow and later upgraded to Android 8.1 Oreo. Therefore, it can be unlocked easily with a few steps, which mentioned below.
If you are new to rooting, then you should know that the unlocking bootloader of an android device is the first and important step in the Android rooting process.
Unlock Bootloader: Overview
The bootloader is a program that starts whenever a device is powered on to activate the right operating system. It packages the instructions to boot the OS from the kernel. Like a smartphone, tablet, or PC, etc.
A Locked or Unlocked Bootloader is what gives you access to root a device easily. If you root your device, it means you have superuser or administrator access to the operating system that runs on your phone. Therefore, you can change some of the system settings, manage customizations, tweaks, etc.
Unlocking your Android Device Bootloader may get security issues. Android users often unlock their device bootloaders to root and install Custom ROMs. But it may void your device warranty sometimes. If your device bricked or stuck into boot loops, etc. For the same reason, Android doesn’t come rooted; smartphone OEMs also don’t want to unlock the bootloader or root your device. It’s your choice and needs.
- To Unlock Bootloader on Moto G4 and Moto G4 Plus via ADB Fastboot, you need a laptop or PC.
- Keep your device battery charged up to 50%, at least for a smoother process.
- It’s highly recommended you take a complete backup of your device’s internal data. All of your device data will delete.
- You need a USB cable to connect your device with PC.
- You need to download ADB and Fastboot Tools to your PC and Extract it.
- Download the Motorola USB Drivers for your PC.
Steps to Unlock Bootloader on Moto G4 and Moto G4 Plus via ADB Fastboot
- You need to enable the developer option to activate OEM unlock and USB Debugging
- To enable the developer option, Go to your Settings -> About phone -> Now tap on the Build Number 7-8 times until you see a toast message “You are now a developer!“
- Go back to settings -> Now you need to enable the OEM Unlock by going to Settings -> Developer Option and Enable OEM Unlock and USB Debugging
- Download and Extract the Downloaded ADB fastboot Zip file on your PC.
- Now connect your phone to the computer using a USB Cable.
- When you connect your Phone to Computer, please wait until all the drivers get installed.
- In your ADB fastboot folder open a command prompt window by pressing Shift Key + Right Mouse Click
- Now type the command in your command window
- If you see a pop up to allow USB Debugging on your phone, Click OK
- Now type the command below to reboot your phone to bootloader
adb reboot bootloader
- Once your phone reboots into bootloader, make sure your phone shows the bootloader locked and then type the command below to make sure fastboot drivers correctly installed.
- This command will list the connected devices. If your phone’s serial number shows up, you are good to go and may continue. If the phone is NOT listed, this indicates that your drivers are not installed correctly. To keep the setup, you must fix your drivers to list your device under fastboot devices.
- If the phone is recognized by the command above, proceed to boot into bootloader by tapping down the volume down button on your phone and select the BOOT TO DOWNLOAD MODE option with power key. Now you can unlock the bootloader with the following command: Remember that this step will wipe EVERYTHING off the phone
fastboot oem get_unlock_data
- Soon command will return a string which you need to copy the string to Notepad with a single line by deleting all space
(Note: Only copy the highlighted sections above. Do not copy the INFO or (bootloader) prefix)
- To Get Bootloader Key for Moto G4 and Moto G4 Plus – Open the website Motorola’s unlock the bootloader site by Signing up or Log in via Google Plus account
- Now paste the string from Notepad to the box shown on the website (Check Screenshot below)
- Once you click the “Can my device be unlocked?” you will receive a mail with an unlocking key.
- Now copy the unlock key and type the following command and enter.
fastboot oem unlock UNLOCK_KEY
Here UNLOCK_Key is the place where you have to paste the unlock key, which you copied from the email.
- That’s it! Your device will unlock. Hah! Have fun!
I hope you successfully unlocked the bootloader on your device. If you have any questions about this method, leave a comment below.