So for a while on my XZ1 we need a kernel to get root. Eventually though Sony stopped gutting the features so you didn't really need a kernel. I figured out that I could just update to the latest security update. Flash twrp.img as recovery via adb. Let android boot so it creates it all. Then reboot to twrp and install magisk from the zip and it patched the boot.img to have root. It is honestly one of the easiest rooting ways I have ever seen on a Sony unit. I know my XZ1 has an A/B partition scheme but the Xperia 5 might be different. Either way it is worth a shot to try.Could You specify what You mean?![]()
