How to combine phone memory and SD card on Xiaomi: the complete guide

The problem of built-in storage overflow is a familiar situation for many Xiaomi and Redmi smartphone owners: When the system reports that memory is full, the device starts to work slower and installing new applications becomes impossible. Users often look for a way to increase the available space using a microSD card, and the most radical solution seems to be a complete unification of partitions.

Android has a feature known as Adoptable Storage, which allows the system to perceive an external memory card as part of an internal drive, encrypting data and making it inseparable from a particular device, but in the shell of MIUI and the new HyperOS, this option is by default hidden from the eyes of the average user.

Before we start to manipulate complex system files, we need to understand the architecture of memory. Combination is not just moving folders, it's changing the logical structure of the file system. Combination is only possible in a software way through a computer system. ADB-commands, as the regular menu in the settings of Xiaomi for this is not provided.

What is Adoptable Storage and Why Xiaomi Hidden This Feature

Adoptable Storage technology was introduced in Android 6.0 and allowed the memory card to be formatted to become an extension of the system partition, after which all the data on the card is encrypted, and it becomes impossible to extract the card without losing data or re-formatting on another device.

Xiaomi, like many other manufacturers, has made the decision to hide this feature in its firmware, a desire to ensure that the system works smoothly, and cheap memory cards have low read and write speeds, which can lead to interface freezes, friezes, and even loss of system files if the OS tries to write critical data to a slow medium.

In addition, budget microSD cards have limited rewrite life, and running in partition mode quickly wears the card down, turning it into a useless piece of plastic, which is why the company's engineers recommend using external drives only for multimedia, not for installing applications.

⚠️ Warning: Forced activation of the memory unification function can lead to unstable smartphone operation, loss of data on the card and cancellation of warranty in case of software failures.

Despite the risks, advanced users often take this step to free up precious gigabytes of internal memory, and it’s important to understand that the success of the operation depends not only on the model of the phone, but also on the quality of the memory card itself.

Preparation of smartphone and memory card for formatting

If you are determined to merge the sections, the first step should be careful preparation. You will need a computer with Windows, macOS or Linux, and also a good one. USB-Without a PC, perform the procedure through ADB (Android Debug Bridge is not going to work.

Make sure to back up all the important data. In the process of formatting, all the information on the map will be destroyed without the possibility of recovery. Copy photos, contacts and documents to the cloud storage or to the computer hard drive.

Select a quality memory card. To work in the system partition mode, you need a UHS-I or UHS-II speed card with an Application Performance Class A1 or A2 rating. Using old Class 10 cards without an "A" mark will lead to severe braking of the phone.

β˜‘οΈ Preparation for memory consolidation

Done: 0 / 4

You also need to activate the developer mode on your Xiaomi. To do this, go to Settings β†’ About Phone and quickly click 7 times on the MIUI Version or OS Version. After the message β€œYou became a developer” appears, you can go to debugging settings.

Instructions for activation through ADB-team

The process of activating the hidden function is done through the command line on the computer. First, you need to download and install the Google USB Driver and Platform Tools drivers from the official Android developer site. Unpack the archive in a convenient folder.

Connect your smartphone to your computer with a cable. You'll see a request on your phone for permission to debug over USB -- check "Always Allow" and press "OK." Now you can go to input commands.

Open the command line in the ADB folder and type in the adb device command to make sure the computer sees the device. If it goes well, you'll see your phone's serial number. Next, you type in a command to call the formatting menu:

adb shell pm set-force-adoptable true

This command forces the system to consider any card inserted as potential internal storage, and then retrieve and paste the memory card again, or go to the storage settings.

πŸ’‘

If the command didn’t work the first time, try restarting the phone without turning off the cable and repeat typing the command in the terminal.

After you successfully execute the command, go to Settings β†’ Memory. The system should suggest formatting the map. Select the option "Use as internal storage" (Use as device memory). The system will warn you of slow operation - agree and wait for the process to be completed.

Alternative methods: transfer applications without root rights

If you're messing with the command line, you can use safer, if less efficient methods. In modern versions of Android and MIUI, it's possible to transfer some applications to a memory card by regular means, if the app developer has authorized it.

Go to Settings. β†’ Annexes β†’ All applications. Select the desired application (e.g., a heavy game or social network). If the feature is available, there will be a memory button or a storage button where you can select "Change" and move the application to the SD-map.

  • πŸ“± This method does not require a PC connection and is safe to guarantee.
  • πŸ“‰ Only part of the application (resources) is transferred, and the cache data often stays inside.
  • βš™οΈ Not all programs support this function, but the button may not be available.

Another option is to use the memory extension feature. Some Xiaomi models (e.g. Redmi Note 10 Pro, Xiaomi 11) have a built-in feature that takes a portion of the physical RAM and uses it as virtual memory. This does not integrate file storage, but helps the phone run faster when RAM is scarce.

You can also set up automatic saving of all new files to the card, and in the settings of the camera, voice recorder and file manager MIUI specify the path of saving to the external drive, which will free up internal memory for installing new programs.

πŸ“Š Do you use a memory card in your smartphone?
Yeah, all the time.
No, I have enough memory.
I used to, now I don't.
Music and photo only

Table: Comparison of memory expansion methods

To make it easier for you to choose the right option, let’s compare the basic ways to work with external storage on Xiaomi devices.

MethodDifficultyRisks.Efficiency
Regular transfer of applicationsLow.MinimumMedium
ADB (Adoptable Storage)Tall.Tall.Maximum
Keeping Media on SDLow.Absent.Low (file only)
Virtual RAMMediumMedium (memory wear and tear)High (for speed)

As you can see from the table, ADB is the best way to free up space, but it also requires the utmost care. The standard methods are safer, but they don't solve the problem.

Possible problems and ways to solve them

When combining memory, users often encounter errors "SD-Card damaged" or constant notifications of space shortages, despite the large volume of the card, indicating that the speed of writing the card does not cope with the requirements of the system.

If the phone is slow after formatting, try clearing the system cache. Go to Settings β†’ Advanced Settings β†’ Memory β†’ Cash and clear it. Disabling animations in the developer menu can also help.

⚠️ Note: If your smartphone is in a bootloop cycle after formatting the map, you will have to do a full reset (Wipe Data) via Recovery Mode, which will delete all data from the phone.

Sometimes the system stops seeing the apps installed on the card after rebooting, this is a MIUI bug, in which case it helps to reconnect the card through the storage settings menu or use the adb shell sm mount command with the disk ID.

How to find the disk ID for ADB commands?
Type in the command 'adb shell sm list-disks', and the system will give you a list of connected drives in disk:179.64 format, which is the code you need for the format and partition commands.

Active work with the external drive in the system partition mode increases the load on the memory controller, which can lead to heating of the case, especially in games or when shooting video in 4K.

Frequently Asked Questions (FAQ)

Can I combine memory on Xiaomi without a computer?
Unfortunately, no. Because the feature is hidden by shell developers, activation requires a PC connection and the use of ADB console commands. You can't do this through phone settings or third-party apps from the Play Market.
What happens if you take out the card after the merger?
If you take out the card, all the apps and data on it will be inaccessible, the system will assume that part of its internal memory is lost, and you will not be able to insert this card into another phone either, because the data is encrypted with the key of a particular device.
Does this method reduce the life of the memory card?
In internal storage mode, recording is constant and chaotic, regular maps are designed for sequential recording (photo, video), and this requires special high-resource maps.
Does it work on Android 13 and 14 in HyperOS?
The ADB commands are still valid for newer versions of Android, including 13 and 14. However, HyperOS may have changed the paths to some system files, but the set-force-adoptable command is still the main key to activating the feature.

πŸ’‘

Memory integration is a trade-off between volume and stability: Use only high-quality A2 cards and always have a backup of important data.

To sum up, Xiaomi memory integration is a powerful tool in the hands of a power user, which allows you to breathe new life into devices with a small amount of built-in storage, but if you are not sure about yourself, it is better to limit yourself to transferring media files and cleaning the cache, so as not to risk the health of the smartphone.