How to make a memory card the main one on Xiaomi: the complete guide

Xiaomi and Redmi smartphone owners often face a shortage of internal storage, especially on budget models with 32 or 64 gigabytes. Built-in memory is quickly filled with system updates, messenger cache and heavy applications, which leads to slowdown of the device and the inability to install new programs. The only effective solution in this situation is to use a microSD card as the main drive.

Modern shell MIUI, The newer version of HyperOS has its own external drive features, and standard settings offer only basic media movement, but full integration requires a deeper setup. In this guide, we will discuss all available methods, including hidden developer functions and working with the developer. ADB-team.

You can't expect your phone to run faster if you use slow, low-end storage. Write and read speeds directly affect how fast you interface and start apps. The right card selection and setup will make your budget smartphone a full-fledged multimedia center without constant notifications about space shortages.

Choosing the right memory card for a smartphone

The first step to successfully integrating an external drive is to choose the right media, and many users make the mistake of buying cheap maps from unknown brands, resulting in data loss and Android system failures. Use as extended memory requires high rates of random read and write speeds.

Note the Class 10, U3 or V30 markings on the card case, which guarantee a minimum write speed of 10-30 MB/s, which is critical for high-resolution applications and video shooting. Maps labeled A1 or A2 are optimized to run programs and provide better performance when working with many small files.

It is recommended to choose products from trusted manufacturers such as Samsung, SanDisk or Kingston, avoiding counterfeits from marketplaces.The card size should match your needs, but remember that the Android file system may not work properly with drives larger than 256 GB on older smartphone models.

  • πŸš€ Look for the markings. A1 or A2 for better application performance
  • πŸ’Ύ Minimum recommended volume – 64 GB for comfortable use
  • ⚑ Standard UHS-I It provides sufficient speed for most tasks.
  • πŸ›‘οΈ Buy only from official dealers to avoid counterfeiting.

⚠️ Attention: Using cheap memory cards without overwriting protection can lead to the rapid loss of all photos and documents.

After purchase, you need to check the real speed of the drive with the help of specialized utilities, such as SD Insight or A1 SD Bench. If the indicators are significantly lower than the declared by the manufacturer, the card is better to return to the store, as it is not suitable for use as a system partition.

Basic configuration and formatting in MIUI

Once the card is installed in the smartphone slot, the system will automatically prompt it to be set up. At this point, it is important to choose the right mode of use to avoid problems in the future. The standard MIUI offer usually boils down to using the drive as a portable storage device, which limits its functionality.

To get started, go to Settings β†’ About Phone β†’ Storage. Here you will see information about occupied and vacant space. If the map is correctly defined, the system will offer two options: use as a portable medium or as internal storage. The second option is often hidden or unavailable without additional actions.

The formatting process cleans the card completely, so save all the important files to your computer or the cloud in advance, create the necessary file system and encrypt the data by linking the card to a particular device, and then transfer the card to another phone without re-formatting.

β˜‘οΈ Pre-formatting verification

Done: 0 / 4

In some versions of the firmware, the memory pooling function is hidden. If you don't see the option of using the card as internal memory, try the following path: Settings β†’ Advanced Settings β†’ For developers. There may be a clause that allows forced formatting.

Activate Adoptable Storage Mode via ADB

If standard methods fail to activate the internal memory expansion, you can use the ADB debugging tool (Android Debug Bridge), which requires connecting the smartphone to the computer and having basic command line skills, but gives you full control over the file system.

To start, you need to enable USB debugging in the Developer Menu. Then connect the phone to your PC with a cable and open the command line in the ADB tool folder. Enter the adb device command to check the connection and confirm the debugging permission on the smartphone screen.

adb shell sm list-disks

This command will show your memory card ID (e.g., disk:179.64) and remember or copy this number, as it will be needed for the next command to turn the card into internal memory.

adb shell sm partition disk:179,64 private

Once the command is executed, the system will overwrite the structure of the map partitions, a notification will appear in the storage menu about the need to migrate data, which can take a long time depending on the amount of information being transferred.

  • πŸ’» A computer with drivers installed is required ADB
  • πŸ”Œ Use the original. USB-stable-connection
  • πŸ”‹ Do not turn off the phone during the process.
  • ⏳ The process can take anywhere from 10 to 60 minutes.

⚠️ Warning: sm partition completely destroys the data on the card. Make sure you choose the correct disk ID so that you don't format your phone's internal memory by mistake.

If you succeed in the storage settings, you can move applications and data, and if the command issues an error, it's possible that the device manufacturer has blocked this function at the kernel level, and you can't get around this restriction without flashing it.

