How to Install TWRP and ROOT Xiaomi [All Types]

How to Install TWRP and ROOT Xiaomi [All Types]

How to install TWRP and ROOT Xiaomi andoid Phone

TWRP (Team Win Recovery Project) is an open source software useful for Android users to help repair or install Android OS. open source


What are the benefits and features of TWRP?

  • Installing Custom ROMs, Kernels, Plugins, GApps, Fix 4G, SuperSU, Magisk and other mods;
  • Backup/Restore Process of System, Boot, User Data, IMEI, Modem, Sensor Section, Cache, Dalvik Cache to Internal Memory;
  • Can be used to transfer files via MTP, file manager and terminal emulator;
  • As well as many other uses.
The TWRP backup/restore process works with "nandroid" backups, so the backups you get are exactly the same as the previously used ROM.

Please read this before installing TWRP. !

  • Bootloader, Rooting, Custom ROM installation may void warranty;
  • Warranty can be restored by flashing an official ROM;
  • We recommend that you back up your important data first in case the process fails and causes the Phone  boot loop.
  • Follow the instructions in this article carefully because one wrong step can cause your cell phone to die completely.
  • Do it at your own risk..!

Well, due to the many advantages of TWRP, in this article I will specifically look at how to install TWRP on all Xiaomi devices.


1. Xiaomi TWRP Image File

To install TWRP, you only need the TWRP image file (.img) according to your Xiaomi type.

Download the following stock TWRP:

