How to turn SD-card in internal memory on Xiaomi Redmi 6A

Budget smartphone owners often face a critical lack of space, and Xiaomi Redmi 6A is no exception. Standard 16 or 32 gigabytes of internal memory are quickly filled with system files, app updates and cache of popular messengers. Android on the shell of MIUI by default does not allow you to simply transfer applications to an external drive, which creates a feeling of โ€œlockedโ€ in a limited amount.

Fortunately, there is a proven method to get around this limitation with the Adoptable Storage feature, which is a technology that is introduced in Android 6.0 that allows you to format your memory card so that the operating system starts to consider it part of the main storage. To implement this on Redmi 6A, we will need not only the flash card itself, but also a computer with ADB drivers installed, since this option is often hidden in the phoneโ€™s settings menu by developers.

Before you start taking action, you need to be aware of the risks and prepare the device. SD-You can save important photos and documents on a different medium, and it's also worth noting that after this procedure, you can't remove the card and paste it into another phone without losing access to the data, it will be encrypted specifically for your Redmi. 6A.

Preparation of equipment and selection of the right storage device

The success of the entire operation depends on the quality of the memory card used. Cheap low-speed drives can lead to serious slowdowns in the smartphone, as the system will start writing temporary application files there. Redmi 6A recommends using cards of the standard Class 10 or higher, preferably the UHS-I series from proven brands like SanDisk or Samsung.

You will also need a computer running Windows, macOS or Linux that will have drivers installed on it. ADB (Android Debug Bridge. Without this software bridge between your PC and your phone, you can't do a hidden formatting command. USB-The cable is serviceable and capable of transmitting data, not just charging the battery.

โš ๏ธ Warning: Using old or damaged memory cards can cause a smartphone to reboot cyclically or freeze when running heavy applications.

Check out the Android version on your device. Adoptable Storage is the most stable feature on Android 6, 7 and 8, which is true for Redmi 6A. If you upgrade to newer versions of MIUI, the mechanism of operation may differ, but the basic principle through ADB remains valid.

๐Ÿ’ก

Buy memory cards with a manufacturerโ€™s guarantee โ€“ cheap analogues from marketplaces often have a real capacity many times less than the declared one, which will lead to data loss immediately after filling.

Configure the debugging mode over USB on Redmi 6A

The first step in the software part is to activate the hidden developer menu, go to your smartphone Settings, select About Phone, and find the MIUI Version line, and you need to quickly tap it 7-10 times in a row until a pop-up notice shows that you have become a developer.

Then go back to the main settings menu and go to Advanced Settings (or just Additional) where a new Developers Item will appear. In the list that opens, you need to find and activate the USB Debugging Switch. The system will warn you of potential risks - confirm the action.

Connect your smartphone to your computer through USB-You'll see a request for debugging permission from this computer on your phone screen, and you'll be sure to check the "Always Allow" box and press OK. If you don't, the computer won't be able to send the formatting command.

โ˜‘๏ธ Checking connection readiness

Done: 0 / 4

Make sure USB mode is set correctly. Sometimes the phone defaults on Charging Only mode. Lower the notification curtain, click on the USB connection notification, and select File Transfer (MTP) or PTP mode to allow the computer to correctly identify the device.

Installation and verification of ADB drivers

To interact with the Android file system, a minimum set of Platform Tools must be installed on your computer. Download the archive from the official Android developer site and unpack it into the root folder of the disk, for example, in C:\adb, so that the path does not contain Cyrillic alphabet or spaces.

Open the Windows Command Prompt (cmd) or terminal in the tool folder. Enter the adb device command. If you see a list of connected devices with a serial number and device status, the connection is established. If the list is empty or unauthorized, check the cable and confirmation on the phone screen.

Status at ADBMeaningAction.
deviceThe device is connected and ready.You can run commands.
unauthorizedConfirmation requiredCheck the phone screen
offlineConnection errorReconnect the cable
no devicesNo device found.Check the drivers.

In some cases, Windows can automatically install universal drivers that are not working correctly. Device Manager in the "Android Device" or "Portable Devices" section should not have yellow exclamation points. If necessary, drivers can be updated manually, indicating the path to the folder. usb_driver downloaded.

What to do if your computer canโ€™t see your phone?
Make sure the phone is on debugging. USB. Try another one. USB-port (preferably) USB 2.0) and other cables: some PCs require the installation of specific Qualcomm or MediaTek drivers, as Redmi 6A It runs on the MediaTek Helio processor. A22.

