How to Reset Xiaomi to Factory Settings: 3 Ways + Error Solving

Resetting Xiaomiโ€™s smartphone to factory settings is a procedure that can be required in a variety of situations, from preparing the device for sale to fixing critical system failures. However, many users face problems: the device asks for a password from Mi Account after a reset, important data is lost or errors occur in the recovery process. This article will help avoid typical errors and perform the reset correctly - taking into account all the nuances of the 2026 MIUI firmware.

While it seems simple, the procedure has a few key points: for example, resetting through settings and resetting (recovery mode) work differently: the first method retains the link to the Xiaomi account, and the second can delete it. In addition, new models (for example, Xiaomi 14 or Redmi Note 13 Pro+) have additional protection measures that you should know about in advance.

In this article, we will discuss:

  • ๐Ÿ”„ 3 working reset methods (including hidden method for locked devices)
  • ๐Ÿ” How to Avoid Mi Account Lockdown After Resetting
  • ๐Ÿ“ฑ What to do if the smartphone does not turn on or hovers on the logo MIUI
  • ๐Ÿ’พ How to save data before reset (even if the phone does not respond to touch)
  • โš ๏ธ Common mistakes and their solutions (mistakes) 0x00000001, This device is locked and others.)
๐Ÿ“Š Why you are resetting Xiaomi to factory settings?
Preparation for sale
Removing lags and failures
Virus removal
Forgot the pattern lock
Another option

1.Resetting preparation: what to do necessarily

Before proceeding with a reset, make sure you follow all the critical steps.Neglecting preparation can result in data loss or locking the device due to being tied to Mi Account.

First and foremost, unplug your Xiaomi account from your device, and even if you remember the password, after resetting through Recovery, the system may require re-authorization, to avoid this:

  1. Go to Settings โ†’ Xiaomi Account โ†’ Sign out.
  2. Confirm the exit by entering the password from the account.
  3. Make sure that in the Settings โ†’ Memory โ†’ Backup is disabled synchronization with Mi Cloud.

Second, save the important data. Reset will delete:

  • ๐Ÿ“ธ Photos and videos (including hidden folders)
  • ๐Ÿ“ฑ Contacts (if not synced with Google)
  • ๐ŸŽฎ Game saving (if not linked to an account)
  • ๐Ÿ“ฅ Downloaded files from Download and other folders
  • ๐Ÿ”‘ Wi-Fi passwords (if not exported)

For backup, use:

  • ๐Ÿ–ฅ๏ธ Mi PC Suite (official software from Xiaomi for the Windows/macOS)
  • โ˜๏ธ Cloud services: Google Drive, Mi Cloud (unless your account is blocked)
  • ๐Ÿ“ Manual copying on PC via cable USB Type-C (in file transfer mode)

โš ๏ธ Warning: If you are resetting your device due to viruses or suspicious apps, do not connect it to your main PC without first checking with antivirus.

โ˜‘๏ธ Checklist before reset

Done: 0 / 5

2. Method 1: Reset via settings (the safest method)

This is a good method if the smartphone is turned on, touch-responsive and you have access to the settings menu, and the main advantage is that the device remains tied to the Mi Account, so the device remains locked after reset.

Instructions:

  1. Open Settings โ†’ About the phone โ†’ Reset settings.
  2. Select Erase all data (on some firmware - Delete all data and reset settings).
  3. Enter the password from the lock screen (if installed).
  4. Confirm the action by clicking Reset the phone.
  5. Wait for the reboot (usually takes 5-10 minutes).

Once the device is rebooted, it will prompt you to set it up as new. If you plan to sell or transfer your smartphone, don't sign in to your account, just turn it off after you first set it up.

This method works on all Xiaomi models, including:

  • ๐Ÿ“ฑ Xiaomi 13/14 series
  • ๐Ÿ“ฑ Redmi Note 12/13
  • ๐Ÿ“ฑ POCO F5/X5
  • ๐Ÿ“ฑ Black Shark 5/6 (gaming-smartphone)

โš ๏ธ Attention: On some firmware MIUI Global may request a Device Verification after resetting through the settings. If you haven't untied your Mi Account in advance, you'll need to enter your account password.

๐Ÿ’ก

