Step-by-step setup of Android Pay on Xiaomi: how to set it up. How to check if Xiaomi bootloader is unlocked? How to find out if the bootloader is unlocked on Xiaomi

When using a smartphone, for some users it is not enough to be content with what the mobile device manufacturer 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 the mobile device is unlocked and is ready for experiments.

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 with unofficial firmware that is 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.

Currently, various models of smartphones and tablets from the Chinese company Xiaomi are becoming increasingly popular. In connection with the official launch of Google's payment service, there is a need for a detailed analysis of a number of important aspects, among which the key question is how to set up Android Pay on Xiaomi.

Which Xiaomi models support the service?

Before discussing application issues, you need to find out which devices the contactless payment application is compatible with. The gadget must meet the basic requirements for using the program. These include the following parameters:

  1. Official operating system firmware.
  2. Locked bootloader.
  3. Disabled root rights.

For contactless payment offline in stores through point-of-sale terminals, the device must have an NFC chip. Its availability can be found in the technical specifications. If there is no NFC sensor, the Android Pay program can only be used to pay for purchases in online stores and applications.

List of popular Xiaomi models that support Androi Pay in full mode (NFC chip built-in):

  • mi2A;
  • mi5s and mi5s plus;
  • mi note2;
  • mi mix.

On which Xiaomi will Android Pay not work fully (no short-range communication sensor)? This list includes models from the Redmi and Mi Max line.

Since metal makes it difficult to transmit radio waves from the NFC system, the body of most models equipped with a sensor is made of plastic, glass or ceramic. Thanks to the gadget's technology, Android Pay works great on Xaiomi mi5 and mi5s, despite the presence of metal in the case.

Settings

If the Xiaomi model and its parameters meet the requirements, you should install the program on the device. Find Android Pay in Google Play Market and download. After completing the procedure, we begin setting up.

Step-by-step setup of Android Pay on Xiaomi:


In a similar way, you can add several cards, select the main one, or use the one you need for each specific purchase.

Let's move on to setting up the device itself. It is necessary if the device has an NFC sensor; if it does not, you do not need to do anything. Go to settings, select the “More” section. We find the NFC block and switch it to “On” mode. Select the HCE wallet (Wallet HCE) in the “Security element location” section.

In the “One-touch payment” section, select the Android Pay application in the “Default payment method” field. In the “Use default application” field, set “Always”. The setup is complete, the gadget and service are ready for use.

How to run Android Pay on Xiaomi?

When making a payment, you need to activate the service. For this:



A common cause of problems with the payment service on Xiaomi is the presence of an outdated firmware version on the gadget. To solve the problem, you just need to update the OS to a new one. In some cases, updated firmware allows Android Pay to work even without locking the bootloader.

Installing Magisk Manager (root administrator) allows you to solve the problem with root rights (the service works without disabling them). Tested with Android Pay on mi5s and mi5 models.

What to do if Android Pay on Xiaomi does not respond to the trading terminal?

To solve this problem you need to perform the following settings:

  1. Go to “Settings”, open the “Security” section.
  2. Select “Permissions”, “Other permissions”.
  3. Select Android Pay and check all the boxes to allow.
  4. Go to “Security” again.
  5. Select “Autorun” and check the box next to the application.
  6. We return to “Settings”, go to the following sections – Battery and performance – Battery consumption by applications – Turn on and select the Android Pay application. In it we set “No restrictions” and “Allow”.
  7. We check the standard settings (described above) and try to bring it to the terminal.

You've probably repeatedly looked through the forum and seen a lot of custom firmware; you may have previously installed them on smartphones. You can install new software on some devices without any problems, but sometimes difficulties arise with others. For example, on some Xiaomi smartphones, if the Bootloader is blocked, you will not be able to install custom firmware. People often ask on the forum how to unlock the bootloader of xiaomi redmi note 3 to install unofficial software. On this device, as well as Note Pro, Redmi 3s and some other devices (released since November 2015), the manufacturer locks the bootloader, so to fully control the smartphone you must first remove the lock from the Bootloader.

If you are a confident Android user, then you know for sure that an unlocked Bootloader provides a number of advantages to the user:

  • Ability to install custom Recovery.
  • The modified Recovery makes working with the device much easier. Thanks to it, it becomes possible to install any firmware and additional scripts.
  • With the bootloader open, you can easily set Root rights (superuser). They are needed to work with system files. With Root rights, you can customize the device for yourself: remove unnecessary standard programs, clear your smartphone of ads, overclock the processor, increase battery life, and so on.

