Installation of applications SD-Map on Xiaomi: The Complete Guide

Xiaomi and Redmi smartphone owners often face a lack of built-in storage, especially in budget models with 32 or 64 GB of memory. The MIUI system on which these devices are based, by default, limits the ability to write data to an external drive, leaving it available only for multimedia files. However, there is a proven method to bypass these limitations and fully integrate the memory card into the system structure.

In this article, we will discuss in detail how to install applications on Xiaomi SD-You will learn about the nuances of the file system, the risks of data loss and how to activate hidden Android functions through the use of the system. ADB. Proper preparation of the drive is the key to stable operation of your smartphone without constant notifications about the shortage of space.

Before you start taking action, you need to understand the difference between the normal mode of the flash drive and the mode Adoptable Storage. In the standard state, the card is only a โ€œwarehouseโ€ for photos and videos, but can not store Telegram cache or game data. We will fix this, but warn immediately: the process requires care and adherence to the sequence of steps.

Preparation of SD-card and smartphone for work

The first step is to choose a high-quality drive. Old Class 4 or Class 6 cards are categorically not suitable for installing applications. The minimum required standard is Class 10, but for the comfortable operation of modern applications and games, it is better to use cards labeled UHS-I or UHS-II. Low read speed will lead to the fact that programs will run for a long time, and the system interface can slow down.

Make sure to back up all the important data on the memory card, which will be formatted during the setup process and all the information will be permanently deleted, and copy photos, documents and music to your computer or Google Drive cloud storage before you start the procedure.

โš ๏ธ Warning: Once formatted in internal memory mode, the card will be encrypted and tied to a particular smartphone, and you can't just insert it into another phone or computer to read data without re-formatting.

Make sure your device has USB debugging enabled. Go to Settings โ†’ About Phone and quickly click on MIUI Version seven times. After you have become a developer, go back to the main settings menu, find Advanced Settings โ†’ For Developers, and activate the USB Debugging Switch.

โ˜‘๏ธ Ready for installation

Done: 0 / 4

Activation of internal memory mode via ADB

Since the MIUI menu does not have a regular button โ€œUse as internal memoryโ€, we will need the help of a computer and Android Debug Bridge utility. Download platform-tools from the official Android developer site and unpack the archive into the root folder of the disk, for example, C:\adb, so that the path does not contain Cyrillic or spaces.

Connect your smartphone to your computer with a cable. On the device screen, you'll see a request for debugging permission -- check "Always Allow" and click "OK." Open the command line in the ADB folder (clamping Shift and right-clicking, select "Open PowerShell window" or "Command line") and enter the command to check the connection:

adb devices

If a device with a serial number appears on the list, it means that the connection is established. Now we need to know your memory card ID.

adb shell sm list-disks

And you'll get a list of disks, like disk:179.64. Write down this number, which is unique to each device and map. Next comes the critical step of partitioning, and we'll split the map so that part is left as files and part is system.

What to do if the team is not executed?
If the team returns an error, make sure that SIM-The card is not installed in a slot combined with SD (hybrid slot), or that the card is correctly defined by the system in the Settings section -> Warehouse.

Section markup and profiling

To split the map, we use the sm partition command, which requires disc and percentage of application space to be specified, and it is recommended that you don't give the map 100% of the volume to leave room for compatibility with other devices or in case of a failure.

Use the following design by replacing the disk:XXX,XX with your identifier:

adb shell sm partition disk:XXX,XX mixed 50

Here, 50 means that 50 percent of the card volume will be given to apps (Private) and the other 50 percent will be left to files (Public), and you can change that to 75 or 90 if you plan to store a lot of heavy games on your phone, and it takes a few minutes before the system notifies you have created a new storage profile.

โš ๏ธ Warning: Partitioning may damage the card file table. Do not disconnect the cable or turn off the smartphone until a successful completion message appears.

Once the command is successfully executed, restart your smartphone. Go to Settings โ†’ Memory. You should see that the amount of available memory has increased, and the card is displayed as part of internal storage, often marked โ€œEncryptedโ€ or simply as an additional volume.