Transfer of applications and system data

Once the map is successfully formatted into internal memory, the migration phase begins, and Android allows you to transfer not only photos and music, but also the apps themselves, as well as their cache. NAND-storage.

To manage the transfer, go to Settings β†’ Applications β†’ All applications. Select the desired application, click on Memory and select Move. The availability of this feature depends on the developer of the specific application: some system programs and banking services may not allow movement.

Special attention should be paid to messengers like Telegram and WhatsApp, which take up gigabytes of space, and in the settings of the applications themselves, you can specify the way to save downloaded files to the memory card, which will prevent overflow of the system partition in the future.

Why can't some apps be moved?
Application developers may not install on external drives for security or stability reasons, and widgets and services that run in the background may not function properly when placed on the device. SD-The card, because the response speed is lower than that of the internal memory.

Use the Cleanup function in the storage menu to delete residual files. After transferring heavy games and graphics editors, you will notice that the space in the internal storage has increased, and notifications about the memory shortage have disappeared.

Setup of cameras and multimedia

The main consumer of space in a smartphone is photos and videos. Xiaomi’s camera by default saves pictures in internal memory, ignoring the card, if you do not change the settings manually, which leads to a rapid exhaustion of free space even with a large map installed.

Open the Camera app, click on the menu (three strips or gears) and find the item "Save on" SD-Activating this switch will send all the new images and videos to the external drive, and for existing photos, you will have to use a file manager to move the folders. DCIM and Pictures.

When shooting high-resolution (4K or 8K) video, card speed is critical, and if the card is slow, the recording may be interrupted or the video corrupted, in which case the system can automatically switch to internal memory despite the settings.

Type of contentRecommended class of cardAverage file sizeRecord frequency
Photo (JPEG)Class 102-5 MBLow.
Video: Full HDU1 / V10100-200 MB/minPermanent.
Video: 4K 60fpsU3 / V30400-600 MB/minTall.
RAW photoA2 / V6025-50MBMedium

Remember to check the card periodically. When overflowing, the camera may stop shooting, so set up automatic cleaning of old files or use cloud services to sync and delete local copies.

πŸ’‘

Set up automatic sync of the Camera folder with Google Photos or Yandex.Disk with the function β€œFree space”, which will store the originals in the cloud, and leave only previews on the map or delete them after download.

Solutions and optimization of work

During operation, various errors can occur, associated with reading the map or slowing down the interface. Often the problem lies in the file system or damage to the storage sectors. Regular maintenance helps to avoid critical failures.

If your smartphone is slower after installing the card, try formatting it again by choosing the exFAT file system over FAT32 if the device supports it. It's also worth checking the card for errors through your computer using the chkdsk utility or analogues.

To extend the life of the memory card, minimize the number of write operations. Turn off logging in applications, do not install heavy games on the map with constant resource updates. Use the card primarily to store static data: photos, videos, music.

  • πŸ”„ Check the card for errors once a month through the file manager.
  • 🧹 Remove unused apps and their cache
  • πŸ“‰ Avoid filling out a card for more than 90%
  • πŸ”’ Regularly backup important data on PC

⚠️ Warning: If the memory card suddenly stops being defined, don't rush to format it again. Try to retrieve and paste back, and check the contacts in the slot. Frequent formatting reduces the life of the drive.

Optimization also includes disabling indexing of media files for hidden folders. Create a.nomedia file in the folders with the messenger cache so that the gallery does not try to process thousands of small images, which is a huge load on the processor.

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

Frequently Asked Questions (FAQ)

Can I transfer the entire Android system to a memory card?
You can’t completely transfer the operating system to a memory card. Android requires a fast and reliable internal partition to load the kernel and system services. The map is used only as an Adoptable Storage for user data and applications.
Why did they stop working after the app was moved?
This can happen if the memory card is slow read or damaged, and some applications require access to internal system libraries that are not available when running from an external drive.
Will the speed of the phone decrease after data transfer?
Yes, download speeds for applications ported to the card may be slower than those for internal memory, especially if a low-end card is used. Use A2 and UHS-I cards to minimize delays.
How do I get it back if I want to sell my phone?
You go to the storage settings and select the option "Format as portable storage" that will return the card to its standard view, but delete all the data on it, and you will have to reinstall the applications again after you reset your phone.

πŸ’‘

Using a memory card as the main storage on Xiaomi is an effective way to extend the life of a smartphone with a small amount of memory, but requires the use of quality drives and regular maintenance.