This article shows you a complete, but easy, steps to automatically flash MIUI ROM whether Global Stable, China Stable, or Global/China Developer build on any Xiaomi devices. We mentioned the word “automatically” because we are going to employ a useful tool called “XiaomiTool” created by Fransesco Tescari. The software is basically a program to easily change ROM easily on Xiaomi devices. By what “change ROM” here is the action of installing, flashing, upgrading, or switching between ROMs variants.
There are a bunch of key features and things that this tool is capable of (see after the jump). However, since the scope of this tutorial is to guide you on installing MIUI ROM easily and automagically, hence it will only cover on how to employ the program for doing its main task.
This tool is beneficial for example if you want to:
- Install a new version of MIUI ROM (upgrading).
- Change a fake distributor-made MIUI ROM to the original one.
- Switch from China Stable to Global Stable ROM (or vice versa).
- Switch from the Stable build (China/Global) to Developer build (or vice versa).
- Switch from Global build to China Developer / Beta build.
- and even install TWRP-compatible custom ROM like LineageOS.
- A Xiaomi device with either bootloader unlocked or locked.
- A USB data cable. You may use the one comes with your device. Otherwise, if you have to use any other USB cable, just make sure it is not a charging-only cable.
- A Windows-based computer either a Laptop or a Desktop PC.
- Download Mi Flash tool.
- Download XiaomiTool.
- A stable and fast Internet connection. This is a must since the tool will automatically detect, find, and download the required ROM which is usually big in size.
- Also, make sure the phone battery has at least 65% juice.
Disclaimer: We hold no responsibility for any damage that might happen after following this guide. We strongly suggest you create a full backup of your important phone data and files. Read all the steps thoroughly before actually implement them. Proceed only once you have understood what you are going to do.
Flashing MIUI ROM
Step 1 – First thing first, you have to disable Windows Driver Signature Enforcement Mechanism (follow our previous guide). This tool will also come in handy for this task. Your computer will reboot during the process.
Step 2 – Now install the downloaded Mi Flash tool on your computer. You don’t have to launch the tool once installed.
Step 3 – Also install the downloaded XiaomiTool on your computer.
Step 4 – Now grab your phone. Activate the “Developer Options” by going through this sequence:
Settings >> About phone >> tap MIUI version 7 times >> You are now a developer
Step 5 – Furthermore, also enable USB Debugging option which is available in Developer Options.
Settings >> Additional settings >> Developer options >> USB Debugging >> Enable the toggle.
Step 6 – Next, launch up the XiaomiTool on your computer.
Step 7 – Click the “Ok, I understand” button displayed on the initial screen.
Step 8 – Now grab the USB data cable and use it to connect your phone to your computer. Make sure the connection mode is MTP Mode. Click on “Refresh” button to make the tool recognize your device.
Step 9 – Your device name should be displayed. Otherwise, try using different USB port or different USB cable.
Step 10 – Now select your device.
Step 11 – Read the displayed on-screen information. Click the “Yes” button once you understand.
The example above utilizes a Redmi 4X device with locked bootloader.
Step 12 – The tool will then perform a heuristic check to obtain necessary information including bootloader locking status, recovery info, the installed driver software, and so on.
Step 13 – Once the tool has obtained all basic information about your device, it will then check online for available compatible ROMs.
Step 14 – The tool will then display the list of available and compatible ROMs in which you can choose later.
Step 15 – Next, choose which ROM you want to install. The example here wants to switch from currently Global Stable build to China Developer / Beta build. Pick the ROM and click the “Select” button.
Step 16 – Simply click the “Confirm” button displayed on the next page.
It can be seen from the screenshot above that the tool will download two ROMs: the China Stable and then China Developer. The first one is necessary in order to be able to flash the second one.
Step 17 – Once you clicked the Confirm button, the tool will automatically download the ROM file(s). The fast and stable internet connection is very crucial during this process.
Step 18 – XiaomiTool will automatically sideload the file via stock recovery. Again, the process is automatic here. You don’t have to manually reboot into recovery mode.
You will then see something like this once it is done.
Step 19 – At this point, the phone has already been on the China Stable ROM. Your process is actually done here if your purpose is switching from Global Stable to China Stable. However, the example above wants to switch from Global Stable to China Developer. Hence, the next process will take place.
In this case, you have to setup Developer Options and enable USB Debugging again on your phone. Do not forget to click the “Ok, Done” button once you have done it.
Step 20 – Again, the tool will the fetch the required ROM file.
Step 21 – Again, the tool will automatically sideload the file via stock recovery. The process is automatic here. You don’t have to manually reboot into recovery mode.
You will then see something like this once it’s done.
Step 22 – Congratulation, the flashing process has been successfully finished. Your phone will reboot automatically and might take 15 minutes.
This is the example of switching from Global Stable to China Developer ROM:
Do not forget to say thanks to the developer. You may also donate for the developer for further development of the tool.