[Q] Crypto Password - Nexus 6 Q&A, Help & Troubleshooting

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.

Related

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?

Change Encryption Password

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

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.

Question Opening Engineering Mode

Has any one else tried the Gtool beta release . I just tried it again and was able to log in with
[email protected] and password gsmhamza...?
Is it just me or its working again...!
Opening the Engineering Menu (Secrecy unlock)
Opening the Engineering Menu (Secrecy unlock) 1. Unpack and run GTool_Pro_v1.0_BETA_RELEASE.exe. 2. Create an account 3. ADB drivers must be installed on the PC, and USB debugging must be enabled on the phone. (When connected, give...
forum.xda-developers.com
If that email and password stop working ...just register new account
new accounts doesn't have necessary privilege, it shows "login failed user expired, please buy a valid activation plan"
(and I don't even know where to buy lol)
and that gsmhamza account's password is correct, but can't login until next hwid change cooldown.
seems this tool is just like other 'unlock tools', can only activate on new devices certain times a day.
That's strange...working for me

Categories

Resources