Let's say you decide to install modified firmware. First you need to check the status of the bootloader.

How to find out if the bootloader is locked

There are several ways to find out this information. Let's start with something simple.

Method 1 - via smartphone

This check is relevant for Redmi 3 and Redmi Note 3, but it is possible that it will work on your model.

  1. Go to the system settings of the device;
  2. Select the bottommost item “About device”;
  3. Click on the “Kernel” line quickly several times;
  4. In the menu that appears, go to the first item “Software version”.
  5. We find the line “fastboot lock state” under which the bootloader state is indicated: lock – locked, unlock – unlocked.

Method 2 - via computer

If you have Windows

Boot the device in fastboot mode. Press the power button and the lower volume key simultaneously. We connect the smartphone via USB to the computer. On a PC, press the Win+R keys and an input field will open. Enter the command “cmd” to open the command line. In the command line, write the command “adb” and press Enter. Find out information about the bootloader. We type the command:

fastboot oem device-info

If the bootloader is unlocked, the display will show: Device unlocked: true.
Otherwise, the value false will be specified.

For linux

Suitable for Linux-like OS (ubuntu/debian).

  1. In the terminal we write adb - sudo apt-get install android-tools-adb android-tools-fastboot
  2. Enable fastboot on your smartphone (power and volume down button)
  3. sudo fastboot devices, a number should appear - this is your device
  4. sudo fastboot oem device-info, bootloader status should be displayed

If you see a message< waiting for device >, which means the command was not executed as an administrator.

Step-by-step unlocking instructions

Be sure to back up any necessary information. After unlocking, all information can be deleted!

Getting permission

To unlock Bootloader, you must obtain permission from the manufacturer. To do this, we go to en.miui.com/unlock, press the only button there. This link will open the English version of the site; if it’s in Chinese, look at the screenshots. We follow the further instructions:

  1. Unlocking the xiaomi redmi bootloader begins with authorizing your account. Enter your email address, password and log in.

  1. It happens that some users immediately go to the download page for the unlocking utility, while others need to fill out another form:
  • Enter your full name or just your name;
  • Select country;
  • Specify phone number
  • Reason for unlocking.

The data must be entered in English if the English version is opened, if the language is Chinese, then everything is in Chinese, it is worth using a translator. In the “Reason” field, you can enter the following: “I want to install firmware with Russian language on my xiaomi mi4 smartphone.” We indicate our own phone model.

  1. We tick the box, agree to the terms, and confirm.
  2. An SMS will be sent to your mobile phone with a confirmation code, which you must enter in the text input field, then click “Next”.

At the last stage, you will see a notification that your application has been successfully submitted. The processing time can be three days or more than a week. It is recommended to check the status of the application on the website, since not everyone receives an SMS notification.

We inform you that the method is official, however, on some devices, minor problems may arise during unlocking. Often reinstalling the drivers solves the problem.

Unlocking

To unlock, the official weekly (developer) firmware must be installed - China Developer Version.

For Xiaomi redmi 3 pro and Xiaomi Mi5 you can use the global firmware version - Global Developer Version.

Mi4c and Mi Note Pro smartphones already have an UNLOCKED bootloader, which will be blocked when updating to new versions of miui. Therefore, we specifically install the China Developer Version (released only after April 2016) to block and then unlock it using the official method.

All these firmwares are official; you don’t need unlocking or other tricks to install them.

Let's say we have waited for the bootloader to unlock, now let's begin the process:

  1. If you want to immediately install unofficial firmware after unlocking, then download it in advance and place it in the device’s memory.
  2. Download Mi Flash Unlock, this is an unlocking program. On the Xiaomi Redmi Note 3 Pro device, we need to unlock the bootloader (unlock the bootloader) using the first-time removal program .
  3. Turn off the gadget, hold down the power button and the volume key (lower) at the same time to switch to Fastboot mode.
  4. We connect the device to the computer.
  5. We go to the Mi Flash Unlock utility, we see a window with the heading “Disclaimer”, we agree with the rules.

  1. Enter personal data (Mi ID and password). Click the “Login” button.

  1. We wait until the program detects the smartphone, then press the final “Unlock” button.

  1. If the operation was successful, then Bootloader is now in unlocked mode.

  1. All that remains is to install custom Recovery, with which we can install the firmware downloaded in advance into the device’s memory.

