Xiaomi smartphone users often face the need to hide sensitive information from prying eyes. The standard Notes app in the shell of MIUI or HyperOS offers a security feature, but it is not always clear where exactly the data moves after activating this option. The physical location of files on the device’s drive plays a key role, especially if you plan to transfer data to a new gadget or try to recover accidentally lost information.
Unlike regular text files, which can be found in any folder, secure notes are encrypted and moved to a system partition that is restricted by the rights of the superuser, and this is done to ensure the security of the owner's personal data. Understanding the structure of the folders and the logic of the system will allow you to manage your digital space competently and avoid situations where important information is not available.
In this article, we will take a closer look at the storage architecture of Xiaomi devices, the paths to system cache and application databases. You will learn how protection mechanisms work and what happens to files when you delete or reset settings. Android system limitations do not allow you to simply copy these files without special tools, but knowing their location is the first step to full control of the device.
Principles of operation of encryption in MIUI and HyperOS
When you activate Hidden Notes mode in a standard application, the system doesn't just hide a shortcut, it's a complex process of transcoding content. Data encryption algorithms turn the readable text into a set of characters that only the operating system can understand when you enter the correct password or pattern lock, and this provides a high level of privacy even when you connect your phone to your computer in debugging mode.
Files move from user space to a secure container. To the average user, this area looks like a void or a set of incomprehensible system files. Security is more important than ease of access. If you forget the password for hidden notes, it will be impossible to unlock them using standard means, since the decryption key is stored in a separate secure system storage.
💡
Always use sync with Mi Cloud for hidden notes to have an encrypted backup on the manufacturer’s servers.
It is worth noting that when you update the operating system, the folder structure can change. Xiaomi developers periodically change paths to system data for optimization, so the relevance of the information about the paths always depends on the version of the firmware installed on your smartphone.
Physical path to database files
Technically, all notes, including hidden ones, are stored in SQLite database format. /data/data/com.miui.notes/databases/. However, standard file managers cannot get there without Root rights. Android blocks access to the folder. /data/data/ for all applications except system.
If you have root rights, you can see a file called note.db or notes_v2.db. It's the database that contains tables with all the text content, and the hidden notes are marked with a special flag in the database, which hides their display in the application interface until the moment of authorization.
⚠️ Attention: Any manipulation of files in the folder /data/data/ without a full backup, you may be unable to use the Notes app or lose all records.
For users without root rights, there is an alternative but less direct way to back up. Local backups are saved to /MIUI/backup/AllBackup/. Inside the archive with a backup of the Notes app, you can also find a database, but it will be packaged and linked to a specific account.
Can I read the database on a computer?
Search through the built-in file manager
Xiaomi’s standard Explorer has hidden features that help you find certain types of files. Although it won’t show system databases without root, it does allow you to manage file visibility. You can use file sorting to find any residual note files.
Open the Explorer app and go to Documents or Other, where you can sometimes find exported versions of notes if you’ve previously used the.txt or.html file format to send or save. Normal, non-hidden notes can be cached in Android/data/com.miui.notes/ folders, but access to them is limited in newer versions of Android (11, 12, 13, 14).
- 📂 Open the “Conductor” and click on the menu icon (three bars).
- 🔍 Select “Settings” inside the Explorer and enable “Show hidden files».
- 📁 Go to the root of internal memory and look for folders with a prefix. (dot), for example.notes_cache (name may vary).
Keep in mind that file manager searches are only effective for finding multimedia attachments (photos, audio) that may have attached to notes. The text part of tetap will be in the database. The attachments may lie in /MIUI/notes/ or similar if they have not been deleted along with the note.
Using Root Rights to Access the System
For those willing to take the risk of taking full control of the device, obtaining Root rights (such as through Magisk) opens up access to all the folders described above.This is the only way to physically copy the hidden note database file to be transferred to another phone or to try to restore.
Once you have superuser rights, you'll need a root-enabled file manager like Root Explorer or Solid Explorer. By enabling root in your Explorer settings, you can go down the path. /data/data/com.miui.notes/databases/. Here you will find a database file that weighs a little more than just text, due to the structure of SQLite.
It is important to understand that root rights reduce the overall security of the device, and banks’ applications may stop working and the system will become more vulnerable to malware, so after copying the necessary database files, it is recommended to either delete root or use special modules to hide rights from certain applications.
☑️ Preparation for obtaining Root-rights
Recovery of deleted hidden notes
If a hidden note is deleted, it disappears from the application interface, but traces of it can remain in the database until the memory sectors are overwritten. Recovering such data is a complex process that requires specialized software. Simple recovery from the shopping cart in the Notes application only works for 30 days after deletion.
For deep recovery, you use software for your PC, such as Dr.Fone, Tenorshare UltData, or DiskDigger (the root version of Android), which scans your internal memory for residual records in your SQLite database, and the success of your operation depends on how much you've used your phone after you delete the file.
| Method of recovery | Necessary rights | Efficiency | Risk of data loss |
|---|---|---|---|
| Basket in the annex | No. | High (within 30 days) | Absent. |
| Backup copy of Mi Cloud | Mi Account | Tall. | Low. |
| Local backup (XML/DB) | No. | Medium | Medium. |
| Memory scanners (Root) | Root | Low/Mediocre | High-pitched |
If you plan to use data recovery software, make sure that your phone doesn't overwrite new data to the deleted ones. The most reliable way to save data is to regularly create full copies of the system to an external medium. The less you use your phone after deleting an important note, the better the chances of success.
Synchronization and Cloud Technologies
The most civilized way to manage hidden notes is cloud synchronization, Mi Cloud allows you to save backup copies of notes, including hidden ones, in encrypted form, and when you log in to a new device under the same account, the notes will automatically tighten after you enter the security password.
To activate sync, go to Settings → Mi → Mi Cloud Account. Make sure the slider opposite Notes is activated. Also, the Notes app itself should have a sync option enabled in the settings, ensuring that even if your screen breaks or your phone is lost, you don’t lose important information.
⚠️ Note: When you reset your Mi Account or change your password from your account, access to synchronized hidden notes may be temporarily lost until you reauthorize and confirm your phone number.
The alternative is third-party software if you don’t trust the manufacturer’s cloud, but the standard means to transfer hidden notes to Google Keep or Evernote directly is not possible — you need to unlock and export them first, making the Xiaomi cloud the most convenient, though not the only option.