Two new phones have recently been launched in the G series phones by Motorola and these new phones are called – Moto G4 and Moto G4 Plus – successor to the last year’s G series phone.

Motorola’s Moto G series phone have been successful as they offer great features at a price that everybody can afford. With these phones, you get the latest version of Android and most of the times timely updates from the manufacturer, a good set of hardware, and everything else you expect from an Android phone nowadays.

However great an Android phone is, if it isn’t rooted, it isn’t unlocked to its maximum potential. When you root your phone, you allow yourself to be the admin of the phone who has access to modify everything on the phone. From being able to remove stock apps to installing a custom ROM, you can get to do all these when your phone is rooted.

Rooting the Motorola Moto G4 and Moto G4 Plus is now possible, all thanks to Motorola allowing the bootloader to be unlocked on the phones and Teamwin and Chainfire for their root files.

So, if you’ve got one of these phones and you wish to root it, the guide below is all you need:

Before You Begin

This could void the warranty of your device. We won’t be held responsible for anything that happens from doing this tutorial so please proceed at your own risk.

This procedure uses steps for ADB on Windows. If you’re on Mac or Linux, the steps will slightly vary for you.

You should have ADB USB drivers installed on your Windows PC. Install the drivers if they aren’t already.

This should erase all the data stored on your device. So, please go ahead and backup everything that you wish to keep.

This should also flash a custom recovery on your device.

This should work for both Moto G4 and Moto G4 Plus.

How to Root the Motorola Moto G4 & Moto G4 Plus

To root the device, you’ll first unlock the bootloader, flash TWRP Recovery, and then flash SuperSU to obtain root. Here’s how to do that all:

Go through the bootloader unlock process on the website and at one point it’ll ask you to input a code. The code that you’re supposed to input is the one that you’ve copied to your clipboard in the previous steps.

Submit the code and Motorola will send an unlock code to your email address. Note down the unlock code that you receive from the company.

Get back to the command prompt window and type in the following command and press Enter. Make sure to replace CODE with the unlock code you’ve received from Motorola.fastboot oem unlock CODE

It should begin unlocking the bootloader on your device. Wait for it to do that.

When it’s done unlocking the bootloader, reboot your device by typing in the following command into the command prompt window and hitting Enter:fastboot reboot

Your device should reboot.

The bootloader on your Motorola Moto G4 or Moto G4 Plus should now be unlocked, and you can now go ahead and flash a custom recovery on your device using the following steps:

Flashing a Custom Recovery on the Motorola Moto G4 & Moto G4 Plus

Head to Menu > Settings > About phone on your device and tap on Build number for 7-8 times and it’ll say you’re a developer. It’ll unlock the developer menu for you.

Head to Menu > Settings > Developer options and enable USB debugging.

Plug in your device to your PC using a USB cable.

Open a command prompt window on your desktop by holding down Shift and right-clicking anywhere on the screen and selecting Open command window here.

When the command prompt window opens, type in the following command and press Enter:adb reboot bootloader

It’ll reboot your device into the bootloader mode.

Type in the following command into the command prompt window and press Enter. Make sure to replace twrp.img with the actual name of the recovery image you’ve downloaded to your PC.fastboot flash recovery twrp.img

Wait for it to flash TWRP Recovery on your device.

When it’s done flashing a recovery, reboot your device by typing in the following command into the command prompt window and pressing Enter:fastboot reboot

Your device should reboot.

TWRP Recovery was successfully flashed on your Motorola Moto G4 or Moto G4 Plus. Here’s how you can now root your device:

Rooting the Motorola Moto G4 & Moto G4 Plus

Plug in your device to your PC using a USB cable.

Copy SuperSU .zip from your desktop over to the internal SD card storage on your device. It’s recommended to place the file in the root directory so it’s easily accessible.

When SuperSU’s copied, disconnect your device from your PC.

Power down your device.

Power up your device by holding down Volume DOWN and Power buttons together.

Your device should reboot into the TWRP Recovery mode.

Tap on Install in the recovery mode.

Navigate to your internal SD card storage and find and select SuperSU .zip to be installed on your device.

Tap on Swipe to Confirm Flash to flash the SuperSU file.

When it’s done flashing SuperSU, reboot your device by tapping Reboot followed by System in the recovery menu.

I'm David and I started this tech blog back in 2009 as a place to write down my thoughts on the crazy tech industry, talk about the latest gadgets coming out, as well as put down some tips and tricks to help others out with the tech they use every day.

Crazily, the site now has over 500k people on it sharing their love of tech every month! Nerd out with us, won't you?