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.
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.
- Connect. USB-storage OTG-adapter (if required).
- Swipe down from the top edge of the screen to open the notification bar.
- Find a notification with text ยซUSB-Drive connected" or "External Diskยป.
- Slip on it - the menu will open with the button Extract or Safely Disable.
- 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.
- Open Settings (the gear icon on the main screen).
- Go to Connected Devices (on some firmwares โ Additional โ USB).
- Slip the name of your flash drive in the list of connected devices.
- Select Extract or Disable USB-accumulator.
- 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 model | The way USB-setting | Notes |
|---|---|---|
| Redmi Note 10/11/12 | Settings โ Connected devices โ USB | The extract button appears immediately. |
| Redmi 9/9A/9C | Settings โ Additional โ USB | You may need to restart after connecting |
| POCO X3/X4 | Settings โ System โ USB | On MIUI 13+, the button is hidden under โMoreโ |
| Redmi K40/K50 | Settings โ Connections and Sharing โ USB | It 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.
- Open the File Manager (or File Manager) application.
- At the top of the screen, find the tab ยซUSB-storage device or external storageยป.
- Tap the three-point menu (โฎ) top-right.
- Choose to Extract. USB-accumulator.
- 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.
- Connect your smartphone to your PC via USB (use the original cable).
- Enable USB Debugging Mode in the Developer Settings (Settings โ About Phone โ MIUI Version โ tap 7 times, then go back to Additional โ For Developers).
- 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 driveReplace. [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 driveWhat if ADB canโt see the flash drive?
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.
- Make sure there are no active data indicators on the screen (e.g. copy progress bar).
- Close all applications that could work with the flash drive (gallery, video player, file manager).
- If the smartphone reacts to touch, transfer it to air mode - it will interrupt the background processes.
- 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 cause | Decision |
|---|---|---|
| The "Extract" button is inactive | Background processes use a flash drive | Close all applications, restart the smartphone |
| The flash drive does not appear in the settings | Incorrect USB mode (such as โchargingโ) | Switch to Settings โ USB โ File Transfer |
| Error "Device is occupied" when disconnected | MIUI scans files for viruses or creates thumbnails | Turn off Real-time Protection in Security Settings |
| The flash drive is defined as โdamagedโ | The wrong extraction last time | Format it on PC in FAT32 or exFAT |
If your flash drive has stopped being detected after extraction:
- Connect it to your computer and check it through Disk Utility (macOS) or Disk Disk Utility (Windows).
- If the partition becomes โRAWโ, use data recovery software (TestDisk, R-Studio).
- For prevention, format the flash drive in exFAT โ this format works better with Xiaomi on Android 11+.