Connecting Xiaomi smartphone to your computer through USB-cable seems like a simple task, but many users are faced with the fact that the device is only defined as “charging” or does not appear at all in the conductor. MIUI. In this article, we will discuss all possible ways to enable data transfer, including hidden settings that the manufacturer does not advertise.
Feature of Xiaomi smartphones – the presence of several data transfer protocols: MTP (file-wise), PTP (photo), RNDIS (It's called "Charge Only" and it can automatically choose the wrong option you want by default. MIUI 14/15 logic USB-Connectivity has changed, causing confusion even for power users. Next, you will learn how to manually switch modes, update drivers on a PC and bypass typical errors.
Why Xiaomi does not transfer data over USB: the main reasons
Before we get to the settings, it’s important to understand what’s preventing normal file transfers, and here are the most common reasons why Xiaomi doesn’t show up in My Computer:
- 🔌 Wrong Connection Mode: “Charge Only” can be activated by default or PTP (for cameras) that does not show the file system.
- 🖥️ Lack of drivers MTP on a computer - especially relevant for Windows 7/10 or after reinstallation of the system.
- 🔒 Lockdown USB-Debugging in the developer settings (if previously included this mode).
- 📱 Limitations MIUI: in some regional firmware (for example, for India or China) data transmission USB defaulted.
- 🔄 Damaged. USB-cable or port – even if charging is underway, data transmission may not work.
Interesting fact: Xiaomi with MIUI 13+ firmware, when you first connect to a new PC, you may have a request for data permission that is easy to miss. If you click Cancel, the system will remember this choice and block access in the future.
⚠️ Warning: If you connect Xiaomi to your computer at work or in a public place, avoid mode MTP — It allows you to view all the files on your device, including personal data. PTP (only photo) or “Only charging».
Method 1: Switching USB mode in the notification curtain
The fastest way to turn on data is to change the connection mode right at the moment of connecting to the PC.
- Connect Xiaomi to your computer using the original USB cable (or a certified USB-C/USB-A).
- Unlock the smartphone screen – on the locked device, the connection menu will not appear.
- Swipe down from the top edge of the screen to open the notification bar.
- Find the notification “USB for file transfer” (or USB charging this device in English firmware) and tap it.
- In the window that opens, select File Transfer (MTP) or Photo Transfer (PTP) if you only want access to images.
If there is no notice in the curtain USB-Connect, check it out:
- 🔌 Cable: Try another one (preferably original from Xiaomi).
- 🔄 Port: Connect to another USB-port on PC (preferably) USB 3.0 blue).
- 📱 Unlock: The screen must be unlocked during connection.
Use the original USB-cable
Unlock the smartphone screen
Connect to USB 3.0 port (blue)
Check for no damage to the cable
Update MIUI last-minute-->
On some models (such as the Redmi Note 12 Pro+ or Xiaomi 13T), the USB notification may be hidden under the “More” button in the curtain. If you don’t see it right away, tap the three dots or arrow at the bottom of the notification bar.
Method 2: Manually change USB mode in settings
If the connection notification does not appear or the desired mode is not in the list, you can change the settings manually. This method works on all versions of MIUI, including MIUI 14/15:
- Open the settings on your smartphone.
- Go to Connections and Sharing → USB (on some models, the path may be different: Additional → USB).
- In the section “Mode” USB By default, select File Transfer (MTP).
- Connect the device to a PC – now it should be defined as a media device.
On smartphones with MIUI 12 and older additional proof of unlocking may be required USB-It is a debugging (even if it is not included:
- Back to Settings → The phone.
- Tap 7 times on the MIUI version to activate the developer mode.
- Then go to Settings → Further → For developers.
- Find the USB Debugging option and turn it on (if required).
⚠️ Attention: Inclusion USB-Debugging reduces the security of the device. Once the transfer of files is completed, we recommend disabling this option, especially if you connect your smartphone to other computers.
File Transfer (MTP)
Transfer of photos (PTP)
Just charging.
USB-modem (RNDIS)-->
Method 3: Update MTP drivers on your computer
If Xiaomi is still not defined in My Computer, the problem may be on the PC side, most often due to the absence or damage of the MTP driver (Media Transfer Protocol).
For Windows 10/11:
- Connect your smartphone to your PC and wait for the driver to be installed (usually a notification appears in the lower right corner).
- Open Device Manager (click Win + X → select the appropriate item).
- Find a device with a yellow exclamation point (usually in the Portable Devices or Other Devices section).
- Right-click on it → Update the driver → Search for drivers on this computer.
- Select the driver from the list of available drivers on the computer.
- In the list, find the MTP USB Device (manufacturer – Microsoft) and install it.
For Windows 7:
On this version of the OS, the MTP driver may not be available by default. Download it from the official Microsoft website at this link (Media Feature Pack).
| Operating system | MTP Driver | Additional action |
|---|---|---|
| Windows 11 | Default set | Update through Device Manager |
| Windows 10 | Default set | Forced reinstall the driver |
| Windows 8/8.1 | Requires an update | Install KB2976978 via Update Center |
| Windows 7 | Absent. | Download Media Feature Pack manually |
If after updating the driver Xiaomi still not visible, try to connect it to another USB-port (preferably on the back of the system unit if it is a desktop PC) also check if the antivirus is blocking access - temporarily disable it and reconnect.
💡
If the MTP driver refuses to install, try connecting Xiaomi in PTP mode (camera). Often Windows successfully recognizes the device in this mode, after which you can return to MTP.
Method 4: Using ADB to force MTP to be enabled
In rare cases where standard methods do not work (for example, on custom firmware or after resetting), you can force MTP to activate via ADB (Android Debug Bridge), this method is suitable for advanced users.
You'll need:
- 🖥️ Established ADB-Drivers on PC (you can download as part of Android) SDK).
- 📱 On. USB-Debugging on a smartphone (see Method 2).
- 🔌 Connection to USB (preferably an original cable).
Instructions:
- Connect Xiaomi to your PC and select File Transfer Mode (even if it doesn’t work).
- Open the command line (Win + R → enter cmd → Enter).
- Enter the command to check the connection: adb devices If the device appears in the list, go further. If not, check the drivers and USB-debugging.
- Enter the command to force MTP: adb shell setprop persist.sys.usb.config mtp,adb
- Reboot your smartphone: adb reboot
Once you restart, reconnect the device — the MTP mode should activate automatically. If the problem persists, try an alternative command:
adb shell am broadcast -a android.hardware.usb.action.USB_STATE --es usb_state connected --es connected mtp⚠️ Attention: Use ADB This can cause system failures if you type commands at random. Do not change the parameters persist.sys.usb.config other than those specified in the instructions.
What if the ADB can’t see the device?
Method 5: Alternative methods of transferring files without USB
If none of these methods worked, or you just want to avoid USB issues, consider alternative data transfer options:
- 🌐 Mi Drop (formerly Mi Share): built-in MIUI application for wireless file transfer between devices. Operates via Wi-Fi Direct, speeds up to 20 MB/s.
- ☁️ Cloud services: Mi Cloud, Google Drive or Yandex Disk. Suitable for transferring small files (up to 15 GB in free rates).
- 📡 FTP-server: using applications such as FX File Explorer or Solid Explorer can be launched FTP-server on a smartphone and connect to it from a PC over a local network.
- 🔗 USB-OTG + Flash drive: If you need to transfer files to another computer, use an adapter USB-C to USB-A and a regular flash drive.
Important: When transferring files over Wi-Fi (Mi Drop, FTP), the speed depends on the wireless network standard. On Xiaomi with Wi-Fi 6 (802.11ax) speeds can reach 1 Gbps, but in practice rarely exceeds 50-70 MB / s due to protocol limitations.
| Method | Speed. | Limitations | Reliability |
|---|---|---|---|
| USB (MTP) | up to 480 Mbps (USB 2.0) | Requires drivers, possible failures | ⭐⭐⭐⭐ |
| Mi Drop (Wi-Fi Direct) | up to 20 MB/s | It only works between devices with MIUI. | ⭐⭐⭐ |
| FTP over Wi-Fi | up to 50MB/s | Requires settings, depends on the signal | ⭐⭐⭐ |
| Cloud services | depends on the Internet | Volume limit, slow. | ⭐⭐ |
For maximum speed, we recommend combining methods: for example, transfer large files (video, backups) via USB, and small ones (photos, documents) through Mi Drop.
Solving common problems
Even after a successful connection, Xiaomi users may encounter errors, and here are the most common ones and ways to fix them:
1. The device is connected and disconnected constantly
Cause: Damaged cable, unstable USB-port.
Decision:
- Try another cable (preferably original).
- Connect to the other one. USB-port (on the back of the PC).
- Turn off battery power savings for USB-devices in Windows settings.
2. folders on Xiaomi are empty or not open
Reason: Violation of access rights or failures in MIUI.
Decision:
- Reboot your smartphone and PC.
- Enable the display of hidden files in Windows Explorer.
- Check if guest access is enabled in the MIUI settings (Settings → Privacy → Special Permits).
3. Device not recognized error in Windows
Reason: Lack of drivers or hardware failure.
Decision:
- Remove the device in Device Manager and connect again.
- Install the driver manually (see Method 3).
- Check your smartphone on another computer.
💡
If Xiaomi is defined as a “Memory Device” (UMS) rather than MTP, that’s fine with older versions of Android. However, some system folders (such as DCIM or Downloads) won’t show up in this mode.