Updating Lineage OS while keeping root working
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.
Extract files from the newest image
Head over to https://download.lineageos.org/pioneer and download the latest signed zip build and recovery image
Compare the SHA256 signature from the website with the downloaded file. If you are on Windows, you can use simple powershell cmdlet Get-FileHash. You don't have to check the entire string, just some of the characters, since if the file was modified, the hash would be completely different.
Get-FileHash .\lineage-18.1-20210826-nightly-pioneer-signed.zip
Algorithm Hash Path
--------- ---- ----
SHA256 DD82D969CA7898F3C42F7B2373F3C354E2733CED4DF94721E7D06472E6D665A0 D:\Exampledir\dir...