How to unlock bootloader, Install TWRP, and root Moto G5 And Moto G5 Plus

Well, it looks like you have been searching for the “How to root Moto G5 Plus” or “How to root Moto G5”. If you asked me, I would say it so simple like other Moto devices only. But for your convenience, I’ll be guiding you through the complete process of how you can root your Moto G5 or G5 Plus. And for your kind information, you’ll void your warranty for sure.

Moto G5 Root

Warning: We’re not responsible for bricked devices, dead SD cards or anything wrong that happens. So do this at your risk. Without any further doing, let’s get started with the rooting process.

STEP 1: How to Unlock Bootloader on Moto G5 And Moto G5 Plus

Unlocking bootloader is almost the same for every Moto device. Just google it, and you’ll get the process. Just follow this guide, and you’ll be good to go ahead with the rest of the process. 

How to root Moto G5 Plus


You’ll be required to download these files below so that you don’t get stuck anywhere in the process down below. Here’s the list of files needed to download:


  1. Make sure you Enable USB Debugging by going into Settings>About Phone and tap the Build Number 7 times until you get the message ‘You’re now a developer!’. Now go back and go to Developer options and find “USB debugging” and then enable it.
  2.  In the ‘Developer Options,’ you will also find the ‘OEM Unlocking’ option, just enable it. It will ask for your PIN/Screen unlock code to enable it.
  3. Now, you’ll be required to extract the ADB FASTBOOT FILES zip into ADB FASTBOOT FILES folder. Then, rename twrp-3.1.0-0-potter.img (if you have a G5 Plus) or twrp-3.1.0-0-cedric.img (if you have a G5) into twrp.img for our convenience. Now grab the twrp.img file and drop it in the ADB FASTBOOT FILES folder.
  4. Install Universal Windows ADB Driver on your PC, then install Motorola Driver and restart your PC.


STEP 4: How to Install TWRP Recovery And Root Moto G5 And Moto G5 Plus

  1. Connect your Moto G5 or G5 Plus to your PC via USB cable. Once you connect to PC, you will get a pop up on your Moto G5 or G5 Plus.
  2. Just tick the “Always allow from this computer” checkbox and tap OK.Moto G5 Plus root
  3. Open the “ADB FASTBOOT FILES” folder on your PC. Inside the folder, hold “Shift” Key then right click and select “Open command Windows here”.

unlock Moto G5 Plus Bootloader

  1. Now type this bellow command: adb devices
  2. Now you will be able to see your device or Moto G5 or G5 Plus which means drivers are installed properly
  3. Now disconnect your Moto G5 or G5 Plus from PC, don’t close the command prompt.
  4. Put your device in fastboot mode (power off, then press the power and volume down buttons simultaneously).How to root Moto G5
  5. Type this command and hit enter, just make sure twrp.img file is in the ADB FASTBOOT folder.

fastboot flash recovery twrp.img

  1. Once the flashing is done, take your phone and use Volume UP or down Key to navigate “RECOVERY MODE”.  Just press Power button to enter RECOVERY MODE.
  2. You will see TWRP recovery mode. It will ask for a password, just tap on cancel and tap on Wipe.
  3. Then select format data, you need to type “yes” to format your phone. Now on home screen tap on Reboot and select Recovery. It will reboot into TWRP Recovery mode again.
  4. As your Phone connected to PC just copy paste and into your phone internal memory. Now, on the TWRP recovery mode, tap on Install then browse and select and swipe to flash it. Similarly, install the as well.
  5. Now tap on Reboot then select System. It will take some time to reboot so don’t worry.
  6. Once done your Moto G5 or G5 Plus is rooted finally. Now you have a fully rooted Moto G5-Plus and Moto G5 in your hands. You can also install Android O-based custom ROM’s on your G5 and G5 Plus smartphone.

That’s it. You’re now rocking a rooted device. I hope you understood this rooting process of Moto G5 or G5 Plus. If you’ve any problems, make sure to comment below regarding this.

I am the chief editor of TheLeaker. I also maintain the backend stuff of the site. I’m a tech enthusiast and loves to do Python coding in my free time. I have worked at many giant publications like XDA Developers and NXTtech before starting TheLeaker.
You can get in touch with me at Garv[at]

Leave a Comment