The Open Knowledge Base

Installing TWRP recovery and Rooting guide for Moto G

Although there are so many ways to root your Moto G 4G but here I am going to present the very simplest way to root your device.
Before starting this process please make sure that you have at least one hour of complete time.
Please don’t do this in hurry, because I will not be held responsible for any mistakes that YOU did.

Before proceeding to root your device I want you to take a backup of all your current data.

Unzip the fastboot and adb binaries and save it in some folder.
Copy the recovery image file inside the fastboot and adb folder.

STEP 2:

Open a command console and go to the folder where you have adb, fastboot and the recovery image.
Type the following command in the console:

$ adb reboot bootloader

This will take your device to the bootloader mode where you can change your under lying system data.

STEP 3:

Type the following command that installs the TWRP recovery image to your device:

$ fastboot flash recovery <RECOVERY FILE NAME>

$ fastboot reboot

After successful completion of these commands your Moto G 4G will have the TWRP recovery flashed and your phone will be rebooted.

Rooting the Moto G:

NOTE:
Rooting guide will only work after TWRP custom recovery installation.
If you will SKIP the TWRP recovery installation process and perform only these steps then rooting will not be done.

STEP 1:

Copy the SuperSu zip file that you have downloaded to your SD card.

STEP 2:

Type the following command in the console:

$ adb reboot recovery

STEP 3:

Follow the below mentioned steps to flash the SuperSu zip file to your Android system.
Touch on the Install software button
And then Select a zip file to install.
Select the SuperSu binary zip file where you have kept in the SD card.
Now, swipe the button on the bottom to start the flashing procedure.

After successfully completing all the above mentioned steps your device will be rooted.