Let me explain before you complain about: "Magsik v12 is already Sony compatible!"
Yes, the installer is - but it only works on devices with disabled Sony RIC service.
TL;DR: Download in attachments.
Do you need this?
If you are using Sonys stock unpatched boot image or drm-fix without RIC disabler you should use this version of magisk, since it includes a RIC disabler.
Recommended workaround without altered Magisk:
1. Patch your boot image with rootkernel tool (disable sony ric at least): https://forum.xda-developers.com/xpe...el-dm-t3301605
2. Use orignal magisk with the patched boot image: https://forum.xda-developers.com/app...mless-t3473445
How and why
I was stuck with debugging an issue regarding MagiskSU for hours. The Magisk installation was fine, but somehow MagiskSU was not there which made Magisk useless for me (=> no MagiskHide, no modules, no hosts support, etc). I finally realized that Sonys RIC service prevents the magic_mask.sh script (the script that enables Magisk and its features during boot) from symlinking the su binary and magiskpolicy in /sbin
But it works for me without your patch!?
Did you use rootkerneltool from @tobias.waldvogel with your current kernel? It is capable of disabling Sony RIC aswell and maybe you did that or are using a kernel without Sony RIC.
The fix (for developers) @topjohnwu
magic_mask.sh, add this in late_start service mode:
#Try to disable Sony RIC echo 0 > /sys/kernel/security/sony_ric/enable if [ $? -eq 0 ]; then log_print "* Sony RIC service disabled"; else log_print "* Sony RIC service NOT disabled :(" fi