In this post you’ll find a complete tutorial on how you can easily flash your Mi 5X phone, install TWRP Custom Recovery and also enable root using the XiaoMiTool. This same tutorial will also work perfectly fine with Xiaomi Redmi Note 3 Pro device as well as Mi5X. Actually, this is the most convenient, up-to-date and easiest methods on how to flash and root your Xiaomi phone.

Just in case, please pay attention that only you take responsibility for your actions.

Guide on how to flash Custom ROM, install custom recovery and root Xiaomi Mi5X

Before you’ll start using XiaoMiTool here’s a few things you must know:

  • First of all to flash any ROM version and use all features of XiaoMiTool you’ll need to officially unlock bootloader on your phone using the MiFlashUnlock tool. Otherwise, you can flash only Official ROM with locked bootloader.
  • To use XiaoMiTool you must have a phone with a fully working ROM, you can’t use XiaoMiTool with softbricked / hardbrick devices.
  • After flashing any ROM version all data will be deleted, remember to make backups!
  • It’s required to have internet access to use XiaoMiTool.

Now when you’re aware of the things above, let’s continue to our tutorial.

Preparing to flash Xiaomi Mi 5X with XiaoMiTool

  1. You should have unlocked bootloader or locked bootloader (install only official ROM).
  2. Disable driver digital signature enforcement. Check out this post for full tutorial.
  3. Download and install MiFlash – MiFlashSetup_eng.msi
  4. Enable USB Debugging on your phone.
  5. Make sure battery is charged at 50% at least.
  6. Download and install XiaoMiTool –
    1. Latest version:
  7. Open XiaoMiTool and press “Ok” to continue.

How to flash latest official MIUI ROM on Xiaomi Mi 5X using XiaoMiTool

  1. Connect your phone to PC via USB-cable. Make sure it is recognized in XiaoMiTool.
  2. Press “Yes” in the next window.
  3. XiaoMiTool will automatically detect information about your device, all available ROMs and shows the suitable method for flashing as well as which bootloader lock state is required. Your phone may reboot during this process, it’s normal.
  4. On the next step XiaoMiTool will check for available ROMs for your Xiaomi phone.
  5. You’ll see a full list of available ROMs. Select the ROM version you want to flash and press “Select” button.
  6. The ROM downloading should start. Otherwise you can download required ROM manually and move it to the “XiaoMiTool\rom\” folder.
  7. If you’ve select Xiaomi.EU multilingual ROM, the TWRP-3.1.1-0-kenzo installation will start.
  8. Your phone will automatically boot into TWRP Custom Recovery.
  9. The ROM will be also installed automatically, you can see the whole process on your PC.
  10. Wait for phone to reboot and first startup.
  11. Next you can donate the author of this tool or continue.
  12. Disconnect your phone from PC and have fun with a freshly installed ROM.

How to flash Custom ROM and Root Xiaomi Mi 5X

To follow the steps below, you require to have unlocked bootloader on your device!

  1. After you’ve finished steps 1-12 from the above, select “Show advanced options” in XiaoMiTool.
  2. Now select what you want to do next:
    • 6 – Select fastboot ROM .tgz
    • 7 – Select recovery ROM .zip
    • 8 – Select Custom Recovery .img file
    • 10 – Lock bootloader
    • 11 – Select other official recovery ROM .zip
    • 12 – Install SuperSU to enable root on your phone.

That’s pretty much all information you need to use XiaoMiTool for your Mi 5X and Redmi Note 3 Pro devices.