Xiaomi despite locking bootloaders on their smartphones has encouraged the developer community to tinker with their products. The brand which has lately been sharing smartphones with their sub-brands POCO and Redmi has been quick with providing kernel sources and more documentation.
In this post, we will dive into the process of installing a custom recovery, in our case, TWRP on the Xiaomi Mi 11X, the company’s latest flagship spec’d smartphone in the market, and subsequently rooting it with the help of Magisk. With the brand releasing the kernel source, the flood gates for custom ROMs have opened and it is a matter of time when we will be seeing the new Android 12 GSI ported onto this phone as well.
Before getting started with the guide, let us explore the Mi 11X. The Mi 11x is a rebadged Redmi K40 from the China market which is globally also being sold under the POCO brand as POCO F3. It’s got a large 6.67-inch E4 spec AMOLED panel from Samsung with a peak brightness of more than 1100 nits and a rather small 2.4mm punch-hole that houses the selfie camera. The phone also gets support for a 120Hz refresh rate and is powered by the new Qualcomm Snapdragon 870 Soc. The phone is available in multiple storage options with up to 8GB RAM and 256GB storage.
On the optics front, the phone has a triple-rear camera module with a main 48-megapixel shooter, assisted with an 8-megapixel ultra-wide lens, and a 5-megapixel macro sensor. On the front there is a 20-megapixel selfie shooter, that is housed in a punch-hole cutout. All this is juiced by a rather moderate 4,520mAh battery which comes with support for up to 33W fast charging.
Let us now get into the guide with What TWRP is first, followed by TWRP installation and the Rooting procedure. This process needs an unlocked bootloader, so you can check this guide out before starting this one.
What is TWRP recovery?
TWRP stands for TeamWin Recovery Project. It is an open-source and entirely GUI-based custom recovery for Android devices. The reason why it’s so popular is because of the fact that it allows Android users to enjoy fully touch-based UI and flash custom ROMs, MODs, Magisk, SuperSu, etc. There are further features like Full System backup that come in handy during these customization sessions.
EverythingXiaomi.com is not responsible for any kind of damage to data or devices while performing this task. Flashing a custom recovery voids the device’s warranty and might result in full data loss. You are proceeding at your own risk.
How To Install TWRP Recovery on Xiaomi Mi 11X
Before we start with the installation process, it is advised that you stick to the guide and follow the instructions line-by-line.
- Make sure the phone’s battery is charged above 65%.
- Back up your data on any external media or perform a Nandroid backup.
- Download ADB and Fastboot Drivers on the PC/Laptop.
- Download the latest Xiaomi USB Drivers on the PC
- Download and save twrp-3.5.0.img it to the Extracted folder of ADB – Fastboot drivers.
- Unlocked Bootloader on the Xiaomi Mi 11X
How To Install TWRP on Xiaomi Mi 11X
- You first need to have an unlocked bootloader on your Xiaomi Mi 11X, so if that’s not done, follow our guide for the same.
- Connect your phone to the PC and look if the OEM Unlock is turned on from the developer settings.
- Extract ADB and Fastboot drivers in a folder and open the cmd or PowerShell by pressing the Shift key + Right-Clicking in the same folder.
- Now type the following command [adb reboot bootloader] to reboot the Xiaomi Mi 11X into the fastboot mode (Note: You might get a USB debugging permission on your smartphone, so accept the pop-up).
- Now place the twrp-3.5.0.img to the same folder where you have extracted the ADB & Fastboot drivers.
- Type this [fastboot flash recovery twrp-3.5.0.img] command to flash the TWRP image you download.
- After the successful flashing, reboot the phone using the [fastboot reboot] command.
If you followed the guide correctly up to the last step, then you have successfully installed TWRP Recovery on Xiaomi Mi 11X. The thing to note here is that this is an unofficial TWRP build made by individual developers and the build has not been vetted by the TWRP team. So you can get some bugs upon installing it, and it is advised to take a full backup just in case things go sideways. Let us now flash the Magisk module to get root access on the phone.
How To Root Xiaomi Mi 11X Phone
Before we start this, make sure you download the latest version of Magisk from here and place the file on to the internal storage of your phone.
- It’s always recommended that you take a full backup of the phone but if you’re doing this immediately after installing TWRP recovery, there is no need to make a separate backup.
- Now reboot your phone into TWRP recovery by pressing the volume up and power at the same while the phone is being turned on.
- Now, Select “Install” from the TWRP and browse for the Magisk.zip file. Tap on it to select it.
- Now, “Swipe to confirm flash” action.
- Upon successful installation, select “Install” once again and locate the “no-verity-force-encrypt.zip” file. Tap it to select it.
- Again “Swipe to confirm flash” action.
- Reboot System from TWRP Recovery.
- With the first boot, you might see a Magisk app on your phone, this is how you will be able to check the root status and download and install Magisk Modules for your Xiaomi Mi 11X.
- If everything checks out till now, you should have root access on your phone.
- Just to double-check, you could install the Root Checker app from the play store which should reflect the root status.
By now you have successfully flashed a custom recovery and root on your Xiaomi Mi 11X and if everything is done correctly this process won’t take much more than a couple of minutes.