How to install TWRP and root with Magisk on the Moto G6
The Motorola Moto G6 is an entry level release from Lenovo under the Moto brand. With a 5.7-inch 18:9 IPS display (2160×1080), the G6 brings the newest trend of 2018 to the masses, alongside other reliable specifications such as a Qualcomm Snapdragon 450 SoC, 3/4GB of RAM, 32/64GB of storage, expandable storage, and dual 12 + 5MP rear cameras. If you recently picked up this affordable device and are looking forward to getting root access, check out XDA Senior Member dejello‘s guide on rooting your Moto G6 with Magisk and installing TWRP on it.
The thread below provides a step by step procedure for several regional variants of the G6, and also includes steps to backup your stock boot and recovery images. Do note that your user data will be wiped, so be sure to back that up separately before proceeding.