Failed to decrypt data in TWRP on LOS 15.1 system

I use LineageOS for microG, which gets weekly updates, so in general I update weekly …


It depends on what you want to do with the encryption.

I don’t quite get until now what you are trying to achieve.

If you want to be able to decrypt user data in TWRP (e.g. for backup purposes), LineageOS 15.1 encryption will not work until TWRP can handle that. LineageOS 14.1 encryption or encryption with one of Fairphone’s OSes will work for that.

If you just want to do updates, encryption has nothing to do with this, because the partition which gets updated is not encrypted.

And you want to use something like Flashfire for installing stuff? So you don’t want to use TWRP? Encryption wouldn’t matter either way.

Regarding the current state of affairs with the new camera module …

If you want to encrypt … enable the flashlight before and it should work.
If you want to reboot automatically into recovery (e.g. for updates) … enable the flashlight before and it should work.
If you want to shutdown … enable the flashlight before and it should work.

For safety’s sake, disconnect any USB connection and disable Bluetooth, both things have lead to the flashlight workaround not working for other users occasionally.