Not needing "mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system"?
This is a discussion on Not needing "mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system"? within the Droid Hacks forums, part of the Droid Hacking category; In all the instructions that involve changing files under /system, I see that the first thing to do is to mount it as read-writeable, then ...
Not needing "mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system"?
In all the instructions that involve changing files under /system, I see that the first thing to do is to mount it as read-writeable, then at the end, mount it as read only:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
...
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
However, I'm finding that I can read-write files in the /system directory just fine without all the remounting. Does anyone know what this could mean? My phone seems to be functioning just fine so far. Should I try mounting /system as ro like in the last step just to be safe?
In all the instructions that involve changing files under /system, I see that the first thing to do is to mount it as read-writeable, then at the end, mount it as read only:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
...
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
However, I'm finding that I can read-write files in the /system directory just fine without all the remounting. Does anyone know what this could mean? My phone seems to be functioning just fine so far. Should I try mounting /system as ro like in the last step just to be safe?
you need to use that command to write in /system/bin
you need to use that command to write in /system/bin
I see, so it's not for any subdirectory or file under /system, but only for editing/creating files/directories under the bin subdirectory?
EDIT:
I've attached a couple very simple scripts (just copy-pastes of the actual commands) you can put into the /system/xbin folder to simplify the process of mounting /system to be read-only and read-write. Remove the '.txt' before putting them on there.
Saves a lot of typing and removes potential for typos.