Reset Xiaomi Mi A1 to factory settings: 3 proven ways

Resetting the Xiaomi Mi A1 to factory settings is a necessary procedure when selling a device, fixing system failures or preparing for a new firmware.This smartphone, released in 2017 on the basis of Android One, has features in the reset mechanism that distinguish it from classic Xiaomi devices on MIUI. Unlike models with a proprietary shell, the Mi A1 uses β€œclean” Android, which affects the location of menu items and available recovery options.

In this article, you will find current reset methods (including forced reset via Recovery), detailed screenshots of the stages, as well as solutions to typical problems - from the hanging process to the "No command" error. Particular attention is paid to saving data before reset and the nuances of working with the unlocked bootloader. If your Mi A1 stopped booting or began to slow down after the update, here you will find working solutions without contacting the service center.

Preparation for resetting: what to do in advance

Before you return the Xiaomi Mi A1 to factory settings, it is critical to save personal data. Unlike modern smartphones with backup to the cloud, the Mi A1 on Android 9 and below requires a manual backup.

  • πŸ“± Contacts (if not synced with Google)
  • πŸ“· Photos and videos in internal memory (SD-card unaffected)
  • πŸ“± Installed applications and their data (save games, settings messengers)
  • πŸ”‘ Wi-Fi passwords and Bluetooth device data
  • πŸ“ SMS/MMS call-book

For backup, use:

  • πŸ”„ Google Account: sync contacts, calendar and some settings through Settings β†’ Accounts. β†’ Google.
  • πŸ’Ύ Local Backup: Apps like Swift Backup (requires root) or Titanium Backup will be saved APK application data.
  • πŸ–₯️ Computer: Connect your smartphone to USB file transfer (MTP) and copy the folders. DCIM, Downloads, Pictures.

⚠️ Attention: If on Mi A1 bootloader unlocked, after reset, the device may require reauthorization of the Mi Account. Check the associated email and password in advance in Settings β†’ Additionally. β†’ For developers β†’ Mi Unlock status.

πŸ“Š How often do you reset your settings on your smartphone?
Once a year.
Just before the sale.
In case of serious failures
Never.

The safest method is to use the built-in Android menu, which is suitable if the smartphone is turned on and reacts to touch. The instructions are relevant for the Mi A1 on Android firmware 8.1-9.0:

  1. Open Settings (the gear icon in the application menu).
  2. Go to the System section β†’ Additionally. β†’ Reset parameters.
  3. Select Delete All Data (Reset).
  4. Flick the warning down and click Reset the phone.
  5. When you request, enter PIN-code.
  6. Confirm the action with the button to erase everything.

It takes 3-7 minutes to complete, and when it is finished, the device will automatically restart and prompt you to configure it as new, and if the screen has been stuck on the Xiaomi logo for longer than 10 minutes, go to Recovery.

Charge the battery at least 50% |Sync contacts with Google |Suppress photos/video on PC |Remember the data of the Mi Account (if the bootloader is unlocked)|Deactivate protection with a pattern lock (optional)

-->

Method 2: Hard Resetting with Recovery Mode

If the Mi A1 doesn't turn on, freezes on the screensaver or doesn't respond to touch, use Recovery Mode. This device has Google's Stock Recovery installed, not MIUI Recovery, so the interface and commands are different.

Step-by-step:

  1. Turn off the smartphone with a long press of Power + Volume Up (10 seconds).
  2. Hold Power + Volume Up until the Android logo with an exclamation point appears.
  3. Release the buttons. The No command menu will appear on the screen.
  4. Press and hold Power, then press Volume Up once, which will open a hidden menu.
  5. Select Wipe data/factory reset and confirm Power.
  6. Select Yes – Delete all user data and confirm.
  7. Once completed, select Reboot system now.

If the device resets cyclically after reset, the firmware may be damaged, in which case you will need firmware through Fastboot.

Problem.Reason.Decision
Hanging on "Erasing..."The /data section is damagedRepeat reset or swipe userdata via Fastboot
"No command" doesn't disappear.Wrong combination of buttonsRepeat Step 4 with Power + Concise Volume Up
Requires a password after resettingActivated. FRP-Protection of the Factory Reset Protection)Enter the last used Google account
Not activated after dischargeBoot section damagedSweat the stock firmware through the Mi Flash Tool
What happens if the Recovery does not open?
If the Power + Volume Up combination doesn’t work, try an alternative method: 1. Connect the charged Mi A1 to your PC via USB. 2. Open the command line and execute: adb reboot recovery 3. If ADB doesn’t recognize the device, install Google USB Driver drivers and try again.

Method 3: Fastboot Reset (for power users)

This method requires an unlocked bootloader and is suitable for cases where:

  • πŸ”§ Recovery Mode is not available;
  • πŸ“± The device loads into Fastboot Mode, but not into the system;
  • πŸ”„ You need to re-flash the userdata section separately.

Instructions:

  1. Install ADB & Fastboot Tools on PC.
  2. Connect the Mi A1 to your computer in Fastboot mode (hold Power + Volume Down when you turn on).
  3. Open the command line in the folder with fastboot and execute: fastboot devices (should display the serial number of the device).
  4. Run reset: fastboot erase userdata fastboot erase cache fastboot reboot

