I’m not able to decrypt data in TWRP on FP2 with LOS 15.1.
phone is encrypted
error message is “Password failed, please try again” when I Enter Password in TWRP “Mount Decrypt Data” although same password works when decrypting data on LOS system start. I can cancel and find “Failed to decrypt data” then in log.
If you encrypted with LineageOS 15.1, then TWRP as of now can’t decrypt, that’s true and known.
Prior encryption with Fairphone’s OSes or LineageOS 14.1 should work, LineageOS 15.1 can be installed on such an encrypted data partition, I’m running such a setup.
I also encrypted my FP2 running LOS 15.1. I still want to flash the nightly updates and also opengapps updates every now an then (does that even make sense? ) so I came up with installing Flashfire. I used the “set date to 2013” workaround and purchased the pro version in app store to make it run without changing the date every time.
So after choosing the file to flash, Flashfire is not starting any scripts and reboots without doing anything - I tried different files for flashing, set different options for the flash and watched a youtube video, where someone demonstrates how a flash works.
At my phone only the loading screen appears, then black for approx. 2 seconds, then reboot.
Well my google research told me, that Flashfire is on ice, at least the contact thread is closed and I don’t know how to ask the developer himself.
Furthermore I don’t own a old camera module for installing LOS 14.1 and do the approach AnotherElk is talking about.
Do you have any tips for fixing the Flashfire bug?
Do you know if any time soon TWRP is willing to fix this bug and release an update?
Do you install nightly updates and how frequently?
Do you recommend changing to Fairphone Open with Android 7.1 and do an encryption?
Thanks for your time and help! Have a wonderful day
Edit: I wanted to post links to the referring sites, but since I’m a newbie, I can only post two links
Remind me, why exactly is an old camera module needed (for this specifically)?
Related to this: I seem to recall that enabling the torch function of the new camera module before rebooting/encrypting/etc. solved some of the issues, not sure whether that works here (e.g. flashfire) though.
I assume you don’t have an sd card as external memory?
When you’re rebooting the phone for going into twrp, simply press Vol+, then it will boot into twrp for updating.
I install a new version of opengapps every now and then, but also don’t know whether it’s necessary (but could imagine maybe some bugs are stomped…)
E.g. when installing a new monthly security updated LOS
I check the changelog to see whether an update of LOS might be interesting…
Also, you still could flash new versions via sideload in twrp
I use LineageOS for microG, which gets weekly updates, so in general I update weekly …
It depends on what you want to do with the encryption.
I don’t quite get until now what you are trying to achieve.
If you want to be able to decrypt user data in TWRP (e.g. for backup purposes), LineageOS 15.1 encryption will not work until TWRP can handle that. LineageOS 14.1 encryption or encryption with one of Fairphone’s OSes will work for that.
If you just want to do updates, encryption has nothing to do with this, because the partition which gets updated is not encrypted.
And you want to use something like Flashfire for installing stuff? So you don’t want to use TWRP? Encryption wouldn’t matter either way.
Regarding the current state of affairs with the new camera module …
If you want to encrypt … enable the flashlight before and it should work.
If you want to reboot automatically into recovery (e.g. for updates) … enable the flashlight before and it should work.
If you want to shutdown … enable the flashlight before and it should work.
For safety’s sake, disconnect any USB connection and disable Bluetooth, both things have lead to the flashlight workaround not working for other users occasionally.
I don’t know, this is what AnotherElk did described here
maybe it has something to do with:
Thats good to know, I was not sure about that… But makes sense…
If TWRP works, I’m fine with that. Flashfire was just a idea for a workaround.
Can I install the opengapps updates with TWRP with encrypted data partition?
Do I get that right, encryption does effect the data partition? The LOS updates won’t write anything to data, so I can ignore the fact, that TWRP cannot encrypt the partition for the sake of doing updates?