PC Can't See Xiaomi Phone Through USB: Complete Guide to Fixing Problems

You connected Xiaomi to your computer through a USB- cable, but the device is not detected? This problem is familiar to many owners of smartphones of the brand - from budget Redmi to flagship Mi 13 Ultra. The reasons can lie in the settings of the phone, Windows drivers, physical damage to the cable or even the features of the firmware MIUI.

In 80% of cases, the malfunction is fixed in 5-10 minutes by simple actions: changing the USB mode, updating drivers or restarting devices. But sometimes you need a deep diagnosis - for example, checking ports on the motherboard of a PC or resetting Xiaomi's settings to factory ones. In this article, we will discuss all possible causes and solutions, including hidden MIUI settings that are not described in the official documentation.

We will pay special attention to models with a locked bootloader (for example, Xiaomi 12T for the European market) – they often have conflicts with Qualcomm drivers when connecting to a PC. Also consider how to circumvent the limitations of USB- debugging if the phone is visible as an β€œUnidentified device” in Device Manager.

Verification of physical connections: cable, ports and adapters

Start with basic hardware diagnostics. In 35 percent of cases, the problem is a damaged cable or a contaminated USB port β€” especially if you use non-original accessories. Take the cable that comes with Xiaomi (or a certified USB-C/USB-A with data support), and check:

  • πŸ”Œ Connect the cable to another USB- port on your PC (preferably USB 3.0 blue – they are more stable).
  • πŸ“± Try another cable β€” even if it looks good, the inner veins could have been rubbed.
  • πŸ–₯️ Connect Xiaomi to another computer or laptop to prevent PC ports from malfunctioning.
  • πŸ”„ Turn the USB-C connector on the phone β€” sometimes the contacts oxidize on only one side.

If you have a Xiaomi USB-C connector, pay attention to the status of the contacts inside the phone port. Use a flashlight to inspect them for contaminants or deformities. Use alcohol and cotton swabs (not metal objects!) to clean.

⚠️ Warning: Don't use charging-only cables (such as some powerbanks) that don't have wires to transmit data, and a PC never recognizes a phone through such cable.

πŸ“Š What? USB-You are using the cable to connect Xiaomi?
Original from Xiaomi
Third-party USB-C/USB-A
USB-C/USB-C
I don't know which one.

2.Setting up USB mode on Xiaomi phone

Xiaomi's default MIUI connects to your PC in Charge Only mode. To transfer files, you have to manually select a different mode.

  1. Connect the phone to the PC.
  2. Swipe down the notification bar on Xiaomi.
  3. Tap on the Charge notification via USB (or USB for file transfer).
  4. Select File Transfer (MTP) or Image Transfer (PTP).

If no notice appears:

  • πŸ”§ Go to Settings. β†’ Connection and sharing β†’ USB and select the mode manually.
  • πŸ”„ Reboot the phone β€” sometimes MIUI forgets to show the notification.

On some models (e.g., POCO F5 or Redmi Note 12 Pro+) you may need to unlock USB- debugging:

  1. Activate Developer Mode: Settings β†’ About Phone β†’ MIUI version (tap 7 times).
  2. Back to Settings β†’ Additionally. β†’ For developers.
  3. Turn on USB debugging and confirm the resolution when connecting to the PC.

Select a regime MTP/PTP notice|Check the settings USB in the menu "Connection and Sharing"|Activate USB-debugging (if required)|Reboot your phone after the changes-->

3. Updating and reinstalling drivers on PC

If the PC makes a connection sound but Xiaomi doesn't show up in This PC, the problem is most likely drivers. Windows 10/11 automatically installs universal MTP drivers, but they can conflict with the phone's firmware.

First, check the Device Manager:

  1. Press Win + X β†’ Device Manager.
  2. Deploy Portable Devices or Other Devices.
  3. If you have an Unidentified Device or Xiaomi with a yellow triangle, right-click β†’ Update the driver β†’ Auto Search.

If automatic updates do not help, install drivers manually:

  1. Download Mi PC Suite (official software from Xiaomi) – it will automatically install the desired drivers.
  2. Or download Qualcomm Drivers (for Snapdragon phones) from Qualcomm's website.
  3. For MediaTek devices (e.g. Redmi 10C), use the SP Flash Tool.
Xiaomi modelProcessorRecommended driver
Xiaomi 13 ProSnapdragon 8 Gen 2Qualcomm QDLoader
Redmi Note 12Snapdragon 4 Gen 1Mi PC Suite
POCO X5 ProSnapdragon 778GGoogle USB Driver
Redmi A2MediaTek Helio G36MTK VCOM Drivers

⚠️ Warning: If Xiaomi is defined as Portable Device after installing the drivers, but files are not transferred, try disabling the antivirus – some programs (e.g. Kaspersky) block the MTP- connection.

4. Reset USB settings and MIUI cache

Sometimes USB malfunctions occur due to a damaged cache of MIUI system applications.

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Slip on three points in the upper right corner β†’ Show all the processes.
  3. Find Settings and Warehouse, clear the cache for both.
  4. Reboot the phone.

If this doesn’t work, reset your USB settings:

  1. Activate Developer Mode (as described above).
  2. Go to Settings β†’ Additional β†’ For developers.
  3. Find the option Reset USB configuration (on some firmware β€” Revoke USB permissions) and tap on it.

For models with a locked bootloader (such as the global versions of Xiaomi 12), you may need to unlock the OEM:

  • πŸ”“ In the Developer Settings, enable Unlock OEM.
  • πŸ”„ Connect your phone to your PC and confirm permission to unlock (a request will appear).
What to do if there is no item "USB configuration reset"?
On some MIUI firmware (especially Chinese), this item is missing. Alternative: Delete the /data/property/persist.sys.usb.config file via ADB: adb shell su rm /data/property/persist.sys.usb.config reboot Or reset all settings (Settings β†’ About Phone β†’ Reset), but this will delete user data.

5. Verification of Windows Compatibility and Alternative Connection Methods

Some versions of MIUI conflict with Windows 11 due to changes in the MTP protocol. If your PC runs Windows 11, try:

  • πŸͺŸ Reverse to Windows 10 (via Settings β†’ Update & Security β†’ Recovery).
  • πŸ”§ Install the MTP Porting Kit (available on GitHub).
  • πŸ“ Use Wi-Fi file transfer via Mi Drop or Snapdrop as a temporary solution.

For MacOS or Linux users:

  • 🍎 On a Mac, install Android File Transfer (official software from Google).
  • 🐧 On Linux, add a rule for udev: sudo nano. /etc/udev/rules.d/51-android.rules # Add a line: SUBSYSTEM=="usb", ATTR{idVendor}=="2717", MODE="0666", GROUP="plugdev" #Save (Ctrl)+O β†’ Enter β†’ Ctrl+X) and execute: sudo udevadm control --reload-rules sudo udevadm trigger

If Xiaomi is defined as a CD-ROM (e.g., on Redmi 9A), it means that the phone has switched to Fastboot mode.

  1. Turn off the cable.
  2. Press Volume Up + Power for 10 seconds.
  3. Connect the cable again after full MIUI load.
adb shell


setprop sys.usb.config mtp,adb

Then reconnect the cable.-->

6. Diagnostics of software failures and firmware

If all previous steps have failed, the problem may be MIUI firmware or system failures.

  1. Go to Settings β†’ About Phone β†’ Update the system and install the latest updates.
  2. If the phone is not updated, download the full firmware package for your model from the official Xiaomi website and install it through System Update β†’ Three Dots β†’ Select a firmware file.

For the diagnosis of deep failures:

  • πŸ› οΈ Run Safe Mode (hold Power β†’ long tap on Turn off β†’ Safe Mode). If this mode USB works, the problem is in the third-party app.
  • 🧹 Perform a reset of MIUI without deleting data: Settings β†’ About Phone β†’ Resetting β†’ Reset all settings

If Xiaomi has previously been exposed to unlocking a bootloader or installing custom firmware (like LineageOS), USB may not work because of:

  • πŸ”§ Incorrectly defined build.prop parameters (e.g. ro.sys.usb.mtp=true missing).
  • πŸ”„ The damaged section /vendor responsible for the USB- stack.

⚠️ Warning: Phones with an unlocked bootloader (Xiaomi 11T Pro, POCO F4 GT) may require re-unlocking OEM and reflashing VBmeta to recover USB after resetting to factory settings.

7. Hardware malfunctions: when to contact the service

If none of the software methods worked, it could be a hardware failure, and you can notice the following symptoms:

Symptoms.Possible malfunctionDecision
The phone does not charge via USB, but is charged from the socket.Damaged USB controller on the motherboardReplacement of USB- port or controller soldering
The PC emits a connection/disconnection sound every 2-3 seconds.Short circuit in USB- port of the phoneMultimeter Diagnostics, Port Replacement
USB only works in one position of the cable.Wear/oxidation of connector contactsCleaning or replacing USB-C port
The phone warms up and shuts down when connected to a PCProblems with the power controller (e.g. PMIC)Diagnostics at the service center

For models with wireless charging (e.g. Xiaomi 13 Pro or Mi Mix 4) check if the Qi coil is damaged – sometimes it closes on the USB-port, causing crashes.

If you suspect a hardware malfunction, don't try to disassemble the phone yourself - Xiaomi uses adhesives and brittle plumes. Contact an authorized service center. The cost of repairing the USB-port is on average:

  • πŸ’° Port replacement USB-C: 1,500–3,000 β‚½.
  • πŸ’° Diagnostics + Controller soldering: 3,000–6,000 β‚½.

πŸ’‘

Before visiting the service, back up your data via Mi Cloud or ADB Backup, as repairs may require a complete phone reset.

8. Alternative ways to transfer files without USB

Restore USB-The connection failed, use alternative methods:

  • 🌐 Wi-Fi Transfer: Install Mi Drop (preinstalled on MIUI) or Snapdrop (opts via browser). Open snapdrop.net on PC and phone, select files to transfer.
  • ☁️ Cloud Services: Upload files to Mi Cloud, Google Drive, or Yandex Disk. Use Rclone to sync folders as scheduled.
  • πŸ“‘ FTP- Server: Install FX File Explorer or Solid Explorer on your phone. Activate FTP- server in the application settings and connect via FileZilla or Windows Explorer (enter ftp://IP- phone address).
  • πŸ”Œ OTG- Adapter: Connect a flash drive or SSD via USB-C OTG and copy the files directly. Use a microSD card reader if the phone supports memory expansion.

For the transfer of large amounts of data (for example, backup copies), optimally use the local network:

  1. Connect your PC and Xiaomi to the same Wi-Fi network.
  2. On your phone, install KDE Connect or Portal (from Pushbullet).
  3. Enable the option of File Transfer in the application settings.

If you need to control your phone from a PC (for example, for debugging), use:

  • Scrcpy (streaming screen over USB/Wi-Fi).
  • Vysor (the paid version supports file transfer).
  • TeamViewer QuickSupport (for remote access)

FAQ: Frequent questions about Xiaomi's PC connection

Why does a PC see Xiaomi as an β€œUnidentified Device” even after installing drivers?
This is a typical problem for Qualcomm phones (e.g. Xiaomi 12S Ultra). Solution: Open Device Manager β†’ find Unidentified Device. Right-click β†’ Properties β†’ Info β†’ Equipment ID. Download the VID and PID driver from Device Hunt. If VID starts at 2717, it's Xiaomi - use the Mi PC Suite driver.
Can you connect Xiaomi to your PC without unlocking the bootloader?
Yes, standard file transfer (MTP) requires no OEM unlocking, but if you want to use ADB or Fastboot, unlocking is mandatory (except for Chinese firmware, where it is disabled by default). Except: on some models (for example, the POCO F3 GT), MIUI blocks ADB even after unlocking - you need to disable Mi Unlock Status via Fastboot: fastboot oem unlock-go.
Why is Xiaomi connecting to Mac but not Windows?
This is due to differences in protocol implementations MTP: 🍎 MacOS uses Android File Transfer, which is better compatible with MIUI. πŸͺŸ Windows often conflicts with custom firmware (e.g. xiaomi.eu). Windows solution: Install Microsoft's official "Your Phone" app. Or use ADB to force activate MTP: adb shell setprop persist.sys.usb.config mtp,adb.
How to transfer files from Xiaomi to PC if USB is not working and Wi-Fi is disabled?
Use Bluetooth (slowly but reliably): Turn on Bluetooth on your phone and PC. Connect devices (password usually 0000 or 1234). On your phone, select files β†’ Share β†’ Bluetooth. For large files (>100 MB), connect your phone to a 4G- router and use FTP over a local network (for example, via ES Explorer).
Can antivirus block Xiaomi’s USB connection?
Yes, some antiviruses (Kaspersky, Avast, 360 Total Security) block the MTP- connection, mistaking it for a potential threat. To check: Turn off the antivirus for 5 minutes and reconnect the phone. If USB is up, add MtpDevice.dll to the antivirus exceptions (path: C:\Windows\System32\drivers\). Also check the Windows Firewall: Go to the Control Panel β†’ Firewall β†’ Additional settings to the Windows Driver Foundation Rule and turn it on.