How to Use a Flash Drive as Your Main Memory on Xiaomi: The Complete Guide

Are you tired of constantly notifying you about memory shortages on your Xiaomi? Even after cleaning the cache and removing unnecessary applications, there is a catastrophic lack of free space? USB-This is a flash drive into the main drive, expanding the internal memory of the smartphone, a technology called Adoptable Storage, and is available on most Android 6.0 devices.+, including Redmi smartphones, POCO mi.

But there are some nuances: not all flash drives will work, and the setup process requires attention to detail. In this article, we will discuss how to choose the right drive, prepare your smartphone, activate external memory as internal memory and avoid typical errors. You will also learn which Xiaomi models support this feature and which do not, and what to do if the system refuses to format the flash drive.

Now, the important thing to understand is that once you convert the flash drive into the main memory, it can't be simply removed, it will become an integral part of the system, but all the apps, photos and files will automatically be saved to it, freeing up the internal memory. Ready to start?

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

Adoptable Storage is an Android feature that allows you to use external drives (USB-A flash drive or a memory card is part of the internal memory of the device, and the system encrypts the data on the flash drive and links it to a particular smartphone:

  • πŸ“± The flash drive becomes non-removable – it can not be easily removed without losing data.
  • πŸ”’ All data on it is encrypted and available only on this device.
  • πŸ“ Applications and files are automatically saved to a flash drive if the internal memory is not enough.
  • ⚑ The speed depends on the class of the flash drive - the higher it is, the faster the system will work.

On Xiaomi smartphones with MIUI shell, this feature works with some limitations. For example, devices with MIUI 12+ may need to manually enable via ADB, since the option is hidden in the settings. It is also important to consider that not all models support Adoptable Storage - for example, flagships of the Mi 11 series and later can block this feature due to security policy.

How does it work technically? When you format a flash drive in internal memory, Android creates an ext4 or f2fs partition on it, which is mounted as part of the system. All data (including the app cache) is distributed between the internal memory and the flash drive transparently to the user.

⚠️ Attention: If the flash drive fails or is removed, some applications may stop working and the system will start to give errors!

πŸ“Š How much memory is in your Xiaomi?
Up to 32GB.
32-64 GB
64–128 GB
More than 128GB

What flash drives are suitable for use as a primary memory

Not every flash drive will work for the main drive. To avoid brakes and errors, pay attention to the following parameters:

ParameterRecommended valueWhy is it important?
Interface.USB 3.0/3.1 Type-C or MicroUSB OTG (for older models)USB 2.0 is too slow to work as a main memory – applications will slow down.
Class speedUHS-I (U1/U3) or A1/A2A1/A2 class flash drives are optimized for random access, which is critical for applications to run.
Volume.From 32 GB to 256 GBLess than 32GB is less space for applications, more than 256GB may not be supported by MIUI.
Form factorUSB-C (for new models or microUSB with OTG-adapterAdapters can warm up and lose speed, it is better to use a native connector.

The best options for Xiaomi:

  • πŸ₯‡ Samsung Fit Plus 128GB (USB 3.1, A2) β€” Optimal price-speed ratio.
  • πŸ₯ˆ SanDisk Ultra Dual Drive (USB-C, A1) β€” handy two-way flash drive for new smartphones.
  • πŸ₯‰ Kingston DataTraveler Max (USB 3.2, U3) β€” High speed reading/writing, but more expensive.

Avoid cheap no-name flash drives, which often have low real capacity and low speed. Check reviews on AliExpress or Amazon before buying, especially pay attention to speed tests (you can use the A1 SD Bench app after buying).

πŸ’‘

Before buying a flash drive, check whether your Xiaomi OTG supports. To do this, connect any flash drive through an adapter - if the smartphone sees it, then the function works.

Preparation of Xiaomi smartphone to connect the flash drive as memory

Before you format a flash drive, you need to prepare a smartphone. Here's a step-by-step plan:

  1. Update MIUI to the latest version. Go to Settings β†’ About Phone β†’ Update and install all available updates. Older versions of MIUI (below 11) may have bugs with Adoptable Storage.

It is also recommended that:

  • πŸ”‹ Charge your smartphone by at least 50% – the formatting process can take 10–30 minutes.
  • πŸ“± Make a backup copy of the data - after converting the flash drive, all files on it will be erased.
  • πŸ”Œ Use Xiaomi’s original cable – cheap cables may not provide stable connectivity.

⚠️ Note: Some models (e.g. Redmi Note 10 Pro) may not be able to connect the flash drive as a removable drive after activation of Adoptable Storage.

β˜‘οΈ Xiaomi Preparing for Memory Expansion

Done: 0 / 5

Step-by-step: how to make a flash drive the main memory

Now, the most important thing is to convert the flash drive to primary memory, which is suitable for most Xiaomi smartphones on Android 6.0-13 (including MIUI 12/13/14).

Step 1. Connect the flash drive.

Insert the flash drive into the adapter (if necessary) and connect to the smartphone. Wait for the notification of the new device. If the notification does not appear, check the connection in Settings β†’ Storage.

Step 2: Formatting as an internal memory

Open Settings β†’ Storage, find your flash drive in the list and click on it. Select Settings (or Additional) β†’ Format as internal. If this item is not available, read the ADB section below.

Step 3: Confirmation and Waiting

The system will warn you that all the data on the flash drive will be erased, confirm the action and wait until the process is completed (it can take up to 30 minutes), after which the smartphone will restart.

Step 4: Data Transfer (optional)

After rebooting, you can transfer some of the data from the internal memory to the flash drive. To do this, go to Settings β†’ Storage β†’ Data Transfer and select what you want to move (photo, video, applications).

If there is no internal format, MIUI has hidden the option, and ADB will help:

adb shell sm set-force-adoptable true


adb shell sm partition disk:179,64 private

Where 179.64 is your flash drive ID (you can find it by adb shell sm list-disks command) and after the instructions are executed, the flash drive will be formatted as internal memory.

What to do if ADB is not working?
If teams ADB Do not execute, check: 1. If the drivers are installed correctly (use Mi). PC Suite). 2. Is debugging enabled USB in the developer settings. 3. Is the smartphone connected in the "File Transfer" mode" (MTP). 4. Try another one. USB-cable (preferably original from Xiaomi).

Frequent problems and their solutions

Even if you do everything according to the instructions, you can get complicated.

Problem.Possible causeDecision
The flash drive is undetectable.Faulty adapter, cable or connectorTry another cable/adapter. Check the connector for contamination.
There is no "Formation as an Internal" clause.MIUI has hidden the option or the smartphone does not support Adoptable StorageUse ADB (see the instructions above) or check the model for compatibility.
The smartphone slows down after connectingSlow flash drive (USB 2.0 or low class)Replace the flash drive with a USB 3.0/A2 model.
Apps are not installed on a flash driveLack of space in the system sectionClear the cache or transfer applications manually to Settings β†’ Apps.

A few more nuances:

  • πŸ”„ If the flash drive is not mounted after formatting, try restarting the smartphone in safe mode (click the power button). β†’ "Restarting in Safe Mode").
  • πŸ“‰ If the free space on the flash drive is not displayed, check it in Settings. β†’ Warehouse β†’ Sometimes the system hides the partition.
  • πŸ”§ Some firmware (e.g. custom) may require manual mounting through TWRP.

