Forgot the password from Xiaomi Mi A2 And you can't get into the system? This is a familiar situation for many people -- you just have to type in the wrong one. PIN-A code or a pattern lock, and the phone locks up for 30 seconds, then for a minute, and then requires you to enter your Google credentials, but what if you don't remember your screen password or your account information?
Mi A2
Xiaomi
Android One
MIUI
Find My Device
all-time
loss
1 Unblocking through Google account (the easiest way)
If your Xiaomi Mi A2 is connected to the internet (via Wi-Fi or mobile network), after 5 failed attempts to enter a password, the system will offer a recovery option via Google account.
What to do:
- ๐น Enter any password 5 times in a row until the message โForgot the pattern lock?โ or โForgot the passwordโ appears?".
- ๐น Click on this sign, the Google login window will open.
- ๐น Enter the email and password from the account that was linked to the phone.
- ๐น Follow the instructions on the screen to create a new lock password.
โ ๏ธ Note: If you changed your Google password after setting up your phone, this method may not work, and it is not available if your device has an internet connection or has previously enabled the "No Connection - Do Not Lock" option in the security settings.
๐ก
If you donโt remember your Google password, try to restore it through your computer at accounts.google.com. Use a backup email or phone number linked to your account.
2.Reset to factory settings via Recovery Mode
If Google fails, you have to resort to a hard reset, which will remove all data from your phone, including photos, contacts and apps, but it works 99% of the time, even if the phone is completely locked.
Instructions for Xiaomi Mi A2:
- Turn off the phone with a long press on the power button (10-15 seconds).
- Press the Power button + Volume Up at the same time and hold for 10-15 seconds until the Xiaomi logo appears.
- Release the buttons and you will be taken to the Recovery Mode menu (a black screen with a green robot and the inscription "No command").
- Press the Power button + Volume up again for 1-2 seconds to open the menu.
- With the volume buttons, select "Wipe data/factory reset" and confirm the choice with the power button.
- Select โYes โ Delete all user dataโ and wait until the process is completed (1-3 minutes).
- After reset, select "Reboot system now".
The phone will reboot and suggest that you set it up as new, and this method is guaranteed to unlock the screen, but all data will be permanently deleted, including photos in the internal memory.
Stock up on the charger (the battery must be charged at least 30%)
Make sure your important data is synced to Google Drive or other cloud
Prepare. SIM-resetting card
Remember the Google account that was linked to the phone-->
3. Unlock through ADB (for advanced users)
If you have previously enabled USB debugging, you can try removing the password file via ADB (Android Debug Bridge), a method that saves data but requires a computer and minimal technical skills.
What you need:
- ๐ฅ๏ธ Computer with installed Xiaomi drivers and package ADB Tools.
- ๐ USB-cable (preferably original).
- โก Included debugging by USB on the phone (if not on, the method will not work).
Step-by-step:
- Connect your phone to your computer via USB.
- Open the command line (Win + R โ enter cmd โ Enter).
- Enter the command to check the connection: adb devices If the phone is determined (the serial number will appear), go further.
- Enter the commands in turn: adb shell su rm /data/system/gesture.key rm /data/system/password.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot
Once the phone is restarted, it should start without a password, so if a "su: not found" error appears, it means that the phone has no root rights, and the method will not work.
What if the ADB canโt see the device?
4.Use of Google's Find My Device service
If you have Google sync enabled and you have Internet access, you can try to unlock it through Find My Device, a web service that only works if you meet two conditions:
- ๐ถ The phone is connected to the Internet (Wi-Fi or mobile network).
- ๐ Geolocation and remote control enabled in Google settings.
Instructions:
- Go to Find My Device from a computer or other phone.
- Sign in with the same Google account as your blocked Mi A2.
- Select your Xiaomi Mi A2 from the list of devices.
- Click on โBlock the deviceโ (yes, that sounds weird, but itโs the right thing to do).
- Enter a new temporary password and confirm.
- On the locked phone will appear a field to enter this password.
โ ๏ธ Warning: Once unlocked in this way, you may need to reset your screen password in your security settings, and this method does not work if your phone is disabled or offline.
5 Unlocking through Mi Account (only for the MIUI)
Although the Xiaomi Mi A2 runs on Android One, some users install MIUIs on it through custom firmware. If that's your case, you can try unlocking the phone through Mi Account.
For this:
- Go to the Mi Account website.
- Sign in with your Xiaomi account.
- Select the Device or Find Device tab.
- Find your Mi A2 in the list and click Unlock.
This method doesn't work on all firmware, and requires that the phone be tied to Mi Account before locking. If you have a standard Android One, it won't work.
๐ก
On the Mi A2 with the original Android One firmware, unlocking via Mi Account is not possible โ this method only works on devices with MIUI.
6. Contact the Xiaomi Service Center
If none of these methods worked, the last option is to contact the official service center of Xiaomi.
- ๐ Phone locked after failed firmware.
- ๐ฑ The error appears on the screen: "This device is locked).
- ๐พ You need to save data, but resetting does not help.
What to bring with you:
- ๐ Check or warranty card (if the phone is guaranteed).
- ๐ Passport for proof of possession.
- ๐ฑ The device itself with a charge of at least 50%.
The cost of unlocking the service varies from 1,000 to 3,000 rubles, depending on the complexity, and in some cases, it may be necessary to replace the motherboard if the lock is associated with a hardware malfunction.
| Unlocking method | Are the data stored? | You need a computer? | Difficulty |
|---|---|---|---|
| Through a Google account | โ Yes. | โ No. | โญโญ (simple) |
| Reset via Recovery | โ No. | โ No. | โญโญ (simple) |
| Through ADB | โ Yes. | โ Yes. | โญโญโญโญ (difficult) |
| Find My Device | โ Yes. | โ Yes. | โญโญ (simple) |
| Service centre | โ Depends on the case. | โ No. | โญ (simple) |
Frequent Mistakes and How to Avoid Them
When unlocking the Xiaomi Mi A2, users often face typical problems, and here are the most common ones and ways to solve them:
Error 1: After resetting via Recovery, the phone requires you to enter the old password.
This happens if the Factory Reset (FRP) protection feature was enabled.Solution: Unblock through the Google account that was tied before the reset.
Error 2: ADB does not see the device, although debugging is enabled.
Try using another one. USB-cable (preferably original) or install drivers manually through Device Manager.
Error 3: Once unlocked through Find My Device, the phone asks for a password again.
So that means that the data didn't sync with Google's servers, so you can reset it through Recovery.
๐ก
If the phone unlocks the message "This device was reset. To continue, sign in with a Google Account," it's a Google Account. FRP-In this case, only the account that was linked before the reset will help.