How to return factory settings on Xiaomi smartphone: all ways to reset

Resetting Xiaomi to factory settings is a radical but sometimes necessary step to solve software problems. Whether your Redmi Note 12 slowed down after the upgrade, contracted a virus or you just want to sell the device, a proper reset will return the smartphone to a β€œclean” state. However, an uncontrolled reset can lead to data loss, blocking the Mi Account or even β€œbricking” the device, if done through informal tools.

In this article, we will take a look at all the current reset methods (through settings, recoveries and Fastboot), explain when to use them, and warn against common errors. We will focus on the nuances for devices with a locked bootloader and phones tied to a Xiaomi account. If you have never encountered such procedures, don’t worry: we will give step-by-step instructions with pictures and videos (where this is critical).

When do I need to reset to factory settings?

Resetting is not a panacea, but in some cases it does help:

  • 🐒 The smartphone slowed down to an unacceptable state (lags, hanging, long download applications).
  • πŸ”„ After updating MIUI critical bugs (departures, overheating, battery discharge in an hour).
  • 🦠 Suspicion of viruses or spyware (status line advertising, unknown applications).
  • πŸ”’ You have forgotten the pattern lock or PIN-The code and unlocking through Mi Account is not working.
  • πŸ’° Preparing the phone for sale or transfer to another user.
  • πŸ› οΈ Unsuccessful firmware (the device only loads into a recavery or Fastboot).

However, resetting won’t help if the problem is hardware: a broken screen, a faulty battery or a damaged motherboard. In such cases, contact the service center. It is also useless to reset the phone if it is locked by the operator (for example, when buying under a contract) – here you need an unlock code.

⚠️ Note: On Xiaomi devices with a blocked bootloader, a reset via Fastboot can result in complete loss of performance if you do not follow the official unlock procedure.

πŸ“Š Why you want to lose Xiaomi?
The device is braking.
I'm getting ready to sell.
Forgot my password.
After a failed update
Another option

Preparation for resetting: what to do in advance

