adb push boot.img /sdcard/

fastboot flash boot magisk_patched_[random].img # For devices with init_boot instead: # fastboot flash init_boot magisk_patched_[random].img

adb shell getprop ro.boot.veritymode

Android 14 and 15 have moved toward and VABC (VBMeta + Android Boot Control). Eventually, the vbmeta partition will be merged into the super partition. When that happens, patching vbmeta inside boot.img will no longer be a "trick"—it will be the only way to root.

Depending on your device architecture, you may need to handle vbmeta differently:

You can do this manually with avbtool from AOSP: