How to combine memory on Xiaomi: a complete guide to expanding storage

Owners of Xiaomi, Redmi and Poco smartphones often face a lack of free space to install applications, especially on models with basic memory configuration. Despite the development of cloud services, local storage remains critical for comfortable use of multimedia features and heavy games. Android provides mechanisms for managing files, but standard methods are not always obvious for the average user who wants to increase the usable volume.

Memory integration is a process that allows the system to perceive an external microSD card as an extension of the internal drive, which allows you to install applications on it, not only store photos. However, modern versions of the MIUI shell and HyperOS have their own features of implementing this feature, which must be considered before starting manipulation. In this guide, we will discuss current expansion methods, technical nuances and possible risks associated with data formatting.

Before we take action, it's important to understand that memory integration often involves completely formatting the card, causing all data on it to be permanently deleted. It's a fundamental step that changes the file system of the media, making it unreadable for other devices without re-formatting. So pre-backing up important documents, photos and videos is a must-have security requirement.

⚠️ Note: All of the operations described below to change the structure of the memory partitions can lead to data loss. Make sure that the memory card is healthy and the smartphone battery is charged at least 60% to avoid damage to the file system in the event of a sudden shutdown.

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

Known as Adoptable Storage, it was introduced into Android 6.0 and allowed users to integrate an external memory card into the overall internal storage structure, and when you activate this feature, the system encrypts the card and combines it with the main memory to create a single logical space.

However, Xiaomi in its MIUI shells and the new HyperOS often hides or completely removes the standard interface to enable this mode. This is done in order to ensure the stability of the device, since the speed of the microSD card is usually lower than the speed of the internal flash memory of UFS. Using a slow card as a system partition can lead to noticeable interface lags and long application loads.

Despite the interface limitations, the mechanism remains available at the core level, which means that under certain conditions, the smartphone can still work with the card as internal memory, but requires more fine-tuning or using specific scenarios, which we will discuss later.

📊 Do you use a memory card in your smartphone?
No, it's got the inside.
Yeah, just for photos and music.
Yeah, I'm trying to put apps on her.
The map is there, but it's not working.

There is also the concept of hybrid use, where some of the data is automatically transferred to an external medium, but the system continues to tightly control which components may be there, in most cases this applies only to the cache or heavy resources of games, but not the APK executable files themselves.

Preparation of memory card and smartphone for the combination

The quality and performance of the memory card play a crucial role in the success of the integration operation. Using a cheap low-speed card will cause the smartphone to run slowly and applications to respond to commands for a long time. For modern devices, Xiaomi recommends using Class 10, UHS-I or higher cards with a real write speed of at least 20-30 MB / s.

Before starting the process, you need to make sure that the card is physically healthy and has no file system errors. It is best to check on the computer using utilities such as H2testw or F3 to prevent the possibility of buying a fake with an understated volume. If the card is formatted into the system partition and then turns out to be a bit, data recovery will be almost impossible.

☑️ Preparation for memory expansion

Done: 0 / 4

It's also important to check the operating system version. On newer versions of Android 13 and 14, which are based on HyperOS, security policies have become stricter and some methods that worked on Android 10 or 11 may be blocked. Make sure the phone is enabled with USB debugging if you plan to use advanced methods of setting up through ADB.

⚠️ Warning: Don’t try to merge memory if there are important files on the card that have nowhere to copy. The process of formatting to internal memory mode will destroy the entire directory structure, and standard recovery tools may not be able to cope with encryption.

Standard Formatting Method as Internal Memory

In some regions and on certain versions of Xiaomi firmware, standard formatting is still possible. This method is the most secure and does not require a connection to a computer. First, insert the memory card into the smartphone slot and wait for the notification of the new drive. If there is no notification, go to the settings manually.

You need to open the settings menu, select About Phone or Advanced Settings, and then find Storage. From the list of available drives, select yours. SD-In the menu that opens, you should find the "Configure" or "Format" button, and the system will offer two use cases: "Portable storage" and "Internal storage».

Settings → About Phone → Storage → SD- Card → Set up → Internal Storage

The choice of the “Internal Storage” option will start the encryption and consolidation process, and once this procedure is completed, the system will offer to transfer existing data (photos, videos) to a new volume, which guarantees maximum compatibility, since it is controlled by the operating system itself without third-party interference.

Why is the “Internal Storage” option missing?
Manufacturers often hide this option so that users do not use slow memory cards, which leads to complaints about the brakes of the phone. MIUI/HyperOS Blocks this function at the interface level, requiring the use of ADB or third-party activation utilities.

Using ADB to activate hidden functions

If the standard menu does not offer to choose a card as internal memory, you can use the tool Android Debug Bridge (ADB). This method allows you to send commands directly to the system without the interface limitations. MIUI. You'll need a computer, USB-cable and installed drivers for your device.

First, turn on Developer Mode on your phone, and you need to quickly click on the build number in the About Phone section seven times. Then, in the Developer Menu, activate the USB Debugging option. Connect your smartphone to your PC and start the administrator command prompt.

Enter a command to check the connection:

adb devices

Once you confirm the connection on the phone screen, you need to know your card ID. Enter the command:

adb shell sm list-disks

The system will give you a list of disks, like disk:179.64. Remember this number, it's unique to your card. Next is a command that forcibly formats the card and combines it with memory:

adb shell sm partition disk:179,64 private 100

Private 100 tells the system to use 100% of the card volume for internal data, and once the command is executed, the phone can restart, and the storage will have an additional amount available for installing applications, which is the most effective method for devices where the option is hidden software.

💡

If the ADB team issues a “Permission denied” or “Not allowed” error, it’s possible that your Android version will block that request for security reasons, in which case try to execute the command immediately after you turn on your phone, before you download all of Google’s services.

Comparison of storage methods: Characteristics table

Understanding the difference between memory card modes helps you choose the best smartphone strategy, and here is a comparison of the main characteristics of different approaches to file system organization on Xiaomi devices.

CharacteristicsPortable storageInternal storage (Adoptable)Hybrid mode
Access from other devicesPossible (via adapter)Impossible (encryption)Partially possible.
Installation of applicationsRestricted or prohibitedFully availableOnly cache and data.
Speed of operationDepends on the card.Can reduce overall speedStable.
Security of dataLow (when losing your phone)High (device binding)Medium

As you can see from the table, the internal storage mode provides the best integration, but it doesn't allow the card to be mobile, you can't just move it to another phone or read the data, and it's a security fee and seamless integration into the file system.

Optimizing work after memory integration

After successful memory integration, a number of optimization steps are recommended: First, check where new files are saved by default, go to the camera settings and make sure that photos and videos are written to the new volume so that you do not overflow the fast but limited internal drive.

Second, look at the way widgets and live wallpaper work, and if they're located on a desktop that's now partially resides on a memory card, the animations might become less fluid, so it makes sense to move heavy widgets back to the main memory or to drop them in favor of static images.

It is also useful to defragment regularly (although this happens automatically on Android file systems, clearing the cache helps) and monitor the status of the card. SD-cards to notice the wear of memory cells in time, which, when used actively in system mode, happens faster than usual.

💡

Memory pairing turns a slow card into part of the system drive, so it is critical to use only high-speed memory cards from proven manufacturers so as not to slow down the entire smartphone.

Frequently Asked Questions (FAQ)

Can the card be returned to normal flash drive mode after the merger?
Yes, you have to reconnect your phone to your ADB computer, or use your storage settings, select a map, and click "Forget" or "Format," but all the data on the map will be deleted and it will become empty.
Why did the phone start to work slower after the merger?
The memory card used is likely to have a low read/write speed, system processes require high performance that cheap cards cannot provide, and it is recommended to replace the card with an A2-rated model.
Will this work on Android 14 and HyperOS?
On Android 14 and HyperOS, Google and Xiaomi have increased the restrictions. The standard method may not work, and ADB commands can be locked at the kernel level without root permissions, in which case the extension is only possible through manual transfer of these applications.
Will the bank’s applications work if the memory is combined?
Bank applications can respond to changes in memory structure or root rights (if they were used to activate), and in most cases, when using standard ADB without rooting, banking applications continue to work correctly.