How to completely clean the Xiaomi Redmi phone to factory settings: 3 proven ways

Resetting Xiaomi Redmi to factory settings is a radical but sometimes necessary solution to fix software failures, prepare the device for sale or delete personal data.The procedure erases all user files, applications and settings, returning the smartphone to the โ€œout of the boxโ€ state. However, the wrong approach can lead to the loss of important data or even locking the device โ€” especially if it is a model with an unlocked bootloader or custom firmware.

In this article, weโ€™ll break down three official reset methods (via settings, Recovery Mode and Mi Flash Tool), explain how to prepare for the procedure, and warn of common errors. The instructions are relevant for all modern Redmi models, from the budget Redmi A2 and Redmi 12C to the flagship Redmi K60 Pro and Redmi Note 13 Pro+. If your phone is stuck on the logo, does not respond to touch or requires reset before selling, you will find working solutions here.

When you need a factory reset: 5 good reasons

Resetting is not a panacea, but in some cases it is the only way out.

  • ๐Ÿ”„ System lags and brakes: The phone is slow, applications are spontaneously closed, and cleaning the cache is not helpful. Often conflicting updates or infected software are to blame.
  • ๐Ÿ“ฑ Preparing for sale or transfer: To prevent the new owner from accessing your accounts, photos or messages.
  • ๐Ÿ”’ Removing viruses or spyware: If the antivirus detects threats that are not removed by standard methods.
  • ๐Ÿ”ง Failures after update MIUI: For example, after the transition to MIUI 14 or HyperOS lost sound, camera or Wi-Fi not working.
  • ๐Ÿ“ต Forgotten pattern lock or PIN-If you canโ€™t unlock the screen and Find My Device doesnโ€™t help.

But resetting doesn't always solve the problem, like if the phone doesn't turn on because of a hardware malfunction (damaged motherboard, charging connector), or if the battery is swelling, it needs repairs, not software reboots. SIM-card (for example, if the network is not catching due to a damaged communication module).

โš ๏ธ Note: On Redmi models with an unlocked bootloader, a reset via Recovery may result in data loss in the section /data, If you've previously installed custom firmware, then after resetting, the phone can boot up to Fastboot with error number. OS installed.

๐Ÿ“Š Why do you want to lose your Xiaomi Redmi?
Remove the lags and brakes
Prepare for sale
Remove viruses
Correct errors after updating
Forgot my password.
Other

Preparing for reset: how to save data and avoid errors

Before resetting, make sure to back up important files. Even if you plan to reset your phone due to viruses, it is better to be safe - some data (such as saving games or notes) may not be restored after re-authorizing in your Mi Account.

  • ๐Ÿ“ Photos and videos: Copy them on a computer or in the cloud (Google Photos, Mi Cloud). MIUI 12+ You can use the built-in Backup function in Settings โ†’ The phone. โ†’ Backup and reset.
  • ๐Ÿ“ฑ Contacts and Messages: Sync with Google Account or export to.vcf.
  • ๐ŸŽฎ Application data: For games, use the Google Play Games or Mi Account binding. For instant messengers (WhatsApp, Telegram), make a manual backup.
  • ๐Ÿ”‘ Passwords and logins: Export them from the password manager (e.g. Google Password Manager or Bitwarden).

Pay special attention to the binding of the Mi Account. After the reset, the phone may require you to enter the username and password from the last associated account (Mi Cloud Activation Lock function). If you forget the data, restore it in advance. On models with HyperOS (for example, Redmi Note 13), this check can take up to 72 hours!

Type of dataHow to savePost-discharge recovery
Photos/videoCopying on PC or Google PhotosAutomatically when logging into your account
ContactsSynchronization with Google AccountRestored when you add an account
Messages (SMS)Export via Settings โ†’ Applications โ†’ Messages โ†’ BackupImport from a.xml file
AnnexesListing through Google Play โ†’ LibraryInstallation manually or through Mi Cloud
System settingsBackup in Settings โ†’ Additional โ†’ BackupRecovery from.mbk file

