Owners of Xiaomi smartphones on the basis MIUI 12 often face a shortage of internal memory, especially if the device is equipped with a modest 32 or 64 GB. The solution seems obvious: SD-But unlike earlier versions of Android, where Adoptable Storage was out of the box, the system was a big part of the system. MIUI 12, it's a nuanced process, and we'll figure out how to expand memory, what the system limits, and what alternative methods are there.
It is important to understand that Xiaomi deliberately limits the possibility of full data transfer to the Internet. SD-It's about security policy (the risk of losing data when you extract a card) and performance optimization. However, there are legal and semi-legal ways to get around these restrictions, from standard tools to the tools that are used. MIUI before manually mounting the section through ADB. In this article, we will consider all the current methods, their pros and cons, and also give recommendations for choosing the right memory card.
Why? MIUI 12 restricts the use of SD-maps as the primary memory
In Android versions before 6.0 (Marshmallow) SD-The cards were used exclusively as portable storage for photos, music and documents. 6.0 Adoptable Storage is a feature that allows you to format the card as an internal memory. MIUI 12 (Android-based 10/11) I removed this option from the interface:
- โก Productivity: SD-cards (even class) A2) slower-than-integrated memory eMMC/UFS, What's stopping apps.
- ๐ Security: When you extract the card, the applications installed on it stop working, which violates the stability of the system.
- ๐ฑ Optimization MIUI: Xiaomi firmware is focused on using built-in memory for cache and temporary files.
- ๐พ Fragmentation: Frequent entry on SD-The card reduces its resource (especially in cheap models).
However, the limitation is bypassed. For example, devices with MIUI Global or MIUI Europe sometimes retain the hidden option of formatting the card as internal memory via ADB. And on some models (for example, Redmi Note 8 Pro or POCO X3), the function is available in the Settings โ Memory menu, but it does not work stable.
โ ๏ธ Note: After formatting SD-As internal memory, it cannot be used on other devices without completely erasing data, and some applications (such as WhatsApp or bank clients) may refuse to work with an external drive.
Official method: transfer data through the settings MIUI 12
The safest method is to use built-in tools MIUI transfer files and parts of applications to SD-It's not going to make the card a "primary memory" in the full sense, but it's going to help make room in the built-in storage.
Instructions:
- Put it in. SD-card to slot (if your model supports hybrid slot, make sure you are not busy) SIM-card).
- Go to Settings. โ Memory.
- Press on. SD-map โ Format as a portable storage (if the card is new) or Transfer data.
- Select the file types to transfer: photo, video, audio or documents.
- For applications: go to Settings โ Annexes โ Manage applications, select the desired and click Transfer to SD-Card (not available for all programs).
Limitations of the method:
- ๐ซ Not all apps support portability (especially system and games).
- ๐ Only user data is transferred, not the user itself. APK-file.
- ๐ When you remove the map, the transferred applications will stop working.
โ๏ธ Preparation SD-map
Alternative method: formatting SD-As a memory, internal memory is ADB
If the official method is not suitable, you can use the hidden Android feature via ADB (Android Debug Bridge), which works on most Xiaomi devices with MIUI 12, but requires activation of the developer mode and connection to the PC.
Step-by-step:
- Turn on USB debugging: Go to Settings โ About Phone. Tap 7 times on MIUI to activate Developer Mode. Go back to Settings โ Additional โ For Developers and turn on USB Debugging.
Connect your phone to your PC
Open the command line (Windows) or the terminal (macOS/Linux)
adb shell
sm list-disksRemember the disk identifier (e.g., disk:179.64).
Formatting a card as an internal memory
sm partition disk:179,64 private(Replace 179.64 with your ID)
Reset the device
Advantages of the method:
- โ Full Memory Extension for Applications and Data.
- โ Possibility of installing applications directly on the map.
Risks:
- โ ๏ธ The card will be encrypted and tied to the device.
- โ ๏ธ When you remove the card or reset the phone, the data will be lost.
- โ ๏ธ Some apps (such as Google Pay) may not work.
What to do if ADB issues a file to partition disk error
Choice SD-cards to be used as primary memory
Not every one. SD-The map is suitable for the primary storage, low-cost, low-speed write/read models will slow down the system:
| Characteristics | Minimum requirement | Recommended option |
|---|---|---|
| Class speed | Class 10 or UHS-I | A2 (optimized for applications) |
| Capacity | 32GB | 128-256 GB (for long-term use) |
| Manufacturer | Any known brand. | SanDisk Extreme, Samsung EVO Plus, Kingston Canvas Go! |
| File system | FAT32 (up to 32 GB) or exFAT (over 32 GB) | exFAT (supports files >4 GB) |
Important: Class A1 cards are suitable for file storage, but for installing applications, you should choose A2 - they have a random write speed of at least 4000 IOPS. Also avoid forgeries: check the card for speed using applications like A1 SD Bench.
Limitations and problems in use SD-maps as the primary memory
Even after successful formatting SD-And you can have a lot of problems with your internal memory cards:
- ๐ข Slowdown: Annexes to the SD-The card is run longer, especially if the class card is A1 lower.
- ๐ Errors in Retrieval: The system can issue data corruption alerts if the card was retrieved without safely shutting down.
- ๐ฆ Application incompatibility: Some programs (such as Netflix or Fortnite) block installation on external drives.
- ๐ Problems after update MIUI: After major updates, the system may "forget" the link to the SD-map, requiring re-formatting.
Decisions:
- To speed up work, turn off animation in Settings โ Additional โ For developers โ Animation scale (off).
- Use only original cards with warranty โ counterfeits often cause reading errors.
- Before extracting the card, always click Safe Retrieval in the notification curtain.
โ ๏ธ Note: If, after transferring applications to SD-card they have started to fly out or are not updated, try clearing their cache in Settings โ Annexes โ [Title of the annex] โ Warehouse โ If that doesn't work, move the app back to internal memory.
Alternative ways to expand memory on Xiaomi
If none of these methods are suitable, consider alternatives:
- Cloud storage: โ Mi Cloud (5GB free) or Google Drive (15GB). ๐ Automatic upload of photos/video to the cloud through the Gallery โ Settings โ Cloud.
- OTG-accumulator: ๐ Connect the flash drive through USB-OTG Adapter (works on most Xiaomi models). ๐ Files can be opened directly from a flash drive, but applications cannot be installed.
Cleaning the system
- ๐งน Use the built-in cleaner in MIUI (Settings โ Memory. โ Clean up).
- ๐๏ธ Remove the app cache and unnecessary APK-Files from Google Files.
For users who are ready for radical measures, there is another option - unlock the bootloader and install custom firmware (for example, LineageOS or Pixel Experience), which has Adoptable Storage function without restrictions, but this voids the warranty and requires technical skills.
๐ก
If you often shoot videos in 4K, Set them apart from each other. SD-Recording high-quality video requires high speed recording (minimum) U3 or V30), Otherwise, there will be lags and cliffs of recording.
Frequent mistakes and their solutions
When you try to do SD-And the most common mistakes that people have with their primary memory card are the ones that they're going to get corrected:
| Mistake. | Reason. | Decision |
|---|---|---|
| Command failed: Volume partition failed | Card damaged or incompatible | Format the card on PC in FAT32 and repeat the procedure |
| SD card is slow | Low-speed card class | Replace the card with a Class A2 or UHS-I model |
| Applications are not installed on the map | Manufacturer or Android Restriction | Use ADB for forced transfer: adb shell pm set-install-location 2 |
| The card is not determined after the reboot | Mounting failure | Reconnect the map or format it again |
If none of the methods worked, check:
- ๐ง Compatibility with your Xiaomi model (some devices only support certain file systems).
- ๐ Relevance of the firmware: update MIUI Up to the latest version through Settings โ Updating the system.
- ๐ ๏ธ Card slot integrity: try inserting the card into another device to check.
๐ก
If your device does not support formatting SD-The memory of the card as an internal memory, even ADB, The only working options are using the card as a portable storage or buying a smartphone with a large amount of internal memory.