Cannot change the android encryption password - OnePlus 3T Questions & Answers

hello guys,
I tried to change the encryption password of my Oneplus 3T with the apps "Cryptfs Password" and "Encpasschanger" but is says that my current password is wrong. I also tried it through a terminal app by hand, but also with the same result.
anyone an idea?

Related

[Q] encryption password not set but wants it

hi
i didnt set an encryption password on my Xperia TX phone ... but today it wanted it from me when i wanted to access the VPN part of my Phone. and it said after 3 fails it deletes the encryption part and it removed the vpn connection,:crying:
after that it wanted me to enter the encryption password when i wanted to root my phone , while the root program send the phone to recovery and tells me to click the recovery buttun, it asks me to enter the encryption password, but i didnt set any encryption password, so what should i do ?!
pls help
thx

Can't use vdc cryptfs?

I've rooted my phone and vdc cryptfs doesn't seem to work. What I'm trying to do is change the disk encryption password to be a nice long password which is NOT the screen unlock PIN (since clearly a long unlock password would be incredibly inconvenient). So I'm following the instructions found at nelenkov's blogspot (can't post links since I'm new here).
When I run the command vdc cryptfs in the terminal as the root user on my OnePlus 3T, I don't get any return code at all. I've also tried apps like Cryptfs Password to try to change the encryption password but they fail. However, when I run vdc cryptfs on my rooted HTC One m7 and Nexus 2013, I do get a return code of "500 0 Missing Argument"
It seems like this command is missing or something from OxygenOS. Does anybody know a workaround?
Are you sure that your device is indeed encrypted?
Yes. Under the Security & Fingerprint menu in the settings, at the bottom it says Encrypted under Encrypt Phone. Furthermore, when booting into TWRP, it prompts me for the disk encryption password. If I don't enter it then data and system aren't mounted (and refuse to mount without the password).
I know this is an old thread, but the reason for this behavior is most likely that the phone uses file-based encryption. The password you are trying to change is for full-disk encryption, which doesn't exist.
For example, on my new OP 5T, logcat says:
Code:
D VoldCryptCmdListener: cryptfs getpw
E Cryptfs : cryptfs_get_password not valid for file encryption
When you set a pin to unlock, does it ask 'Require PIN to start device"? If not, you have file-based encryption.
Once file-based encryption is enabled, it is probably very hard to go back to full-disk encryption. The only way I can see is to reformat /data (and possibly /system), and start unencrypted. Then you could run disk encryption.

Default phone encryption

