Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,675 Members 46,447 Now Online
XDA Developers Android and Mobile Development Forum

can't Pin login with device encryption enabled.

Tip us?
 
Echelonblue
Old
#1  
Echelonblue's Avatar
Senior Member - OP
Thanks Meter 35
Posts: 119
Join Date: Apr 2012
Phone can't Pin login with device encryption enabled.

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, 7 views)
The Following User Says Thank You to Echelonblue For This Useful Post: [ Click to Expand ]
 
Echelonblue
Old
#2  
Echelonblue's Avatar
Senior Member - OP
Thanks Meter 35
Posts: 119
Join Date: Apr 2012
All of the devices run stock fw's

Sent from somewhere
 
Echelonblue
Old
#3  
Echelonblue's Avatar
Senior Member - OP
Thanks Meter 35
Posts: 119
Join Date: Apr 2012
Default 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: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes