Connecting Xiaomi smartphone to your computer through USB-The cable should be simple: connect the devices, choose the file transfer mode, and it's done. But in practice, users often find that the PC can't see the phone, doesn't open folders, or a notification appears «USB-The problem is complicated by the fact that in new versions MIUI (14 and above) the manufacturer hid some settings and the connection algorithm changed.
In this article, we will discuss all possible ways to allow the transfer of data by USB on smartphones Xiaomi, Redmi and POCO — From basic settings to complex errors, we'll give you step-by-step instructions for different versions. MIUI (Including HyperOS, we explain why a computer can't see a phone even after all the manipulations, and we give you recommendations for choosing a cable and a port. MTP, if the standard methods do not work.
Why Xiaomi does not transfer data over USB: the main reasons
Before we get to the settings, it is important to understand what prevents correct file transfer, and in 80% of cases, the problem lies not in the smartphone, but in the accompanying factors:
- 🔌 Unoriginal or damaged cable – cheap cables often do not support data transmission (charging only).
- 🖥️ Outdated drivers on PC – Windows may not recognize Xiaomi due to lack of current drivers ADB or MTP.
- 📱 Lockdown MIUI — In new firmware, the default mode may be disabled MTP (Media Transfer Protocol).
- 🔒 Ban on debugging USB — If you have previously included the debugging USB, If you have not confirmed access on your computer, the connection will be blocked.
- 🔄 Antivirus conflict: Software like Kaspersky or Avast can block the connection as a “suspicious device».
Another common reason is the default charging mode, and many users don't know that when you first connect to a new PC, Xiaomi automatically chooses Charging Only mode, which is designed for safety, but creates the illusion of a malfunction.
⚠️ Note: If you connect Xiaomi to your computer through USB-Hub or extension, try connecting devices directly. Many hubs don't support protocol. MTP and only operate in charge mode.
Method 1: Selecting USB mode when connecting (basic method)
The easiest way to enable data transfer is to select the appropriate mode when you connect to a PC. Here's how to do this:
- Connect your smartphone to your computer using the original cable (preferably from the kit).
- Unlock the Xiaomi screen – on a locked device, the choice of USB mode is not available.
- In the top notification bar, you'll see a message that says, "Charge over USB."
- In the window that opens, select File Transfer or Photo Transfer (PTP).
If you don't have File Transfer, you've disabled the MTP protocol on your device, and then you've got to move on to the next one.
Use the original Xiaomi cable
Connect to USB 2.0 (black port) on your PC
Unlock the smartphone screen
Update. MIUI last-minute-->
| USB mode | Description | When to use |
|---|---|---|
| File Transfer (MTP) | Allows you to view and copy files on a PC as on a flash drive. | To work with documents, music, video. |
| Transfer of photos (PTP) | It only allows you to access photos and videos (like a digital camera). | If MTP doesn’t work or you need compatibility with older PCs. |
| Just charging. | USB is used only for power, data is not transmitted. | To save battery life. |
| MIDI | To connect musical instruments. | Only for professional audio equipment. |
Method 2: Enabling MTP in the Developer Settings
If there is no File Transfer option in the USB connection menu, it can be forced to activate via the developer settings, which works on all Xiaomi smartphones, including models with HyperOS (for example, Xiaomi 14 or Redmi Note 13).
First, you need to turn on the developer mode:
- Open the Settings. → The phone.
- Find the MIUI version and tap it 7 times in a row, and the notification will appear: “You became a developer!”.
- Return to the main settings menu – there will be a new section “For developers”.
Now turn on the forced MTP mode:
- Go to Settings. → For developers.
- Find the option "Configuration" USB by default (or «USB-configuration»).
- Select "File Transfer (MTP)".
- Connect your smartphone to your PC – the mode should be activated automatically.
⚠️ Note: On some models (e.g, POCO F5) Option “Configuration” USB» In this case, use the method of ADB-teams (described below).
Xiaomi (series 11/12/13/14)
Redmi (Note, K, A)
POCO (F, X, M)
Another brand-->
Method 3: Correction through ADB (for power users)
If standard methods fail, you can force MTP to be enabled using Android Debug Bridge (ADB), which requires installing drivers and minimal command line knowledge.
First, prepare the computer:
- Download Platform Tools from the official Android website.
- Unpack the archive to the root of the C:\ disk (the path C:\platform-tools should be obtained).
- Turn on your smartphone debugging over USB in the developer settings.
Now, execute the commands:
cd C:\platform-tools
adb devices
adb shell settings put global usb_config mtp,adbThen reconnect your smartphone, and the MTP mode should work. If not, try an alternative command:
adb shell am broadcast -a android.hardware.usb.action.USB_STATE --es configured true --es function mtpWhat if the ADB can’t see the device?
Method 4: Updating drivers on your computer
Often the problem is not with the smartphone, but with the absence or legacy drivers on the PC, especially with Windows 10/11, where MTP drivers can conflict with other devices.
To update drivers manually:
- Connect Xiaomi to your computer.
- Open Device Manager (click Win + X → Device Manager).
- Find your smartphone in the “Portable Devices” or “Other Devices” list (may appear as an MTP or with an exclamation point).
- Right-click → “Update driver” → “Research drivers on this computer.”
- Select “Select driver from list” → “MTP USB Device”.
If the driver MTP not listed, download it from Microsoft’s official website or use Xiaomi utility PC Suite (but it's often outdated) An alternative is installing a universal Google driver. USB Driver.
💡
If after updating the drivers, the smartphone is still not determined, try connecting to another USB-Ports, ports. USB 3.0 (blue) is sometimes in conflict with the protocol. MTP — Use the black ports USB 2.0.
Method 5: Reset USB settings (if nothing helps)
In rare cases, USB settings can get lost due to software failures, to return them to factory settings:
- Open Settings → Applications → Application Management.
- Slip on the three dots in the top corner → “Show all apps.”
- Find the app «USB-Settings (com.android.usb) and open it.
- Click on “Storage” → “Clear Data”.
- Reboot your smartphone and connect it to your PC again.
This method resets all custom USB settings, including saved configurations for specific computers, and once reset, you will have to choose the manual connection mode again.
⚠️ Attention: On some firmware MIUI attachment «USB-The settings" may be hidden. In this case, use the ADB-command to reset: adb shell pm clear com.android.usb
Addressing specific problems
If after all the manipulations, the data transfer still does not work, check the following nuances:
- 🔄 Rebooting devices – sometimes helps banal reboot and smartphone, and computer.
- 🛡️ Antivirus or firewall – temporarily turn off protection and check the connection.
- 🖥️ Another device – try connecting Xiaomi to another PC or laptop to rule out port issues.
- 📱 Flight mode -- turn it on for 10 seconds, then turn it off. It resets the network settings that sometimes affect the flight. USB.
- 🔧 Reset to factory settings is an extreme measure if the problem appears after the update MIUI.
For models with HyperOS (for example, Xiaomi 14 or Redmi K70) may require additional action: after selecting the MTP mode in the notification curtain will be a request for permission to access files – be sure to confirm it.
💡
If your Xiaomi is defined as an "Unidentified Device" even after all the settings, the problem is almost always PC drivers or a physical cable/port malfunction.