Unlocking haomi. Xiaomi – bootloader unlocking. Why does Xiaomi block the bootloader in its devices?

When using a smartphone, some users are not satisfied with what the manufacturer of the mobile device provides. How to find out if the bootloader on Xiaomi is unlocked, which is necessary for installing all kinds of firmware?

First of all, you should pay attention to the fact that the firmware has various modifications and branches from global to “home-made”. If you want to know more about them, you should check out the article:

How to know if Xiaomi bootloader is locked?

When you turn on the phone
If, when you turn on your smartphone, a lock icon appears with the inscription “bootloader unlock” (“unlock bootloader” or simply “unlock”), this means that mobile device unlocked and ready to experiment.

During firmware
This can also be noticed when trying to flash a smartphone using the Xiaomi Mi Flash application. The program will throw an error and tell you that the bootloader is locked.

In system settings
In addition to the above methods, you can find out about the status of the bootloader from the settings menu. To do this, go to the settings themselves and in the “System and Device” section, click on the “Advanced” button and look for the “For Developers” item.

In the window that opens, there is a line “Bootloader status”, which indicates the current status of the Bootloader.

Why unlock Xiaomi bootloader?

The bootloader (or Bootloader) is a built-in tool of any smartphone that is responsible for loading the operating system. As a rule, the bootloader is locked by the manufacturer so that unauthorized persons cannot interfere with the operation of the device, but if desired, it can be unlocked and then such a phone can be safely flashed to unofficial firmware, which are suitable for it, as well as install various patches, make full backups, etc.

How to unlock bootloader of Xiaomi Mi5?

This instruction is suitable for unlocking Bootloader MI5 and other Xiaomi smartphones.

First, register a Mi account if you don’t already have one.

After that, download the Mi Flash Unlock application, unpack it, launch it and agree to the terms.

The system reports that the phone is not connected.

Connect the switched-off smartphone to the computer (laptop) with a cable, and then simultaneously press the volume up key and the power button. The smartphone will go into FastBoot mode.

After connecting the smartphone, the Mi Flash Unlock program will detect it and the unlock button will become active.

Owners of new devices from the Chinese company Xiaomi encountered an unpleasant problem when trying to install Russified or other localized firmware: the bootloader of gadgets turned out to be blocked. A reasonable question arises: why does Xiaomi, whose products are in great demand not only in those countries where they are officially supplied, but also in many others, prevent the full use of their gadgets? Is this really how manufacturers from the Middle Kingdom motivate owners of their smartphones and tablets to study Chinese language? Of course not. It turns out that buyers in different countries of the world often encounter fakes with unofficial firmware installed. Not only do they not ensure the confidentiality of information, but they often turn out to be simply stuffed with viruses. Xiaomi is simply forced to fight for its good name, which is why the decision was made to block the bootloader.

Another reason also applies security, but is already associated with the loss or theft of the device. Attackers can reflash the gadget and gain access to personal information stored on it. If the device's bootloader is locked, then they are unlikely to succeed - after all, each Xiaomi device is tied to its own. In the latest firmware versions, the developers even introduced a couple of new functions, the first of which makes it possible to find out exactly where the smartphone or tablet is located in this moment, and the second allows you to send any information to the screen of a stolen or lost device.

How to determine that the bootloader is locked, and how does this manifest itself?

To check if your bootloader is locked Xiaomi devices, you need to put the device into fastboot mode, then type the command:
fastboot oem device-info
The result can be seen on the screen in the second line of the response message issued. Maybe two options:

Device unlocked: true bootloader unlocked;
Device unlocked: false bootloader is not unlocked (locked).


It is clear that locking the bootloader imposes some restrictions on user actions. For example, it will become unavailable Root access, even if it was received earlier. The fact is that the device will receive official updates “over the air” in any case, and along with them will come a blocking. To return everything to normal, you need to unlock the bootloader. Below we will describe in detail how this is done.

Instructions for unlocking the bootloader:

At the moment, permission to unlock the bootloader is issued to each Mi account automatically, so you can immediately begin the unlocking process. To do this you need to do the following actions:

