Open marzzzello opened 8 years ago
I just encountered the same thing. This was really a nasty surprise and I think it will always happen when people change their PIN/Pattern, but use passphrase as screen lock. For me, TWRP can just decrypt the device with the passphrase, but I still can't get back into Android....
Thanks for your help and for the App in general!
Either of these two things would save me right now:
Do you have any hints on this?
I made a backup in TWRP then i wiped userdata and then restored the backup. But it's only a bad workaround.
I wanted a pattern lock for the lockscreen and a password for device encryption. So I set a password as lockscreen in the settings. In your app I changed this password to a complicated one and then I set pattern lock for the lockscreen in the settings again. (Because I can't enter a pattern in the app I choose this method) But now I restarted my device and it asks me for a pattern. The lockscreen pattern doesn't work of course. I need to enter a password but I can't. So I'm basically locked out of my device now. Even TWRP asks for a pattern and I can not change it to password.
Edit: With
adb shell
andtwrp decrypt 'password'
I'm able to decrypt the userdata partition. But when I boot normally I can't do this of course. Where is the information about the password type stored? Is there a config file or something in the system or boot partition?