Why Xiaomi doesn’t connect to your computer via USB (charging only) and how to fix it

Xiaomi smartphones (especially Redmi Note models) 10/11/12, POCO X3/X4 mi 11/12) Often faced with the problem when connecting to the PC through USB-The cable phone only charges, but it's not defined as a storage device. The reasons can be in both Android settings and hardware malfunctions. 80% In cases, the problem can be solved without visiting the service center - it is enough to correctly diagnose the source of the failure.

In this article, we will look at all possible causes, from the banal absence of drivers to damage to the USB controller on the smartphone motherboard. We will focus on the proprietary “chips” of MIUI that block data transmission by default. You will also find step-by-step instructions for Windows 10/11 and macOS, relevant for Android 10-14.

If your Xiaomi is no longer defined by your computer after the update MIUI or change the cable, start by checking the mode USB-Connectivity is the most common reason (MIUI 13/14) The manufacturer has hidden some of the settings, which makes it difficult to diagnose.

Verification of the regime USB-connection

By default, Xiaomi smartphones connect to PCs in Charging Only mode, which is done to save energy and security, but often users forget to switch manually.

1. Connect your phone to your computer with the original cable (important!).

2 Unlock the screen and swipe down to open the notification panel.

3. Find the notification "USB for file transfer" (or similar) and tap it.

In the window that opens, select:

File Transfer – to access the phone’s memory;

Photo Transfer (PTP) – if you only need to copy a photo/video

- "MIDI" or "USB-modems for special tasks.

If the "File Transfer" item is not in the menu, it means that your Xiaomi has activated a hidden developer mode or lost the MIUI settings.

Open Settings → About Phone → MIUI | Version Tap 7 times in a row before the message “You became a developer” | Return to Settings → Additional → For Developers | Find the default USB configuration and select File Transfer | Reconnect the cable-->

Important: On some models (POCO F3/F4, Redmi K40/K50) after upgrading to MIUI 14, the option "Developers" may be called "Advanced Settings". If the menu does not appear even after 7 taps according to the firmware version, then the device has a custom launcher (for example, Nova Launcher), which blocks system notifications.

2.Problems with USB-cable

Cheap Chinese cords (especially without USB-IF certification) often have damaged contacts for data transmission (there are only 2 out of 4 in standard USB Type-C), and charging works normally.

How to check the cable:

  • 🔍 External inspection: Bend the cable in different places – if the phone screen flashes or the connection disappears, then there is an internal cliff.
  • 🔄 Test on another device: Connect the same cable to another smartphone or tablet. If the problem recurs, the cable is faulty.
  • 📏 Cable length: Cables longer than 1.5 m often lose data transmission stability. Optimal length is 0.5-1 m.
  • 🔌 Port port USB On PC: Try connecting to another port (preferably) USB 3.0 is usually blue.The ports on the front of the system unit often don't communicate well.

Critical information: Xiaomi smartphones with a USB-C port (such as the Xiaomi 13 Ultra or Redmi Note 12 Pro+) require cables that support USB 3.1 Gen 1 for stable data transfer. Cheap cables without labeling can physically fit the connector, but do not transfer files.

If the cable is working, but the problem remains, clean the USB-C connector on your phone from dust and oxidation:

  1. Turn off the phone.
  2. Carefully remove the garbage with a wooden toothpick (not metal!).
  3. Wipe the contacts with an alcohol napkin.
  4. Blow the connector with compressed air (for example, a canister to clean the keyboard).

Original from the kit|Cheap no-name|Cable from another phone|USB 3.0 marked SS|I don't know.-->

3. Absence or failure of drivers on the PC

Windows 10/11 Usually, it automatically installs drivers for Xiaomi, but sometimes it doesn't. If Device Manager shows your phone as "Unidentified Device" or "MTP-Exclamation marker device, meaning drivers are either damaged or missing.

How to install drivers manually:

  1. Connect the phone to the PC.
  2. Open Device Manager (Win + X → Device Manager).
  3. Find your Xiaomi (usually under "Portable Devices" or "Other Devices").
  4. Right-click → “Update driver” → “Research for drivers on this computer”.
  5. Select “Select a driver from the list of already installed” and find the MTP USB Device.

If the standard driver doesn’t work, download the official Mi PC Suite from Xiaomi’s website:

  • 🌐 Official page of Mi PC Suite (Select a version for your model).
  • 📥 Install the program – it will automatically install all the necessary drivers.
  • 🔄 Restart your PC and phone.

For macOS: Macs often require additional Android File Transfer software:

  1. Download the utility from the Android File Transfer website.
  2. Install and run the program.
  3. Connect Xiaomi in File Transfer mode – the file window should open automatically.

💡

If the phone is still undetectable after installing the drivers, try turning off fast charging in Xiaomi settings: Settings → Battery → Fast charging. Sometimes high current interferes with stable data transfer.

4. Conflicts with antivirus or firewall

Antiviruses (especially Avast, Kaspersky, 360 Total Security) and built-in Windows firewall can block Xiaomi’s USB connection, perceiving it as a potential threat.

How to check:

  • 🛡️ Temporarily disable the antivirus (through the icon in the tray).
  • 🔥 Open the Windows Firewall (Control Panel) → System and security → firewall).
  • 📋 Go to "Allow interaction with the application" and check if the list has a tick opposite "MTP-"Media Transfer Protocol" or "Media Transfer Protocol".

If after disabling the antivirus phone is determined, add it to the exceptions:

  1. In the antivirus settings, find the "Exceptions" or "White List" section.
  2. Add the wpdmtp.inf file (usually found in C:\Windows\INF).
  3. Also add the Xiaomi device itself by its VID/PID (can be found in Device Manager → Properties → Details → Equipment ID).

Note: Some antiviruses (for example, ESET NOD32) block ADB-The connection that's used to debug. If you're trying to connect through ADB, temporarily disable protection or add adb.exe to exceptions.

5. Failures in the firmware MIUI or Android

If the problem occurs after the update MIUI (particularly MIUI 13/14), I think it's probably a setup. USB-configuration or system service failure media.rk30 (responsible MTP-connection).

Solutions:

  • 🔄 Resetting settings USB: Go to Settings. → System system → Settings reset. Select "Network Settings Reset" (this will also reset settings). USB). Restart your phone and try to connect again.

Cleaning the cache of system applications:

  1. Open Settings → Applications → Application Management.
  2. Find Media Storage and clear the cache.
  3. Do the same for you "USB-settings” (if such a clause exists).
  4. 🔧 Recovery via Fastboot: If the phone doesn't respond at all USB, Try to reflash it through the Mi Flash Tool (instruction below).

How to diagnose a hardware malfunction:

Symptoms.Probable causeDecision
The phone is charged, but not detected on any PCDamaged USB controller or connector on the phoneReplacement of the connector (~1500–3000 ₽) controller (~3500–6000 ₽)
The connection only works in one position of the cable.Oxidation or break of contacts in the connectorCleaning/sweetening of the connector (~1000–2000 ₽)
The phone is detected but is constantly shut down.Unstable powering of the USB port on the PCUse it. USB-externally powered hub or other port
The heat is heated when connectedShort circuit in the USB chainShut it down immediately! Service diagnostics required

⚠️ Note: If after falling or getting moisture, the phone is no longer determined by USB, Don't try to connect it to a PC, it could cause a short circuit on the motherboard.

The cost of repairs in official service centers Xiaomi:

  • Replacement USB-connector: 1200-2500 ₽ (model-wise).
  • Repair/replacement of the controller USB: 3000–7000 ₽.
  • Diagnosis after moisture: 500-1500 ₽.
  • ☁️ Cloud services: Upload files to Google Drive, Mi Cloud or Yandex.Disk, then download them to your PC.
  • 📶 FTP-server: Install on the phone FX File Explorer or Solid Explorer. Activate the built-in FTP-server (usually in the Network or Remote Access menu) Connect to it from your PC via FileZilla or Explorer (enter ftp://IP-phone address).

OTG-adapter:

USB-C → USB-A

1. Turn off the phone.

2.Put Volume up + Power before the Mi logo appears.

3. Select Mount → Mount USB Storage (if available).

4. Connect the cable - the phone will be defined as a removable disk.-->

FAQ: Frequent questions

❓ Why Xiaomi is defined as a “charger” rather than a storage device?
It's standard behavior. MIUI When you first connect, you need to manually select File Transfer mode in the phone's notification panel. If you don't have an option, check the developer settings (Configuration) USB default).
❓ The cable is working, but the data is constantly interrupted?
Reasons: Used without support USB 3.0 (required for stable transmission) Port USB PCs do not provide enough current (try port) USB 3.0 or powered hub. Xiaomi activates the option “Optimize charging” (Settings) → Battery) which restricts USB-linkage.
❓ After updating MIUI The phone stopped connecting to the PC?
The update could reset USB settings. Try: Reset network settings (Settings → System → Reset → Network Resets). Delete and reinstall MTP drivers in Device Manager. Reverse the previous version of MIUI via Recovery (if backup is available).
❓ Can I get it fixed? USB-port on Xiaomi's own?
If you have soldering experience, you can replace the connector yourself: Buy the original connector USB-C For your model (for example, for Redmi Note) 10 Pro is a Xiaomi fit fit 20036-01). Disassemble the phone, unfurl the old connector and solder a new one (use flux and soldering iron on the 300–350°C) Check the circuit for short circuit with multimeter. ⚠️ Risks: Bad ration can damage the motherboard. If you're not sure, contact the service.
❓ Why Macs Can't See Xiaomi, Even though Everything Works on Windows?
On macOS, Xiaomi requires Android File Transfer to connect. Install it from the official website and make sure: The phone is connected in File Transfer mode. On the Mac, Gatekeeper is disabled (temporarily allow software installation from unknown developers in System settings → Security and Security). Use the original cable (cheap cables are often not compatible with macOS).