The computer does not see the Xiaomi phone through USB, but charges: reasons and solutions

When you connect your smartphone to your computer, hear the characteristic connection sound, but instead of transferring files, you only see the charging indicator, familiar to many owners of Xiaomi, Redmi and Poco. This is a common problem that can be caused both by the banal choice of the wrong port mode, and by deeper system conflicts of drivers. Most often, the device simply goes into the default β€œOnly Charge” mode to protect user data from unauthorized access when connecting to someone else’s PCs.

However, if you are sure that the mode is chosen correctly, and the computer still ignores the device, the case may lie in a damaged cable or malfunctions in the work. USB-It's important to understand that today's smartphones use complex data exchange protocols, and even a minor software breach can break the logical connection between the gadget and the PC. In this article, we will discuss in detail all possible causes, from physical damage to hidden operating system settings. MIUI or hyperos.

Don't panic and bring your device to the service center at the first sign of trouble. In 90% of cases, you can solve the problem yourself by performing a consistent diagnosis. We'll look at methods from simple cable replacement to manually installing drivers and resetting system settings, which will help return full functionality to your smartphone.

Checking the physical connection and integrity of the cable

The first and most obvious step is to check the physical condition of the cable and ports. Often users use cables that were originally designed only for charging and do not have internal contacts for data transmission. Such cables may look identical on the surface, but they have only two power wires soldered inside them, rather than the four or more necessary for the MTP protocol to work.

Carefully inspect the USB Type-C or Micro-USB connector on the smartphone itself. Pile, dust and fine debris often accumulate inside, which prevents the connector from fitting tightly. This can lead to a situation where the power contacts close and the phone charges, but the data contacts remain open. You can use a wooden toothpick or plastic shovel to clean, avoiding metal objects so as not to cause a short circuit.

⚠️ Warning: Do not use metal needles or staples to clean the charging port.This can lead to closure of contacts inside the connector and irreversible damage to the motherboard power controller.

Try connecting the device to another USB-The port on the computer, preferably to the connector located directly on the motherboard behind the system unit, rather than on the front panel of the case. Front ports often have the worst contact or power shortage, which is enough for charging, but not enough for stable data transfer. It also makes sense to check the cable with another device to rule out physical malfunction.

πŸ“Š What cable do you use to connect?
Original out of the box
Purchased separately (branded)
Cheap market analogue
Powerbank cable

Setting up USB mode in the Android system

If the physical connection is good, the next likely reason is software locking, and the default versions of the MIUI and HyperOS shells, when connected to a new computer, choose Charge Only mode, which is done for security reasons, so that when connected to public charging stations or other people's PCs, no one can copy your personal data without your knowledge.

To change this setting, connect your phone to your PC and unlock your smartphone screen. Swipe the notification bar from top to bottom. You should see the USB connection system notification, which usually says "Charge via USB" or "USB connected." Click on this notification to open the mode selection menu.

In the list that opens, select File Transfer (MTP) or Photo Transfer (PTP). MTP mode is standard for transferring any file types, while PTP emulates digital camera connectivity and can be used as an alternative if MTP does not work. After selecting the appropriate item, the computer must emit a new device detection sound and install the necessary drivers.

  • πŸ“± File transfer (MTP) β€” Standard mode for working with the phone file system as with an external disk.
  • πŸ“· Transmission of photo (PTP) β€” The mode to connect to the camera sometimes helps if the driver MTP conflict.
  • πŸ”‹ Charging only – the default mode that blocks access to data for security.
  • πŸ’» USB-modem - mode for distributing the Internet from phone to computer via cable.

In some cases, the mode selection menu may not appear immediately. Try turning off the screen, then turn it back on and pull the notification curtain down. If nothing happens, there may be a temporary failure in the system that requires a reboot of both devices, both the smartphone and the computer.

πŸ’‘

If the mode selection menu USB It doesn’t appear, try connecting the phone to another. USB-port or reboot your smartphone with an already connected cable.

Activation of debugging by USB and developer settings

When standard methods fail, you need to tap into the hidden capabilities of the system through the Developer Menu, which includes advanced settings that allow you to force debugging over USB. This feature is originally designed for programmers, but is often required to establish a stable connection to the computer, especially when using specialized software.

To get into the hidden menu, open Settings and go to About Phone. Find the MIUI Version (or OS Version) bar and quickly click on it 7-10 times in a row. After a few clicks, the counter will appear, and then the notification "You became a developer." After that, go back to the main settings menu, go to Additional β†’ For developers.

In the list that opens, find the USB Debug and activate the switch. The system will warn you of the possible risks, agree. Now, when you connect to a computer, you will see a request on your smartphone screen for permission to debug from this computer. Be sure to check the box "Always allow from this computer" and click "OK".

Path to the menu: Settings β†’ About phone β†’ (7 times tap on the MIUI version) β†’ Settings β†’ Additional β†’ For developers β†’ Debugging by USB

Also on this menu, you should pay attention to the item "Default USB Configuration": Make sure it selects "File Transfer" instead of "Charge Only" that will force the phone to automatically choose the correct mode each time you connect, eliminating the need to switch it manually.

β˜‘οΈ Setup of debugging

Done: 0 / 4

Installation and update of ADB and MTP drivers

Often the problem isn't with the phone, it's with the computer's operating system. Windows may not have the right drivers for your Xiaomi or Redmi model, especially if you're using an older OS version or a rare build. Without the right driver, the computer sees the device as unknown or only identifies it as a power source.

To solve the problem, it is recommended to install universal Google USB Driver drivers or a specialized Xiaomi USB Drivers package. They can be found on official support sites or as part of the Android SDK Platform Tools. After downloading the archive with drivers, start the installation or update the driver through Device Manager.

To do this manually, plug your phone in, open Device Manager (click Win+X and select the appropriate option). Find a device with a yellow exclamation mark or in Portables. Right-click, select Update Driver β†’ Search for Drivers on this computer β†’ Select a driver from the list of available drivers. From the list, select MTP USB Device or Android Composite ADB Interface.

Driver typeAppointmentWhen to use
MTP DeviceFile and media transferTo copy photos, videos, documents
ADB InterfaceDebugging and managementFor firmware, use of Fastboot, debugging
RNDIS/EthernetNetwork connectionFor the work of USB-modem and distribution of the Internet
PTP CameraCamera workIf the MTP is not working, import photos

If the automatic installation doesn’t work, try removing the device from Device Manager completely (right mouse button β†’ Delete device), then disable the cable and plug it back in again.

Reset USB settings and network settings

Configuration errors sometimes accumulate in the system that prevent the correct identification of connected devices. Resetting USB settings and network settings can eliminate software conflicts that block the connection. This action is safe for your personal data, photos and contacts, since it only affects the system settings of the connection.

On Xiaomi smartphones with a shell MIUI 12/13/14 And HyperOS has a feature that resets Wi-Fi, mobile network and Bluetooth settings, and it often affects stacks. USB-Connect to the Settings. β†’ Connection and sharing β†’ Reset Wi-Fi, mobile networks and Bluetooth. Click the Reset button at the bottom of the screen and confirm the action.

Once you reboot your phone, try reconnecting it to your PC. If that doesn't work, you can try a more radical but effective method: disabling USB Protection. In the Developer Menu, find a item that has to do with monitoring USB status or security, and try to change its state. However, the main solution is to reset the network settings.

⚠️ Note: After resetting your network settings, you will need to re-enter passwords from your stored Wi-Fi networks and re-interface Bluetooth devices.

It is also worth checking if the function is not included Β«USB-If it's active, the phone can block file transfer mode. Turn it off in the notification curtain or access point settings.

What if the reset didn't help?
If the reset failed, try to turn on the flight mode for 10 seconds, then turn it off, and this will restart all radio modules and communication controllers, which is sometimes more effective than a complete reset.

Diagnostics via Fastboot and Recovery

If the phone is not detected in normal mode, it is worth checking whether the computer sees it in low-level modes such as Fastboot or Recovery. USB-The controller of the phone and whether the computer sees it at the hardware level. If in these modes the computer makes the sound of the device's connection, then the problem is precisely in the software part of Android.

Turn off your phone completely to enter Fastboot mode. Then press down Volume and Power at the same time. Hold them until the Mi Bunny logo appears. Connect the cable to your computer. Android Bootloader Interface should appear in the Device Manager section of USB Controllers.

To log in to Recovery, press Volume Up and Power. In this mode, the computer can also see the device as a Qualcomm HS-USB QDLoader or similar. If neither mode is responsive (no sound, no new device in the controller), there is a high probability of physical failure of the connector or plume.

  • 🐰 Fastboot – Mode for firmware and deep diagnostics, requires clamping the volume reduction button.
  • βš™οΈ Recovery – Recovery mode, available via menus or buttons, often sees PC as a drive.
  • πŸ”Œ EDL Mode - Qualcomm emergency mode, seen as QHSUSB_BULK, requires a special or special combination.

If the device is detected in Fastboot mode, but not in normal mode, the problem may be damage to Android system files or conflict of newly installed applications, in which case a complete reset to factory settings (Wipe Data), but this is an extreme measure that deletes all data.

πŸ’‘

If the phone is detected in Fastboot mode, but not in normal mode, the problem is software (OS failure, drivers), and not hardware port failure.

Frequently Asked Questions (FAQ)

Why does the computer see the phone but not the folder?
Chances are that the phone screen doesn't have a file transfer mode selected. Unlock the screen, pull the notification curtain down, and tap on the USB notification by selecting "File Transfer (MTP)." Without that permission, the computer sees the device only as a charger.
Can a virus block the USB connection?
In theory, some malware can block ports or change connection settings, and it is recommended to scan the phone with an antivirus, such as one built into MIUI Security or a third-party solution like Dr.Web or Kaspersky.
Does unlocking the bootloader affect USB visibility?
The unlocked bootloader itself should not affect the visibility of USB in MTP mode. However, if system partitions have been changed or custom firmware with errors is installed when unlocking, driver problems are possible.
What to do if the Xiaomi driver is constantly flying?
Try manually specifying the path to the driver in Device Manager by selecting β€œInstall Driver from Disk” and specifying the folder with downloaded drivers, and disabling the digital signature check for drivers in Windows helps when booting.
Will replacing USB Type-C cable with Micro-USB help?
Replacing the cable type is not possible because the connectors are physically different, but replacing the damaged cable with a quality original or certified analogue with support for data transfer (not just charging) solves the problem in most cases.