Guide to unlocking bootloader in Xiaomi MIUI

If you own a Xiaomi device, you will surely be confronted with this relatively new "problematic" introduced by the Chinese company for about a year: it is not possible to change the ROM as you would on old smartphones.

XIAOMI Mi 9T 128GB BLACK - BLUE Global 6 / 128gb
XIAOMI Mi 9T 128GB BLACK - BLUE Global 6 / 128gb

ATGRATIS Shipping from Italy 24 / 48h

Use the coupon: MENO5_XT

Getting started about unlocking the bootloader

What is needed to unlock the bootloader?
  • you can install an official fastboot ROM using MiFlash and fastboot mode
  • you can install a custom recovery (eg TWRP) and unofficial ROMs
  • you will be able to flash a ROM in fastboot mode: it is the simplest solution for software problems (eg brick)

We remind you that the Emergency Download Mode (EDL) mode with which you could change the official ROM at this time is no longer readily accessible, except with hardware expedients.

Before proceeding with the proper guide, it is essential that you receive some information:

  • unlocking the bootloader NO it is a cause of invalidation of guarantee in any case (subject to irreversible subsequent software operations);
  • install an official ROM NO locks the bootloader again;
  • the bootloader can be re-locked manually by using MiFlash and selecting the option "clean all and re-lock";
  • Xiaomi account authorization at unlocking the bootloader allows unlock a device every 30gg;
  • NO it is essential to have the phone to be unlocked to make the authorization request;
  • the authorization request and the unlocking operations must be made necessarily from PC;
  • to unlock the bootloader is Indispensabile have an official ROM on your phone: in some cases with the Global Stable it is not possible to unlock
Do not try to unlock the bootloader having on your device a farlocca ROM because you risk to "temporarily unblock" then obtaining a nice brick!


How to proceed to make the request

We initiate Chrome from PC. It is advisable to use this browser because it has the integrated ability to translate web pages and ... with the Chinese we will need it!

en.miui.com - login - unlock - bootloader - xiaomi

Let's go to the official site en.miui.com and sign up for your Xiaomi account.
If you do not have it, create it as a new one and use the confirmation number for the phone number you want the SMS to receive.

READ MORE - especially if you already had an account Xiaomi, join your profile en.miui.com, clicking on your name in the top right. Let's go to the section "update profile"And from there on the card titled"password". You have to complete the security check-up up to the total completion (100%) by entering the number on which you receive the SMS authorization as the retrieval phone number.

After completing the profile on the official site, you have to go on MiCloud site and log in with the account created previously.

Now you could find it in front of you two situations: If you have never entered before i.mi.com, click on "Sign in"Top and - here too - you will need to complete yours safety profile proceeding with SMS verification just like it did before; if you already had the Xiaomi account, you just have to click on the dart next to your name top right and then on "account"And repeat the steps on en.miui.com, or click on the tab Security and complete the profile at 100%.

If MiCloud did not allow you to complete the security profile, do not worry why you can do it later.


We make the bootloader unlock request

We can proceed with the real request.

Come on en.miui.com and we verify that we are logged in. In the upper right, your nickname must appear and not sign in.

Click on "Unlock"And most likely there will be a page where you will need to log in with the mail used when registering on en.miui.com.
As soon as you log in, we will be able to translate the page and we will begin to complete the fields for the request as follows:

  • your name
  • the country of origin
  • the phone number to receive the SMS (MUST BE IT USED IN THE SAFETY PROFILE)
  • the text of the request: copy this 请 批准 我 的 请求 开锁. and write in English "Please approve my request for unlocking"
  • accept the terms and proceed

At this point check your phone for an SMS with a code to be placed on the page that will open.

CAUTION - the code might not arrive right away, but DO NOT REQUEST A NEW NOW! The code will remain valid for 5 minutes and you may find it with two codes and a block of the procedure.

Enter the code, the procedure is over and you just have to WAIT.

What should I expect?
There will be an SMS that will tell you that your account has been authorized.
How long does it take for us?
First of all it depends on your degree of activity on the official forum. In the early months, the procedure used up to 21 days, but some users received authorization on the same day. In short, you have to arm yourself and wait

And if the procedure returned a blacklist IP error?

Unfortunately lately, it is often the fault of Xiaomi's Chinese servers. You will need to use a Chinese Proxy server to connect to the Internet and repeat the procedure.
Let's briefly see how to set up a Proxy server.

Use Firefox possibly (and not Chrome) for this procedure and to repeat the procedure because it has the built-in Proxy settings.

