How to root Motorola Moto G6, Moto G6 Plus and Moto G6 Play

Moto G6 root

Even before the times when Motorola was owned by Lenovo, the company has shared a great relationship with the Android OS. While the days of Motorola being Google’s go-to company for creating flagship devices may be long gone, they haven’t stopped developing excellent devices, which is apparent in the Moto G series.

The latest addition to the club is the Moto G6 and G6 Plus, both of which are considered formidable mid-range devices of 2018. However, in order to get more out of these devices, you might just decide to install a custom TWRP recovery and enable root access.

Here’s the complete guide on how to root Moto G6 devices (G6, G6 Plus, and G6 Play) with step-by-step instructions.


Related:


Moto G6 root

Moto-G6-TWRP

Update [June 13, 2018]: Root and TWRP are not available at the moment for the Moto G6.


Moto G6 Plus root

Moto-G6-Plus-Root

You can root the Moto G6 Plus using the patch boot image file by XDA user jekyll86. Thanks to his custom boot image file for the Moto G6 Plus (only), codename evert, you can skip the process of booting into TWRP custom recovery (method 1 above, that is) and flash a Magisk patched boot.img file directly using ADB and have root access.

  1. Make sure that you have the software version OPW27.113-45 installed on your Moto G6 Plus. (Once again, do not try this on any other device than Moto G6 Plus, and that too must be running build OPW27.113-45.)
  2. Unlock the bootloader of your Moto G6 Plus using this guide. (This will delete everything so take a full backup of your device first.)
  3. Install the ADB and Fastboot driver on your Windows PC.
  4. Make sure you have enabled USB Debugging on your device.
  5. Download the patched_boot.img file.
  6. Connect your Moto G6 Plus to the PC with a USB cable.
  7. Open the terminal window in the folder on your PC where you have the patched boot image file. For that, go to that folder, and then type cmd in the address bar and hit the enter key. A command window will open up, and its location will be that folder.
  8. Now, type in the following command to verify ADB is working (you should get a random serial number). To run a command, simply type it and hit the enter key to run it.
    adb devices

    └ If you get a permission dialogue on your device to “Allow USB debugging”, tap OK.

  9. Boot your device into fastboot mode (also called bootloader mode) by running the command below:
    adb reboot bootloader
  10. In fastboot mode, flash the patched boot image file by running the command below. This will install the modified boot image, which would install root access.
    fastboot flash boot patched_boot.img
  11. Once the process is complete, restart the device using the following command:
    fastboot reboot
  12. Once your device reboots, go ahead and download the Magisk Manager APK on your device.
  13. Install the Magisk Manager app using its APK (how to install APK file).
  14. Open the Magisk manager app, and install Magisk as shown in the screenshot right below.
    Magisk-Moto-G6-Plus
  15. [Optional] Wanna play with Xposed and its awesome modules? Well, install the Xposed Installer 3.1.5 app (install it using its APK file here).

With the Magisk app then open, you can simply hit the Install button, select the Direct Install method and have root access on your Moto G6 Plus up and running.


Moto G6 Play root

Moto-G6-Play

Note: Do not try this guide on any device other than the Moto G6 Play. Of course, do not try this on Moto G6, and Moto G6 Plus.

  1. Unlock the bootloader of your Moto G6 Play using this guide. (This will delete everything so take a full backup of your device first.)
  2. Install the ADB and Fastboot driver on your Windows PC.
  3. Make sure you have enabled USB Debugging on your device.
  4. Make sure you have backed up all you need form the device as this will delete everything on the device.
  5. Download the required files:
    1. TWRP file | Download link | Filename: moto-g6-play-jeter-patched-twrp.img
    2. DM Verity disabler file | Download link | Filename: moto-g6-play-jeter-no-verity-boot.img
    3. Patched boot image file | Download link | Filename: fstab.qcom
    4. Magisk Root file | Download Link | Filename: Magisk-v16.4.zip
  6. Transfer all the downloaded files into a separate folder on your PC. Let’s name this folder G6Root so that it becomes easy to reference it below.
  7. Connect your Moto G6 Play to the PC with a USB cable.
  8. Copy the Magisk file (Magisk-v16.4.zip) to your device.
  9. Open the terminal window in the folder (G6Root folder, that is) on your PC where you have the downloaded files. For that, go to that folder, and then type cmd in the address bar and hit the enter key. A command window will open up, and its location will be that folder (G6Root in this case).
  10. Now, type in the following command to verify ADB is working (you should get a random serial number). To run a command, simply type it and hit the enter key to run it.
    adb devices

    └ If you get a permission dialogue on your device to “Allow USB debugging”, tap OK.

  11. Boot your device into fastboot mode (also called bootloader mode) by running the command below:
    adb reboot bootloader
  12. [Optional] Create a backup of stock boot image file currently on your device to PC (so that you can install it back if anything goes wrong).
    1. In fastboot mode, boot into TWRP recovery by temporarily installing it using the command below (you can also copy paste the command):
      fastboot boot moto-g6-play-jeter-patched-twrp.img

      → We are using the boot command above instead of flash recovery command because we don’t want to install the recovery permanently.

    2. It may take a while before the TWRP recovery shows up, and it would first try to decrypt your data. It would fail and prompt for a password. If you have a password or PIN set, use it. otherwise just tap on cancel (also in case password doesn’t work).
    3. You will see now see TWRP recovery. Run the command below to back up the stock boot image currently on your device to PC (so that you can install it back if anything goes wrong). You will have a file named stockboot.img in your PC folder now, which means that you have safely backed up stock boot file.
      adb pull /dev/block/platform/soc/7824900.sdhci/by-name/boot stockboot.img
    4. Reboot into fastboot mode again by running the command below:
      adb reboot bootloader
  13. Install the DM Verity disabler file by running the command below:
    fastboot flash boot moto-g6-play-jeter-no-verity-boot.img
  14. Boot the TWRP recovery by running the command below:
    fastboot boot moto-g6-play-jeter-patched-twrp.img
  15. Mount the vendor partition on your device and also make it re-writeable by running the command below:
    adb shell mount -o,rw /dev/block/platform/soc/7824900.sdhci/by-name/vendor /vendor
  16. Install the patched boot image file by running the command below:
    adb push fstab.qcom /vendor/etc/fstab.qcom
  17. Factory reset your device. This will delete everything on the device. For this, in TWRP recovery, on the home screen, tap on Wipe, and then confirm it with the swipe action at the bottom.
  18. Install root access now by flashing the Magisk file. On the home screen of TWRP recovery, tap on Install button, and then select the Magisk-v16.4.zip file, and then swipe to confirm the installation.
  19. Tap on Reboot System button to restart the device.
  20. When the device is restarting, it might say N/A in the top corner for a few seconds. Don’t worry. You will soon see the Motorola’s boot screen and the setup screen thereafter.
  21. After setting up the phone, open the Magisk manager app and verify the root access. You can also verify root access using a root checker app.

If you need help with any of the steps or have additional queries, reach out to us in the comments below.

  • 316 Posts
  • 0 Comments
Sharing a love-hate relationship with Biotechnology in college, Husain moved on to his true calling of being a tech geek through and through. While briefly being persuaded by the iPhone, he made it back to the Android camp with the OnePlus One and has been a loyal comrade since.

We’re hiring! Find more here.