Xiaomi and Redmi smartphone owners often face a shortage of internal storage, especially in budget models, where the storage capacity is limited to 32 or 64 gigabytes. Built-in memory is filled instantly: after installing a pair of social networks, messengers and a navigator, the system begins to warn about a critical level of free space, which slows down the operating system and prevents you from updating the necessary programs.
Fortunately, most devices support microSD cards, which theoretically solve the gigabyte problem. However, the standard MIUI shell (or its new version of HyperOS) by default prohibits installing applications on an external drive, allowing only photos, music and documents to be stored there, users have to look for workarounds to make the gadget work with the card as a full partition of memory.
In this article, we will discuss the technical details of the Android file system, explain why manufacturers block this feature, and provide step-by-step instructions for activating it. ADB-commands to force data transfer and the risks of such modification, it is important to understand that interference with system settings requires careful and accurate follow-up of the algorithm of actions.
Why Android does not allow you to install programs SD-map
Since Android 6.0, Google has introduced Adoptable Storage, which allows you to combine internal memory and card into a single space. However, many manufacturers, including Xiaomi, have abandoned this feature in their firmware. The main limitation lies in the difference in read and write speeds: modern embedded drives work much faster than budget memory cards.
Allowing heavy applications to be installed on a slow flash drive will cause interface brakes, long game loads, and unstable background processes. The system tries to protect the user from creating a bottleneck that would turn even a powerful processor into a slow device, which is why you wonβt find a switch in the standard settings menu to change the default installation location.
β οΈ Warning: Forced transfer of system applications to a low-end memory card can lead to permanent smartphone freezes and data loss. Use only Class 10 or high-speed drives UHS-I.
In addition, the memory card file system is less reliable for constantly overwriting the application cache. Frequent write and read cycles wear down the memory cell life faster, which can cause the drive to suddenly fail. Android prefers to store executable files on a more stable internal module.
Preparation of memory card and smartphone for work
Before you start software manipulation, you need to properly prepare the physical media. Not every card is suitable for emulating internal memory. For comfortable work, it is recommended to use drives from 32 GB with high write speed. Cheap cards from Chinese markets often have understated characteristics and may not cope with the load.
Insert the card into your Redmi or Xiaomi slot. The system will suggest you choose the mode of use: as portable storage or as internal memory. In newer versions of MIUI, the second option is often hidden or absent. If the system offers to format the card, agree, but remember that all data will be deleted.
βοΈ Verification of readiness for modification
After formatting, check if the file manager sees the new partition. If the map is correctly defined, you can proceed to debugging, which is a critical step without which further action is impossible.
Activation of the developer mode and debugging via USB
To make changes to system settings, you need to get advanced permissions through the developer menu. This hidden section allows you to manage deep Android settings. To activate it, go to Settings β About Phone and find the MIUI version.
Click the version number seven times in a row at a fast pace. After a few clicks, a notification will appear about how much is left before activation. When the mode is turned on, a new section will appear in the settings menu Additional β For developers.
Inside this menu, find the USB Debugging option and activate it. The system will issue a security risk alert β confirm the action. It is also recommended to turn on the item Do not turn off the screen when connecting via USB, so that the process does not interrupt due to the transition to sleep mode.
What to do if the item does not appear?
Now your smartphone is ready to connect to your computer. When you first connect, you'll see a request for debugging permission on your phone screen -- make sure you tick Always Allow and press OK.
ADB Method: Forced Application Moving
The most reliable way to get around the MIUI limitation is to use the Android Debug Bridge (ADB) utility, which allows you to send commands directly to the operating system without going through the GUI, you'll need a Windows, Mac or Linux computer and a USB cable.
Download and install the minimum ADB package on your PC. Connect your smartphone with a cable. Open the command prompt (CMD) in the utility folder and enter the connection verification command:
adb devicesIf a device has been listed, the connection is established. Now, we'll enter a command that will make the system consider the memory card as the primary storage for new applications.
adb shell pm set-install-location 2Here, 2 is the priority of the external card. 0 is the automatic choice, and 1 is the forced internal memory. Once you have the command, restart your smartphone.
π‘
The pm set-install-location 2 command does not carry already installed applications, it changes the installation location only for new programs downloaded from Google Play.
Note that this method does not work on all versions of Android, and in the newer security updates, Google could block this command without root permissions, which would require a more complex procedure to change the file system settings.
Comparison of memory expansion methods on Xiaomi
There are several approaches to solving space shortages, and each has its own characteristics, depending on your technical background and firmware version. Below is a table comparing the main methods.
| Method | Difficulty | Risk of data loss | Stability of work |
|---|---|---|---|
| Standard storage | Low. | No. | Tall. |
| ADB (pm team) | Medium | Low. | Medium |
| Root rights + Link2SD | Tall. | High-pitched | Low. |
| Virtual memory | Medium | Medium. | Depends on the card. |
Using Root rights gives maximum control by allowing you to create links to system folders, but this voids the warranty and can disrupt the operation of banking applications. Standard methods through ADB are safer, but less functional.
If you're not confident, you might want to limit yourself to cache cleaning and moving media files to the cloud, and experimenting with system partitions always poses a potential threat to data integrity.
Manual transfer of already installed applications
Even after you change your installation priority, the old apps will remain in internal memory. You need to move them manually through the system settings. Go to Settings β Applications β All applications.
Select the desired program (for example, a heavy game or a navigator). If transfer is possible, the menu will activate the button Move or Change (storage location). Press it and select the SD memory card.
But many of Google's system applications and services don't have a button, because they're critical to the OS. They can't be ported, and they shouldn't be. Focus on user-generated content: games, social media, photo editors.
β οΈ Warning: After transferring the application to the memory card, the widget on the desktop may stop functioning. Remove the old widget and add it again from the widget menu.
The transfer process can take anywhere from seconds to minutes, depending on the size of the application and the speed of the card.Do not remove the drive during operation, so as not to damage the configuration files.
Frequent problems and ways to solve them
Users often experience a situation where the application stops launching or crashes immediately after opening, which may mean that the memory card is unstable or has a low response rate, in which case, try to return the application to internal memory.
Another common problem is the disappearance of widgets or the inability to receive notifications from portable programs. Android can βsleepβ processes located on an external medium to save energy. To fix this, go to the battery settings and remove restrictions for specific applications.
π‘
If the application is slow after transfer, try formatting the memory card through the Extended Memory menu (if available) or using a PC with the SD Formatter program for deep cleaning.
And it's also worth remembering that when you remove the memory card, all the portable applications will become unavailable. If you plan to change the cards often, this method will not work. It's better to use the card as a static storage extension that will not be retrieved unless absolutely necessary.