[ACCEPTED]-A terminal command for a rooted Android to remount /System as read/write-mount

Accepted answer
Score: 126

I use this command:

mount -o rw,remount /system

0

Score: 18

You can run the mount command without parameter 4 in order to get partition information before 3 constructing your mount command. Here is 2 an example of the mount command without 1 parameter outputed from my HTC Hero.

$ mount
mount
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
none /dev/cpuctl cgroup rw,cpu 0 0
/dev/block/mtdblock3 /system yaffs2 rw 0 0
/dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev 0 0
/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev 0 0
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=
1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,s
hortname=mixed,utf8,errors=remount-ro 0 0
Score: 12

Try

mount -o remount,rw /system

If no error 6 message is printed, it works.

Or, you should 5 do the following.

First, make sure the fs 4 type.

mount

Issue this command to find it 3 out.

Then

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 2 /system

Note that the fs(yaffs2) and device(/dev/block/mtdblock3) are 1 depend on your system.

Score: 5

Instead of

mount -o rw,remount /system/

use

mount 4 -o rw,remount /system

mind the '/' at the 3 end of the command. you ask why this matters? /system/ is 2 the directory under /system while /system 1 is the volume name.

Score: 5

You can try adb remount command also to 1 remount /system as read write

adb remount
Score: 4

You don't need to pass both arguments when 3 performing a remount. You can simply pass 2 the mount point (here /system). And /system 1 is universal amongst Android devices.

Score: 2

I had the same problem. So here is the 4 real answer: Mount the system under /proc. Here 3 is my command:

mount -o rw,remount /proc /system

It works, and in fact is 2 the only way I can overcome the Read-only 1 System problem.

Score: 2

This is what works on my first generation 6 Droid X with Android version 2.3.4. I suspect 5 that this will be universal. Steps:

  1. root 4 system and install su.

  2. Install busybox

  3. Install 3 a terminal program.

  4. to mount system rw first 2 su then

    busybox mount -o rw,remount system
    
  5. To remount ro

    busybox mount -o ro,remount system
    

Note that there are 1 no slashes on "system".

Score: 1

If you have rooted your phone, but so not 7 have busybox, only stock toybox, here a 6 one-liner to run as root :

mount -o rw,remount 5 $( mount | sed '/ /system /!d' | cut -d 4 " " -f 1 ) /system

toybox do not support 3 the "-o remount,rw" option

if you have busybox, you 2 can use it :

busybox mount -o remount,rw 1 /system

More Related questions