The situation when Xiaomi smartphone refuses to display in Windows Explorer or macOS, familiar to many users. It seems that the device simply ignores the connection, although charging goes, and the screen lights up. Most often the problem lies not in the hardware breakdown, but in the trivial settings of the data protocol or drivers. USB mode by default can only be installed on charging, which hides the system files from external access.
In modern versions of the MIUI and HyperOS shell, security has become stricter, requiring manual confirmation of trust in a new computer. If you hadn't previously connected this PC to a phone, the operating system could simply block data exchange in the background. It's important to understand that the lack of response can be caused by software failure, as well as physical damage to the cable or port.
In this guide, we will look at all possible scenarios, from simple menu switches to complex manipulations of system files. You will learn to diagnose a malfunction in a few minutes using built-in diagnostic tools and the right connection methods. 90% of the time, the problem is solved by changing the cable or switching USB mode to File Transfer (MTP).
Checking physical connection and cable
The first thing to start with is to check the integrity of the connector. Not all USB Type-C cables are the same: many cheap ones are designed solely for charging and have no internal contacts to transfer data. If your smartphone is charging but your computer is silent, the likelihood of using an inappropriate accessory is extremely high.
Try replacing the cable with the original or known serviceable analogue, which was previously used to transfer files. Also worth paying attention to the state of the port itself in the phone: accumulated dust or pile can prevent the tight contact of all the pins of the connector. Carefully clean the connector with a dry soft brush or wooden toothpick, avoiding the use of metal objects.
- 🔌 Use only quality data-enabled cables, avoiding thin cords 'only for charging».
- 💻 Connect the device directly to the ports on the motherboard (behind the system unit), bypassing the front panels and USB-hub.
- 🧹 Visually inspect the port for oxidation, dust, or mechanical damage to the contacts.
Sometimes the problem lies in the very USB-If the PC has ports of different colors (black) USB 2.0 and blue USB 3.0), try switching between them.Old ports may not correctly identify modern devices, and new ports on older motherboards may require additional controller drivers to be installed.
☑️ Diagnostics of connection
Configure USB mode in the MIUI interface
The most common reason Xiaomi isn’t visible to your computer is because of the connection mode settings. By default, the smartphone goes into Charge Only mode immediately after connecting to your PC to protect your data from unauthorized access.
Once the cable is connected, unlock the phone screen and pull the notification curtain from top to bottom. You will see the system notification Charging through USB» or «USB-Connection. Click on it to open the mode selection menu. Here you need to select the option File Transfer (MTP) or, if necessary, transfer of the photo (PTP).
⚠️ Note: If the notification of connection USB does not appear even when using a serviceable cable, perhaps debugging is enabled in the system USB, which blocks the standard menu or damages the Media Storage system service.
In some cases, especially on older versions of Android, you need to activate debugging mode. Go to Settings → About Phone and quickly click 7 times on the MIUI Version field until you see the "You became a developer" box. Then, in the extended menu, find the Debugging option and turn on the USB Debugging Toggle.
What to do if the USB menu does not appear?
Installation and update of ADB and MTP drivers
Windows doesn’t always automatically find the right drivers for Android devices. If you see an unknown device with an exclamation mark or a device called ADB Interface in Device Manager, the drivers are not installed correctly. For stable operation, you need to install universal Google USB Driver drivers or specific Xiaomi USB Driver.
The easiest way to install drivers is through the official Xiaomi tool ADB/Fastboot Tools or Universal Installer 15 seconds ADB Installer. Once you have installed the software, plug in your phone and allow debugging on your smartphone screen. The system must automatically pick up the device and install the necessary components to communicate.
| Driver type | Appointment | Where to download |
|---|---|---|
| Google USB Driver | Basic support for Android devices | Android SDK Platform Tools |
| Xiaomi USB Driver | Official drivers for MIUI/HyperOS | MIUI Developer Site |
| MTP Driver | To transfer multimedia files | Windows Update / Microsoft Website |
| ADB/Fastboot | For deep debugging and firmware | XDA Developers / Google |
If the automatic installation doesn’t work, you can try to update the driver manually through Device Manager. Select the device, click Update the driver → Search for drivers on this computer → Select the driver from the list of available. The list often helps with the choice of MTP USB Device or Android Composite ADB Interface.
💡
When you manually install a driver in Windows 10/11, try selecting the MTP USB Device model from the list of compatible devices if the specific Xiaomi driver is not installed.
Diagnostics of Windows ports and system services
Sometimes the problem is not the phone, but the configuration of the computer's operating system. Windows Media Device Enumerator is responsible for detecting multimedia devices. If it is disabled or malfunctioning, the computer will not respond to the smartphone's connection, even if the drivers are installed correctly.
To check, click Win + R, enter services.msc, and search Portable Device Enumerator Service for the list. Make sure the startup type is set to Automatic and the service is running. If it is stopped, click Start.
- 🛠 Check the Device Manager for conflicting equipment with yellow triangles.
- ⚙️ Make sure that the controller is on in the Device Manager USB And no mistakes in his work.
- 🔄 Try removing the device from the Device Manager when the phone is connected, and then click “Update hardware configuration».
It is also worth checking the power supply settings. USB-Windows can turn off ports to save power, which causes a connection to break. In Device Manager, find "Roots" USB-hubs, open their properties, go to the tab "Power management" and uncheck the box from the item "Allow disconnection of this device».
Use of alternative methods of transmission
If the classic cable connection never worked and the files need to be transferred urgently, you can use wireless methods. In the Xiaomi ecosystem, there are built-in tools that often work more stable than the wired connection, especially when drivers are in trouble.
Mi Drop (known as ShareMe) allows you to transfer files over Wi-Fi at high speeds, and you can also use the built-in Windows Link feature, which allows you to manage files, photos and even the screen of a smartphone directly from a PC.
⚠️ Note: When using wireless methods to transfer large amounts of data (for example, 100 GB backup), make sure that the phone and router support the 5 GHz standard, otherwise the speed will be extremely low.
Another option is to use cloud services or FTP-Many file managers, like Mi File Manager or Solid Explorer, have a built-in PC Access feature that creates a local address (like a local address, ftp://192.168.1.5:2121), which can be entered in Windows Explorer, gaining full access to the file system without wires.
💡
Wireless data transfer methods (FTP, ShareMe) are often the best temporary solution if the USB port is physically damaged or drivers are in conflict with the system.
Difficult cases and reset USB settings
In rare cases, the software failure can be profound, affecting the system files of the USB configuration. If nothing helps, reset the USB settings via the engineering menu or ADB command. To do this, connect the phone to the PC (even if it is not visible, the command can execute) and type in the command line:
adb shell svc usb setFunctions mtpThis command is forced to switch functions USB mode MTP. If the phone is not detected in debugging mode, you can try resetting the network settings, as they affect the network. USB-Go to Settings, go to the protocols. → Connection and sharing → Resetting Wi-Fi, mobile networks and Bluetooth, it won't delete your personal data, but it will return network settings to factory settings.
If this does not help, there is an option with a full reset of the phone settings (Hard Reset). SD-Often after resetting and initial setting up without logging in to your account Google/Xiaomi The phone is correctly identified by the computer, which indicates a software conflict in the user profile.