My brand new 3T just arrived and I see it's already encrypting it's contents.
The only point is that I don't know the encryption key.
I would like to unencrypted and re-crypt with my very password.
Any hint or suggestion on how to do it?
Tia.
[UPDATE] There seems to be no unencrypt option in the settings!
Hi,
When u configure your phone for the first time, configuration ask u to set your fingerprint reader and, for this, u have to enter a password... This password is your encryption password too... So, wipe your phone to factory default or try to configure your fingerprint reader, but in that way, i don't know if it will work...
Cheerz
Sent from my OnePlus3T using XDA Labs
I didn't put any fingerprint nor pin nor sequence.
Decrypting the device is available only by running the format data from fastboot or recovery twrp, encryption works from the phone settings
Sent from my Darkside of Oneplus 3T
OK. So, I how can I use my very own encryption password?
Uqbar said:
My brand new 3T just arrived and I see it's already encrypting it's contents.
The only point is that I don't know the encryption key.
I would like to unencrypted and re-crypt with my very password.
Any hint or suggestion on how to do it?
Tia.
[UPDATE] There seems to be no unencrypt option in the settings!
Click to expand...
Click to collapse
I also had that moment.. ; . It was solvable without changing much. I had been on fingerprint & pin entry from locked screen. I could get into TWRP because it wouldn't accept my PIN as password. I tried to change the PIN to a password, then rebooted and TWRP let me in with that password, worked fine, so I tested backup & restore.
The next boot, I changed the password back to my PIN, and from then on TWRP used my PIN for entry. Apparently their system needs a kick of some sort to rewrite the encryption header. Mine was encrypted throughout and I left it that way.
I am on stock system. No TWRP, no supersu.
Uqbar said:
I am on stock system. No TWRP, no supersu.
Click to expand...
Click to collapse
Doesn't matter, same way. Try to configure your fingerprint reader... Configuration will ask you to set in first a password or pin code or diagram...
Easy way to do it imao...
Sent from my OnePlus3T using XDA Labs
satanas17 said:
Doesn't matter, same way. Try to configure your fingerprint reader... Configuration will ask you to set in first a password or pin code or diagram...
Easy way to do it imao...
Click to expand...
Click to collapse
It didn't work like that.
The encryption was effective since the very first boot, according to the "Security" sub menu.
Then I configured a fingerprint and no PIN or password was asked.
Uqbar said:
It didn't work like that.
The encryption was effective since the very first boot, according to the "Security" sub menu.
Then I configured a fingerprint and no PIN or password was asked.
Click to expand...
Click to collapse
So your phone differently booted up first time then my...
Yes, encryption is effective immediately, and again imao, it's a great thing.
Have you tried to go in "security" to set a password?
Sent from my OnePlus3T using XDA Labs
satanas17 said:
So your phone differently booted up first time then my...
Yes, encryption is effective immediately, and again imao, it's a great thing.
Have you tried to go in "security" to set a password?
Click to expand...
Click to collapse
First, there's no such a thing like "set password" or "set encryption password".
There's only, in the very bottom of the menu, a "Encrypt the telephone" menu item. The current value is "Encrypted".
There's nothing else and neither tapping, nor long tapping nor double tapping gives any option.
It's just an informative item.
When my phone booted for the first time it took about one minute before giving me the home screen.
Then I skipped all the questions (GMail, etc.) in order to go to the firmware update.
Once rebooted in the updated version, I walked though all the menus (I am coming from 6+ years with CM) and found
that the storage was being already encrypted by default.
Then I configured my gmail account, updated all the apps and then added a fingerprint.
But still no PIN nor any password has been asked to me.
I am not arguing about encryption itself.
I am trying to gain control over it with my very own encryption key.
@Uqbar
Android is encrpted by default with a default password named "default_password". When you set a PIN or password for your lockscreen, you have an option to use this pin/password for device startup and the encryption is "active". This means android is now asking for password/PIN. When you only use the PIN/Password for your lockscreen, android never ask for it when the device starts. Without defining a password/PIN android uses the default password and no startuplockscreen is shown. That's the reason why android is telling you your phone is encrypted.
If you want to use a password different to the Lockscreen, you can set your own encryption password by using the "Cryptfs Password" app fom Playstore, but Oneplus has changed something on this and the app will not work at the moment. The app says that my currrent password is wrong, when i try to change it. There seems no way at this time, I guess.
* I hope my text was understandable, because english is not my native language *
This is an old thread, I know, but I just used it to find the answer to a similar problem. OxygenOS gives the option to use the PIN for startup. If you select that option the password will be required to boot into both the main system and recovery. To get there, in OxygenOS 5.0+ at least, go into the Security menu, select Screen Lock, and then the PIN option. This will give you a menu that enables requiring the PIN to start the device. Do that and your future boots will be protected by the same PIN you choose for screen unlock.

Fingerprint + password suddenly stopped working

I was using fingerprint to unlock with no problems and occasionally it makes you write your password for extra security. It was working fine, I didn't reboot or flash recently, and suddenly out of the blue my password didn't work for the unlock anymore.
I got past this by going to the recovery and deleting gatekeeper.password.key, gatekeeper.pattern.key and locksettings.db* as instructed around the web.
Now if I try to set the fingerprint + password again, the password works fine for adding new fingerprints etc until I lock the screen for the first time, when it once again says "You have entered an incorrect password, try again in XX seconds" and I'm locked out again and have to go through deleting the files again in recovery.
With password only the unlock works fine, but if I try to enable fingerprint + password I'm locked out again.
Could this perhaps be some sort of file permission problem on the recreated gatekeeper.password.key / locksettings.db?

Full encryption availible?

Hello,
is full device encryption available on this device? By that I mean the kind of encryption for which a password is needed in order to boot the phone into android. Haven't found anything in settings yet.
Or maybe a different question. Is the encryption key stored on the device or generated each time you put in your password?

Categories

Resources