Transfer of Notes from Xiaomi to Computer via USB-cable

Xiaomi smartphone owners often face the need to keep important entries that accumulate in the standard Notes app.This can be due to the transition to a new gadget, the desire to protect data from accidental deletion, or the simple need to edit a large amount of text on the computer keyboard. Standard cloud syncs are not always convenient or available, so physical cable connection remains the most reliable way.

The process of copying files directly through USB-The interface allows direct access to the internal memory of the device without using third-party software or complex network protocol configuration. MIUI Or HyperOS, where you store local copies of text documents, we'll go into detail on the path to system folders and how to extract information correctly.

To perform the operation, you will need a proper USB-a cable, preferably original or certified, capable of transmitting data, not just charging the battery. Also make sure that your computer has basic mobile drivers installed, which usually happens automatically when you connect to a Windows or macOS operating system.

Before you start manipulating files, you need to activate debugging mode or simply allow access to data, which is a critical step for the security of your personal information. Note files in modern Xiaomi shells are often stored in secure system directories, access to which may require changing rights or using the backup function. We will consider both options: direct file search and creating a backup for later retrieval.

Preparation of a smartphone and computer for data transmission

The first step is to properly configure the connection between the mobile device and the personal computer. Connect the smartphone to the PC using the USB-The charge mode notification will appear on the phone screen. Click on it and select File Transfer mode (MTP). This action will open access to the device’s internal memory, making it visible as an external drive in My Computer».

In some cases, especially on newer versions of firmware, the system may ask permission to access data. You'll need to unlock the screen of your smartphone and confirm trust in that computer. Without this procedure, the file manager on your PC will not be able to display the contents of the folders, and you'll only see an empty window or a connection error message.

If you plan to use more advanced methods, such as USB debugging to access hidden partitions, you will need to activate the hidden developer menu. To do this, go to the settings, find the About phone item, and quickly click 7-10 times on the MIUI or HyperOS version until you get a message that you have become a developer.

Once the developer menu is activated, a new Development for Developers option will appear in the “Additional” section, and you will need to find and enable the USB Debugging Toggle, which will allow the computer to interact with the system at a deeper level, which may be necessary if the standard MTP mode does not display the desired system folders with application data.

⚠️ Attention: Including debugging by USB Do not connect your smartphone to unknown public charging stations or other computers with activated debugging mode, as this creates a risk of data theft.

Make sure that the smartphone screen does not go out during the initial connection setup, as the security system can automatically interrupt data transmission when the device is locked to save energy.

Search for location of note files in the file system

Xiaomi’s standard Notes app stores data in a specific directory, the path to which can vary depending on the version of the Android operating system. 11 And above, access to the folder. Android/data It's limited, but backup files are often in more accessible places. MIUI/backup/AllBackup or in the folder of the application itself.

To find specific text files, if you have previously exported them, it is worth checking the MIUI/notes root folder. This is where.txt files are saved if you have used the Send or Save as a File function inside the application. If you are looking for a database, it may have a.db or.bin extension, which requires special programs to read.

The table below shows the main ways in which the notes can be located depending on the type of storage:

Type of dataThe path in the file systemFile formatAvailability
Exported text/storage/emulated/0/MIUI/notes/.txtDirect access
Local backup system/storage/emulated/0/MIUI/backup/AllBackup/.bak / .abIt needs decryption.
Temporary files/storage/emulated/0/Android/data/com.miui.notes/.dbLimited (Android 11+)
Cloud synchronization (cache)/storage/emulated/0/Android/data/com.miui.cloudservice/differentHard access

If you can't find the MIUI folder at the root of internal memory, try using the Files Explorer built-in on the smartphone itself to check for copies you've created. Often users forget that just opening a note isn't enough - you need to explicitly export it to the file so that it appears as a separate copy object.

Using third-party file managers, such as Total Commander or FX File Explorer, installed on the smartphone itself, can make it easier to navigate through a complex directory structure, allowing you to quickly copy the desired file from the system folder to the public one, from where it is easy to pick up via USB.

📊 Where do you most often keep important notes?
In the Xiaomi Notes app
Google Keep.
I'm writing it down.
I'm sending it to Telegram.

Create a local backup through settings

The most reliable way to save all notes at once, including formatting and attachments, is to use the built-in MIUI backup function.This method creates a single archive that can be safely transferred to your computer. Go to Settings menu → About Phone → Backup and Restore.

In the menu that opens, select "Backup." The system will prompt you to select the type of data to save. Be sure to tick the "Notes" box. You can also select specific accounts if there are more than one. After selecting, click "Start Backup" and wait for the process to be completed.

☑️ Pre-copying check

Done: 0 / 4

The important thing is to set a password to a backup, and if you set a password, no one can recover your data without it, but you also risk losing access if you forget the combination. If you don't need a password, the system will create a file without encryption, which will make it easier to work, but reduce the level of security when stored on someone else's PC.

Once the process is complete, the backup file will be stored in internal memory. MIUI/backup/AllBackup. Inside, you'll see a folder with the date and time of the backup, and it's the contents of that folder, or the entire archive, that you need to copy to your computer's hard drive through the computer. USB-linkage.

⚠️ Note: Do not interrupt the backup process. If the smartphone battery runs out during recording, the backup file may be damaged, and it will be impossible to restore data from it even with specialized utilities.

