How to switch charging to data transfer on Xiaomi smartphones: all ways

Connected Xiaomi to the computer via USB, but the phone is persistently charging and files are not transferred? This problem is familiar to many owners of smartphones Redmi, POCO or Mi β€” the device by default often chooses only charging mode, blocking access to memory. In this article, we will discuss 3 working ways to switch USB mode, including hidden settings for power users.

The reasons Xiaomi doesn't go into data mode can range from MIUI firmware bugs to incorrect drivers on the PC. We'll look not only at standard methods through the notification curtain, but also at a universal way through the developer's settings, which works even on locked devices, and also find out why sometimes the computer doesn't see the phone at all - even after the mode change.

Why Xiaomi doesn’t automatically switch to data transfer

By default, Xiaomi smartphones (including the Redmi Note 12, POCO X5, Mi 11) choose Charging Only mode when connected to USB. This is done for safety, so the manufacturer minimizes the risk of unauthorized access to data. However, this is often a problem for the user.

The main reasons for the automatic switching:

  • πŸ”Œ Faulty cable or port: Physical damage or contamination of contacts can block data transmission, leaving only charging.
  • πŸ–₯️ Lack of drivers: on Windows PCs (especially) 7/8 Version) often lacks drivers MTP or ADB.
  • πŸ“± Lockdown MIUI: firmware MIUI 13/14 Added protection from connecting to untrusted devices.
  • πŸ”§ Resettings USB: After updating or resetting, the connection parameters may fly off.

If your Xiaomi previously connected normally to a PC, but suddenly stopped, check Settings β†’ Connections and Sharing β†’ USB. Sometimes the priority mode is reset there.

πŸ“Š How often do you connect Xiaomi to your PC?
Every day.
Once a week.
Once a month
Firmware only.
Never.

Method 1: Quickly switching through the notification curtain

The easiest method is to use the notification bar. It works on all Xiaomi models with MIUI 10 and later (including Redmi 10C, POCO F4, Mi 11 Lite).

Step-by-step:

  1. Connect your phone to your PC via the original cable (preferably from the kit).
  2. Swipe down from the top edge of the screen to open the notification bar.
  3. Find the Charge notification via USB (or USB for file transfer) and tap it.
  4. In the window that opens, select File Transfer (MTP) or Photo Transfer (PTP).

If there is no file transfer point in the curtain:

  • πŸ”„ Try to disconnect and reconnect the cable.
  • πŸ”Œ Use another one. USB-port on PC (preferably) USB 3.0 blue).
  • πŸ“± Restart your phone – sometimes it resets the locks MIUI.

Use the original Xiaomi cable

Connect to the back. USB-port

Unlock the phone screen

Disable VPN/Proxy on PC

Update the drivers USB-->

⚠️ Note: Some models (e.g. Redmi) 9A) regime MTP It may not work with third-party cables. Use only certified accessories.

Method 2: Manual switching in system settings

If the notification curtain doesn’t show the option to change mode, try changing the settings manually, which is suitable for devices with MIUI 12/13/14, where the USB connection interface has been redesigned.

Instructions:

  1. Open Settings β†’ Connections and Sharing.
  2. Select USB (on some firmware, the item is called USB Mode by default).
  3. In the list of available modes, mark File Transfer (MTP).
  4. Connect the cable to the PC – the phone will automatically apply the selected mode.

On older versions of MIUI (up to 11), the path may be different:

Settings β†’ Additional β†’ For developers β†’ USB configuration by default

If there is no USB option in the settings:

  • πŸ” Check if the phone screen is unlocked when connected.
  • πŸ”„ Try to turn on the debugging on USB (below).
  • πŸ“± Update the firmware to the latest version MIUI.
What to do if there is no USB in the settings?
On some firmware (e.g., global versions for the Redmi Note 8 Pro), the USB option is hidden. To return it: 1. Activate Developer Mode (7 times tap the MIUI version in Settings β†’ About phone). 2. Return to Settings β†’ Additional β†’ Developers. 3. Find the default USB configuration and select MTP. After that, the item will appear in the main connection menu.

Method 3: Switching through developer settings (for experienced)

If standard methods don't work, the one-size-fits-all option is to force a mode change through the developer menu, which will help even on locked devices or custom firmware.

How to enable MTP mode through the developer:

  1. Activate Developer Mode: Go to Settings β†’ About Phone. Tap 7 times on MIUI Version (you will be notified you have become a developer!).

Settings β†’ Additional β†’ For Developers

USB configuration by default

USB-configuration

MTP (Media Transfer Protocol)

Connect the cable to the PC – the mode will apply automatically.

Additional settings that may help:

  • πŸ”“ Turn on Debugging. USB (required for some PCs).
  • πŸ”„ Disable the Installation through USB and Withdrawal of permits USB, if they're active.
  • πŸ“± Reboot your phone after the changes.

⚠️ Note: Some firmware (e.g. Xiaomi.eu) item Configuration USB may be called USB default configuration. If your PC still can't see your phone after changing mode, try turning off debugging. USB β€” Sometimes she's in conflict with MTP.

