When a Xiaomi smartphone is connected to a computer by cable, the charge indicator lights up, but the device does not appear in My Computer, it is one of the most common problems of users. USB-The port is by default set up solely for power consumption, not data transfer.Android operating system, including shell MIUI Or HyperOS, which uses this approach for security purposes to prevent unauthorized access to files when you connect to someone else's charger, which is why you see the battery recharge, but the file manager is silent.
To correct the situation, it is often enough to change the settings in the hidden notification menu, but in some cases the problem lies deeper in the hardware or Windows drivers. USB-So if you're a connector, if you break one channel, it doesn't always mean that the other one fails, and then we'll go through the software and hardware causes in detail, and we'll give you step-by-step instructions to restore the connection.
In some cases, ignoring this problem can make it impossible to firmware the device or reset the settings through computer utilities. So if the standard connection does not work, you need to conduct a diagnosis, starting with the simplest steps and gradually moving to complex methods.
Basic setting of USB mode in Android
The first and most obvious step is to manually switch the protocol of work. USB-When you connect the cable, Android defaults to Charge Only. In order for the computer to see the files, you need to activate the protocol. MTP (To do this, unlock your smartphone screen and lower the notification curtain from top to bottom. You will see the system message “Charge through” USB» or «USB connected».
Click on this notification to open the action selection menu. A list of use cases will open before you. USB-You can select File Transfer or Android Auto, and then Windows should make a characteristic device connection sound and open the autostart window or show a new drive in the explorer. If there is no notification, try to reconnect the cable by previously unlocking the screen.
💡
If the USB connection notification doesn’t appear even after the connections, check to see if the Invisibility mode is enabled in the developer settings, although this is rarely required for basic MTP.
Sometimes the system can remember the wrong choice for a particular computer, in which case it is useful to disable debugging over USB if it was enabled earlier, and try to connect the device to another port, and it is worth checking whether the lock screen is not a ban on access to data via USB, which is a security feature in new versions of Android.
Problems with cable and physical connection
The most common technical reason why a computer can't see a phone is because it uses the wrong cable. Many users don't know that there are cables that are only for charging. These cables don't have any data connections (Data+ and Data-) and the current only goes through the power lines. Visually, it's almost impossible to distinguish such cable from a full cable without labeling or testing with a tester.
In addition to the type of cable, the quality and length of the cable are important. Too long cables (more than 1.5-2 meters) can have high resistance, which causes the data signal to fade, although the current for charging is normal. It is also worth checking the connectors: in the port of Micro-USB or USB-C smartphone could accumulate pocket pile or dust, which prevents the tight contact of all pins, including those responsible for synchronization.
For diagnosis, try connecting the phone to the computer with another, obviously serviceable cable, preferably short and original. USB-The port on the computer itself: plug a flash drive or a mouse into it. If the peripheral is working and the phone is not working, the problem is the cable or the port of the phone. If the computer can't even see the flash drive, the controller may have burned down. USB PC-based motherboard.
- 🔌 Use only data-labeled cables, avoiding cheap "charging-only" analogues».
- 🧹 Carefully clean the smartphone connector with a wooden toothpick or plastic dust shovel.
- 💻 Connect the device directly to the motherboard (behind the system unit), bypassing the front ports and USB-hub.
Installation and update of drivers in Windows
If the cable is good and the MTP mode is selected but the computer is still silent, the problem lies in the drivers. Windows can automatically install universal drivers that work incorrectly with specific Xiaomi models. In Device Manager (opens via Win + X or the devmgmt.msc command), you can see an unknown device with a yellow exclamation mark or a device called "Android" that is not correctly defined.
To force the correct driver to be installed, right-click on the device in Manager and select “Update Driver.” Then go to “Run Driver Search on this computer» -> «Select a driver from the list of available drivers. In the list of manufacturers, find “Xiaomi” or «MTP USB Device.If Xiaomi is not, choose «MTP USB-Device from the list of standard controllers.
⚠️ Note: When installing drivers, never agree to install third-party software from unverified sources. download drivers only from the official Mi site or through the built-in Windows Update tools.
In some cases, removing the device completely from Device Manager and restarting the computer helps. Once enabled, Windows will try to re-identify the device and install the latest version of the driver. You can also use the Xiaomi USB Driver utility, which automatically installs all the necessary components for synchronization.
☑️ Driver verification
Activation of debugging mode via USB
Debugging mode by USB (USB Debugging is a developer tool that allows a computer to have full access to the Android system. Often, enabling this feature "disinhibits" the device» USB-port, making it work in data mode, even if the standard MTP To activate this mode, you first need to unlock the developer menu.
Go to Settings -> About your phone and find the MIUI Version (or OS Version) and tap it quickly 7-10 times in a row until you see the message "You're a developer." Then go back to the main settings menu, go to Additional Settings -> For Developers. Find the USB Debugging switch and activate it.
Once you enable debugging, connect your phone to your PC. The smartphone screen will request permission to debug from that computer. Be sure to tick Always Allow and click OK. This action creates a digital signature and trusted connection between a particular PC and your Xiaomi.
- 📱 Unlock the developer menu by quickly clicking on the OS build number.
- 🔧 Turn on the "Debugging by" switch USB» sub-settings.
- ✅ Confirm the request for access from the computer on the smartphone screen.
Diagnostics through ADB and Command Prompt
For advanced users who don't have standard methods, Android Debug Bridge (ADB) is a great diagnostic tool, and it's a console utility that lets you communicate directly with your phone, and if your computer sees a device at ADB level, then the physical connection and the underlying drivers are good, and the problem is in the MTP protocol or the file system.
To check, download the Platform Tools package, unpack it, and open the command line in the utility folder.
adb devicesIf the list shows the serial number of your device with the status of "device", then the connection is established. If the status is "unauthorized", look at the phone screen and confirm access. If the list is empty, try the command adb kill-server and adb start-server, and then reconnect the cable. The successful response of ADB ensures that you can copy files through the command line or third-party file managers, even if the Windows Explorer does not show the folder.
What if the ADB can’t see the device?
Table of common errors and decisions
Below is a summary table that will help you quickly navigate your symptoms and find a solution if previous steps have not worked.
| Symptoms. | Probable cause | Decision |
|---|---|---|
| Just charging, no notifications. | Cable "charging only" | Replace the cable with a high-quality data cable |
| Connection sound is available, no disk. | Not selected MTP mode | Select “File Transfer” in the Notification Curtain |
| Device with yellow sign (!) | There's no driver. | Update the driver through Device Manager |
| The phone is defined as “Unknown”. | Driver conflict | Remove the device and restart the PC |
💡
If none of the software methods worked, there is a high probability of mechanical damage to the USB-C port or the power controller on the smartphone board.
Hardware malfunctions of the USB port
When software methods are exhausted, you have to consider a physical breakdown: the USB-C port in Xiaomi smartphones is constantly under mechanical stress; over time, the central lingua part of the connector can wear out or oxidize, as a result, the contacts responsible for data cease to close, while the external power contacts continue to work, providing charging.
Another reason could be the ration dump on the motherboard, which often happens after a phone drops or if the user pulls the cable abruptly, in which case only soldering the port at the service center helps, and it is also worth checking whether the battery is swelling: in some models, the bloated battery presses on the plume or board, disrupting contact in the port.
⚠️ Warning: Do not try to pick metal objects in the port - this can short circuit and completely fail the motherboard.
If you notice that you need to press the cable at a certain angle to make the connection, then the contact is broken. You can try to clean the port with alcohol (isopropyl) and let it dry, but this is only a temporary measure. You will need to replace the socket for reliable operation.