Owning a modern Xiaomi smartphone involves the active use of built-in tools for organizing life, and one of the most popular is the standard app “Notes”. They store shopping lists, working drafts, passwords and important reminders that have been accumulating for years, but when you buy a new computer, change your device, or just create a backup, the question arises about how to effectively transfer this data to the big screen using direct. USB-connection without loss of formatting.
Direct cable connection often seems to be the most obvious and quick way to transfer files, but with system applications MIUI and HyperOS, the situation has its technical nuances. The standard file manager does not always allow you to simply “copy and paste” a note as a text file, since the data is stored in a specific SQLite database.
In this article, we will discuss several scenarios: from using cloud synchronization, which is activated when you connect, to direct access to system files through the Internet. USB-You'll learn how to save text, images, even voice recordings in an accessible format, and understanding the structure of storage will help you not only migrate files, but also convert them correctly for later use.
Preparation of a smartphone and computer for data transmission
Before any manipulation of the file system, you need to ensure a stable connection between devices. Use the original USB Type-C cable or a quality analog that supports data transfer, not just charging. Cheap cables often cause connection breaks at the most critical moment, which can lead to damage to the transmitted files or synchronization error.
A Windows computer must have ADB (Android Debug Bridge) basic drivers installed or universal MTP drivers. Usually Windows 10 and 11 install them automatically when you first connect, but it may require manual debugging to work with system databases. Make sure there is enough free space on the PC drive to create a full copy of your records.
An important step is unlocking the smartphone screen and confirming trust in the computer. When you first connect to the Xiaomi screen, you will see a system window that says "Allow debugging over USB?" or "Allow access to data." Without confirming this request, the computer will see the phone only as a charger, and access to the file system will be blocked.
⚠️ Note: When you include debugging on USB Don't connect to public charging stations at airports or cafes, which opens up deep access to the system, and attackers could theoretically access your data if the device isn't secure.
☑️ Preparations for export
Configure USB mode and access to files
Once the cable is physically connected, you need to set the port mode correctly. By default, Xiaomi often chooses Charge Only mode, making the device invisible to the computer's file manager. You need to lower the notification curtain and click on the USB connection notification to deploy the mode selection menu.
In the list that opens, select File Transfer (or File Transfer/MTP) which allows your computer to see your internal memory as an external drive. If you plan to work with application system folders, you may need to use PTP or debugging enabled, but MTP is enough for basic export.
If your computer is not responding to the connection, try changing the connection. USB-port on the back of the system unit (directly in the motherboard), as the ports on the front panel may not give enough voltage or have poor contact. USB» In the Developer Menu if the standard methods do not work.
To turn on the developer menu, go to Settings → About Phone and quickly press 7 times on the MIUI Version. After that, a new section “Additional” → “For Developers” will appear in the settings menu, where the desired switch is located.
Synchronization method through Mi Cloud and web interface
Although the topic of the article is devoted USB-When connected, the most reliable way to transfer notes while maintaining structure and formatting is to use the Mi Cloud cloud service, which is activated when you have the Internet, but you get the result on a PC. This method is often more effective than direct copying of database files, as Xiaomi encrypts its databases, and simply copying a note.db file without superuser rights (Root) may be impossible or useless.
Turn on sync notes in your Mi Account settings on your smartphone. Once the data is uploaded to the cloud, open your browser on your computer and go to i.mi.com. Sign in with the same account. You'll see all your notes, including text blocks, to-do lists and attached images.
From the web interface, you can copy the text of a note and paste it into any document on your computer. Moreover, some versions of the web interface allow you to export notes or print them into PDF. This is the only way to get data in a readable format without using third-party sophisticated software to decode Android databases.
⚠️ Note: When using the web version of Mi Cloud, make sure you log out after you have finished work, especially if you are using someone else's or a public computer.
What to do if the synchronization is suspended?
Direct search and copy of note files
For those who insist on local copying files through USB Without using the cloud, there is a path to the application files, and when you open the internal memory of the phone on your computer, you have to go down the path where the system application data is stored. 11 And above, access to the folder. Android/data It may be limited by the security system.
Note files are usually located in hidden system directories. /data/data/com.miui.notes/databases/. The problem is, the folder /data/ It's only available if you have a Root right, and without a superuser right, you can't copy a database file, even if you're using it. USB.
If you don't have Root permissions, try looking for backups or exported files in the MIUI/notes/ or MIUI/gallery/cloud/ folder (if attachments are saved there), sometimes users export notes in.txt or.html format via the Share function inside the application, and these files are stored in the download folder.
| Type of data | Location (standard) | Access without Root | File format |
|---|---|---|---|
| Text of notes | /data/data/com.miui.notes/... | No (closed) | SQLite (.db) |
| Investments (photo) | /MIUI/gallery/cloud/... | Yes (partially) | JPG / PNG |
| Backup copy | /MIUI/backup/AllBackup/... | Yes. | Encrypted archive |
| Manual export | Download folder / Documents | Yes. | TXT / HTML |
Use of the “Data Transfer” function and backup
Xiaomi’s built-in backup feature allows you to create a full backup of apps and their data, which can then be transferred to your computer via USB. To do this, go to Settings → About Phone → Backup and Restore. Select Backup and tick Notes.
Once you have backed up your phone, connect the device to your PC via USB. The backup file will be located along the MIUI/backup/AllBackup/ path. You can copy this folder to your computer. However, keep in mind that the backup file will have the.bak extension and can be encrypted.
This file is perfect for recovering data on another Xiaomi device, but if your goal is to just read text on your computer, this method is not suitable without special tools for unpacking MIUI backups.
💡
Keep your notes backed up on an external hard drive at least once a month, which will protect your data in case your phone is lost or internal memory is damaged.
Alternative ways of exporting through third-party instruments
If standard methods seem too complex or limited, you can use third-party software to manage Android devices, such as Mi. PC Suite (official but rare) or general-purpose managers like Android File Transfer. USB-cable and provide a convenient interface for viewing the file system.
Some notebook apps allow you to export in PC-friendly formats, for example, if you copy text from standard notes to Google Keep or Notion, you will get instant access to data from any computer through a browser, which is often faster than messing with database files.
There are also dedicated ADB scripts that can pull out SQLite databases and convert them to CSV or HTML on the fly, which requires installing the SDK Platform Tools on a computer and command line knowledge, but gives you complete control over the data.
⚠️ Warning: When downloading third-party data extraction software, be careful. Many of them may contain malicious code. Use only proven tools from open repositories (such as GitHub) or official developer sites.
💡
The fastest way to get the text of a note on your PC without losing formatting is to use the web version of Mi Cloud (i.mi.com), rather than looking for hidden files on the Android system.