1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

Not needing "mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system"?

Discussion in 'Android Hacks and Help' started by lvlln, Dec 14, 2009.

  1. lvlln
    Offline

    lvlln New Member

    Joined:
    Nov 10, 2009
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    0
    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?
  2. victorythagr8
    Offline

    victorythagr8 New Member

    Joined:
    Nov 2, 2009
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    0

    you need to use that command to write in /system/bin
  3. lvlln
    Offline

    lvlln New Member

    Joined:
    Nov 10, 2009
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    0
    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.
    Last edited: Dec 14, 2009
  4. usererror
    Offline

    usererror New Member

    Joined:
    Nov 7, 2009
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    I am trying to mount my /system folder, and it appears to work how ever when i try to copy a file up with the "adb push" permission denied.

    any idea why?

    I must be running this command wrong somehow...
Search tags for this page

/dev/block/mtdblock3

,
/dev/block/mtdblock3 /system
,
android mount remount
,

android remount

,

android remount rw

,
mount remount rw
,
mount yaffs2
,
mtdblock3
,
remount android rw
,

remount rw

,

remount rw android

,
remount system rw android
,
remount yaffs2
,
yaffs2 /dev/block/mtdblock3
,
yaffs2 /dev/block/mtdblock3 /system