Xiaomi Mi 10 / Mi 10 Pro: unlock bootloader, TWRP and root with Magisk | Guide

xiaomi mi 10 pro

Xiaomi Mi 10 e We 10 Pro they represent the high-end range of the manufacturer, the two most valuable products in the smartphone field. Basically with Android 10, they are among the first models to boast of the latest MIUI 12. But if we wanted to take advantage of alternative software? Here in this guide we explain how to do it unlocking the bootloaderinstall the TWRP and get the root permissions on Xiaomi Mi 10 and Mi 10 Pro, codenames "Umi"and "cmi".

IMPORTANTthe procedure described presents complex operations which, if performed incorrectly, could damage your device. It is recommended to run only by users who have gained good experience in modding. The staff of GizChina.it will not be held responsible for any damage to the device. This procedure involves formatting the phone and the consequent loss of all data: it is recommended to make a backup.

mi 10 ultra

WARNING: following the latest directives from Xiaomi, DO NOT INSTALL MY PREVIOUS TO THE ALREADY INSTALLED. This is due to the Anti-Rollback mechanism initiated by the company's software team. Even if it does not affect all the models currently on the market, with the passage of time these will increase. therefore We strongly urge you to check the list of smartphones with Anti-Rollback before proceeding to flash other ROMs.

How to install TWRP and get root on Xiaomi Mi 10 and Mi 10 Pro

Unblocking the bootloader

As usual, before starting, we remind you that to perform this type of procedure it will be necessary first unlocking the bootloader, explained in detail in our guide. The other prerequisites include a Windows PC with ADB and Fastboot (restart if you have just installed them) and a USB cable to connect the smartphone to the PC, which must have the battery at least at 75%, to avoid possible problems.

Guide to unlocking Xiaomi bootloader

TWRP installation

First you have to download the TWRP custom recovery, downloadable from this link. Once downloaded, move the file to the ADB folder (as a rule "C: \ adb").

  1. Turn off the smartphone;
  2. Press together Power + Volume Down button to enter the Fastboot mode;
  3. Connect the smartphone to the PC;
  4. In the "adb" folder, hold down the Shift key, click with the right mouse button and select "Open PowerShell window here"Or "Open a command window here" (depending on which version of Windows you have);
  5. Check that the smartphone is detected with the command "fastboot devices", Following which an alphanumeric string should appear with the inscription"fastboot";
  6. Write "fastboot flash recovery -namefile-. Img"To start the TWRP installation;
    PS: instead of -filename- you should write the name of the TWRP file to install. This is because renewed versions of the TWRP could be released, with a different name from the previous one.
  7. After the installation, write "fastboot reboot" and, as it restarts, hold down the Volume + key to enter TWRP mode.

LazyFlasher and Magisk installation

Once the custom recovery is installed, it is time to get root permissions, in this case via Magisk. But first we will have to install LazyFlasher to avoid possible blocks at startup.

  1. download Magisk e LazyFlasher and copy them into the phone's memory;
  2. Turn off the smartphone;
  3. Press together Power + Volume Down button to enter the TWRP screen;
  4. Confirm the change request at the first start;
  5. Select "install", Look for the Magisk file in memory and install it;
  6. Restart the phone in TWRP mode;
  7. Select "install", Look for the LazyFlasher file in the memory and install it;
  8. Restart the phone and open Magisk Manager to verify that the root was successful.
⭐️ Discover the new Weekly Flyer of GizChina with always different exclusive offers and coupons.