Connect to the site: https://www.proxynova.com/proxy-server-list/country-cn/ and you will find a list of Chinese Proxy Servers.

You have to try somebody who has a good speed (otherwise you lose too much time!) And not anonymous. Copy the Proxy IP and Proxy Port in the Firefox settings as follows.

Click on the three lines in the upper right and Firefox menu will open. Select the tab Advanced and from there Network. Then in the window that opens there, select "Proxy Manually Configure" and write the IP and proxy port to use. Then, do OK and repeat the message request procedure (2 point).


Have you received the authorization message? Let's proceed with the unlock!

You have received the message. Great!

Then from the PC we connect on en.miui.com/unlock and we can download the tool which will serve us to unlock the bootloader.

Downloaded MiUnlockTool we can go ahead with the procedure.

First, make sure you have the official ROM (do not try to unlock it by having a very good ROM because you will have very little chance of success). If you do not, you can follow these guides to recognize and replace your chunky ROM:

Recognize a flatter ROM

RedMi 4 Prime Fixing Replacement ROM Replacing Mi5S Plus Loop ROM Replacing ROM Mixton Mi5S Replacing ROM Mixton Mi5

Verified to have one Official ROM, we access the MiAccount from the phone: go to My Account settings and sign in to the account you created and which was authorized by Xiaomi to unlock.

From settings, then, let's go to MiAccount, enter MiCloud and activate the "Find device".

From the PC we go up i.mi.com and we sign up with the Xiaomi account.
If a "Sign in", Click on it and complete your security profile proceeding with the verification by SMS exactly as done previously; if instead you are logged in, click on the arrow next to your name at the top right and then on "account" and complete the Security profile at 100%.

Once this is done, check that the top "1 connected".

i.mi.com devices connected connected devices

We click on 1 connected and verify that the phone connected to MiCloud is the one to unlock.

Let's take the phone now and let us know opzioni sviluppatore (7 click on MIUI version from device info), we enter the developer options (we find it in additional settings) and click on "Unlock Status"And at the bottom we click on the one button: this will automatically make the phone-account association and we will not have any problems.

If the procedure returned a network error, the problem concerns the servers to which the device is connected. You should use the app PlexVPN (link to the app on the Play Store) For connect via Chinese server. Once connected via Chinese VPN, try again the association with Mi Unlock Status.

[UPDATE] The procedure has changed slightly and now, once you have received the authorization to unlock, you will need to keep your device logged in to your authorized account for at least 72 hours. After this time, you can continue with the guide, otherwise the tool will give you the remaining waiting time.

Now everything is set up and ready!

Let's put the phone in fastboot mode (power and volume down), connect it to the PC and start the unlocking tool of the bootloader.

Let's get in with ours Xiaomi account and we expect the authorization verification to be completed.

At this point we click on UNLOCK and we expect the procedure to be completed.

You have unlocked your Xiaomi bootloader!

In the event of errors, you will almost certainly be in a driver issue on your PC. Then follow these steps and then try to unlock the Xiaomi tool.

We disable driver signatures on the PC

  • from phone, go to settings -> device info and click 7 times on MIUI Version: this way we will become developers
  • always from the phone now, let's go back to the settings -> additional settings (the second entry, not the one under the "hotspot" but the one next to "memory") -> developer options and activate the Debug USB

Now let's turn off signatures on your PC.

  • (if you have Windows 10 follow these steps and then proceed to the next step)notifications icon bottom right, click on all settings, then up upgrade and security, select the card for developers and choose the developer mode
  • (if you have Windows 8.1 follow from here - if you have Windows 10 continue with this point) restart by holding down the SHIFT key and, when restarting, we will enter the TROUBLESHOOTING menu and then in ADVANCED OPTIONS
  • then click on START SETTINGS and then on RIAVVIA. When you reboot, you will be presented with one list like this below and you will have to click F7 for disable driver signatures. The PC will restart automatically

We install the adb and fastboot drivers on the PC

We just restarted the PC, then download the following files:

Download Driver Installation Tool Adb Download ADB folder Download MiFlash Ver. 20160830

Time connect the phone to the PC and verify that it is connected in MTP mode (lower the notification curve and, if connected in "charging" mode, change it to MTP). At this point on your phone you will see a message asking you to allow USB debugging from your PC: before agreeing to it, we will post the box "always allow debugging USB from this computer"And then we give our consent.

Now let's start the driver driver installation tool (right click + start from administrator) and click on install as shown below:


