How to completely reset your Xiaomi phone to factory settings: 3 proven ways

Why you might need to reset Xiaomi to factory settings

Resetting a Xiaomi, Redmi or POCO smartphone to factory settings is a radical but sometimes necessary solution, most often resorted to when the device starts to malfunction: freezes, overheats, discharges quickly or emits errors when installing applications. In 80% of cases, a hard reset helps restore the phone to its previous performance by removing accumulated digital debris, conflicting updates or viruses.

Another common reason is to prepare the phone for sale, and even if you delete all files manually, personal data (logins, passwords, message history) can remain in the system folders, and a full reset is guaranteed to clear internal memory, including hidden data and cache partitions, which is especially important for MIUI models where Xiaomi accounts are tied to the device at the firmware level.

Finally, a reset may be required after a failed firmware update, when the phone is stuck on the Mi logo or gives off a Fastboot error. In such cases, recovery through Recovery Mode is often the only way to resuscitate the device without going to the service center.

๐Ÿ“Š Why you want to lose Xiaomi?
The phone's slowing down a lot.
Preparing for sale/gift
Forgot the pattern lock
After a failed update
Another reason.

Preparation for resetting: what to do in advance

Before you start resetting, make sure you donโ€™t lose important data. On Xiaomi phones with MIUI 14 and later, resetting through settings automatically unties your Xiaomi account, but only if the device is connected to the Internet at the time of the procedure. Otherwise, you will need to enter your username and password after the reboot.

Here is the checklist of mandatory actions:

Make a backup of contacts and photos|Record the username/password from the Xiaomi account|Make sure your phone is at least 50 times charged%|Disable Google Photos and other cloud syncs|Get out. SIM-card and memory card (if any)-->

Pay special attention to backup. MIUI has a built-in archiving feature: Settings โ†’ About Phone โ†’ Backup and Reset โ†’ Local Backup. It saves:

  • ๐Ÿ“ž Contacts and call log
  • ๐Ÿ“ธ Photos and videos (except for those on the SD-map)
  • ๐Ÿ“ฑ System settings (Wi-Fi, wallpaper, sound profiles)
  • ๐ŸŽฎ Data from certain games (if supported)

However, there are no remaining:

  • ๐Ÿ”’ Passwords from apps and browsers
  • ๐Ÿ’ณ Data of banking applications (Sberbank, Tinkoff, etc.)
  • ๐Ÿ“ฅ Downloads from Telegram, WhatsApp, messengers
  • ๐ŸŽต Music and podcasts downloaded offline

๐Ÿ’ก

If you forget your Xiaomi account password, try to restore it through account.xiaomi.com before the reset, and after the procedure, your phone may lock for 72 hours if you enter incorrect data 5 times in a row.

Method 1: Reset via phone settings (the safest)

This method is suitable for all working smartphones Xiaomi, Redmi and POCO running MIUI 12-14. the main advantage is simplicity and minimal risk of errors. Instructions are relevant for models 2019-2026 (including Xiaomi 13/14, Redmi Note 12, POCO F5).

Step-by-step procedure:

  1. Open Settings (the gear icon on the main screen).
  2. Scroll down and select About Phone.
  3. Click Backup and Reset.
  4. Select Settings Reset.
  5. Tap Delete all data (entry may be required) PIN-code-key).
  6. Confirm the action by clicking Reset the phone.

It takes 3-10 minutes depending on the model, the phone will reboot and start setting up as new, and the welcome menu will appear on the screen with the choice of language.

What to do if the โ€œDump the phoneโ€ button is inactive?
If the gray reset button does not press, check: 1. Is the phone connected to the Internet (Wi-Fi or mobile data). Without a network, MIUI blocks reset due to the link to the account. 2. Is there enough battery power (minimum 20%, but better 50%). 3. Is the developer mode with USB debugging enabled - in this case, the reset can be blocked.

โš ๏ธ Note: Some models (e.g. Redmi) 9A or POCO M3) After reset, you may need to re-activate via Mi Account, even if you have untied the device before!

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

If your smartphone is stuck on the logo, reboots constantly or doesnโ€™t respond to touch, youโ€™ll need to use Recovery Mode, which works on 99% of Xiaomi devices, but requires care โ€“ wrong actions can lead to loss of IMEI or lock the bootloader.

Instructions for entering Recovery:

  1. Turn off the phone (press the power button for 10-15 seconds).
  2. Hold the combination: ๐Ÿ”˜ Power button + Loudness up (for most models) ๐Ÿ”˜ Power button + Loudness down (for) POCO X3, Redmi Note 10 Pro)

Mi

In Recovery Mode, volume buttons (up/down, move, power, select) are used.

  1. Select Wipe Data (or Wipe & Reset on newer versions).
  2. Confirm Wipe All Data.
  3. Wait until the end (the screen will display the inscription Data wipe complete).
  4. Go back to the main menu and select Reboot โ†’ Reboot to System.

Step-by-step:

  1. Download and install Googleโ€™s Platform Tools.
  2. Turn off the phone and press Power + Volume down to enter the Fastboot (there will be a hare in a hat-eared hat on the screen).
  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 If the device is determined (the serial number will appear), continue.
  5. Run reset: fastboot erase userdata fastboot erase cache fastboot reboot

โš ๏ธ Note: On some models (Xiaomi) 11T, Redmi K40) After fastboot erase commands, you may need to flash through the Mi Flash Tool, otherwise the phone will not boot.

๐Ÿ’ก

Fastboot reset erases data completely, but it doesnโ€™t remove the Mi Account binding.If you forget your password, this method wonโ€™t help you bypass the lock!

Frequent Resetting Mistakes and How to Avoid Them