How to increase the chance of unlocking approval

When considering your request for unlocking, Xiaomi will check all information about your account. Many accounts are not given the right to an open Bootloader at all, while others wait a month for a response.

To speed up the process, you need to register on the official xiaomi forum and participate in it. We come up with a username, password, and communicate with people, just like on any forum. Your account information will necessarily contain information that you are an active member of the forum. Employees love such users, so they give them the right to unlock the bootloader.

For some very active accounts, as well as those who are members of various development groups, permission is given instantly and automatically. You can understand that you are “the chosen one” by the fact that after submitting your application, you are immediately redirected to the program download page.

How many devices can you unlock at once?

On the official website there are restrictions on the number of Bootloader unlocks. One account allows you to unlock one device once a month, after 30 days you can apply again for another smartphone. There is no way to bypass the restriction, since permission is given specifically for the account, and not for the smartphone itself.

Possible errors when unlocking

  1. The process of removing protection stops at 50%.

The problem appears due to problems with Xiaomi servers. Just start the process again from time to time, you will definitely get lucky!

  1. Stops at 50% with the message “Not connected Mi Phone”.

Reinstall device drivers.

  1. Stop after the second step.

It is necessary to change the firmware version. Most likely you have a stable version. Only versions 5.x.x or 6.x.x are suitable.

  1. The SMS with the confirmation code does not arrive or a Chinese inscription appears. Most likely the quota for Russia has ended.

Use a Chinese VPN or change your number.

  1. A message appears: “Your device isn't supported by Mi Unlock.”

There is a problem with your firmware, you need to change it.

  1. The green button cannot be pressed

Allow your browser to display pop-ups

  1. Can't log into Mi account

In the login field, enter your account id number, not your phone number

  1. After authorization, it constantly asks you to indicate your nickname.

  1. The refusal comes within 10 minutes.

This is a glitch of Xiaomi servers. Reapply.

  1. A Network Error appears.

The problem is on Xiaomi's side. Clear cookies (temporary files) in your browser, change IP, use VPS. If you have Beeline, then log in through another provider.

If refused or the wait is more than a month

Recently, Xiaomi has stopped refusing to unlock. But if you receive a refusal, then do not despair, follow our instructions.

There are several options:

  1. We wait 15-20 days and re-apply.
  2. Create a second account and submit an application.
  3. We contact support.

Let's look at option 3 in more detail. Write a letter in English and send to [email protected]. The subject of the letter should be “Unlock Your Mi Device”. You will receive a response letter asking for your information. Copy the template they sent, fill in your details and send it to them. The permit is sent in about a day or even earlier.

If for some reason you are refused and nothing helps, which is equal to a 0.001% chance, then you can use a trick.

We switch to Parental Control mode and contact technical support called “Mi Customer Service for Europe”. We write that we cannot exit this mode (this is a popular problem). I will offer you different methods, always answer what did not help. As a result, you may be asked to unlock your device to solve this problem, or you may gently ask about it. There is a high probability that they will then ask for your data and unlock it.

Popular questions

  1. Will my data be deleted when unlocked?

No, all your data remains on your phone.

  1. If I bought a new (different) Xiaomi phone, how to unlock it?

We wait a month after unlocking the previous phone. We log into the Mi unlock program using the same Mi account and unlock a new one. There is no need to submit an application anymore. With this account you can remove the lock from one phone every new month.

  1. How long does it take to unlock?

Usually, approval from the Xiaomi server occurs within 10 days, and data can be synchronized with the server for another 10 days. You must comply with several conditions: the phone must have a weekly development firmware, the phone must be synchronized with Mi account and MiCloud. Otherwise, you can wait endlessly for a solution.

  1. During unlocking, they warn that the “Finger scanner” and “Device search” functions will not be available. It's forever?

This is due to a slightly crooked translation. Everything will work. These functions will simply become less protected from external influence, since bootloader protection will be disabled.

  1. After unlocking, the recovery view did not change (the phone with a cable is displayed).

That's how it should be. Outwardly, he will not change. To get additional features from the bootloader, you need to modify it, for example, install TWRP.

  1. How to lock the bootloader back?

Download miflash and flash it with the official firmware with the “clean all and lock” checkbox.

  1. Do you need a SIM card?