If after resetting the phone hangs on the MIUI logo for a long time (more than 15 minutes), try forcibly rebooting it by holding the power button for 10-15 seconds. If this does not help, move to reset over the Recovery.

Method 2: Recovery Reset (Recovery Mode)

This method is used if the smartphone:

  • ๐Ÿ”„ Not on or getting stuck on the screensaver
  • ๐Ÿ”’ Blocked with a pattern lock/PIN-code
  • ๐ŸŒ It is very slow and does not respond to touch.

For entrance to Recovery:

  1. Turn off the device (if it is getting stuck โ€“ press the power button for 10-15 seconds).
  2. Press the button combination: For most models: Volume up + Power For POCO: Volume up + Volume down + Power For Black Shark: Volume down + Power (hold 10 seconds)

Mi Recovery

In the Recovery menu, the volume buttons (Up/Down - move, Power - select) are controlled.

  1. Select Wipe Data (or Wipe & Reset on older versions).
  2. Confirm the action by selecting Wipe All Data.
  3. Once completed, select Reboot to reboot.

Step-by-step:

  1. Turn off your smartphone.
  2. Press Volume Down + Power to enter the Fastboot (the image of a hare in a hat-eared).
  3. Connect the device to the PC.
  4. Open the command prompt (cmd) and type: fastboot devices If the device is determined (its serial number will appear), continue. If not, install the drivers.
  5. For a full reset, type fastboot erase userdata fastboot erase cache fastboot reboot.

โš ๏ธ Warning: Fastboot erase commands will delete all data without recovery.If you plan to flash the device again, download the official firmware for your model from Xiaomi Firmware and use the Mi Flash Tool.

Xiaomi modelCombination for FastbootFeatures
Xiaomi 13/14, Redmi Note 12/13Loudness down + NutritionRequires unlocking the bootloader (Bootloader)
POCO F4/F5Volume up + Nutrition (hold 10 seconds)You may need confirmation via Mi Account
Black Shark 5/6Volume up + Volume down + NutritionGame models have a separate Fastboot menu
Redmi 9/10Loudness down + NutritionSome firmware requires a connection to the PC

๐Ÿ’ก

Fastboot reset is the most radical method, it deletes all data, including system files, and can cause a device to "brick" if it's not done correctly. Use it only if other methods have not worked.

5.How to Unblock Mi Account After Resetting

One of the most common problems after a Xiaomi reset is a request for proof of ownership (This device is locked or Mi Account Verification).

  • ๐Ÿ”’ You didnโ€™t untie your account before resetting.
  • ๐Ÿ“ฑ The device was linked to another Mi Account (for example, if you bought used one)
  • ๐Ÿ”„ Reset was done via Recovery or Fastboot

Official way of unlocking:

  1. On the lock screen, enter the username and password from the Mi Account to which the device was associated.
  2. If you do not remember the data, restore access through the Mi Account website.
  3. If the device was purchased from hand and the previous owner did not untie the account, contact him for remote unlocking.

Unofficial methods (not work on all models):

  • ๐Ÿ“ง Send a request to support Xiaomi with a check to buy (can take up to 7 days).
  • ๐Ÿ”ง Use of the EDL-mode (requires special cable and software, risk of "brick").
  • ๐Ÿ“ฑ Firmware via Mi Flash Tool with Clean All tick (removes the link to the account, but erases everything, including IMEI).

โš ๏ธ Attention: Buying Xiaomi devices "with hands" without detachment Mi Account is fraught with the risk of remaining with a locked smartphone. โ†’ Xiaomi account โ†’ Status of device.

1. to withdraw from the Mi Account in your presence.

2. perform reset via settings (Settings โ†’ Resetting).

3. Turn on the smartphone after reset and show that the authorization request does not appear.-->

Typical errors in discharge and their decisions

Even if you do the instructions right, you can get errors, and let's look at the most common ones and how to fix them.

Mistake.Reason.Decision
This device is lockedThe device is tied to the Mi AccountEnter your account details or contact Xiaomi for support
0x00000001 (in Recovery)Damaged system filesSwipe the device through Fastboot official firmware
The smartphone hangs on the MIUI logoFailed reset or interrupted updatePress Power + Volume Up for 15 Seconds for Forced Reboot
E:unknown command (in Recovery)Incompatible version of RecoveryUpdate Recovery via Fastboot or flash custom (TWRP)
Not activated after dischargeBattery is drained or loader damagedCharge 30+ minutes, if it doesnโ€™t help โ€“ flash through EDL

