I try to mount /system in Android O to RW using the command mount -o rw,remount /system
, and i got this feedback on terminal dev/block/dm-0 is read-only
*Already in adb root
Any idea? Thanks
I try to mount /system in Android O to RW using the command mount -o rw,remount /system
, and i got this feedback on terminal dev/block/dm-0 is read-only
*Already in adb root
Any idea? Thanks
For debug build, user have to disable-verity
at first.
adb root
adb disable-verity
adb reboot
adb remount
adb shell
mount -o rw,remount /system
In order to know build type of your android, in adb shell
enter the following command
cat /system/build.prop | grep build.type
adb reboot
you will have to adb root
again. Apart from that, works fine
– Krystian
Sep 10 '19 at 05:34
adb reboot
, the emulator goes offline permanently :( I can only restart it manually.
– user3738870
Apr 12 '20 at 23:06
[ 4.404721] EXT4-fs (vdd1): recovery complete [ 4.407789] EXT4-fs (vdd1): mounted filesystem with ordered data mode. Opts: [ 6.472377] cfg80211: failed to load regulatory.db [ 6.567761] reboot: Restarting system with command 'bootloader' [ 6.572103] reboot: machine restart [ 0.000000] Linux version 5.4.47-01061-g22e35a1de440
– Gizmo
Aug 16 '20 at 17:58
adb disable-verify
did not work for me. I received an error: avb_ops_user.cpp:217: ERROR: Error writing data. avb_user_verity.c:205: ERROR: Error writing to partition 'vbmeta' Error setting verity
– Eric
Dec 20 '22 at 23:59
disable-verity
and it mounted successfully – hellojoshhhy Nov 20 '17 at 09:04/system/build.prop
. – Andy Yan Nov 20 '17 at 10:12