๐Ÿ’ก

Mixed is safer than full formatting, as it keeps the ability to read media files on other devices if you later reformat the card.

Transfer of installed applications to the map

Even after activating internal memory, Android doesnโ€™t always automatically port all applications; some programs, especially Google and Xiaomi system services, will still take up space in the built-in storage, but user applications can be moved manually.

Go to Settings. โ†’ Annexes โ†’ All applications. Select the program you want (e.g., a heavy game or a navigator). If the developer hasn't banned portability, you'll see a memory or storage button. Inside this menu, you'll have the option to Change or Move to SD-map.

  • ๐Ÿ“ฑ Games: Take up the most space, their transfer is most effective for freeing up space.
  • ๐Ÿ“ธ Photo/video editors: often allow you to ask SD-map as a default location for saving projects.
  • ๐Ÿ’ฌ Messengers: in the settings of the application itself (for example, Telegram or WhatsApp) you can specify the way to save media files to an external drive.

Not all apps support this feature, but if the transfer button is missing or inactive, the developer has a hard-line path to install into internal memory, and it is almost impossible to circumvent this restriction without root rights, as this is a security requirement of the Android platform.

๐Ÿ“Š How much memory is your Xiaomi?
16-32GB
64-128GB
256GB
512 GB or more

Setup of the camera and messengers

Once the map is successfully integrated, you need to reconfigure the main memory consumers. The camera is the first candidate. Open the Camera app, click on the menu (three bars) and select the settings. SD-Now all the new photos and videos will be written directly to the external drive.

In the messenger Telegram the path changes through Settings โ†’ Data and memory โ†’ The way of preservation. SD-On WhatsApp, this option is in Settings. โ†’ chat โ†’ Backup of chats (for backups) and in media storage settings.

It's important to understand that old files saved before you change your settings will remain in internal memory. They will need to be moved manually through Files by Google or Files Explorer, select DCIM, Download, Bluetooth folders and drag them to the map.

๐Ÿ’ก

Use a file manager with the function of โ€œStorage Analyzerโ€ to quickly find the largest folders and files that occupy space in the internal module.

Possible problems and solutions

In the process of operation, there can be situations when the system stops seeing applications or the card is unstable, most often due to poor quality of the drive itself or damage to the file system. If the smartphone starts to slow down, try to remove the card, insert it into the PC through an adapter and check for errors with standard Windows tools.

Another common problem is that applications stop running after rebooting, which may mean that the card didn't have time to install before the system started, and that helps installing specialized wiring utilities, but that requires Root rights, which complicates the process and can disrupt banking applications.

If you see a message ยซSD-The map is corrupted" or "Formatting required," don't rush to agree to formatting if there's important data on the map. Try copying the information to your computer first. If the map isn't read anywhere, it may have physically failed.

Problem.Probable causeDecision
Applications not portableProhibition from developerCleaning the cache or removing the application
Brake the interfaceLow speed card (Class 4)Replacement of the card with UHS-I/UHS-II
Errors after the rebootFailure of partition mountingReformatting through ADB
Can't see the map.Bad contact or a burned controllerCleaning contacts or replacing a card

Frequently Asked Questions (FAQ)

Can I return the card to normal mode without losing data?
Unfortunately, no. To use the card as a regular drive on another device, you'll have to format it. All data, including the apps installed, will be deleted. Make sure to back up before you change mode.
Will it speed up my smartphone?
On the contrary, modern smartphonesโ€™ built-in memory (eMMC 5.1 or UFS 2.1/3.1) is faster than even the fastest microSD cards, and porting system applications to a map can slow down their launch.
Will it work on Android 12/13/14?
Yes, the Adoptable Storage engine is still in Android code, and manufacturers are only hiding it in the interface. The ADB commands described above are relevant to all versions of Android, including the latest ones.
Why is the card 100% space, even though the files are not very large?
This can be related to the file system or hidden system files, and check the cart in the gallery or file manager โ€“ deleted files can take up space until final cleanup.