⚠️ Note: If you use Xiaomi with an unlocked bootloader and custom firmware, Adoptable Storage may not work stable, in which case it is better to use the flash drive as a removable drive or install firmware with support f2fs.

How to Cancel Using a Flash Drive as Your Main Memory

If you decide to return everything back (for example, the flash drive began to slow down or you want to remove it), you can do this in two ways:

Method 1. Through the MIUI settings

  1. Go to Settings. β†’ Warehouse.
  2. Find your flash drive in the list and click on it.
  3. Select Format as Removable (or Disable).
  4. Confirm the action – all data on the flash drive will be erased!

Method 2. via ADB (if the first method does not work)

adb shell sm forget disk:179,64

Where 179.64 is your flash drive ID (recognize it by adb shell sm list-disks) and when it is executed, it will become a normal removable drive, but all data on it will be deleted.

Important: Once Adoptable Storage is cancelled, some apps may stop working if they've been installed on a USB drive, and then they'll have to be reinstalled.

πŸ’‘

Before you cancel the use of the flash drive as the main memory, make a backup of important data – after formatting, they will be irretrievably deleted!

Alternative ways to expand memory on Xiaomi

If Adoptable Storage is not suitable (for example, you have a flagship model where this feature is disabled), consider alternatives:

  • πŸ“ Transfer of applications to SD-Card (if there is a slot): In Settings β†’ Applications can be manually transferred to a memory card, but not all applications support this mode.

For owners of POCO F3, Redmi K40 and other models without a microSD slot, the best option is a USB-C flash drive with support for OTG. For example, SanDisk Ultra Dual Drive Luxe allows you to quickly transfer files between your smartphone and your computer.

If you’re critically short of memory but Adoptable Storage doesn’t work, consider buying a smartphone with a lot of internal memory. It’s cheaper on Xiaomi than buying a high-speed flash drive.

FAQ: Answers to Frequent Questions

Can I use Adoptable Storage on Xiaomi with custom firmware?
Yes, but with reservations. On firmware like LineageOS or Pixel Experience, the function is more stable than on MIUI. However, before installing the firmware, make sure it supports f2fs or ext4 for external drives. You may also need to manually mount through TWRP.
Why after connecting the flash drive as a memory, the smartphone began to slow down?
You’re probably using a slow drive (class below A1 or USB 2.0 interface). Replace it with a USB 3.0/A2 model. Brakes can also be caused by multiple apps running from the flash drive at the same time β€” try to transfer only media files to it and leave the apps in the internal memory.
Can I remove a flash drive formatted as internal memory and connect it to another phone?
No. The data on the flash drive is encrypted and linked to a particular device, if you connect it to another smartphone, it will suggest formatting the drive, which will lead to loss of all data, except if the second smartphone has the same Android ID (which is unlikely).
How to transfer applications to the flash drive after connecting it as the main memory?
In most cases, the system distributes applications between the internal memory and the flash drive. However, you can manually transfer them: Go to Settings β†’ Applications. Select the desired application. Click Storage β†’ Change β†’ Select a flash drive. Note that not all applications support portability (for example, system or copy protection).
Will Adoptable Storage work on Xiaomi with Android 14?
As of 2026, Google is not abandoning Adoptable Storage, but some manufacturers (including Xiaomi) may be blocking this feature on new models.On Android 14 with MIUI 15, the feature can be hidden or only work through ADB. Before buying a flash drive, check the reviews of your model owners on forums (for example, 4PDA or XDA Developers).