Root Moto G6 and Install TWRP | Guide

Rooting Moto G6 is a bit of hectic but we have got you covered. This guide will help you to Unlock bootloader of your Moto G6. It will also help you to install TWRP Recovery on the new Moto G6 which allows you to perform the various modification. Lastly, it will help you to root your Moto G6 using Magisk.

Finally, the wait is over Motorola again launches the best budget Android smartphone the new Moto G6. Let’s have an overview of the device, Moto G6 comes with a 5.70inch touchscreen display. It has has a full HD resolution of 1080×2160 pixels. Moto G6 is powered 1.8GHz octa-core processor and has 4GB of RAM. The internal storage capacity of the device is 64Gb which can be extended by inserting a MicroSD card up to 128GB. Packing the device with a 12MP rear camera and 16MP front camera.

Moto G6 is having the Android Oreo version(8.0.x). This smartphone is a great option to choose in this budget price. Since the company has a very misbalanced track of software updates many people don’t feel that the device ruins after the update. Because of this reason, the developer community is interested in the Motorola family. The developer community has got some awesome Custom ROM’s and Mods for the previous devices and we are sure that this device will also get some attention from the developer community.

If you are bored with your device you can always try a new custom ROM and keep experimenting. You can also add some cool mods in your device and have fun. If you are tech geek like us you would love to explore the extraordinary deep word of Android. Rooting your device will also give you a super access on your device and you can have more fun and up the point performance by installing the best custom ROM. Just follow the simple steps given down to Unlock Bootloader, Install TWRP and Root your Moto G6.

Supported devices

  • XT19252
  • XT19253
  • Xt19254
  • XT1925
  • XT19256

Do not try this process on the other devices it can cause a serious damage.


  • Charge your device up to 50-60% to prevent the device from shutting down during the process.
  • Install the latest version of ADB and Fastboot Tool on your PC. You can follow this link to do so.
  • Enable Developer option, OEM Unlock option and USB Debugging option on your device. You can click here and read the instruction how to do it.
  • Take a full backup of the data in the device. Click here for the guide.

Note: We are not responsible for any damage caused to your device.


TWRP Recovery 


Boot Images(no-verity) 

XT1925-2 – XT1925-2_no-verity-boot.img

XT1925-4 – XT1925-4_no-verity-boot.img

XT1925-5 – XT1925-5_no-verity-boot.img

XT1925-6 – XT1925-6_no-verity-boot.img

Encryption-Disabler Modified for ALI


Magisk for root

Steps to Unlock Bootloader of Moto G6

Step 1: Go into the folder ADB and Fastboot folder.

Step 2: Open a command prompt window here by,

Hold Shift key + Right click > Select Open command window here.

Step 3: Install the Motorola USB drivers on your PC. Once installed successfully connect your Moto G6 to PC via USB cable.

Step 4: Type the command as given down and hit enter, it will show you the serial number of the device if the device is connected perfectly. If not check the connection and try again.

adb devices

Step 5: Reboot your device into bootloader mode by entering the command as given down and hit enter.

adb reboot bootloader

Step 7:  Type the command as given down and hit enter, you will see some sort of number and alphabets(5 lines).

fastboot oem get_unlock_data

Step 8: Copy the number code in the notepad and arrange it in one line for example like this – 3A3E32NDNSNM00000000000000000000NAJD23422RCE30000000002 2 #NSCN#00000

Step 9: Go to the Motorola website and sign in with your regular Google account/Motorola ID.

Step 10: Follow the procedure and paste the code(which we just saved on the notepad in one line) in the text field where it says “Can my device be unlocked ?”

Step 11: Scroll down to the bottom of the page, click on “Request Unlock Key” button and check the “I agree” button. Now you will get an email containing unlock key.

Step 12:  Type the command as given down and hit enter, replace the unlock keyword with the key which you got in your mail. This will unlock the bootloader of your device and format your device.

fastboot oem unlock unlock_key

Step 13: Once the process gets completed reboot your device and done.

Now you have successfully Unlocked the Bootloader of your Moto G6!

Steps to Install TWRP Recovery and Root Moto G6

Step 1: Reboot your device into bootloader mode by entering the command as given down and hit enter.

adb reboot bootloader

Step 2: Download the TWRP Recovery from the link given above and type the command as given down and hit enter, It will boot your device in this recovery(it may ask to confirm modification to confirm simply swipe).

fastboot boot MotoG6-ali-TWRP.img

Step 3: Type the command as given down and hit enter, This command will make a full backup of your current stock boot image.

adb pull /dev/block/platform/soc/7824900.sdhci/by-name/boot stockboot.img adb pull /dev/block/platform/soc/7824900.sdhci/by-name/recovery stockrecovery.img

Step 4: Again reboot your device into bootloader mode by entering the command as given down and hit enter.

adb reboot bootloader

Step 5: Download the no verity boot image and flash it. To do so type the command as given down and hit enter,

fastboot flash boot <insert boot image name here>.img

Step 6: Now flash the TWRP Recovery on your system. Just enter the command given down and hit enter.

fastboot flash recovery MotoG6-ali-TWRP.img

Step 7: Reboot your device into recovery mode. Dismiss the password screen.

Step 8: Once again swipe to allow modification. Now tap Tap on Wipe > Format Data and type yes in the text field. This will wipe your device’s internal storage completely. Go back to the menu Tap on Advanced > ADB Sideload and swipe.

Step 9: Download the verity disabler and flash it. Type the command as given down and hit enter, it will prevent force encryption while your device is booting up and also preserve your new recovery partition after every new boot.

adb sideload /tmp

Step 10: Download the Magisk file and sideload it. Type the command as given down and hit enter, it will give you a complete root access on your device.

adb sidleoad /tmp

Step 11: Simply reboot your device and you are done.

Congratulations! you have successfully installed the TWRP Recovery on you Moto G6 and Rooted it.

2 thoughts on “Root Moto G6 and Install TWRP | Guide”

Leave a Comment