Xiaomi is not recognized by the computer via USB, but it charges – what to do?

The situation is familiar to many: you connect Xiaomi Redmi Note 12, POCO X5 Mi 11 to the computer via the USB-You hear the signature of the connection, you see the phone charging, but in My Computer or the file manager, the device doesn't show up. Why is it happening and how to fix it?

The problem can be both hardware malfunctions (damaged cable, connector) and software failures (incorrect drivers, incorrect USB mode). In this article, we will examine all possible causes, from the simplest solutions to deep diagnostics, and pay special attention to the unique features of MIUI firmware, which often become a source of conflicts with Windows.

Important: if your Xiaomi doesn’t charge at all, that’s another problem that requires checking the cable, power supply or port, and it’s the cases where charging is ongoing but there’s no data transfer.

1. Check basic settings: USB mode and unlocking the screen

The first thing to do is make sure the phone is unlocked and the right connection mode is on, and many users miss this point, especially if they have previously used the device in Charge Only mode.

On the screen Xiaomi after connecting to the PC should appear notification with the choice of USB mode.

  • πŸ”’ Unlock the screen – some models are locked on the device MIUI restrict access to data.
  • πŸ“± Swipe down the notification bar and find the option USB To transfer files (or Charge through USB).
  • πŸ”„ Click on the notification and select File Transfer (MTP) or PTP (photo).

If the notification doesn’t appear at all, the problem may be the developer’s settings or the default USB settings that have been reset, and we’ll talk about that in the next section.

πŸ“Š What regime? USB You usually use it?
Just charging.
File Transfer (MTP)
Transfer of photos (PTP)
I don't know what it is.

2 Developer settings and USB configuration reset

MIUI has a hidden feature in the firmware that can block USB connection, USB debugging and associated settings. If you have previously activated developer mode, check the following settings:

Go to Settings β†’ About Phone β†’ MIUI version and click on it 7 times to unlock the developer menu.

  1. Back to Settings β†’ Additionally. β†’ For developers.
  2. Find the default USB configuration and select File Transfer (MTP).
  3. Make sure that USB Debugging is enabled (if you use it for ADB or custom firmware).
  4. Scroll down and find a USB Configuration Reset – click on it and confirm the reset.

After resetting the configuration, reconnect the phone to your PC. If the problem persists, try disabling debugging over USB (sometimes it conflicts with Mi PC Suite drivers).

πŸ’‘

If you often connect Xiaomi to different computers, turn on the option to Allow debugging over USB when unlocking OEM in the developer settings – this will eliminate the need to confirm access on each new PC.

3.Problems with USB-Cable and Ports: How to Check

More than 40 percent of cases where Xiaomi is not recognized by the computer when charging are connected to a faulty cable or USB port, the fact that only two contacts (VCC and GND) are used to charge, and all four are used to transfer data, and if D+ or D- contacts are damaged, the phone will charge, but not be identified as a drive.

