The internal memory of a smartphone on Android is not just storage for files, but also critical a component on which the speed of the device depends. However, there are situations when it is necessary to temporarily or completely disable it: when transferring data to SD card, preparing to reset settings, diagnosing problems, or even to protect personal data before selling the phone. Unlike external drives, internal memory cannot simply be โ€œremovedโ€ physically; disabling it requires special actions in the system.

Many users confuse disabling internal memory with formatting it or resetting it to factory settings. In fact, these processes are fundamentally different: disablement makes the memory unavailable for writing/reading without deleting data, and reset erases all contents. In this article, we will look at in what cases you really need to disable the internal memory, what methods exist for this (including hidden functions Android and tools for developers), and also warn against common mistakes that can lead to data loss or failure of the device.

We will pay special attention to the nuances for different versions Android (from Android 6.0 Marshmallow to Android 14), since the algorithms for working with memory have changed significantly with the release of each new OS. For example, in Android 11+ there are additional restrictions on access to memory sections, and manufacturers like Samsung, Xiaomi or Huawei often modify the standard settings. If your smartphone is running custom firmware (for example LineageOS or MIUI), some steps may differ - we will also mention this.

Why disable the internal memory on Android?

At first glance, the idea of disabling the internal memory seems strange: why deprive the device of the main storage? However, there are at least 5 situations when this is justified:

  • ๐Ÿ”„ Transferring data to an SD card as the main storage. A Android 6.0+ function has appeared that allows you to format microSD as internal memory. Before this, the original storage must be disabled to avoid conflicts. Adoptable Storage, allowing you to format microSD as internal memory. Before this, the original storage must be disabled to avoid conflicts.
  • ๐Ÿ› ๏ธ Diagnostics of hardware faults. If the phone slows down, overheats, or gives memory reading errors, turning it off helps you check whether the drive itself is to blame (for example, eMMC or UFS).
  • ๐Ÿ”’ Protecting data before repair. By sending your smartphone to a service, you can temporarily block access to the memory so that technicians cannot view personal files.
  • ๐Ÿ—‘๏ธ Preparing for a factory reset. Disabling memory before hard reset reduces the risk of damage to the file system.
  • ๐Ÿ“ฑ Experiments with firmwareWhen installing custom ROMs (for example, through TWRP) sometimes you need to unmount the partition /data.

It is important to understand that disabling the internal memory is not equivalent to deleting it - the data remains in place, but becomes inaccessible to the system and applications. This is a temporary measure that can be canceled without loss. However, if you plan to sell or transfer the phone to another person, it is better to perform a full reset (Factory Reset), since disabling memory does not guarantee protection against data recovery by specialized apps.

โš ๏ธ Attention: On some devices (for example, Samsung Galaxy s One UI), disabling internal memory can lead to automatic deletion of data from the folder DCIM (photos and videos). Before the procedure, copy media files to your computer or cloud.

Preparing for shutdown: what you need to do in advance

Before you start turning off the internal memory, do a few things mandatory steps. Neglecting them can lead to data loss or even โ€œbrickingโ€ the device.

First, create a backup. copy even if you do not plan to format the memory, failures occur during the procedure. Use:

  • ๐Ÿ–ฅ๏ธ PC: Connect your phone via USB in MTP and copy the files to your computer.
  • โ˜๏ธ Cloud: Google Drive, Yandex Disk or Dropbox (make sure there is enough space).
  • ๐Ÿ“ฑ Local backup: Applications like Swift Backup (requires root) or Titanium Backup.

Secondly, check the battery chargeIf the phone. will be discharged during the memory shutdown, this can lead to damage to the file system. The optimal charge level is at least 50%. Also connect the device to charging during the procedure.

Thirdly, find out the model and version of Android. from:

  • Manufacturer (Samsung, Xiaomi, Huawei etc.).
  • OS versions (Android 10 vs Android 13).
  • Availability rootrights or unlocked bootloader.

Create a backup copy of your data|Charge your phone to at least 50%|Find out the Android model and version|Connect the charger|Disable antivirus (if installed)-->

If you use Android 11+, please note that Google has tightened the rules for working with memory partitions. For example, access to. folder /Android/data restricted even for the file manager. In such cases, you may need ADB (Android Debug Bridge) or special utilities.

โš ๏ธ Attention: On devices with data encryption (for example, Pixel or OnePlus on default) disabling the internal memory without first unlocking the bootloader (OEM Unlock) may lead to access blocking. Check the encryption status in Settings โ†’ Security โ†’ Encryption.

Method 1: Disable through Android settings (without root)

The simplest and safest method is to use standard system tools. It is suitable for most devices on Android 6.0โ€“12 and does not require superuser rights.

Instructions:

  1. Open Settings and go to section Storage (or Memory).
  2. Click on Internal memory (can be called Device or Main storage).
  3. In the upper right corner, tap on icon โ‹ฎ (three dots) and select Disable or Extract (on some firmware).
  4. Confirm the action System. may ask you to enter PIN or a pattern key.

