Skip to content
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

Problem with encrypted phone / unable to decrypt phonencryption #1

Closed
thrdroom opened this issue Sep 18, 2016 · 20 comments
Closed

Problem with encrypted phone / unable to decrypt phonencryption #1

thrdroom opened this issue Sep 18, 2016 · 20 comments

Comments

@thrdroom
Copy link

thrdroom commented Sep 18, 2016

Problem/Bug:

When i encrypt my X5 CyanogenOS i cannot longer use TWRP to backup, flash etc.
TWRP is asking for the password to decrypt, but even with the right password TWRP is unable to decrypt the data.

Error Message in TWRP:

Updating partition details...
...done
Unable to mount storage
Full SELinux support is present.
Failed to decrypt data.

Steps to reproduce:

  1. Flash clean CyaogenOS image (cm-12.1-YOG4PAS9OI-paella-signed-fastboot-08a5c4b830.zip)
  2. Flash newest TWRP image (twrp-3.0.2-1-piccolometal.img)
  3. Set a password for the lockscreen
  4. Settings app -> Security -> Encrypt phone
  5. Boot in TWRP -> TWRP tries to mount the data-partition -> Enter password
@Kra1o5
Copy link
Member

Kra1o5 commented Oct 19, 2016

Hi @thrdroom ,

Is a know issue, already fixed here: 838b893

It will be included in next twrp release.

Regards

@thrdroom
Copy link
Author

thrdroom commented Oct 20, 2016

Thanks for your reply @Kra1o5

Thats awesome! Can you give me an ETA for this release cause this problem bugs me for months now and i cant do any critical testing like e.g. CM13-nightlys witout a full-system backup.

Last update is nearly 5 months old.

Regards

@Kra1o5
Copy link
Member

Kra1o5 commented Oct 20, 2016

I will try to get new update asap.

Greetings

@thrdroom
Copy link
Author

thrdroom commented Nov 7, 2016

@Kra1o5 What about the Updates? Can we have them plz? :)

@Kra1o5
Copy link
Member

Kra1o5 commented Nov 7, 2016

Hi @thrdroom,

Sorry Im busy, but I try to make it available this week.

@thrdroom
Copy link
Author

45f

@Kra1o5
Maybe find a comaintainer?

@Kra1o5
Copy link
Member

Kra1o5 commented Nov 21, 2016

Hi @thrdroom ,

Really sorry for the delay.

You can get it here: https://dl.twrp.me/piccolometal/

Greetings

@thrdroom
Copy link
Author

@Kra1o5 THX for the Update 👍 But the problem persists even with "twrp-3.0.2-2" :(

Failed to decrypt data.

Can you please fix this issue? Ive been waiting for so long :/

@eloimuns
Copy link

Probably only work with stock X5.

@thrdroom
Copy link
Author

Do have the stock-rom Installed? Can you test this @eloimuns ?

@thrdroom
Copy link
Author

thrdroom commented Dec 6, 2016

Problem does not persist with CyangenOS 13. But is still present with CyangenOS 12.1, which is kinda annoying as it makes updating an encrypted device without a full wipe impossible.

@Kra1o5
Copy link
Member

Kra1o5 commented Dec 6, 2016

Oh, yes

The fix affect 13.1

@8FordPrefect8
Copy link

I have the same problem.
At Moment with the I think early March LineageOS build and with newest TWRP.
It would be perfect if it would work.

@LineageOS-User
Copy link

LineageOS-User commented Mar 26, 2017

same problem at TWRP 3.1.0-0 and actually LineageOS_14.1 nightly_build (03-23).
TWRP is unable to mount encrypted phone, the right password will not accepted.

So at the moment I can´t install updates and making backups.

@LineageOS-User
Copy link

No one who can take care of this issue?

@Kra1o5
Copy link
Member

Kra1o5 commented Apr 1, 2017

If you use stock firmware as base will not have any issue with encryption and since CyanogenOS not exist anymore is the best idea.

Greetings

@8FordPrefect8
Copy link

Sorry I don't get this. What do you mean with standard firmware? Do you mean the factory default Android? But I am using TWRP to run LineageOS and in the moment I am desperately waiting that I can backup my encrypted device und update it again.

Best
8FordPrefect8

@stucki
Copy link

stucki commented Apr 10, 2017

Download the stock firmware from https://www.bq.com/en/support/aquaris-x5/support-sheet and flash these files. It will replace all your data, so make a backup.

Alternatively, edit the included script and skip flashing of system, userdata etc.

Once this is flashed, you can install TWRP and LineageOS again and as usual...

@8FordPrefect8
Copy link

Thank you very much. Indeed it worked, although it was a time consuming task.

@stucki
Copy link

stucki commented Apr 24, 2017

Issue can be closed. @8FordPrefect8 thanks for your feedback!

@bigbiff bigbiff closed this as completed Apr 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants