Combining flash drive with Xiaomi phone memory: full instruction

Xiaomi smartphone owners often face a shortage of internal memory, especially if a device from the budget line of Redmi or POCO with 32/64 GB on board. One effective solution is to combine an external microSD card with internal storage through the Adoptable Storage function. This mechanism, implemented in Android since version 6.0, allows you to expand the amount of available memory at the expense of a flash drive, but has its nuances on the MIUI firmware.

It is important to understand that once combined, the flash drive becomes an integral part of the system: it cannot be removed without losing data or resetting settings. In addition, not all Xiaomi models officially support this feature โ€“ in some cases, manual activation through ADB will be required. In this article, we will discuss all the current ways to combine memory, storage requirements, and possible risks and limitations.

What is Adoptable Storage and How Does it Work for Xiaomi?

Adoptable Storage is a technology proposed by Google in Android 6.0 Marshmallow that allows you to format an external drive (microSD or USB-OTG) as part of the device's internal memory.

  • ๐Ÿ“ The flash drive is encrypted and tied to a specific phone โ€“ it can not be used on other devices without formatting.
  • ๐Ÿ”„ Applications and their data can be automatically installed on an external drive (if the appropriate behavior in the settings is selected).
  • โš ๏ธ System speed may decrease if a slow microSD is used (class below). A1 or UHS-I).

On Xiaomi smartphones, this feature is often hidden or disabled by default.

  1. MIUI firmware is optimized to work with internal eMMC/UFS memory, which is much faster than even top-end microSDs.
  2. Risk of data loss when a flash drive is extracted or a system crash.
  3. Not all applications work correctly with external memory (especially games and services with protection against piracy).

๐Ÿ’ก

Before combining, check your microSD speed with the A1 SD Bench app โ€“ if your read/write scores are below 10MB/s, drop the idea: the system will slow down.

Requirements for a flash drive to combine with Xiaomi memory

Not every microSD is suitable for expanding internal memory.

ParameterMinimum valueRecommended value
Volume.8GB32 GB and higher (optimally 64โ€“128 GB)
Class speedClass 10 or UHS-IA1/A2 (for annexes)
File systemAny (to be formatted)exFAT or FAT32 (before formatting)
ManufacturerAnybody.Samsung EVO, SanDisk Ultra, Kingston Canvas

Critical note: flash drives with fake labeling (for example, "128 GB" at a price of 300 rubles) not only will not be suitable for combining, but can also disable the microSD slot in the phone. H2testw beforehand.

Also consider:

  • ๐Ÿ”‹ The combined drive will consume additional energy, which can reduce battery life by 5-15%.
  • ๐Ÿ”„ Once combined, it will not be used as a portable drive (for example, to transfer files to a PC).
  • ๐Ÿ“ฑ On some Xiaomi models (e.g. Redmi Note 10 Pro) the function is stable, and on others (e.g., Redmi Note 10 Pro, POCO X3 NFC) may require manual activation through ADB.
๐Ÿ“Š What microSD are you using in your Xiaomi?
Samsung EVO Plus
SanDisk Ultra
Kingston Canvas
Another mark.
I don't use it.

Method 1: Connecting through standard MIUI settings

On some Xiaomi models (mainly with MIUI 12 firmware and later), the memory merge function is available out of the box.

Insert the microSD into the phone slot (not through the phone) OTG-adapter)|

Backup the data from the flash drive (it will be formatted)|

Charge your phone at least 50% |

Connect to a stable Wi-Fi network (recommended)-->

Instructions:

  1. Open the Settings โ†’ Memory.
  2. Tap by the name of your microSD (for example, "SD-128GB card").
  3. In the upper right corner, press three dots (โ‹ฎ) and select Storage Settings.
  4. Choose Format as an internal memory.
  5. Confirm the action and wait until the process is completed (it can take up to 10 minutes).

If you don't format as internal memory, your model doesn't support the function through the GUI. Go to the ADB method.

What to do if the phone is stuck in the formatting stage?
If the process stalls at Format..." for more than 20 minutes: Force the phone to restart (press the power button for 10-15 seconds); remove the microSD and test it on a PC using SD Formatter. Retry it or use the method with ADB. If the problem recurs, the flash drive is faulty or incompatible.

Method 2: Manually combine via ADB (for all models)

If the standard method is not available, use the command line ADB (Android Debug Bridge), which works on most Xiaomi devices, but requires activation of the developer mode.

Step 1: Preparation:

  • ๐Ÿ“ฑ Enable Developer Mode: Go to Settings โ†’ About the phone and 7 times tap on the item Version MIUI.
  • ๐Ÿ”ง Back to Settings โ†’ Additionally. โ†’ For developers and activate debugging by USB.
  • ๐Ÿ’ป Install. ADB on PC (for example, through Googleโ€™s Platform Tools or Minimal) ADB and Fastboot).

Step 2: Connect and commands:

  1. Connect your phone to your PC through USB-cable (original!).
  2. In the command line (or PowerShell), do: Adb devices make sure your device appears in the list.
  3. Enter the command to verify the USB flash drive ID: adb shell sm list-disks Remember the value after the disk: (e.g. 179,128).
  4. Run the unification command (replace X,Y with your values): adb shell sm partition disk:X,Y private

Step 3: Completion:

  • ๐Ÿ“ฒ The phone will be notified about formatting โ€“ confirm it.
  • โณ Wait until it is completed (may take up to 15 minutes).
  • ๐Ÿ”„ Reset the device.

๐Ÿ’ก

Once combined via ADB, the flash drive will be formatted to a f2fs or ext4 file system, which improves performance but makes it unreadable on other devices.

How to transfer applications to a combined flash drive

Even after successful integration, not all applications will automatically move to an external drive to optimize memory usage:

Method 1: Through application settings:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Select the desired application and tap the Warehouse.
  3. Click Change and select SD-Card (if the option is active).

Method 2: Through ADB (for forced transfer):

adb shell pm move-package com.example.app android_external_storage

Replace com.example.app with the batch name of the app (you can find out through the App Inspector).

Limitations:

  • โŒ Google System Applications and Services Cannot Be Delayed.
  • โŒ Some games (such as Genshin Impact or PUBG Mobile Refuse to Work with External Memory.
  • โš ๏ธ After updating MIUI Apps can โ€œflyโ€ from the flash drive.

๐Ÿ’ก

Use AppMgr III (App 2 SD) to transfer supported applications to external memory.

Frequent problems and their solutions

When combining a flash drive with Xiaomi memory, users face typical errors.

โš ๏ธ Warning: If the phone starts to slow down after the combination, check the speed of microSD. Using a Class 4 or lower card leads to delays of up to 2-3 seconds when opening applications.

Problem.Possible causeDecision
The flash drive is not defined as internal memory.Incompatible model or firmwareTry the ADB method or upgrade MIUI
Apps are not installed on a flash driveIncorrect storage settingsGo to Settings. โ†’ Memory. โ†’ Preferred installation location and select SD-map
The phone overheats after the mergerIntensive use of slow microSDReplace the USB drive with a Class A2 model or roll back changes
The error is "Disk encrypted or corrupted."Failure in formattingFormat the USB flash drive on your PC in FAT32 and repeat the process

If files from the flash drive are missing after the merger:

  • ๐Ÿ” They are not deleted, but transferred to the folder. /Android/obb/ or /Android/data/ externally.
  • ๐Ÿ“‚ Use a file manager with root rights (for example, FX File Explorer for access to hidden directories.

How to cancel the union and return the flash drive to its original state

If you decide to abandon the extended memory, you can return the microSD to normal mode in two ways:

Method 1: Through MIUI settings:

  1. Go to Settings. โ†’ Memory.
  2. Slip on the combined flash drive and choose Format as portable.
  3. Confirm the action โ€“ all data will be deleted!

Method 2: ADB (if the first method is not available):

adb shell sm forget X,Y

Where X,Y is the disk identifier (you can find out the sm list-disks command).

โš ๏ธ Warning: After the cancellation of the combination, all data from the flash drive will be erased and the applications installed on it will cease to work. MIUI Backup or Titanium Backup (root required).

If the flash drive is not formatted:

  • ๐Ÿ› ๏ธ Connect it to your PC and use the utility SD Formatter with Full (Erase) option).
  • ๐Ÿ”ง If the card is not identified, check it on another device โ€“ it may have failed.
Can I combine a flash drive with memory on Xiaomi without losing data?
No. When combined with Adoptable Storage, the microSD is formatted and all data is erased. Pre-copy important files to your PC or cloud. The only exception is if you use a flash drive as a portable memory (FAT32/exFAT), but in this case it will not become part of internal storage.
Why do some applications not work after the merger?
Some programs (especially piracy-protected games or banking applications) block external memory for security reasons, and problems can arise from: Slow microSD (class below A1), limitations of MIUI firmware (for example, Redmi 9A has some features disabled), incompatibility with the f2fs file system (used when combined via ADB). Solution: transfer problematic applications back to internal memory or use the flash drive only to store media files.
Will the combined flash drive work on another Xiaomi phone?
No. Once combined with Adoptable Storage, the microSD is encrypted and linked to a particular device, and if you insert it into another smartphone, the system either: You won't see the flash drive, you'll suggest you format it (which will delete all the data), except if both phones are on the same MIUI firmware and have the same Xiaomi account, but even then you're not guaranteed to be able to work.
Can we unite? USB-storage device (through OTG) Xiaomi-inspired?
Technically yes, but with reservations: ๐Ÿ”Œ It will. OTG-supportive adapter UASP (high-speed). โšก The phone should be supported OTG and have enough charge (USB-storage devices consume a lot of energy). ๐Ÿ“ฑ Most Xiaomi models are connected by OTG It's disabled at the core level. Alternative: use it. USB-drive as a portable storage (without combining) or connect it to a PC to transfer files.
How to check if the flash drive is really combined with memory?
Open the Settings. โ†’ Memory and pay attention to: ๐Ÿ“Š Memory usage schedule: The combined flash drive will be displayed as part of the internal memory. ๐Ÿ” The Warehouse section should have one line with the total volume (for example, "128 GB 256 GB"). ๐Ÿ“ In the file manager, the path to the flash drive will begin with /storage/emulated/0/ (not /storage/XXXX-XXXX/). You can also use the command adb shell df โ€“ the combined flash drive will be displayed as /data or /mnt/expand/XXXX.