How to return the Xiaomi phone to factory settings: 3 proven ways

Why you need a reset to factory settings and when to apply it

Resetting Xiaomi to factory settings is a radical but sometimes necessary step to restore the smartphone to work, which removes all user data, apps and settings, returning the device to a โ€œout of the boxโ€ state.

First, if the phone starts to slow down or spontaneously reboot after the MIUI update. This may be due to conflicts in system files that are not always fixed by standard methods. Second, a reset is mandatory before transferring or selling the device so that the new owner does not gain access to your accounts, photos or messages.

It's important to understand that resetting through your phone settings and Recovery mode are two different processes with different consequences. The first method saves some MIUI system files, and the second completely reinstalls the firmware, which can be critical for devices with an unlocked bootloader. Next, we'll discuss both options in detail, and also tell you how to prepare for the procedure so that you don't lose important data.

๐Ÿ“Š Why you want to reset Xiaomi to factory settings?
The device is braking.
I'm getting ready to sell.
After a failed update
Forgot the pattern lock
Another option

Preparation for resetting: what to do in advance

Before you start resetting, do a few critical actions, without which you risk losing access to your accounts, photos, or even your phone. Start by backing up:

  • ๐Ÿ“ฑ Contact and SMS: sync with Google Account or export through the Contacts app โ†’ Imports/Exports.
  • ๐Ÿ“ท Photos and videos: copy to PC via cable or upload to Google Photos/Mi Cloud (check if there is enough space!).
  • ๐Ÿ”‘ Passwords and Application Data: Use Password Managers (Bitwarden, 1Password) or manually write down logins from banking applications, social networks.
  • ๐ŸŽฎ Game progress: link your gaming accounts to Google Play Games or social media.

Pay special attention to your Xiaomi account. If you forget your password, resetting your phone can permanently lock your device because of the Mi Account protection (relevant to models with MIUI 12 and newer).

  1. Go to Settings โ†’ Xiaomi Account and make sure you are logged in.
  2. Check the email and phone number, which will be needed to restore access.
  3. Disable Find the device in your account settings if you plan to sell the phone.

Created backup of contacts and photos|Password from Mi Account is recorded and verified|Disabled "Find the device" in the settings|Battery charge > 50%|Out. SIM-card and memory card if not necessary)-->

Method 1: Reset via phone settings (soft reset)

This is the simplest and safest method that works for most situations, it's non-specialized and it runs right from the MIUI interface, and the main condition is that the phone should turn on and respond to touch, and if the screen is locked or the device is not loading, move on to the next method.

Instructions for MIUI 14 (relevant to Redmi Note 12, Xiaomi 13, POCO X5 and other modern models):

  1. Open Settings (the gear icon on the main screen).
  2. Go to the About Phone section. โ†’ Backup and reset.
  3. Select Resetting โ†’ Erase all data.
  4. Enter the password from the lock screen (if installed).
  5. Confirm the action by clicking Reset Settings.

It takes 5-15 minutes depending on the model. The phone will reboot several times โ€” don't interrupt the process, even if the screen goes out for a long time. Once you're done, you'll see the screen of the initial setting, like when you first turn on.

๐Ÿ’ก

If you don't have a "Reset" option on the menu, try the alternative path: Settings โ†’ Additional โ†’ Restore and Reset. This is true for older versions of MIUI (up to 12th).

โš ๏ธ Attention, on some models, Redmi 9A, POCO M3) After reset, you may need to re-authorize to Mi Account, even if you have disabled Find Device!

Method 2: Hard reset via Recovery mode (for locked phones)

If the phone doesnโ€™t turn on, hangs on the Xiaomi logo or is locked with a pattern lock, youโ€™ll have to use Recovery mode, which is more radical and requires care, as improper actions can lead to a brick (complete inoperability) of the device.

To log into Recovery Mode, follow the following steps:

  1. Turn off the phone (press the power button for 10-15 seconds).
  2. Press the button combination: For most models: Volume up + Power. For POCO F3, Xiaomi 11T: Volume up + Power (hold 10 seconds, then let go of power while continuing to hold volume). For older models (Redmi 4X, Mi A1): Volume up + Volume down + Power.

