Updating Lineage OS while keeping root working with Magisk

Decided it would be nice to document how to perform an update, because the releases appear fairly frequently and the process isn't exactly straightforward like clicking Download and Install button.

Perform update normally trough OTA

Navigate to Settings --> System --> Advanced --> Updater. Pick the newest update, download and install. After it has finished, reboot your device.

image-1630097882100.png

image-1630097896700.png

image-1630097917300.png

After reboot, open Magisk to check if you are still rooted. Most likely, you are not. Now how to fix it. The only way I found working is to basically repeat the whole root process again. In short:

These steps are decribed in more detail over here: https://selfhostedfuture.xyz/books/everything-nix-and-libre-software/page/rooting-xperia-xa2-on-lineage-os


Revision #7
Created 27 August 2021 21:19:04 by Marek
Updated 6 August 2023 12:13:09 by Marek