How to open a work mode USB on Xiaomi: Instructions for MIUI 12, 13 and 14

Mode of work USB On Xiaomi smartphones, this is a key feature that allows you to connect the device to a computer to transfer files, debug applications or firmware through Fastboot. When you connect a cable, the phone is either not defined by the PC, or it offers only charging without access to memory. USB-Xiaomi modes, including hidden settings MIUI Solutions for cases where standard methods do not work.

Feature of firmware MIUI (From version 12 to current 14, the manufacturer often hides the developer technical options behind multiple menu layers, and after system updates, settings may be reset and some modes (e.g., for example, for example, for the user to use the new system, PTP or MIDI) And we're going to look at not only basic actions, but also alternative methods through the use of the tools. ADB, engineering menus and even hardware button combinations for devices with damaged screen.

Why different regimes are needed USB Xiaomi

Xiaomi smartphones support several connection protocols USB, Each of which is designed for specific tasks:

  • πŸ“ MTP (Media Transfer Protocol - standard mode for transferring files (photos, music, documents) between your phone and your computer, works on all versions of Windows without additional drivers.
  • πŸ”§ PTP (Picture Transfer Protocol is a simplified photo transfer protocol, often used in cameras, and Xiaomi may need to be compatible with older versions of macOS or Linux.
  • πŸ–₯️ RNDIS β€” It allows you to use your phone as USB-modem for distribution of the Internet (alternative to Wi-Fi hotspot).
  • 🐞 Debugging by USB β€” The program for developers is required to work with ADB, Firmware through Fastboot or application testing.
  • πŸ”„ Charging only – blocks data transmission, useful for saving battery on public USB-port.

In practice, 90% of users need to MTP (for copying files) or debugging USB (However, Xiaomi defaults to hide these options to "protect" inexperienced users from random changes, such as without activating debugging. USB It is impossible to unlock the bootloader (Bootloader) or install custom firmware through TWRP.

It is important to understand that certain regimes (for example, RNDIS) If the phone is not detected after connecting, try changing the protocol manually or updating drivers via Mi. PC Suite.

πŸ“Š What regime? USB You need it most often?
MTP (file transfer)
Debugging by USB (ADB/Fastboot)
RNDIS (USB-modem)
PTP (for photo)
Other

Standard way of introducing the regime USB Xiaomi

If your Xiaomi is working properly and you have access to settings, follow this instruction:

  1. Connect your phone to your computer through the original USB-cable (preferably from the kit) Uncertified cables may cause connection errors.
  2. The phone will have a USB charger notification on it.
  3. In the window that opens, select the desired mode: πŸ“‚ File transfer (MTP) β€” memory-access; πŸ–₯️ USB-modem (RNDIS) β€” net-handling; πŸ“· Transmission of photographs (PTP) β€” alternative MTP; πŸ”Œ Charging only – blocks data transfer.

If the desired mode is not in the list, go to Settings β†’ Connection and sharing β†’ USB and pick it out there.

Nana MIUI 14 Way to Settings USB It may be different: Settings β†’ Additionally. β†’ Developer parameters β†’ Configuration USB You can set a priority mode here, which will activate automatically when you connect.

Use the original Xiaomi| cable

Check integrity USB-port-on|

Update MIUI to the latest version|

Disable the power saving mode when connecting to a PC|

Install Mi drivers PC Suite on the computer-->

If the computer still does not see the phone after selecting the mode:

  1. Check if the Xiaomi screen is unlocked (on a locked device, the data transfer may not work).
  2. Restart both devices (phone and PC).
  3. Try another one. USB-port on the computer (preferably) USB 3.0 blue).
  4. On Windows, update drivers through Device Manager (Portable Devices or Other Devices).

To activate debugging:

  1. Go to Settings. β†’ The phone.
  2. Find the MIUI version and tap it 7 times in a row until the notification β€œYou’ve become a developer!” appears.
  3. Return to the main settings menu and open a new Developer section (usually at the bottom of the list).
  4. Activate the switches: Debugging by USB; Unlocking OEM (necessary to unlock Bootloader; Debugging by USB (Security settings – confirm the permission.

Connect your phone to your PC and confirm your trust in the window that appears on the Xiaomi screen.

If the Developer Option does not appear after 7 clicks, check:

  • πŸ“± Version MIUI (On some firmware you need to tap on the Assembly Number, not the Version. MIUI);
  • πŸ”’ Mi Account (some devices require authorization);
  • πŸ”„ Reboot the phone after activation of the developer mode.
What to do if the USB debugging is not enabled?
If after activation the switch is debugged by USB Disabled or not saved immediately, this may be due to: 1. MIUI β€” on some devices (e.g. Xiaomi) 12T Or Redmi Note 11) debugging is blocked when you connect to a nontrusted PC. Solution: connect the phone to another computer and confirm trust. 2. Work profile restrictions - if the phone is used in a corporate environment (with Android Enterprise), the administrator can block debugging. Check in Settings β†’ Accounts. β†’ Work Profile 3. Damage to system files – Resetting settings or flashing through Fastboot will help (but it will delete all data!).

On devices with MIUI 14 and newer debugging on USB may require additional confirmation through SMS Mi Account is a security measure introduced after a wave of attacks using vulnerabilities in the security system. ADB.

Addressing problems: USB not determined on a computer

If Xiaomi is not recognized by your computer even after selecting the mode, use this table for diagnosis:

Symptoms.Possible causeDecision
The phone is charged, but not defined as a driveNot selected MTP mode or lost USB settingsManually select File Transfer in the Notification Curtain or Reset Settings USB In Settings β†’ System system β†’ Resetting settings β†’ Resetting settings USB
The device appears as Unidentified in Device ManagerNo Qualcomm or MediaTek driversInstall Mi. PC Suite or Drivers Manually via Driver Update β†’ Perform a search on this computer β†’ specify the folder with drivers from the firmware archive
Connection is constantly brokenProblems with cable or port (especially on Xiaomi) USB-C)Try another cable (preferably with data support), clean the port of dust, connect to the back port of the PC (if you use a desktop computer)
Windows is sending an error code 10 or code 43.Driver conflict or controller hardware malfunction USBDelete the device in the Manager, disable the driver signature (bcdedit) /set nointegritychecks on in CMD from admin) and reinstall the driver
Nana Mac/Linux phone not visible in lsusbLack of support MTP In the kernel or not installed android-file-transferInstall jmtpfs or gphoto2 (for PTP), use ADB push/pull file transfer

On devices with a MediaTek chipset (e.g., Redmi) 9A, Poco M3) Additional drivers may need to be installed VCOM. They can be found in the firmware archive for your model on the Xiaomi Firmware website.

πŸ’‘

If Windows 11 doesn’t see Xiaomi in mode MTP, Try disabling Quick Start in Power settings, which sometimes blocks the correct operation. USB-device.

Alternative activation methods USB-regimes

If standard methods fail (for example, after resetting or updating) MIUI), Try these options:

