You connected your Xiaomi smartphone to your computer through USB-It's quiet, and instead of the usual sound of the device plugging in and notifying you of a new drive, the charging light is on and the battery is recharged, which is familiar to many owners of Redmi devices, POCO Mi: The phone is identified as an unknown device, does not appear in My Computer, and file transfer becomes impossible.
The problem is not the physical malfunction of the port (otherwise charging wouldn't work either), but the software or hardware settings. 80 percent of the time, drivers, USB connectivity, or smartphone developer settings are to blame. Less commonly, a damaged cable, an antivirus conflict, or an outdated firmware. We've put together all the working solutions, from simple to advanced, with step-by-step instructions and screenshots.
Why is Xiaomi not computer-defined but charged?
USB-Xiaomi's smartphone cable has two functions: data transfer and charging:
- π Port port USB on the phone and PC is good (physically).
- π The cable is not completely damaged (although the contacts for data transmission can be oxidized).
- π» The computer feeds power to the port (but does not always recognize the device).
The main causes of failure:
| Reason. | Signs. | Probability. |
|---|---|---|
| Wrong USB Mode | The phone is charging but does not appear in My Computer. | 60% |
| No ADB/MTP drivers | The device is displayed as βUnknownβ in Device Manager | 25% |
| Blocking with antivirus or firewall | USB connects, but files are not transferred | 10% |
| Damaged cable (partially) | Charging is available, but data transmission is interrupted | 5% |
Critical detail: Xiaomi smartphones default to Charge Only unless previously selected for a different mode, which is designed to save energy, but often causes confusion.
Method 1: Change USB Connection Mode on Xiaomi
When connecting to a PC, Xiaomi smartphone offers to select the USB mode. If the notification does not appear, unlock the screen and:
- Swipe down the notification panel.
- Click on the Charge notification via USB (or USB for file transfer).
- Select File Transfer (MTP) or Image Transfer (PTP).
If no notice appears:
- π Turn off and reconnect the cable.
- π Unlock the phone screen (on the locked device, mode selection is not available).
- π± Check if Do Not Disturb or Save Charge is enabled (they can block notifications).
Notification panel open | Screen unlocked | Cable tightly connected to both ports |Tryed to reconnect cable-->
β οΈ Note: On some models POCO and Redmi with MIUI 14+ notice USB It can be hidden under the "More" button (three dots) in the notification bar.
Method 2: Install/update MTP and ADB drivers
If the computer makes a connection sound, but the phone does not appear in My Computer and appears in Device Manager as Unknown Device or Β«MTP-Error device" is a driver problem. So, it's solved:
For Windows 10/11:
- Open Device Manager (Win + X β Device Manager).
- Find a device with a yellow exclamation point (usually in the Portable Devices or Other Devices section) in the list.
- Right-click on it β Update the driver β Search for drivers on this computer.
- Select the driver from the list of available β MTP-device ADB Interface.
For manual installation:
Download the official Xiaomi drivers from MIUI Download (Driver section) or use the universal Google USB Driver package (ADB).
If the drivers are installed, but the problem remains:
- π§ Remove the device from the Manager and connect again (Windows will install the driver automatically).
- π Restart your computer and phone.
- π‘οΈ Temporarily disable the antivirus (it can block the installation of drivers).
π‘
If after updating the drivers, the phone is still not determined, try connecting it to another. USB-port (preferably) USB 2.0 β they are usually blue and work more stable with the MTP).
Method 3: Enable debugging over USB and allow access
If you previously enabled developer mode on Xiaomi, but forgot to allow debugging over USB, the computer will not be able to interact correctly with the device.
- Activate Developer Mode: Go to Settings β About Phone. Tap 7 times on MIUI Version (you will be notified "You are a developer").
Settings β Additional β For Developers
- Debugging by USB (USB debugging).
- Allow debugging (for charging only) - disable this option!
- Connect the phone to the PC and confirm access on the smartphone screen (will you receive a request to Allow debugging?).
β οΈ Attention: MIUI 13/14 After enabling debugging, you may need to allow access to the data in a separate notification. If you miss it, the file transfer will not work.
If the debugging is already on, but the phone is still not visible:
- π Turn off and turn on the debugging again.
- π Remove all previously authorized computers in debugging settings (Revoke permissions).
- π± Reboot the phone.
Method 4: Check the cable and USB port
Even if charging works, damaged data connections (usually D+ and D- pins in the cable) can cause a problem.
Cable test:
- π Try another cable (preferably original from Xiaomi or certified) USB 2.0/3.0).
- π Check the connectors on your phone and cable: are there any contaminants, oxidation or bent contacts.
- π± Connect your phone to another computer/laptop β if the problem persists, the cable or phone port is to blame.
USB port test on PC:
- π₯οΈ Connect to the same port another device (flash drive, mouse) β if it does not work, the port is defective.
- π Try the port. USB 2.0 (black) instead of USB 3.0 (blue) β some Xiaomi smartphones are not compatible with the USB 3.0 in mode MTP.
A critical nuance: cheap cables often have only 2 contacts (power), no wires to transmit data. Use the cable that came with the phone, or buy with the label "Sync & Charge".
How to clean USB-port?
Method 5: Update MIUI or reset network settings
If the problem occurred after the MIUI update or firmware change, the cause may be a software bug.
Update MIUI:
- Go to Settings β About the phone β System update.
- Click Check Updates and install the latest version.
Reset the network settings:
Sometimes the settings fail USB-modem or network protocols interfere with the correct connection:
- Settings β SIM-maps and mobile networks β Resetting network settings.
- Confirm the reset and restart the phone.
If the update doesnβt help, try rolling back the firmware to the previous version via Fastboot (the instructions are on the 4PDA forum for your model).
Method 6: Checking the antivirus and firewall
Antiviruses (Avast, Kaspersky, Bitdefender) and Windows firewall can block Xiaomiβs USB connection, perceiving it as a potential threat.
- π‘οΈ Temporarily disable the antivirus and check if the phone appears in My ComputerΒ».
- π₯ Add the device to the antivirus exceptions (set the rule to MTP or ADB).
- π In Windows Firewall, Allow Incoming Connections for Windows Driver Foundation.
If after disabling the antivirus the problem disappeared, configure it correctly:
- Open the antivirus settings β Exceptions.
- Add an exception to the MTP Device or adb.exe process (if you use debugging).
- Restart the computer.
π‘
If the antivirus blocks the connection, do not turn it off completely β just add an exception to the connection. MTP-Deactivation of the entire system is dangerous!
Method 7: Alternative methods of file transfer
If none of the methods worked, and files need to be transferred urgently, use the alternatives:
- π Mi Drop (built-in to the MIUI wifi).
- π€ Google Files or Send Anywhere (transfer over a local network).
- βοΈ Cloud services: Google Drive, Mi Cloud, Yandex Disk.
- π OTG-adapter + flash drive (if you need to transfer files to another PC).
For Mi Drop:
- Open the Mi Drop app on your phone.
- Select files and click Send.
- On your computer, open your browser and go to the address http://drop.mi.com (or scan. QR-phone-screen).
Wi-Fi transmission speeds are lower than USB, but this is a reliable way to do so if the physical connection is not working.