Modern Xiaomi smartphones, despite the impressive amount of internal memory in the top models, often face a lack of space among users of the middle segment. Internal storage is quickly filled with heavy games, messengers with gigabytes of media files and social network cache. In this situation, the only logical solution is to use a microSD card, but standard installation of programs does not always allow you to automatically use an external drive.
Many users mistakenly believe that it is enough to insert a flash drive, and the system itself will suggest to optimize the space. In fact, the shell MIUI or HyperOS has its own features of working with the file system, which require manual intervention for full functioning. Application portability is not just copying files, but changing the structure of access to data, which requires a clear understanding of the processes.
In this material we will analyze all available ways to expand the functionality of memory, starting from the standard system tools and ending with advanced methods using the system. ADB-You will learn why some programs refuse to move, how to turn the card into a full-fledged extension of the system and what risks such an upgrade carries for the stability of the device.
Preparation of a memory card and smartphone
Before you start any manipulation of system files and storage, you need to make sure the quality of the media used. Cheap memory cards of nameless brands often have a low write speed, which will lead to slowing the interface and hanging of applications running from them. It is recommended to use UHS-I or UHS-II cards from trusted manufacturers such as Samsung, SanDisk or Kingston.
It is also important to check the physical condition of the SIM card tray and the flash drive itself. If there is oxidation or contamination on the contacts, the system may not correctly determine the volume or not see the drive at all. Before installing the card on the smartphone, it is better to format the card on a computer in the FAT32 or exFAT file system, although the final formatting will still produce the phone itself.
β οΈ Attention! All data on the memory card will be permanently deleted in preparation for use as a system storage. Be sure to back up important photos and documents to your computer or the cloud.
The preparation process includes not only physical installation, but also software verification. Make sure that the smartphone is debugging over USB if you plan to use advanced porting methods. For ordinary users, a standard settings menu will be enough, which is activated immediately after a new media is discovered.
βοΈ Pre-testing
Standard method of transfer through MIUI settings
The easiest and safest way for every Xiaomi owner to use is to use the built-in shell functionality. Once the card is installed, the system usually suggests using it, but if that doesn't happen, go to Settings β About Phone β Storage. This shows detailed memory usage statistics and available actions.
The storage menu must be selected from yours. SD-The system will offer two uses: as a portable storage or as an internal storage, and to migrate applications, it is critical to choose the second option, if it is available on your firmware version. In new versions of HyperOS, this feature may be hidden or missing, which requires alternative solutions.
If the "Use as internal storage" function is active, the system will combine the space, and you can select the installation location in the settings of each application. However, it is worth remembering that the speed of programs depends on the speed of reading the map. Even a fast flash drive is often inferior to the built-in memory such as UFS 3.1, so it is better to leave heavy games on the built-in disk.
Why can a button be gray?
Use of Adoptable Storage
Adoptable Storage technology, introduced in Android 6.0, allows the system to perceive the memory card as an integral part of internal storage. On Xiaomi devices, this feature is often limited to the manufacturer, but in many models it is hidden in the engineering menu or available through special commands.
In some versions of MIUI, the hidden function requires a command to be entered through the console or a hidden test menu, and when activated, the system will prompt the card to be formatted to create a new file structure on it, and all data, photos, and applications will be saved to an external medium by default, freeing the internal buffer.
But there's a big drawback to this method: you can't just take out the flash drive and paste it into another phone or computer to read data without losing information. The card becomes unique to the smartphone, and formatting it on another device will result in a complete cleanup.
| Parameter | Portable storage | Internal storage (Adoptable) |
|---|---|---|
| Access to PC | Direct access to files | A smartphone is required |
| Portability of applications | Partially or impossible | Full support |
| Security | Data is not encrypted. | Full encryption |
| Speed of operation | Depends on the card. | Depends on the card (risk of lag) |
Transfer through ADB-Teams for Advanced Users
If the GUI doesnβt provide the right options, Android Debug Bridge comes to the rescue (ADB). This tool allows you to send direct commands to the system without the limitations of the shell, USB-cable and installed drivers ADB. First, you need to start debugging the USB on the Developer Menu.
Once you connect your smartphone to your PC, open the command line and enter the command to check the connection: adb devices. If the device appears in the list, you can proceed to force the portability of applications. the adb shell pm setInstallLocation 2 command sets the default installation priority to external drives.
adb shell pm setInstallLocation 2It's important to understand that 2 stands for "external storage," 0 stands for "automatic," and 1 stands for "internal storage." Once you've completed the command, reboot your device. Now, when you install new applications, the system will try to put them on the map, unless the developer has banned it from the application manifest.
π‘
Use the ADB AppControl graphics shell or similar programs for Windows if you find the command line too complicated and confusing.
Limitations and problems with transfer
Despite all efforts, you may find that the port button remains inactive, due to Android security policies and application developersβ decisions, and critical system services, desktop widgets, and some banking applications cannot be moved because they require instant access to high-speed memory.
Another common problem is data desynchronization: If the memory card is removed or damaged, applications transferred to it will stop running, and their shortcuts may disappear from the desktop, the system will give errors "Application not installed" or require reconfiguration.
β οΈ Attention! Do not remove the memory card while the smartphone is running if active applications are ported to it. This can damage the program database and lose progress in games.
Also worth considering is the wear and tear of the memory card: the constant recording and reading of data that are characteristic of the operation of applications (cache, logs, saves) wear out the flash memory of the card much faster than simple storage of photos. Cheap cards can fail after several months of active use in application mode.
Cache Cleaning and Post-Transfer Optimization
After successfully migrating some applications, a preventive cleanup is recommended. Even on a new map, fragmented files may appear that slow down the work. Use the built-in Cleanup tool in Xiaomi's Security app to delete temporary files.
For deeper optimization, you can manually clear the cache of heavy apps like Telegram, WhatsApp or Instagram. Go to Settings β Apps β All apps, select the right one and click Clear Cache. This will free up additional space and speed up the launch of programs from the memory card.
Check the status of the card regularly through the storage menu, and if you notice a sharp drop in write speed or read errors, it may be time to replace the media with a more productive one, and the health of the drive is the key to the stable operation of the entire system after the modification.
π‘
Regular defragmentation is not required for Android memory cards, but periodic error checking through storage settings will help extend the life of the drive.