⚠️ Note: fastboot erase commands completely erase specified partitions. If you make a mistake with the partition (for example, fastboot erase system), the device will become inoperable without firmware!

fastboot flash boot boot.img


fastboot reboot

You can download the original images on Xiaomi Firmware Updater (choose the version for Mi). A1 tissot).-->

Frequent mistakes and their solutions

Even if the instructions are followed correctly, Xiaomi Mi A1 users face typical problems.

1. "Can't load Android system" error after reset

Cause: partition /system damage or incompatible firmware.

  • πŸ”§ Swipe the stock firmware through the Mi Flash Tool (choose the Clean all option).
  • πŸ“₯ Download the correct version for your model (tissot_global_images global version).

It's because:

  • πŸ”‹ Battery discharge (charge to at least 30%);
  • πŸ”„ Conflict of core modules (if custom recovery was installed);
  • πŸ“¦ The damaged boot section.

Solution: Download to Fastboot and do:

fastboot flash boot boot.img


fastboot flash dtbo dtbo.img

(The files are taken from the stock firmware).

3.Requires a Mi Account after a reset

On the Xiaomi Mi A1 with unlocked bootloader, after a reset, a request to authorize the Mi Account may appear, even if the device is on Android One. This is due to Xiaomi's policy for devices with unlocked bootloader.

  • πŸ“§ Enter the email and password from the last Mi Account tied.
  • πŸ”“ If you don’t remember the data, use the access restoration.
  • πŸ› οΈ In extreme cases, run the device through the Mi Flash Tool with the Clean all and lock option (lock the bootloader again).

πŸ’‘

If the Mi A1 is required by a Google account (FRP) after a reset and you don’t remember it, the only legal way to unlock it is to enter the correct data. Bypassing FRP through exploits can result in the device being locked!

Reset vs. Firming: Which to Choose?

Many users confuse resetting and flashing. Let's break down the key differences for the Xiaomi Mi A1:

CriteriaResetting settingsFlip-flashing
Does it delete user data?βœ… Yes (photos, apps, settings)βœ… Yes (if you choose the Clean All option)
Does it restore system files?❌ No (current firmware remains)βœ… Yes (a new version of Android is being installed)
Is it necessary to unlock the loader?❌ No.βœ… Yes (for unofficial firmware)
Does it solve productivity problems?βœ… Partially (if the reason was the settings)βœ… Completely (if the cause was system errors)
Implementation time5-10 minutes20-40 minutes

Choose a reset if:

  • πŸ“± The device is slowing down due to a large number of applications;
  • πŸ”„ You must delete personal data before selling;
  • πŸ“΅ Uncritical failures (e.g. application errors).

Please use the flashing service if:

  • 🚨 The smartphone does not turn on or cyclically reboots;
  • πŸ“₯ You need to update the Android version (for example, from 8.1 to 9.0);
  • πŸ”§ Requires to restore stock firmware after unsuccessful modifications.
Can I reset the Mi A1 without losing data?
No, a full reset always deletes user data from internal memory. However, you can: Back up through Google Drive (Settings). β†’ System system β†’ Backup; Use backup applications (e.g. Swift Backup – requires root); Copy files to PC or SD-If the goal is to fix the crashes without losing data, try first: Clear the cache in Recovery (Wipe cache partition); Remove problem applications; Update the software through Settings β†’ System system β†’ Updating the system.
Why does the Mi A1 ask for a password that never existed?
It's a manifestation. FRP-The Reset Protection Activity (Factory Reset Protection) A1 It is activated automatically if: Google account was linked to the device; a pattern lock was enabled or PIN; The security settings were marked "Find the device." Solution: Connect to Wi-Fi on the welcome screen; Enter email and password from the last Google account you used; If you don't remember the data, use the access recovery. ⚠️ Bypass FRP Through third-party services violates Google’s user agreement and may result in device locking.
How to reset the Mi A1 if you forget your pattern lock?
There are two official ways: through a Google account (if sync is enabled): 5 When you incorrectly enter the pattern lock; Click "Forgot your password?"; Enter the Google account details associated with the device. Through Recovery Mode: Turn off your smartphone; Press Power + Volume Up to log in to Recovery; Select Wipe data/factory reset (see instructions above). ❌ Do not use a program to reset the key through ADB β€” on Mi A1 Android 8+ They are not working because of increased security.
Can the reset be cancelled after it is launched?
No, the reset process cannot be interrupted or reversed. If you have started resetting through the settings menu or Recovery, wait until it is complete: πŸ”§ Damage to section /data; πŸ“΅ Loss of ability to load the system; πŸ”„ Cyclical reboot. If the reset is frozen: Wait. 30–60 minutes (sometimes slowed down due to slow internal memory); If the screen doesn’t change for more than an hour, reset again via Recovery.
What firmware to put on the Mi A1 after reset?
Xiaomi Mi A1 It officially supports two firmware branches: Stock (Android One): Stable work; Regular security updates from Google; No unnecessary Xiaomi applications. EEA). LineageOS, Pixel Experience: Newer version of Android (up to 11-12); Additional features; Requires unlocked bootloader, TWRP Recovery and compatible firmware (e.g. with XDA Developers). ⚠️ After resetting, it is recommended to install the same firmware version as before. V10.0.17.0, don't stitch it up right away V11.0.5.0 β€” It is better to update gradually.