How to unlock Bootloader Install TWRP & Root Motorola Moto G4 2016

As expected, Motorola has launched a new Motorola G budget phone for 2016. For the first time, a more premium option for the Moto G range. It’s called the Moto G & Moto G4 Plus. It comes better features than Motorola G4. The phone seems a perfect device which can last long & deliver stunning performance. We have already seen Motorola’s build quality which is simply great. Most of us prefer Android device because of it’s great level of customisation & never ending way to amaze you with its feature.

But in term of customisation and optimization options, Stock ROM doesn’t have too many possibilities.  Most of us prefer to go beyond the Stock features & gain main access to your device i.e Super user access. Today we’ll guide you step by step How to Unlock Bootloader of Motorola G4 Plus, Installing TWRP in G4 Plus & Rooting Motorola G4 Plus. Rooting your device is not only for performance but to get tones of new features. You can find some of the features of rooting your device.


  1. Follow the Procedure to setup & install Minimal ADB files. – Minimal ADB Tool & Setup.
  2. Official TWRP Recovery for Motorola G4 Plus (athene): Download
  3. SuperSU to Root Motorola Moto G4 Plus: Download (Nougat Root file: Download)

How to Root Moto G4 & G4 Plus 2016:

Stage 1. Unlocking Bootloader of Motorola Moto G4 Plus: In this step, we’ll unlock bootloader which will allow us to install custom softwares & TWRP recovery.

Stage 2. Installing TWRP Recovery in Motorola Moto G4 Plus: In this step, we’ll install a custom recovery named as “TWRP”. It allows flashing custom zip files. We can install TWRP recovery only if bootloader is unlocked.

Stage 3. Gaining Root Access in Moto G4 Plus: In this step, we’ll flash from TWRP recovery. SuperSU hooks into your system files & acts as bridge between system files & other Apps which require Root access.

How to unlock Bootloader of Motorola Moto G4 Plus

Step 1. Enable USB debugging mode in your Motorola Moto G4 Plus, Goto Settings > About Phone > Tap on build Number 7 times. Now go back to Settings, you’ll find a new option as ‘Developer options’. In Developer options, enable USB Debugging mode.

Step 2. Follow the Minimal ADB Tool setup guide. Connect your device to PC using a USB cable. Launch the ADB.exe file which will open up as a command window.

Step 3. Type “adb reboot bootloader” in command window. This would boot your device into Bootloader mode. (If it return any error like no device found, check if you have installed USB drivers properly.)

Step 4. Type “fastboot oem get_unlock_data” in command window. It will return a code which will look similar to this:

Unlocking Bootloader of Motorola Moto G4 Plus
Unlocking Bootloader of Motorola Moto G4 Plus

Example: On a Windows Desktop, the returned string format would be

$ fastboot oem get_unlock_data
(bootloader) 0A40040192024205#4C4D3556313230
(bootloader) 30373731363031303332323239#BD00
(bootloader) 8A672BA4746C2CE02328A2AC0C39F95
(bootloader) 1A3E5#1F53280002000000000000000
(bootloader) 0000000

Example: On a Mac OS Desktop, the returned string format would be


Step 5.  Paste together the 5 lines of output into one continuous string without (bootloader) or ‘INFO’ or white spaces. Your string needs to look like this:


Step 6. Now, Goto Motorola’s Boot loader unlock site & login with Google. Paste the entire code in the input box which says, Check if your device can be unlocked by pasting the string by pasting the string in the field below & clicking can my device be unlocked.

Motorola G4 Plus unlocking
Motorola G4 Plus unlocking

Step 7. After pasting click on “Can my device be unlocked.” After that, you’ll see a request unlock key option at the bottom of the page. Check I agree and click Request Unlock Key. You’ll receive the unlock key in your Gmail.

Step 8. Copy the key from your Gmail Account and paste in a notepad file, Open the previously opened Command prompt / Terminal & type:

fastboot oem unlock "YOURKEY" (Replace YOURKEY with the key you received)

It will unlock your device. Congratulation you have successfully unlocked your device.

You can also refer this video to understand things much better:

How to Install TWRP Recovery in Motorola Moto G4 Plus