If the IMEI is missing after the reset (no network):

  1. Check the IMEI with the code *#06#.
  2. If Null or Unknown is displayed, restore the backup of the NVRAM module (if any).
  3. If you do not have a backup, contact the service center (self-restore IMEI may be illegal).

On Xiaomi models 12T, Redmi Note 11 Pro+ and later, after a reset via Fastboot, access to the 5G-Solution: flash modem module separately through Mi Flash Tool.

7. Reset on custom firmware (TWRP, LineageOS)

If your device is running on unofficial firmware (TWRP, LineageOS, Pixel Experience, etc.), standard reset methods may not work.

For reset via TWRP:

  1. Boot in TWRP (usually Volume Up + Power).
  2. Select Wipe โ†’ Advanced Wipe.
  3. Check the boxes: Dalvik / ART Cache System Data Internal Storage (if you need to erase everything)

Swipe to Wipe

Recovery

โš ๏ธ Important: On some custom firmware, reset through TWRP This can cause you to lose access to Internal Storage, so you can avoid this by copying important files to the internal memory before resetting. SD-card.

If the device is not loaded after resetting:

  • ๐Ÿ“ฅ Flip the firmware again through TWRP or Fastboot.
  • ๐Ÿ”ง Make sure the firmware version is compatible with your model (e.g., the firmware for the Redmi Note 10 wonโ€™t work for the Redmi Note 10 Pro).
  • ๐Ÿ”„ Try to return stock Recovery with the command: fastboot flash recovery recovery.img (file recovery.img You can download from the official Xiaomi website).

FAQ: Frequent questions about Xiaomi reset

โ“ Can Xiaomi be dropped without data loss?
No, a full reset always deletes user data. However, you can: Back up via Mi Cloud or Google Drive; copy files to your PC manually; use backup apps (like Swift Backup for Android); If your device is locked, try connecting it to your PC in MTP mode (sometimes this works even without unlocking the screen).
โ“ Why does he need to use the old password from his Mi Account?
Even if you perform a factory reset, the device remains linked to the previous Mi Account unless it was explicitly unlinked before the reset. Contact Xiaomi with proof of purchase (check, box). โš ๏ธ On models 2023-2026 (for example, Xiaomi) 13T, Redmi Note 12: Unlocking with Support Can Take Up to 14 Days.
โ“ How to Reset Xiaomi if it Doesnโ€™t Turn on and React to the Buttons?
If the device is completely dead (not vibrating, not warming, not showing charging), try: Connect to charge for 30 to 60 minutes (possibly battery drained); Hold Power + Loudness down for 20 to 30 seconds (forced reset); If it doesn't help, connect to a PC and try to identify in Fastboot (fastboot team); in extreme cases, contact the service center for firmware through EDL (requires special equipment). If the device is warming or vibrating, but not turning on, perhaps a problem in the firmware or hardware malfunction (for example, from a battery drain).
โ“ Can you reset Xiaomi through a computer without a Fastboot?
Yes, there are two options: Mi PC Suite: Connect the device to the PC. Open Mi PC Suite and select Backup โ†’ Recovery and reset. Follow the instructions on the screen. ADB-Teams (if debugging is included) USB): adb shell su wipe data (requires root rights). โš ๏ธ Both methods require that the device be switched on and defined by a PC.
โ“ What to do if there is no network after resetting (propal) IMEI)?
This is a common problem when resetting via Fastboot or unofficial firmware. IMEI via the Engineering Menu: Dial ##4636##. Select Information โ†’ Run Ping Test. If. IMEI displayed as Null, you will need to firmware module NVRAM. Sweep through the official firmware through the Mi Flash Tool with the Clean All and Lock tick. Contact the service center (self-change) IMEI It may be illegal in some countries). โš ๏ธ Newer models (Xiaomi 13, Redmi Note 12) IMEI It may be accompanied by an Invalid error. IMEI customized SIM-map.