1

I have a Galaxy S5 running LineageOS 14.1.

The device settings state that the device is encrypted.

I set up a password, and select to require password at boot.

I then set up a PIN for unlocking the screen, but did not select to require PIN at boot.

When I boot the phone, it does not ask for the password to boot and only the PIN is required for unlocking the screen.

Is my phone encrypted with my password?

  • Have you taken look at the Logcat? It sounds like encryption is not working.. However, if the pin is asked for before even the lock screen appears then yes it is encrypted. – HaoZeke Nov 6 '17 at 10:11
  • How do I use logcat to determine that encryption is working? – Paul Nov 6 '17 at 15:08
  • Is your recovery TWRP? If it is, you could boot into it and see whether it asks for any kind of password in order to mount /data. If it does ask, or if it has problems while trying to mount /data, then encryption is working just fine. – Death Mask Salesman Nov 19 '17 at 10:27
1

You device is encrypted, but PIN is used for unlocking master key.

From

I set up a password, and select to require password at boot. I then set up a PIN for unlocking the screen, but did not select to require PIN at boot.

we can assume that you wanted different lock screen && encryption passwords.

Because you are using LineageOS, acquiring root for ADB is not issue.

For achieving what you presumably intended 1st define lock screen password or PIN - select Require password/PIN to start device. Lock device && do a power cycle - not every1 will agree with this procedure, but I tend to verify.

After successful bootstrap, for different encryption password you should either change password via ADB or terminal or purpose built application - SnooperStopper or Cryptfs password manager

If you preffer ADB or terminal, while in shell, issue

adb root && sleep 2 && adb shell "vdc cryptfs changepw password [curent PIN/password] [new password]"

and hit return; if terminal is only option for you, issue only

vdc cryptfs changepw password [curent PIN/password] [new password]

You should always verify PW with

vdc cryptfs verifypw [PIN/password]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.