How to Root Moto G5 and Install TWRP Recovery


Motorola’s Moto G5, a mid-range flagship from moto, is a budget smartphone available at a price range of Rs.11091. It comes with a 5-inch display that makes it light and easy to grip along with a detachable battery and no hybrid slot, internal storage of 16GB and 3GB of RAM. Today we will let you guys know how to root Moto G5 and install TWRP recovery.

install twrp recovery moto g5

Further, there’s a decent camera performance with 13MP rear camera and 5MP front facing camera. It is packed with 1.4 GHz octa-core Qualcomm Snapdragon 430 chipset along with stock Android based on Nougat.

We have already guided you how you can unlock the bootloader of Moto G5. Now, we are here with a definitive guide to root Moto G5 with Magisk and how to install custom Recovery on Moto G5.

The process of unlocking and flashing is easiest on Moto smartphones as all the steps are quite easy to perform. Let’s see What is custom Recovery and what are the advantages of flashing TWRP on Moto G5.

What’s TWRP Recovery?

Term TWRP stands for Team Win Recovery Project and is custom recovery for most of the Android devices. There are many other alternates to TWRP like CMW, Philz recovery, and others. TWRP is vastly used recovery for every Android device. There are many advantages of using custom Recovery.

Advantages of Custom Recovery:

  • You can flash Custom ROMs
  • You can flash Custom MODs
  • Ability to root and unroot devices
  • Backup restore Nandroid backup
  • To underclock and overclock
  • You can clean wipe, cache, and data
  • Flash Magisk or SuperSu

How to install a Custom Recovery or TWRP on Moto G5?


Steps to install Custom Recovery:

  1. Download the Custom Recovery image from the above-mentioned link.
  2. Now, assuming that your bootloader is unlocked and you have downloaded the ADB folder, paste the recovery image to that folder.
  3. Hold Shift and right click in the ABD folder, Select “Open Command Window Here”, Command Prompt opens up.
    adb command shell
  4. To check whether your device is connected or not, type this command:
    Fastboot Devices
  5. Reboot the device into fastboot mode by typing
    adb reboot bootloader
  6. Now, make sure you have downloaded the recovery file in the same folder as of ADB. Type the following command to flash the TWRP recovery on Moto G5
    fastboot flash recovery recovery.img
  7. If “OKAY” is displayed in your command prompt, recovery is flashed.
  8. You can Reboot your device by typing


  9. Type the below-mentioned command to enter into the newly installed Recovery.
    fastboot boot recovery.img

How to Root Moto G5 with Magisk

root moto g5

As, you device have unlocked the bootloader, and even you have flashed the TWRP recovery on Moto G5, now it is time to root Moto G5. Let’s see the procedure to root Moto G5 with Magisk.

  1. Download Magisk and file from above on the internal storage of your device.
  2. Boot your device into TWRP Recovery by pressing Volume Down + Power button.
  3. Magisk might ask password when you boot up into the recovery, just swipe to allow modifications
  4. Now, Goto Wipe and Format data.
  5. Reboot TWRP into recovery mode and paste the downloaded files into internal storage of your phone.
  6. Now head over to Install Zip and navigate tot he file and install it.
  7. Now, flash Magisk Zip file.
  8. Now, wipe cache and Dalvik cache
  9. Reboot your device normally and find Magisk manager App.
  10. Your device is now rooted.

Following this guide, we hope you have installed TWRP recovery on Moto G5. Even, you can root Moto G5 using Magisk. Queries are welcome, you can ask your questions via the comment form below.

Previous articleBest Camera Phones under 15,000 INR
Next articleWhatsApp beta v2.19.45 update brings new visuals in settings
Pragya Thakur is a student, who is curious about latest technology trends. She is a newbie content writter at GoAndroid.


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.