Xiaomi smartphone owners often face a shortage of internal memory, especially on low-end and mid-range models. MIUI or HyperOS takes up a significant portion of storage, leaving the user with limited space to install programs and media. When the free space runs out, the device starts to run slower, and new applications stop being installed, which causes a natural annoyance.
Fortunately, most Xiaomi models support memory expansion via microSD cards. However, the standard Android system and the MIUI shell by default do not allow you to simply transfer application executables to an external drive for security and stability reasons. This limitation can be circumvented, but the process requires understanding the file system architecture and using specific tools.
In this guide, we will discuss all available methods, from standard settings for multimedia to advanced methods using the ADB command line for full program transfer. You will learn how to turn a regular flash drive into part of the system partition, what risks this entails and how to avoid data loss if you misuse the drive.
Features of memory in MIUI and HyperOS
Xiaomiβs MIUI has its own file management features, and unlike pure Android, it has additional security mechanisms that block applications from writing data to arbitrary locations, separating memory into internal and external storage, with the former always prioritizing software installation.
When you insert a memory card, Xiaomi defaults to use it as a portable storage device, which allows you to store photos, videos, music and documents on the flash drive, but system applications cannot be moved there, so that deleting the card does not lead to system failure or loss of important settings of messengers.
There is also the Adoptable Storage mode, which was popular in early Android versions.In modern versions of MIUI, this feature is often hidden or completely removed by manufacturers.However, the technical possibility of integration remains, but requires manual intervention through debugging over USB.
It's important to understand that the speed of a memory card directly affects the performance of a smartphone, and if you use a cheap card with a low speed class, the applications that are ported to it can run longer than usual or run with delays.
Preparation of SD-card and smartphone for work
Before you start any manipulation, you need to make sure that your equipment is ready to work. Not every memory card is suitable for storing active applications. It is recommended to use UHS-I or UHS-II cards with a speed class of at least 10 (Class 10).
First, insert the card into the smartphone slot. Xiaomi will suggest formatting the drive. If there is important data on the card, copy it to your computer in advance, as formatting will destroy all information. Select the "Use as a portable storage" option at this stage to keep the card readable on other devices.
β οΈ Warning: Before starting work, be sure to back up important data. Any partition operations carry the risk of information loss in case of power failures or file system errors.
Then activate the developer mode. Go to Settings β About Phone and quickly press 7 times on the MIUI Version (or OS Version). After the notification "You became a developer" go to the advanced settings.
In the menu Additional β For developers, find the Debugging by USB and turn it on. It is also worth checking the presence of the item "Do not turn off the screen when charging" and activate it so that the process does not interrupt due to the transition to sleep mode.
ADB Method: Forced Application Transfer
The most effective way to get Xiaomi to download applications SD-Map - Use of Android Debug Bridge (ADB). This method allows you to change the global system variable, which indicates the default path for installing new programs.
First, download and install ADB drivers on your computer. Connect your smartphone with a cable to your PC. In the command line (or terminal) on your computer, type a command to check the connection:
adb devicesYou'll see a request for debugging permission on your phone screen, confirm it. If the console displays the serial number of the device, the connection is successful. Now you type in a command that changes the installation policy:
adb shell pm set-install-location 2Here, 2 is a forced installation on an external storage, 0 is the default automatic selection, and 1 is the internal memory only, and after the command is completed, all new applications will try to install on the map.
βοΈ Pre-launch checks ADB
It's worth noting that this method doesn't work for all applications, and some developers explicitly forbid installing their programs on external media through the application manifest, in which case the system will ignore the command and install the program in internal memory.
Alternative methods and storage settings
If you can't use a computer, you can try changing the default settings for specific file types. This won't carry the applications themselves, but will make room for them to install. Go to Settings β Memory and select a memory card.
In the map menu, find "Use by default" or "Save data." Here you can specify that the camera photos, screenshots and downloads should be saved to the user. SD-This will indirectly help in the fight for space.
Some Xiaomi models with MediaTek or Snapdragon processors have launcher applications or utilities (like App2SD) that try to get around the systemβs limitations, but their performance on newer versions of Android (11, 12, 13, 14) is extremely low due to the enhanced Scoped Storage protection.
| Parameter | Internal memory. | SD-map (Portative) | SD-map (Internal map) |
|---|---|---|---|
| Reading speed | High (UFS 2.1/3.1) | Medium (depending on the map) | Medium (depending on the map) |
| Portability | No. | Yes (any PC/Phone) | No (just this phone) |
| Risk of data loss | Low. | Medium. | High on extraction |
| Xiaomi support | Complete. | Complete. | Limited/Hidden |
Using cloud storage like Google Photos or Xiaomi Cloud also helps to offload memory.Tune automatically synchronize the gallery, followed by deleting local copies.
Why Xiaomi is hiding Adoptable Storage feature
Possible problems and solutions
Users may encounter a number of difficulties in migrating applications, the most common being the βApp not installedβ error or the endless download, which often occurs if the cardβs file system is damaged or the card has a low write speed.
Another problem is that widgets disappear or portable applications fail after rebooting, which is because Android loads external drives later than system partitions. SD-cards, it may give an error.
β οΈ Warning: Do not remove the memory card while the smartphone is on, if it is ported applications, this is guaranteed to lead to the collapse of programs and possible loss of data inside them.
If the ADB command still puts applications in internal memory, check the manifest of a particular application. Some system services Google and Xiaomi require that you only place them in internal storage to properly work push notifications.
It is also possible that the memory card is formatted in the exFAT file system, which is not always properly supported for installing applications. FAT32 or ext4 (The latter is possible only when the card is fully converted to internal storage).
π‘
Use utilities like SD Maid or Files by Google to analyze which files take up the most space. Often, the messenger cache (Telegram, WhatsApp) grows to gigabytes and is safer to clean than to carry apps.
Optimization and maintenance after the transfer
After successful data transfer, it is important to regularly maintain the memory card, file fragmentation on microSD is faster than on internal drives, periodically (every 1-2 months) it is recommended to copy the data to the PC, format the card and return the files back.
Watch the temperature of the device. Active recording and reading from the memory card can cause additional heating of the smartphone, especially in thin cases. If the phone starts to warm, take a break from work.
Check the integrity of the data. Run error checks once a quarter through the Settings menu. β Memory. β SD-map β This will help identify broken sectors before they cause the loss of important applications.
π‘
Transfer of applications to SD-The card is a trade-off between memory and speed. For heavy gaming and social media, it's better to leave space in your internal memory and move less demanding utilities to the map.
Final recommendations on the use of
To sum up, it is possible to say that migrating applications to Xiaomi is a solvable task, but it requires caution. ADB-The best results for teams are not guaranteed in the event of software failures.
You don't have to fill up the memory card to the point. For the file system to work properly and the recording speed, you have to leave around the corner. 10-15% The overflowing map will be extremely slow.
If your budget allows, the best solution is to buy a smartphone with a large amount of internal memory or use cloud technology to store media files, leaving internal memory exclusively for applications.