Skip to content

How to remount /system as read-write in Android

November 27, 2012

Suppose you are logged into your Android device using adb or perhaps by means of a console app, and you require write access to /system then do as following

Become root

# su

Check how the /system partition is mounted as read-only (ro), In particular note the device

# mount | grep system

/dev/block/stl12 /system ext4 ro,relatime,barrier=1,data=ordered 0 0

Remount the partiton in read-write mode (rw)

# mount -o rw,remount /dev/block/stl12 /system

Finally check if it was mounted in read-write mode (rw)

# mount | grep system
/dev/block/stl12 /system ext4 rw,relatime,barrier=1,data=ordered 0 0

When done, do not forget to remount it read-only again, for safety reasons, obviously

# mount -o ro,remount /dev/block/stl12 /system

Advertisements

From → Uncategorized

7 Comments
  1. Why not just
    # mount -o rw,remount /system

    ?

  2. Thank you. I really needed this to nuke CellBroadcastReceiver.apk, which fired like 50 cell messages per hour.

  3. aaaaaaa permalink

    I need to do mount -o rw,remount /system from inside android, do you know any method?

  4. aaaaaaa permalink

    I need to do mount -o rw,remount /system from inside android, do you know any method?

    I try with terminal emulator but doesn’t works!!

    • OrtaParmak permalink

      do you su before trying the command above? I do it after every update and it works just fine in terminal emulator

Trackbacks & Pingbacks

  1. adb equivalents in shell with root access | Curisu's Sooorguud Webrog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: