Transfer contacts from Xiaomi phone to computer via USB-cable seems like a simple task, but in practice users face a lot of nuances: from the lack of access to files to problems with synchronizing formats. Unlike cloud services, direct cable transfer gives you full control over the data, but requires the correct configuration of both devices.
In this article, we will examine all the current ways to export contacts, from standard copying through MIUI to using hidden ADB functions for advanced users. We will focus on common mistakes: why the computer does not see the contact folder, how to circumvent the restrictions of MIUI 14/15 on access to system files, and what to do if contacts are transferred in an unreadable format. All instructions are tested on the Redmi Note 12 Pro+, Xiaomi 13 Ultra and POCO F5 models with the latest firmware updates.
Preparing Xiaomi phone for the transfer of contacts
Before connecting to the computer, you need to configure the smartphone, otherwise the system MIUI It blocks access to your contacts. Start by checking the firmware version. MIUI 14 and newer the permitting mechanism for USB-connection.
Open Settings β About your phone and write down the MIUI version. If it is older than 13.0, update your system via Settings β Software Update. Outdated versions may not support modern MTP data protocols, which will lead to copying errors.
- π± Unlock the screen: Connect USB requires an unlocked screen (password/fingerprint). IR-locking (for example, Xiaomi) 13T Pro may require input PIN-code.
- π Select Transfer Mode: When connecting the cable in the notification curtain, tap on the option "Charging through" USB" and select File Transfer (MTP).
- π Allow debugging (optional): For methods with ADB activate the settings β The phone. β Version. MIUI (Tap 7 times, then go back to Settings β Additionally. β For developers β Debugging by USB.
β οΈ Attention: On devices with MIUI 15 and HyperOS will be requested for confirmation when you first connect to a new PC RSA-If you ignore it, you'll have limited access to the files.
Method 1: Export contacts to a VCF file via standard settings
The most reliable method that works on all Xiaomi models is exporting contacts to the universal.vcf (vCard) format, which can be opened in Outlook, Excel or imported into any contact manager.
Instructions:
- Open the Contacts app (a icon with a person's silhouette).
- Slip on three points in the upper right corner β Contact management.
- Select Import/Export Contacts β Export to File.
- Check the accounts whose contacts you want to export (e.g., Device or Google).
- Click Export and save the file to the Download folder or on SD-map.
Now connect the phone to the PC through USB, select mode MTP Copy the contacts.vcf file from the Internal folder Storage/Download For convenience, rename it by adding a date (e.g, contacts_20260515.vcf).
Check the available space on your phone (need β₯50MB)
Turn off sync with Mi Cloud (if not needed)
Close all background apps (especially messengers)
Connect the original USB-cable (not all cables support) MTP)
-->
| File format | Size (for 1000 contacts) | Compatibility | Features |
|---|---|---|---|
| .vcf (vCard) | ~1-3 MB | All OS and programmes | Maintains contact photos |
| .csv (Excel) | ~0.5-1 MB | Requires conversion | Convenient for editing in tables |
| .xml (Android Backup) | ~2-5 MB | Only Android devices | It contains additional metadata. |
Method 2: Copying a database of contacts through ADB (for advanced ones)
If standard export does not work (for example, due to a failure in the Contacts application), you can extract the database directly through Android Debug Bridge (ADB). This method requires on-board debugging over USB and installed ADB drivers on the PC.
Steps:
- Download Googleβs Platform Tools and unpack the archive.
- Connect your phone to your PC, allow debugging and open the command line in the folder with adb.exe.
- Follow the commands: adb devices (should display your device) adb shell su cp /data/data/com.android.providers.contacts/databases/contacts2.db /sdcard/contacts_backup.db exit exit
- Copy the file on PC: Adb pull /sdcard/contacts_backup.db C:\Contacts\
File. contacts_backup.db can be opened DB Browser for SQLite or convert to.vcf via online services, the only method that allows you to restore contacts even after resetting the phone to factory settings, if the database was not overwritten.
β οΈ Attention: On devices with MIUI 14+ If you have a locked bootloader, the su command won't work, in which case you can use an alternative command without superuser rights: adb pull. /data/data/com.android.providers.contacts/databases/contacts2.db But access to the folder. /data/data/ may be limited.
π‘
If ADB doesnβt see the device, try reinstalling drivers via Mi PC Suite or manually pointing the path to drivers in Device Manager (Portable Devices section).
Method 3: Sync with Google Account and Export via Gmail
If your contacts are linked to a Google account, they can be transferred to a PC without a direct USB connection, a method that is suitable for backup or transfer to another phone.
Instructions:
- On the phone, open Settings β Accounts β Google.
- Make sure the Contact switch is on (synchronization is active).
- On your computer, go to the Google Contacts website.
- Select all contacts (check in the top left) β Export β select the format of Google CSV or vCard.
The file will be uploaded to the Download folder, which can be opened in Excel for editing or imported into Outlook, and the main advantage of the method is that contacts can be automatically updated when they change on the phone.
How to import contacts back to Xiaomi?
Solving common errors in transfer
Even with the right settings, users are faced with problems, and here are the typical scenarios and their solutions:
- π₯οΈ Computer Can't See Phone: Check the Cable (Try Another), Update Drivers MTP It's through Device Manager. 10/11 Sometimes it helps to install the Mi PC Suite.
- π No access to the contact folder: MIUI 14+ Use a file manager (e.g. Solid Explorer) with root rights or export through ADB.
- π Contacts moved without names or photos: The problem is encoding the.vcf file. Open it in Notepad++ and save it in code. UTF-8.
- π Requests bootloader unlocking: On some models (e.g. Xiaomi) 12S Ultra) for access /data/data/ through ADB You need to unlock the bootloader!
β οΈ Note: If you are connected to USB The phone is constantly restarting, disable the debugging function USB (security parameters) in the developer settings. This may be due to a conflict between Qualcomm drivers on devices with a Snapdragon processor.
Alternative methods: cloud, Bluetooth and third-party applications
If USB transfer is not possible, consider alternatives:
- βοΈ Mi Cloud: Upload contacts to Xiaomi cloud (Settings) β Mi Account β Mi Cloud β Contacts), then export through the web version of i.mi.com.
For mass transfer (for example, when changing the phone), it is optimal to combine methods: export the main base through ADB, and synchronize fresh contacts with Google.
π‘
On HyperOS devices (e.g. Xiaomi 14), standard export to.vcf can create files with the.vcf.crdownload extension. Rename them to.vcf manually before importing.
Data Security: How to Protect Contacts When Transferring
Contacts contain confidential information, so when transferring, observe precautions:
- π Encrypt backups: Use them 7-Zip or WinRAR to create a password archive with a.vcf file.
- ποΈ Delete temporary files: After transferring, clean the folder /sdcard/ database-copy (contacts_backup.db).
- π‘οΈ Check for viruses: Scan.vcf or.db files with antivirus before opening on PC.
- π Avoid public Wi-Fi: When using cloud services (Mi Cloud, Google Contacts) do not sync in unsecured networks.
If youβre migrating contacts to your desktop, use enterprise tools like Microsoft Intune to manage data, especially for Xiaomi devices that support Android Enterprise (such as the Xiaomi 13T Pro).