- Jan 18, 2013
Hi there. So yesterday I removed encryption to test some GSI based ROMs. But now I want to revert back to having encrypted data. I installed LineageOS and I have everything set up correctly, but when I try to encrypt data it simply soft-reboots back to the lockscreen.
Does anyone know why I can't encrypt data anymore? Previously I have used encryption on LineageOS for months without problem.
Official TWRP has a wrong data partition size: it is more than the actual physical size. So, the logcat during encryption reports 'partition size overlaps cryptofooter region - unable to encrypt'.
To be able to use encryption, you must use unofficial TWRP and do a factory reset (where you are prompted to enter 'Yes' to confirm). However, sinse the device maintainer is the same for the official TWRP and Lineage, Lineage also has the wrong data partition size. So, most likely, you can't encrypt on Lineage for Zuk.