πŸ’‘

If your computer can’t see Xiaomi even after the mode change, try connecting your phone to another one. USB-port (preferably) USB Some motherboards are blocking MTP port USB 3.0 due to driver issues.

Table: USB modes on Xiaomi and their purpose

On Xiaomi smartphones, there are several USB connection modes available. Let's figure out what you need:

Regime.AppointmentWhen to useLimitations
Just charging.Charging the battery without data transmissionWhen connected to chargers, powerbankIt is impossible to access files
MTP (Media Transfer Protocol)Transfer of files (music, photos, documents)To copy data to PCs with Windows/macOSSlow transfer speed of large files
PTP (Picture Transfer Protocol)Transfer of photos and videos as from a cameraImport media files into Lightroom or PhotosDoes not show other file types (APK, documents)
RNDIS (USB Ethernet)Sharing Internet access via USBFor distribution of mobile Internet on PCRequires settings on PC, does not work with file transfer
Audio SourceTransfer audio over USBFor connection to car radiosNot supported by most PCs

On most Xiaomi devices, only MTP and PTP are available by default. To see all modes (including RNDIS), you may need to unlock the bootloader.

What to do if your computer can’t see Xiaomi even after a mode change

You switched mode to MTP, but the PC still doesn't recognize the phone? The problem may be on the computer side.

  1. Check drivers: On Windows, open Device Manager (Win + X β†’ Device Manager). Find your Xiaomi portable devices or Other devices in the list. If there is a yellow triangle nearby, right-click and select Update Driver.

Install Mi PC Suite

Xiaomi's official software automatically installs the drivers you want. Download it from pcsuite.mi.com.

Try another cable.

Cheap cables often don't support data transfer (charging only). Use the original cable from the kit.

Turn off the antivirus.

Some antiviruses (e.g. Kaspersky, Avast) block MTP connection as potentially dangerous.

If nothing works, try connecting your phone to another computer, and if the problem persists, it may be faulty. USB-port.

πŸ’‘

On Windows 10/11 PCs, the MTP driver is installed automatically when you first connect. If that doesn't happen, download it manually from Microsoft's website or via Mi PC Suite.

Frequent Mistakes and How to Avoid Them

When switching USB modes to Xiaomi, users often encounter common errors, and here are the most common ways to solve them:

  • 🚫 "Device not identified": Reason: no drivers MTP or ADB Solution: Install Mi PC Suite or download the Google driver USB Driver.
  • πŸ”„ Mode resets after shutdown: Reason: default mode is not saved in the settings. Solution: Go to Settings β†’ Connections and sharing β†’ USB and choose MTP priority.
  • πŸ“± Phone fails to respond to cable connection: Cause: pollution USB-Solution: Clean the port with compressed air and check the cable on another device.
  • πŸ”’ MIUI Blocks the connection: Reason: Insecure devices are enabled. Solution: Unlock the phone screen and confirm trust in the PC in the window that appears.

⚠️ Note: On devices with unlocked bootloader or custom firmware (for example, LineageOS) mode MTP It can be unstable. In this case, try using it. ADB For file transfer: adb push local file /sdcard/phone-file

FAQ: Answers to Frequent Questions

My Xiaomi only connects as a "charger", although I choose MTP.
The problem may be reset USB settings. Try: Go to Settings β†’ Applications β†’ Application Management. Find Settings (app) and clear its cache. Reboot your phone and reconnect. If it doesn't help, reset your network settings: Settings β†’ System β†’ Reset your settings β†’ Network Reset.
Can I transfer files without connecting to a PC (via Wi-Fi)?
There are several ways to do this: Mi Drop: built-in MIUI application for transferring files over Wi-Fi Direct. FTP-server: use applications such as FX File Explorer or Solid Explorer FTP-Cloud services: upload files to Mi Cloud, Google Drive or Telegram. To transfer over Wi-Fi, both devices must be connected to the same network.
Why isn’t Xiaomi showing up as a drive when connected to a MacBook?
On macOS, you need additional software to work with MTP: Install Android File Transfer from the official Google website. Connect your phone in MTP mode. Launch Android File Transfer - the phone should appear in the program. If it does not work, try restarting your MacBook or using a cable that supports data transfer.
How to turn on the data transfer mode on the blocked Xiaomi (if you forgot the password)?
Change the mode on the locked device USB Solutions: Reset via Mi Account: If you are tied to a Xiaomi account, you can reset your password via account.xiaomi.com. Fastboot: connect your phone to your PC in Fastboot mode (click Volume Down) + Power) and reset via command: fastboot erase userdata ⚠️ It'll delete all the data! EDL-Mode: for experienced users – firmware through Qualcomm 9008 (requires an authorized Xiaomi account).
Can I charge my phone and transfer data at the same time?
Yes, MTP mode supports simultaneous charging and file transfer. However, charging speeds may be slowed by port load. For maximum speed: Use a USB 3.0 cable (usually blue); connect to a USB-C port on a PC (if any); disable background applications that consume energy.