After this, the internal memory will become unavailable for writing, and a notification will appear in the list of storages DisabledTo return everything back, click on the memory again and select Connect.

๐Ÿ’ก

If there is no "Disconnect" option, try using Developer mode. To do this, click on the build number 7 times in Settings โ†’ About phone, then in the For developers section, enable the option USB debugging and try again.

On Samsung Galaxy c One UI the path may differ:

Settings โ†’ Device care โ†’ Memory โ†’ Settings (โ‹ฎ) โ†’ Disable internal memory

On Xiaomi (MIUI) is sometimes suggested instead of disabling Cleanup - this is not the same! In this case, use ADB (described below).

Manufacturer Version Android Is disabling supported through settings? Alternative method
Google Pixel 10โ€“14 Yes โ€”
Samsung 9โ€“13 (One UI) Partially (only on some models) ADB or TWRP
Xiaomi/Redmi 11โ€“13 (MIUI) No ADB or Fastboot
Huawei/Honor 8โ€“10 (EMUI) Yes (with limitations) Recovery mode

Method 2: Using ADB (for experienced users)

If the standard method does not work, it will come to the rescue Android Debug Bridge (ADB) is a debugging tool that allows you to control the device via the command line. This method is universal, but requires skills in working with PC and terminal.

What you will need:

  • ๐Ÿ–ฅ๏ธ Computer with Windows, macOS or Linux.
  • ๐Ÿ”Œ USB cable (preferably original).
  • ๐Ÿ› ๏ธ Installed drivers ADB i Fastboot.
  • ๐Ÿ“ฑ Enabled USB debugging on phone.

Step-by-step guide:

  1. Download Platform Tools from the official website Android Developers and unpack the archive.
  2. Connect your phone to the PC and enable debugging (a request will appear on the screen smartphone).
  3. Open Command Line (Windows) or Terminal (macOS/Linux) in the folder with Platform Tools.
  4. Enter the command to check connection:
    adb devices

    The serial number of the device should appear.

  5. Run the command to disable the internal memory:
    adb shell sm set-force-adoptable true

    Then:

    adb shell sm unmount /data

After executing these commands, the partition /data (where the internal memory is stored) will be unmounted. To get everything back, use:

adb shell sm mount /data
What to do if ADB does not see the device?

Make sure that:

1. USB debugging is enabled (Settings โ†’ For Developers โ†’ USB Debugging).

2. The correct drivers are installed (for Windows may be necessary Google USB Driver).

3. The original cable is used (cheap cables are often do not support data transfer).

4. The mode selected on the phone is File transfer (MTP), and not Charging.

If the problem persists, try restarting the phone and PC, and also starting ADB on behalf of the administrator.

On devices with Android 11+ an additional command may be required to unlock access:

adb shell pm uninstall -k --user 0 com.android.providers.media

This command temporarily disables the media provider, which blocks changes in memory. After completing the work, do not forget to restart the phone.

โš ๏ธ Attention: On some devices. (for example, Xiaomi s MIUI 12+) commands sm unmount may not work due to a modified kernel. In this case, you will need to unlock the bootloader and use TWRP.

Method 3: Disabling via TWRP (for flashed devices)

If your smartphone has an unlocked bootloader and custom recovery installed TWRP, you can disable the internal memory directly through it. This method is suitable for experienced users, as it requires working with memory partitions at a low level.

Advantages TWRP:

  • ๐Ÿ”ง Allows you to mount/unmount partitions manually.
  • ๐Ÿ›ก๏ธ Works even if the system does not boot.
  • ๐Ÿ“ฆ Supports creating backups before changes.

Instructions:

  1. Turn off the phone and hold down the combination of buttons to enter TWRP (usually Power + Volume Up).
  2. In the main menu, select Mount (Mounting).
  3. Uncheck the item Data (or Internal Storage).
  4. Return to the main menu and select Reboot โ†’ System.

After the reboot, the internal memory will be disabled. To get it back, go back to TWRP and check the box next to Data.

๐Ÿ’ก

Use TWRP is the only way to disable internal memory if the system does not boot (for example, due to file system corruption).

On some devices (for example, Samsung c Exynos) TWRP may not work correctly with the partition Data due to proprietary encryption. In this case, you will need to:

  1. Make a backup via TWRP โ†’ Backup โ†’ Data.
  2. Format the partition Data (attention: this will delete all data!).
  3. Unmount it before rebooting.

If you are not sure of your actions, it is better to refer to the instructions for a specific model on forums like XDA Developers or 4PDA.

Standard Android settings|ADB (command line)|TWRP (custom recovery)|Another method|Havenโ€™t tried it-->

Frequent errors and how to avoid them

Disabling internal memory is a procedure fraught with errors, especially for beginners. Let's look at the most common problems and ways to solve them.

Error 1: "Could not mount the partition"

