How to unlock Xiaomi Mi A3 if you forget your password: a step-by-step guide

Xiaomi Mi A3 β€” One of the brand's most popular smartphones, running pure Android One. But what if you forget your pattern lock, PIN-code or password? Unlike devices on MIUI, There is no link to the Xiaomi account, but there are other nuances. In this article, we will discuss all the current methods of password resetting, from the simplest to the most radical, indicating the risks and features for the Mi. A3.

It's important to understand that some methods lead to complete data loss (photos, messages, apps). So try the options first without resetting. If the phone is locked after you buy from your hands or you don't remember your Google account details, you'll have to go to extreme measures. We'll also tell you how to avoid blocking in the future and what to do if your smartphone requires an old password after reset.

1 Unblocking through Google account (the safest way)

Since the Mi A3 runs on Android One, the main method of unlocking is through a linked Google account.

  • πŸ“§ Device connected to the Internet (Wi-Fi or mobile network).
  • πŸ”‘ Remember the Google login and password that was added to your phone.
  • πŸ”„ No more than 5 failed attempts to enter a password on a smartphone (otherwise you will need to wait 30 seconds between attempts).

Instructions:

  1. On the lock screen, enter any password / key 5 times in a row (wait for the message "Try again in 30 seconds").
  2. At the bottom of the screen will appear button Forgot the password? – click on it.
  3. Enter the login and password from Google that was linked to the device.
  4. Follow the system instructions to create a new password.

If the button Forgot the password? does not appear:

  • πŸ”Œ Make sure your smartphone is connected to the network (indicator) Wi-Fi/mobile data should burn).
  • πŸ”„ Reboot the device – sometimes it helps.
  • ⚠️ If the phone was bought with hands, the previous owner could have deleted the Google account – in this case, the method will not work.
πŸ“Š You remember the data from your Google account on your Mi A3?
Yeah, I remember.
I remember the login, but not the password.
I don't remember anything.
I don’t have a Google account on my phone.

⚠️ Attention: If on Mi A3 Two-factor authentication is enabled by Google, you will need to enter the code from SMS Google Authenticator, without which you can't unlock.

2. Reset password via Recovery Mode (without loss of data)

This method works if you don’t remember data from Google, but don’t want to lose files. It works thanks to the features of Android One on the Mi A3: in some versions of the firmware, you can only reset the lock password without affecting user data.

Instructions:

  1. Turn off your smartphone (press Power + Volume Down for 10 seconds).
  2. Press Power + Volume Up to Enter Recovery Mode.
  3. In the recovery menu, select Wipe data β†’ Wipe lock settings (use volume buttons for navigation, power button for selection).
  4. Confirm the action and restart the device (Reboot system now).

If there is no Wipe lock settings:

  • πŸ”§ Try to choose Advanced β†’ Wipe dalvik cache (sometimes helps).
  • πŸ“± On some firmware you need to select Mount β†’ System before reset.
  • ❌ If nothing works, this method is not suitable for your version of the software.

Turn off the phone.

Slam Power + Volume Up

Wait for the Mi logo to appear.

Select Wipe Data (not Factory Reset!)

Confirm the action.-->

MethodLoss of dataInternet is requiredIt's powered by the Mi A3.
Google account❌ No.βœ… Yes.βœ… Yes.
Recovery (Wipe lock)❌ No.❌ No.⚠️ Depends on the firmware.
ADB (via PC)❌ No.❌ No.βœ… Yes. USB-debugging)
Factory Resetβœ… Yeah)❌ No.βœ… Yes.

3. Unlock through ADB (for advanced users)

If the Mi A3 has previously been enabled to debug USB, you can reset the password through the computer using ADB. This method does not lead to data loss, but requires preparation.

What you need:

  • πŸ’» Computer with Windows/Linux/macOS.
  • πŸ”Œ USB-cable (original, do not damage the port!).
  • πŸ“¦ Installed drivers Xiaomi and ADB (You can download from the official website).
  • πŸ”§ Included debugging by USB (Settings β†’ The phone. β†’ Assembly number (7 taps) β†’ Developer settings β†’ Debugging by USB).

Step-by-step:

1. Connect the Mi A3 to your PC via USB.


2. Open the command line (Win + R β†’ cmd) and enter:




adb devices




(Your device should be displayed)




3. 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




4.Reset the phone:




reboot

Once you reboot, the password will be reset, and if you have a su: not found error, you don't have root permissions on the device, and it won't work.

What if the ADB can’t see the device?
If the adb device command returns an empty list: 1. Check if the debugging is included USB on your phone (even if the screen is locked, sometimes connecting to another PC helps). 2. Install drivers manually through Xiaomi ADB/Fastboot Tools. 3. Try another one. USB-cable or port (better) USB 2.0). 4. On Windows, disable driver signature: Execute β†’ gpedit.msc β†’ User configuration β†’ Administrative templates β†’ System system β†’ Installation of the driver β†’ Disable signature verification.

⚠️ Note: If you have not included the debugging USB This method won't work on a locked phone beforehand" ADB Through exploits is a scam that can damage firmware.

