August 22

Android: ADB – Mount a filesystem read-write

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)


Copyright 2021. All rights reserved.

Posted August 22, 2011 by Timothy Conrad in category "Android

About the Author

If I were to describe myself with one word it would be, creative. I am interested in almost everything which keeps me rather busy. Here you will find some of my technical musings. Securely email me using - PGP: 4CB8 91EB 0C0A A530 3BE9 6D76 B076 96F1 6135 0A1B