Reasons:

  • ๐Ÿ”’ The partition is encrypted (for example, Pixel or OnePlus).
  • ๐Ÿ“ฑ Applications actively use memory (for example, WhatsApp or Telegram caching data).
  • ๐Ÿ› ๏ธ The file system is damaged (you need to check through fsck).

Solution: Reboot the phone into Safe Mode (safe mode) and try again. If this does not help, use ADB with the command:

adb shell lsof | grep /data

It will show which processes are blocking the partition.

Error 2: The phone does not turn on after turning off the memory

This happens if:

  • The partition was turned off /system instead of /data.
  • The process was interrupted (for example, the battery ran out).
  • Used an incompatible command ADB.

Solution: Boot into TWRP or Fastboot and remount the partition. If the phone does not respond, you will need to flash it via Odinh3 (for Samsung) or Fastboot.

Error 3: The data was lost after connecting the memory back

The damaged file system is to blame. To recover data:

  1. Connect the phone to the PC and use TestDisk or PhotoRec.
  2. If the partition is encrypted, try TWRP with the option Repair File System.
  3. As a last resort, take the device to a service center with a clean room (to remove the memory chip).
๐Ÿ’ก

Before any manipulations with the memory, check its health using applications like AIDA64 or DiskInfo. If the indicator Health is below 90%, the risk of data loss is much higher.

On devices with Android 12+ an error may occur AVB verification failed when you try to disable memory. with a mechanism Android Verified Bootthat blocks changes to partitions. The solution is to disable checking through Fastboot:

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Alternative solutions: when you donโ€™t need to disable memory

In some cases, disabling internal memory is an excessive measure. Letโ€™s consider alternatives that solve the same problem, but with less risk.

1. Transferring data to an SD card without turning off the memory

If the goal is to free up space, you can:

  • ๐Ÿ“ Use the SD card as portable storage (without formatting as internal memory).
  • ๐Ÿ”„ Transfer applications to the card via Settings โ†’ Applications โ†’ Storage.
  • โ˜๏ธ Set up automatic uploading of media files to the cloud (Google Photos, Yandex Disk).

2. Clearing memory without disconnecting

Instead of disabling storage, try:

  • ๐Ÿงน Delete the application cache (Settings โ†’ Storage โ†’ Cached data).
  • ๐Ÿ—‘๏ธ Use the built-in cleaner (Samsung: Device care; Xiaomi: Cleaning).
  • ๐Ÿ“ฆ Applications like SD Maid or Files by Google for deep cleaning.

3. memory

If you are preparing the phone for sale, instead of turning off the memory, do:

  1. Settings โ†’ System โ†’ Reset settings โ†’ Delete all data.
  2. Enable Cleaning space for applications (if there is an option).
  3. After the reset, check that the data is really deleted (sometimes files remain in DCIM/Thumbnails).

4. Using a second user (guest mode)

On Android 5.0+ you can create a separate user with limited access to memory:

  1. Settings โ†’ System โ†’ Multi-user mode.
  2. Add Guest or New user.
  3. In guest mode, the internal memory will not be available for changes.
๐Ÿ’ก

In 80% of cases, user problems are solved without disabling the internal memory. Always evaluate alternative methods first!

FAQ: Frequently asked questions about disabling internal memory

Is it possible to disable internal memory on Android without losing it? data?

Yes, disabling memory through standard settings or ADB does not delete data. However, if the file system is damaged, it may need to be restored when you reconnect, which sometimes leads to the loss of some files. Always make a backup!

Why did the phone start to slow down after turning off the memory?

This is normal: the system cannot write temporary files and cache to the internal memory, so it uses RAM or an external SD card (if it is slower). To restore performance, connect the memory back or transfer frequently used applications to a class memory card. via A2 (For example, SanDisk Extreme).

Is it possible to disable internal memory on a rooted phone?

Yes, with root you have more options. For example, you can manually unmount the partition via Terminal Emulator:

su

umount /data

But be careful: incorrect commands with superuser rights can lead to brick (inoperability) of the device.

What to do if the internal memory is disabled and the phone does not see the SD card?

This is a typical problem when using Adoptable Storage. Solutions:

  1. Reboot your phone.
  2. Click on the SD card and select Settings โ†’ Storage click on SD card and select Format as internal (attention: data the card will be erased!).
  3. If the card is not detected, check it on another device - it may be damaged.
How to disable internal memory on Android 13 and newer?

In the latest versions of Android, Google has tightened control over memory partitions. The standard method through the settings may not work. Alternatives:

  • Use ADB with the command sm unmount /data (requires USB debugging). data-i="356">On some devices (for example,
  • On some devices (for example, Pixel 7you need to first disable Storage Isolation:
  • adb shell device_config put storage_isolation_enabled false
  • For Samsung you may need Odinh3 a modified recovery.

If all else fails, consider alternative methods (transfer to SD, clear cache, etc.).