No menu items!

    How to install twrp for xiaomi smartphones in few steps

    If you’ve been wondering how to install TWRP on Xiaomi phones, we’ve got your back. TWRP is an Android recovery solution. TWRP (TeamWin Recovery Project), which can be installed on Xiaomi phones, is very beneficial. This custom recovery project was created for Android phones. At the time of factory reset, the Recovery menu appears on your screen.

    TWRP, a radical overhaul of the above-mentioned Recovery, is now available. You can now root your Android device by installing TWRP. TWRP allows you to install custom ROMs. So, let’s take a look at how you can install TWRP on Xiaomi devices. It’s as easy as ABC to install TWRP on your Xiaomi device. However, it is important to be careful when installing TWRP.


    First, ensure that your Xiaomi device has an unlocked bootloader. The bootloader lock protects your device’s software. It is essential to unlock the bootloader. Notably, you will not be able to make any changes in the device’s software without first unlocking the bootloader. Now, let’s move on to the next step.


    Unlocking the bootloader isn’t an arduous task. It can be difficult on Xiaomi devices. Also, you’d need to connect your device with your Mi Account to unlock the bootloader using a PC. Moreover, it is worth mentioning here that unlocking the bootloader will terminate your phone’s warranty. It will also erase any data on your phone. The bootloader unlocking process can also disable the cameras on a Samsung Galaxy Z Fold3 phone.

    If you don’t have a Mi Account on your device, create one and sign in. Next, open the developer options. You will need to enable OEM Unlocking in this section and then select Mi Unlock status. The next step involves selecting the “Add account and device” option.

    Bootloader Unlocking_main

    These steps will pair the device with your Mi Account. This will also activate your 1-week unlock period. This only applies to devices that are up-to-date, and continue to receive updates. Moreover, you can increase that duration to 2 – 4 weeks by continuously clicking that button. You don’t need to create an account. Instead, press it once. However, if your Android device has already stopped receiving updates, you don’t need to wait.


    Make sure that ADB & Fastboot libraries are installed on your computer. Next, download and install Mi Unlock tool on your computer. Next, reboot your Android device into Fastboot mode. Now you can connect your phone with the computer.

    Bootloader Unlocking - unlock tool

    Your device’s status and serial number will be visible as soon as you open Mi Unlock Tool. You just need to click the unlock button to unlock your bootloader. All data on your phone may be lost during the process. So, ensure that you’ve taken a backup before you start the bootloader unlocking process.


    Now, your device is ready. The TWRP installation can be started from CMD (command screen) or bootloader screen. Also, you’d need ADB & Fastboot library to complete the TWRP installation process. The installation process for A/B and Non-A/B devices are different. Google introduced A/B system updates (or seamless upgrades) with Android 7 (Nougat), 2017.

    See also:  Upgrade to the Samsung E6 luminescent display with Xiaomi 13 series screen

    A/B updates will allow the booting device to remain accessible on disk during an OTA (overthe-air) update. This will reduce the chance of an inactive device after an update. It reduces the chance of device replacements being necessary. This also decreases the need to have your device re-flashed at repair or warranty centers. There are two types to choose from when installing TWRP.

    TWRP Installation_partition surgery

    Non-A/B devices have a recovery partition in their partition table. You can also install TWRP from fastboot on other devices, such as the Redmi Note 8 and Redmi Note 9. To recap, Xiaomi rolled out the Android 11 update with MIUI 12 and virtual RAM for the Note 8 last year. The recovery partition is not available on the A/B device. Boot images (boot_aboot_b) will patch the ram drive.


    Several non-A/B devices adopt a simple TWRP installation process. First off, you’d need to download TWRP that is compatible with your Xiaomi device from TWRP’s official website. After downloading the TWRP file, reboot the device to bootloader mode. Connect the device to your computer.

    TWRP Installation on Non-AB Devices

    This will allow the device to be connected to a PC in bootloader-mode. CMD can be opened in the TWRP image folder. Now, run the “fastboot flash recovery filename.img” command once the process is completed. Now, run the “fastboot reboot recovery” command to reboot the device in recovery mode. This will install TWRP on a nonA/B Xiaomi phone.


    TWRP installation on an A/B device takes longer than installing TWRP on a nonA/B device. But it’s not difficult. First, you’d need to boot TWRP. Next, flash TWRP installer zip files that are compatible with your device. This zip file will fix all slots. This zip file will install TWRP to your device. Download the TWRP zip file from TWRP’s official website.

    TWRP Installation on AB Devices

    You can also download TWRP images on the same website. Simply reboot your device to fastboot mode. Once the device has rebooted, run the “fastboot boot filename.img” command. This will make sure that your device boots into TWRP mode. However, you need to bear in mind this is a one-time use “boot” command. You’d need a TWRP installer for permanent installation.


    Now, go “Install” section and find the “” file you previously downloaded. ADB sideload will install the above file on your PC. After the operation is completed, TWRP will install both components. So, you have successfully installed TWRP on your Xiaomi phones. TWRP recovery can be installed on your Xiaomi smartphone. This will improve your overall experience.

    Post TWRP Installation on AB Devices

    You can recover and back up your data using the highly-utilitative TWRP project. This is an important feature for if your device fails. You can also use this feature to root your device easily with TWRP. You can also take a backup to your device. You can also put a custom firmware on your device.

    Get latest news from African Startup ecosystem

    Latest stories

    You might also like...