Magisk not rooting after upgrading to HyperOs 2.0

Wait 5 sec.

I was using Android 14 and HyperOs 1.0 on my redmi pad SE (spark) which I was able to root using MAgisk. But I installed a random module and which caused my device to bootloop. So I downloaded the global firmware Android 15 with hyperos 2.o (i was using Indian firmware initially) . Now after i patched my boot.img. I sucessfully flashed it , (tried but , just fastboot flash, and flash boot_a and boot_b). But still Magisk is showing not installed. What could be the issue ?