How to disable internal memory card on Xiaomi: In-depth analysis and instructions

Modern Xiaomi smartphones, which use the MIUI shell or the new HyperOS, offer flexible file system management settings. One feature that Android developers have been actively implementing in recent years is the ability to use a microSD card as part of internal storage, which allows for more space available for installing applications, but often leads to unpredictable system behavior if the memory card has a low write speed.

Users often face the challenge of getting everything back to normal, perhaps you bought a new phone with a lot of internal memory, or your current microSD card started to work unstable, causing the interface lags. In such situations, the question arises: how to correctly and safely disable the internal memory card on Xiaomi, turning it back into a normal external storage or completely deactivating?

This process is not as simple as it seems at first glance, because it requires understanding the difference between the modes of operation of the drive. Wrong actions can lead to the loss of important data or even the need to completely reset the device settings. Below we will discuss in detail the technical aspects of this procedure, preparatory steps and step-by-step algorithm of actions for various versions of firmware.

Differences between internal and external storage

Before proceeding with technical manipulation, it is necessary to clearly understand the architectural difference between the two modes of operation. SD-When you use a card as a portable storage device, it's a common file-sharing tool for photos, videos and documents, and applications can't be installed directly on it, and the system only accesses it when a user or program requests it.

The situation is different when you activate the internal storage mode (Adoptable Storage), in which the operating system encrypts the memory card, binding its cryptographic key to a particular device, the card becomes an integral part of the system partition, and without it the phone can stop working correctly or display installed applications.

⚠️ Note: Data recorded in internal storage mode will not be read on another phone or computer without prior formatting, which will result in its complete deletion.

Disabling this mode requires not just physical extraction of the card, but software conversion of the partition. The system must re-encrypt the data and change the structure of the file tables to return the standard file system format compatible with other devices to the drive.

It is important to note that not all Xiaomi models are equally well supported with fast memory cards in internal storage mode. Using slow-motion cards of the UHS-I class often causes the brakes of the entire system, as the speed of reading system files falls below a critical level.

πŸ’‘

Always check the speed of writing a memory card using the utility SD Card Benchmark before assigning it to internal storage. The minimum write speed should be at least 20 MB / s.

Preparing the device for changing the memory configuration

Any deep changes in the structure of disk space carry risks. Therefore, the preparation stage is critical to maintaining the integrity of your personal data. The first step should be a full backup of all important files. Even if you plan to just switch mode, there is a possibility of a software error that will require cleaning the partition.

It is recommended to use cloud services such as Google Photos or Mi Cloud to save media files. For contacts and messages, use the standard Google account sync tool, which will create an independent copy of the data that can be restored at any time.

β˜‘οΈ Checklist before disabling the internal card

Done: 0 / 4

Also, make sure that the phone has the latest available firmware. Xiaomi developers regularly release updates that fix bugs in the file system and memory controller drivers. Go to Settings β†’ About Phone β†’ MIUI version and check for updates.

If you use third-party launchers or file managers with extended rights, they should also be temporarily disabled or removed so that they do not interfere with the process of partitioning.

Standard method of disabling through Android settings

The safest and most recommended way to disable an internal memory card is to use the operating system’s standard interface, which does not require a super-user license (Root) and minimizes the risk of damage to boot sectors. The process may vary slightly depending on the version of Android, but the logic remains the same.

You need to go to the storage management menu first, and the path is usually as follows: β†’ The phone. β†’ Storage or Settings β†’ Memory. In the list of available storage devices, select yours. SD-map.

Action.Description of the processRisks.
FormattingComplete data cleanup and file system changeHigh (data loss)
Change of typeSwitching between internal and portableMedium (conversion error)
Safe extractionDisable access without formattingLow.
Physical extractionRemoving the card with the phone onMedium (file damage)

In the memory card menu, find an item called "Use as internal storage" or "Format as internal storage." If the card is already used as internal, the system will suggest the option "Use as portable storage" or "Format."

The system will alert you that all the data on the map will be deleted. Confirm the action. After that, the phone will automatically overwrite the partition structure, a process that can take anywhere from a few minutes to an hour depending on the size of the map.

πŸ“Š How to use a memory card on Xiaomi?
Photo and video only
How internal storage for games
I don't use a memory card.
I use it to transfer files to the PC.

