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
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 process | Risks. |
|---|---|---|
| Formatting | Complete data cleanup and file system change | High (data loss) |
| Change of type | Switching between internal and portable | Medium (conversion error) |
| Safe extraction | Disable access without formatting | Low. |
| Physical extraction | Removing the card with the phone on | Medium (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.
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 0This 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-disksFind 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 100Where [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?
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.