Even when following instructions, users face problems, and here are the most common mistakes and solutions:

Mistake.Reason.Decision
Phone asks for password after resetXiaomi account tied to deviceEnter the username/password from Mi Account. If you forgot, restore it via account.xiaomi.com
Discharge interrupted by 50%Data partition damaged or lack of chargeCharge your phone to 100% and try again. If it doesn't work, use Fastboot.
After reset, there is no network (no IMEI)The modem or nvram partition is damagedRestore your IMEI with Engineer Mode (code #4636###) or search your phone again.
The phone is stuck on the Mi logoIncompatible firmware or bootloop errorLog in to Recovery and reset. If it doesn't work, run the stock firmware through Mi Flash.

One particular problem is IMEI loss, which happens when you delete critical partitions when you reset through Fastboot.

  • ๐Ÿ“ต No network (on the operator's place) the inscription No service)
  • ๐Ÿ” In the settings IMEI is displayed as 0 or Null
  • ๐Ÿ“ž Impossible to call or send SMS

To restore the IMEI:

  1. Install the MTK Engineering Mode app (for MediaTek processors) or Qualcomm QPST (for Snapdragon).
  2. Enter the code #4636## and select Information.
  3. Find the original IMEIs (they are listed on the box or under the battery) and enter them in the appropriate fields.
How to find out the original IMEI if there is no box?
IMEI can be found: 1. On the sticker under the battery (if removable). 2. In the check or warranty card. 3. Through the command line on the PC (if the phone is determined in Fastboot): fastboot getvar imei If the IMEI is lost irrevocably, they can only be restored through the service center with confirmation of purchase.

What to do after resetting: setup and recovery of data

After a successful reset, the Xiaomi phone will launch as new.

  1. Choose a language and region (for Russia โ€“ Russian Federation).
  2. Connect to Wi-Fi (required to activate Mi Account)
  3. Enter your Xiaomi account details (if the phone was tied).
  4. Set up a pattern lock or PIN-code.
  5. Restore data from the backup (if you did backup through MIUI).

โš ๏ธ Note: If you are recovering data from the Mi Cloud, make sure that the firmware version of the phone matches the version at the time of backup creation.

To speed up the settings:

  • ๐Ÿ”„ Restore contacts through Google Account (they are synced automatically).
  • ๐Ÿ“ท Transfer photos and videos from your computer or cloud (Google Photos, Yandex Drive).
  • ๐ŸŽฎ Install apps via Mi App Store or Google Play (use the list of My apps and games) โ†’ Library).
  • ๐Ÿ”ง Disable unnecessary system applications through Settings โ†’ Annexes โ†’ Removal of rights (saves charge).

After setting up, it is recommended:

  1. Update the firmware to the latest version (Settings โ†’ About the phone โ†’ System Update).
  2. Check the operation of sensors (gyroscope, compass, NFC) through the Test equipment (code # #4636##).
  3. Calibrate the battery: discharge the phone to 0%, then charge to 100% without interruptions.

๐Ÿ’ก

To avoid repeated crashes, install an antivirus (such as Dr.Web or Kaspersky) and clean the cache regularly through Settings โ†’ Storage โ†’ Clean.

FAQ: Answers to Frequent Questions

Can I reset Xiaomi without a password from Mi Account?
No, if the phone is tied to a Xiaomi account. Recovery or Fastboot requires you to reset your username and password. The only exceptions are: The phone was not tied to your account initially. You untied your device via the web version of Mi Account before resetting. Android One device (e.g. Mi A2/A3) that is not tied to MIUI. If you forgot your password, restore it through the official website. You can't reset the link without your account data, it's a measure of protection against theft.
Will the warranty be reset to factory settings after resetting?
No, resetting through settings or Recovery does not affect the warranty. The manufacturer considers this a standard maintenance procedure. However: If you used Fastboot for flashing, the warranty can be canceled (especially when unlocking the bootloader). The service center may refuse free repairs if the reset led to loss of IMEI or damage to the firmware. Tip: before contacting the service, return the phone to the stock firmware via Mi Flash Tool (instructions are available on the 4PDA forum).
How to reset Xiaomi if you forget the pattern lock?
There are 3 ways: Through Mi Account: On the lock screen, tap Forgot the password? โ†’ Enter the username/password from your Xiaomi account โ†’ Recovery: Turn off your phone, log in to Recovery Mode. + Volume up) and select Wipe Data. via Fastboot (if you don't remember Mi Account): Connect your phone to your PC and execute commands: fastboot erase userdata fastboot erase cache fastboot reboot โš ๏ธ The phone will then require you to enter your Mi Account data!
Can I reset only settings without touching files?
Yeah, in MIUI There's a partial reset option. โ†’ The phone. โ†’ Backup and Reset. Select Settings Reset (do not delete all data!) tick only the settings you want to reset (such as Network Settings or Application Settings) This will delete user settings but leave intact: ๐Ÿ“ธ Photos and videos ๐ŸŽต Music and downloads ๐Ÿ“ฅ Installed applications (but their data can be reset)
Why did the phone become slower after the reset?
This is a temporary phenomenon associated with: Background optimization: MIUI After the reset, it re-indexes the files and adjusts the cache. Give the phone 12 to 24 hours to "sweep." Auto-updates: After the reset, the system can automatically download application and firmware updates, consuming resources. Unoptimized settings: Turn off animation in Settings โ†’ Special facilities โ†’ Remove animation. If brakes are saved: Check the CPU load in Settings โ†’ Battery โ†’ Battery usage. disable auto-run of unnecessary apps via Settings โ†’ Annexes โ†’ Autostart. Reset again, but format the memory card before doing so (if you have one).