No, you can unlock without it.

  1. For how long is permission to lift the blocking granted?

Forever. You can use this feature at any time. There has never been a “revocation” of permits. In the fall, Xiaomi lost part of their database with accounts, so some lost access to unlocking.

  1. Should I only use 64-bit Windows?

No. Bit depth is not important for unlocking. It is sometimes required when flashing firmware.

Results

Users who have been unable to install custom software for a long time will now be able to fix this problem. In our article, we described in detail how to unlock the bootloader of a Xiaomi Redmi 3 smartphone using a special utility in the official way. It is also suitable for other Xiaomi models. We hope this article answers all your questions. Write your reviews in the comments.

If you confidently use the Android operating system and MIUI firmware, then most likely you know that for this you need an unlocked Xiaomi bootloader. It provides many benefits on smartphones such as:

  • Significantly easier work with the device - you can install any scripts, modules and firmware.
  • Ability to install unofficial recovery on a smartphone.
  • Quick and trouble-free obtaining root rights for an unlocked gadget, which makes it possible to customize the gadget for yourself.

Before loading custom firmware on your Xiaomi, first make sure that the bootloader is unlocked. In this article we will answer the question “how to unlock bootloader” and why it is needed.

  1. Check via phone: Settings - About device– multiple tap on a menu item "Kernel" – Software version. In line "fastboot lock state" The status of the bootloader will be written.
  2. Via a PC on Windows OS: first the phone must boot into fastboot mode (power key + volume down key) - to do this, connect your gadget to the computer - on the PC press Win + R - enter "cmd"– in the command line field write "adb"– press Enter – enter "fastboot oem device-info". The screen will display information about the status of the bootloader check.
  3. Via PC on Linux OS, Ubuntu: write in the terminal adb- then apt-get install android-tools-adb android-tools-fastboot– launch fastboot on your smartphone (power and volume down button). In field "sudo fastboot devices" Your device number will pop up in the field "sudo fastboot oem device-info"— bootloader status. If you see the inscription "waiting for device", then try performing the operation again as an administrator.

Give gifts


Obtaining Permits

In order to unlock the MIUI bootloader, you need to get permission for this unlocking. To do this, go to en.miui.com/unlock and click on the button in the middle of the screen. Next follow the instructions:

  1. Log in to your account.
  2. Sometimes you may be redirected to a download page for the unlocking utility, and sometimes the site will require you to fill out an unlocking form in English.
  3. Check the box and confirm your choice.
  4. Enter the confirmation code from SMS in the appropriate field and click "Next".

You will see a message indicating that your application has been submitted successfully. Wait for a response either via SMS, or (best of all) regularly monitor the status of the application at the link miui.com/unlock/apply.php. This method is official, but sometimes some problems occur on Xiaomi - in this case, just reinstall the drivers and unlock the bootloader again.

Unlock process

Assuming that you have received official permission from the developer, now the main question remains to be answered: how to unlock the bootloader.

  1. If, after completing the process, you want to immediately install custom firmware, then download it immediately and save the archive in your smartphone.
  2. You need to download a utility to unlock bootloaders.
  3. Turn off the phone, then hold down the device's on/off button and volume down.
  4. Connect your smartphone to your PC via USB.
  5. Open MiFlash Unlock, agree to the rules by clicking the checkbox and accepting the terms.
  6. Enter your personal Mi ID (not your phone number!) and your password. Sign in.
  7. Wait for the program to detect the device and click "Unlock".
  8. Done, you have unlocked the Xiaomi bootloader and you can install any firmware.

The most popular questions regarding unlocking

  1. Will my data be deleted? - No, they will remain in place.
  2. If I have a new Xiaomi smartphone, how can I unlock it too? – Wait a month after the old phone has been unlocked. Log in to the Mi Unlock program using your username and password and unlock. You don’t have to submit an application - you can block it monthly from one device from an approved account.
  3. How long does it take to unlock? – Xiaomi servers often take about 10 days to approve the application, and then the data will be synchronized for another 10 days. The main thing is to comply with the basic conditions, such as: synchronizing the phone with the Mi account and Mi Cloud, the developer firmware must be installed on it (weekly).
  4. When unlocking, I get a notification that "Search for device" And "Fingerprint's scanner" will not be available. Why did the program block these functions? – Don’t worry, these are just translation costs. The functions will work, they will just be a little less secure, because the standard protection on the bootloader will be turned off.
  5. How to lock the bootloader back? – Download the Mi Flash utility and flash the gadget with the official MIUI firmware, after checking the box "clean all and lock".
  6. Do you need a SIM card? – No, you can unlock the bootloader without it.
  7. For what period is an unlock permit issued? - Forever.

