If you wanted to root your Motorola Moto E 2nd Generation ( 3G version / Moto E 2015 / XT1506), you came to the right place. Let’s get started

Things You need:

1. Motorola Moto E Second Gen ( Codename: Otus ) with unlocked bootloader. If you don’t have an unlocked bootloader, go HERE
2. If you’re using Linux, skip this step.  Windows users download mfastboot, and extract the contents:=> HERE: mfastboot-v2.zip
3. Download the TWRP recovery for MOTO E2nd Gen from : HERE

Installing Recovery: Linux Users ( Linux Mint / Ubuntu or anything for that matter )

1. Copy the TWRP recovery to your home folder.
2. Boot into fastboot mode. ( Turn off your phone, now press and hold power button and volume down buttons simultaneously).
While in fastboot mode, enter the following command to flash the recovery:
The following command will display if your device is recognized properly by the system
fastboot devices


If you see a device list with a string, you’re good to go Issue the below command to flash the recovery Make sure you replace twrp-otus.img with the correct name of the file you downloaded

fastboot flash recovery twrp-otus.img
fastboot reboot

3. That’s it. Now TWRP recovery is flashed onto your phone.

Installing Recovery: Windows Users

1. Extract the mfastboot_v2.zip you have previously downloaded.
4. Go to the folder where you extracted mfastboot, Press and hold shift key and right click inside the folder, choose open command window here. This should open up a command line.

The following command will display if your device is recognized properly by the system

adb devices


If you see a device list with a string, you’re good to go
Before we flash the recovery, let’s make sure that mfastboot is working.
Issue the following command to see if mfastboot is working

mfastboot -h


This should list all the available options in mfastboot

Issue the below command to flash the recovery

Make sure you replace twrp-otus.img with the correct name of the file you downloaded

mfastboot flash recovery twrp-otus.img


The recovery should be flashed by now. Issue the following command to reboot your device.

fastboot reboot


Now your phone should have TWRP recovery installed. Let’s root the device