Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

can't Pin login with device encryption enabled.

OP Echelonblue

28th April 2014, 10:41 AM   |  #1  
Echelonblue's Avatar
OP Senior Member
Thanks Meter: 35
 
120 posts
Join Date:Joined: Apr 2012
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.
Attached Files
File Type: txt pin2.py.txt - [Click for QR Code] (8.6 KB, 16 views)
The Following User Says Thank You to Echelonblue For This Useful Post: [ View ]
28th April 2014, 12:42 PM   |  #2  
Echelonblue's Avatar
OP Senior Member
Thanks Meter: 35
 
120 posts
Join Date:Joined: Apr 2012
All of the devices run stock fw's

Sent from somewhere
26th June 2014, 04:16 PM   |  #3  
Echelonblue's Avatar
OP Senior Member
Thanks Meter: 35
 
120 posts
Join Date:Joined: Apr 2012
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/...ncryption.html
The Following User Says Thank You to Echelonblue For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes