How to reset Xiaomi Mi A2 to factory settings: 3 proven methods

Xiaomi Mi A2 โ€” One of the few smartphones of the brand, running on โ€œpureโ€ Android One without a proprietary shell MIUI. This gives users the benefits of quick updates and minimalist interface, but at the same time creates nuances when resetting. A2 It starts to brake, it gives you errors, or you prepare it for sale โ€” a full reset will return the device to its original state. MIUI.

In this article, we will take a detailed look at all the current ways to reset for Xiaomi Mi A2 (codename jasmine), including methods through settings, Recovery mode and even Fastboot for โ€œbricksโ€. Particular attention will be paid to the problem of blocking the bootloader after reset on Android 10+ โ€“ this is a common reason why the device stops turning on after an incorrect hard reset.

Preparation for resetting: what to do in advance

Resetting to factory settings deletes all user data, including:

  • ๐Ÿ“ฑ Contacts (if not synced with Google)
  • ๐Ÿ“ท Photos and videos in internal memory
  • ๐ŸŽต Music, downloads and documents
  • ๐Ÿ”‘ Passwords from Wi-Fi and apps
  • ๐ŸŽฎ Save in games (unless linked to an account)

There is no memory card slot on the Mi A2, so all files are stored in internal memory. If you don't back up, it won't be possible to recover data after a reset (except for files synchronized to the cloud).

