You need the original boot.img (or init_boot.img for newer Android 13+ devices) that exactly matches your current firmware version .
. It also improved data encryption detection and fixed bugs related to stub CPIO and recovery reboots page for your device model? boot image for magisk 25.2
fastboot flash boot magisk_patched.img
This means your device doesn't support boot image patching (very rare on devices after 2017). You may need to use recovery-based rooting. You need the original boot
The boot image (typically named boot.img ) is a partition on your Android phone that contains the kernel and the ramdisk. When you turn on your phone, the bootloader loads this image into RAM. The ramdisk contains essential system files and initialization scripts. fastboot flash boot magisk_patched
To patch a boot image with Magisk 25.2, you first need to extract the original file from your device's stock firmware. Official Firmware