查找下面代码段:
latemount,wait,check,formattable=aes-256-xts:wrappedkey_v0,quota,reservedsize=128M,sysfs_path=/sys/devices/platform/soc/1d84000.ufshc,checkpoint=fs
替换为这个:
latemount,wait,check,formattable,keydirectory=/metadata/vold/metadata_encryption,metadata_encryption=aes-256-xts:wrappedkey_v0,quota,reservedsize=128M,sysfs_path=/sys/devices/platform/soc/1d84000.ufshc,checkpoint=fs
🏷顺便贴上去除avb和data加密教程教程:
搜索以下代码段,删除所有搜到的前三个
1⃣,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey
2⃣avb=vbmeta_system,
3⃣avb,
4⃣把fileencryption修改为encryptable
保存并删除备份,完成。