Factory Reset on Xiaomi: 3 ways to reset to factory settings

Factory reset on Xiaomi, Redmi or POCO smartphones is a radical but sometimes necessary solution to fix software failures, prepare a device for sale or delete personal data. The procedure erases all user files, apps and settings, returning the phone to the โ€œout of the boxโ€ state. However, many users are afraid to perform the reset because of the risk of losing important data or locking the device.

In this article, weโ€™ll break down three official ways to perform hard reset on Xiaomi (including models with MIUI 12/13/14 and HyperOS), explain how to prepare for the procedure to minimize losses, and reveal nuances that are not written in the standard instructions, such as why IMEI can disappear after a reset via Fastboot or how to restore access to your Mi Account if you forgot your password.

What is a factory reset and when is it needed?

Factory reset is the complete removal of all user data from the internal memory of the smartphone, including:

  • ๐Ÿ“ Photos, videos and music in folders DCIM, Downloads, Pictures
  • ๐Ÿ“ฑ Installed applications and their cache (including game data)
  • ๐Ÿ”‘ Wi-Fi, Bluetooth, Google accounts and social media settings
  • ๐Ÿ“ SMS, Call log and contacts (if not synced to the cloud)
  • ๐Ÿ”ง System settings (wallpaper, sound circuits, gestures)

The procedure does not affect only the firmware and the core of the system, so after resetting the phone will remain on the same version. MIUI/HyperOS, The main reasons for performing hard reset:

SituationWhy resetting helpsAlternative solutions
The phone brakes, overheats or discharges quicklyRemove accumulated debris, reset background processesCleaning the cache manually, disabling the autoload of applications
Forgotten pattern lock or PIN-codeThe only way to unlock without losing data (if there is no backup)Recovery through Mi Account (if tied)
Preparation for sale or transfer to another userGuaranteedly deletes personal dataManual deletion of files + exit from accounts
Failures after firmware updateReturns a stable system configurationReverse to the previous version via Fastboot

โš ๏ธ Note: If your Xiaomi is blocked through Mi Account (Xiaomi account), reset to factory settings will not remove this lock. Unlock will require you to enter the username and password from the associated account. MIUI.

๐Ÿ“Š Why You Needed a Xiaomi Reset?
Device brakes/gluts
Forgot your password/pattern lock
I'm getting ready to sell.
Other

Preparing for resetting: how to save important data

Before you perform a factory reset, you need to save all critical data, and even if you plan to reset due to a failure, backup will help you avoid losing contacts, photos or documents.

Sync contacts with Google Account | Copy photos and videos on PC/cloud |Save SMS via the application (e.g. SMS Backup & Restore) |Record your associated accounts (Mi Account, Google, social media) |Check backup in Mi Cloud (if enabled)

-->

Methods of backup:

  • โ˜๏ธ Mi Cloud: Built-in cloud from Xiaomi (available in Settings) โ†’ Xiaomi Account โ†’ Mi Cloud: 5GB is free, but not all data is synchronized (e.g., Mi Cloud, SMS persist).
  • ๐Ÿ–ฅ๏ธ Local copy on PC: Connect the phone to USB file transfer (MTP) and copy the folders. DCIM, Downloads, Documents.
  • ๐Ÿค– Google Account: Syncs contacts, calendar, some app settings. Check Settings โ†’ Accounts. โ†’ Google โ†’ Synchronization.
  • ๐Ÿ“ฑ Third-party applications: For example, Swift Backup (requires root) or Titanium Backup to create a full copy of applications and their data.

โš ๏ธ Note: If you use Xiaomi with an unlocked bootloader, you may need to re-unblock after resetting via Fastboot or Recovery.This is due to Xiaomi's security policy, which resets bootloader status when completely reset.

What can't be saved:

  • ๐ŸŽฎ Game data (progress, purchases) โ€“ if not linked to a Google Play account or social media.
  • ๐Ÿ“ฑ Application settings (for example, saved passwords in the browser, chat history in messengers).
  • ๐Ÿ”‘ Encryption keys (if device encryption was used).

๐Ÿ’ก

If you forgot your Mi Account password but remember your email, try to restore access through the official account.xiaomi.com. After resetting your phone, you will need to enter your account details to unlock.

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

This is a method that works if you have the phone on and you can go into the settings, and it's the simplest and doesn't require any additional tools, and it's relevant for MIUI 12/13/14 and HyperOS.

Step-by-step:

  1. Open Settings (the gear icon on the main screen).
  2. Go to About Phone (or About Device in HyperOS).
  3. Select Resetting (in some versions Additional โ†’ Resetting).
  4. Click Delete all data (or Delete all data).
  5. Enter. PIN-code/pattern lock, if requested.
  6. Confirm the action by clicking Reset Settings.

The phone will reboot and start the reset process, which will take 5-10 minutes, and when you're done, you'll see the screen of the initial setup, just like after you've bought it.

โš ๏ธ Note: Some Xiaomi models (e.g. Redmi Note 10 Pro) POCO F3) After a reset via the menu, you may need to re-activate Mi Account, even if you haven't locked the device.This is due to Xiaomi's security policy to protect against theft.

What if the phone asks for an old password after reset?
If you reset your phone through a menu, but after the reboot it requires you to enter a password from the previous account, this means that the device was tied to Mi Account with Find Device enabled. In this case: 1. Try to restore access to the account through account.xiaomi.com. 2. If the account is not yours (for example, the phone is bought by hand), contact the previous owner to unblock. 3. In extreme cases, you can try unlocking through the official Xiaomi service (you will need documents confirming the purchase).

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

