google / android-emulator-m1-preview

Apache License 2.0
1.83k stars 161 forks source link

'/dev/block/dm-0' is read-only #67

Open shu1qin9 opened 3 years ago

shu1qin9 commented 3 years ago

I want cp certificate in /cacert, However, an error occurs during command execution; The command is mount -o rw,remount / mount -o rw,remount /system mount -o rw,remount /dev/block/dm-0 /system

All of these commands report errors:'/dev/block/dm-0' is read-only

Google search is the solution:adb disable-verity

However, after I execute the command, a new error is still generated: image

igufei commented 2 years ago

I want cp certificate in /cacert, However, an error occurs during command execution; The command is mount -o rw,remount / mount -o rw,remount /system mount -o rw,remount /dev/block/dm-0 /system

All of these commands report errors:'/dev/block/dm-0' is read-only

Google search is the solution:adb disable-verity

However, after I execute the command, a new error is still generated: image

I also encountered this problem, did you solve it?