How to reset Xiaomi smartphone on MIUI 12 to factory settings: 3 working ways

Why would you need to reset to factory settings?

Resetting Xiaomi to factory settings is a radical but sometimes necessary solution to restore the device to work. On versions of MIUI 12 (and later), the procedure has its nuances, especially if it is a model with a locked bootloader or activated Find Device. Most users resort to hard reset in three cases:

First, when a smartphone starts to slow down after prolonged use or improper updates. MIUI 12 is known for its gluttony to resources, and even flagships like the Mi 10 Pro or POCO F2 Pro can eventually experience lags. Second, a reset is required before selling a device to delete all personal data, including Mi Account and Google accounts. And finally, it is the only way to bring the phone back to life if it hangs on the logo or goes to bootloop after a failed firmware.

It is important to understand that resetting to MIUI 12 is different from the same procedure on newer versions (e.g. MIUI 14). There are still old encryption mechanisms in place, and in some cases, you may need the Mi Unlock Tool to unlock the bootloader. Before you start, make sure that your model supports the chosen method - more about this in the next section.

๐Ÿ“Š How often do you reset your smartphone to factory settings?
Once a year to clean the system
Just before the sale.
Never dropped it.
After each major update

Preparation for resetting: what to do in advance

Regardless of the reset method you choose, without a backup, you risk losing photos, contacts and messages. MIUI 12 offers built-in backup tools, but they're not always reliable.

  • ๐Ÿ“ฑ Sync your data with Mi Cloud. Go to Settings โ†’ Xiaomi account โ†’ Mi Cloud and enable backup for contacts, notes and calls.Please note: a free account only provides 5GB, so for media files it is better to use Google Photos.
  • ๐Ÿ” Remove the attached devices. If your Xiaomi is connected to a smartwatch (Mi Band), speakers or other gadgets, untie them in the applications, otherwise after reset, you may have problems with re-synchronization.
  • ๐Ÿ”Œ Charge the battery to at least 50%. Interrupting the reset process due to battery discharge can lead to a device breeze (complete failure), especially if it is a method through the Fastboot.
  • ๐Ÿ“ก Check your Wi-Fi connection. Once reset, your phone will require authorization to your Mi Account, and without the internet, you wonโ€™t be able to activate the device (on models with account-based attachments).

Pay special attention to applications with two-factor authentication (e.g., bank clients or instant messengers). Once reset, you will need backup codes or access to email/SMS to restore access. If you use Xiaomi as a key for Mi Home or other smart devices, reconfigure them to another phone in advance.

โš ๏ธ Note: Some models (e.g. Redmi Note 9 Pro) POCO X3 NFC) After resetting through Recovery, Anti-Rollback protection may work, which means you won't be able to flash the older version. MIUI, Check the current version in Settings. โ†’ The phone. โ†’ Version. MIUI.

Backup to Mi Cloud and Google Account

Untie smart devices (Mi Band, speakers, lamps)

Charge your phone to 50% or more

Remember the username/password from Mi Account

Ensure a stable Wi-Fi connection-->

Method 1: Reset via the settings menu (soft reset)

This is the easiest and safest method, but it only works if the phone is turned on and you remember the pattern lock or the key. PIN-The instructions are suitable for all devices on MIUI 12, including Redmi, POCO And the Mi series. Here's the step-by-step algorithm:

  1. Open Settings (the gear icon on the main screen).
  2. Scroll down and select About Phone.
  3. Slip on Backup and Reset (on some models, the item may be called Additional โ†’ Resetting).
  4. Select Resetting (not to be confused with Network Resetting!).
  5. The system will tell you what to drop: ๐Ÿ“ฑ Delete all data (including apps and settings) ๐Ÿ’พ Clean internal memory (if you want to delete photos, music, etc.)

Confirm the action by entering a pattern lock or PIN-code.

Wait for the process to be completed (usually 5-15 minutes) and the phone will reboot and prompt you to set it up as new.

If after reset, the phone requires you to enter the data of the Mi Account, which was previously tied, but you do not remember it, do not try to guess the password. After 5 unsuccessful attempts, the device will lock for 24 hours. FAQ end-of-article.

๐Ÿ’ก

If the phone hangs on the MI logo for a long time after reset, don't panic. Give it 10 to 20 minutes - the first download after a hard reset can take a long time due to cache reassembly.

Method 2: Recovery Mode (hard reset)

This method comes in handy if the phone is not turning on, stuck on the logo or not responding to touch. Recovery Mode is a service mode built into Xiaomi firmware that allows you to perform critical operations without fully loading the system. On MIUI 12, the Recovery interface may differ depending on the model, but the overall logic is the same.

To enter Recovery:

  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 + Nutrition. ๐Ÿ”ง For POCO F1 And some Redmi: Volume up + Loudness down + Nutrition.

Mi

