“Permission Denied” while trying to write a file to the Android

Posted on December 29, 2011 by GoogleThem.
Categories: Android tips and tricks.

Mount an Android filesystem read-write

 Very often when you want to write files to a particular partition on ADP, you will get a “Permission Denied” if the partition is mounted read-only.
To get around this, you need to mount the partition read-write. Typically this is done with /system partition

adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

(Replace /dev/block/mtdblock3 & /system with appropriate device path and mount point, as obtained from the command mount or cat /proc/mounts)

no comments yet.

Leave a comment

Names and email addresses are required (email addresses aren't displayed), url's are optional.

Comments may contain the following xhtml tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>




Stop SOPA