At the very beginning I followed the WTF instructions, and it looks like these include flashing no-verity (it was a while ago so I don't remember, and am going by the instructions currently in the WTF thread). So I was bootloader unlocked and rooted at the beginning of what I posted above. The wipe / TitaniumBackup that got me into this mess was done for other reasons. For my recent LineageOS, 20b, 20d flashing I did Magisk but not no-verity. I'm really just blindly trying things and following random instructions online (good way to brick a phone, I know). It seems difficult to find educational resources on this stuff without just reading through thousands of forum posts.
The current setup seems to be working, and I'm happy with the stock firmware mainly because of the full featured camera app. I'd prefer my phone to be encrypted. Is there any downside to encryption, other than pain when switching ROMs? And at the risk of getting this thread too far off topic, if I change the ROM would it be possible to restore all my settings by copying over an rsync backup onto a blank ext4 partition using the TWRP shell? The backup is made using termux+ssh+rsync.
---------- Post added at 08:26 PM ---------- Previous post was at 08:23 PM ----------
Looks like the 20D package from this thread has no-verity built in, judging by the description in the first post.