A situation where a laptop does not see a Xiaomi phone when connecting through a USB-cable is one of the most common problems with the Android ecosystem, and users expect instant access to the file system to transfer photos or documents, but instead see only a quiet charger. MIUI, which by default blocks data transmission for security purposes.
The lack of response from Windows or macOS can be caused by a banal physical cable defect or the lack of necessary MTP drivers. In some cases, the problem lies in the software failure of the smartphone itself, which is frozen in “Charge Only” mode. Understanding the nature of the failure is the first step to successfully restore the connection.
The following instructions will help you diagnose and fix a malfunction using proven methods from simple to complex. We will look at the developer settings, hardware verification and work with system services.
Physical causes and equipment inspection
Before you delve into the software settings, you need to rule out hardware malfunctions. Often the laptop does not see Xiaomi due to banal damage. USB-Cables that come with inexpensive superbanks or bought on the wreckage often have only two working veins inside.
Try using the original cable or quality analogue labeled Data Sync. USB-port on your laptop: connect other devices (mouse, flash drive) to make sure it works.The ports on the front of the PC system unit may not be powered or have poor contact.
⚠️ WARNING: Using cheap uncertified cables can lead to unstable port operation USB on the motherboard and voltage surges, which is dangerous for the smartphone power controller.
Special attention should be paid to the charging socket on the smartphone itself, which is often clogged with pile and dust in the pockets of clothes, which prevents the plug from entering fully. Carefully clean the Type-C or Micro-USB connector with a wooden toothpick or compressed air, without using metal objects, so as not to close the contacts.
💡
Use USB 3.0 ports (usually blue) for faster and more stable data transfer, as they provide better current strength and bandwidth.
Set-up of the regime USB-plug-in MIUI
If the cable is physically good but the computer is not responding, it's likely that the smartphone has gone into Charging Only mode, which is the standard Android behavior for protecting user data from unauthorized access when connecting to other computers, and you need to manually switch this mode.
Once you connect the cable, unlock your phone screen and lower the notification curtain from top to bottom, and you'll see a system message, "Charge via USB," or something similar. Click on it to open the USB mode selection menu.
- 🔌 Charging only – the phone only consumes energy, file transfer is prohibited.
- 💾 File transfer (MTP) — basic mode for accessing the phone memory from the computer.
- 📷 Transmission of photo (PTP) — Used to connect to cameras or older PCs without drivers MTP.
- 🎧 MIDI — mode for connecting musical instruments.
Select File Transfer. If the computer makes a device connection sound but the folders don't show, you may need to install drivers. In some versions of MIUI, the menu may not appear automatically, then you need to go to Settings → About Phone → MIUI version and repeatedly click on the build number to activate the developer menu.
Installation and update of ADB and MTP drivers
Windows sometimes can’t automatically find a driver for specific Xiaomi models. In Device Manager, this is displayed as “Unknown Device” with a yellow exclamation mark. To work properly, you need universal Google USB Driver or Xiaomi USB Drivers.
You can download the official Mi PC Suite utility, which will automatically install all the necessary components, or use the universal 15 seconds ADB Installer. Once the drivers are installed, you may need to restart your computer to take effect.
If the automatic installation does not help, perform the following actions manually:
- Open Device Manager through Windows search.
- Find the device with the error in the “Other Devices” or “Portable Devices” section.
- Right-click and select “Update driver”.
- Select “Search for drivers on this computer” → “Select a driver from the list of available drivers”.
- Find the listing of “MTP USB Device” or “Xiaomi Composite ADB Interface” and click “Next”.
⚠️ Note: When manually installing drivers, make sure you choose exactly what you want. MTP-device, not PTP, Otherwise, the computer will see the phone as a camera, not as a storage device.
Activation of debugging over USB and the developer mode
For more in-depth diagnostics and working with tools ADB (Android Debug Bridge requires developer mode to be enabled, allowing the computer to have full access to control of the phone, which often helps to "unstrain" the got stuck device. USB-port.
To activate this mode, go to Settings → On the phone and press quickly 7-10 field-by-field "Version" MIUI». After the inscription “You became a developer” appears, go back to the main settings menu, go to Additional → For developers.
☑️ Setup of debugging
Inside the menu for developers, find the item "Debugging by USB» And turn it on. And then you can use the "Configuration" option. USB By default, select File Transfer. When you first connect to a new computer, you'll see a request for debugging permission on your phone screen — be sure to click OK or Always Allow».
Sometimes it helps to switch the item "Select mode" USB» (Or similarly named) in the developer menu several times in a row. USB-If after debugging, the laptop still does not see Xiaomi, try to perform a reset command in the Android system. ADB, if it is installed:
adb kill-server
adb start-server
adb devicesDiagnostics through Windows Device Manager
If the previous steps failed, you need to conduct a deep diagnostics in the operating system itself. Open Device Manager (press Win + X and select the appropriate option). Connect the phone and monitor for changes in the list.
The device may appear and disappear, indicating a cable or port problem. If the device is hanging with an error code (such as Code 43), try removing it from the list (right mouse button → Delete device), and then select Action → Update hardware configuration from the menu.
| Status in dispatch. | Probable cause | Decision |
|---|---|---|
| Unknown device | There are no drivers. | Install Xiaomi USB Drivers |
| MTP USB Device (with an error) | Driver conflict | Remove and update the driver manually |
| Android Composite ADB Interface | Debugging mode active. | Check the resolution on the phone screen |
| USB Root Hub (Error) | Port power shortage | Use the back port of a PC or powered hub |
Also worth checking is MTP. Press Win + R, enter services.msc, and find the Windows Media Player Network Sharing Service or MTP-related processes.
The secret method of resetting USB
Alternative methods of data transmission without cable
If a hardware cable or port breaks down and files need to be transferred urgently, use wireless methods, which often run faster than older USB 2.0 ports and do not require drivers.
The most efficient way to connect Windows and Xiaomi is to use Wi-Fi Direct technology or local area network. the Explorer app in MIUI has a built-in remote management feature.
- 📱 Open the standard “Conductor” on Xiaomi.
- 🌐 Click on the menu (three bars) and select Remote Control».
- 🔓 Click "Run" and you will receive FTP-address (e.g, ftp://192.168.1.5:2121).
- 💻 Enter this address in the address bar of any folder on your computer.
You can also use cloud services (Google Drive, Mi Cloud) or specialized programs like Send Anywhere, AirDroid or Xiaomi Share (for Windows 10/11), which allow you to transfer files of any size without the limitations of cable.
⚠️ Attention: When in use FTP Wi-Fi transmissions make sure that the laptop and phone are connected to the same Wi-Fi network, or the connection will not be established.
For constant wireless operation, consider installing the Mi PC Suite app or analogues that create a virtual network drive from your smartphone memory, eliminating the need to constantly search for a cable and solving the problem of “laptop can’t see the phone” once and for all in a software way.