But each time I flash the magiskpatchedboot.img, it throws me into a bootloop or the logo loading screen freezes, and I have to re-flash the boot_a/b.img's to the original state.
Then I got the idea to attempt sideloading superuser.zip from adb. But now I get a signature failure on installation. I think in one of my many flashings I used a blank nvram.img cause my IMEI disappeared. Do you know a command to re-write the IMEI on nvram.img? Or another possible solution?