โš ๏ธ Note: If you use Redmi root-rights or custom Recovery (for example, TWRP), Standard reset via settings may not clear the partition /data In this case, use the command fastboot erase userdata or format via TWRP.

โ˜‘๏ธ Checklist before reset

Done: 0 / 5

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

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, and it's relevant for all versions of MIUI and HyperOS.

  1. Open Settings (the gear icon on the main screen).
  2. Go to About Phone (in HyperOS โ€“ About Device).
  3. Select Backup and Reset (or Reset Settings in Newer Versions).
  4. Slip on Reset settings, then select Erase all data.
  5. If required, enter PIN-code.
  6. Confirm the action by clicking Reset the phone.

It takes 5-15 minutes, and the phone will reboot and start setting up as new, and at this point, you can skip the account binding if you plan to sell the device.

On some models (e.g. Redmi Note 11 or Redmi 10), after a reset, a message may appear: "This device has been reset. To continue, log in to an account that was previously used on this device." This is Mi Cloud Activation Lock - enter data from the last associated Mi Account.

๐Ÿ’ก

If after reset, the phone asks for an old password, but you do not remember it - try to restore access through [Xiaomi service] (https://account.xiaomi.com/). In extreme cases, you will need to contact the service center with proof of purchase.

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

If Redmi is stuck on the logo, does not respond to touches or is blocked, use Recovery Mode. This method works even without access to the system, but requires care - incorrect actions can lead to loss of data on internal memory.

  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 Redmi Note 9/10/11: Volume up + Volume down + Power. For Redmi K50/K60: Volume up + Power (hold 10 seconds).

Mi

Recovery

Use volume buttons for navigation and power button for selection.

Wipe Data

Clear Data

Wipe All Data

Reboot

If the Recovery menu is in Chinese, focus on the location of the items:

  • ๐Ÿ“› The first item is Reboot (reboot).
  • ๐Ÿ—‘๏ธ Second or Third: Wipe Data (cleanup).
  • ๐Ÿ”ง The latest - Connect with MIAssistant (for firmware via PC).

โš ๏ธ Note: On models with a bootloader, a reset via Recovery may result in an error called "This device is locked." In this case, you will need to unlock through the Mi Unlock Tool (the official tool of Xiaomi).

What happens if the Recovery Mode does not open?
If the phone vibrates after holding the buttons, but the menu does not appear, try: 1. Connect the charger (sometimes you need a minimum of 5% charge). 2. Use another combination of buttons (for example, Redmi 9A needs Volume Down + Power). 3. Try again after completely discharging and charging the battery. If nothing helps, only the firmware through Fastboot remains (see Method 3).

Method 3: Hard reset via Fastboot (for power users)

This method is used if:

  • ๐Ÿ”„ The phone doesnโ€™t even load in Recovery.
  • ๐Ÿ”ง All partitions need to be cleaned completely (for example, before the custom OS firmware is installed).
  • ๐Ÿ“ฆ Residual data must be deleted after a failed update.

The work will require:

  • ๐Ÿ’ป Computer with drivers installed ADB/Fastboot.
  • ๐Ÿ”Œ Cable USB Type-C (original, undamaged).
  • ๐Ÿ› ๏ธ Mi Flash Tool (for firmware) or Platform Tools (for fastboot commands).

Instructions:

  1. Turn off your phone and put it into Fastboot mode: Press Volume Down + Power for 10 seconds. Connect your phone to your PC.

CMD

Platform Tools

fastboot devices

If the phone is determined (its serial number will appear), continue.

fastboot erase userdata


fastboot erase cache




fastboot format:ext4 userdata




fastboot format:ext4 cache

fastboot reboot

On HyperOS models (e.g. Redmi Note 13 Pro+) the following metadata partition may need to be cleaned further after the fastboot erase userdata command:

fastboot erase metadata

Without it, the phone can get stuck on loading.

โš ๏ธ Note: Fastboot format commands completely erase data without recovery. If you plan to sell your phone, after this cleaning, the binding to the Mi Account may remain - check this in Settings โ†’ Post-discharge accounts.

๐Ÿ’ก

Fastboot reset is the most radical method, only if the first two methods didn't work, or if you're confident in what you're doing, and errors in commands can lead to a build-up of the device.

Typical Resetting Mistakes and How to Avoid Them

Even following the instructions, users often encounter problems, and here are the most common mistakes and solutions:

Mistake.Reason.Decision
"This device is locked" on FastbootBlocked bootloader (bootloader)Unlock with Mi Unlock Tool (requires binding to Mi Account and waiting 7-15 days)
Phone asks for old Mi Account after resetMi Cloud Activation LockEnter your last account details or contact Xiaomi with proof of purchase
Reset is not complete, the phone vibrates and turns offWeak battery charge (less than 30%)Charge your phone to at least 50% and try again
After reset, there is no network or Wi-Fi is not working.Failure in the modem or EFS sectionSwipe your phone through the Mi Flash Tool with Clean All tick
Recovery does not open, the phone restartsDamaged recovery section or hardware malfunctionSwitch Recovery through Fastboot or contact the service

If the phone doesnโ€™t turn on at all after reset (black screen, no vibration), there are two possible reasons:

  1. ๐Ÿ”‹ Full battery discharge โ€“ connect to charging for 30-60 minutes.
  2. ๐Ÿ”ง Firmware damage โ€“ you will need to reflash the device through the Mi Flash Tool with the choice of Clean All and Lock mode.
  3. Disable unnecessary functions: ๐Ÿ“ก Settings โ†’ Connections โ†’ Mobile network โ†’ Autoloading data (saving traffic). ๐Ÿ”‹ Settings โ†’ Battery โ†’ Performance mode (select Balanced mode). ๐Ÿ“ฑ Settings โ†’ Annexes โ†’ Auto-run (disable for unnecessary programs).

HyperOS models (such as the Redmi Note 13) may require resetting gestures and app resolutions after reset, and check the sensors (gyroscope, compass)โ€”sometimes they are reset to factory calibrations after reset.

If you have reset your phone due to viruses, after data recovery:

  • Install an antivirus (such as Malwarebytes or Dr.Web).
  • Check the permissions of applications in Settings โ†’ Applications โ†’ Permissions.
  • Don't install it. APK-files from unverified sources.

FAQ: Answers to Frequent Questions

Can data be recovered after resetting?
If you backed up, yes. Without it, recovery is possible only with specialized programs (for example, Dr.Fone or EaseUS MobiSaver), but the chances are low - especially if the phone was actively used after the reset (new data overwrites old ones).
Will the factory setup reset? SIM-map SD-map?
No, the reset only affects the phone's internal memory. SIM-map (contacts, SMS) The microSD remains intact, but if you've used it, SD-The card is an internal memory (Adoptable Storage function), it will also have to be formatted.
Why does the phone need an old password after resetting?
This is a feature of Mi Cloud Activation Lock, which is anti-theft protection. If you don't remember the data from the last Mi Account you linked, try: Restore your password through the official website. Contact Xiaomi with a check to buy. If you bought your phone from hand, contact the previous owner. Without these actions, you can not bypass the lock (even through firmware).
How to reset Redmi if you forget your pattern lock?
There are three options: Use Find My Device from Google (if sync is enabled); Reset via Recovery Mode (see Method 2); Swipe your phone through Mi Flash Tool (see Method 3); If the phone has Mi Account enabled, you will need to enter its data after the reset.
How long does it take to dump?
Depending on the method: 5-15 minutes through settings; 10-20 minutes through Recovery; 5-10 minutes via Fastboot (plus PC time); if the process takes more than 30 minutes, the phone may have stalled; in this case, force it to restart (hold the power button for 15 seconds) and try again.