I have an encrypted android running LineageOS 15. When it said that there was an OTA update, I choose to download and install this new update. In the first moment it seemed to be alright but when the phone restarted itself the recovery (TWRP) appeared again... and again...

It is in a bootloop mode and there is nothing I can do without loss my data and I can't do nothing to copy my date due to the full disk encryption.

The encryption was made, I think, with the fingerprint and even if it was done with a password I cannot decrypt the entire disk (with the command adb shell twrp decrypt) because my TWRP version doesn't support the decryption.

  • As you TWRP installed you can simply download and install an older version of LineageOS and check if it solves the bootloop. – Robert Sep 24 '20 at 7:28
  • I think the bootloop was caused by the full disc encryption... since my twrp version (for huawei p8 lite 2017) doesn't support decryption, neither with the last version it can't read the system and data partitions – Bob91 Sep 25 '20 at 16:17

Searching a lot over the web I saw this question and by reading the entire post, and in particularly this answer https://android.stackexchange.com/a/176124/77853 I brought back my phone to life and without losing anything !

What I had to do was (as suggested in the answer) repair the /data partition plus the /system partition !


Hey you could have downloaded the lower version of twrp. My phone also went into bootloop when i flashed twrp version 3 but when i flashed version 2 it worked perfectly. But anyway since you have found the solution ,to anyone who reads this answer you must first flash lower versions of twrp.

  • I tried with the last one and it didn't work.... How could it work with a older one ? The issue was that the entire disk was encrypted, system and data partions as well... And, in my opinion, installing the new versione of Lineage wasn't possible because it can't read the files, unless you decrypt the phone (from android's settings) before flash the update... – Bob91 Sep 25 '20 at 16:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.