If Xiaomiโ€™s smartphone doesnโ€™t load (hang on the logo, reboots cyclically or locks), you can reset through Recovery Mode, which works on all models, including the Redmi 9A, POCO X3, Xiaomi 12T and others.

How to get in to Recovery Mode:

  1. Turn off the phone (press the power button for 10 seconds if it freezes).
  2. Press the button combination: ๐Ÿ“ฑ For most models: Volume up + Food (hold 10-15 seconds). ๐Ÿ”„ For older devices (until 2018): Volume up + Loudness down + Nutrition.

Mi

In the Recovery menu, the volume buttons (Up/Down for navigation, Power for selection) are controlled.

  1. Select Wipe Data (or Clear Data in Chinese firmware).
  2. Confirm the action by selecting Wipe All Data (or similar).
  3. Wait until the process is complete (the screen will display the inscription Data wiped successfully).
  4. Select Reboot to reboot.

To reset via Fastboot, you will need a computer with drivers installed ADB/Fastboot original USB-Attention: This method can lead to loss of IMEI or lock the loader if it is done incorrectly!

Step-by-step:

  1. Install Platform Tools on PC (includes fastboot).
  2. Turn off the phone and press Volume Down + Power to enter Fastboot Mode (a hare in a hat-out-of-the-box will appear).
  3. Connect your phone to your PC and open the command prompt (cmd) in the folder with the platform-tools.
  4. Enter the command to check the connection: fastboot devices Must appear serial number of the device.
  5. Run the reset command: fastboot erase userdata fastboot erase cache fastboot reboot

If you want to enter your Mi Account password after a reboot, but you donโ€™t remember it, you can try resetting your account through Xiaomiโ€™s official website, but on new models (released after 2021), this may not work due to increased security.

How to recover IMEI after reset via Fastboot?
If you lost your IMEI (no network) after resetting via Fastboot, try to restore it using the engineering menu: 1. Type on the keyboard ##4636##. 2. Go to Phone Information and select SIM. 3. If the IMEI is displayed as Null/Unknown, you will need to flash the modem module through Fastboot or contact the service center.

What to do after resetting: initial setup

After a successful factory reset, Xiaomiโ€™s phone will launch in initial setup mode.

  1. Language and Region Choice: Specify the right region (e.g., Russia) to avoid problems with Google services.
  2. Wi-Fi connection: Without the Internet, you can not log in to Mi Account or download updates.
  3. Log in to accounts: ๐Ÿ”‘ Mi Account โ€“ required if the phone has been tied before. ๐Ÿ“ง Google Account โ€“ to sync contacts and access the Play Market.

Data recovery:

Mi Cloud

Security setting:

โš ๏ธ Warning: If the phone gives an error "This device is locked" after the reset and asks you to enter the Mi Account password but you don't remember it, don't try random combinations. After 5 failed attempts, the device will lock for 24 hours. Get support from Xiaomi with proof of purchase.

Useful tips after resetting:

  • ๐Ÿ”„ Update your firmware to the latest version through Settings โ†’ The phone. โ†’ Updating the system.
  • ๐Ÿ›ก๏ธ Install an antivirus (such as Dr.Web or Kaspersky) before restoring data from backups.
  • ๐Ÿ“ฑ Check the operation of sensors (camera, gyroscope, GPS) โ€” Sometimes calibration is required after resetting.

Frequent mistakes and their solutions

Even if you do the reset properly, you can have problems.

Problem.Possible causeDecision
The phone will not turn on after resettingThe boot or firmware section is damagedSwitch your phone through Fastboot with the Mi Flash Tool
IMEI is Null or UnknownDeleted /efs or /modem filesRestore IMEI through the engineering menu or flash modem
Hangs on the Mi logo after being resetFirmware conflict or incompatible version of MIUIRun Wipe Cache in Recovery Mode or Reflash
The sensor does not work after resettingCalibration failure or driver damageReset the sensor settings via the engineering menu (##6484###)

If none of these methods helped, there may be a hardware problem (e.g., a damaged flash memory), in which case it is recommended to contact the Xiaomi service center.

๐Ÿ’ก

On newer models (such as the Xiaomi 13 or Redmi Note 12) after a Fastboot reset, it may be necessary to re-unlock the bootloader.

FAQ: Answers to Frequent Questions

Can I do a reset without losing data?
No, factory reset always deletes user data. However, you can save individual files (photos, videos) through backup or by connecting the phone to your PC in MTP mode (if it turns on).
The phone after the reset asks for the password from Mi Account, but I don't remember it.
If the device was linked to Mi Account with Find Device enabled, you will need to enter your login and password after the reset. Try to restore access via account.xiaomi.com. If the account is not yours (the phone is purchased by hand), contact the previous owner to unbundle.
Xiaomi has dropped and now there is no network (IMEI How to get it back?
This is due to deleting /efs or /modem files when reset via Fastboot. Try recovering IMEI via the engineering menu (##4636##) or scrolling the modem module through Fastboot. If it doesn't work, contact the service.
Can you reset Xiaomi if it is blocked with a pattern lock?
Yes, but only through Recovery Mode or Fastboot, if you're syncing with Mi Account on your phone, you'll need to enter your account information after the reset, and you won't be able to unlock the device without the linked account.
After the reset, the phone got slower. Why?
It could be related to: ๐Ÿ”„ An outdated version of the firmware (update) MIUI via settings). ๐Ÿ“ฑ Flash memory damage (check the health of the drive through the app) AIDA64). ๐Ÿ”ง Autoloading unnecessary applications (disable in Settings) โ†’ Annexes โ†’ Auto-start).