Transfer notes from Xiaomi, Redmi or POCO computer USB-cable seems like a simple task, but in practice, users face a lot of nuances: from the lack of access to the folder with notes to connection errors. In this article, we will discuss all the current ways to copy notes (including handwritten and textual), explain why the standard method of copying notes is used in the form of a new method of communication. MIUI/Notes It doesnβt always work, and weβll show you the way around the models. MIUI 14/15.
Notes are stored in a closed format.xnb (for handwritten) or in the database notes.db. This means that simply copying files through a Explorer is not enough: you will need to convert or synchronize. We will consider options for users who have never synced notes with Mi Account, and for those who want to keep the structure of folders and tags.
Important: if you use notes with encryption (the function is available in the MIUI 15), transfer through USB will require a preliminary decryption - read about this in the section about export through the application.
Why? USB, Not the cloud or Bluetooth?
With the popularity of cloud services (Mi Cloud, Google Drive) USB It remains relevant for three reasons:
- π Privacy: Notes are not transmitted over the Internet, which is critical for work or personal records with sensitive information.
- π¦ Data volume: if you have hundreds of notes with attachments (photo, PDF), synchronization through the cloud will take hours. USB can do it in minutes.
- π No dependency on services: no need to log in to Mi Account or set up a Google Account, cable is enough.
Besides, USB-Connectivity allows you to work with notes offline, which is an important plus for regions with unstable Internet:
| Advantages USB | Deficiencies USB |
|---|---|
| Transfer speed up to 480 Mbps (USB 2.0) | Physical access to phone and PC is required |
| There are no limits on the amount of data | Need rights to read system folders (on some firmware) |
| Suitable for corrupted notes (if the file does not open in the cloud) | Handwritten notes (.xnb) must be converted |
| It works on all Xiaomi models (including the old ones). MIUI 10) | New firmware may be blocked MTP-protocol |
If you prefer the cloud method, there is a section at the end of the article with alternatives, including exporting through Google Keep and Mi Cloud.
Preparation of telephone and computer
Before connecting, make sure both devices are ready to transmit data.
Turn off battery optimization for the Notes app
Enable Developer Mode (if you need access to hidden folders)
Update. MIUI Up to the latest version (corrects bugs from the MTP)
Make sure that USB-The cable supports data transfer (not just charging)
-->
On the computer:
- π₯οΈ Install Xiaomi drivers (download from the official website or via Mi) PC Suite).
- π Use the back. USB-port (on laptops it is often faster than the front).
- π‘οΈ Temporarily disable the antivirus (it can block access to the system files of the phone).
Critical: If youβre connecting Xiaomi to your PC for the first time, select from the menu USB-Connection mode File transfer (MTP). On some firmware, this item is hidden - then you need to:
- Connect the cable.
- Swipe down the notification panel.
- To notify the charger through USB.
- Select File Transfer (if there is no such item, see spoiler below).
What to do if there is no "File Transfer" item?
β οΈ Attention: On models POCO F5 Redmi Note 12c MIUI 15 when you first connect to the PC, a request to unlock may appear OEM Unlock (even if you don't plan to unlock the bootloader). This is a firmware bug - just click "Cancel", it won't affect file transfers.
Method 1: Copying through a folder MIUI/Notes (note-note)
This method is suitable for ordinary text notes created in the standard Notes app (com.miui.notes). Hand notes (.xnb) cannot be copied in this way - use Method 2 for them.
Instructions:
- Connect your phone to your PC in MTP mode.
- Open Windows Explorer (Win) + E) and go to this computer β [The name of your Xiaomi] β Internal storage.
- Walk along the way: MIUI β Notes β Backup Notes are stored here in.json format.
- Copy all files from the backup folder to your computer.
To open copied notes on the PC:
- π Use a text editor (Notepad)++, VS Code) for viewing.json files.
- π For convenience, convert them to.txt through online services like JSON-CSV.
- π± Install the emulator. MIUI (for example, MIUI Emulator) for viewing notes in original format.
β οΈ Attention: In the folder MIUI/Notes There may be no notes created in the past. 24 One hour, the system backs up late, and to force you to save your current data, open the Notes app, swipe left to open the side menu, and select Settings. β Backup β Create a backup copy.
π‘
If the folder MIUI not displayed in Explorer, enable the display of hidden files: in Windows 10/11 Go to the tab "View" and tick "Hidden elements".
Method 2: Export of handwritten notes (.xnb) through ADB
Handwritten notes in Xiaomi are stored in a proprietary.xnb format that is not readable by standard PC programs.
- Install ADB-Drivers and enable debugging by USB phone-on.
- Copy.xnb files with commands ADB pull.
- Convert them to.png or.pdf through specialized tools.
Step-by-step:
Step 1. Enable debugging over USB:
- Go to Settings. β The phone. β Version. MIUI and tap 7 times on this item to activate Developer Mode.
- Return to Settings β Additional β For developers and enable USB debugging.
- Connect the phone to the PC and confirm the debugging permission on the smartphone screen.
Step 2. Copy the.xnb files:
- Download ADB Tools and unpack the archive.
- Open the command prompt (Win + R β cmd) and go to the folder with ADB:
- Follow the command to copy notes:
Step 3: Convert.xnb to readable format:
- πΌοΈ Use the program to view handwritten notes XNB Viewer (available on GitHub).
- π For conversion into PDF Use the XNBtoPDF service.
- π§ If notes do not open, check file integrity through adb shell ls. -l /data/data/com.miui.notes/files/Notes/.
π‘
.xnb files contain not only an image of the note, but also metadata (date of creation, tags). PDF This data is lost β save the original files for the archive.
Method 3: Using Mi PC Suite (official method)
Mi PC Suite is Xiaomiβs official software for managing your phone from a computer, and allows you to export notes to.txt or.html, but has limitations:
- β Supports all models Xiaomi/Redmi/POCO.
- β Keeps the structure of folders and tags.
- β Does not work with handwritten notes (.xnb).
- β Requires authorization in Mi Account.
Instructions:
- Download Mi PC Suite from the official website and install it.
- Connect your phone to your PC through USB (regime MTP).
- In the program go to the Data Management section β Notes.
- Select the necessary notes and click Export (formats available) TXT, HTML, XML).
Important: Mi PC Suite does not support export of notes with encryption (the function "Secure notes" in the MIUI To move them, first remove the protection in the application on the phone.
β οΈ Note: If you are connected to the Mi PC Suite gives you an error "Device not supported", update your phone's firmware to the latest version or use Method 4 (via backup).
Method 4: Backup notes to a local file
This method is universal and works even on devices with a corrupted file system, so the idea is to back up notes in.backup format and then extract the data on a PC.
Instructions:
- Open the Notes app on your phone.
- Slip on the profile avatar (or three stripes in the upper left corner) β Settings β Backup.
- Select Local Backup and wait for the file to be created (usually takes 1-2 minutes).
- The file will be saved along the way: /storage/emulated/0/MIUI/backup/Notes/ Copy it onto a computer.
- Use the program to extract data MIUI Backup Extractor (downloaded) XDA Developers).
Advantages of the method:
- π Keeps all notes, including deleted ones (unless they were cleared from the basket).
- π Supports export of tags and categories.
- π‘οΈ It works without Internet and authorization.
Disadvantages:
- β οΈ A backup copy can weigh several gigabytes if there are many attachments in the notes.
- β³ PC recovery takes longer than direct export.
Addressing common mistakes
When translating notes through USB And we've put together solutions for the most common cases:
| Mistake. | Reason. | Decision |
|---|---|---|
| The phone is not defined as a storage device. | Drivers not installed MTP or the "Charge Only" mode is activated" | Install drivers via Mi PC Suite or manually switch mode USB notice-curtain |
| folder MIUI/Notes idle | No backup or notes synced only to the cloud | Create a backup manually (see Method 4) |
| Adb: device unauthorized error | Request for debugging via USB is not confirmed | Disconnect and reconnect the cable, confirm the permission on the phone |
| .xnb files are not opened | File damage or version incompatibility MIUI | Try opening them on another Xiaomi device or use them. XNB Viewer |
| Mi PC Suite doesn't see the note | Outdated version of the program or firmware | Update Mi. PC Suite and MIUI last-minute |
If none of the methods worked, check:
- π Cable: Try another one USB-cable (preferably original from Xiaomi).
- π± Firmware: on custom firmware (e.g. Pixel Experience) standard folders MIUI may be absent.
- π Access rights: Some devices require root to access /data/data/com.miui.notes/.
Alternative methods of transferring notes
If USB-Connection is not available for some reason, consider these options:
- βοΈ Mi Cloud: Open Notes β Settings β Sync. Enable sync with Mi Account. On PC, go to i.mi.com and download notes in the file. PDF or TXT. Restriction: Only 5GB of cloud storage is available for free.
- π€ Google Drive/Keep: Export notes from Mi Notes to Google Keep via the Share menu. On PC, open keep.google.com and download the archive. Plus: automatically converts.xnb to images.
- πΆ Local area network (FTP): Put it on the phone. FX File Explorer or Solid Explorer. Activate FTP-server in the application. Connect to it from the PC via \\IP-conductor.
Minus.
For users who often work with notes on different devices, we recommend that you set up automatic sync via Mi Cloud or Google Drive, which will eliminate the need for manual transfer in the future.