This tutorial will guide you to easily install TWRP Recovery on the Xiaomi Mi 6X device (codename Wayne). The phone is currently available on China MIUI ROM only. Global users can have its worldwide version which is dubbed as Mi A2. Nevertheless, this article is intended for Mi 6X and not for its sister the Mi A2. We try to make the article as easy as possible so anyone can follow it without problems. Please let me know in the comment section below if you found any parts of this guide is difficult to follow.
Team Win Recovery Project is a popular custom recovery capable to flash third-party binary. In this sense, with TWRP users can flash SuperSU or Magisk to gain root access. Moreover, those who want to experience the awesomeness of third-party Android ROMs, TWRP allows them to do so.
Check also: How to install Play Store on Mi 6X.
There are few things you are gonna need:
- A Xiaomi Mi 6X device (Codename Wayne).
- A compatible USB data cable. Make sure it is the USB data cable and not USB charging-only cable;
- A Windows-based laptop / PC. We strongly suggest you use Windows 8/8.1/10with 64-bit system;
- Your phone should have enough juice. Just make sure it has at least 65% battery power remaining;
- Download Minimal ADB & Fastboot Driver;
- Download TWRP for Mi 6X Wayne;
- Download the latest version of DM-Verity Encryption disabler tool;
- A spare time of your life which is not more than 30 minutes.
Words of caution:
Please read thoroughly the article before really implementing the steps. Make sure you understand what you are going to do prior to doing it. We hold NO responsibility for any risks of the broken device so please proceed with caution. Do not forget to create a backup of all your important data and files including Contact, Call logs, messages, photos, apps, and so on.
Steps to Flash TWRP Recovery
Step 1 – Extract and install Minimal ADB & Fastboot driver into your computer. It is recommended to firstly disable Windows Driver Signature Enforcement mechanism prior to installing the driver. You can re-enable that Windows feature again once you have installed the driver.
Necessary reading: Windows Driver Signature Disabler and Enabler tool.
Step 2 – Now install Minimal ADB & Fastboot driver software onto your computer.
Step 3 – Grab your phone and enable Developer options and OEM Unlock options on your phone.
Step 4 – Next, you need to first unlock the bootloader of your device. The unlocking mechanism is basically easy but you have to wait for official permission from Xiaomi developers team. Please read and follow our previous guide on how to unlock your phone bootloader.
Step 5 – At this point, we assume you have already unlocked your device bootloader. Now copy or transfer the zip package of DM-verity disabler into your phone’s internal storage. Alternatively, you may simply open the download page with your favorite mobile browser and grab it directly into your phone.
Step 6 – Open up Windows Explorer on your computer. Find the newly downloaded twrp’s img file. Now rename that file from “TWRP-wayne-3.2.1-0.img” to “recovery.img“. Copy that recovery.img file to your ADB folder which is commonly located at drive C:\adb.
Step 7 – Next, grab your phone again, and turn it off completely. Reboot your phone into bootloader mode (which also known as Fastboot mode) by pressing Volume Down (-) and Power buttons together simultaneously until you see the Bunny Fastboot logo.
Step 8 – Connect your Mi 6X device which is already in Fastboot mode into your computer using its USB cable.
Step 9 – Now back to Windows Explorer. Go to the location of where you have downloaded the TWRP flash-able image file.
Step 10 – Hold down the “Shift” button on your keyboard and right-click on anywhere inside that folder. Next, choose “Open command window from here” or “Open Powershell Window here“.
Step 11 – Now in command prompt / Powershell window, type following command to check the status of your device whether it has been connected successfully or not:
Your device will be displayed there. Otherwise, you may try either reinstalling the ADB & Fastboot driver or try installing Mi Flash tool.
Step 12 – Finally, issue the main magic command below which is the main magic spell to flash TWRP into your phone:
fastboot flash recovery recovery.img
The flashing process should take only a few minutes (not more than 3 minutes).
Step 13 – Next, reboot into recovery using this command:
fastboot boot recovery.img
Step 14 – In the first time using it, TWRP may ask you to allow it to do any system modification. Simply slide to accept it. Please be aware that once you did it, it may trigger Android’s DM-Verity encryption which in this case why you will need the following steps.
Step 15 – Select “Install” from the main menu.
Step 15 – Now locate the DM-verity Disabler tool (a.k.a Lazy Flasher) you have copied or downloaded.
Step 16 – Confirm to flash it by swiping right Swiping right.
Step 17 – That’s it. You have now successfully flashed TWRP on your device. Be fonfident on using it,
You may also need to set up its main language to English (or another language) in case if Chinese is displayed by default. The Settings menu is located in the third row and second column. Just follow this sequence:
Once done, you can now reboot your device into normal mode by issuing this command:
That’s it. Now you can disconnect your phone from your PC. From here on, it would be up to you for what will you flash on this newly installed TWRP.
Image credit: Ekabappy1.