4.Factory Reset - Last Chance

If no method has worked, you'll have to reset your settings completely, and that will delete all the data on your phone, including photos, contacts and apps. There are two ways to reset the Mi A3:

Method 1: Recovery Mode

  1. Turn off the phone.
  2. Press Power + Volume Up to Enter Recovery.
  3. Select Wipe data β†’ Factory Reset (volume buttons).
  4. Confirm the action and wait for the completion.
  5. Reboot the device (Reboot system now).

Method 2: Fastboot (if Recovery is not working)

1. Turn off the phone.


2.Put Power + Volume Down to log into Fastboot.




3. Connect to the PC and enter commands:




fastboot flashing unlock




fastboot erase userdata




fastboot reboot

After the reset, the phone will be like new – you will need to reconfigure Android and restore data from the backup (if it was).

πŸ’‘

If the phone asks for the old password after reset, it means that Factory Reset Protection (FRP) was enabled. To unlock, you need to enter data from the last Google account that was on the device. If you don't remember them, contact Google Recovery Center.

5. How to avoid blocking in the future

To avoid having a forgotten password problem on the Mi A3, follow these tips:

  • πŸ” Use Smart Lock (Settings) β†’ Security β†’ Smart Lock – it unlocks the phone in trusted places (home, work) or when connected to trusted devices (earphones, smart watches).
  • πŸ“ Write down your password in Google Password Manager or KeePass.
  • πŸ”„ Regularly back up through Settings β†’ System system β†’ Backup.
  • πŸ“± Enable Find My Device (Settings) β†’ Google β†’ Security β†’ Find My Device – This will help you unlock your phone remotely.

It is also useful to add a spare PIN-code:

  1. Go to Settings β†’ Security β†’ Screen Lock.
  2. Select Additional Settings β†’ Spare. PIN-code.
  3. Install a simple 4-digit code (e.g., 1234), but don’t use it as your primary code.

πŸ’‘

On the Xiaomi Mi A3, you can’t use your Mi Account to unlock β€” just Google! β€” which is a key difference from devices on MIUI.

6. Frequent mistakes and how to avoid them

When trying to reset a password, users often make critical errors that can lead to a phone "breakdown," and these are the most common:

  • ⚑ Interrupting the reset process (removing the battery, power cuts) could damage the firmware and the phone will stop turning on!
  • πŸ”Œ Using a non-original cable when connecting to a PC ADB/Fastboot. Cheap cables may not transmit data, causing commands to fail.
  • πŸ“₯ Install inappropriate firmware via Fastboot. Mi A3 It has a unique firmware Android One - firmware for MIUI won't fit!
  • πŸ”‘ Trying to get around FRP Many YouTube videos offer "secret codes" to bypass Factory Reset Protection, a scam that can result in a Google account being blocked.

If after a failed reset the phone:

  • πŸ”΄ Not included - try to clamping the power supply + Volume up on 20-30 seconds (forced resetting).
  • 🟑 Hangs on the logo – log in to Recovery and make a Wipe cache.
  • ⚫ Asking for a password after reset is FRP, Data entry from the last Google account is required.

⚠️ Note: If you have purchased a Mi A3 With hands and the previous owner not deleting his Google account, it is almost impossible to unlock the phone without its data, in such cases it is better to return the device to the seller or contact the service center with a check.

FAQ: Answers to Frequent Questions

Can I unlock the Mi A3 without losing data?
Yes, if: You remember data from your Google account (method 1). The phone has USB debugging enabled and access to a PC (method 3). Your firmware version has Wipe lock settings option in Recovery (method 2). In all other cases, the data will be lost.
The phone asks for a password after resetting through Recovery.
This worked Factory Reset Protection (FRP). You need to: Enter the username and password from the last Google account that was on your phone. If you don't remember, restore access through Google Account Recovery. If you bought the phone from hand, contact the previous owner. You can't legally circumvent FRP on Mi A3 without your account data.
Can I reset my password through Xiaomi Service Center?
Xiaomi's official service centers don't provide password reset services if you can't prove ownership of a device (check, box, warranty card), at best, they will offer: Sweep your phone (paid, with loss of data), provide proof of purchase (if the phone is warranty); informal services may offer a "hack" for money, but it's risky - you can get a phone with damaged firmware.
How to protect data before resetting?
If your phone isn’t locked yet, but you’re afraid to forget your password: Create a backup via Settings β†’ System β†’ Backup (data will be saved to Google Drive). Copy photos and videos to your PC or cloud (Google Photos, Yandex Drive). Export contacts: Contacts β†’ Settings β†’ Export (save the.vcf file). Record the phone’s IMEI (dit *#06#) – this will help with recovery through the service.
Do you have any unlocking software (such as Dr.Fone)?
Programs like Dr.Fone, iMyFone LockWiper or Tenorshare 4uKey don't work with the Xiaomi Mi A3 for several reasons: Android One, not MIUI (most programs are MIUI-focused). Modern versions of Android block access to system files without root rights. These programs often contain viruses or require payment for "premium unlock" that doesn't work. Don't spend money on such software - it won't help.