The problem of lack of internal memory is relevant for many owners of budget and mid-budget smartphones Xiaomi and Redmi, where storage is often limited to 64 or 128 gigabytes. Modern mobile applications are becoming more “heavy”, and the system partition is overgrown with cache, leaving the user less space for personal files. Standard cleaning procedure helps only temporarily, so transferring data to an external drive remains the only radical solution.
Owners of shell devices MIUI And the new HyperOS faces a limitation: the default system doesn't allow you to simply transfer an installed application to a memory card through a standard menu, which is done for security and stability, but there are proven methods to circumvent this restriction. In this article, we will discuss in detail how to turn SD-Map to fully expand internal memory using hidden Android features.
It is important to understand that the process requires care, as improper actions can lead to data loss or unstable operation of the gadget.We will consider both standard features and more advanced methods using debugging over USB. Backing up data before starting any manipulations is a mandatory step, which should not be neglected in any case.
Preparation of memory card and smartphone for work
Before you start to set up complex settings, you need to make sure that your equipment is ready for loads. The speed of the smartphone depends on the class of drive used, so old Class 4 or Class 6 cards can significantly slow down the start of programs. It is recommended to use memory cards format UHS-I or UHS-II 32GB.
Make sure that the card is not important data, because during the formatting process, all information will be irretrievably deleted. If there are files on the media, copy them to your computer or to the cloud storage. Also check the battery power of the smartphone - it should be at least 50% to avoid sudden shutdown during a critical formatting operation.
Insert the memory card into the slot of your Xiaomi Redmi device and wait for the notification of the successful mount. The system may suggest using the card as a portable storage - for now, agree, as we need to first make sure that it is healthy. Only after checking the integrity of the files can you move to system changes.
💡
Use memory cards from trusted brands like SanDisk or Samsung to avoid data loss and read errors in the future.
Support for Adoptable Storage
Since Android 6.0, Adoptable Storage has been introduced to allow you to combine an external card with internal memory. However, smartphone makers including Xiaomi often hide this feature in the user interface. To find out whether your particular device supports this feature at the kernel level, you will need to use a debugging menu.
To start, you need to activate the developer menu. Go to Settings → About the phone and quickly click 7 times on the MIUI version or OS version. After the message “You became a developer” you can proceed to the diagnosis.
Open the Settings menu → Advanced Settings → For developers, find “Show errors when booting” or search for settings by typing “adoptable.” If the system gives you a hidden switch, you’re lucky — the feature is available natively. In most cases, modern MIUI firmwares 12, 13, 14 and HyperOS do not have this switch, which requires alternative activation methods via ADB.
Activation of transfer via computer and ADB
The most reliable way to make Xiaomi recognize the memory card as internal is to use the command line ADB (Android Debug Bridge), which does not require root rights, but requires a computer running Windows, macOS or Linux. First, install ADB drivers on your PC by downloading them from the official Android Developer website.
Connect your smartphone to your computer through high-quality USB-In the developer menu on your phone, turn on the debugging. USB. On the computer, open the command line in the folder with installed ADB and enter a command to check the connection:
adb devicesYou'll see a request for debugging permission on your smartphone screen, confirm it. If the console displays the serial number of the device, the connection is successful. Now you'll enter a command that compulsorily turns on portable storage support:
adb shell pm set-install-location 2The value of "2" indicates the priority of the external card, "0" - the default system, "1" - only internal memory. SD-However, at this stage, the card can still be defined as portable, so you will need to format it through special utilities or menus if it appears.
☑️ Checking readiness ADB-team
Formatting a map as an internal memory
Once the hidden function is successfully activated through ADB, you need to format the memory card accordingly. In some versions of MIUI, after executing commands, a button "Format as internal" may appear in the storage menu. If it appears, just follow the instructions on the screen.
If the standard menu doesn’t offer formatting, you’ll need to use third-party management apps like Activity Launcher or dedicated partitioning utilities to run the hidden system activity com.android.settings.Settings$StorageSettings, which often hides the cherished formatting button.
In the formatting process, the system will create an encrypted partition on the map that only this smartphone can access. Encryption ensures that the card extracted will not be read on other devices without re-binding. Wait for the process to finish, which can take from 5 to 15 minutes depending on the volume of the drive.
What to do if the formatting is interrupted?
Transfer of installed applications and data
Once the card is formatted and combined with the internal memory, the system begins to perceive it as a whole. Now you can move applications. Go to Settings → Applications → All applications. Select the desired program from the list.
In the app menu, find Memory or Storage. If the function works correctly, it will either change or move to SD-Click it and confirm the action. The system automatically transfers the application files and its data to an external drive.
Not all apps support movement, but developers can prohibit installation of their products on external drives for security or performance reasons, and Xiaomi system applications are also best left unattended to avoid disrupting the stability of the shell.
| Type of application | Possibility of transfer | Impact on speed | Recommendation |
|---|---|---|---|
| Social media | Partial | Average. | Transfer media cache |
| Games (hard) | Tall. | Depends on the card. | Recommended for UHS cards |
| System services | Forbidden. | Critical | Leave it in your internal memory. |
| Office packages | Complete. | Low. | Can be moved |
💡
The transfer of heavy games and messengers frees up the most space, since they generate a huge amount of cache.
Possible problems and methods of solving them
Using a memory card as an internal memory card can lead to a number of specific problems, the most common of which is a slowdown in interface speed and a long run of applications, which occurs when the card reads well below the speed of the embedded memory eMMC or UFS.
Users may also experience read errors or sudden crashes of applications, and in such cases, it is recommended to check the health of the memory card using utilities such as SD Insight or A1 SD Bench. If tests show low speed or errors, the card is better to replace.
⚠️ Warning: When you reset your smartphone to factory settings, all data on the formatted internal map will be lost unless you first unmount it.
Another problem can be that the system displays one volume and the file manager another, which is treated by restarting the device or re-formatting the map through the storage menu.
⚠️ Note: Some Google Pay banking apps and services may refuse to work on devices where internal memory has been modified or replaced with a new one. SD-This is a sign of root rights.
Alternative ways to optimize memory
If formatting seems too risky or difficult, there are simpler ways to free up space, and first of all, you should pay attention to messengers like Telegram and WhatsApp, which have an automatic cache clearing feature in their settings, which can be set for, for example, 3 days or 1 week.
It also makes good use of cloud services. Xiaomi Gallery can automatically upload photos and videos to the Xiaomi Cloud or Google Photos cloud, making local copies, allowing you to store a media library of hundreds of gigabytes without taking up a single byte on the device.
Streaming services can be used to watch videos and listen to music instead of downloading files. The modern mobile Internet allows you to consume content online without loading the device’s memory with heavy files.