Xiaomi Mi A2 β a popular smartphone with a clean Android One, but even its owners sometimes face the problem of a locked screen: a forgotten password, a pattern lock or a computer. PIN-The code can turn a device into a brick if you don't know how to do it. Unlike other Xiaomi models, the Mi is a very powerful device. A2 It does not have Xiaomiβs built-in Find My Device feature, making it difficult to unlock through the brandβs standard tools.
In this article, we will discuss 5 proven ways to unlock, from the most secure (via Google account) to radical (full reset via Fastboot), each method is illustrated in detail and provided with warnings about possible risks, such as data loss or blocking Mi Account. Particular attention is paid to the nuances of Mi A2, Mi Cloud absence and Android One specifics.
If you're not sure about your technical skills, we recommend starting with methods that don't require a PC connection. But remember, on models with File-Based Encryption enabled, resetting through Recovery will lead to permanent loss of all files β even if you don't have a PC connection. SD-The card will be encrypted and unavailable.
1. Unlock through Google account (Android 7-9) only
This works if the Mi A2 has Android 7 Nougat, 8 Oreo or 9 Pie firmware installed and the device is connected to the Internet via Wi-Fi or a mobile network. In the newer versions of Android (10+), the unlock function via Google has been removed for security reasons.
Algorithm of action:
- πΉ Enter any password/pattern lock 5 times in a row until the message βTry again in 30 secondsβ appearsΒ».
- πΉ Click on the button βForgot the password?β (or βForgot pattern?β on the English firmware).
- πΉ Enter the login and password from the Google account that was linked to the phone before blocking.
- πΉ Follow the instructions on the screen to create a new password or pattern lock.
β οΈ Note: If after entering data Google appears error "Can not confirm the account", it means that:
- π Phone is not connected to the Internet (check Wi-Fi or mobile data).
- π Google account was changed or deleted after the device was blocked.
- π On the smartphone installed custom firmware without Google services.
2.Use of Mi Account (if tied)
Although the Xiaomi Mi A2 runs on Android One and doesnβt have the Mi Cloud built in, some users have tied Mi Account to it to sync notes or themes. If youβve done that, thereβs a chance to unlock the phone without losing data.
Instructions:
- Go to the Mi Account website from another device.
- Sign in with the same account as the blocked Mi A2.
- In the Devices section, find your smartphone (if it is displayed).
- Select the option Find the device β Unlock.
- Confirm the action via SMS or email.
If the phone is not displayed in the list of devices, it means:
- π΄ Mi Account was not tied to Mi A2.
- π΄ On the smartphone disabled location services or mobile Internet.
- π΄ Device turned off or discharged.
π‘
Before unlocking through Mi Account, make sure that the phone is turned on mobile Internet or Wi-Fi. If the smartphone is discharged, connect it to charging for 10-15 minutes - this is enough to perform the operation.
3. Recovery Mode reset (data loss)
If previous methods didnβt work, itβs a hard reset to factory settings. On the Xiaomi Mi A2, you can do this through Recovery Mode, but two things are important to consider:
- On devices with encryption enabled (FBE) all data, including files on SD-The map will be irretrievably removed.
- After the reset, you may need to enter a login and password from Mi Account (if it was tied).
Step-by-step:
- Turn off the phone with a long press on the power button.
- Press the Power button + Volume up at the same time and hold for 10-15 seconds until the Mi logo appears.
- In the Recovery menu, select Wipe data (use volume buttons for navigation, power button for confirmation).
- Confirm the action by choosing Wipe all data β Confirm.
- Once completed, select Reboot to reboot.
| Action. | The result | Risks. |
|---|---|---|
| Reset via Recovery | Removing password, returning to factory settings | Loss of all data, possible blocking of Mi Account |
| Unlocking through Google | Data retention, new password | It doesnβt work on Android 10+ |
| Use of Mi Account | Unlocking without data loss | Requires account binding before blocking |
β οΈ Note: If after reset, the phone requires Mi Account data entry and you don't remember it, you will have to use Fastboot or contact the service center. Attempts to bypass the lock through third-party programs can lead to hard-brick (complete failure of the device).
4. Unlock via Fastboot (for advanced users)
The method via Fastboot is suitable if:
- π§ The phone's debugging on. USB (lock-in).
- π§ You have access to a PC with Xiaomi drivers and tools installed ADB/Fastboot.
- π§ You are ready for possible data loss.
Tools required:
- π₯οΈ Platform Tools (ADB/Fastboot) Google.
- π Original. USB-cable (do not use cheap Chinese analogues!).
- π Charging the phone at least 30%.
Instructions:
- Connect the Mi A2 to the PC when it is off.
- Press the Power button + Volume down to log into Fastboot Mode.
- Open the command line (Windows) or terminal (macOS/Linux) in the folder with Platform Tools.
- Enter the command to check the connection: fastboot devices If the device is displayed, continue. If not, install the drivers.
- Run reset: fastboot erase userdata fastboot erase cache fastboot reboot
βοΈ Preparing for Unlocking via Fastboot
If you want a password after you reboot, try any set of characters, sometimes it works. If you don't, you'll have to use EDL Mode, but it requires special equipment and knowledge.
5. Contact the Xiaomi Service Center
If all independent attempts to unlock failed, you can contact the official service center Xiaomi.
- π Phone locked with Mi Account and data lost.
- π After reset via Fastboot, the device does not turn on.
- π The screen displays an error This device is locked (lock boot loader).
What you need to unlock in the service:
- π Document confirming the purchase (check, warranty card).
- π Passport of the owner.
- π³ Payment for the service (cost varies from 1000 to 3 000 rubles).
The average unlock time in the service is 1-3 working days, and in some cases, it may be necessary to send the device to a regional center, which will increase the period to 7-10 days.
What if the service center refuses to unlock?
6.How to avoid blocking in the future
To avoid the issue of the blocked Xiaomi Mi A2, follow the simple rules:
- π Use a password manager (such as Google Password Manager or Bitwarden) to store PIN-code.
- π± Set up unlocking by fingerprint or face in addition to the primary password.
- π§ Link to your Mi Account (even on Android One, it will help you recover).
- π Regularly back up important data via Google Drive or Mi Cloud (if installed).
- π‘ Enable Smart Lock in security settings so that the phone automatically unlocks in trusted locations (home, work).
We also recommend that you disable data encryption (unless it is critical to your security) to avoid losing files when you reset. Go to Settings β Security β Encryption and credentials and turn off the Encrypt phone option.
π‘
On the Xiaomi Mi A2 with Android One, standard unlock methods (such as through the Mi Cloud) may not work. Always check the Android version before choosing a method - this depends on the success of the operation.