The internal memory of smartphones Xiaomi Redmi is not just storage for files, but also a critical component operating system. Many users are faced with a situation where they want disable or reassign the built-in memory, for example, to install custom firmware, test alternative file systems, or solve problems with partitions. However, the standard settings Android do not provide a direct option to “turn off” the internal drive - you can only format, encrypt or reconfigure.

In this article we will analyze all the available methods for working with internal memory on devices Redmi (including models Note 10/11/12, Redmi 9/10 and others), we will explain why complete disabling is impossible without root accessand offer alternative solutions for typical tasks. It is important to understand: any manipulations with memory sections can lead to data loss or “bricking” the device, so you perform all actions at your own peril and risk.

Why you can’t just “disable” the internal memory on Android

Unlike removable ones microSD-cards, internal memory (/data) is Android integrated into the file system at the kernel level. It contains:

  • 📁 System files (/system, /vendor)
  • 👤 User data (/data/data - applications and their cache)
  • 📱 Bootloader partitions (/boot, /recovery)
  • 🔑 Keys encryption (if enabled FBEFile-Based Encryption)

Even if you format the partition /data via fastboot or TWRP, the system will still initialize it the next time you boot. A complete “disconnection” would imply the physical removal of the memory chip, which is only possible in a service center with a soldering machine. equipment.

⚠️ Attention: On devices with Dynamic Partitioning (entered in Android 10), an attempt to manually change partitions through fastboot may lead to a reboot cycle. Before experiments, check the support for your model on the forums. XDA Developers.

Method 1: Formatting internal memory via Recovery

If the goal is reset the device to factory settings or prepare it for sale, standard formatting via Recovery will be the safest option. This method does not physically disconnect the memory, but clears all user ones. data.

Instructions for Xiaomi Redmi:

  1. Turn off the smartphone.
  2. Press Volume up + Power button until the logo appears Mi.
  3. In the menu Recovery select Wipe DataWipe All Data.
  4. Confirm the action (you may be required to enter the password for Mi Account).
  5. After completion, select Reboot.

This method does not require unlocking the bootloader and is suitable for most models Redmi (including Redmi Note 8 Pro, Redmi 9T and newer). However, it does not solve the problem of reassigning partitions or disabling memory for system purposes.

Back up important data|Charge the phone at least 50%|Delete Google account (if you plan to sell)|Remember the password for Mi Account (for unlocking after reset)-->

Method 2: Reassigning partitions via fastboot (for advanced)

For users who need change the memory structure (for example, increase the partition /system for account /data, there is a method via fastboot. It requires an unlocked bootloader and knowledge of the command line.

Basic steps:

  1. Unlock the bootloader via Mi Unlock Tool (official utility Xiaomi).
  2. Connect the phone to the PC in mode fastboot (press Volume down + Power).
  3. Run the command to view the current partitions:
    fastboot getvar all
  4. Use fastboot erase or fastboot resize to change partitions (the exact commands depend on the model).

An example command for formatting a partition userdata (internal memory):

fastboot erase userdata

fastboot format:ext4 userdata

⚠️ Attention: Incorrectly changing the partition table can make the phone inoperable. On devices with UFS drives (for example, Redmi K50), manual formatting can lead to hardware errors in the controller.
What to do if fastboot does not see the device?

Make sure that the drivers are installed Qualcomm HS-USB QDLoader 9008 (for Snapdragon chipsets) or MediaTek Preloader. On Windows, you may need to disable driver signature verification via bcdedit /set nointegritychecks on.

Method 3: Disable mounting the /data partition (required) root)

If you have root access (for example, via Magisk), you can temporarily “disable” the internal memory, preventing the system from mounting it. This is useful for testing or debugging, but will make the phone unsuitable for everyday use.

Instructions:

  1. Install a file manager with root support (for example, Root Explorer).
  2. Go to /system/etc and find the file fstab (can be called fstab.qcom or fstab.mt67xx depending on the processor).
  3. Find the line with /data and add the parameter to its end noauto:
/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,noauto wait,check
  1. Save the file, reboot the device.

After this, the section /data will not exist mount automatically. To get everything back, delete the parameter noauto or restore the original file fstab.

💡

Before editing fstab make a backup copy with the command cp /system/etc/fstab /sdcard/fstab_backupThis will help restore the file if the device stops booting.

Alternative solutions: when “disabling” is not necessary

