Xiaomi smartphone owners know how quickly internal storage overflows, especially when installing modern games and resource-intensive applications. Built-in memory is often limited, and system files and messenger cache take up gigabytes, leaving little space for useful content. Fortunately, most models support memory expansion via microSD, but by default, the Android system and the MIUI shell or HyperOS do not allow programs to install there.
This restriction is made to ensure speed, since memory cards are slower than internal flash memory. SD-The map becomes a salvation. In this article, we'll look at all the ways that we can do that, from standard settings to advanced debugging techniques. USB, This will help you free up precious megabytes.
Not all applications are portable, but software developers decide whether to store their files on an external medium, and system components and critical services like Google Play or banking applications are often left on the internal drive for security and stability.
Why Xiaomi does not allow installation on a memory card
Xiaomi and Android have a policy of ensuring the systemβs maximum response speed. Smartphone internal memory uses the UFS protocol, which provides fast read and write speeds, while even fast microSD cards are slower, which can lead to slowing down heavy applications.
There is also a risk of data loss: If the memory card fails or is retrieved during the program, it can lead to the crash of the application or loss of saves in games, which is why Android 6.0 and higher limited the ability to write to external drives without special permissions.
However, functionality to expand storage exists. MIUI It allows you to use the card as an extension of internal memory for photos, videos and music, but blocks installation. APK-This is done to protect the user experience so that inexperienced users do not encounter slow operation of the device.
Technical limitations of the FUSE protocol
Preparation of memory card and smartphone for work
Before you start setting up, you need to make sure your hardware is ready to work with large amounts of data. A poor memory card can become a bottleneck for the entire system, negating all optimization efforts. It is recommended to use Class 10 or UHS-I and higher cards from proven brands like SanDisk or Samsung.
Insert a microSD into your Xiaomi or Redmi smartphone slot. If the device is already on, it will notify you of the new drive. It is important to format the card correctly right away. The system will offer two options: use as portable storage or as internal memory. For our purposes, while choosing portable storage, to keep the ability to transfer the card to other devices.
Check if USB debugging is enabled. This is hidden in the developer menu and is necessary for some methods to change the installation path. Without this step, many commands will not be executed by the system.
- π± Go to Settings. β About the phone and 7 times click on the build number MIUI.
- π§ Go to Settings. β Advanced settings β For developers.
- βοΈ Find the item "Debugging by" USBΒ» and activate the switch.
- πΎ Make sure the memory card is displayed in Settings β Memory and good.
βοΈ Checking system readiness
Staff method: configuration of storage in MIUI and HyperOS
The safest, though not always effective, way is to use the built-in shell features. Depending on the Android and MIUI versions, the algorithm of actions may vary slightly. First, try changing the default save location for media files, which will indirectly free up space for applications.
Open the standard Camera app, click on the three menu bars and select settings. Find Save to or similar and specify your SD-This will allow photos and videos to be immediately accessed by external media without taking up internal memory.
Check the bootloader settings. In Mi Browser or Chrome, you can also specify the way to save files in download settings. However, when installing the apps themselves (.apk) with the standard tools of the system, you often do not have the option to select a map when downloading from Google Play.
Some users try to use the "Move" feature in the application settings. Go to Settings β Annexes β All applications, select the desired program. If the button "Move to" SD-The card is active (not grey), you're lucky. Press it and wait until the process is complete.
π‘
If the Move button is inactive, it means that the app developer has banned the transfer, which can only be bypassed through ADB or by obtaining Root rights, which is a more complicated procedure.
Advanced Method: Using ADB Commands
For those who are not afraid of the command line, there is a method to change the global installation setting through Android Debug Bridge (ADB). This way you can force the system to consider an external card as the main storage for new applications. You will need a computer (Windows, macOS or Linux) and a cable. USB.
First, download and install Platform Tools (ADB) on your computer. Connect your smartphone with a cable, and in the window that appears on your phone screen, allow debugging from that computer. Open the command line or terminal in the folder with ADB.
Enter the command to check the connection: adb devices. If a device with device status appears on the list, you can continue. Next, enter the command to change the installation mode:
adb shell pm set-install-location 2Here, 2 stands for "external storage." 0 returns automatic selection by the system, and 1 returns only internal memory. Once you complete the command, restart your smartphone. Now, when you install new applications, the system will try to place them on the memory card, if the application manifest allows.
β οΈ Warning: Changing pm set-install-location can cause widgets and some system functions to work in an unstable way. If you notice strange interface behavior, return the value to 0 with the command adb shell pm set-install-location 0.
This method doesn't work on all versions of Android.In recent security updates, Google has limited the impact of this command, and it can be ignored for apps installed after changing the setting, or work only for a fraction of programs.
Method comparison and compatibility of Android versions
The effectiveness of the application port depends on the version of the operating system and the specific model of the Xiaomi smartphone. Below is a table showing what methods work on different versions of Android.
| Android version | Staff transfer | ADB (pm set-install-location) | Stability of work |
|---|---|---|---|
| Android 6.0 - 8.0 | Partially. | It works effectively. | Tall. |
| Android 9.0 - 10 | Limited. | It's not stable. | Medium |
| Android 11 - 12 | No. | Often ignored | Low. |
| Android 13 - 14 | No. | It's not working. | Critical |
As you can see from the table, on the current versions of Android 13 and 14, which are already coming to the flagship Xiaomi 13/14 and Redmi Note new series, old methods are losing their relevance.
Older devices are more fortunate: on MIUI 11 or 12, Android 9-based ADB teams are still doing wonders, but on HyperOS, memory protection mechanisms have been rewritten, and workarounds require deeper intervention.
Alternative solutions: cloud storage and optimization
If standard and advanced methods have not worked, consider alternative ways to free up space. Modern cloud services allow you to store photos and documents remotely, leaving only cache on the device. Google Photos or Mi Cloud can automatically upload media files and delete local copies of them.
Also effective is the use of lightweight versions of apps, and popular social networks have versions of Lite that take up significantly less space and consume less resources, such as Facebook Lite or Telegram X.
Remember to clean the messenger cache regularly. WhatsApp and Telegram can set up automatic cleaning of media files or limit the cache size in the settings of the application itself. This often frees up several gigabytes without the need to transfer programs.
- βοΈ Use Google One to automatically clean duplicate photos.
- ποΈ Delete the.thumbnails folder in the hidden gallery folders through the file manager.
- π¦ Remove unused apps that havenβt been used for more than 3 months.
- π Reinstall "heavy" apps to reset bloated cache.
β οΈ Warning: When you delete applications through settings, remember to tick the βDelete Dataβ box, otherwise the garbage will remain in memory. Do this only if you are sure that the saves will not be lost (they are often stored in the cloud).
Possible problems and ways to solve them
Users may experience errors during the setup process, and a common problem is that the application stops working after transferring to the map, which happens if the card read speed is not sufficient for the program to work, in which case the application is better returned to internal memory or replaced with a faster card.
Another problem is that widgets disappear after you reboot. SD-map, widget may stop updating. The solution is to abandon widgets for portable programs.
There may also be βNot enough memoryβ errors when updating apps through Google Play, even if there is space on the map, because the upgrade process requires temporary space in internal memory.
π‘
Memory card is a great solution for storing photos, videos and music, but for installing heavy loads. 3D-games and system applications are better to use the internal memory of the device to avoid lags.