Android How To

How to Xiaomi Mi6 Root and TWRP Recovery (Windows, Mac, and Linux)

Xiaomi Mi6 Root and TWRP Recovery: Interested in learning how to achieve Xiaomi Mi 6 root? Look no further as you have come to the right place. In this tutorial, we are going to tell you how to root Xiaomi Mi6. The first step to rooting your Xiaomi Mi6 would be to unlock the bootloader, followed by TWRP, and then finally root using Magisk. We will show you all of these steps as we go on.

How to Xiaomi Mi6 Root and TWRP Recovery
How to Xiaomi Mi6 Root and TWRP Recovery

Warning

We are not responsible for any bricked devices. You are doing this at your own risk.

Pre-Requisites

Download and Install Xiaomi Mi 6 drivers for Windows (Mac and Linux users do not need any drivers).

Unlock the bootloader on your Xiaomi Mi6 if not already unlocked. Hit the link below to find out how to unlock the bootloader on your Xiaomi Mi6.

Xiaomi Bootloader Unlock

Also, make sure you have enabled USB debugging and OEM unlock. Navigate to Settings -> About and tap on build number seven times. You will see a message saying “You are now a developer”. Next head back to Settings and you will see an option called Developer Options, click on that and enable USB debugging and OEM Unlock.

Make sure ADB and fastboot are set up on your computer (Windows, Mac, or Linux). Hit the link below to know how to set up ADB and fastboot.

How to Setup ADB and Fastboot

Download TWRP for Xiaomi Mi6 from the below link, rename it to recovery.img, and place it in the platform-tools folder.

Download TWRP for Xiaomi Mi6

Download Magisk and no verity and place the zip files in the internal memory (root) of Xiaomi Mi6.

Download the latest version of Magisk

Download no verity

Make sure your Xiaomi Mi6 is charged 70-80 percent.

How to Install TWRP Recovery Xiaomi Mi6 (xiaomi mi 6 twrp)

Step 1 – Boot into fastboot mode

Turn off your Xiaomi Mi6.  Press and hold Power + Volume Down for 7-10 seconds until you see the Mi bunny mascot.

You can also boot into fastboot mode while the device is on:-

  1. Connect Xiaomi Mi6 to a computer using a USB cable.
  2. Open command prompt (for Windows) or Terminal (for Mac and Linux).
  3. Navigate to the platform-tools folder and issue the below command.

Windows

adb reboot bootloader

Mac or Linux

./adb reboot bootloader

Step 2 – Flash TWRP recovery

  1. Open command prompt (for Windows) or Terminal (for Mac and Linux).
  2. Navigate to the platform-tools folder and issue the below command.

Windows

fastboot flash recovery recovery.img

Mac or Linux

./fastboot flash recovery recovery.img

You just installed TWRP recovery on your Xiaomi Mi6. Now we will boot into TWRP and root Xiaomi Mi6.

How to Xiaomi Mi6 Root

Once you have installed TWRP recovery, you need to reboot into TWRP recovery and Xiaomi Mi 6 root. Follow the steps below.

Step 1 – Boot into TWRP

Unplug the USB cable, and reboot the device by holding the volume up + power button. Select Xiaomi recovery and you will boot into TWRP.

You can also boot into TWRP recovery after installing TWRPby issuing the below commands.

Windows

fastboot boot recovery.img

Mac or Linux

./fastboot boot recovery.img

Step 2 – Root using Magisk

Once in TWRP click on Install, then select the Magisk zip file downloaded in pre-requisites, and swipe to confirm the flashing zip file.

HTC U11 TWRP
twrp mi 6
HTC U11 Root Magisk

Once the Magisk zip file is flashed successfully, repeat the same process to flash no verity zip file downloaded in the pre-requisites section.

Step 3 – Reboot into Android

Click on back, then on Reboot, and then on System and you will boot into Android.

How to: Check Xiaomi Mi6 Root

In case you want to check if your Xiaomi Mi6 is rooted or not, download the Root Checker app, open it and click on Verify Root. If you are rooted you will get an appropriate message.

RootChecker