1.Using the engineering menu (#4636##)

This method works for most Xiaomi devices based on Android 10-13:

  1. Open the Phone app and enter the combination: ##4636##.
  2. Go to the phone information section.
  3. Scroll down to the Settings block. USB and select the desired mode.
  4. Connect the cable - the mode is activated automatically.

2. Through ADB (if debugging is already on)

If debugging is on USB previously activated, you can change the mode through the command:

adb shell settings put global usb_config mtp,adb

Where mtp,adb is a combination of modes.

  • mtp – only transfer of files;
  • ptp - transfer of the photo;
  • rndis β€” USB-modem;
  • None is just charging.

3. via Recovery Mode (for devices with damaged screen)

If the screen is not working, but the phone is on:

  1. Turn off the device.
  2. Press the Power button + Volume up until the Mi logo appears.
  3. From the Recovery menu, select Connect with MIAssistant (use volume buttons for navigation and power for confirmation).
  4. Connect the cable – the phone will be determined in Fastboot mode, which will allow you to flash it through the Mi Flash Tool.

πŸ’‘

If Xiaomi doesn’t respond to the cable connection at all (there’s not even charging), the problem may be in the controller. USB. In this case, a diagnosis is required in the service center - self-repair is fraught with damage to the motherboard.

Features USB-modes on different models of Xiaomi

The manufacturer makes changes to the implementation USB-protocols depending on the model and version MIUI. Here are the key differences:

Model/SeriesFeatures of USBRecommendations
Xiaomi 13/13 Pro, 14 seriesSupport USB 3.2 Gen 1 (speeds up to 10 Gbps), but requires cable with an E-Marker chipUse the original cable from the kit or certified USB-C 3.2
Redmi Note 12, Poco X5There's no regime. MIDI, but USB OTG peripheralTo connect the keyboard / mouse, activate Settings β†’ Connection and sharing β†’ USB OTG
Xiaomi Pad 6By default, the mode is on. PTP Compatibility with tablet docking stationsTo transfer files manually switch to MTP notice-curtain
Redmi 10A, Poco M4Chipset MediaTek Helio G may conflict with Windows 11 driversInstall the drivers. MTK USB from the firmware archive or disable the driver signature verification
Xiaomi Mi 11 UltraSupport for DisplayPort Alt Mode USB-C (display)To activate, go to Settings β†’ Screen. β†’ Wireless display β†’ USB-display

On devices with MIUI for POCO (for example, Poco F5) path USB It may be different: Settings β†’ Additionally. β†’ Developer functions β†’ Configuration USB. Also on these models, Bootloader is unlocked by default, which simplifies firmware.

πŸ’‘

On Xiaomi with Android 13+ (for example, Xiaomi 13T) When you first connect to your PC, you may need to confirm via Mi Account. If you do not have an account, create it in advance in Settings. β†’ Accounts. β†’ Mi Account.

Safety: Risks in use USB-regimes

Activation of debugging by USB Connecting to untrusted computers is risky:

  • πŸ•΅οΈ Data breach: through ADB The attacker can copy photos, messages or passwords.
  • πŸ’£ Malware installation: Connecting to an infected PC can lead to automatic virus installation.
  • πŸ”“ Unlock the bootloader: on some models (Xiaomi) 12S Ultra) this voids the warranty.
  • πŸ”„ Resetting settings: incorrect commands ADB It can erase user data.

To minimize the risks:

  1. Use only trusted computers to connect in mode MTP/ADB.
  2. Turn off the debugging. USB after use (Settings) β†’ For developers β†’ Debugging by USB).
  3. Set up the lock. USB In Settings β†’ Security β†’ Lockdown USB (readily MIUI 13+).
  4. Regularly check the list of trusted computers in Settings β†’ For developers β†’ Withdraw debugging permits USB.

πŸ’‘

If you frequently connect Xiaomi to the public USB-port (e.g. airports), use a data blocker (USB-It blocks data transmission, leaving only charging.

⚠️ Attention: On devices with MIUI 14 and Android 13 (like Xiaomi 13 Lite) when connected to PC MTP You can automatically back up your data to Mi Cloud. To turn it off, go to Settings. β†’ Accounts. β†’ Mi Cloud β†’ Backup and deactivate the option Automatic backup when connected USB.

FAQ: Frequent questions about USB modes on Xiaomi

My Xiaomi is not defined on a MacBook. What do I do?
MacOS does not support MacOS MTP "Install the official Android File Transfer software from Google. If you can't see the phone anyway, switch to the mode. PTP (Update the notification curtain. MIUI Try alternative programs like OpenMTP or Commander One, and Linux requires you to install mtp-tools and gvfs-mtp.
How to turn it on USB-debugging if the screen crashes?
If the screen doesn't respond to touch, but the phone turns on: Connect Xiaomi to the PC via USB. Keep the Volume up. + Power 10 seconds to reboot in Fastboot. on PC open CMD and do: fastboot oem unlock (this will unlock Bootloader, but will erase all data!) After unlocking, run the device through the Mi Flash Tool with debugging enabled. If the phone doesn't turn on at all, you will need screen repair or use JTAG-equipment in the service center.
Can I include? MTP PC-free?
Yes, regime. MTP You can activate without a physical connection: Go to Settings β†’ For developers, find the configuration option. USB by default. MTP. Now, the next time you connect the cable, the mode will turn on automatically. Please note that some firmware (Xiaomi.EU) may not have this option.
Why After Updating MIUI slack-out USB?
It's a known problem. MIUI 13β†’14. After major updates, the system resets the developer settings.Solution: Re-activate Developer Mode (7 taps on Version) MIUI). Turn on Debugging. USB and Unlock. OEM. Connect your phone to your PC and confirm trust (always check boxes from this computer). If the developer option is gone, try resetting through Settings. β†’ System system β†’ Resetting settings β†’ Reset all settings (data will not be deleted).
How to check if it works USB-port?
If the phone is not responding to the cable: Try another cable and power supply (no accessory problem); connect to another device (e.g. power bank) - if charging is coming, the port is working. Turn on Developer Mode and check status USB In Settings β†’ For developers β†’ Status. USB. If the port is physically damaged (for example, after a fall), contact the service. USB-C on Xiaomi - 1500 to 3,500 β‚½. On some models (Redmi Note 10 Pro), the problem may be in the power controller, in which case the phone charges only when it is off.