In 90% of cases, users want to “disable internal memory” for one of the following reasons - and for each there is a safer solution:

Purpose Problem Safe solution
Increase space on microSD Applications are not installed on the memory card Use ADB command pm set-install-location 2 or function Adoptable Storage (on older versions of Android)
Reset settings before selling Personal data remains Run Wipe All Data in Recovery + unlink Mi Account
Test custom firmware Not enough space in /system Use firmware from Dynamic Partition or increase the partition via TWRP
Fix memory reading errors System gives E:Unable to mount /data Run fastboot format:ext4 userdata or reflash stock ROM

If your task is not included in this list, describe it in the comments - we will help you choose the optimal solution without the risk of damaging the device.

Enlarge the partition for custom firmware|Fix reading errors|Prepare the phone for sale|Experiments with Android|Another reason-->

Risks and how to avoid them

Any manipulations with internal memory carry potential threats:

  • 💥 Data loss - even formatting through Recovery may not clear all partitions (for example, /internal_sd on some firmware).
  • 🔄 Reboot cycle - incorrect change fstab or partition table leads to bootloop.
  • 🔒 Locking Mi Account - on some models after Reset requires entering the account password Xiaomieven if it has been unlinked.
  • 🛠️ Hardware damage —frequent re-allocation of memory on eMMCdrives accelerates their wear.

To minimize risks:

  • 🔋 Always check the battery charge (minimum 70%) before manipulating the memory.
  • 📋 Make backups via TWRP or adb backup.
  • 🔍 Use official tools Xiaomi (for example, Mi Flash Tool for firmware).
  • 📖 Study the manuals specific to your model (for example, Redmi Note 11 Pro+ 5G has a different partition table than Redmi 9A).
⚠️ Attention: On devices with Android 12+ i MIUI 13+ Xiaomi has introduced additional protection against changing partitions - an attempt to use outdated commands fastboot can lead to the bootloader being blocked (anti-rollback).

Frequent errors and their solutions

If you encountered them during the process of disabling or formatting the internal memory problems, use this table:

Error Cause Solution
fastboot: unknown command Outdated version fastboot or drivers Update Platform Tools to the latest version or use Mi Flash Tool
E:Can't mount /data in TWRP The file system or encryption is damaged (FBE) Run format data in TWRP (not wipe!) or flash stock ROM
The phone does not turn on after fastboot erase userdata A critical section has been deleted (for example, metadata) Flash complete fastboot ROM via Mi Flash Tool with option clean all
Mi Account requires password after reset Protection activated Find My Device Unlink account in Settings → Mi Account → Delete account to reset

If your error is not described above, check the logs via adb logcat or contact the specialized forums (for example, 4PDA or XDA), indicating the exact device model and version MIUI.

💡

Before any manipulations with memory, check whether the Redmi function is activated on your Anti-Rollback. Its violation leads to irreversible blocking of the bootloader. You can find out the status with the command fastboot getvar anti.

Is it possible to disable internal memory without root?

No. Without root access, you can only format internal memory (via Recovery or settings), but not physically disable it. partitions require superuser rights or an unlocked bootloader.

What happens if you delete a partition /data via fastboot?

The device will stop booting because it is stored in critical configuration files (including settings /data critical configuration files are stored (including settings Android and application data). To restore functionality, you will need to flash the full fastboot ROM with option clean all.

How to transfer all data to microSD and use it as internal?

On Android 9 and older this is possible through the function Adoptable Storage:

  1. Insert microSD (class UHS-I or higher).
  2. Go to Settings → Storage → Memory card → Configure → Internal memory.
  3. Follow the instructions (the card will be formatted!).

On Android 10+ this function is disabled, but it can be activated through ADB:

adb shell sm set-force-adoptable true
Why, after formatting the internal memory, the phone asks for a password Mi Account?

This is protection Xiaomi from theft (Find My DeviceTo avoid blocking:

  • Unlink your account before resetting. data-i="248">Settings → Mi Account → Delete account Settings → Mi Account → Delete account.
  • If the phone is already locked, use the official unlock tool (Mi Unlock Tool) or contact support Xiaomi with proof of purchase.
Is it possible to increase the internal memory for account microSD without root?

Partially. You can:

  • Move some applications to the card via Settings → Applications → [Select application] → Storage → Change → Memory card.
  • Use the card as Portable storage (but not all applications will work from it).

Full memory merging (as in Adoptable Storage) without root is not possible on new versions MIUI.