Connecting Xiaomi devices (including Redmi, POCO, Black Shark) to a computer is a challenge that every user faces. WedΕug statistics, 68% of connection problems are due to improperly installed drivers or phone settings. This instruction covers all current methods, from standard USB- connection to advanced protocols like ADB and Fastboot, as well as solving typical errors like βdevice not recognizedβ or βMTP does not workβ.
We will not only analyze basic scenarios (file transfer, backup), but also specific cases: connecting to Linux/MacOS, working with a locked bootloader, circumventing the MIUI data transfer restrictions. Particular attention is paid to new models 2023β2026 years (Xiaomi 14, Redmi Note 13 Pro+, POCO F6), where the manufacturer has implemented additional security measures.
If youβve previously tried to connect Xiaomi to a PC and encountered errors β at the end of the article thereβs a FAQ- section with answers to 90% of typical questions, including problems with the Qualcomm HS-USB QDLoader 9008 and βeternalβ connection as a βcharger.β
1. Preparation of Xiaomi device for connection
Before you physically connect the cable, you need to configure the smartphone itself. On devices with MIUI 14+, the default mode is activated βCharge Onlyβ when you first connect to a new PC β a security measure that is often overlooked.
Open Settings β About Phone and 7 once click on "MIUI Version" to activate Developer Mode. Go back to the main settings menu, find a new Developer section and turn on:
- π Debugging according to USB (required for ADB/Fastboot)
- π Unlock OEM (required for firmware)
- π± Configuration USB default β Select File Transfer (MTP)
- π Installation through USB (manually APK)
On POCO F5 and later models, additional unlock confirmation in the Mi Account may be required β this is a Xiaomi security requirement to protect against unauthorized access.
β οΈ Warning: On devices with a bootloader, some features (such as fastboot oem unlock) will not be available until officially unlocked via Xiaomi's website.
For stable operation, we recommend using the original cable kit or certified USB-C 3.1 (especially for Xiaomi 13T Pro and older). Cheap cables often do not support data transfer, limited to charging.
2. USB connection (MTP, PTP, RNDIS)
The most common method is cable connection, and modern Xiaomi devices support several data protocols:
| Regime. | Appointment | Is it supported on Windows 11? | Whether drivers are required |
|---|---|---|---|
| MTP (Media Transfer Protocol) | Transfer of files (photos, music, documents) | Yes. | Yes (part of MIUI Driver) |
| PTP (Picture Transfer Protocol) | Importing photos to programs like Lightroom | Yes. | No (standard Windows driver) |
| RNDIS (USB Ethernet) | Sharing Internet access with PC | Partially (manual settings needed) | Yes. |
| Fastboot | Firmware, unlocking the loader | Yes. | Yeah (Qualcomm Drivers) |
| ADB (Android Debug Bridge) | Debugging, installation of APK, system modifications | Yes. | Yes (included in Android SDK) |
To change the connection mode:
- Connect the device to the PC via USB.
- Swipe down the notification panel on your phone.
- Click on the Charge notification via USB.
- Select the protocol you want (for example, file transfer for MTP).
If the PC does not see the device in MTP mode:
- π Reboot both devices.
- π Try another one. USB-port (preferably) USB 3.0 blue).
- π₯οΈ Update drivers through the official Xiaomi tool.
- π± Enable Debugging with USB and select Always Allow from that computer.
3. Installation of drivers for Xiaomi on Windows
Most connectivity issues are due to the lack or conflict of drivers. Xiaomi uses two types of drivers:
- MIUI Driver β for standard functions (MTP, ADB).
- Qualcomm Driver β for Fastboot and EDL (9008) modes.
For automatic installation:
- Download Mi Driver Installer.
- Launch the utility on behalf of the administrator.
- Connect your phone in Fastboot mode (clip Volume Down + Power when the device is off).
- Click Install in the program and wait for completion.
For manual installation (if the automatic method has not worked):
- Open Device Manager (Win + X β Device Manager).
- Find a device with a yellow exclamation point (usually in the Other Devices section).
- Right-click β Update the driver β Search on this computer.
- Specify the path to the driver folder (e.g., C:\Program Files (x86)\Xiaomi\MiPhone\Qualcomm\Driver).
β οΈ Warning: Windows 11 may need to disable driver signature verification. To do this, do the command line (Win + R β cmd β Ctrl+Shift+Enter): bcdedit.exe /set nointegritychecks on bcdedit.exe /set Signing on After PC reboot.
Installation of Mi Driver Installer|
Connect your phone to Fastboot |
Check for no exclamation points in Device Manager |
Restart the PC after installing the drivers-->
4. Connect Xiaomi to PC via Wi-Fi (wireless file transfer)
If the USB- cable is unavailable or the ports are down, you can use wireless protocols. Xiaomi supports three methods:
1. Mi Drop (built-in solution)
- π± Open the Mi Drop app (preinstalled on MIUI).
- π₯οΈ On PC, go to the web version of Mi Drop.
- π Scan it. QR-PC screen code or enter 6-digit code.
- π Drag files between devices (up to 10MB/s).
2. FTP- Server via ES Explorer
- Set up ES Conductor.
- Open the side menu β Network β FTP β Launch.
- Remember the address of the form ftp://192.168.x.x:3721.
- On PC, open Explorer β This computer β Connect the network disk and enter the FTP- address.
3. ADB over Wi-Fi (for advanced users)
adb tcpip 5555
adb connect 192.168.x.x:5555Where 192.168.x.x is the local IP- address of your Xiaomi (you can find out in Settings β About Phone β General information β Status).
π‘
To speed up Wi-Fi transmission, connect both devices to the same 5 GHz network. At 2.4 GHz, the speed can drop by 3-5 times.
5. Connection to Fastboot and ADB mode
These modes are used for firmware, bootloader unlocking or debugging. Fastboot works at the bootloader level, ADB works at the Android level.
How to log in to Fastboot:
- π Turn off the device.
- π Press Volume down + Power for 5-10 seconds.
- π₯οΈ Connect to a PC β Android Bootloader Interface should appear in Device Manager.
The main Fastboot teams:
fastboot devices # Check the connection
fastboot oem unlock # Unlock the bootloader (requires binding to Mi Account)
fastboot flash recovery twrp.img # Install custom recovery
fastboot reboot #RebootConnection via ADB:
- Enable USB Debugging (see Section 1).
- Connect the device to the PC in file transfer mode.
- Open the command line and type: Adb devices If the device is displayed, the connection is established.
β οΈ Warning: The fastboot oem unlock and fastboot erase userdata commands result in a complete data reset. Backup via adb backup or Mi Cloud before executing them.
What if the ADB canβt see the device?
6. Connecting Xiaomi to MacOS and Linux
On macOS and Linux, Xiaomi's connection has its nuances due to the lack of standard MTP drivers.
For macOS:
- π Install Android File Transfer (the official Google utility).
- π Connect the phone in MTP mode.
- π« If files are not displayed, restart the utility or reconnect the cable.
For Linux (Ubuntu/Debian):
- Install packages: sudo apt install mtp-tools libmtp-common libmtp-runtime
- Connect the device and check for detection: mtp-detect | grep "Device found"
- To mount to the file system, use: jmtpfs ~/xiaomi_mount_point (install jmtpfs via sudo apt install jmtpfs)
On Arch Linux and Manjaro derivatives, use:
sudo pacman -S mtpfs gvfs-mtpTo work with ADB/Fastboot on Linux/MacOS:
- Install platform-tools: #Ubuntu/Debian sudo apt install adb fastboot MacOS (via Homebrew) brew install android-platform-tools
- Add rules for USB-devices (create file /etc/udev/rules.d/51-android.rules): SUBSYSTEM=="usb," ATTR{idVendor}=="2717," MODE="0666," GROUP="plugdev" (where 2717 is a vendor ID for Xiaomi)
- Reboot the service udev: sudo service udev restart
7. Solving common mistakes
Even with the right setup, there can be problems. Let's look at the typical cases.
| Mistake. | Reason. | Decision |
|---|---|---|
| Device not identified (Code 43) | Driver conflict or USB 3.0 | Connect to a USB 2.0 port (black) or remove old drivers through the Driver Removal Utility (DDU). |
| MTP is not working, but charging is underway | Data protocol failure | Turn on Flight Mode, wait 10 seconds, turn off and reconnect the cable. |
| ADB: device unauthorized | No confirmed phone access. | On the screen of the phone should appear window with a request for permission β click Allow. |
| Fastboot: waiting for device | Incorrect mode or drivers | Make sure the phone is in Fastboot mode (rabbit screen) and Android Bootloader Interface drivers are installed. |
| Qualcomm HS-USB QDLoader 9008 | Device in EDL mode (emergency firmware) | Use Mi Flash Pro with an authorized account. |
If Xiaomi is defined as a βchargerβ and does not switch to MTP:
- π§ Check the cable - some cables only support charging.
- π΅ Reboot your phone to Safe Mode (press Power β Press "Switch off power" before the request appears).
- π Reset USB: Settings β For developers β Reset USB.
π‘
If neither method worked, try connecting Xiaomi to another PC, and 30 percent of the time, drivers conflict on a particular machine.