Devide mobile Phone TWRP
Xiaomi - Mi MAX Pro [Helio] link download > https://dl.twrp.me/helium/
Xiaomi - Mi 2 / 2 S [Aries] https://dl.twrp.me/aries/
Xiaomi - Mi 3 [Cancro] https://dl.twrp.me/cancro/
Xiaomi - Mi 4C [Libra] https://dl.twrp.me/libra/
Xiaomi - Mi 4I [Ferrari] https://dl.twrp.me/ferrari/
Xiaomi - Mi 5 [Gemini] https://dl.twrp.me/Gemini/
Xiaomi - Mi 5S [Capricorn] https://dl.twrp.me/capricorn/
Xiaomi - Mi 5S Plus [Natrium] https://dl.twrp.me/natrium/
Xiaomi - Mi 6 [Sagit] https://dl.twrp.me/sagit/
Xiaomi - Mi 6X [Wayne] https://dl.twrp.me/wayne/
Xiaomi - Mi 8 [Dipper] https://dl.twrp.me/dipper/
Xiaomi - Mi A1 [Tissot] https://dl.twrp.me/tissot/
Xiaomi - Mi A2 [Jasmine] https://dl.twrp.me/jasmine_sprout/
Xiaomi - Mi A2 Lite [Daisy] https://dl.twrp.me/daisy/
Xiaomi - Mi MAX [Hydrogen] https://dl.twrp.me/hydrogen/
Xiaomi - Mi MAX 2 [Oxygen https://dl.twrp.me/oxygen/
Xiaomi - Mi MAX 3 [Nitrogen] https://dl.twrp.me/nitrogen/
Xiaomi - Mi MIX [Lithium] https://dl.twrp.me/lithium/
Xiaomi - Mi MIX 2 [Chiron] https://dl.twrp.me/chiron/
Xiaomi - Mi MIX 2S [Polaris] https://dl.twrp.me/polaris/
Xiaomi - Mi MIX 3 [Perseus] https://dl.twrp.me/perseus/
Xiaomi - Mi Note 2 [Scorpio] https://dl.twrp.me/scorpio/
Xiaomi - Mi Note 3 [Jason] https://dl.twrp.me/jason/
Xiaomi - Mi PAD [Mocha] https://dl.twrp.me/mocha/
Xiaomi - Pocophone F1 [Beryllium] https://dl.twrp.me/beryllium/
Xiaomi - Redmi 1S [Armani] https://dl.twrp.me/armani/
Xiaomi - Redmi 3 Pro [Ido] https://dl.twrp.me/ido/
Xiaomi - Mi 2 / 2 S [Aries] https://dl.twrp.me/aries/
Xiaomi - Redmi 3S/Prime/3X [Land] https://dl.twrp.me/land/
Xiaomi - Redmi 4A [Rolex] https://dl.twrp.me/rolex/
Xiaomi - Redmi 4X [Santoni] https://dl.twrp.me/santoni/
Xiaomi - Redmi 5 [Rosy] https://dl.twrp.me/rosy/
Xiaomi - Redmi 5A [Riva] https://dl.twrp.me/riva/
Xiaomi - Redmi 5 Plus [Vince] https://dl.twrp.me/vince/
Xiaomi - Redmi 6 [Cereus] https://dl.twrp.me/cereus/
Xiaomi - Redmi 6A [Cactus] https://dl.twrp.me/cactus/
Xiaomi - Redmi 6 Pro [Sakura] https://dl.twrp.me/sakura/
Xiaomi - Redmi Note 2 [Hermes] https://dl.twrp.me/hermes/
Xiaomi - Redmi Note 3 [Kenzo/Kate] https://dl.twrp.me/kenzo/
Xiaomi - Redmi Note 3 MTK [Hennessy] https://dl.twrp.me/hennessy/
Xiaomi - Redmi Note 4X [Mido] https://dl.twrp.me/mido/
Xiaomi - Redmi Note 4G (Single SIM) [Dior] https://dl.twrp.me/dior/
Xiaomi - Redmi Note 5A / Y1 Lite (Ugglite) https://dl.twrp.me/ugglite/
Xiaomi - Redmi Note 5A / Y1 (Ugg) https://dl.twrp.me/ugg/
Xiaomi - Redmi Note 5 Pro [Whyred] https://dl.twrp.me/whyred/
Xiaomi - Redmi Note 6 [Tulip] https://dl.twrp.me/tulip/

Material Xiaomi- according to your type.
install TWRP xiaomi;
If yes, continue with the following installation steps.

Also Read:
How To Install TWP Orange Fox Redmi Note 5 Pro Oreo / Pie [Whyred]
How To Install TWRP, Custom ROM And ROOT Redmi Note 7 [Lavender]
How To Install TWRP And ROOT Mi A1 Oreo [Tissot]


2. How to install TWRP

Requirements before installing TWRP:

  • Make sure your Xiaomi battery is fully charged or at least 50% charged;
  • computers/laptops with Windows 7 or newer operating system;
  • Original or good quality USB cable to connect Xiaomi to computer/laptop;
  • USB debugging and OEM unlocking enabled;
  • Xiaomi Unlocked Bootloader.
  • Remember to backup important data first if Phone boot or TWRP asks for a password.

Required materials:

  • Install ADB-Fasboot-And-Driver-v1.4.3.zip - 8.89MB (read here how to install it, works like a fastboot command and automatically goes into fastboot mode);
  • Install ADB.Driver.Installer.v2.0 - 11 MB (read how to install it here, useful as ADB interface driver and bootloader interface);
  • Rename the TWRP image file from above to twrp.img;

Once you have met the requirements and uploaded all the above materials, please follow the instructions below.

Steps:

1.Connect Xiaomi to PC or laptop with original or good quality USB cable.
2. Place the renamed TWRP file twrp.img in c:/adb;
Steps to Install TWRP Recovery

Once done press the SHIFT button + Right-click an empty area, and then select Open a command window here.
Installing TWRP Recovery Redmi

4. Make sure that the device is connected (connected) by entering the command:

    adb devices

how to install twrp

5. If a random code (serial number) is displayed, it means that the mobile phone is correctly connected ADB -status;
6. If it looks like this on the HP screen:

OEM unlocking  USB Debugging

.. click OK.

7. Then type the command:

    adb reboot bootloader

8. Xiaomi will automatically reboot and enter fastboot mode;

Steps to install TWRP Recovery

9. Make sure it is connected in fastboot mode by typing:

    fastboot devices

type fastboot devices

10. If a random code (serial number) appears, it means the device is properly connected to the computer or in fastboot. mode on the laptop.

11. Next, type the command:

    fastboot flash recovery twrp.img

Steps to install TWRP Recovery
This command will install TWRP.

12. Wait until the process is finished and ends with marked words.
At this point, TWRP installation is complete.

After TWRP is installed, try to enter TWRP immediately by pressing the Power + Vol Up button for a while until it enters TWRP as follows:

Install TWRP for all types of xiaomi devices

Install after login, select Mount and uncheck "Mount system partition . read-only" so that TWRP doesn't disappear after rebooting or installing a ROM.

Installing TWRP
Up to this stage, installation of TWRP recovery is complete.

3. Disable DM-Verity

Several recent Xiaomi releases already use the DM-Verity feature. This means that if the recovery partition (TWRP installation) is modified, the device will not boot (bootloop) because this feature prevents it.

Therefore, use the material below to solve it:

no-verity-opt-encrypt-6.0.zip - 657 KB (to avoid booting, put it in internal memory without extracting it);

Steps:

1. Copy file no-verity-opt-encrypt-6.0.zip to internal storage in TWRP mode;
2. Then select Install and tap the no-verity-opt-encrypt-6.0.zip file you copied earlier.

How to Install / Install TWRP and Root Redmi Note 5A / Prime (Ugg / Lite)

3. Then Swipe "Swipe to Confirm Flash".
4. Wait for the installation to finish with "...done".
5. If so, select Reboot System.

    In TWRP mode you can copy files to internal storage because TWRP already supports MTP (Media Transfer Protocol).

4. ROOT Step

Root is optional, it can be done or not depending on needs. Read the pros and cons of a rooted mobile here.
If you want to root, flash TWRP again and copy the file :

Magisk-v16.0.zip - 5 MB | You can check the latest Magisk components here (install Magisk and root, don't unzip and put them in internal storage);

Steps:

1. Choose Install;
root pixel

2. Next, select the Magisk-v16.0.zip file you copied earlier to internal storage;
3. Swipe right under "Swipe to Confirm Flash";

How to root ROM Pixel Experience Official Stable Oreo 8.1 Xiaomi
How to Root ROM Pixel Experience Official Stable Oreo 8.1 Xiaomi

4. Wait for the process to finish and it will be marked as "done";
5. Then reboot  system.
After entering the home screen, the Magisk icon appears as follows.
modul magisk display

By this stage the rooting process is complete, here is the application you need for rooted Android phones

Articles on how to install a specific type of Xiaomi TWRP

For specific Xiaomi users, here is a list of TWRP installation instructions to make the installation easier..
  • Xiamoni Mi 4C [Libra];
  • Xiamoni Mi 5 [Gemini];
  • Xiamoni Mi 5S / Mi 5S Plus [Capricorn / Natrium];
  • Xiamoni Mi 5X [Tiffany];
  • Xiamoni Mi 6 [Sagit];
  • Xiamoni Mi A1 [Tissot];
  • Xiamoni Mi MAX / Mi MAX Prime [Hydrogen / Helium];
  • Xiamoni Mi MIX [Lithium];
  • Xiamoni Redmi 1S [Armani];
  • Xiamoni Redmi 2 / Prime [Wt86047];
  • Xiamoni Redmi 3S/Prime/3X [Land] [UBL] / [NON UBL];
  • Xiamoni Redmi 3 / 3 Pro [Ido] [UBL] / [NON UBL];
  • Xiamoni Redmi 4A / 4 / 4 Prime;
  • Xiamoni Redmi 4X [Santoni];
  • Xiamoni Redmi 5 / 5 Plus [Rosy / Vince];
  • Xiamoni Redmi 5A [Riva];
  • Xiamoni Redmi Note 2 / Prime [Hermes];
  • Xiamoni Redmi Note 3 Pro [UBL] / [NON UBL];
  • Xiamoni Redmi Note 3 MTK [Hennessy];
  • Xiamoni Redmi Note 4X [Mido];
  • Xiamoni Redmi Note 4 MTK [Nikel];
  • Xiamoni Redmi Note 5 Pro [Whyred];
  • Xiamoni Redmi Note 5A / Prime [Ugg / Lite];
  • Xiamoni Redmi Note 6 Pro [Tulip];
  • Xiamoni Redmi Note 7 [Lavender].

Reasons for TWRP Installation Failure

There are many cases where the TWRP installation process fails under certain circumstances. This could be due to several things, I will try to go through them one by one.

1. Error: "Unable/cannot to load twrp.img"
Many people wonder why the error message "cannot load twrp.img" appears when installing TWRP.
Error: Unable to load TWRP.IMG

This is because the adb program cannot find the executable file twrp.img.

Reason:

  1. Placed twrp.img in wrong directory; or
  2. Not renamed to twrp.img; or
  3. You accidentally renamed this file to twrp.img.img (this happens often).
So it's easy, just change the TWRP installation command to:

    fastboot flash recovery twrp.img.img

2. Enter TWRP (Keep Mi Recovery)

does not work TWRP is ready without errors, it turns out that TWRP is not installed and it still going to Mi Recovery.

If this happens, enter fastboot again and repeat the flashing command as follows.

    fastboot flash recovery twrp.img

.. then continue

    fastboot boot twrp.img master

Xiaomi automatically enters TWRP Recovery.

3. TWRP asks for password

Whether it's a bug or TWRP security, many latest Xiaomi versions experience this after installing TWRP. You can fix it by reading this article.

Learn more about the meaning of the TWRP error message here.

After TWRP is installed, read the instructions in this article.

How to Install TWRP and ROOT Xiaomi [All Types].

Hope useful..!

    Disclaimer :
  • Do this at your own risk.. ! I wrote the above tutorial after successfully testing it on my Xiaomi device. However, in different conditions and environments, the above method may not work on your Xiaomi device. So, if you want to follow the above method, you understand that you have to bear the risk of failure.

When a boot loop occurs, follow How to Bypass Bootloop / Softbrick / Unbrick Xiaomi [SoC Snapdragon] guide to overcome it.

Subscribe to receive free email updates: