# Android文件系统读写挂载

在Android O系统中， `/system` 目录是只读的，要挂载成读写的方法如下：

```
adb root
adb disable-verity
adb reboot
adb remount
adb shell
mount -o rw,remount /system
```

## 参考

* [Android O, failed to mount /system, /dev/block/dm-0 is read only](https://android.stackexchange.com/questions/186630/android-o-failed-to-mount-system-dev-block-dm-0-is-read-only)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://huataihuang.gitbook.io/cloud-atlas-draft/develop/android/startup/android_mount_system_rw.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
