can't Pin login with device encryption enabled.

Search This thread
can't Pin login with device encryption enabled.

I'll hope that this is the right tread.

I have an s5 SM-G900F with device encryption enabled. With my nexus 7 running 4.4.2 and S4 active running 4.2.2 I have device encryption enabled. I use a python script to change the lockscreen pin. SO'll have an easy way to open the device. and a difficult password for unlocking the device when booting up.
This works on both S4 active and Nexus 7. also tested it on a Note 2 running 4.1.1.

Point is that this little trick doens't work om my shiny S5 gives an error: Password hash size mismatch.
I tried ohter apps with the same functionalitiy like: encpasschanger and cryptfs password. both gave a similar error.
Could it be that the s5 stores its PW database on a different location?

any solutions?

i'll attach the pithon sciypt with this post.
 

Attachments

  • pin2.py.txt
    8.6 KB · Views: 39
  • Like
Reactions: darkjz
found a solution

I asked the dev from "Cryptfs Password"

his answer:


Most Samsung devices use slightly different commands for disk encryption,
so the app doesn't work on those devices. You can always change the
password directly from the ADB shell. Connect your phone via USB and do
this on your PC:

$ adb shell
$ su
# vdc cryptfs changepw <newpassword>

See this article for details:

http://nelenkov.blogspot.jp/2012/08/changing-androids-disk-encryption.html
 
  • Like
Reactions: darkjz

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    can't Pin login with device encryption enabled.

    I'll hope that this is the right tread.

    I have an s5 SM-G900F with device encryption enabled. With my nexus 7 running 4.4.2 and S4 active running 4.2.2 I have device encryption enabled. I use a python script to change the lockscreen pin. SO'll have an easy way to open the device. and a difficult password for unlocking the device when booting up.
    This works on both S4 active and Nexus 7. also tested it on a Note 2 running 4.1.1.

    Point is that this little trick doens't work om my shiny S5 gives an error: Password hash size mismatch.
    I tried ohter apps with the same functionalitiy like: encpasschanger and cryptfs password. both gave a similar error.
    Could it be that the s5 stores its PW database on a different location?

    any solutions?

    i'll attach the pithon sciypt with this post.
    1
    found a solution

    I asked the dev from "Cryptfs Password"

    his answer:


    Most Samsung devices use slightly different commands for disk encryption,
    so the app doesn't work on those devices. You can always change the
    password directly from the ADB shell. Connect your phone via USB and do
    this on your PC:

    $ adb shell
    $ su
    # vdc cryptfs changepw <newpassword>

    See this article for details:

    http://nelenkov.blogspot.jp/2012/08/changing-androids-disk-encryption.html