How to connect Xiaomi to a computer via USB: all ways and solutions to problems

Why Xiaomi Connects to a PC via USB and What Opportunities It Opens

Connecting Xiaomi smartphone to your computer through USB-cable is not just a way to transmit photos or music. MIUI They offer a lot more functionality when connected correctly, from debugging apps to restoring the system, and many users experience a computer "can't see" the phone or opening it as an unknown device. USB-configuration, lack of drivers or blocking from the side MIUI.

In this article, we will discuss all possible connection modes (from a simple file manager to ADB and Fastboot), explain how to install drivers for different versions of Windows, and show how to avoid typical errors. Particular attention will be paid to the new models of 2023-2026 (Redmi Note 13, Xiaomi 14, POCO F6), where the manufacturer has tightened security policy. If you want to not only copy files, but also flash the device, unlock the bootloader or debug the application, this is the guide for you.

Before you go to the settings, make sure you have the original one. USB-cable (not all cheap analogues support data transfer) Also check the connector on the phone - often connection problems arise due to a contaminated port or mechanical damage.

πŸ“Š What Xiaomi model you connect to your PC?
Redmi Note 12/13
Xiaomi 13/14
POCO F5/F6
Redmi 10/11
Another model

1.Preparation of the phone: choosing the right USB mode

By default, when you connect to a PC, Xiaomi offers to choose one of the modes of operation, which depends on which features will be available.

  • πŸ“ File transfer (MTP) β€” It's a standard mode for exchanging data, and it allows you to view internal memory and SD-It's like an external drive, it's good for copying photos, videos, music.
  • πŸ”Œ Transmission of photographs (PTP) β€” It's a simplified mode that recognizes the phone as a camera. MTP It does not work (for example, on older versions of Windows).
  • πŸ”§ USB-modem (RNDIS) β€” Turns your smartphone into a PC Internet source.
  • πŸ› οΈ Regime. MIDI β€” To connect musical instruments (rarely used on smartphones).
  • πŸ”“ No data transfer, just charging. Useful if you want to save battery, but file access is not required.

To change the regime, follow the following steps:

  1. Connect your phone to your PC via USB.
  2. Unlock the screen (some models require a password).
  3. In the notification that appears, press USB to transfer files β†’ select the desired mode.
  4. If the notification does not appear, lower the notification panel manually and tap on USB-connection.

Newer models (such as the Xiaomi 14 Pro or Redmi Note 13 Pro+) may require additional confirmation in Settings β†’ Connections & Sharing β†’ USB. You can also enable USB debugging if you plan to use ADB.

πŸ’‘

If the phone is not responding to a USB connection, try using a different port on your computer.The ports on the front of the system unit often have a weak contact.

2. Installation of drivers for Xiaomi on Windows 10/11

A common reason why the PC doesn't see Xiaomi is because there are no drivers. Windows automatically installs the basic drivers for MTP, but ADB and Fastboot require additional packages.

Method 1: Automatic installation via Mi PC Suite

Xiaomi’s official software not only manages files, but also installs all the necessary drivers. Download Mi PC Suite (check the version for your model!) and follow the instructions:

β˜‘οΈ Installation of Mi PC Suite

Done: 0 / 4

Method 2: Manual installation of ADB/Fastboot drivers

If you need advanced features (firmware, unlock the bootloader), install drivers manually:

  1. Download Android SDK Platform-Tools (official package from Google).
  2. Unpack the archive in the folder C:\adb.
  3. Connect your phone in Fastboot mode (turn off the device, then press Volume Down + Power).
  4. Open Device Manager on PC, find Android Device with an exclamation point.
  5. Update the driver by specifying the path to the C:\adb\driver folder.

For POCO models and new Redmis, you may need to disable the driver digital signature verification in Windows.This is done through the boot settings (press Win + R, enter shutdown /r /o, then select Disable Mandatory Driver Signature Verification).

Xiaomi modelRequired driverFeatures
Xiaomi 13/14, Redmi Note 12/13Qualcomm HS-USB QDLoader 9008We need to turn off signature verification.
POCO F5/F6MediaTek PreloaderInstallation only manually
Redmi 10A/11AStandard MTP + ADBSupports automatic installation
Xiaomi Pad 6Android Composite ADBRequires the debugging activation

πŸ’‘

Drivers for Fastboot and ADB Often conflict with standard MTP-If the phone is no longer defined as a drive after installing Platform-Tools, manually remove conflicting drivers through Device Manager.

3. Problem Solving: The Computer Cannot See Xiaomi

If the phone does not appear in this computer or Device Manager after you connect, follow the following steps:

⚠️ Attention: On models with MIUI 14+ (For example, Xiaomi 14) by default enabled the function "Block" USB". It prevents you from connecting to a trusted PC. To turn it off, go to Settings. β†’ Passwords and security β†’ Confidentiality β†’ Lockdown USB and deactivate the option.

  • πŸ”„ Restart both devices – sometimes a banal disconnect/connect cable helps.
  • πŸ”Œ Check the cable and port – use the original Xiaomi cable (cheap counterparts often only support charging).
  • πŸ› οΈ Update. MIUI β€” In older versions of the firmware there are bugs with USB. Check for updates in Settings β†’ The phone. β†’ Updating the system.
  • πŸ”“ Unlock. OEM β€” if you plan to use ADB or Fastboot, activate Unlock. OEM and debugging. USB In Settings β†’ The phone. β†’ Version. MIUI (Press 7 times, then return to the Additional Settings β†’ For developers).

If the phone is defined as Unknown Device, execute the following commands in Command Prompt (on behalf of the administrator):

set devmgr_show_nonpresent_devices=1


start devmgmt.msc

In Device Manager, turn on the hidden device display and delete all entries with the name Xiaomi or ADB. After rebooting, connect the phone again.

What to do if Windows gives you a Code 10 error?
The Code 10 error means that the driver cannot start. Solution: 1. Remove the device in Manager. 2. Turn off digital signature verification (as described above). 3. Install the driver manually by selecting a compatible version (for example, for Qualcomm chips use the QDLoader HS-USB Driver driver). 4. Reboot the PC.

4. Advanced modes: ADB and Fastboot

If you need to not only copy files, but also flash the device, unlock the bootloader or install custom software, you will need ADB (Android Debug Bridge) and Fastboot modes. These give low-level access to the system, but require caution - the wrong commands can lead to a breeze (breakdown) of the phone.

How to enable debugging by USB

  1. Activate Developer Mode: Go to Settings β†’ About Phone β†’ MIUI Version and press 7 times.
  2. Return to Settings β†’ Additional settings β†’ For developers.
  3. Enable USB Debugging and OEM Unlocking.
  4. Connect the phone to the PC and confirm the debugging permission (a request will appear on the smartphone screen).

ADB's main teams

After connecting, open the Command Prompt in the platform-tools folder and use:

adb devices # Checking the connection


adb pull /sdcard/ # Copying files from phone to PC




adb install app.apk # Install APK- file




adb shell # Access to the Android terminal

Fastboot mode

For the firmware or unlocking of the loader:

  1. Turn off the phone.
  2. Press Volume Down + Power before the Fastboot logo appears.
  3. Connect to the PC and check for detection by the command:
fastboot devices

If the device is not detected, install the Android Bootloader Interface driver manually.

⚠️ Attention: Unlocking the bootloader on new Xiaomi models (2023-2026) requires binding the Mi Account and waiting 7-15 days. Without this, custom software firmware is impossible.

5. Alternative ways to connect without USB

If USB-The port is not working or you prefer wireless solutions, consider the following options:

  • πŸ“Ά Mi Drop (Wi-Fi Direct) is built into the MIUI application for transferring files over a local network. USB, but does not require cable.
  • ☁️ Cloud services – Mi Cloud, Google Drive or Telegram (bot) @FileTransferBot). Suitable for small files.
  • πŸ”— FTP-server – use applications such as FX File Explorer or Solid Explorer FTP-Connect via FileZilla or Windows Explorer (enter) ftp://IP-telephone).
  • πŸ–₯️ Scrcpy - a program for managing a phone from a PC USB/Wi-Fi. It allows not only to transfer files, but also to duplicate the screen.

To set up Scrcpy:

  1. Install Scrcpy and connect your phone in ADB mode.
  2. Launch the command:
scrcpy --bit-rate 8M --max-size 1080

To work on Wi-Fi, first connect via USB, then do:

adb tcpip 5555


adb connect IP- Address to Phone:5555

6.Security: How to protect data when connecting to a PC

Connecting to unfamiliar computers (such as at an internet cafe or at work) can put your data at risk.

  • πŸ”’ Use the lock. USB (included in the settings β†’ Passwords and security β†’ Privacy. This will prevent you from connecting without unlocking the screen.
  • πŸ›‘οΈ Turn off the debugging. USB After use: Developer mode leaves vulnerabilities for malware.
  • πŸ“± Encrypt sensitive data. MIUI There is a built-in Encrypted folder (in the Gallery or Files).
  • πŸ”„ Check the connected devices. In Settings. β†’ Connections and sharing β†’ USB You can see the history of connections.

In the models with MIUI 14+ The function "Protection from harmful" USB-It blocks automatic commands from connected gadgets (like BadUSB) to turn it on:

  1. Go to Settings. β†’ Passwords and security β†’ Protection from harmful USB-device.
  2. Activate the option and add trusted devices to exceptions.

If you frequently connect your phone to different PCs, consider using a virtual machine (like VirtualBox) to isolate potential threats, and it’s also helpful to create a separate Windows user with limited permissions to work with ADB.

FAQ: Frequent questions about Xiaomi's PC connection

πŸ”Ή Why Xiaomi is a β€œcharger” rather than a storage device?
This happens if you select Charge Only on your phone, change it to File Transfer (MTP) in the notification panel, and check if the USB Lock option is enabled in the security settings.
πŸ”Ή Can you connect Xiaomi to Mac or Linux?
Yes, but for ADB/Fastboot on macOS you will need to install Homebrew and the android-platform-tools package: brew install android-platform-tools On Linux (Ubuntu/Debian) run: sudo apt install adb fastboot To access files in MTP mode on Linux, you may need a package mtp-tools or gvfs-mtp.
πŸ”Ή How to copy files from blocked Xiaomi (I don’t know the password)?
If the phone is locked, but USB-Debugging was enabled earlier, you can try: Connect your phone to your PC and type in the command: adb pull /sdcard/ Use Scrcpy to control the screen (if debugging is allowed).If debugging is not enabled, the only way is to reset your phone via Fastboot (data loss!): fastboot erase userdata
πŸ”Ή Why Xiaomi is not defined by Fastboot?
Causes and solutions: πŸ”Œ Not the original cable – use the cable from the kit. πŸ”§ No drivers – install Android Bootloader Interface manually. πŸ”’ bootloader is blocked - unlock through Mi Unlock Tool. πŸ”„ Wrong button sequence – for Fastboot, keep Volume down + Power 10-15 seconds.
πŸ”Ή Can you connect Xiaomi to your PC without unlocking the screen?
Yes, but with limitations: πŸ“ Regime. MTP β€” If you have previously selected the "Always Allow from this computer" mode, access to the files will be open. πŸ”§ ADB β€” If debugging is enabled, commands can be executed without unlocking (e.g., adb pull). ⚠️ Without debugging, data is not available (except charging (MIUI 14+) Even with debugging enabled, you may need to unlock the screen to confirm the connection.