How to Reset Xiaomi Device to Factory Settings and Recover Data: The Complete Guide

Resetting Xiaomi devices to factory settings is a procedure that can be required in a variety of situations, from preparing a gadget for sale to eliminating critical system failures. However, not all users know that an incorrect reset can lead to blocking Mi Account, loss of important data or even β€œbricking” the device.

We will look at all the current ways to reset for smartphones (Redmi, POCO, Mi), tablets and Xiaomi TVs, including Hard Reset via Recovery, reset through system settings and restore through Mi Cloud. Particular attention will be paid to the nuances of working with a locked Bootloader and devices associated with a Mi Account. If you plan to sell or transfer the gadget to another person, here you will find instructions for the complete deletion of personal data without the possibility of recovery.

When do I need to reset to factory settings?

Reset Xiaomi to factory state is worth in several cases:

  • πŸ”„ System failures: the device is constantly restarting, "laying" or emitting errors such as com.android.phone.
  • πŸ“± Preparation for sale: all personal data, including photos, messages and passwords, must be deleted.
  • πŸ”’ Removing viruses: if the antivirus detects malware that is not removed by standard methods.
  • πŸ”„ Reverse to old firmware: after a failed update MIUI or custom-fixing.
  • πŸ“΅ Unlocking the pattern lock: if you forget your password or fingerprint.

However, resetting doesn’t always solve the problem. For example, if Xiaomi doesn’t turn on due to hardware malfunctions (damaged motherboard, charging connector), then Hard Reset won’t help – it will need repairs. It’s also useless to reset the device when locked through Find My Device (Google), since it is tied to a Google account, not to the gadget itself.

⚠️ Note: On devices with unlocked Bootloader (for example, after installation) TWRP) Recovery reset may result in data loss in the section /data Always back up through Nandroid Backup before you manipulate the firmware.

πŸ“Š How often do you reset your devices to factory settings?
Never dropped it.
1 time per year for cleaning
Just before the sale.
With each update of MIUI
Another option

Preparation for resetting: data backup

Before resetting Xiaomi, you need to save important information. Even if you plan to restore data through the Mi Cloud, some files (such as saving games or setting up apps) may not sync automatically.

  1. Sync with Mi Cloud: Go to Settings β†’ Mi Account β†’ Mi Cloud and enable backup for contacts, notes, messages and photos. Make sure you have enough space in the cloud (free 5GB is provided).
  2. Local Copy: Connect your device to your PC and copy the DCIM (photo/video), Download (download) and WhatsApp/Databases (chat backup) folders.
  3. Export settings: In Settings β†’ Additional β†’ Backup and Reset, select Local Backup – this will save Wi-Fi settings, wallpaper and system settings.
  4. Conservation IMEI: For devices with two SIM-map IMEI1 and IMEI2 (dial *#06# in the dialer. This will be useful if the network disappears after the reset.

If you are using POCO or Redmi with an unlocked Bootloader, we recommend you create a full backup through TWRP:

1. Download to TWRP (hold Power + Volume Up).


2. Select Backup β†’ mark the Boot, System, Data sections.




3. Save the backup to the SD-card or OTG-drive.

Synchronize data with Mi Cloud

Copy photos and videos on PC

Save the IMEI of the device

Delete your Google account (if you are planning to sell)

Charge the battery at least 50 times%-->

How to reset Xiaomi to factory settings

There are three main reset methods and the choice depends on the state of the device:

MethodWhen to useDo you need a password?Deleting Mi Account?
Through settingsThe device is operating stably.Yes (password/fingerprint)No.
Through Recovery.System failures, freezesNo (but you may need a Mi Account after a reset)No.
Through Fastboot (Mi Flash)"Overwhelming", deletion of Mi AccountNo.Yeah (with full flashing)
Find My Device (Google)Device lost/stolenYes (Google password)No.

Method 1: Resetting through system settings

The safest method is suitable for working devices:

  1. Open Settings β†’ About Phone β†’ Memory (or Settings β†’ Additional β†’ Backup and Reset).
  2. Select Resetting β†’ Delete all data.
  3. Enter the screen lock password (if installed).
  4. Confirm the action by clicking Reset the phone.

The process will take 5-10 minutes, and after the restart, you will be asked to configure the device as new or restore data from the Mi Cloud.

Method 2: Hard Reset with Recovery

If your smartphone doesn’t boot or is stuck on the MI logo, use this method:

  1. Turn off the device (hold the Power for 10-15 seconds).
  2. Press Power + Volume Up before the Mi Recovery logo appears.
  3. Select the language (volume buttons) and confirm Wipe Data β†’ Wipe All Data.
  4. Confirm the action by entering the yes code (or swipe if the sensor is working).

⚠️ Note: On some models (Redmi Note 10 Pro, POCO X3 Pro) after reset via Recovery, you may need to enter data from Mi Account, which was associated with the device. If you do not remember the password, the device will become a β€œbrick” before unlocking through the official Xiaomi website.

What to do if you ask for an old Mi Account after a reset?
If the device requires data from the previous owner (when buying used), contact Xiaomi with a check to buy. In some cases, flashing through the Mi Flash Tool in clean all and lock mode will help, but this will delete all data irrevocably, including linking to the account.

Method 3: Complete Fastboot reset (for experienced)

This method is used if:

  • πŸ”“ You need to remove the binding to the Mi Account (for example, after buying a used device).
  • πŸ“± The device "buried" after a failed firmware.
  • πŸ”„ Refuse the device to another version MIUI.

This will require:

  • A computer with ADB/Fastboot drivers installed.
  • Firmware file for your model (download from the official website).
  • Mi Flash Tool (available on the unlock page)
1. Connect the device turned off to the PC, holding Volume Down.


2. In the Mi Flash Tool, select the downloaded firmware (.tgz format).




3. Press Refresh β†’ Clean All β†’ Flash.




4. wait until the completion (10-15 minutes).

πŸ’‘

If the device doesn’t turn on after you’ve run through Fastboot, try booting into Recovery and running Wipe Data. Sometimes, re-running with the Clean All and Lock option helps (but that will block Bootloader!).

Data recovery after resetting

After resetting, you can recover data in several ways:

1.Recovery through Mi Cloud

When you first set up the device, the system will prompt you to recover data from the cloud:

  1. Select Restore from backup copy β†’ Mi Cloud.
  2. Enter your Mi Account details.
  3. Mark the categories you need (contacts, messages, photos) and confirm your recovery.

Please note: photos and videos are restored in original quality only if you have enabled the option to Autoboot in Mi Cloud before reset, otherwise only thumbnails will be restored.

2.Local recovery from backup

If you have created a backup copy of SD-card:

  1. Connect the drive to the device.
  2. Go to Settings β†’ Additional β†’ Backup and Reset β†’ Local Backup.
  3. Select a backup file (.mbk format) and confirm the recovery.

3. Recover deleted files (for experienced)

If you don't backup, but you need to get your deleted data back, you can try programs like DiskDigger or EaseUS MobiSaver, but the chances of success depend on:

  • πŸ•’ The time after the reset (the earlier the better).
  • πŸ“± Device models (on Xiaomi with) UFS-Recovery is more difficult than on eMMC).
  • πŸ”„ Root rights (without them, programs see only a fraction of the data).

⚠️ Warning: Do not install recovery software on the device itself, which deleted files! This will overwrite memory sectors and reduce the chances of successful recovery. Always connect the drive to the PC and work from it.

πŸ’‘

If you are selling a device, be sure to untie it from Mi Account in Settings β†’ Mi Account β†’ Security β†’ Delete your account. Otherwise, the new owner will not be able to use the smartphone without your password!

Frequent mistakes and their solution

Even if you follow the instructions correctly, users face problems.

1. "This device is locked" (Mi Account)

If, after resetting, the device requires data from the previous Mi Account:

  • πŸ“§ Try to restore access to your account through the Xiaomi website (you need access to an email or phone associated with your account).
  • πŸ“„ If the device was bought used, ask the seller to unlock through the official form (a check or a sales contract will be required).
  • πŸ”§ In extreme cases, you can try to flash the device through Fastboot with the clean all and lock option, but this will delete all data and block Bootloader.

2. The device shall not be switched on after discharge

Possible causes and solutions:

