To make this work on devices with AVB, you must independently disable the vbmeta check using fastboot commands. The standard method is:
: Scan the provided image for Android Verified Boot (AVB) 2.0 metadata structures. patch vbmeta in boot image magisk
To prevent the device from rejecting the modified boot image, you must flash the vbmeta image with specific flags to disable verification. To make this work on devices with AVB,
In Advanced Settings , ensure "Preserve AVB 2.0/dm-verity" is unchecked if you want to disable verity. patch vbmeta in boot image magisk