Xiaomi smartphone owners often face a lack of internal space, especially on budget models where the base memory is only 32 or 64 GB. Installing heavy games and social networks quickly fills the available space, which leads to a slowdown and inability to take new photos. The solution is the use of an external microSD card, which allows you to expand storage and offload the main partition.
However, the process of transferring data on devices with a shell MIUI or HyperOS has its own features and hidden settings. Standard means of the system to move the cache and executable files of programs is not always possible, because Android developers limit direct writing to external media for security. You will need to perform a number of specific actions to turn the flash drive into a full continuation of internal memory.
In this guide, we'll take you through all the available methods, from standard functions to the use of the engineering menu, learn how to format your drive correctly and the risks associated with changing system storage settings, and make sure you forget about the ever-lasting lack of gigabytes.
Preparation of memory card and smartphone for work
Before starting any manipulations, you need to make sure that your drive is serviceable and compatible with the device. Xiaomi smartphones support cards up to 256 GB and above, but for stable operation of applications it is better to use carriers of the Class 10 or UHS-I speed class. Slow cards can cause lags when running programs transferred to an external medium.
Put it in. SIM-A card or tray with a microSD in the appropriate slot of the device, the system must automatically identify the new storage and prompt it to be configured. If the notification does not appear, go to the settings menu. Find the partition responsible for managing disk space, usually in the About Phone category or allocated to a separate item.
⚠️ Warning: All formatting actions will completely destroy the data on the map. Copy important photos and documents in advance to your computer or cloud storage to avoid permanent loss of them.
Android requires a file system to work properly. Most often, the system will offer formatting in FAT32 or exFAT. The choice depends on the size of the card: for drives less than 32 GB, FAT32 is used, for more capacious ones - exFAT. If you plan to use the "Advanced Memory" feature, the system will choose the desired format and encrypt the partition.
☑️ Ready for transfer
The standard method of transfer through the MIUI settings
The MIUI shell provides a built-in file management tool that allows you to move some types of data. However, it is worth noting that standard means you can only transfer media files, documents and cache of individual applications, but not the executable files of programs.
In the conductor menu, look for "Memory" and it shows you the visualization of the occupied space with the internal drive and SD-Click on the "Clean up" or "Memory Management" button, and the system will analyze the files and suggest moving large objects, such as videos from a gallery or downloaded files from instant messengers, to an external medium.
To transfer the application cache, go to Settings → Annexes → All applications. Select the program you want, like a hard game or a navigation device. If the app supports portability, move to the button. SD-The map will be active. In modern versions of Android, this feature is often blocked by app developers, so the button may not be available.
Despite the limitations, regular cache cleaning and manual transfer of media files frees up a significant amount of space, which prevents critical filling of the system partition, which has a positive effect on the speed of the interface. Use the file manager to manually sort DCIM, Download and WhatsApp folders.
Use of the function "Memory Expansion"
Newer versions of HyperOS firmware and recent MIUI updates have introduced a long-awaited feature that allows internal and external memory to be combined into a single pool, a technology known as Adoptable Storage that makes the memory card part of the system partition, and once activated, applications will be installed automatically on the card as if it were built-in memory.
To activate this option, go to Settings → Memory Expansion (the path may vary depending on the model). The system will warn you about formatting the card. Once confirmed, a process will begin, which can take several minutes. Do not interrupt it or remove the card until it is completed.
What happens when you format?
After you turn the feature on the installation location selection menu when you download new games from Google Play or GetApps, an option will be available «SD-This is the most effective way to deal with space shortages, because it works at the file system level. But the speed of the applications will now depend on the speed of reading your flash drive.
Use only quality drives from proven brands like SanDisk, Samsung or Kingston. Cheap cards may not withstand the intense writing and reading characteristic of operating systems, leading to broken sectors and data loss.
| Parameter | Internal memory. | SD-card (Class 10) | SD-map (UHS-II) |
|---|---|---|---|
| Reading speed | up to 500 Mb/s | up to 90 Mb/s | up to 300 Mb/s |
| Recording speed | up to 400 Mb/s | up to 40 Mb/s | up to 200 Mb/s |
| Reliability | Tall. | Medium | Tall. |
| Impact on the system | Minimum | Possible lags | Noticeably only in heavy tasks |
Configure through the Engineering Menu and ADB
If the standard methods don’t work or the memory expansion function is hidden by the manufacturer, you can use more advanced tools, which require a connection to the computer and the installation of ADB drivers (Android Debug Bridge), which allows you to force the priority of installing applications.
First, activate the developer mode. Go to Settings → About Phone and quickly click 7 times on “MIUI Version.” After the message “You became a developer” appears, go back to the main settings menu and find the “Additional” → “Developers” section.
Turn on USB debugging. Connect your smartphone to your PC with a cable. On your computer, open the command line in the ADB folder and type in a command to check the connection:
adb devicesYou'll see a debugging permission request on your phone screen, which you need to confirm. Then use the command to change your storage settings. Type the following line to allow the default apps to be installed on an external medium:
adb shell pm setInstallLocation 2⚠️ Attention: Teams ADB Introducing incorrect parameters can lead to unstable operation of the operating system or cyclical restart of the device.
A value of 2 in the command indicates the priority of the external memory card. A value of 0 returns the default settings (automatic selection by the system), and 1 compulsorily installs applications only in internal memory. Changes take effect immediately, but may not apply to system applications.
Transfer of data messengers and social networks
The most demanding apps for space are often messaging apps like Telegram, WhatsApp and Viber, which store thousands of photos and videos that take up gigabytes of space, and unlike system applications, it is carried through the internal settings of the programs themselves, rather than through the Android menu.
In Telegram go to Settings → Data and memory → Memory usage. You can clear the cache here or change the way you save downloaded files. Select the "Save Path" option and specify the folder on your file. SD-Now all new media files will be downloaded directly to external media.
For WhatsApp, the procedure is a little more complicated, because the app is tightly tied to the internal folder structure. You'll need a file manager with permission to access the system folders. Find the Android/media/com.whatsapp folder and move its contents to the map, creating a similar structure there. However, once the application is updated, the folders can return to their place.
A more reliable way for WhatsApp to set up automatic backups in Google Drive, and manually migrate local databases once a week, which will make room for new messages and voice, and remember that moving data folders can disrupt applications if you don't keep the directory structure.
Cleaning junk files in these apps regularly significantly extends the life of your internal drive.Use the built-in cleaning tools in your chat settings to delete old files that have been sent many times.
💡
Use the chat Archivation feature in Telegram to save your correspondence history into a separate file on your memory card, freeing up space in the main application database.
Possible mistakes and ways to solve them
Users often encounter error messages during the setup process — «SD-This may indicate a physical card malfunction, file system incompatibility, or conflict of processes.
If the card is undetectable or unstable, try formatting it on your computer. Use SD Formatter to create a clean exFAT file system without unnecessary partitions. Then insert the card into the phone that is turned off and turn the device on.
Another problem is that applications stop working when you extract the card, which is normal when you use the memory extension function, because the executable files are physically on an external medium. To restore work, just put the card back in place or reinstall the applications in internal memory.
⚠️ Note: Do not remove the memory card while the applications that are on it are running, this is guaranteed to lead to the loss of unsaved data and possible damage to the program database.
There may also be a “Not enough memory” error, even if there is free space on the map, because any application requires temporary space in the internal memory to decompress files, and free up at least 500 MB on the system partition before installing.
Optimization of the system with external memory
Once the data is successfully transferred, it is important to ensure that the system is running smoothly. External memory cards have a limited resource of overwriting cycles. To extend the life of the drive, minimize the number of write operations.
Turn off indexing media files for folders with frequently changing content, creating an empty.nomedia file in them. This will prevent the gallery from constantly recounting the number of photos and videos, which reduces the load on the processor and memory.
Check the status of the card regularly. Connect your smartphone to your computer every few months and run an error check to help you identify broken sectors early and copy the data to a new medium in time.
💡
External memory is a great solution for storing media files, but for mission-critical applications and system processes, it is better to keep backup internal storage.
Compliance with these simple rules will allow you to effectively use the capabilities of the Android platform on Xiaomi devices. Proper file distribution will ensure the performance of the smartphone even with a large amount of installed information.