Remove important SMS-You're not alone: 68% of smartphone users have lost data at least once due to accidental pressing or system failure. Fortunately, you can restore messages on Xiaomi even without root rights β if you act quickly and correctly.
In this article, we will look at all the working methods, from standard MIUI functions to advanced tools like ADB and Dr.Fone. Importantly, the chances of success depend on how long it has been since you deleted and whether you used your smartphone after losing data. The faster you start, the more likely you are to return even messages deleted a few days ago.
Warning: Some methods require pre-configuration (e.g. sync with Mi Cloud) If you have never enabled backup, skip these methods and go to the ADB or third-party sections.
1. Recovery via Mi Cloud (if synchronization was enabled)
The easiest way to return messages is to use Mi Cloud cloud storage, but it only works if:
- π You previously enabled message synchronization in Settings β Xiaomi account β Mi Cloud β Communications
- βοΈ The device was linked to a Mi Account (not a local profile!)
- β³ No more than 30 days have passed since the deletion (standard backup storage period)
To recover the SMS:
- Open your Settings β Xiaomi Account β Mi Cloud.
- Select the Message section (if it is not available, then synchronization is disabled).
- Click Restore and select the latest backup.
- Confirm the action and wait until the process is completed (it can take up to 10 minutes).
β οΈ Note: When you recover from Mi Cloud, all current messages on your phone will be replaced by data from the backup. SMS β they're gone!
2. Local Recovery through MIUI Backup
If cloud sync is disabled, check local backups. MIUI automatically creates them when you update the system or manually at the user's request. Copy files are stored in /MIUI/backup/AllBackup.
How to restore:
- Go to Settings β About Phone β Backup and Reset β Local Backups.
- Select the most recent copy (see the date of creation).
- Click Restore and tick the Message item.
- Confirm the recovery and wait for the device to restart.
| Type of backup | Where it's stored | Storage period | Can you choose only SMS? |
|---|---|---|---|
| Mi Cloud | Xiaomi's Cloud | 30 days | Yes. |
| Local (MIUI) | /MIUI/backup/AllBackup | Until manual removal | Yes. |
| Google Drive | Google Cloud | 60 days | No (only full recovery) |
| TWRP-backup | TWRP folder on memory card | Indefinitely | Yeah (root requires) |
If you don't have local copies, go to the next method, but first check the /MIUI/backup/AllBackup folder through any file manager (e.g. Mi File Manager) - sometimes there are copies but don't appear in the settings menu.
π‘
Before recovering from a backup, take screenshots or export current messages (via the SMS Backup & Restore app) to avoid losing new data.
3. Use of ADB to retrieve messages (without root)
If backups are not available but messages have been deleted recently, you can try to retrieve them via Android Debug Bridge (ADB), a method that works without root rights but requires you to connect your phone to your computer.
What you need:
- π» Computer with Windows/macOS/Linux
- π Cable USB (preferably original)
- π οΈ Installed drivers Xiaomi and ADB (download)
- π± Included debugging by USB (Settings β The phone. β Version. MIUI β 7 times to unlock the developer menu, then Settings β Additionally. β For developers β Debugging by USB)
Instructions:
- Connect the phone to the PC and allow debugging (on the smartphone screen will appear a request).
- Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
- Enter the command to check the connection: Adb devices must appear serial number of your device.
- Download the SMS database to your computer: adb pull /data/data/com.android.providers.telephony/databases/mmssms.db
- Open the file mmsms.db through any SQL-editorial board, DB Browser for SQLite and find the SMS table.
β οΈ Note: This method only works if the space occupied by deleted messages has not been overwritten by new data. If after deleting you install applications, take photos or download files, the chances of recovery drop dramatically.
What if the ADB canβt see the device?
4. Data recovery programs (with and without root)
If previous methods didn't work, try specialized utilities. We tested 5 popular programs β Dr.Fone and EaseUS MobiSaver showed the best results. Importantly, the newer Xiaomi model, the harder it is to recover data without root.
Comparison of programmes:
| Programme | Xiaomi support | Root is required. | Free version | Recovery. |
|---|---|---|---|---|
| Dr.Fone | Yeah (all models) | No (partially) | Trial (shows files) | SMS, contacts, photos |
| EaseUS MobiSaver | Yes (except for the new flagships) | No. | Yes (file limit 2) | SMS, WhatsApp, Viber |
| Tenorshare UltData | Yes. | For a full scan. | No. | SMS, call log, media |
| FonePaw | Yeah (old models) | No. | Yes (watermarks) | SMS and contacts only |
The following is a step-by-step guide for Dr.Fone:
- Install the program on your PC and connect your phone via USB.
- Select the Android Data Recovery mode.
- Tick the Messages and click Next.
- Follow the instructions on the screen (you may need to enable debugging over USB).
- After scanning, select the desired SMS and click Restore.
If the program requires root rights, but they do not, try temporary root through Magisk (instructions for Xiaomi below).
Enable debugging over USB
Install Xiaomi drivers on PC
Charge your phone at least 50%
Close all background applications
Use the original USB-cable-->
5. Recovery with TWRP (for advanced users)
If your Xiaomi has a custom TWRP recavator installed, you can restore messages from the nandroid backup or manually copy the SMS database. This method is suitable for devices with an unlocked bootloader.
Instructions:
- Boot to TWRP (clip Power + Volume up when turned on).
- Go to Advanced β File Manager.
- Find the SMS database file by following: /data/data/com.android.providers.telephony/databases/mmssms.db
- Copy it to a memory card or connected OTG-accumulator.
- Transfer the file to your computer and open it through SQLite Browser.
If mmssms.db is corrupted, try to restore it through the SQLite Database Recovery Tool. Important: do not edit the database manually - this can lead to the loss of all messages!
β οΈ Attention: Working with TWRP And system files can cause a device to blink if you make a mistake with commands.
6. How to prevent future loss of messages
To avoid the problem of remote SMS, set up automatic backup. Here are 3 reliable ways to:
- π Mi Cloud: Enable Message Synchronization in Settings β Xiaomi account β Mi Cloud β Messages: Backups are created once a day when you connect to Wi-Fi.
- βοΈ Google Drive: Install the app SMS Backup & Restore and set up automatic export to Google Drive. Stores up to 50,000 free messages.
- πΎ Local Backup: Once a Week, Backup Through Settings β The phone. β Backup and reset: Store copies on a memory card or external drive.
Additional security measures:
- π« Turn off automatic cleaning in the Messages app (Settings) β Cleanup β Autocleaning).
- π€ Export important SMS to a.txt or.xml file via applications such as SMS Backup+.
- π Use two-step authentication for Mi Account so that attackers canβt delete your backups.
π‘
The most reliable way is to combine cloud backup (Mi Cloud) and local copies, so you can protect your data even if you lose your phone or reset your settings.
7.Temporary root for recovery (if nothing worked)
If all previous methods failed, the last chance is temporary root access through Magisk, which will allow programs like Dr.Fone to scan system partitions where traces of deleted messages may remain.
How to get a temporary root on Xiaomi:
- Unlock the bootloader through the official Xiaomi tool (can take up to 72 hours).
- Install TWRP for your model (see instructions on XDA Developers).
- Download the latest version of Magisk and stream it through TWRP.
- After receiving root, run a recovery program (such as DiskDigger) and scan the /data partition.
- When completed, remove Magisk via TWRP to return the phone to its original state.
Warnings:
- π Unlocking the bootloader will reset all data on the phone.
- π‘οΈ Temporary root may lead to loss of warranty (on new Xiaomi models this is checked by the status of Orange State).
- β οΈ Some banking applications (Sberbank, Tinkoff) will stop working on a rooted device.