In the Recovery menu, use the volume buttons for navigation and the power button to confirm the selection.

  1. Select Wipe Data (or Clear Data on Chinese firmware).
  2. Confirm the action by selecting Wipe All Data.
  3. Wait until the process is complete (the screen will display the inscription Data wipe successful).
  4. Go back to the main menu and select Reboot โ†’ Reboot to System.

Step-by-step:

  1. Turn off the phone. Press Volume down + Power to enter Fastboot mode (there will be a hare in a hat-eared hat on the screen).
  2. Connect your phone to your computer. Install drivers if the system requests them (you can download from this site).
  3. Unpack the firmware archive into a folder without Cyrillic characters (e.g., C:\MIUI12).
  4. Open the Mi Flash Tool, press Select and point the path to the firmware folder.
  5. At the bottom of the program, select Clean All mode (complete cleaning).
  6. Press Refresh โ€“ Your phone should appear on the device list (e.g., COM3).
  7. Click Flash and wait for the process to be completed (green tick in status).

If the Mi Flash Tool is an error that can't find fastboot or device not found, check:

  • ๐Ÿ”Œ Connecting the cable (try another port) USB).
  • ๐Ÿ–ฅ Drivers installed (Device Manager should display Android Bootloader Interface).
  • ๐Ÿ”’ Is the bootloader unlocked (if not, follow the official instructions).

๐Ÿ’ก

Fastboot resets everything, including firmware, and installs a clean MIUI 12.This method also resets the Anti-Rollback counter, so you can flash the older version of the OS after it (if required).

Frequent mistakes and their solutions

Even with the exact instructions, users are faced with problems, and here are the most common errors when resetting Xiaomi on MIUI 12 and how to fix them:

Mistake.Reason.Decision
This device is locked in Fastbootbootloader lockedUnlock the Mi Unlock Tool (requires a tied Mi Account)
Phone asks for old password after resetFind Device Protection ActivatedEnter a password from Mi Account or reset it through the Xiaomi website
Can't mount /data in RecoveryThe file system is damaged.Run Wipe Cache, then repeat Wipe Data
After reset, there is no network (No Service)IMEI settings are down.Restore the IMEI through Engineer Mode (instructions for your model)

If the phone doesnโ€™t turn on after reset or stays on the logo for more than 30 minutes, try:

  1. Take it out and put it back in. SIM-card (sometimes helps with communication module errors).
  2. Press Volume up + Power for 20 seconds for forced reboot.
  3. Repeat the reset via Fastboot with another firmware version (e.g. global instead of Chinese).

โš ๏ธ Note: On models with a MediaTek processor (e.g. Redmi) 9A or POCO C3) Resetting via Fastboot can lead to loss IMEI. Before the procedure, save a backup copy of the section NVRAM tool-wise MTK Droid Tools.

FAQ: Answers to Frequent Questions

Can I reset Xiaomi without a password if I forget the pattern lock?
Yes, but only if: You have a Mi Account tied and Find Device enabled, you can unlock your phone through the web interface. The phone supports unlocking through Fastboot (requires an unlocked bootloader). If none of these are available, you'll have to carry the device to the service center with a check for purchase.
After the reset, the phone asks you to enter your old Mi Account.
This is theft protection (Mi Cloud Lock: ๐Ÿ”‘ Remember your account information and enter it. ๐Ÿ“ง Reset password through the Xiaomi website (requires access to email or phone). ๐Ÿ›  If your account is not yours (e.g., a handheld phone), contact the previous owner or Xiaomi service with proof of purchase.Caution: Bypassing this protection is illegal and may result in the device being blocked!
How to return data after reset, if there was no backup?
The chances are small, but you can try: ๐Ÿ” Use data recovery software (DiskDigger, EaseUS MobiSaver) โ€“ only if the internal memory has not been encrypted. ๐Ÿ“ Check the cart in Google Photos (photos are stored there for 60 days). โ˜ If Mi Cloud was enabled, the data could be synchronized automatically (check on the site). MIUI 12 memory encryption enabled by default, so recovering files after a reset is almost impossible.
Will a reset remove the licenses for apps (Netflix, Spotify, games)?
Yeah, but: ๐ŸŽฎ For games with a Google Play connection (such as Genshin Impact), the license will remain if you log in to the same account. ๐ŸŽฌ Netflix/Spotify Re-authorization will be required, but the subscription will remain active. ๐Ÿ’ผ Enterprise applications (such as Microsoft Office) may require re-activation through a work account.
Can I reset only settings without touching files?
Yes, in the reset menu (Settings) โ†’ The phone. โ†’ Backup and Reset) select Reset unchecked settings at Clear internal memory: โŒ Will not remove viruses or system errors. โŒ It will not help if the phone is slowing down due to a filled memory. โœ… Suitable only for resetting personal settings (wallpaper, sounds, Wi-Fi networks).