How to diagnose:

  • πŸ”Œ Try another cable (preferably original from Xiaomi or certified) USB 2.0 Type-C).
  • πŸ–₯️ Connect the phone to another USB-port (preferably) USB 2.0 on the back of the system unit - they are more stable USB 3.0).
  • πŸ“± Check the Type-C connector on your phone: are there any debris inside, bent contacts or traces of oxidation.
  • πŸ”„ Turn the cable over (if it's Type-C β€” USB-A) β€” Sometimes the contacts are incorrectly connected.

If you connect to another computer or laptop, the problem disappears, it's the port or drivers of your PC, and if you don't, it's the cable or the phone.

How to Clean Type-C Connector in Xiaomi?
Use a wooden toothpick (not metal!) and alcohol. Carefully remove the garbage from the connector, then blow it with compressed air. Don't use wet wipes - they can leave fibers behind.

4. Drivers: Installation and Upgrade for Xiaomi

Windows doesn’t always correctly define Xiaomi as a media device (MTP). Often, the system installs universal drivers that only work on charging. To fix this, you need to manually install official drivers from Xiaomi or update existing ones.

Step-by-step:

  1. Download Mi PC Suite (official synchronization software) – it will automatically install the desired drivers.
  2. If it doesn’t work, download Google Platform Tools (includes ADB and MTP drivers).
  3. Open Device Manager (Win + X β†’ Device Manager).
  4. Find your Xiaomi portable devices or other devices (may appear as MI, ADB Interface, or with a yellow exclamation point).
  5. Right-click β†’ Update the driver β†’ Search on this computer β†’ Select from the list.
  6. Choose. MTP-device or Android Device β†’ Android Composite ADB Interface.

If drivers don’t install, try removing all devices called Xiaomi, ADB, or MTP in the controller, then reconnect the phone.

Install Mi. PC Suite|Download Google Platform Tools|Update the driver manually through Device Manager|Remove old drivers Xiaomi/ADB|Restart the PC after installation-->

5. Conflicts with antiviruses and firewall

Antiviruses (especially Avast, Kaspersky, 360 Total Security) and the built-in Windows firewall can block Xiaomi’s USB connection, perceiving it as a potential threat, because the MTP protocol uses ports that are sometimes associated with malware.

What to do:

  • πŸ›‘οΈ Temporarily disable the antivirus and check if the phone will appear in the system.
  • πŸ”₯ Add Mi. PC Suite and adb.exe (if you use) in the exception of antivirus.
  • πŸ–₯️ In the Windows Firewall (Control Panel) β†’ firewall β†’ Check the Windows Media Player Network Sharing Service rule – it must be enabled.
  • πŸ”„ Restart your computer after the changes.

If after disabling the antivirus phone is determined, add it to the exceptions or consider changing the antivirus to a more β€œloyal” one (for example, Bitdefender or built-in Windows Defender).

πŸ’‘

Antiviruses are often blocked MTP-connection, as this protocol is used by some viruses for distribution.Always check for exceptions if Xiaomi is not visible in the system.

6.Firmware failures MIUI and reset

Sometimes the problem lies in the MIUI firmware itself.

  • πŸ› Bug in the current version MIUI (Especially relevant for bet versions).
  • πŸ”„ Conflict after the β€œair updateΒ» (OTA).
  • πŸ“± Failure to set up the storage or USB-stack.

Decisions:

  1. Reset network settings: Settings β†’ SIM-maps and mobile networks β†’ Resetting network settings.
  2. Clear the system cache: Settings β†’ Memory β†’ Cleanup β†’ Cash.
  3. Reset all settings (does not delete data, but resets) USB-configurations: settings β†’ The phone. β†’ Resetting settings.
  4. Update MIUI to the latest stable version: Settings β†’ System Update.

If the problem has occurred after the update, try to roll back to the previous version of MIUI via Fastboot or Recovery. instructions for this are available on the official Xiaomi forum (for example, for Redmi Note 11 or POCO F4).

How to Reverse MIUI through Recovery?
1. Download stable firmware for your model from [official website](https://new.c.mi.com/global/miuidownload/index). 2. Rename the file to update.zip and put it in the root of the phone's memory. 3. Go to Recovery (turn off the phone, then pinch the power) + Loudness up). 4. Choose Install. update.zip and confirm the rollback. ⚠️ All data will be saved, but the settings will be reset to the factory.

7. Hardware malfunctions: when to contact the service

If none of the software methods helped, the problem could be in the hardware:

Symptoms.Probable causeDecision
The phone is charged, but not detected on any PCA USB controller or Type-C connector is damagedReplacement of the connector or motherboard
Charging is only in one position of the cable.Oxidation or break of contacts D+/D-Cleaning or replacing the connector
The computer makes a connection/disconnection sound every 5-10 seconds.Short circuit in a cable or connectorDiagnosis of multimeter
The phone warms up when connected to USBProblems with the power controller or USB-hubReplacement of components on board

To diagnose hardware problems:

  • πŸ” Check the phone on another computer with the original cable.
  • πŸ“Š Use the app. AIDA64 or CPU-Z condition-check USB-port.
  • πŸ› οΈ If you suspect a faulty connector, contact the Xiaomi service center (warranty repair covers such cases).

⚠️ Warning: Do not try to solder or clean the connector yourself if you do not have experience. USB-C It can cause a complete loss of data and charging.

FAQ: Frequent questions about connecting Xiaomi to PC

My Xiaomi is defined as "Unidentified Device" in Task Manager. What do I do?
This means Windows can't pick up a driver. Download Google USB Driver, then manually update the driver through Device Manager, specifying the folder with the downloaded drivers.
The phone is visible in the Mi PC Suite, but it doesn't appear as a disk in My Computer. Why?
This is normal behavior for Mi PC Suite, where it uses its own synchronization protocol, so to make the phone appear as a removable drive, select File Transfer (MTP) mode when you connect.
After the MIUI update, the computer stopped seeing Xiaomi. How do you get it back?
Reset USB settings: Settings β†’ Additional β†’ For developers β†’ Reset USB configuration. If it doesn’t help, roll back the firmware via Recovery (see spoiler above).
Can I use wireless file transfer instead of USB?
Yes, there are a few alternatives: πŸ“² Mi Drop (built-in app in the app) MIUI Wi-Fi-based). 🌐 FTP-server (for example, via Solid Explorer or FX File Explorer). ☁️ Cloud services (Mi Cloud, Google Drive) but they are slower USB 3.0.
On macOS, Xiaomi is not visible via USB. What's the matter?
MacOS requires additional software to work with MTP. Install Android File Transfer or use OpenMTP (for newer versions of macOS).