At the end we install MiFlash and when prompted to install the drivers with a warning, we consent to the installation of the drivers. The message will be repeated 70 times the radiating power, and we confirm it all the time.

Kedacom driver control before Flash

We put the phone in fastboot (power and volume down), we check in Device Manager (on W10 just right click on the Windows logo at bottom left) that looks like a "Kedacom USB Device". [basically your Windows build does not properly recognize device drivers] Click on Kedacom USB Device and the submenu will open. You should have Android Bootloader Interface. Right-click on it and select "Driver Software Update", select search for driver software on the computer (option below), select the search from a driver list in your computer, select the version and wait for the installation .

If you have problems, you can follow the procedure indicated by the following video demonstration.

Unplug the phone and restart the PC. Then check out Device Manager that your phone is no longer recognized as Kedacom.

If you are satisfied with the guide and, why not, if you would like to offer me a beer or a coffee for the work done, I leave the PayPal donation button below. No obligation, be clear!



11 Topics
7 Answers to the topics
Comment with more reactions
The most active comment
15 Author's comment
gianlucaYou're rightGB MartinoLuca RissoDiego leads Recent author's comments
more new older most voted
Lorenzo Papi
not ready yet
Lorenzo Papi

hello when the 50% reaches me I stop. What can I do? I have the global stable


Exactly what mistake do you receive?

Lorenzo Papi
not ready yet
Lorenzo Papi


Maddalena Nardi
not ready yet
Maddalena Nardi

Hi, today after getting the xiaomi confirmation as a result of the unlock request, I downloaded the application from the site to unlock the bootloader, but every time I start the step the step stops telling me I have to wait 47 hours before unlocking .
Can I somehow avoid waiting?

Geronima Emilia Ortiz Santana
not ready yet
Geronima Emilia Ortiz Santana

HAVE someone to guess how you come out of the Chinese message: Your application's IP number has passed
I try and try again but nothing to do as I put the code I get in sms I see that message !!!
Thank you

not ready yet

Hi, by accident, have you solved it?
Did you just enter the code in the white field? And press next?
Thank you

not ready yet

Boys I downloading the old unlock miflash (recommended in the guide) I had problems and locked at 50%
So I downloaded that from xiaomi site and everything is smooth yarn!

not ready yet

Hello, very clear guide, congratulations. Only doubt is that once I got the first message from Xiaomi with the unlock code I did not know exactly what to click to confirm receipt of the sms. In short, next to the free field was the button with the Chinese request for another code or immediately under the two buttons: "next" or "back". Pushing the next one appeared the message that said to be able to unlock only one device a month. So not knowing Cossetto push I also clicked on the button to send new code. So now I do not know what to expect. In... Read the rest »

Giancarlo Osti
not ready yet
Giancarlo Osti

I bought Xiaomi Mi Mix2 English language, I'm doing a rom change operation at 8.5.1. in Italian, obtained permission to unlock but Mi Unlock status does not associate my account with device, error 10008 refers to 72 hours ?? Thanks for your help.

not ready yet

Hi Giancarlo, I'm experiencing your own problem, can you tell me how did you solve it? Many thanks in advance!

Giancarlo Osti
not ready yet
Giancarlo Osti

You have to pay attention when the tool restarts the device it seems to me 2 or 3 times it is not stored file transfer, it recharges that is not good, so you have to do it manually.

Lucio Franconi
not ready yet
Lucio Franconi

it tells me I can not unlock and I have to try again after 72 hours ... it's not a big deal to wait but it means I'm on the right track ...


All in all, it is required that the account remains configured at least 72 hours

Diego leads
not ready yet
Diego leads

I have done all the steps but when I say the driver tells me 10 error. So the words Kedacom USB remains Decide can someone give me a solution?

Luca Risso

But is not it bloody complicated? only the measures of the [Email protected] ecchecavolo!

GB Martino
not ready yet
GB Martino

Hi guys, when I have to connect the phone number to my Mi Account it tells me that it has already been used for another account, but this is my first and only Mi Device, do you know how to fix it?

You're right
not ready yet
You're right

The guides should be updated, this is old! 3 passes are now sufficient to unlock the bootloader.

not ready yet

send me the guide that I can't follow this guide because as you said, this is old

Management engineering student, passionate blogger in the Xiaomi world and, more generally, technology. In leisure time, besides writing guides for Xiaomi devices, I have three passions: football, music and cycling :) Write me: https://www.facebook.com/yugin89

XiaomiToday.it - ​​The Italian n.1 community for Xiaomi products
Compare products
  • Total (0)

Like us!