Change Encryption Password - OnePlus 3T Questions & Answers

Hi all,
I have a problem. I made a mistake when changing my encryption password using "vdc cryptfs changepw" command. I tried to change the old password to PIN which apparently only successful in changing the modes of the password. My mistake is that I didn't test the new PIN first and directly reboot. Now, my phone is asking for PIN at decryption screen while the decryption password is still my old password (I checked it in TWRP, it successfully decrypt using my old password). Is there any way to change the keyboard at decryption screen to text mode?
I'm using Sultanxda's CM13
Thanks.
UPDATE:
Solutions I have tried:
1. Using TWRP to change the decryption password again. Doesn't work, it said cannot find cryptfs
2. Using adb to paste text in decryption PIN text field. Doesn't work, adb is not initialised in decryption screen

Related

Password Problems

After entering my password in several different apps, when I hit the “Go” or “Next” button, my password gets entered twice. For example, if my password is “ABC”, I enter ABC, then I hit Next, “ABCABC” is entered. Is this a common problem?
purplepizza said:
After entering my password in several different apps, when I hit the “Go” or “Next” button, my password gets entered twice. For example, if my password is “ABC”, I enter ABC, then I hit Next, “ABCABC” is entered. Is this a common problem?
Click to expand...
Click to collapse
You can't login or? Probably it is encrypting...
shut_down said:
You can't login or? Probably it is encrypting...
Click to expand...
Click to collapse
I have no problem logging in if I do the following:
If my password is ABC, I type ABC. Hit go, now I see ******. So I delete the last three characters, hit go and I am logged in.
The problem is, my password is entered twice. For example, if my password is “ABC”, I enter ABC, then I hit Next, “ABCABC” is entered. That is why I delete the last three characters before proceeding.
Another example:
Another example:
Go to VPN settings. Credentials are protected by a password. When I enter my credentials password, I enter ABC, then I hit Done, “ABCABC” is displayed. So I delete the last three characters before going forward. Interestingly, I do not have this problem when entering my VPN password.
@purplepizza
1.Wipe cash
2.If problem presist wipe data
3.If problem still presist Re-flash rom which u are using of cours with full wipe.
4.If problem still presist than mebay it is hardware problem .
Wysłane z mojego nexusowego tablecika.....

[Q] Crypto Password

Looking for a way to change my crypto password. I would like to use a different password for my crypto and the screen unlock. Used to be able to do this with cryptfs password. You enter your current crypto password (which I assume is my screen unlock code presently) and then type what you want it to change to. However I get an error saying my current crypto password is incorrect.
This was a lot easier when I was able to encrypt the phone myself (like on the Nexus 4) because I was able to choose my password when I encrypted it.

Changing Disk Encryption Password on Nougat (while keeping PIN for screen lock)

Hi,
I'm using a (rooted) OnePlus 3T with OOS 4.01 (Nougat) and TWRP. On my old mobile phone I used to have disk encryption enabled and changed the encryption key to be a long passphrase but screen lock to be a pin.
I now tried doing the same thing using the cryptfs app but the PIN isn't accepted as the old password. The disk is encrypted though and the phone prompts for the PIN during boot to unlock the disk.
Is there any way to change the disk encryption to use a password but keep the PIN for screen unlock? And is it just a matter of post-processing the PIN somehow to derive the encryption passphrase or does the system now depend on having the same method for boot up and lock screen?
Some other people seem to have similar problems and it's a common use case. especially with apps like SnooperStopper that monitor failed screen unlocks and reboot the phone.
Glad for any hints
- decoder
I digged a little further and saw that using
Code:
vdc cryptfs verifypw 1234
returns -1 instead of 0 or 1. Looking adb logcat I see
Code:
01-08 15:14:09.699 456 462 E Cryptfs : encrypted fs failed to save mount point, aborting
Me having two different password for booting and lock screen. Unable to change the boot password or disable it from security..
Any solution please..
Sent from my ONEPLUS A3003 using Tapatalk

Messed up with 'vdc cryptfs changepw password' and entered hex values I can't type.

TL;DR I need an answer to one of the four questions at the bottom.
Preferably #1 or #3.
---------------------------------------------------------------
I have a Oneplus 3T running the latest Resurrectionremix (7.1.1) and TWRP recovery (3.0.4-1).
I use a pattern lock and device encryption, but I had separate passwords for the pattern and the encryption.
I tried to change my encryption password back to my pattern combo using 'vdc cryptfs changepw password' and entering numbers that correspond to the dots of the pattern. (E.g. in a 3x3, the dots are labeled 1-9)
Let's say the password I entered was '123456789'
I didn't realize that I needed to enter the HEX values in this command, (313233343536373839) so I just entered the ASCII values (123456789). The password I entered was all numbers so it corresponded to HEX values without giving an error.
Now, when I restart my phone, or boot into TWRP, I cannot enter the password I set. I cannot access adb or a terminal when booting android, and I cannot use 'vdc cryptfs' through TWRP. (I can use adb and terminal through TWRP)
The obvious solution is to convert the HEX values I entered to ASCII values and type them in, but I have two problems:
I use an odd number of dots for my pattern lock, and I entered an odd number of numbers for the HEX password. I don't know how that would break down into ASCII, because you need 2 HEX digits per ASCII character.
No matter how I convert the HEX to ASCII (either by prepending or appending a 0) there are characters that cannot be typed on a keyboard, and cannot be pasted into an adb shell.
---------------------------------------------------------------
I can think of a number of possible solutions to this problem:
How can I input my encryption password in hexadecimal rather than ASCII?
I think this would only be possible through TWRP/adb. It only needs to be temporary; I'll move my data out and format everything.
How can I backup the encrypted '/data' partition to my PC?
This way, I can freely format my phone while I try to decrypt the encrypted blob. Additionally, are there tools to help me decrypt the partition on a PC?
How can I use 'vdc cryptfs' in TWRP?
Right now, the problem is that it cannot find 'cryptd'. If I can get this to work, I can reset the password to something typeable.
How can I use 'vdc cryptfs' in Android without entering a password on boot?
As I said, my phone doesn't turn on adb before I enter the password, and I can't access Terminal or anything... or is there a way?
Or can I solve this any other way, without losing my data?

HELP Again!

I accidentally made my secure boot pin letters instead of numbers. I can enter twrp by typing the corresponding letters to my intended numeric pin. However, on android boot a full keyboard is not present and I can only enter numbers. Therefore the pin fails every time! I already deleted lockscreen.bd and did a full wipe. Ideas?
Each number represents 3 letters. Use the corresponding numbers at secure boot to match your alphabetical pin.

Categories

Resources