-
Notifications
You must be signed in to change notification settings - Fork 18
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
CM14 / LineageOS support #19
Comments
Have you tried it on LineageOS? |
Oh... yes I did, with the 14.1 release of LineageOS. The app requested root privileges and I granted them. When I tried to change the password, it always says that the old password is not correct (which it is, since I decrypt my data partition on boot with exactly that passphrase) and won't change the password. If I can provide you with more details, please let me know :) Cheers |
Hi, Here are the logs from the LOS14.1 (clean install fresh from today):
As a side note, the syntax chown in the #14 and #15 issues is still valid for LOS 14.1: |
Hi @fdutheil,
nope... not working on LineageOS 14.1 (latest weekly). Tells me that it's an unknown cryptfs subcommand. However, Trying (as advised in those help texts) Kinda lost here now :/ Cheers |
Hi @TwizzyDizzy , |
Well... I now did the But thanks so far! Cheers |
Here is what I did on my Pixel C with the latest (unofficial) LOS 14.1 build and LOS' su:
|
Confirming @fdutheil suggestion. |
Thank you, now I was finally able to change my encryption password from a pattern using: |
@arnolde73,
It will take time but at least all your data shouldn't be lost 🤞. |
Thanks, too bad there seems to be no "perfect" solution... but that worked for me. I guess I was lucky I got back in at all... |
Hi buddies, this is what finally worked for me (latest LOS nightly, athene, LOS' addon su):
The end result is that you have different password for decrypting at the boot time. Not sure if this will work with FBE, I apparently only had/have FDE. Probably it's worth integrating this workflow into the app (with appropriate hints etc). |
Hi all. I'm running the latest LineageOS 14.1. I first tried Then I ran |
beforehand: i tested with RR-OS 5.8.5 (which is also based on LineageOS 14.1) with LOS' su and OpenGApps... @magicgoose
i was screwed, because the prompt for the boot-password didn't accept any password i could think of and neither TWRP did! --> according to my further investigation (read the 2nd part for more information) i figured out the password was set to "an empty value" (
i can confirm that this works. (thanks, btw!)
|
when I later tried to do the same for Nexus 5X, I got a similar experience that of @DJCrashdummy |
Yesterday I ran into a unfortunate situation after changing the Encryption PIN to a Password in LoS 14.1 via adb shell:
The operation succeeded, but after rebooting I was locked out; because the Encryption Unlocker would only allow a PIN entry.. So I could not enter the correct password with a special character. I was however able to unlock the encryption in TWRP, so I could backup&format data&restore&reboot back to the system.. which then proceeded to automatically re-encrypt userdata, followed by a (soft?) restart. I was then greeted by the gatekeeper lockscreen, which was now failing to accept my lockscreen PIN.. so I had to 'adb shell' into After that, I discovered that trying to re-enable gatekeeper lockscreen would now crash Settings.. The fix for that was to: All in all, it took me 8 hours to get this done. |
"Here is what I did on my Pixel C with the latest (unofficial) LOS 14.1 build and LOS' su: I encrypted the tablet This still works on LineageOS 15.1 on my Nexus 5X. Unset your pattern/pin/password. Open cryptfs app leave current password blank, enter your desired password and apply. Set your pattern again without the boot "enhancements". Then it asks for the password for decryption and pattern for unlock... |
Hi @nelenkov,
do you plan to support CM14 / LineageOS or is there anything present in those releases that don't make your app necessary anymore?
Cheers & thanks in advance
Thomas
The text was updated successfully, but these errors were encountered: