Modern multimedia apps and games take up a huge amount of space that is often depleted faster than expected by the device owner. Owners of Xiaomi, Redmi and POCO smartphones often face a lack of built-in storage, which leads to the inability to install updates or new programs. Fortunately, having an expansion slot allows you to use additional gigabytes for data storage, but the standard behavior of the Android system does not always use this resource effectively.
Combining a memory card with the internal memory of a Xiaomi phone is a process that turns an external drive into part of the system partition. SD-The map is an integral part of the device, allowing applications and data to be installed on it, but this method has its own technical features and risks that you need to know about before you start manipulating it.
In this article, we will discuss how to properly prepare the drive, what are the hidden features of MIUI and how to avoid losing important files. You will learn about the nuances of the file system and why standard methods may not work on your particular device.
Adoptable Storage on MIUI
The technology that allows you to combine external drives with internal drives is known in the Android environment as Adoptable Storage. Developers of the MIUI shell and HyperOS often hide this feature from users, leaving only portable storage mode. In portable mode, the card is used exclusively for photos, videos and music, but can not take on board system applications.
To activate a full-fledged connection, you need to reconfigure the system or use special commands. Without this step, the phone will only use the card as an add-on to media files, leaving the system partition crowded, and understanding this difference is critical to achieving the desired result.
There are several activation methods that depend on the Android version and the processor model. Some users resort to root rights, which gives full access to the file system but does not guarantee it; others use USB debugging and adb commands, which is more secure but requires a computer.
โ ๏ธ Note: The process of forced activation of Adoptable Storage can lead to unstable operation of the system if the memory card has a low write speed.
Why is Xiaomi hiding this feature?
Preparation of SD-card for formatting
Before any manipulations, you need to make sure the quality of the drive used. The read and write speed directly affects the performance of the smartphone, since after combining the system will work with the card as an internal memory. Using old or slow cards of the C10 class and below can cause lags and freezes.
Make sure to back up all the data on the map. The process of combining involves full formatting, which will destroy all current information without the possibility of recovery through the basket.
Put the card in the slot of the device and wait for it to be determined, check if the phone sees the drive in the settings menu, if the card is detected with errors or requires repair, the process of combining can not be done.
- ๐ฑ Make sure the card is inserted correctly and the contact areas are clean.
- ๐พ Check the real size of the map with the help of test programs on the PC.
- ๐ Unlock the smartphone screen to access system notifications.
๐ก
Use UHS-I or UHS-II memory cards from trusted brands like Samsung or SanDisk for maximum compatibility with Xiaomi controllers.
Activation through the Engineering Menu and ADB
The most reliable way to enable memory integration is to use the Android debugging bridge (ADB). This method does not require superuser rights, but necessitates a connection to your computer. SDK Tools on PC.
First, activate the developer mode on your phone. To do this, go to Settings โ About Phone and quickly click on the MIUI version seven times. After the message "You became a developer" appears, go to advanced settings and turn on "Debugging by USB".
Connect your phone to your computer with a cable and select File Transfer mode. Open the command line on your PC in the ADB folder and type in a command to check the connection. If it goes well, you'll see your device's serial number.
adb shell sm list-disksThis command will output the disk ID, which usually looks like disk:179.64. Remember or copy this number, it will be needed for the next formatting command, and this step triggers the process of converting the card into internal memory.
โ๏ธ Pre-command checks
Formatting and creating a section
Once you have the disk ID, you need to execute a command that formats the map and creates the necessary partitions. The system will suggest selecting the percentage to be allocated to the applications. It is recommended to allocate 100% or a close value if the card is used exclusively for expansion.
Enter the following command by substituting your disk ID: adb shell sm partition disk:XXX private 100. The process will take several minutes, during which the phone may behave unusually. The screen may go out or reboot - this is a normal reaction to restructuring the file system.
After the procedure is completed, a notification will appear in the storage settings that the card is formatted as internal memory, the system may suggest moving existing data and applications to a new volume, agree to a transfer to free the built-in module.
โ ๏ธ Attention: Interrupting the team formatting process ADB This can lead to complete loss of data on the map and the need for its re-marking.
It's important to understand that after this procedure, the card will be encrypted, which means that the encryption will bind it to a particular phone, insert it into another smartphone or read it through the card reader on a computer without special manipulation.
Default storage setting in MIUI
Once successfully combined, Android should automatically start using the new volume to install apps. However, Xiaomi's shell may retain old priorities. Check the storage settings to make sure the write path is changed correctly.
Go to Settings โ Memory. You should see a single space or you can clearly see that the map is integrated. In some versions of the firmware, you will see a "Use as internal memory" switch, which now needs to be active.
For cameras and voice recorders, it's also worth checking the individual settings. Often these apps have their own save priority. Go to the camera settings and select to save photos and videos on the camera. SD-card, if such option is available separately from the system.
Possible problems and ways to solve them
Despite the clear instructions, users may encounter errors, often due to file system incompatibility or damage to the map sector, and if the phone doesn't see the card after formatting, try formatting it back into portable storage mode through settings.
Another common problem is the slow interface, which happens when the memory card can't handle the operating system's data flow, so it's more reasonable to reclaim the card as a portable storage device and use it only for media.
If, after rebooting, the apps on the card stop running, check the connection integrity. Sometimes you need to re-enter the activation command if the failure occurred at the driver level. In extreme cases, a complete reset of the phone settings helps.
| Type of problem | Probable cause | Method of decision |
|---|---|---|
| Map not determined | Poor contact or format | Translate the map, wipe the contacts |
| Formatting error | Low card speed | Replace the card with Class 10 / UHS-I |
| Apps fly out | Damage to sectors | Checking the card for errors through PC |
| Brake the interface | Buffer overflow | Return the card to portable mode |
๐ก
The quality of the memory card is a determining factor in the stability of the smartphone after the combination of memory partitions.
Advantages and disadvantages of association
Adoptable Storage has obvious advantages, the main one being the ability to install heavy games and programs, you will no longer receive notifications about space shortages, but there is also a downside to performance and data security.
On the one hand, you get a single space, which makes it easier to manage files, on the other hand, you lose the portability of the memory card, you can't quickly transfer the photo to another phone just by pulling out the card, because the data will be encrypted.
Also, you should consider the wear of the memory card. Constant writing and reading of system files accelerate the production of resource. SD-Unlike internal memory, external drives have a lower limit of overwriting cycles, which can cause them to fail after a year or two of active use.
โ ๏ธ Warning: When selling a phone or resetting your settings, be sure to remove the memory card or unformat it, otherwise the new owner will not be able to read the data.