conclusions

Those users who for a long time could not install custom software on their locked gadget can now breathe a sigh of relief - Xiaomi unlock bootloader is now easy to do. This unlocking method is suitable for any Xiaomi smartphone.

* Recommended to upload a 720*312 image as the cover image

Article Description

Hello everyone! This topic will be useful for those who want to block the bootloader. It’s no secret (and a discovery for many) that Android Pay works with an NFC module, on stable firmware, without root and with a LOCKED bootloader. You can check the status of the bootloader in the “For Developers” settings, it looks like this: A small digression Unfortunately, most Mi phones in the so-called “official” Russian stores come with an unlocked bootloader. Why is that? No one can give a specific answer. I can tell you from my own experience, I live in China and went to 2 official Xiaomi stores, checked the bootloader on the phones on display (Mi Mix 1/2, Mi 6, Mi Max2 and some from Note, I don’t remember exactly). And guess what? It's blocked on everyone! And when I asked what condition it was in when it left the factory, after calling the hotline they said it was locked. And it is obvious that in order to unlock it you need to manipulate the phone. And another small fact, my friend and I ordered phones through an online platform for friends, 3 Mi 6s and one Note 4x, and later I ordered a Mi Mix, and on all phones the bootloader was locked, I had to unlock it to install the global))) So, if you need to lock your bootloader, you have two options. One with data loss and the other without data loss (But this is not certain). I’ll tell you first about the one without data loss) 1. Lock the bootloader without data loss (on some models the data is erased, it’s not clear what it depends on) Before you start, you need to know about some points. First: this doesn't work on all phones. But it works on most recent phones. And judging by the comments on the forum, it works for many people. Secondly: it works correctly on official firmware, if they have not been subject to changes in system files (root access, recovery patch, TWRP, etc.) Otherwise, the command will not work or you will get a bootlap ( eternal loading). Thirdly: On almost all unofficial firmware the command does not work, get a bootlap (perpetual loading). Attention: You do everything at your own peril and risk, backup is required. Let's begin! 1. Check whether the adb and fastboot drivers are installed on the PC. Usually they are located on the “C” drive in the “adb” folder. If not installed, type into Google or Yandex “how to install adb and fastboot” and follow the instructions.2. We put the phone into fastboot mode (in the off state, hold down the power and volume down buttons at the same time until you see a hare and the word fastboot) and connect it to the computer. 3. Go to the folder with installed adb and fastboot (usually in the adb folder on drive C), hold down Shift and right-click on an empty space in the folder and select “Open command window” or if you have Power Shell, respectively “Open via Power Shell” "4. We begin to register: fastboot devicesAfterwards it should give out the phone ID5. Next, we check the status of the bootloader with the command: fastboot oem device-info If the bootloader is unlocked, the answer will be: 6. Next we write the command to lock: fastboot oem lock And if everything is fine, we get OKAY7. We check the status of the bootloader again with the command: fastboot oem device-info If everything went correctly it will be false on all counts: Reboot into the system with the command: fastboot reboot That's it, ready! 2. We block the bootloader with data loss. This method erases all data from the phone since this is a regular flashing with the choice of the bootloader blocking function, so before performing it, check that everything is synchronized (contacts, calendar, notes, etc.; applications are backed up and transferred to the computer ; photos, music, important documents on the computer).1. Download and install the Mi Flash2 program. Download your firmware from the official website (the firmware must be for fastboot) and put it in a new folder on drive “C” (the folder name should not have Russian letters and symbols)3. Enter the phone into fastboot mode (it says how at the top) and connect the phone to the computer.4. Open the program, press select or open (depending on the version of the program) and select the folder in which the firmware files are located, this is very important, because as I remember the firmware is in a folder that is in another folder.5. Press refresh, information about the phone6 ​​should be displayed. The most important step that cannot be missed, otherwise you did everything in vain;) select “clean all and lock” at the bottom of the program7. Press flash and wait for the phone to boot. That's all. Next you will have the first setup and restoration from backups. That's all, good luck everyone! Leave your questions in the comments!



Related publications