How to properly disable USB-Xiaomi Redmi drive: all ways

Shutdown USB-Xiaomi Redmi's smartphone drive seems like a simple task, just take the flash drive out of the port. But improper extraction can lead to data loss, file system damage, or even drive failure. OTG (On-The-Go, where flash drives are used as full-fledged external drives.

In this article, we will discuss all the official and hidden ways to safely disconnect. USB-Redmi Note drive 10/11/12, Redmi 9/10 and other models under control MIUI 12โ€“14. You will learn why you canโ€™t just pull out the flash drive, how to check the completion of recording operations, and what to do if the device does not display the extract button.

Why can't you just pull out? USB-flash drive from Xiaomi

Many users are used to removing flash drives from their computers without first turning them off โ€” and often without consequences. But in the case of Xiaomi smartphones, the risks are higher for three reasons:

  • ๐Ÿ”„ Data caching: MIUI It's using a clipboard to speed up file operations, and if you pull out a flash drive while you write to a cache, some of the data may be lost.
  • ๐Ÿ“ฑ Background Processes: Applications (such as a gallery or file manager) can scan the drive in the background, even if you donโ€™t see active operations.
  • โšก Energy Conservation: On Some Firmware USB-The port is disabled when the screen is locked, which can interrupt unfinished operations.

In practice, this means that even if you don't see the record indicator, the system can still work with files, for example, when you copy photos from the gallery, MIUI Gallery first creates thumbnails and then transfers the originals - and it is dangerous to interrupt this process.

โš ๏ธ Note: On Redmi models with MediaTek chipset (e.g. Redmi) 9A or Redmi 10C) USB-port 4G. If you remove the flash drive during an active Internet connection, a modem failure may occur.

๐Ÿ“Š How often do you connect? USB-smartphone-drive?
Every day.
Several times a week
Nearby
Backup only.
Never.

Method 1: Standard shutdown through the notification panel

Xiaomiโ€™s most obvious and recommended method is to use a button in the notification bar, which works on all devices with MIUI 11 and later, including the Redmi Note 11 Pro+ and the POCO X3 Pro.

  1. Connect. USB-storage OTG-adapter (if required).
  2. Swipe down from the top edge of the screen to open the notification bar.
  3. Find a notification with text ยซUSB-Drive connected" or "External Diskยป.
  4. Slip on it - the menu will open with the button Extract or Safely Disable.
  5. Press the button and wait for the message โ€œCan be removed deviceโ€.

If no notice appears:

  • ๐Ÿ” Check if it is hidden in the Other Notifications section (swipe down the panel twice).
  • ๐Ÿ”„ Reconnect the flash drive โ€“ sometimes the system does not recognize it the first time.
  • ๐Ÿ“ฑ Make sure that in the settings โ†’ Connected devices โ†’ USB Selected โ€œFile Transferโ€ rather than โ€œChargingยป.

Make sure the record indicator (if any) doesn't flash

Close all applications that work with files on a flash drive

Wait for background operations to be completed (e.g. photo indexing)

Check the notification panel for active tasks with USB-->

Method 2: Disconnecting through System Settings

If the notification bar does not show the retrieval option (for example, due to MIUI customization or a crash), use system settings. This method is universal for all versions of MIUI, including Redmi 8 and older models.

  1. Open Settings (the gear icon on the main screen).
  2. Go to Connected Devices (on some firmwares โ€“ Additional โ†’ USB).
  3. Slip the name of your flash drive in the list of connected devices.
  4. Select Extract or Disable USB-accumulator.
  5. Confirm the action if a request appears.

On some firmware (e.g. MIUI 12.5 Enhanced), the path may be different:

Settings โ†’ System โ†’ Advanced settings โ†’ USB

โš ๏ธ Note: On a Redmi with root access or custom firmware (e.g., Pixel Experience), the system shutdown may not work. In this case, use method 4 (via ADB).

Xiaomi modelThe way USB-settingNotes
Redmi Note 10/11/12Settings โ†’ Connected devices โ†’ USBThe extract button appears immediately.
Redmi 9/9A/9CSettings โ†’ Additional โ†’ USBYou may need to restart after connecting
POCO X3/X4Settings โ†’ System โ†’ USBOn MIUI 13+, the button is hidden under โ€œMoreโ€
Redmi K40/K50Settings โ†’ Connections and Sharing โ†’ USBIt only works when files are transferred actively.

Method 3: Using the MIUI file manager

The built-in File Manager (the folder icon on the desktop) also allows you to safely disable USB-This method is useful if you are actively working with files and want to avoid unnecessary changes to the menu.

  1. Open the File Manager (or File Manager) application.
  2. At the top of the screen, find the tab ยซUSB-storage device or external storageยป.
  3. Tap the three-point menu (โ‹ฎ) top-right.
  4. Choose to Extract. USB-accumulator.
  5. Confirm the action if necessary.

If the tab with the flash drive is not displayed:

  • ๐Ÿ”„ Update the list of devices by pulling the screen down.
  • ๐Ÿ“ Check if the section is hidden in the manager settings (Settings) โ†’ Show hidden devices).
  • ๐Ÿ”Œ Reconnect. USB-Driver โ€“ sometimes the manager does not automatically update the list.

๐Ÿ’ก

If the file manager MIUI If you donโ€™t see the flash drive, try using third-party apps like Solid Explorer or FX File Manager. They often work better. OTG-device.

Method 4: Disconnect via ADB (for power users)

If standard methods do not work (for example, due to a system failure or custom firmware), you can turn off USB-The Android Debug Bridge Driver (ADB). This method requires a connection to the computer and the debugging mode enabled.

Warning: Incorrect ADB commands can disrupt the system, and use this method only if other options are not available.

  1. Connect your smartphone to your PC via USB (use the original cable).
  2. Enable USB Debugging Mode in the Developer Settings (Settings โ†’ About Phone โ†’ MIUI Version โ€“ tap 7 times, then go back to Additional โ†’ For Developers).
  3. Open the command line (Windows) or terminal (macOS/Linux) and type:
adb devices

(Make sure your device is listed.)

adb shell sm list-volumes

(Look for the line with your flash drive in the output, usually marked as removable or usb.)

adb shell sm unmount /mnt/media_rw/[ID_ your flash drive

Replace. [ID_your flash drive to a real identifier from the previous command (for example, 1234-5678).

After completing the command, wait for the message Volume unmounted successfully - now the flash drive can be removed.

โš ๏ธ Note: On some Xiaomi firmware, the sm unmount command may not work due to SELinux limitations:

adb shell umount /mnt/media_rw/[ID_ your flash drive
What if ADB canโ€™t see the flash drive?
If the sm list-volumes command does not show your USB-storage, try it: 1. Reconnect the flash drive and repeat the command. 2. Use adb shell ls /dev/block โ€” Sometimes devices appear in the list of block devices as sda1 vold. 3. Check if access to storage is blocked via adb shell dumpsys deviceidle (on some firmware) MIUI USB-devices are turned off when simple).

Method 5: Physical shutdown (extreme case)

If none of the above methods worked (for example, the smartphone is getting stuck or does not respond to touch), you can remove the flash drive forcibly, but with minimal risk.

  1. Make sure there are no active data indicators on the screen (e.g. copy progress bar).
  2. Close all applications that could work with the flash drive (gallery, video player, file manager).
  3. If the smartphone reacts to touch, transfer it to air mode - it will interrupt the background processes.
  4. Take it out carefully. USB-the drive, holding the adapter (do not pull the cord!).

After forced extraction:

  • ๐Ÿ” Check the flash drive on another device (PC or laptop) for errors.
  • ๐Ÿ› ๏ธ If files are not opened, use utilities like CHKDSK (Windows or fsck (Linux/macOS).
  • ๐Ÿ“ฑ Reboot your smartphone โ€“ it will reset the cache USB-subsystem.

๐Ÿ’ก

Forced extraction USB-So even if your smartphone doesn't respond, try rebooting it with a flash drive first, which is safer than pulling it out on a hot flash drive.

Frequent problems and their solutions

When working with USB-Xiaomi Redmi drives are common mistakes, here's how to fix them:

Problem.Possible causeDecision
The "Extract" button is inactiveBackground processes use a flash driveClose all applications, restart the smartphone
The flash drive does not appear in the settingsIncorrect USB mode (such as โ€œchargingโ€)Switch to Settings โ†’ USB โ†’ File Transfer
Error "Device is occupied" when disconnectedMIUI scans files for viruses or creates thumbnailsTurn off Real-time Protection in Security Settings
The flash drive is defined as โ€œdamagedโ€The wrong extraction last timeFormat it on PC in FAT32 or exFAT

If your flash drive has stopped being detected after extraction:

  1. Connect it to your computer and check it through Disk Utility (macOS) or Disk Disk Utility (Windows).
  2. If the partition becomes โ€œRAWโ€, use data recovery software (TestDisk, R-Studio).
  3. For prevention, format the flash drive in exFAT โ€“ this format works better with Xiaomi on Android 11+.
Can we extract? USB-storage device during file copying?
No, it's going to cause data loss or file corruption. Wait until the operation is completed -- in MIUI, copy progress is displayed in the notification bar. If the indicator is gone but the Remove button is not active yet, wait 10-15 seconds -- the system can overwrite the cache.
Why after removing the flash drive, the smartphone stops seeing others USB-device?
This is a known problem with some Redmi models (e.g. Redmi Note 8 Pro) and is caused by a USB controller failure. Solutions: Reboot your smartphone. Clear the Settings app cache (Settings โ†’ Applications โ†’ Settings โ†’ Settings โ†’ Clear cache). If the problem repeats, roll back to an older version of MIUI or update your firmware.
How to disable automatic mounting USB-accumulator MIUI?
MIUI By default, it installs all connected USB-To turn this off: Install ADB Adb shell settings put global settings usb_mass_storage_enabled 0 After that, the flash drives will not be mounted automatically, but you will be able to connect them manually through the file manager.
Can I use it? USB-The storage device as an internal memory on Xiaomi?
Technically, yes, but Xiaomi does not officially support the Adoptable Storage feature available in pure Android. Alternatives: Use a flash drive to store media files (photos, videos, music). Install custom firmware (like LineageOS) where this function works. Transfer applications to the flash drive manually through Settings โ†’ Annexes โ†’ [Select an application] โ†’ Warehouse โ†’ Change (not all apps support this mode).
Why Xiaomi doesnโ€™t see a 64GB flash drive?
Chances are your flash drive is formatted in NTFS or HFS+. Xiaomi (like most Android devices) supports only: FAT32 - compatible with all devices, but limited to files up to 4 GB. exFAT is the optimal choice for flash drives over 64 GB (supports files >4 GB). Reformat the drive to PC in exFAT and reconnect.