TechBuzzPro

Android 2/3 Read‑Only File System Stuck – Fix Guide

· 6 min read · Phones & Tablets

In this article
  1. What You'll Need
  2. Step‑By‑Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can fix a read‑only file system that is stuck on Android 2 or Android 3 by remounting the partition with write permissions or by rebooting into a recovery environment that allows write access.

What You'll Need

  • A computer running Windows, macOS, or Linux with the Android SDK Platform‑Tools installed (ADB and fastboot).
  • A USB cable that works for data transfer.
  • Root access on the device, or a custom recovery (such as ClockworkMod or TWRP) already installed.
  • Basic command‑line knowledge.

Step‑By‑Step

  1. Enable Developer options on the device. On Android 2.x go to Settings > Applications > Development and check "USB debugging". On Android 3.x open Settings > Developer options and enable "USB debugging". The exact wording may differ slightly by version.
  2. Connect the device to the computer with the USB cable. Wait for the computer to recognise the device; you may see a notification asking to allow USB debugging – tap OK.
  3. Open a terminal (Command Prompt, PowerShell, Terminal.app, etc.) and verify the connection by running:
    adb devices
    If the device serial number appears under "List of devices attached", the link is working.
  4. Obtain a root shell. Most stock Android 2/3 builds do not permit adb root unless the device is already rooted. If you have a custom recovery, you can skip this step and go directly to step 6. Otherwise, run:
    adb shell su
    If you are prompted on the device for superuser permission, grant it.
  5. Check the current mount status of the /system partition (or any other partition that appears read‑only). Run:
    adb shell mount | grep /system
    The output will show something like /dev/block/mtdblock0 /system ro,relatime, where ro indicates read‑only.
  6. Remount the partition as read‑write. Use the exact device node shown in the previous step. A typical command is:
    adb shell mount -o rw,remount /system
    If the command succeeds, running mount | grep /system again should now display rw instead of ro.
  7. If the simple remount fails, reboot into the custom recovery that you have installed. From the terminal run:
    adb reboot recovery
    The device will restart into the recovery UI.
  8. In the recovery menu, select "Mount /system" (or a similarly named option). Most recoveries automatically mount /system as read‑write, but verify the option is checked.
  9. Open an ADB shell again (the device stays in recovery mode, so the same adb devices command works). Now you can modify files, delete caches, or replace a corrupted build.prop that may have caused the read‑only lock.
  10. When you have finished the file operations, reboot the device back to Android with:
    adb reboot
  11. After the normal boot, confirm that the partition is writable by running the mount check again from a terminal on the device (or via adb shell). If it still shows ro, repeat the recovery step or consider flashing a fresh system image.
  12. Optional: If you prefer a one‑time fix without a custom recovery, you can flash a signed stock system image using fastboot (if the bootloader is unlocked). This is more advanced and should only be attempted after backing up all important data.

Common Mistakes

  • Trying to run adb root on a non‑rooted stock device. The command will fail silently, leaving you without the required privileges.
  • Using the wrong device node in the mount command (e.g., /dev/block/mmcblk0p1 instead of the actual /dev/block/mtdblock0). Always copy the exact string from the mount output.
  • Skipping the step to enable USB debugging. Without it, the computer cannot communicate with the device over ADB.
  • Attempting to edit system files while the partition is still mounted read‑only. Changes will not be saved and may corrupt the file system.
  • Forgetting to re‑mount /system as read‑write after flashing a new image. Some flashing tools automatically remount as read‑only for safety.

Tips

  • Keep a backup of /system/build.prop before editing it. A simple copy command (cp /system/build.prop /sdcard/) can save you from boot loops.
  • If the device refuses to stay in write mode after a reboot, check for a ro.secure=1 flag in build.prop. Changing it to 0 (and then rebooting) can allow persistent write access on some rooted devices.
  • Use adb logcat to watch the system log while you attempt the remount. Errors such as "mount: permission denied" give clues about missing root rights.
  • When using a custom recovery, enable the "Advanced" or "Mount" section that lets you choose the mount mode (ro/rw). Some recoveries default to read‑only for safety.
  • Always power off the device before flashing a new system image with fastboot. A cold boot reduces the risk of incomplete writes.

Troubleshooting

If the device does not appear in adb devices: unplug and re‑plug the USB cable, try a different port, and ensure the correct USB driver is installed on Windows. On macOS and Linux, no driver is required, but you may need to add a udev rule for Linux.

If the mount command returns "invalid argument" or "operation not permitted": verify that you have a root shell (whoami should return root). If you are not root, the command will be rejected.

If the partition reverts to read‑only after a reboot: the device may have a security flag that forces /system to be read‑only on every boot. In that case, you must either keep the device in recovery for the changes or flash a modified system image that disables the flag.

If the device gets stuck in a boot loop after editing build.prop: boot into recovery, use the "Mount /system" option, then restore the original build.prop from your backup. Reboot again.

If fastboot commands are rejected: the bootloader is likely locked. Unlocking the bootloader will wipe user data, so back up everything first.

Frequently Asked Questions

Why does Android mount /system as read‑only by default?

Mounting /system as read‑only protects the core operating system files from accidental modification or malware, ensuring stability and security.

Can I make /system permanently writable without rooting?

No. Permanent write access to /system requires root privileges or a custom recovery, both of which involve modifying the device’s security model.

Will flashing a new system image erase my apps and data?

Flashing only the /system partition typically leaves user data untouched, but many fastboot commands also rewrite the bootloader or userdata partitions, which will erase everything. Always read the command description before proceeding.

Is it safe to use the "mount -o rw,remount" command on Android 3.0 tablets?

It is safe as long as you have a proper root shell and you do not modify critical files while the system is running. Performing the operation from recovery is even safer because the OS is not actively using those files.

What if my device does not have a custom recovery installed?

You can still attempt the remount from a rooted shell, but if root is unavailable you will need to flash a custom recovery first. Many devices allow unlocking the bootloader and installing TWRP via fastboot.

Will these steps work on Android 4.0 and later?

The general approach (remount, recovery, fastboot) is the same, but newer Android versions have additional SELinux policies that may block write attempts. For Android 4.0+, you may need to disable enforcing mode or use a newer recovery that handles SELinux.