avbctl

cat /proc/sys/fs/verity/require_signatures
1

表示开启了fs验证

cat /vendor/etc/fstab.qcom

system      /system   ext4    ro,barrier=1,discard                                 wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey
--------------------------------------------------------------
system_ext  /system_ext   ext4    ro,barrier=1,discard                                 wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
--------------------------------------------------------------
product    /product       ext4    ro,barrier=1,discard                                 wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
--------------------------------------------------------------

进入twrp执行关闭

avbctl --force disable-verification
avbctl --force disable-verity
disable-verity
avbctl disable-verification

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注