Have you ever lost important notes on a Xiaomi smartphone after resetting your settings or updating your firmware? Or just want to back up your texts but don't know where to look for them in the file system? The problem is that the manufacturer doesn't advertise the location of these files -- they're hidden in system directories that require special rights or knowledge of exact paths.
In this article, weโll look at all possible storage locations on Xiaomi devices (including MIUI 12-15 and HyperOS models), and explain how to find them โ both through standard Android tools, and with ADB or root file manager.
How to store notes on Xiaomi: a general scheme
Xiaomiโs Notes app uses a combined storage system:
- ๐ Local files โ stored in a secure folder on the internal drive (available only through root or ADB).
- โ๏ธ Mi Account Cloud โ synced with Xiaomi servers (requires authorization).
- ๐ Application cache โ temporary files that may contain fragments of notes (cleared when you delete application data).
It's important to understand that the path to the folder depends on the version of MIUI/HyperOS and the smartphone model. For example, on older devices (before MIUI 11), notes could be stored in plain form, and starting with MIUI 12 - only in encrypted format.
The main way to Xiaomi notes: where to look for files
On most Xiaomi devices (including Redmi, POCO, and Black Shark), notes are stored along the following path:
/data/data/com.miui.notes/files/notes/In this folder you will find:
- ๐.json files contain note text, time stamps and formatting.
- ๐ผ๏ธ attachments folder - attachments are stored here (photos, audio, screenshots).
- ๐ Note.db โ a meta-information database (starting with the MIUI 14).
โ ๏ธ Attention: Folder /data/data/ available only through root or through ADB Trying to open it through a standard conductor will lead to the error "No accessยป.
If you donโt have root, an alternative way to do this is to back up your Mi Account or use specialized utilities like MiXplorer (with Root Explorer enabled), and more on that in the next section.
๐ก
On HyperOS (2026+), the path may be different. Try also searching for notes in /data/user/0/com.miui.notes/ or via adb shell ls /data/data/com.miui.notes/
How to Access a Notes Folder Without Root
If you donโt have superuser rights, there are a few legal ways to extract notes:
Method 1: Through ADB (without root)
Connect your smartphone to your PC, enable debugging over USB (Settings โ About Phone โ MIUI Version โ 7 times press to unlock Developer Mode, then Settings โ Additional โ For Developers โ Debugging over USB) and execute commands:
adb backup -f notes.ab com.miui.notes
adb pull /sdcard/notes.abThis will back up the Notes app in the notes.ab file. To extract data, use utilities like Android Backup Extractor.
Method 2: Mi Account (Sync)
If you are synchronizing with Mi Account:
- Open Settings โ Xiaomi Account โ Mi Cloud โ Notes
- Make sure the switch is active.
- Go to i.mi.com โ โNotesโ โ there will be all synchronized records.
โ ๏ธ Note: If you delete notes on your phone, they will automatically be deleted from the cloud after 30 days. To recover, use the Recycle Bin feature in the web version of Mi Cloud.
Method 3: Through Third Party File Managers
Some conductors (such as Solid Explorer or FX File Explorer) can request access to system folders via the Storage Access Framework (SAF).
- Open the file manager.
- Go to internal memory โ Android โ data.
- Find the com.miui.notes folder (permissions may be required).
USB debugging enabled
Installed ADB drivers on PC
Backup of notes in Mi Cloud
Checked free space on the phone (minimum 100 MB)
-->
Differences in note storage on different versions of MIUI
The folder structure and the note file format changed with the release of new versions of the shell.
| MIUI/HyperOS version | The path to notes | File format | Features |
|---|---|---|---|
| MIUI 9โ11 | /data/data/com.miui.notes/databases/notes.db | SQLite (Database) | Notes are stored in plain form, you can read through DB Browser for SQLite. |
| MIUI 12โ13 | /data/data/com.miui.notes/files/notes/ | JSON + encryption | Files are encrypted, a key is required /data/data/com.miui.notes/shared_prefs/. |
| MIUI 14 | /data/user/0/com.miui.notes/app_floder/ | JSON + Protobuf | Data is divided into several files, some are stored in app_databases/. |
| HyperOS (2026) | /data/data/com.miui.notes/files/notes_v2/ | Binary format | Decryption is required through the official Xiaomi API. |
Starting with MIUI 14, Xiaomi actively encrypts local copies of notes, so it becomes almost impossible to extract them without root or backup. If it is critical to save data, use cloud synchronization or regularly export notes manually (the โExportโ function in the app menu).
What to do if the notes are missing after resetting or firmware
A common problem with Xiaomi users is the disappearance of notes after:
- ๐ Reset to factory settings (without backup).
- ๐ฑ Firmware updates (especially with MIUI HyperOS).
- ๐๏ธ Application data cleansing ("Settings") โ Annexes โ Notes โ Warehouse โ Clear the dataยป).
They can be restored in the following ways:
1.Recovery from Mi Cloud
If synchronization has been activated:
- Sign in to the same Mi Account.
- Open the Notes app โ the data must be downloaded automatically.
- If not, check Settings โ Xiaomi Account โ Mi Cloud โ Notes โ Sync.
2.Recovery from local backup
If you have backed up through ADB or Mi PC Suite:
- Connect the phone to the PC.
- Restore the backup with the command: adb restore notes.ab
- Reset the device.
โ ๏ธ Note: If you reset your phone to factory settings without the Mi Account waiver, you can only restore notes after re-associating the same account. Otherwise, the data will remain in the cloud, but not downloaded to the device.
3. Use of utilities for data recovery
Programs like Dr.Fone or EaseUS MobiSaver can scan internal memory for deleted files, but their effectiveness depends on:
- ๐ The time after the removal (the earlier the better).
- ๐ฑ Phone models (on Xiaomi with) UFS 3.1 odds are lower because TRIM-optimization).
- ๐ Availability of data overwriting (installation of new applications, taking photos, etc.).
Why does TRIM interfere with recovery?
How to Transfer Notes from One Xiaomi to Another
If youโve changed your smartphone and want to move notes, there are three reliable ways to do this:
Method 1: Mi Cloud (recommended)
The simplest method is:
- On an old phone: Settings โ Xiaomi Account โ Mi Cloud โ Notes โ Sync.
- On a new phone: log in to the same account and wait for sync.
Method 2: Exporting to a file
In the appendix โNotesโ:
- Open the note. โ โฎ โ Exports.
- Select the format (.txt or.html).
- Transfer the file to a new phone and import it through the same menu.
โ ๏ธ Note: Export/import only works for individual notes, not the entire base. ADB.
Method 3: Through ADB (for Advanced)
If you need to transfer all notes at once, including attachments:
- On the old phone, do: adb backup -f notes_backup.ab com.miui.notes
- Copy the file. notes_backup.ab new phone.
- Restore: adb restore notes_backup.ab
๐ก
When migrating through ADB, consider the MIUI version: if a new phone has a fresher firmware, the backup may not recover due to changes in the database structure.
Frequent Mistakes and How to Avoid Them
When working with notes on Xiaomi, users often face typical problems:
- ๐ Notes are not synchronized with Mi Cloud โ Check if sync is enabled in your account settings and if you have internet access.
- ๐ฑ The Notes app is flying out โ Clear the cache (Settings) โ Annexes โ Notes โ Warehouse โ Clear the cache).
- ๐ You can't open the file. /data/data/ โ Use it. ADB Or you get rooted.
- ๐๏ธ Deleted notes are not restored โ Check the Recycle Bin in the web version of Mi Cloud (stores deleted records for 30 days).
Another common mistake is losing notes after the MIUI update, which is because you change the storage format to avoid the problem:
- Before upgrading, backup via Mi Cloud or ADB.
- Do not clean the Notes app data after the update.
- If the notes are missing, try to roll back to the previous firmware version (via Fastboot).