Android O, failed to mount /system, /dev/block/dm-0 is read only

from:https://android.stackexchange.com/questions/186630/android-o-failed-to-mount-system-dev-block-dm-0-is-read-only

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
9.687656][ T9] device-mapper: verity: 179:7: metadata block 65535 is corrupted [ 9.687703][ T1] EXT4-fs (dm-1): unable to read superblock [ 9.687726][ T1] [pid=1][BEGET][ERROR][fstab_mount.c:418]Mount device /dev/block/dm-1 to /vendor failed, err = 5, retry [ 9.687941][ T9] device-mapper: verity: 179:7: metadata block 65535 is corrupted [ 9.688000][ T1] EXT4-fs (dm-1): unable to read superblock [ 9.688010][ T1] [pid=1][BEGET][ERROR][fstab_mount.c:418]Mount device /dev/block/dm-1 to /vendor failed, err = 5, retry [ 9.688224][ T9] device-mapper: verity: 179:7: metadata block 65535 is corrupted [ 9.688283][ T1] EXT4-fs (dm-1): unable to read superblock [ 9.688292][ T1] [pid=1][BEGET][ERROR][fstab_mount.c:418]Mount device /dev/block/dm-1 to /vendor failed, err = 5, retry [ 9.939611][ T1] [pid=1][BEGET][ERROR][fstab_mount.c:381]Unsupported file system " none " [ 10.121327][ T1] [pid=1][Init][ERROR][switch_root.c:121]Failed to mount moving /mnt/data to /usr/mnt/data, err = 2 [ 10.199560][ T1] [pid=1][BEGET][ERROR][fstab.c:334]Failed to get fstab item from mount point " /misc " [ 10.200180][ T1] [pid=1][PARAM][ERROR][param_include.h:75]Invalid current param const.cust.config_dir_layer [ 10.200271][ T1] [pid=1][PARAM][ERROR][param_manager.c:673]Forbid to access const.cust.config_dir_layer label 0 0 [ 10.200285][ T1] [pid=1][PARAM][ERROR][param_manager.c:724]SystemReadParam failed! name is:const.cust.config_dir_layer, errNum is:1002! [ 10.200297][ T1] [pid=1][PARAM][ERROR][param_include.h:75]Invalid current param const.cust.follow_x_rules [ 10.200371][ T1] [pid=1][PARAM][ERROR][param_manager.c:673]Forbid to access const.cust.follow_x_rules label 0 0 [ 10.200383][ T1] [pid=1][PARAM][ERROR][param_manager.c:724]SystemReadParam failed! name is:const.cust.follow_x_rules, errNum is:1002! [ 10.202931][ T1] [pid=1][PARAM][ERROR][param_include.h:75]Invalid current param const.cust.config_dir_layer [ 10.203010][ T1] [pid=1][PARAM][ERROR][param_manager.c:673]Forbid to access const.cust.config_dir_layer label 0 0 [ 10.203023][ T1] [pid=1][PARAM][ERROR][param_manager.c:724]SystemReadParam failed! name is:const.cust.config_dir_layer, errNum is:1002! [ 10.203034][ T1] [pid=1][PARAM][ERROR][param_include.h:75]Invalid current param const.cust.follow_x_rules [ 10.203111][ T1] [pid=1][PARAM][ERROR][param_manager.c:673]Forbid to access const.cust.follow_x_rules label 0 0 [ 10.203122][ T1] [pid=1][PARAM][ERROR][param_manager.c:724]SystemReadParam failed! name is:const.cust.follow_x_rules, errNum is:1002! [ 10.207896][ T1] [pid=1][PARAM][ERROR][param_base.c:390]Invalid workSpace for musl.log.enable [ 10.207902][ T1] [pid=1][PARAM][ERROR][param_base.c:620]Forbid to access parameter musl.log.enable [ 10.207913][ T1] [pid=1][PARAM][ERROR][param_base.c:390]Invalid workSpace for musl.ld.debug.dlclose [ 10.207922][ T1] [pid=1][PARAM][ERROR][param_base.c:620]Forbid to access parameter musl.ld.debug.dlclose [ 10.207932][ T1] [pid=1][PARAM][ERROR][param_base.c:390]Invalid workSpace for debug.hitrace.tags.enableflags [ 10.207942][ T1] [pid=1][PARAM][ERROR][param_base.c:620]Forbid to access parameter debug.hitrace.tags.enableflags [ 10.307640][ T54] bbox:[info][blackbox_core.c:267] wait for log part [/data] end!
最新发布
08-19
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值