Mi Recovery

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

  1. Choose a language (usually English or English).
  2. Go to Wipe Data โ†’ Wipe All Data.
  3. Confirm the action by selecting Confirm.
  4. Once you have finished, select Reboot โ†’ Reboot to System.

If you don't have Wipe All Data on the Recovery menu, just Wipe Cache, you have custom firmware installed.

What if there is no reset option in Recovery?
This means that the phone has an unofficial TWRP Recovery. To reset, select Wipe โ†’ Advanced Wipe, tick Dalvik / ART Cache, System, Data, Internal Storage and swipe to confirm (Swipe to Wipe). After that, be sure to reset the official MIUI through Install to TWRP, otherwise the phone will not boot.

Xiaomi modelCombination for entering RecoveryFeatures
Redmi Note 10/11/12, POCO X3/X4Volume up + NutritionMenu in Chinese/English. Select the Wipe Data for reset.
Xiaomi 13/13 Pro, Mix 4Volume up + Nutrition (hold 15 seconds)A charging connection may be required to log into Recovery.
Redmi 9/9A/9C, POCO M3Volume up + Volume down + NutritionSome firmwares do not have Recovery menus โ€“ you need firmware through Fastboot.
Mi A2/A3 (Android One)Loudness down + NutritionThe standard Android Recovery menu (navigation with volume buttons) is used.

โš ๏ธ On devices with an unlocked bootloader, resetting via Recovery can cause loss IMEI If you have previously unlocked the bootloader to install custom firmware, use only Method 1 or re-flash the official version. MIUI via Mi Flash Tool.

Method 3: Reset via Mi Flash Tool (for power users)

This method is required in extreme cases: if the phone does not respond to buttons, freezes in the boot cycle or after a failed update, it involves completely flashing the device through the PC using the official Mi Flash Tool. Warning: improper actions can turn the phone into a โ€œbrickโ€, so follow the instructions carefully.

What you need:

  • ๐Ÿ’ป Windows computer 7/10/11 (64-bit).
  • ๐Ÿ”Œ Original. USB-cable (preferably from the set).
  • ๐Ÿ“ฅ Firmware for your model (download from the official Xiaomi website).
  • ๐Ÿ›  Mi Flash Tool (last version).

Step-by-step:

  1. Unpack the firmware archive in a folder without Cyrillic characters (for example, C:\MIUI\).
  2. Install the Mi Flash Tool and drivers (if they are not installed automatically).
  3. Turn off your phone and turn it into Fastboot: Press Volume Down + Power for 10 seconds. Connect your phone to your PC โ€“ a Hare in a Cap should appear on the screen.
  4. In the Mi Flash Tool, click Select and specify the path to the firmware folder.
  5. Select firmware mode: Clean all โ€“ full reset (recommended). Clean all and lock โ€“ reset + lock the bootloader (only if you do not plan to install custom firmware).

Flash

After successful firmware, the phone will automatically restart. The first start can take up to 15 minutes - don't turn it off from charging!

๐Ÿ’ก

The firmware via the Mi Flash Tool removes all data, including viruses and corrupted system files, but requires an unlocked bootloader (except in cases of official update).

What to do after a reset: initial setup and data recovery

After a successful reset, the phone will start in initial setup mode, where it is important to properly configure key settings to avoid problems in the future:

  1. Language and region choice: Specify Russian and Russia (or your country) and the wrong region may restrict access to some MIUI features.
  2. Wi-Fi Connection: Use a stable network โ€“ this will be needed to restore backup.
  3. Sign in: First log in to Mi Account (if the phone is linked to it). Then add a Google Account to sync contacts and apps.
  4. Data recovery: If you backed up through Settings โ†’ Backup, select Restore from backup. For photos and videos, use Google Photos or Mi Cloud.

Pay attention to the privacy settings:

  • ๐Ÿ”’ In the Settings section โ†’ Confidentiality disable Personalized Recommendations and Send Usage Data if you do not want to share information with Xiaomi.
  • ๐Ÿ“ B Settings โ†’ Location limit access to geodata for unnecessary applications.

If the phone is running slower than before the procedure, check:

  • ๐Ÿ”„ Update. MIUI Up to the latest version in Settings โ†’ The phone. โ†’ Updating the system.
  • ๐Ÿงน Clear the cache in Settings โ†’ Warehouse โ†’ Cleanup.
  • ๐Ÿ›ก Turn off unnecessary background processes in Settings โ†’ Battery โ†’ Energy saving regime.

Common Mistakes and How to Avoid Them

Even when following instructions, users often encounter problems, and here are the most common mistakes and ways to solve them:

Problem.Reason.Decision
Phone is not included in RecoveryWrong button combination or discharged batteryCharge the phone to 30% and try again. Some models (POCO F1) require holding the buttons for 20+ seconds.
After reset, asks for an old passwordXiaomi account is linked to the device (Mi Account protection)Enter the password from Mi Account. If you forgot, restore it via account.xiaomi.com.
Reset is 50% or 99% hanging.Damaged system files or unstable power supplyConnect your phone to charge and wait until it's finished (it can take up to 30 minutes). If it doesn't work, use the Mi Flash Tool.
No net after resetResetting the APN or IMEI settingsGo to Settings. โ†’ SIM-maps and mobile networks โ†’ Access points (APN) Download the operator settings automatically.

If the phone stopped seeing after the reset SIM-map, check it out:

  1. Physically connect the card (remove and re-insert).
  2. Network settings: Settings โ†’ SIM-map โ†’ Select the network (select Automatically).
  3. IMEI: dial *#06# โ€“ if zeros are displayed instead of the number, you will need to restore using Engineering Mode (power users only!).

โš ๏ธ Attention! On dual-SIM devices, when reset, the slot-based number binding may "slip" after reset. โ†’ SIM-map โ†’ Management SIM-maps and reassign the main card if necessary.

FAQ: Answers to Frequent Questions

Can I reset Xiaomi without a password from Mi Account?
No, if the phone has Mi Account protection activated. Even after resetting via Recovery, the system will require you to enter your username and password when you first turn on. The only exceptions are: The phone was not tied to the account before the reset. You disabled Find the device in Mi Account settings before the reset. Device older than 2018 (on some models, the protection turned off automatically after the reset). If you forget the password, restore it on account.xiaomi.com or contact Xiaomi with proof of ownership of the device (check, box).
Will the unlocked bootloader reset after a hard reset?
No, the unlocked bootloader will remain unlocked, but: If you select the Clean all and lock option in the Mi Flash Tool, the bootloader will lock. On some models (Redmi Note 8 Pro, POCO F2 Pro) after reset via Recovery, you may need to re-unblock to install custom firmware. Check the bootloader status with the command in Fastboot: fastboot oem device-info If Device unlocked: true, the bootloader is unlocked.
How to reset Xiaomi if the screen is not working (broken display)
There are two options: Connecting to a PC through ADB: Install Android SDK Platform-Tools. Connect your phone to your PC and execute the commands: Adb shell recovery --wipe_data Fastboot Firmware: Use the Mi Flash Tool (Instructions in Method) 3). If the phone is not identified in Fastboot, try keeping Volume down. + Nutrition 30 If the screen responds to touch but does not display the image, connect the phone to an external monitor via a touch screen. USB-C to HDMI Adapter (works on Xiaomi) 11/12/13, Redmi K40/K50).
Why is Xiaomi not turned on after the reset?
Possible causes and solutions: ๐Ÿ”‹ Battery discharge: plug in to charge for 30 minutes, then try turning on. ๐Ÿ”„ Hanging on the logo: pinch the power + Volume up 20 seconds for forced reboot. ๐Ÿ›  Damaged firmware: Sweep through the official MIUI via the Mi Flash Tool (see Method 3). ๐Ÿ”Œ Iron problems: if the phone doesn't respond to charging and buttons, the motherboard may have been damaged (repair needed).If the phone vibrates when connecting to charging but doesn't turn on, try logging in to Fastboot (Loudness down) + Food) and re-sew.
Can the reset be cancelled after it is launched?
No, the reset process cannot be interrupted or reversed. If you have started resetting through settings or Recovery, wait until it is completed. Interrupting the process (e.g., battery extraction or forced shutdown) can result in: IMEI loss (phone will not catch the network); /data partition damage (cyclical boot); Fastboot firmware needing. If the reset has been suspended in one step for more than 30 minutes, wait another 10 minutes. If nothing has changed, perform a forced reset (Power + Volume up 15 seconds) and repeat the procedure.