Synchronize contacts with Google Account|Download photos on PC through USB or Google Photos|Write it down. IMEI phone (on the box or in *#06#)|Make sure the battery is charged >50%|Unplug Xiaomi account (if tied)-->

Pay special attention to your Google account. After resetting to the Mi A2 with Android 9+, FRP (Factory Reset Protection) protection can work. If you forget the account information you used on your phone, it will be extremely difficult to unlock it. Xiaomi Mi A2 is not tied to Mi Account (unlike devices on MIUI), but Google FRP works on all Android devices.

โš ๏ธ Note: If you are buying a Mi A2 If you don't know the previous owner's details, a Recovery reset can lock the phone permanently, which requires official unlocking through the Xiaomi service center.

Method 1: Reset via the settings menu (the safest)

This method is suitable if:

  • ๐Ÿ“ฑ The phone is turned on and reacts to touch.
  • ๐Ÿ”“ You remember the pattern lock or PIN-code
  • ๐Ÿ”„ You need to save data on the memory card (if it were)

Instructions:

  1. Open Settings โ†’ System โ†’ Additional โ†’ Resetting settings.
  2. Select to erase all data (setting reset).
  3. Enter. PIN-code or pattern lock for confirmation.
  4. Click Erase All and wait for completion (5-10 minutes).

After the reboot, the phone will suggest configuring it as new, at which point you can restore data from a Google backup (if it was created).

๐Ÿ’ก

If after resetting, the Mi A2 asks you to enter a password from your previous Google account and you don't remember it, try connecting to the same Wi-Fi network your phone used to connect to, sometimes bypassing FRP.

Method 2: Hard Reset with Recovery Mode (if the phone is not turned on)

This method will be useful if:

  • ๐Ÿ”ด The phone hangs on the logo or does not respond
  • ๐Ÿ” Forgotten pattern lock or PIN-code
  • ๐Ÿ› ๏ธ You need to reflash the device after a failed update

The Xiaomi Mi A2 uses stock recovery, not MIUI Recovery, as it does on other devices of the brand. This is important because commands and menus differ.

Instructions for entering Recovery:

  1. Turn off the phone (press the power + Volume increase for 10 seconds).
  2. Press Power + Volume Up and hold until the Mi logo appears.
  3. Release the power button, but keep holding Volume Up until you see the Recovery menu.

In Recovery, use volume buttons for navigation and power buttons for selection.

  1. Select Wipe data/factory reset.
  2. Confirm action (Yes).
  3. Once completed, select Reboot system now.
What happens if Recovery does not open?
If the phone vibrates after holding the buttons, but the screen remains black, the bootloaderโ€™s firmware may be damaged, in which case only the firmware through Fastboot (see Method 3) will help.

โš ๏ธ Note: On some versions of the Mi firmware A2 After resetting via Recovery, you may have a "No command" error with the Android robot lying down. + Increase the volume again to reboot.

Method 3: Fastboot Reset (for power users)

This method is necessary in extreme cases:

  • ๐Ÿ”ง The phone has become a brick (no response to buttons)
  • ๐Ÿ”„ You need to reflash the device after a failed update
  • ๐Ÿ”’ Forgot the password, FRP block

The work will require:

  • ๐Ÿ’ป Computer with Windows/Linux
  • ๐Ÿ”Œ Cable USB (preferably original)
  • ๐Ÿ› ๏ธ Utilities. ADB Fastboot (download from Google website)
  • ๐Ÿ“„ Firmware for Mi A2 (formal)

Step-by-step:

  1. Install Xiaomi and ADB/Fastboot drivers on PC.
  2. Turn off your phone and press Volume Down + Power to log into Fastboot Mode.
  3. Connect the phone to your PC and check the connection with the command: fastboot devices (should display the serial number of the device).
  4. For a full reset, run fastboot erase userdata fastboot erase cache fastboot reboot.

If you need to reflash the device, download the official firmware for Mi A2 (.tgz file) and use the command:

fastboot flashall
Fastboot TeamDescriptionWhen to use
fastboot erase userdataDeletes all user dataFor resetting without flashing
fastboot flash recovery [file.img]Installs custom recovery (TWRP)For the installation of informal firmware
fastboot oem unlockUnlocks the loader.Only if the loader is locked
fastboot flashallComplete flashing of the deviceIf the phone is not turned on after resetting

โš ๏ธ Attention: On Mi A2 Android 10+ The fastboot oem unlock command can block the bootloader if it was previously unlocked.This will make it impossible to turn the phone on without officially unlocking through Xiaomi.

Yes, many times.|I tried it, but it didn't work.|No, I'm afraid to break my phone.|What is it?-->

Frequent mistakes and their solutions

Even if you follow the instructions correctly, Mi A2 users face problems.

1.The phone hangs on the Mi logo after being reset

Cause: Damage to system files or incompatible firmware.

Decision:

  • ๐Ÿ”„ Repeat the reset via Recovery.
  • ๐Ÿ“ฅ Fastboot the device via Fastboot (see Method 3).
  • ๐Ÿ”Œ Connect to charging for 30 minutes โ€“ sometimes helps with a discharged battery.

2. Requirement to enter a password from a previous Google account (FRP)

Factory Reset Protection (FRP) on Android 5.1+

Decision:

  • ๐Ÿ”‘ Enter the last Google account that was on your phone.
  • ๐Ÿ“ž If you donโ€™t remember your password, restore it through accounts.google.com.
  • ๐Ÿ› ๏ธ As a last resort, use it. FRP bypass (instructions are available on the 4PDA, But it's risky).

3. "No command" error in Recovery

Reason: Damage to the Recovery partition or incorrect update.

Decision:

  • ๐Ÿ”„ Restart your phone to Recovery again (clip the power). + Volume up).
  • ๐Ÿ“ฅ Install stock recovery with Fastboot: Fastboot flash recovery recovery.img

๐Ÿ’ก

If the Mi A2 doesnโ€™t turn on for more than 15 minutes after reset, donโ€™t panic.Give it time (up to 30 minutes), as the first download after a hard reset can be long due to application optimization.

How to recover data after resetting

If you havenโ€™t made a backup, the chances of getting your data back are minimal, but there are a few ways to do this:

1. Restoration through Google Account

When you first set up after resetting, the phone will prompt you to restore:

  • ๐Ÿ“ฑ Contacts
  • ๐Ÿ“… Calendar
  • ๐ŸŽต Some application settings

To do this, select Copy Data โ†’ From the Cloud and enter your Google account details.

2. recovery programs (if the phone is turned on)

You can try it.

  • ๐Ÿ’ป DiskDigger (for photos and videos)
  • ๐Ÿ’ป EaseUS MobiSaver (for messages and contacts)
  • ๐Ÿ’ป Recuva (for documents)

Important: Do not write new data to your phone before recovery, otherwise old files will be overwritten!

3. Contact the service center

If data is critical (like photos), you can go to a data recovery lab, starting at 5,000. โ‚ฝ, But the chances of success are ~60โ€“70%.

๐Ÿ’ก

On Mi. A2 no slot SD-cards, but if you have connected your phone to your PC before, check the folder DCIM Downloads on your computer โ€“ sometimes files are saved there automatically.

FAQ: Answers to Frequent Questions

Can I reset the Mi A2 without losing data?
No. Any factory reset deletes all user data. The only way to save the information is to back up in advance (via Google Drive, PC, or third-party apps like Titanium Backup for root users).
Why does the Mi A2 ask for a password from Mi Account when the phone is on Android One?
This is a mistake, because the Mi A2 is not tied to the Mi Account. You probably see the FRP screen (Google) rather than Xiaomi. Try entering the last Google account you use. If it doesn't help, the phone could have been linked to the previous owner's account (when you buy it from hand).
How to reset the Mi A2 if you forget the pattern lock?
There are two options: Reset via Recovery (see Method 2). If you can't log in to Recovery, use Fastboot (see Method 3) to delete the userdata partition. In both cases, the data will be lost.
Can I roll back the firmware to the Mi A2 after the update?
Technically, yes, but it's risky. If you roll back on an older version of Android, the recoil protection can go off and the phone turns into a brick. If you want to return the old firmware, use only official builds and keep an eye on the bootloader version.
What if the sensor or camera doesnโ€™t work after the reset?
This is a sign of firmware damage. Try: Fastboot your phone (see Method 3); install custom firmware (like LineageOS) if the official firmware doesn't work; go to a service center, maybe the hardware is the problem.