Once the card is completed, it will be available as a regular external drive, and you can freely transfer it between devices, but the applications installed on it will stop working and require reinstallation to the phone’s internal memory.

Using ADB for forced discharge

In some cases, Xiaomi’s standard settings menu may not offer card mode switching options, especially on older firmware versions or in stripped-down Chinese versions of the OS. Android debugging toolkit (ADB) comes to the rescue. This method requires connecting the phone to a computer and basic command-line skills.

The first thing you need to do is activate the developer mode on your smartphone. Go to Settings β†’ About Phone and quickly click on the build number seven times. Then, in the "Additional" β†’ "Developers" menu, turn on USB debugging.

adb shell pm set-install-location 0

This command returns the system with an instruction to install the default applications in internal memory, which is the first step to freeing the card. However, to physically change the status of the partition, a more complex command, dependent on the disk ID, may be required.

To get a list of disks and their sections, use the command:

adb shell sm list-disks

Find your card (usually marked as disk:179,X) in the list, then find the ID of the specific partition that is used as internal storage. The adb shell sm list-volumes command will show the status of each volume. Find the one that is marked as private.

⚠️ Attention: Teams ADB An error in syntax or the selection of an incorrect disk ID can result in the phone being completely inoperable (bootloop).

For forced transfer of the card to portable mode (if the phone menu is blocked), sometimes the team helps:

adb shell sm partition [disk-id] public 100

Where [disk-id] is your card ID, 100 means that 100% of the space will be public, and remember that this action will also destroy all the data on the media.

What if the ADB can’t see the phone?
Make sure that drivers are installed on the computer ADB. When you connect the cable to your phone, select File Transfer Mode and allow debugging on your smartphone screen. USB-cable, preferably original.

Compatibility issues and file systems

One common reason users want to disable an internal card is compatibility issues.The ext4 file system, which is used for Android internal storage, is more sensitive to memory cell quality than standard FAT32 or exFAT.

Cheap memory cards from unknown manufacturers often fail to withstand the intense recording that characterizes the system, resulting in broken sectors that are perceived by the system as critical errors in internal storage mode.

If you plan to use your internal card on other devices (cameras, navigators, old phones) after disabling the internal card, be sure to format it in exFAT (for cards with a capacity of more than 32 GB) or FAT32.

It should be borne in mind that after converting from internal to portable mode, the map will remain a hidden partition with Android system data. To completely clear the card and return it to its original volume, it is better to format through the menu of the phone itself or a specialized utility on a PC, for example, SD Formatter.

πŸ’‘

Use memory cards only from proven brands (Samsung, SanDisk, Kingston) with a speed class at least U3 and A1/A2 standard for stable operation as internal storage.

Data recovery and optimization after disconnection

Once you’ve managed to turn off the internal memory card on Xiaomi and put it into portable mode, it’s recommended that you optimize the device, and the system could create many temporary files during the conversion process that should be deleted.

Go to the storage settings and use the built-in cleaner. Also check the Android/data folder for residual files from apps that were previously installed on the map, which can be safely removed if the apps themselves have already been moved or removed.

If you have backed up your data, now is the time to return your photos and documents to the map. However, don't fill the memory card in full. For a stable file system, always leave at least 10-15% of the total free.

If the phone continues to work unstable after all manipulations, consider a full reset (Factory Reset) that is guaranteed to remove any software conflicts that may have arisen when changing the structure of the memory partitions.

Can I recover data after transferring the card from internal to portable mode?
Unfortunately, this is not possible with standard Android tools, the process of switching mode is accompanied by full partition formatting, which destroys the file table, there are paid programs for data recovery, but their effectiveness in the case of Android encryption is extremely low.
Why can't the phone see the card after the internal storage is turned off?
Perhaps the card was formatted into a file system that the phone doesn't support (like NTFS), or a file table was damaged. Try formatting the card on your computer into exFAT and inserting it back into the phone.
Does disabling the internal card affect Xiaomi’s warranty?
Software settings of the memory card are not warranty cases, however, if your actions cause the phone to fail (for example, the memory controller will burn down due to a power surge), the service center may refuse free repairs, citing a violation of operating rules.
Should I take it out? SIM-map before memory manipulation?
No, take it out. SIM-No card required. MicroSD file system operations do not affect the communication module. However, if you plan to do a full reset of your phone settings, retrieve the retrieval SIM-The card is recommended so that you do not accidentally delete the contacts stored on it.