TeamWin / Team-Win-Recovery-Project

Core recovery files for the Team Win Recovery Project (T.W.R.P) - this is not up to date, please see https://github.com/TeamWin/android_bootable_recovery/
http://twrp.me
1.96k stars 740 forks source link

Twrp 3.2.1-0 cannot decrypt data on X2 #1168

Open magior opened 6 years ago

magior commented 6 years ago

Since I encrypted /data partition I cannot access anymore from twrp. It asks for the password, but after it writes:

E:Decrypt took too long, killing process Failed to decrypt data

The same problem was present in the previous version. Most of the time the decryption was unsuccessful but not all the times. Sometimes it was able to mount the partition.

Is it possible to try to decrypt from shell to debug better the problem?

Thanks, Marco

ThEMarD commented 6 years ago

Heyyo, unfortunately decrypting files has been an ongoing issue for the x2. I'm working on another potential fix for decryption with some guidance I was given as unfortunately the current decryption script and even the decryption blobs I tried from EUI Indian 19s or Chinese 26s didn't work...

vigilantetk commented 6 years ago

Somehow I used to manage to get past the issue (be several restarts of the device), but after upgrading to LineageOs 15, I'm really stuck, I guess this might be another problem??

ThEMarD commented 6 years ago

Heyyo, please update to TWRP-3.2.1-1 official for x2. It has working data decryption and adb sideload and is based on Oreo kernel. Major thanks to codeworkx for his updates on zl1 that allowed me to rebase x2 and get it all working.

https://twrp.me/leeco/leecolemax2.html

vigilantetk commented 6 years ago

@ThEMarD thanks a lot for the quick answer, it works, I didn't know about the existence of this version. Once again, thank you very much!