You forgot to format the user data partition. Boot into recovery mode and trigger a factory reset.
Standard rooting alters the boot partition, which immediately triggers AVB blocks.
fastboot flash vbmeta vbmeta_custom.img
While this command is powerful, it comes with trade-offs you should be aware of:
Install the official OEM USB drivers (Google, Xiaomi, OnePlus, Samsung, etc.) so your PC recognizes the device in fastboot mode.
When you execute the fastboot command to disable verification, you are changing specific flags inside the vbmeta image before flashing it to the phone. Specifically, the command triggers two main actions:
You will no longer receive seamless over-the-air updates from your manufacturer. You must manually flash future updates. Conclusion
Note: If fastboot -w fails or is not supported by your device, boot into your custom or stock recovery immediately after flashing and perform a "Format Data / Factory Reset". Step 6: Reboot Your Device
fastboot flash boot magisk_patched.img
Vbmeta Disable-verification Command Instant
You forgot to format the user data partition. Boot into recovery mode and trigger a factory reset.
Standard rooting alters the boot partition, which immediately triggers AVB blocks.
fastboot flash vbmeta vbmeta_custom.img
While this command is powerful, it comes with trade-offs you should be aware of:
Install the official OEM USB drivers (Google, Xiaomi, OnePlus, Samsung, etc.) so your PC recognizes the device in fastboot mode.
When you execute the fastboot command to disable verification, you are changing specific flags inside the vbmeta image before flashing it to the phone. Specifically, the command triggers two main actions:
You will no longer receive seamless over-the-air updates from your manufacturer. You must manually flash future updates. Conclusion
Note: If fastboot -w fails or is not supported by your device, boot into your custom or stock recovery immediately after flashing and perform a "Format Data / Factory Reset". Step 6: Reboot Your Device
fastboot flash boot magisk_patched.img