Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decryption unsucessful #8

Open
noerdi opened this issue Apr 17, 2015 · 1 comment
Open

decryption unsucessful #8

noerdi opened this issue Apr 17, 2015 · 1 comment

Comments

@noerdi
Copy link

noerdi commented Apr 17, 2015

i used the app on my onplusone after upgrading to cm 12 / android 5.0.2 with twrp (rooted) yesterday, so i am still in "experimental mode" and have up to date backups (no panic).
after sucessfully changing the encryption password and rebooting, i get the following error: "decryption unsucessful - the password you entered is correct, but unfortunately your data is corrupt. to resume using your phone, you need to perform a factory reset..." and the only thing i can do is click "reset phone".
i suppose i cannot get more information about what went wrong so i will do the reset now and start over... and try again when the app is stable for cm12.
cheers :-)

@nelenkov
Copy link
Owner

nelenkov commented May 7, 2015

This appears to have been a bug in CM, which should now be fixed (I haven't tested it personally). Not that CM on the OnePlus One uses hardware disk encryption, which manages the decryption key separately from the password. Thus even if you enter the correct password and manage to decrypt the crypto footer, decryption may still fail if the HW-backed key is not passed properly. This appears to be what happened in your case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants