How to turn on USB on Xiaomi phone: all modes and settings

Connecting Xiaomi phone to your computer via USB-cable seems like a simple task, but many users face problems: the smartphone is not detected, does not transfer files or charges too slowly. USB-regimes which MIUI HyperOS is hidden deeper than standard Android, and this article will help you understand how to turn on the desired mode, why the phone may not see the connection, and how to fix typical errors.

It’s important to understand that Xiaomi uses its own shell that modifies standard Android settings. For example, new versions of HyperOS may call the USB menu differently, and older MIUI 12 may require additional permissions. We’ll look at current ways for all modern models, from the budget Redmi Note 12 to the flagship Xiaomi 14 Ultra.

If you're connecting your phone for the first time, the system can ask permission to access the data -- that's OK. But what if you don't have that request, and the computer stubbornly can't see the device? The answers are below.

What are they? USB-Modes available on Xiaomi and why they are needed

Xiaomi smartphones support several options for working via USB, each of which is designed for specific tasks.

  • πŸ”Œ Charging the phone is the basic mode where the data is turned off, and it's used if you just need to recharge the battery.
  • πŸ“ File transfer (MTP) β€” Standard protocol for sharing photos, music and documents between phone and PC.
  • πŸ–₯️ Image transmission (PTP) β€” Import photos to programs like Lightroom or Photoshop.
  • πŸ› οΈ USB-modem – allows you to distribute the Internet from phone to computer via cable.
  • πŸ”§ Debugging by USB β€” The developer is required to work with ADB, firmware or deep system setting.

The default is to activate the charging mode when you connect the cable, and to change it, you have to manually select another option in the notification menu, but on some models (for example, POCO F5) this choice may be hidden, then you need to enable debugging over USB or update the firmware.

Modern versions of HyperOS (starting in 2026) automatically determine the type of device you’re connected to and offer the optimal mode, but if you’re using the older version of MIUI 11-12, you may have to manually activate the settings you want to set in the Developer Settings.

πŸ“Š What? USB-You use the mode most often?
Charging.
File transfer
USB debugging
USB-modem
Not a PC connection.

Step-by-step: how to enable file transfer over USB

To make Xiaomi phone appear on your computer as a removable drive, follow the following steps:

  1. Connect your phone to your PC using the original USB Type-C cable (or Micro-USB for older models).Using uncertified cables can lead to connection errors.
  2. Unlock the smartphone screen – on a locked device the choice USB-mode unavailable.
  3. Swipe down the notification bar and find the Charge message via USB.
  4. In the window that opens, select File Transfer (MTP).

If the file transfer item is not in the list, it means:

  • πŸ”Ή The phone has disabled access to storage (check permissions in Settings). β†’ Annexes β†’ Permit management).
  • πŸ”Ή Installed outdated firmware (update the system in Settings) β†’ The phone. β†’ Update MIUI).
  • πŸ”Ή Unoriginal cable or damaged port USB.

Use the original Xiaomi cable

Unlock the phone screen

Update the firmware to the latest version

Check the port. USB trash-proof-->

Important: On computers running Windows 10/11, you may need to install Mi PC Suite or Google USB Driver drivers. You can download them from the official Xiaomi website or through the Android SDK Platform-Tools.

How to enable USB debugging on Xiaomi (for developers)

USB debugging mode is used to work with tools like ADB, Fastboot or custom firmware, and activate it:

  1. Open the Settings. β†’ The phone.
  2. Find the MIUI version and tap it 7 times in a row until you get a message You became a developer!
  3. Return to the main settings menu and select Additional β†’ Developer Options (in HyperOS, the path may differ: Settings β†’ System β†’ Advanced Settings β†’ Developer).
  4. Activate the debugging switch over USB.
  5. Connect the phone to the PC and confirm the debugging permission in the window that appears.

After that, the device will be recognized in ADB as authorized. To check the connection, type in the command line:

adb devices

If the list appears serial number of your Xiaomi – debugging works correctly.

πŸ’‘

If your computer doesn't see the device in debugging mode, try turning off and re-enable the USB Debugging setting in the developer settings. Sometimes rebooting your phone helps.

What to do if Xiaomi is not detected by a computer via USB

If the phone does not appear in this computer (Windows) or Finder (Mac) after connecting the cable, check the following points:

Problem.Possible causeDecision
The phone charges but does not transfer files.Not selected MTP modeTap on the Charge notification via USB and select File Transfer
The computer makes the connection sound, but the device is not visibleThere are no drivers.Install Mi PC Suite or Google USB Drivers
USB-The phone port is heated or unstableCore or connector damagedTry another cable or clean the port of dust
On Mac, the phone does not appear in FinderRequires Android File TransferDownload the utility from Google website

If the problem persists, try:

  • πŸ”„ Restart your phone and computer.
  • πŸ”Œ Connect the cable to another USB-port (preferably) USB 3.0 blue).
  • πŸ“± Enable File Transfer before cable connection (sometimes helps).
Why does Windows not see Xiaomi even after installing drivers?
In some cases, the problem is in conflict with previously installed drivers of other Android devices. To fix this: 1. Open Device Manager (Win) + X β†’ Device Manager. 2. Find your Xiaomi (usually in Portable Devices or Other Devices) in the list. 3. Right-click β†’ Update the driver β†’ Perform a search on this computer β†’ Select from the list of drivers already installed. 4. MTP-device ADB Interface manually.

Features USB-Connection to new models with HyperOS

Starting in 2026, Xiaomi is actively moving its smartphones to a new HyperOS shell, which changes the logic of USB.

  • πŸ”Ή Automatic identification of the type of connection: the system itself offers to enable MTP or PTP PC-detection.
  • πŸ”Ή Simplified developer menu: some parameters (for example, USB-Configuration) moved to the System β†’ Advanced settings.
  • πŸ”Ή Support USB 3.2 Gen 1 on flagship models (Xiaomi 14, Mix Fold 3), which speeds up data transfer to 10 Gbps.

HyperOS also has Quick Share, which allows you to share files between Xiaomi devices without cable. USB-connection.

Important: On HyperOS models, when you first connect to a new computer, the system requests confirmation through Mi Account. Without authorization in your Xiaomi account, file transfer can be blocked.

Safety: Risks when switched on USB-regimes

Activating debugging over USB or file transfer opens up potential vulnerabilities for malware, such as:

  • 🦠 Through ADB The attacker can install spyware on the phone.
  • πŸ“‚ In mode. MTP Viruses from a computer can be automatically copied to a smartphone.
  • πŸ”“ Public connection USB-Ports (airports, cafes) can lead to Juice Jacking, data theft through an infected port.

To minimize the risks:

⚠️ Never connect Xiaomi to the unknown USB-Hubs or charging stations, use only proven cables and ports. ADB Turn off debugging in the settings.

It is also recommended that:

  • πŸ”’ Install antivirus software on PC (for example, Kaspersky Internet Security).
  • πŸ“± Check your phone regularly for viruses through Google Play Protect.
  • πŸ”„ Turn off the debugging. USB post-completion.

πŸ’‘

USB debugging should only be enabled when needed. After firmware or setup, be sure to deactivate it in the developer settings.

FAQ: Frequent questions about USB on Xiaomi

My Xiaomi connects to a computer, but the files are not copied. What's the matter?
Most likely, the mode is Charging Only. Tap on the Charging notification via USB and select File Transfer (MTP). If the problem persists, check the cable - it should support data transfer (not all charging cables are suitable).
How to turn it on USB-modem?
Connect your phone to your PC, swipe the notification panel and tap Charge through USB. Select from the menu USB-If there is no modem, activate it in Settings. β†’ Access Point and modem β†’ USB-modem.
Why is the phone not visible when connecting to a Mac?
MacOS doesn't support MTP by default. Install the official Android File Transfer utility from Google. Also check that your phone has File Transfer enabled.
Can I charge Xiaomi through the USB-port?
Yes, but charging speeds will be lower than those of a network adapter. Modern laptops with USB-C (like the MacBook Pro) can provide up to 15 watts, which is enough for slow charging. Use Xiaomi's original power supply for fast charging.
How to reset USB settings if the phone is buggy when connecting?
Go to Settings β†’ Applications β†’ Application Management, find USB Storage (or Media Storage), clear the cache and data. After that, restart the phone.