http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html
Very often when you want to write files to a particular partition on ADP1, 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
[code]
$ adb shell
$ su
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
[/code]
(Replace /dev/block/mtdblock3 & /system with appropriate device path and mount point, as obtained from cat /proc/mounts)
Very often when you want to write files to a particular partition on ADP1, 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
[code]
$ adb shell
$ su
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
[/code]
(Replace /dev/block/mtdblock3 & /system with appropriate device path and mount point, as obtained from cat /proc/mounts)
'Android' 카테고리의 다른 글
emulator bash setting (0) | 2013.10.08 |
---|---|
android 내에 apk 가 설치되는 장소 (0) | 2013.10.08 |
change emulator partition size (0) | 2013.10.08 |
toast (0) | 2013.10.08 |
listview (0) | 2013.10.08 |