Rooting Moto G6 and G6 Plus is now possible!
Reminders:
– The warranty will be voided.
– Have a decent technical understanding of what you’ll read below before executing it.
– Read every step carefully.
– You need to be on stock firmware before proceeding. If you currently are on a custom ROM make sure to change back to a stock rom.
– The following will be for Android Oreo, not Pie. If you’re running on Pie please upgrade or use a modified boot image with Magisk (more info later).
– Only works with XT1925-2, XT1925-3, XT1925-4, XT1925-5, XT1925-6, XT1925-13.
– Have your bootloader unlocked before starting. See: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
– Have ADB and Fastboot installed. See: https://developer.android.com/studio/releases/platform-tools
– Some TWRP, ADB and custom recovery knowledge never hurts.
How To Root Moto G6 and G6 Plus
1 – Download a modified boot image matching your variant from here.
If you don’t know what firmware you’re running on go to Settings >> About
Also download TWRP (current version is v3.2.3).
Place the TWRP and the boot image file inside the ADB and Fastboot folder.
2 – Hold the power and volume buttons down simultaneously to enter bootloader mode on your phone, then connect it with the computer.
3 – Now open up an ADB command prompt and type: fastboot boot twrp-v3.2.3-ali.img
If your TWRP has an updated version then change the v3.2.3 into the newer one.
The above command will let TWRP load up on your phone. Be patient here and don’t freak out if it feel like it’s taking too long as it’s decrypting user data.
If a pop up asks whether you ant to allow modifications simply swipe right to confirm.
It’s recommended to backup now so type: adb pull /dev/block/bootdevice/by-name/boot stockboot.img
4 – We need to flash TWRP now so in the command prompt type: fastboot flash recovery twrp-v3.2.3-ali.img
And now flash the .img file by typing: fastboot flash boot OPS27.104-92_no-verity_boot.img
If your stock firmware file has a different name then make sure to change it into that.
5 – Optional: if you want to remove the forced-encryption upon booting then download the Force Encryption Disabler from here and copy it to your SD card:
Now go to TWRP and select mount and press Vendor.
Then in ADB Type: adb pull /vendor/etc/fstab.qcom factory-fstab.qcom
Now reboot back to the bootloader using the previously stated method.
That’s your backup. Now let’s continue with the removal.
Go to ADB again and type: adb push Force_Encryption_Disabler_For_ALI_Oreo_v2.zip /tmp
I placed the file in my tmp folder that’s why I added /tmp at the end. So make sure to put the exact folder name of where you placed it instead of copying mine.
Now flash it by going to Install in TWRP. To verify whether it worked by typing: adb shell “cat /vendor/etc/fstab.qcom”
If it says encryptable instead of forceencrypted then it’s flashed.
6 – Download Magisk and place it in your ADB and Fastboot folder.
Transfer it to your phone by typing the following command in ADB: adb push Magisk-v17.3.zip /tmp
Then flash it from within TWRP by finding it’s location under Install.
Reboot your phone and look for the “N/A” signal at the top op the screen while booting. THis is an indicator that Magisk has been installed as well as the Moto G6 root.
Don’t confuse this with a bootloop, in fact you just rooted Moto G6 or G6 Plus.
So that’s how you root Moto G6 and G6 Plus!