Store a copy on your computer in a separate folder, calling it a clear name, for example, «Xiaomi_Notes_Backup_2026». This will help avoid confusion if you back up multiple devices or different dates.

Export of individual notes to text format

If you don’t need to restore notes on another Xiaomi phone, but just need to read or edit text on your computer, it’s best to export them to.txt. Open the Notes app on your smartphone. Select the desired entry or click on the control menu (three dots or long press) to highlight several notes at once.

In the action menu, find the “More” button or icon_share_, and select the option "Save as a file" or "Send." In the list of formats, select "Text" or ".txt." The system will suggest choosing a place to save - specify internal memory and a convenient folder, such as "Downloads" or create a new folder «Export_Notes».

Once saved, files will be available in the file system as normal text documents, and by connecting your phone over USB, you can find this folder and copy files to your computer using the standard copy-paste method, which is the easiest way to decrypt backups.

What to do if the formatting is lost?
When exporting to.txt, bold, italics and tables are lost. To save your design, select PDF export or use the Send → Mi Drop (ShareMe) function to transfer the original note file if the receiving device also supports Xiaomi format.

You can use the "Select All" function in the app for mass export, but remember that if you save a lot of notes into a single file, they can stick together. It's better to export important records individually or in small groups, so that you can easily divide them on a computer.

If the notes contain images or voice recordings, when exported to text, they may be lost or replaced by a file reference. In such cases, it is recommended to use the full backup method described in the previous section to save multimedia content.

Use of Mi PC Suite and alternative software

The official Mi PC Suite program was once the main content management tool, but it is now outdated and doesn't work well with newer versions of Android.However, it can be useful for older models. For modern devices, it's better to use universal tools like Android File Transfer for Mac or the standard Windows Explorer.

There are also specialized MIUI backup tools, like Mi Backup Extractor, which allow you to open a backup file created through your phone's settings and extract specific notes from it, converting them into a readable form, which is true if you've done a full backup, but you don't want to restore the entire phone.

When using third-party software, always check it for viruses and download only from official developer sites. Programs that require root rights to access a note database can violate the device warranty or lead to unstable system operation.

💡

Use Xiaomi Cloud (i.mi.com) to quickly upload notes. Go from computer to site, log in and copy text directly from your browser — often faster than messing around with cables and files.

Some users prefer to use sync applications like SyncThing or Resilio Sync, which create a direct link between a folder on your phone and a folder on your PC over Wi-Fi, emulating the link between the folder on your phone and the folder on your PC. USB-But the topic of this article is wired connection, which guarantees speed and stability in the transmission of large amounts of data.

If you're using Linux, plug in your device and use adb pull commands to extract files from specific directories. This requires command line knowledge, but gives you maximum control over the copying process.

Recovery and Opening of Copyed Data on PC

Once you've copied files to your computer, you have to open them. Files with the.txt extension open with any text editor: Notepad, Notepad++, Word. There's usually no encoding problem, but if you see "Krakoshibars" instead of text, try changing the encoding in the Format menu to UTF-8.

If you copy a backup file (archive), you can’t just open it. You’ll either need to restore it to your phone (via the recovery menu) or use a converter. The recovery process on another Xiaomi phone is done via the same menu: Settings → About Phone → Backup → Restore.

To extract data from a phoneless backup, there are online services and scripts in Python that unpack the MIUI backup structure. However, be careful when uploading personal data to third-party servers. It's safer to use local open source utilities.

⚠️ Note: SQLite database files (.db extension) found in system folders cannot simply be renamed.txt. DB Browser for SQLite.

After successfully opening and verifying content on a computer, it is recommended that you make another copy of files on an external hard drive or in another cloud. The three-copy rule states that data must be stored on three different media to be considered truly stored.

💡

The fastest way to get text on a PC is to export to.txt through the Share menu inside the application, and the most complete is to create a system backup and copy the AllBackup folder.

Frequently Asked Questions (FAQ)

Can I transfer notes to my iPhone via USB?
Straight through USB-cable to transfer files from the system MIUI You can’t use iOS because of the different file systems, so you’ll have to copy notes to your computer first (as described above) and then sync them to your iPhone via iCloud or third-party apps that support cross-platform.
Where did my notes go after the MIUI update?
Sometimes when you upgrade your system, the file path may change, or the Notes app may stop displaying local files if permissions are lost. Check the privacy settings for the Notes app and make sure that memory access is allowed. Also check the MIUI/notes folder through Explorer.
How to open a.bak file with notes on your computer?
.bak files are a proprietary backup format for Xiaomi. You can't just open them. You either need to restore the backup to your Xiaomi smartphone, or use special decryptors (Mi Backup Extractor), which can convert content into readable XML or HTML format.
Will the attachments (photos) be saved when copying notes?
If you only copy a text file (.txt), the attachments will be lost. If you make a full backup through the system settings, the photos, audio recordings and sketches will be saved inside the archive and restored along with the text of the note.
Why can't the computer see the notebook?
Chances are you're looking in the wrong directory or you don't have file transfer mode (MTP) on your phone. Also on Android 11+, access to the Android/data folder via USB is locked by security. Use the phone's built-in conductor to copy files to the root folder before connecting to your PC.