(转)android-problem——remount of /system failed: Read-only file system

After adb remount, the system cannot be read or written. Need to do adb disable-verity

On the Android6.0 ( Android  M) userdebug version (the eng version does not have this problem), it is found that after using the adb remount system, the system partition still cannot be operated, and it is prompted that there is no write permission, which is a read-only file system Read-only file system

The solution is as follows 
Method 1: Use the new adb toolkit 
1. Download the latest adb toolkit to 
check whether it is the latest version of adb: 
# adb version 
Android Debug Bridge version 1.0.32 
Revision 09a0d98bebce-android 
(This information indicates that it is the latest 1.0 .32 version, the old 1.0.32 version does not have this information)

The latest version of adb has added some adb commands, such as adb disable-verity, etc. You can check whether the installed adb supports the disable-verity command through adb help

The latest adb toolkit download address is as follows:  Click to open the link

2. Execute the following commands 
1. adb root 
2. adb disable-verity 
(the latest adb toolkit only supports the adb disable-verity command, if it is a Linux development environment, you can use the project compilation result directory out/host/linux-x86/ adb executable file under bin) 
3. adb reboot to restart the device 
(as long as the device is not flashed, the above steps are done once) 
4. adb root 
5. adb remount 
can now read and write to the system partition

Note: 
1. After the new version of adb tool adb shell enters the command line, Ctrl+c cannot exit, you can enter exit to exit 
2. You can click the adb\run_adb.bat file to directly start adb

Reprinted from: http://blog.csdn.net/hzw05103020/article/details/52679780


After adb remount, the system cannot be read or written. Need to do adb disable-verity

On the Android6.0 ( Android  M) userdebug version (the eng version does not have this problem), it is found that after using the adb remount system, the system partition still cannot be operated, and it is prompted that there is no write permission, which is a read-only file system Read-only file system

The solution is as follows 
Method 1: Use the new adb toolkit 
1. Download the latest adb toolkit to 
check whether it is the latest version of adb: 
# adb version 
Android Debug Bridge version 1.0.32 
Revision 09a0d98bebce-android 
(This information indicates that it is the latest 1.0 .32 version, the old 1.0.32 version does not have this information)

The latest version of adb has added some adb commands, such as adb disable-verity, etc. You can check whether the installed adb supports the disable-verity command through adb help

The latest adb toolkit download address is as follows: 
http://download.csdn.net/detail/linuxarm521/9572709

2. Execute the following commands 
1. adb root 
2. adb disable-verity 
(the latest adb toolkit only supports the adb disable-verity command, if it is a Linux development environment, you can use the project compilation result directory out/host/linux-x86/ adb executable file under bin) 
3. adb reboot to restart the device 
(as long as the device is not flashed, the above steps are done once) 
4. adb root 
5. adb remount 
can now read and write to the system partition

Note: 
1. After the new version of adb tool adb shell enters the command line, Ctrl+c cannot exit, you can enter exit to exit 
2. You can click the adb\run_adb.bat file to directly start adb

Reprinted from: http://blog.csdn.net/hzw05103020/article/details/52679780

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325771503&siteId=291194637