Before you click the Reset button, follow the mandatory steps to avoid losing important data and avoiding problems:

  1. Back up. Use the built-in tool. MIUI (Settings β†’ The phone. β†’ Backups or third-party services (Google Drive, Mi Cloud) are especially important to save: πŸ“± Contacts (export to.vcf). πŸ“· Photos and videos (copy to PC or cloud). πŸ”‘ Passwords from Wi-Fi and apps (use Google Smart Lock or KeePass).

Mi Account

Mi Cloud Activation Lock

Charge the battery at least 50%.

soft-brick

Remove the memory card and the SIM.

They are not affected by the reset, but it is better to be safe.

If you reset your phone before selling, be sure to log out of all accounts (Google, Mi Account, Samsung Account, if any) and turn off factory protection (Settings β†’ Google β†’ Security β†’ Find the device).

Backup important data|Remember the username/password of Mi Account|Charge the battery. >50%|Extract SIM and SD-map|Get out of all accounts-->

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

This is a method that works if the phone turns on and responds to touch, and it's the simplest and doesn't require any additional tools.

  1. The system will be asked to PIN-code or pattern lock for confirmation.

Once you reboot, you'll see the screen of the initial setup, like after you buy it, and if the phone requests Mi Account data, enter it -- that's OK for account-based devices.

Xiaomi modelThe path to reset on the menuNotes
Redmi Note 10/11/12Settings β†’ About Phone β†’ Backup and Reset β†’ Resetting settingsYou may need confirmation via SMS
POCO X3/X4/X5Settings β†’ System β†’ Additional β†’ Reset parameters β†’ Delete all dataOn some firmware, the item is called Recovery and Reset.
Mi 11/12/13Settings β†’ About the phone β†’ Resetting settingsSupports reset without deleting files (settings only)
Black Shark 4/5Settings β†’ System β†’ Reset β†’ Erase all dataGaming smartphones may have additional reset options for performance

⚠️ Attention: On some firmware MIUI (Especially Chinese versions) after reset, the old version of the software can automatically install. To avoid this, before reset, update your phone to the latest version through Settings. β†’ Updating the system.

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

If your smartphone is stuck on the logo, does not respond to touch or is locked, use recovery mode, which works even without access to the main system.

  1. Turn off your phone. If it's frozen, press the power button for 10 to 15 seconds.
  2. Press the button combination to enter the Recovery: For most models: Power button + Volume up. For POCO and some Redmi: Power button + Volume up + Volume down.

Mi

volume

feed-in

Wipe Data

Wipe All Data

Clear All Data

Confirm

Reboot

If the Recaveri menu doesn't have Wipe Data, you have a customized Recaveri (e.g. TWRP) installed.

  1. Select Wipe β†’ Advanced Wipe.
  2. Check Dalvik/ART Cache, System, Data, Internal Storage (if you want to erase everything).
  3. Swipe for confirmation and wait for the end.
  4. Turn your phone into Fastboot mode: Turn off the device. Press Power button + Volume down for 5-10 seconds. Connect the phone to your PC via USB.

Open the command line.

platform-tools

Shift + right mouse button

Open the PowerShell window here

Follow the commands in order:

fastboot devices

(Your phone serial number should be displayed. If not, check the drivers.)

fastboot erase userdata


fastboot erase cache




fastboot reboot

If after these commands the phone does not load or if there is an error FAILED (remote: 'Flashing is not allowed'), then you have a locked bootloader.

  1. Unlock the bootloader through the official Xiaomi tool (you will need a tied Mi Account and wait 7-30 days).
  2. Once unlocked, repeat commands or run a clean firmware through fastboot flash all [file name].img.
  3. Check the workability. Make sure it works: πŸ“Ά Mobile Network (Call and Check the Internet). πŸ“· Cameras (take a test photo). πŸ”Š Speakers and microphone (record voice notes). πŸ”‹ Charging (connect the charger).

If the phone is slower than before after reset, it may be that the background processes are not optimized yet. Give the system 1-2 days to β€œstay down” or manually disable unnecessary applications in Settings β†’ Applications β†’ Application Management.

πŸ’‘

After reset, do not restore data from the backup of the old firmware to the new version of MIUI. This can cause conflicts and repeated lags.

FAQ: Answers to Frequent Questions

❓ Can Xiaomi be dropped without data loss?
No, a full reset always deletes user data (photos, messages, apps). However, MIUI has the option to Reset without deleting files (available on some models in Settings β†’ About Phone β†’ Backup and Reset). It resets only system settings, but does not guarantee a solution to all problems.
❓ The phone after the reset asks for an old password from Mi Account I don't remember?
This is Mi Cloud Activation Lock, anti-theft. Solutions: Remember your password or restore it through account.xiaomi.com. If you bought your phone with your hands, contact the previous owner and ask them to remove the device from your account. Contact Xiaomi with proof of purchase (check, box). Service centers without official access will not be able to unlock the phone β€” this violates Xiaomi policy.
❓ How to Reset Xiaomi if the Screen is Not Working (Broken Display)?
If the screen does not respond to touch, but the image is: Connect the phone to the PC via USB and use the mouse through OTG-Adapter. Control the cursor to navigate the reset menu. If the screen is completely black or broken: Connect the phone to the PC and use it. ADB-Adb shell recovery: Adb shell recovery --wipe_data Or run a clean firmware through Fastboot (see Method) 3). This requires an unlocked bootloader and experience with ADB.
❓ Will photos be deleted from the memory card when reset?
No, the reset only affects the phone's internal memory. SD-However, if you have selected Format Data in the Recovery, some custom firmware can format the memory card. SD-card before reset to avoid accidental deletion.
❓ Can the reset be cancelled after the start of the process?
No, once the reset is confirmed, the process is irreversible. Interruption (e.g., battery pulling or forced reboot) can lead to: πŸ”„ Bootloope (cyclical reset). πŸ—ƒοΈ Losing the data partition (the phone will ask for a password even after resetting). πŸ”§ If the reset is stuck for a long time (more than 30 minutes), wait for the battery to discharge or contact the service.