Slight limitation: from one Mi account it is possible to unlock only one device in 30 days.

Problems that users encounter when unlocking the bootloader:

Problem: The unlocking process reaches 50%, after which it stops (the message Couldn't verify device is received).
Cause: Xiaomi servers error.
Solution: Repeat the unlock attempt once a day - sooner or later your account will end up in the database. Waiting time - from 2 to 10 days.

Problem: Green button is not active.
Cause: Block pop-up windows from visited sites in your browser settings.
Solution: Allow pop-ups in your browser settings.

Problem: At the second point, the unlocking process stops.
Cause: The Android device is running stable version of MIUI.

Problem: Error logging into Mi account.
Solution: Enter the account ID instead of the phone number in the login field when logging in.

As you can see, any problem can be solved, and the situation with unlocking the bootloader of Xiaomi smartphones is no exception. Do you need to lock the bootloader back? No problem, we've prepared

Since products from the manufacturer Xiaomi are officially supplied to a limited number of countries, and sometimes not all models common in the Chinese market arrive there, users are ready to obtain these devices in every possible way, not always by legal means, often trying to save money. This leads to the fact that they have to deal with counterfeits, unofficial operating system, viruses. For this reason, Xiaomi has officially announced its decision to block the Bootloader.

In addition to the above, such blocking is also due to the protection of users’ personal information in case of loss or theft of smartphones. In practice, attackers who specialize in such thefts can easily gain access to the gadget’s data, but if the bootloader is locked, this will significantly complicate their task due to the linking of the smartphone to the Mi account.

A blocked Bootloader does not affect the official Chinese update in any way, but ROOT will become inaccessible. To enable it, the user will need to unlock the bootloader. In addition, Recovery and Mi Flash updates are no longer available.

Today, to unlock device bootloaders there are official instructions. First, the user needs to obtain permission for this procedure, which is achieved by the following actions:

  • Login to the official website of the company into your personal account using the link http://en.miui.com/unlock/;
  • The inscription “Unlock your mi device” should appear on the screen in a blue field, immediately below which there is a single button “Unlock now” that you need to press;
  • After pressing the button, the user goes to the authorization page or to the MiFlashUnlock application download page, if the user has previously gained access to unlocking or has a high rank on the Gold Member forum;
  • If there is no access yet, fill out the authorization fields - all fields, including the name, are filled in in English;
  • In the request field, you can use the standard phrase: “I want to install ROM from MIUI Russia fan site”;
  • We put a tick in the box agreeing to the terms and conditions and click on the “Apply now” button.

This is a standard procedure for working at the first stage, at which it is important to follow the sequence of actions, carefully and correctly fill out all fields without exception, so that entry level not to ensure your refusal.

Give gifts

The following instructions

Next, after authorization, a page will open where the user must manually enter the identity verification code that was sent to him mobile number, indicated by him. After entering the code, the request will be officially accepted for consideration.

Verification of the sent request via MIUI and unlock, in particular, is checked within a period of two to ten days. If the application is approved, it will be notified via SMS to the same number that was originally specified. However, you can check the request processing status yourself on Mi unlock status by going to the link http://www.miui.com/unlock/apply.php.

After officially receiving permission to unlock Bootloader, the task is not solved automatically, it only allows the user to proceed to the next step, where he needs to:

  • Download latest current update MIUI firmware on Recovery;
  • Upload the downloaded content to your smartphone and open the unlock program (Updater);
  • Click the Menu section and select the firmware file.

It is important to keep in mind that after the update, all data from the smartphone will be deleted, for this reason you should not forget about a backup. But even at this stage, the device still has an unlocked bootloader.

Final stages

After the new firmware is installed, you need to log in again on the same unlock mi device using the link that was provided at the beginning. After logging into your account, you need to download the Mi Flash Unlock application in apk format. from the official website.

Current options for downloading:

  1. Mi Flash Unlock EN miui unlock – version in English.
  2. Mi Flash Unlock RU – version in Russian.
  3. There are options for the EU, but in the Russian Federation this is not relevant.

After this, you need to turn on your smartphone, hold down the volume down and power buttons at the same time and hold until Fastboot mode turns on. Next, the device needs to be connected via USB cable to the computer, launch the unlocked application (one of the two listed above), read the terms and conditions and click on the “Accept” button.

Immediately after this, a special window will appear on the screen for manually entering data for your existing Mi account - at this stage it is important to know its ID and your password. After authorization, the presence of permission will be checked and, if there is an approving status and an inscription about connecting the device, click on the green “Unblock” button.

Unblocking duration is about ten seconds. After completion, you can update the smartphone firmware from the official or other website. And, what else should be remembered, within one month you can use the right to unblock only once.

Troubleshooting

When unlocking the bootloader on their device, many, due to inattention or other reasons, make mistakes, as a result of which they are unable to obtain the required permission. The most common ones can be solved as follows:


The percentage of refusals to obtain permission to unlock the bootloader is not so high, but due to your own carelessness you can tinker with this procedure for a very, very long time.

Xiaomi mobile devices are designed in such a way as to protect all user data as much as possible, as well as make the use of gadgets extremely comfortable. Because, in particular, latest versions Haomi phones come with a locked bootloader. On such phones it is impossible to install it yourself new firmware and make any other significant changes to the device configuration.

There is also a protective function in which the system will be locked after several entry attempts on the smartphone incorrect password. But what to do if your phone is accidentally locked? For example, if you forgot your password and now don’t know how to remove the lock mode from your phone.

Today we will find out what to do if your Xiaomi phone is locked and how to remove the lock. And let's talk about how to properly unlock the bootloader to bypass the ban on flashing your smartphone.

After entering the password incorrectly

If you use a pattern or digital key to protect your phones, we strongly recommend that you do not forget it. But if this does happen, you can remove the resulting blockage. There are several main ways to do this.

  • Incoming call. The method will only work on Xiaomi phone Mi, if you blocked it by accident and remember the password. Very often, children play around with mobile gadgets and, without knowing it, enter the wrong password, which leads to their smartphones being blocked. So, we call our phone from another, accept the call and minimize the conversation window. This will allow you to temporarily unlock your device. Now go to settings and remove the password.
  • Battery low. The principle of operation is the same as in the previous case. Only now we are waiting for a notification about the imminent discharge of the battery and at this moment we click on the notification shade. After this, you also need to remove the password.
  • Google account. If you still can’t get your phone unlocked no matter how many times you try, then use this method. On the tenth attempt to enter an incorrect password, the system will offer to restore access to the gadget via Google account. You need to select an option "Forgot graphic key» and enter the password for your own account. An important condition for unlocking is having access to the Internet. If you do not have network access activated, installing a SIM card with an already active Internet will help remove the blocking.
  • Flashing. If the device is still blocked and you don’t know how to remove the block, then you will only have to resort to extreme measures by flashing the gadget. The Xiaomi smartphone will definitely be unlocked, but there is also an important drawback of the method - when implemented, all your personal data and settings will be deleted. Because better time From time to time, transfer data to another medium so as not to suffer in such a situation.

Give gifts

Unlocking the bootloader

As we have already said, Xiaomi phones have a locked bootloader by default. Therefore, in particular, it will be impossible for you to do the flashing yourself. But smartphones with standard firmware are not always convenient. Therefore, users were forced to look for a tool that would remove this restriction. At unlocking bootloader You can:

  • Install custom Recovery.
  • Completely customize the operation of your smartphone to suit your personal preferences.
  • Obtain superuser rights to work with system files.

As in the previous case, there are several ways to get the bootloader unlocked. But the beginning of the journey is always the same - obtaining permission from the manufacturer to bypass the original restrictions. It’s not just that representatives of the Xiaomi company decided to block the bootloader.

A request to change the status of a blocked bootloader must be left on the company’s official website. The answer will come in 5-7 days, sometimes you have to wait about two weeks. If you have already made a request but were refused, please try again. Requests that have been repeated multiple times are usually granted sooner or later and users can unlock the phone's bootloader. The unlocking procedure itself goes like this:

  • Download the firmware you like and load it into the smartphone’s memory.
  • Download the program.
  • We put the phone into bootloader mode. You do this in the usual way, holding down the power and volume up keys at the same time.
  • We connect the gadget to the computer, go to Mi Flash Unlock and confirm that we relieve the manufacturer of responsibility for the further operation of the device.
  • Click on the button "Unblock" and wait until the procedure is completed successfully.
  • We install custom Recovery and use it to install the previously downloaded firmware.

As you can see, there is always a way out. This applies both to situations where the phone is locked as a result of an unintentionally incorrect password entry, and to cases when you need to install new firmware on a smartphone on which Xiaomi has locked the bootloader. The main thing, as usual, is not to worry and do everything according to the rules prescribed in this article. And then no blocking for your phone is critical.

Unlocking the bootloader on Xiaomi smartphones needed for:
— installation of custom recovery;
— quick installation (or reinstallation) of the system;
- installations are not official firmware;
- creations backups;
— installation of add-ons, patches, etc., affecting the operation of the system;
getting Root- right.

The unlocking process is divided into 2 stages:
1. Submitting an application for unlocking. Everything is done officially MIUI website. Without obtaining official approval, unlocking the bootloader - impossible . The application can be submitted without having a phone number in hand. This is useful, for example, if you ordered a phone and in the future plan to reinstall the firmware (to a custom one or something else), Root installation etc. (from the above), then you can submit an application in advance while the smartphone is on the way. This will help save time because... approval takes from 3 to 10 days (it always varies, sometimes it’s quick, sometimes it’s not so fast).
2. Unlocking the bootloader on your smartphone.

To submit an application, go to website.

Click on the “Unlock Now” button

In the first field, enter the name in English.
In the second, we look for and select “Russia (+7).
In the third, enter your phone number.
Next, go to Google Translate,

select translation from: Russian - into Chinese (simplified). Enter text in the field, for example: “To install a localized version of the firmware, the presence of the Russian language is required,” or something similar. Copy the translated text from the right field and paste it into the fourth field. In the fifth field, enter the verification code, check the box “I confirm that I have read and accepted the unlocking Disclaimer” and click the “Apply Now” button.

In the next window, enter the code that will be sent via SMS and click “Next”.

This completes the application process. All that remains is to wait for approval, as stated above - this can take from 3 to 10 days.

After receiving confirmation via SMS that your request has been satisfied, you can proceed to unlock the bootloader. If you do not receive a confirmation SMS for a long time (this happens), then you can check the status of your application at website or in the MiFlashUnlock program, you can download .

Unlocking the bootloader after receiving permission

In order to unlock the bootloader, the developer (weekly) version of the firmware must be installed on your smartphone.

Also, the “USB Debugging” mode must be activated in the engineering menu.

To go to engineering menu you need to go to “Settings” - “About phone” - “ MIUI version"(press 8 times until the message “You have become a developer” appears). Next, go to: “Settings” - “Advanced settings” - “For developers” - activate the “USB Debugging” item.

1. In the phone on which we want to unlock the bootloader, we link the Mi account (the one for which we received permission).
2. Download and unpack the archive with the program " MiFlashUnlock»
3. Go to the folder with the program and run it, the file “miflash_unlock.exe”

4. Agree to the terms by clicking the “Agree” button.

5. In the window that appears, enter the data account MI, and click “Sign in”.

6. Turn off the phone. We switch it to “Fastboot” mode. To do this, hold down the volume button “-” and the power button, wait for the “hare with android” to appear on the screen

7. Connect the smartphone to the PC using a USB cable.

After that, click the “Unlock” button in the “MiFlashUnlock” program and wait for the unlocking process to complete.

If everything went well, 3 green checkmarks will appear and the status bar will show Unlock.

Unlocking the bootloader is complete, now you can proceed to the process of installing custom recovery and further flashing your smartphone.