How to Make a Memory Card Your Main Storage on Xiaomi with MIUI 12: The Complete Guide

Xiaomiโ€™s MIUI 12-based smartphones often face a shortage of internal memory, especially in budget models with 32 or 64 GB of storage. Many users try to solve this problem by plugging in a microSD card and trying to make it the main storage โ€” but face system limitations. Unlike earlier versions of Android, where you could format the card as internal memory (Adoptable Storage), MIUI 12 blocks this feature at the firmware level.

In this article, we will discuss all the available integration methods. SD-Maps to Xiaomi, including official settings, workarounds and alternative solutions, learn how to transfer applications, cache and media to an external drive, what restrictions imposes MIUI 12, and what to do if the system refuses to recognize the card, and we will also analyze the risks and consequences of such manipulations on the performance and security of the device.

Why? MIUI 12 does not allow you to do SD-card?

Starting with Android 6.0 Marshmallow, Google introduced Adoptable Storage, which allows you to format microSD as part of internal memory. However, Xiaomi in the shell of MIUI 12 (and later versions) completely removed this feature โ€” even if your device technically supports the feature at the Android level.

  • ๐Ÿ”’ Security of data: MIUI uses encryption of internal memory (FBE), It doesn't apply to removable media, and it creates a risk of data leakage when you lose your card.
  • โšก Performance: Even the class A2 MicroSD is not as fast as internal memory. UFS 2.1/2.2, Which leads to lags when working with applications.
  • ๐Ÿ“ฑ Xiaomi: the company encourages the purchase of devices with a large amount of internal memory, blocking alternative solutions.
  • ๐Ÿ› ๏ธ Technical limitations: Not all chipsets (e.g. Snapdragon) 4xx The series works well with Adoptable Storage.

However, there are workarounds, from partial data porting to radical methods like unlocking the bootloader and installing custom firmware, and we'll look at them all, starting with the safest ones.

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

Official methods of use SD-card MIUI 12

While full memory integration is not possible, MIUI 12 offers several legal ways to use microSD to free up internal storage, which do not require root rights or system modifications, but have limitations.

1. Transfer of applications to SD-map

Some applications (not all!) can be transferred to an external drive through settings.

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select the desired application and click Storage.
  3. If the option is available, a button will appear to Move to SD-map.

Limitations:

  • ๐Ÿšซ It only works with applications that support this feature (many games and social networks block it).
  • ๐Ÿ“ Only a portion of the data is transferred, the main files remain in the internal memory.
  • โš ๏ธ When you remove the card, the application will stop working.

2.Save media files to SD by default

You can configure the camera and other apps to save photos/videos directly to the map:

  1. Open the camera โ†’ Settings โ†’ Save Place.
  2. Choose. SD-Card (if the option is active).
  3. For other apps (like WhatsApp), the save path changes in their internal settings.

This wonโ€™t solve the problem with apps, but it will free up a few gigabytes of cache and system files.

โ˜‘๏ธ Preparation SD-map

Done: 0 / 4

3.Use of SD-cache-card

Some applications (such as Google Maps or Spotify) allow you to save offline data to an external drive.

  • ๐Ÿ—บ๏ธ In Google Maps: Profile โ†’ Offline maps โ†’ Settings โ†’ Preservation site.
  • ๐ŸŽต In Spotify: Settings โ†’ Data data โ†’ The place of storage of offline music.

โš ๏ธ Note: When formatting the card as internal memory through third-party utilities (e.g, ADB) You lose your warranty and risk getting a brick (a non-functional device.

Alternative methods: circumventing the limitations of MIUI 12

If the formal ways don't solve memory problems, you can try more radical approaches, which require technical skills and carry risks, but sometimes are the only way out.

1. Formatting SD-As a memory, internal memory is ADB

This method mimics Adoptable Storage, but it doesn't work on all devices.

  • ๐Ÿ–ฅ๏ธ Computer with installed ADB-driver.
  • ๐Ÿ”Œ Included debugging by USB (Settings โ†’ The phone. โ†’ Version. MIUI โ†’ 7 times press to unlock the developer mode).
  • ๐Ÿ“ MicroSD class A2 (SanDisk Extreme or Samsung EVO Plus).

Instructions:

adb shell


sm list-disks




sm partition disk:XX,XX private

Where XX,XX is your card ID (recognised after the sm list-disks command).

Consequences:

  • ๐Ÿ”„ The card will be encrypted and will not be read on other devices.
  • โš ๏ธ When you remove the map, the applications will stop working.
  • ๐Ÿข Read/write speeds will drop by 30-50% compared to built-in memory.

What to do if ADB issues a โ€œnot allowedโ€ error
This error means your device is blocking formatting through ADB. Solutions: 1. Try using the sm set-force-adoptable true command before partition. 2. Set custom recovery (TWRP) and format the card through it. 3. On some firmwares, a pullback to MIUI 11 helps with a subsequent update.

2. Install custom firmware with support for Adoptable Storage

If you need complete integration, SD-cards, you can install alternative firmware, for example:

  • ๐Ÿ“ฑ LineageOS (supports Adoptable Storage on most devices).
  • ๐Ÿ”ง Pixel Experience (optimized for performance).
  • ๐Ÿ› ๏ธ Havoc-OS (flexible storage settings).

This will require:

  1. Unlock the bootloader through the Mi Unlock Tool (linking to the Mi Account is mandatory).
  2. Install TWRP Recovery.
  3. Swipe custom firmware and GApps (if you need Google services).

โš ๏ธ Warning: Unlocking the bootloader resets the device to factory settings and voids the warranty. On some models (such as the Redmi Note 8 Pro with a Mediatek chipset), unlocking can lead to problems with the camera or modem.

Comparison of integration methods SD-card MIUI 12

To choose the best way, compare all options on key parameters:

MethodNeed root?Support for applicationsSpeed of operationRisks.
Official transfer of annexesโŒ No.โš ๏ธ Partial (supported applications only)โšก Normal.โŒ Minimum
Keeping Media on SDโŒ No.โŒ Media files onlyโšก Normal.โŒ No.
ADB-formattingโš ๏ธ No, but you do. ADBโœ… Complete (as internal memory)๐Ÿข Low (depending on the card)โš ๏ธ High (risk of data loss)
Custom firmwareโœ… Yes.โœ… Complete.โšก High (on some firmware)โš ๏ธ Critical (Brick, Loss of Warranty)

As you can see from the table, the most secure method is the official transfer of applications, but it is the least effective. ADB-formatting gives you more freedom, but it slows down the system.

๐Ÿ’ก

If your goal is simply to free up space under photos and videos, it is enough to configure the saving of media files on the site. SD-Map. It is better to use cloud services (Google Drive) or external services to migrate applications. SSD-storage OTG.

Frequent problems and their solutions

When working with SD-And in the case of Xiaomi, users are faced with common errors, and we're going to look at the most common ones and how to fix them.

1. MIUI 12 doesn't see SD-map

If the map is not determined:

  • ๐Ÿ”Œ Reset the device.
  • ๐Ÿ“ Check the card on another device (it may be damaged).
  • ๐Ÿ› ๏ธ Format the map in FAT32 or exFAT via computer or computer.
  • ๐Ÿ”ง Update the firmware (Settings) โ†’ Updating the system).

2. Applications are not portable to SD

If the button is moved to SD-card:

  • ๐Ÿ“ฑ Check if the app supports portability (many games and social networks block this feature).
  • ๐Ÿ”’ Make sure the card is formatted as a portable storage (not as internal memory).
  • ๐Ÿ› ๏ธ Try to clear the app cache (Settings) โ†’ Annexes โ†’ [Select an application] โ†’ Clear the cache).

3. Slow operation of applications with SD-map

If the applications are laden after transfer:

  • โšก Use the class map A2 (Minimum recording speed - 40 MB/s).
  • ๐Ÿ—‘๏ธ Donโ€™t fill up more than 80% of the card (this reduces performance).
  • ๐Ÿ”„ Move back to internal memory for critical applications.

๐Ÿ’ก

Before buying a microSD for Xiaomi, check it for authenticity using H2testw (Windows) or F3 (Linux/macOS).

Recommendations for selection SD-maps for Xiaomi

Not every microSD is suitable for use as a primary storage facility, but here are the criteria for choosing:

  • ๐Ÿ“Œ Speed class: Minimum A1, better A2 (There's enough for media files. UHS-I U3.
  • ๐Ÿ“Œ Optimum 128-256 GB. Cards 512 GB or more may not be supported by older Xiaomi models.
  • ๐Ÿ“Œ Brand: Preference SanDisk, Samsung, Kingston or Lexar. Avoid no-name cards.
  • ๐Ÿ“Œ Format: exFAT for files >4GB, FAT32 Compatibility with older devices.

Examples of suitable models:

ModelVolume.Class classPrice (exemplary)Notes
SanDisk Extreme A2128GBA2, U3, V30~2 500 โ‚ฝThe best choice for applications
Samsung EVO Plus256GBA2, U3~4 000 โ‚ฝReliability and speed
Kingston Canvas Go! Plus128GBA2, U3~2 200 โ‚ฝBudgetary option

Remember, even the fastest microSD will be slower than internal memory. If performance is critical to you, consider buying a high-volume smartphone. UFS-storage.

FAQ: Answers to Frequent Questions

Can we do this? SD-Main memory card on Xiaomi without root?
Technically yes, through ADB (described above), but MIUI 12 blocks this feature on most devices. Even if the command is executed successfully, the system can ignore the changes.
Why is it that after formatting the card as internal memory, it is not determined on the PC?
When formatted via sm partition disk:XX,XX, the private card is encrypted and becomes part of the Android file system. To return it to its original state, format it through Settings โ†’ Storage โ†’ [Map Name] โ†’ Format it as a portable device.
What applications can be ported to SD in MIUI 12?
The list depends on the developer, but usually support the transfer: ๐Ÿ“ฑ Most launchers (Nova Launcher, Microsoft Launcher). ๐ŸŽฎ Some Simple Games (2048) - Crossy Road). ๐Ÿ“š Book Readers (FBReader, Moon)+ Reader). ๐ŸŽต Musical Players (Poweramp, VLC). Social networks (Facebook, Instagram), instant messengers (WhatsApp, Telegram) and heavy games (PUBG, Genshin Impact) not transferable.
What happens if you take it out? SD-A card formatted as an internal memory?
The apps on the card will stop working and the system will start to give out errors. In the worst case, the device can freeze on boot. To avoid problems: Move all critical applications back to internal memory. Mount the card through Settings โ†’ Storage before extraction. Use the card only for media files if you plan to take it out often.
Are there alternatives? SD-Maps for expanding memory on Xiaomi?
Yes, consider these options: ๐Ÿ–ฅ๏ธ USB-storage OTG: Connect the flash drive or external SSD (adapter USB-C/OTG). Speed is faster than microSD, but itโ€™s uncomfortable to carry around. โ˜๏ธ Cloud storage: Google Drive, Mi Cloud or Yandex Disk for backups. Minus - you need a stable network. ๐Ÿ“ฑ Streaming instead of storage: Listen to music on Spotify or YouTube Music without downloading, watch movies online. ๐Ÿ”„ Regular cleaning: Use the settings โ†’ Cleaning to remove cache and unnecessary files.