Resetting Xiaomi smartphone to factory settings is a standard procedure when selling a device, fixing software failures or preparing for an update MIUI. But what if you don't want to lose personal data: photos, contacts, messages or save in games? The official hard reset via the settings menu erases everything irrevocably, but there are workarounds.
In this article, weโll break down 3 working methods on how to perform a Xiaomi reset (including Redmi, POCO and Black Shark) without losing critical files, you will learn what data can be stored in advance, how to use hidden functions. MIUI, And why Fastboot resets aren't always safe for user files. MIUI 12-14 and Android 11-14 devices.
Why a standard reset erases data and can it be avoided?
When selecting the option Reset settings in the Settings menu โ The phone. โ Resetting system Xiaomi formats the section /data, stored:
- ๐ฑ Installed applications and their data (cache, game saves)
- ๐ Contacts, SMS/MMS (If not synced with Google or Mi Account)
- ๐ผ๏ธ Photos and videos in the folder DCIM (unless moved to SD-map)
- ๐ System settings (wallpaper, sound profiles, gestures)
However, not all files are permanently deleted, such as the contents of the Download folder or the files on the file. SD-The card (if it is connected as a removable drive) remains intact, and the key problem is the loss of application data (such as chat history in Telegram or progress in games) that does not sync automatically with the cloud.
โ ๏ธ Note: Even if you use data retention techniques, Xiaomi may block access to certain features (such as Mi Pay or Face Unlock) after a reset (FRP) โ Re-entering of Mi Account data will be required.
To minimize losses, first check what data you can upload to the cloud or copy manually, and that's in the next section.
What data can be saved before reset: checklist
Before you start resetting, back up your critical data, and Xiaomi has built-in tools and third-party solutions to do that, and here is a priority list of what to save first:
Synchronize contacts with Google or Mi Cloud
Copy folders. DCIM (Photos) and Pictures on PC
Export SMS via SMS Backup & Restore
Save game data via Google Play Games or Mi Game Center
Download notes from Mi Notes in PDF
Copy files WhatsApp/Databases (if there is no cloud backup)
-->
To automate the process, use the built-in Backup application (Settings) โ Additionally. โ Backup and reset โ Local backup. It creates an archive with:
- ๐ฑ System settings (Wi-Fi, sound, display)
- ๐ Call magazine and SMS (if not synchronized)
- ๐ต Music and ringtones (from the Ringtones folder)
However, this method has limitations:
- โ Does not store data from most third-party apps (such as Viber or Instagram)
- โ The archive takes up a lot of space (up to 10-15 GB) and is not encrypted.
- โ The recovery works only on the same Xiaomi model and version. MIUI
For complete confidence, combine local backup with cloud services (Google Drive, Mi Cloud) and manually copying important files to your PC.
๐ก
If you have Xiaomi with an unlocked bootloader, use custom recovery (TWRP) to create a full backup section /data. This is the only way to save all application data, including passwords and authorization tokens.
Method 1: Resetting with data storage through a โSafe Environmentยป (MIUI 14+)
Starting with MIUI 14, Xiaomi has added an experimental Safe Mode feature that allows you to reset your system settings without affecting user files. 12, Xiaomi 13/13T, POCO F5 newer.
Instructions:
- Open the Settings. โ The phone.
- Tap 7 times on the MIUI version to activate Developer Mode.
- Back to Settings โ Additionally. โ For developers.
- Activate the Safe Mode (Safe Mode) switch.
- Reboot the device. After you turn on, select Reset from the Safe Mode menu.
What persists:
- โ Photos and videos in folders DCIM, Pictures
- โ Files in Download and on SD-map
- โ Data from some system applications (Mi Browser, Mi Notes)
What's removed:
- โ Installed applications and their data
- โ Wi-Fi, Bluetooth, and account settings (except Mi Account)
- โ Wallpaper, sound circuits, gestures
โ ๏ธ Note: On some devices POCO Safe Mode may not be available or may not work well. Check for a developer menu item before using it. If you don't have an option, move on to the next method.
Why does Safe Mode not guarantee 100% data security?
Method 2: Partial discharge through the Laboratory MIUIยป (covert)
In the firmware MIUI 12โ14 There is a hidden menu called โLaboratoryโ. MIUIยป, It allows you to selectively reset โ for example, only network or application settings without affecting personal files. 10/11, Xiaomi Mi 11, POCO X3/X4 and other Android-based models 11โ13.
How to open a MIUI Laboratory:
- Go to Settings โ About the phone โ All the characteristics.
- Tap 5 times on the item Version of the kernel (or Version) MIUI on some models).
- Enter the password from the lock screen if a request appears.
- Return to the main Settings menu โ a new item will appear MIUI.
Next:
- Open the lab. MIUI โ Resetting and remediation.
- Select Partial Reset.
- Check only the sections that you want to reset (for example, Network Settings or Default Applications).
- Confirm the action and wait for the reboot.
| Type of discharge | What's removed | What's persisting |
|---|---|---|
| Network settings | Wi-Fi, Bluetooth, mobile networks | Files, applications, accounts |
| Default applications | Application Launch Settings | Applications themselves and their data |
| Sound settings | Volume profiles, ringtones | Music in the Music folder |
| Screen settings | Brightness, color temperature | Wallpaper, widgets. |
This method is not suitable for a complete reset when selling a device, but is ideal for fixing specific crashes (such as Wi-Fi connection issues or audio setting errors).
๐ก
Partial discharge through the Laboratory MIUI โ The only official way to remove only system settings without affecting user data is on some models (e.g. Redmi). 9A) This menu may not be available.
Method 3: Reset via Fastboot with Save Partition /data (advanced)
If the first two methods do not work (for example, on older Xiaomi models or in case of serious failures), you can perform a selective reset via Fastboot, saving the partition. /data. This method requires an unlocked bootloader and basic knowledge of working with the ADB/Fastboot.
โ ๏ธ Warning: Incorrect commands in Fastboot can result in complete data loss or a โbrickโ of the device.
Instructions:
- Install Platform Tools on your PC.
- Connect Xiaomi to your computer in Fastboot mode (press Power) + Vol- when switched on).
- Open the command line in the folder with fastboot and do:
fastboot erase frp
fastboot erase metadata
fastboot erase config
fastboot rebootThese teams will drop:
- ๐ FRP (post-reset)
- ๐ฑ System settings (config)
- ๐ Account metadata (metadata)
In this case, the section /data (And the apps, with photos, videos and files, will remain intact, but they may not work properly, and they will need to be reinstalled.
โ ๏ธ Note: On devices with Dynamic Partition (e.g. Xiaomi 12 and later), this command may cause an error in the Invalid sparse file format. TWRP (if established).
To restore the system after such a reset:
- Reboot the device in Recovery Mode (Power) + Vol+).
- Select Wipe Data, but donโt confirm it โ go back to the main menu instead.
- Select Reboot โ System.
The system will boot with clean settings, but all files are in folders DCIM, Download and on SD-map will remain in place.
What to do after reset: data recovery and settings
After any type of reset (other than full Wipe Data) you will need to:
- reconfigure the device: ๐ Enter Mi Account data (required, otherwise Xiaomi will block access to the features) ๐ถ Connect to Wi-Fi or mobile network ๐ Restore backup (if created through Settings) โ Backup)
- Bring back applications and data: ๐ฑ Install apps from Google Play or Mi App Store ๐ Recover game data via Google Play Games or Mi Game Center ๐ Import contacts from Google or Mi Cloud
Check the integrity of the files:
- ๐ผ๏ธ Open the gallery and make sure the photos are displayed
- ๐ต Check the playback of music and video
- ๐ Make sure that documents in the Documents folder are not damaged
If some files donโt open (for example, photos show as corrupted), use the recovery utilities:
- ๐ฅ๏ธ Recuva (for Windows)
- ๐ฑ DiskDigger (for Android)
- ๐ TestDisk (for advanced users)
To speed up the recovery process, use automatic synchronization:
- ๐ Enable Autosynchronization in Google Drive (Settings) โ Accounts. โ Google โ Synchronization)
- โ๏ธ Activate Mi Cloud to back up notes, contacts and SMS
๐ก
If Xiaomi resets constantly after resetting or gives an error "Unfortunately, Settings has stopped", perform a cache reset via Recovery Mode (Wipe Cache Partition).
Frequent Mistakes and How to Avoid Them
Even with careful execution of instructions, users face problems.-5 errors and ways of solving them:
| Mistake. | Reason. | Decision |
|---|---|---|
| "This device is locked" after resetting | FRP (Reset Protection) activated | Enter the Mi Account that was tied before the reset |
| Photos are blurry or not opening | Damage to miniatures in Gallery cache | Clear the Gallery cache or use Google Photos to re-upload |
| Apps fly out after recovery | Incompatibility of data and application versions | Update apps through Google Play or reinstall them |
| "Invalid IMEI" after reset | Damage to modemst1/st2 | Restore. IMEI through the Engineer Mode or QCN-file |
| Face Unlock or fingerprint is not working. | Resetting the Keymaster security module | Add biometric data back to Settings โ Screen locking |
If after reset the device does not turn on or hung on the logo MI, try:
- Hold the Power. + Vol+ 10-15 seconds for forced reboot.
- If it doesnโt work, connect to your PC and execute the command: fastboot reboot.
- If you experience repeated failures, reflash the device through the Mi Flash Tool (requires an unlocked bootloader).
For Xiaomi models with MediaTek processors (e.g. Redmi) 10A, POCO M4) Instead of Fastboot, you may need to use a utility SP Flash Tool. In this case, we recommend contacting the service center, since incorrect firmware is fraught with a complete failure of the device.