Patched Magisk to keep root after OTA updates in the same slot. Not required for devices which support seamless updates
boot.img
for your deviceboot.img
and copy it to your PCadb reboot bootloader
boot.img
fastboot flash boot apatch_version_version_randomletter.img
fastboot reboot
Default LineageOS kernel does not support LKM mode