Open Fusl opened 6 years ago
I've run into the same issue with lineage-14.1-20171114-nightly-ether
. This means I'm unable to upgrade unless I decrypt my device first, then re-encrypt after the upgrade process completes. @deadman96385 and @Dees_Troy, are you still actively maintaining this?
...Ugh, replace "decrypt my device" with "perform a full wipe and reset", as Android doesn't offer a way to decrypt directly. Fantastic.
It would appear error code -24 corresponds to KM_ERROR_KEY_NOT_YET_VALID.
Looks like this happens because TWRP thinks it's sometime in 1970.
edit: Hmm, but setting the clock to the correct date and time via the terminal doesn't fix it...
I have the same problem with my huawei honor 5 and LinageOS 14.20170809-NIGHTLY-kiwi. I wanted to update the OS to a new version and found that I cant decrypt the HD. Any workarounds? Or do I need to perform a full wipe?
Edit: Sorry, I just found the right issue for my phone. Anyway it seems to be a more general problem with TWRP.
Issue persists in 3.2.0-0
Setting up encryption on LineageOS installed on the Nextbit Robin seems to cause issues for TWRP trying to decrypt the partition.
What I tried so far:
Failed to decrypt data
/sbin/sh: vdc: not found
1234
, disabled password prompt during boot up, TWRP asks for a passphrase (not a passcode), trying1234
ordefault_password
result inFailed to decrypt data
dmesg
in the recovery prints this while trying to unlock the phone:recovery log: