The laptop does not see the Xiaomi phone via USB, but charges: what to do

When you connect Xiaomi to a computer, you see the charging indicator, but the files are not available, and it's a classic MTP crash scenario that often hides behind standard power delivery. Windows or macOS simply ignores the device as a battery rather than an external storage device.

The reasons for this behavior can be many, from simple cable damage to driver version conflicts or hidden settings in the developer menu. Diagnosing a problem requires sequential elimination of factors from the simplest hardware to complex system settings. Don't rush to bring the phone to the service, because in 90% of cases the problem is solved by software.

In this article, we will look at all possible scenarios why your computer won’t recognize your smartphone and provide a step-by-step algorithm for how to do it. We will cover both the hardware and the intricacies of working with Android system files. Follow the instructions carefully to restore normal device synchronization.

Checking physical connection and cable

The first thing to do is to eliminate hardware malfunctions. Often the problem is not with complex software, but with the damaged wire. The cables that come with the phone usually have high-quality insulation and all the necessary contacts, but over time they break down or fail. If the laptop does not see Xiaomi, but charging is a sure sign that the power lines (Power and Ground) are intact, but the data lines (Data+ and Data-) may be cut off.

Try replacing it. USB-It's important to understand that many cheap cables sold in the transitions are designed solely for charging and do not have internal wires for data transmission, and even if the plug is perfect, there may not be the necessary "stuffing" inside. It is also worth checking the connector itself on the phone: dust and pile from pockets are often stuffed there, which prevents close contact of contacts.

πŸ’‘

Use the original Xiaomi cable or certified 5A/6A for guaranteed data transfer and fast charging.

It will not be superfluous to check and yourself. USB-Connect your phone to another connector, preferably located on the back of the system unit (if you have a stationary PC), as the ports on the front may not receive enough power or have poor contact with the motherboard. On a laptop, try ports of different standards, for example, USB 2.0 and USB 3.0.

  • πŸ”Œ Replace the cable with another, preferably original or high-quality analogue.
  • πŸ”Œ Clean the phone charging connector with a soft brush or wooden toothpick.
  • πŸ”Œ Connect the device to another USB-port or other computer for inspection.

⚠️ Attention: If the phone connector is shattered or charging is interrupted at the slightest movement, it may be necessary to replace the charging socket in the service center.

Configuring USB mode in the Android system

Modern versions of the MIUI shell and HyperOS are set to Charge Only by default for security reasons, which means that when you connect to a new computer, the phone will not be visible until you explicitly allow access to the files. The system blocks unauthorized access to data, which is a good practice, but creates inconveniences when you first connect.

To change this setting, connect your phone to your PC and unlock your smartphone screen. Swipe down from the top of the screen to open the notification curtain. There you should see a USB connection system notification that says "Charge via USB" or. Click on this notification to reveal the mode selection menu.

In the list that opens, select File Transfer or MTP. After that, the computer should emit a characteristic connection sound of the new device, and your phone icon will appear in Windows Explorer. If file transfer is missing, perhaps debugging mode, which we will talk about below, or there is a driver error.

Why is the USB mode option missing?
If the mode selection menu doesn't appear, try turning on the phone screen after connecting the cable. In some versions of MIUI, the notification doesn't pop up automatically on the locked screen.

Sometimes the system can "remember" the previous choice for that particular computer and no longer ask mode. USB. Go to Settings. β†’ The phone. β†’ Version. MIUI and quickly press 7 times to activate the developer mode. Then in the advanced settings, find the "Configuration" option. USB by default" and select "File Transfer".

  • πŸ“± Unlock the smartphone screen immediately after connecting the cable.
  • πŸ“± Open the notification curtain and click on the status USB-connection.
  • πŸ“± Select the "File Transfer" mode" (MTP) Instead of "Only charging".

Working with drivers and Device Manager

If the physical connection is good and the mode is chosen correctly, but the laptop still can not see Xiaomi, the problem lies in the drivers. Windows may not have built-in drivers to work correctly with the MTP protocol with specific Qualcomm or MediaTek chipsets that are used in Xiaomi phones. Instead of the correct device, the system may display β€œUnknown device” with a yellow exclamation mark.

To diagnose, right-click on Start and select Device Manager. Find Portable Devices or Other Devices. If you see your phone name or device with an error (yellow triangle), the driver is incorrect. You need to right-click on the device, select Update Driver β†’ Search for drivers on this computer β†’ Select a driver from the list of available drivers.

In the list, select "MTP USB Device" or "MTP USB Device" and press "Next." This will force Windows to use Microsoft's standard driver, which is often more stable than automatic installers. You can also try to remove the device from the controller (right button β†’ Delete device), disable the phone and connect it again, the system will try to install the driver again.

β˜‘οΈ Actions in Device Manager

Done: 0 / 4

Qualcomm processor owners may need to install ADB drivers. They are often part of the SDK Platform Tools. After installing the Xiaomi ADB Fastboot Tools driver package, repeat the driver update procedure in the Device Manager, indicating the path to the driver folder.

Type of device in the dispatcherStatusAction required
Unknown deviceCode error 43Update the driver manually, select MTP
Android Composite ADB InterfaceIt's working fine.Debugging mode is active, check the cable
MTP USB DeviceIt's working fine.The problem is in the wire or port, the files should be visible
QHSUSB_BULKUnknown.Phone in EDL mode, you need a special cable or button

Debugging mode via USB and developer settings

Debugging mode by USB (USB Debugging is a powerful tool for developers that allows a computer to gain full access to the phone's system, and in some cases, enabling this feature helps push the connection apart if the standard mode is in place. MTP But be careful, enabling debugging gives the computer broad rights, so do it only on trusted PCs.

To activate the mode, go to Settings β†’ About the phone and quickly press 7 times on the item "Version" MIUI" (or "Version." OS"), until you say, "You're a developer." Then go back to the main settings menu, go to "More" β†’"For developers. Find the "Debugging by" switch. USB" and activate it.

Once you have debugging enabled, when you connect to your computer, you'll see a request on your phone to allow debugging from that computer, you'll need to tick "Always Allow from this computer" and click "OK." If your computer can't see your phone anyway, try looking up the "Default USB Configuration" item on the developer menu and switching it to MTP.

πŸ“Š What type of connection mode do you use most often?
Just charging.
File Transfer (MTP)
Debugging over USB (ADB)
Photo mode (PTP)

There is also a nuance with function. USB-If it's accidentally enabled in the access point settings, the phone can block file transfers, acting like a network card"USB-The modem was turned off during file transfer.

  • πŸ›  Activate the developer menu with seven-fold click on the OS version.
  • πŸ›  Turn on the switchboard "Debugging by" USB" sub-set.
  • πŸ›  Confirm. RSA-key on the smartphone screen when connecting to a PC.

⚠️ Warning: Do not enable debugging mode on other people's or public computers. This can lead to data theft or malware installation without your knowledge.

Alternative methods of data transmission

If you're not using any cables or drivers and you need to transfer files urgently, you can use wireless methods. Current technology allows you to transmit data at speeds comparable to USB 2.0 without using wires. This is especially true if the phone connector is physically damaged.

The most efficient way for the Xiaomi and Windows ecosystem is to use the Phone Link app or the proprietary Mi Share utility (for Xiaomi PC). Also, the Wi-Fi file transfer protocol works perfectly. Install a file manager on your phone that supports FTP or SMB (for example, Mi Explorer or Solid Explorer), and start the server.

In the "Mi Explorer" app, select "Access from PC", click "Start". The phone will give you an address, such as ftp://192.168.1.55:2121. Enter this address in the address bar of any Windows Explorer window on a computer on the same Wi-Fi network, you will get full access to the phone's file system.

πŸ’‘

Wireless transmission via FTP or Windows Connection often works more stable than low-quality cables and avoids wear and tear on the charging connector.

Another option is cloud storage, upload files to Google Drive, Yandex.Disk or Mi Cloud from your phone, and then download them on your computer through a browser. Although this requires the Internet, it is completely independent of the state of the system. USB-port-driver.

Diagnostics of hardware faults

When software methods are exhausted, you have to admit that there is a hardware breakdown. If the phone is charging, but the computer does not see Xiaomi on any computer or cable, most likely the problem is in the power controller or the connector itself. In the micro-USB or USB-C connector, the contacts for data are located deeper or thinner than the power contacts, and they could oxidize or depart.

Look at the connector in good light. If you see black plaque or green oxides inside, you can try cleaning it neatly with alcohol and a thin brush. If the connector is hanging or the phone is only charging in a certain position, you need to change the socket. This is an inexpensive procedure in the service center.

A more serious problem is the failure of the USB controller on the motherboard, which can happen after moisture, a drop or a power surge when using low-quality chargers, in which case the phone may completely stop responding to the connection to the PC, even in debugging mode.

What if the phone is identified as an "Unknown Device" code 43?
Code 43 means Windows can't get the correct ID from the device. Try turning the phone off completely, then press the volume button and plug in the cable (Fastboot mode). If the computer sees the phone in this mode, the problem is in the Android software. If not, there's likely to be a hardware malfunction.
Why is the phone visible but the folders are empty?
This is the standard Android behavior when locking the screen. Unlock the phone and select "Allow Data" in the window that appears. Without this step, the computer sees only the system partition hidden from the user.
Can the virus block? USB-connection?
In theory, some Trojans can disguise themselves as system processes and block data transmission. Check your phone with an antivirus, such as the built-in scanner in Xiaomi's Security app.
How to reset USB settings on Xiaomi?
Go to Settings β†’ Advanced Settings β†’ Developer. Find the default USB configuration and reset it. Also, cleaning the Settings app cache or resetting all settings to factory settings (with loss of data) will help.
Will resetting to factory settings help?
If the problem is caused by a software driver conflict inside the Android system, resetting will help, but before you do that, be sure to reinstall the drivers on your computer, as the reason is often there.