且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

#Android Ticks#Mount a filesystem read-write

更新时间:2022-09-15 17:31:46

Mount a filesystem read-write

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

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 cat /proc/mounts)










本文转自 breezy_yuan 51CTO博客,原文链接:http://blog.51cto.com/lbrant/1617634,如需转载请自行联系原作者