Step 1. Transfer the TWRP recovery image file in installed ADB folder. You can refer the below image:

Motorola G4 2016 TWRP Recovery Download
Motorola G4 (2016) TWRP Recovery

Step 2. Boot your device into fastboot mode (Switch off your device. Press & hold, Volume down button and power button).

Step 3. Open adb.exe file & type “fastboot flash recovery twrp.img” (If the file name is something different like twr232.img, just replace twrp.img with twr232.img in the command). This will flash the TWRP recovery in your device.

Moto G4 Flashing TWRP Recovery
Moto G4 Flashing TWRP Recovery

How to Root Motorola G4 Plus

Step 1. We are going to use the Systemless Root procedure.

Step 2. Make sure you boot or install TWRP. Boot into it.

Step 3. TWRP -> Advanced -> Terminal -> type this:

 echo "SYSTEMLESS=true" > /data/.supersu

Step 4. Now return to TWRP & flash file as per your Android version. (different file for Nougat, check download section)

Now as you have rooted your device, you can checkout our list of Top 10 Apps for Rooted Smartpones. You can also install Xposed Framework & change System files without installing Custom ROMs. Soon we’ll update new Custom ROMs for Motorola G4 Plus as soon as their are out. If you are stuck at any point, you can comment your query below.

  • Harsh Choudhary

    i have the same problem while installing twrp it shows image not signed or corrupt what should i do plss help

  • Turbulence Loaded DubStep (DUB

    My bootloader code request says “Your device is not qualify for unlocking ” What should i do now , Plz pllz plzz help me

  • Nitin Soam

    twrp successfully installed but after installing supersu device not booting…still can access twrp window though..any help?

  • Charly Navarrete

    Hey guys, if anyone is facing problems on Nougat after following this tutorial, just boot in TWRP and flash the ElementalX Kernel, you can find it here

  • Eric Youmans

    After unlocking the bootloader and installing TWRP, I attempted to install super SU, after trying to boot my device after this my device freezes on the moto logo and is stuck on a bootloop.When the device dies i can still access TWRP. Any help?

  • Looks like some issue with the stock firmware. You need to contact Motorola service to fix this.

  • Gagan Dhawan i will try many more time but same error view in d=adb fastboot window what can i do

  • Shubham Ahluwalia

    After unlocking bootloader, the adb tool doesnot show connected devices. so i can’t install twrp
    what to do???

    • Switch on the device & enable USB debugging. Allow Computer fingerprint in device. Now try again.

  • Vishal Tyagi

    thxx mn thx a lot ;0

  • Krishan Kumar Agarwal

    Yeah, I had the same error. The US XT1644 variant can’t use the boot.img for the XT1643 and below. I was able to root by installing SuperSU. Run this command:

    fastboot boot twrp-3.0.2-0-athene.img

    Make sure you copy the SuperSU zip file in the /sdcard/TWRP folder on your device. Then when twrp loads, you can just pick the zip file and install.

  • dlfuller

    I suggest you delete or strikeout the steps on rooting using the file. It is obviously incorrect advice. The result for me and others was to flashboot stock firmware and start all over.

    Then I followed the steps at [ROOT][GUIDE] Systemless Rooting with SuperSU 2.78 .

    A helpful experience turned ugly at the end which could have been prevented.

  • dlfuller

    Everything was working well with unlocking and installing TWRP so big mistake – onto installing SuperSU without a backup. Stuck now on the Moto screen.

    How do I get out of this problem? And, @Theocs what is the guide you mentioned? Any help surely appreciated.

    • Devs-Lab Staff

      install SuperSU uninstaller zip. It will be fixed, I guess.

  • TheocS

    I’m also having the exact same problem. Any update would be appreciated.

  • MM

    Same problem here, could you resolve it?

  • Waveyy

    ive followed all the instructions but now my phone doesnt boot up, it gets stuck on the moto screen after i install SuperSU through TWRP and now its stuck there

    • AkDon

      Same thing happened to me…Thank god that I backup before flashing..I restored it.

    • Theocs

      I had this same problem but it is now resolved. Follow this guide to do a systemless root instead.

      • sushil

        This guide , which guide , I tried same thing stuck on Boot screen !