Formatting a map through the command line

Now, let's get to the most important part. SD-The card is inserted into the smartphone slot, in the command line of the computer where it is running. ADB, Enter a command to enter the shell of the smartphone:

adb shell

Once you've successfully logged in, the cursor will change, and you can control the file system, so you first need to find your memory card ID.

sm list-disks

The system will give you a list of disks. The internal memory is usually denoted as internal, and the external card will have a type ID. disk:179,64 or similar (numbers may vary) Write down this ID, it is critical for the next step.

The sm partition command is used to turn the card into internal memory. The syntax is as follows (replace the ID with yours):

sm partition disk:XXX,XX private

Private means that the card will become private and will be formatted into an ext4 file system with encryption. The process can take from 1 to 5 minutes.

โš ๏ธ Note: Once you execute the sm partition command, all data on the map will be permanently deleted.

If the command is successful, the phone can vibrate or make a device connection sound for a short time, and the file manager will notify you of setting up a new storage, and the system will prompt you to move the data, we agree.

๐Ÿ“Š How much memory is your Redmi? 6A?
16GB
32GB
64GB
Another option

Data transfer and system optimization

After successful formatting, Android will suggest moving existing data (photos, media files) to a new drive. It is recommended to agree to make room in the fast internal buffer for system processes.

To forcefully move applications, go to Settings โ†’ Annexes โ†’ All applications. Select a heavy app (like a game or social network) If the function is activated correctly, a memory or storage button will appear where you can select "Change" and specify SD-map.

Not all applications support portability: Software developers may not allow their products to be installed on external drives for security or performance reasons, in which case the move button will not be available (gray).

๐Ÿ’ก

Do not try to port Google or MIUI system applications โ€“ this can disrupt the stability of the interface and lead to synchronization errors.

Use the built-in Explorer to manage files or install a more functional analog, such as Files by Google. SD-The card is lower than the built-in eMMC memory, so launching โ€œheavyโ€ applications from the card can be slower.

Possible problems and ways to solve them

During operation, you may experience situations where your smartphone stops seeing the card or apps start to fly out, often due to file system desynchronization, and try restarting your device in safe mode to avoid third-party application conflict.

If the card is identified as corrupt, the system may suggest that it be formatted again. Take your time! Try to extract the card first, insert it into the card reader of your PC and check it for errors using standard Windows tools. The file system error may be logical, not physical.

If the phone is in a bootloop right after formatting, it will require a hard reset to the factory settings, which will delete all data but restore the system to work. To enter the recovery mode on Redmi 6A, press the buttons Volume up + Power when the phone is off.

โš ๏ธ Warning: If the phone is unstable after formatting, it may not be a good speed card (A1/A2).

Also worth considering is the wear of the memory card. Constant recording of cache and application logs reduces the Flash memory resource. Periodically (once every six months) it is recommended to back up important data and reformat the card through the phone settings menu.

Frequently Asked Questions (FAQ)

Can the card be returned to normal without losing data?
No, to return to external drive mode, the card will have to be formatted again through the Android settings menu (Settings) โ†’ Warehouse โ†’ SD-map โ†’ Format it. All data will be deleted, so copy it to your computer in advance.
Why do applications work slower after the transfer?
Random block reading speeds for most microSD cards are significantly lower than those for internal smartphone memory. Heavy games and active database apps can slow down. Use A2-labeled cards for better performance.
Will the card work if I put it in another phone?
No, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no. The card will be encrypted with your Redmi 6A keys, and other devices will see it as empty or require formatting, and you'll have to recover it from the cloud or backup.
Will Xiaomiโ€™s warranty work after this procedure?
By itself, the ADB team leaves no traces in logs that are easy to detect in a routine inspection, but if your actions cause the phone to fail (for example, a memory controller will burn down due to a bad card), the service center may refuse warranty repairs, citing a violation of operating conditions.
Do you need Root rights for this operation?
No, the method described here runs on standard firmware without superuser rights. ADB commands have sufficient access to manage disks (sm command), which allows you to bypass the limitations of the MIUI interface.