Symptoms.Probable causeDecision
Black screen, no response to buttonsBattery's gone.Connect to charging for 30 to 60 minutes, then try turning on
Hanging on the MI logo.System or boot partition damagedSwipe the device through Fastboot (see section above)
Cyclical rebootFirmware-to-kernel conflictInstall a different version of MIUI (e.g. Stable instead of Developer)
The sensor does not work after resettingDisplay driver failureRun Wipe Cache in Recovery or re-flash the device

3.Missing mobile network after reset

If there is no signal after recovery:

  1. Check if it's gone. IMEI (If you are using a Null or Invalid number instead of a number, you will need to restore it via Engineer Mode or QCN-file.
  2. Go to Settings. β†’ SIM-Maps and mobile networks and enable automatic network selection.
  3. If two are used, SIM-Maps, try to change them.
How to restore IMEI on Xiaomi?
For recovery. IMEI will require: 1. Install MTK Engineering Mode (for MediaTek processors) or Qualcomm QPST (for Snapdragon). 2. Enter original IMEI (indicated on the box or under the battery. 3. Reboot the device. ⚠️ Incorrect input IMEI This can lead to a network blocking!

Features of reset for Xiaomi TVs

The reset procedure for Xiaomi Mi TV is different from smartphones. Here's how to do it correctly:

Reset via settings

  1. Open Settings β†’ About TV β†’ Reset and Update.
  2. Select Reset and confirm the action.
  3. Enter. PIN-code (default 1234 if not changed).

After the reset, the TV will restart and offer to configure channels and connect to Wi-Fi again.

Resetting through buttons on the body

If the TV does not respond to the remote control:

  1. Press and hold the Power button on the case for 10-15 seconds.
  2. After turning off, press Menu + Volume Down on the case at the same time and hold for 5 seconds.
  3. The TV will turn on in Restore mode – select Wipe Data.

⚠️ Attention: On Xiaomi TVs with Android TV (Like Mi. TV 4S, Mi TV Q1) Reset removes all installed apps, but does not affect the binding to the Google account.To completely delete the account, go to Settings β†’ Accounts. β†’ Google and execute the exit.

FAQ: Answers to Frequent Questions

Can I reset Xiaomi without a lock password?
Yes, but with reservations: If you have access to a Mi Account tied to the device, you can reset your password through Xiaomi's website.If the device is not tied to the account, use Hard Reset via Recovery (see instructions above). On newer models (Xiaomi 13, Redmi Note 12) after reset via Recovery, you may need to enter data from Mi Account, even if the screen lock password is not set.
How to reset Xiaomi if you forget your Mi Account password?
If you have forgotten your Mi Account information but your device is tied to your phone number or email: Go to the password recovery page. Enter the email or phone associated with your account. Follow the instructions to change your password (you will need access to mail or SMS). If your email/phone access is lost, contact Xiaomi with a photo of the check or box from the device.
What if Xiaomi asks for an old Google account (FRP) after a reset?
This is a Factory Reset Protection (FRP), which works if you add a Google account to your device: πŸ“§ Enter data from the last Google account linked. πŸ”§ If your device is yours but you don’t remember your password, restore it via Google. πŸ“„ If the TV / smartphone was purchased used, ask the seller to delete the account through Settings β†’ Accounts. β†’ Google β†’ Delete the account. FRP through third-party programs (for example, FRP Bypass can lock your device! Use only official methods.
How to reset Xiaomi POCO or Redmi if the sensor is not working?
If the screen does not respond to touch, but the device is turned on: Connect USB-mouse-wise OTG-adapter (mostly) POCO/Redmi Use your mouse to navigate the menu and reset via Settings or Recovery. If the sensor and buttons don't work, turn off the device (hold Power). 15 Hold the power. + Volume Up to log into Recovery. Use volume buttons for navigation and Power to confirm selections.
Can the reset be cancelled after it is launched?
No, you can't cancel the reset after confirmation.However: If the reset is done through Settings, you have ~30 seconds to turn off power (take out the battery or hold the Power for 15 seconds) This can cause the system to crash, but save data. If the reset is started via Recovery or Fastboot, interruption of the process (such as disconnecting from the PC) can "brick" the device. Never interrupt the Fastboot reset process – this can damage the boot partition and make the device inoperable without flashing through the Fastboot. EDL-regime.