You try to transfer important entries from the Notes app to Xiaomi to your computer, but you can't find the folder with the files? MIUI hides user data in non-obvious directories, and standard methods of connecting to the user USB In this article, we'll discuss 5 working ways to access notes via PC, from simple copying through Explorer to using it. ADB backups.
Itβs important to understand that Xiaomi notes are stored in two formats β in the SQLite database (for the standard Notes app) and in plain text files (if you use third-party apps like Google Keep or ColorNote).
Before you start, check:
- π Is the smartphone connected to the PC in the mode File transfer (MTP) (phone-curtain).
- π Is debugging on-line USB In Settings β The phone. β Version. MIUI (Press 7 times, then return to Additional Settings β For developers).
- π± Is there root rights on the phone (optional, but will make it easier to access system folders).
1. Standard method: search for a folder through Windows Explorer
The easiest way is to connect Xiaomi to your computer and manually find the notebook folder. MIUI hides system directories, so you have to turn on the display of hidden files.
How to do this:
- Connect your phone to your PC through USB-cable (use the original cable for a stable connection).
- In the phone notification curtain, select File Transfer (MTP) mode.
- Open this computer on your computer. β Find a connected Xiaomi (usually displayed as Redmi Note 12 Pro or similarly).
- Go to the Internal Memory folder β miui β notes.
If there is no Miui folder, try alternative ways:
- π Android β data β com.miui.notes (requires root or ADB).
- π MIUI β backup β AllBackup β Notes (if previously backed up).
- π Download β Notes_backup (If you exported notes manually).
β οΈ Note: folder com.miui.notes in Android/data by default not available through MTP. It's gonna take a look. ADB root-access.
π‘
If you often work with notes, export them manually: open the Notes appΒ» β press three points β Β«ExportsΒ» β Select the.txt or.zip format. Files will be saved in the Download folder, from which they are easy to copy to the PC.
2.Use of ADB file-access
Android Debug Bridge (ADB) β It's a tool for interacting with an Android device through the command line, and it allows you to access folders that aren't displayed in Windows Explorer.
Instructions for connection:
- Download and install. ADB Tools (or use the Mi Unlock Tool if it is already installed).
- Connect Xiaomi to your PC, turn on Debugging by USB (see beginning of article).
- Open the command prompt (Win + R β enter cmd) and go to the folder with ADB:
cd C:\platform-toolsNow, follow the commands to copy the note database:
adb shell
su
cp /data/data/com.miui.notes/databases/notes.db /sdcard/notes_backup.db
exit
exit
adb pull /sdcard/notes_backup.db C:\Notes_Backup\Transcript of commands:
- πΉ Adb shell β Connecting to the Android shell.
- πΉ su β request root rights (if any).
- πΉ Cp β Copying a note database into internal memory.
- πΉ Adb pull β downloading a file on a PC.
β οΈ Warning: Without root rights, the su command won't work, and the notes.db database may not be available: /data/user/0/com.miui.notes/databases/notes.db.
What if the ADB canβt see the device?
3. Export of Notes through Backup MIUI
MIUI It has a built-in backup feature that saves notes to the cloud or locally, which does not require root rights and is suitable for most users.
How to make a backup copy:
- On your phone, go to Settings. β The phone. β Backup and reset β Local backups.
- Select Create a backup and tick Notes.
- Click Start and wait until the file is completed (the file will be saved to the MIUI β backup β AllBackup).
To extract notes from the backup:
- π Connect your phone to your PC and copy the AllBackup folder to your computer.
- π Rename the backup file (for example, backup_20260515_123456.mbk) zip and unpack the archive.
- π Inside, find the com.miui.notes folder β there will be database files (notes.db) and media.
| File format | Location. | How to open |
|---|---|---|
| notes.db | /data/data/com.miui.notes/databases/ | via SQLite Browser or DB Browser for SQLite |
| .mbk | MIUI/backup/AllBackup/ | Rename it to.zip and unpack |
| .txt or.zip | Download/Notes_backup/ | Any text editor or archiver |
4. Alternative methods: cloud services and third-party applications
If physical access to files is difficult, consider cloud solutions. Xiaomi offers synchronization of notes through Mi Account, and also supports third-party services.
Method 1: Synchronize with Mi Cloud
- π₯οΈ On the phone, open Settings. β Accounts. β Mi Account β Synchronization.
- π₯οΈ Turn on the switch opposite Notes.
- π₯οΈ On PC, go to i.mi.com, log in and go to the Notes section.
Method 2: Exporting through Google Drive
- βοΈ Install Google Keep or ColorNote from Play Market.
- βοΈ Export notes from the native Notes app to one of these (via Share) β Save it in Keep).
- βοΈ On PC, open Google Keep or Google Drive.
Method 3: Backup applications
- π± Swift Backup (requires root) β allows you to create a backup com.miui.notes in one click.
- π± Titanium Backup (Old, but Works on Older Versions) MIUI).
- π± Mi Mover is the official application from Xiaomi for transferring data (including notes) to another phone or to the cloud.
π‘
Cloud services are convenient, but they donβt guarantee 100% data security. Always duplicate important notes locally on your PC or external drive.
5. Recovery of deleted notes
If the notes have been deleted, you can try to restore them from a backup or with the help of specialized utilities. Note: the chances of success depend on how long it has been since the deletion and whether the phone has been used after that.
Method 1: Recovery from local backup MIUI
- Go to Settings β About Phone β Backup and Reset β Local Backup.
- Select the latest backup and click Restore.
- Check the Notes and confirm the recovery.
Method 2: Data recovery programs
- π οΈ Dr.Fone β Supports Android database recovery, including notes.db.
- π οΈ EaseUS MobiSaver scans internal memory for deleted files.
- π οΈ DiskDigger is a free tool for finding lost data (requires root).
β οΈ Note: When recovering data, DO NOT save new files to your phone, this can overwrite deleted notes. SD-card or connect the device to the PC in Charging Only mode.
βοΈ Preparation for the recovery of notes
6. Work with the database notes.db
If you can copy a note.db file, you can open it and edit it on your PC, and you'll need a database software called SQLite.
Step-by-step:
- Download and install. DB Browser for SQLite.
- Open the file notes.db in the program.
- Go to the Data Overview tab and select the note or notes table.
- Export the data to CSV or SQL via File menu β Exports.
The structure of the note table usually includes fields:
- π _id - a unique note identifier.
- π title - title.
- π content - text of the note.
- π created_time β Date of creation (timetamp format).
- π modified_time β date of last change.
To convert timestamp to readable format, use online services like Epoch Converter.
How to import notes back to Xiaomi?
Frequent mistakes and their solutions
When you're working with Xiaomi notes, users often have typical problems, and let's look at the most common ones and how to fix them.
| Problem. | Reason. | Decision |
|---|---|---|
| PC doesn't see the folder miui/notes | Hidden system files | Use it. ADB Or turn on the display of hidden folders in the conductor |
| Error when copying notes.db | The file is used by the application | Close the Notes app or restart your phone |
| Backup copy is not restored | The damaged.mbk file | Try unpacking the archive manually or creating a new copy |
| Notes are not synchronized with Mi Cloud | No Internet or account error | Check your network connection and log in again to Mi Account |
If none of these methods worked, try:
- π Update the Notes app to the latest version via Play Market.
- π Reset the application settings: Settings β Annexes β Application management β Notes β Warehouse β Clear the data (Warning: This will delete all local notes!).
- π Install an alternative note-taking app (like Google Keep) and move the data there.