FORUMS

[Q] Lock pin file location

7,191 posts
Thanks Meter: 4,711
 
By elesbb, Senior Member on 1st July 2014, 11:12 PM
Post Reply Subscribe to Thread Email Thread
So, on previous phones you could simply delete the /data/system/password.key file to disable the lockscreen password. Does anyone happen to know where Samsung has put it?
 
 
2nd July 2014, 08:21 AM |#2  
fffft's Avatar
Senior Member
Thanks Meter: 674
 
More
/data/system/locksettings.db-*
/data/system/gesture.key
/data/system/sparepassword.key
/data/data/com.android.providers.settings/databases/settings.db
2nd July 2014, 02:03 PM |#3  
elesbb's Avatar
OP Senior Member
Thanks Meter: 4,711
 
Donate to Me
More
Quote:
Originally Posted by fffft

/data/system/locksettings.db-*
/data/system/gesture.key
/data/system/sparepassword.key
/data/data/com.android.providers.settings/databases/settings.db

Thanks, but,

locksettings.db-* is simply information for what type of lockscreen, it sadly does not hold the value for the lock pin/password you set.
gesture.key does hold the pattern you selected.
sparepassword.key holds the pin you chose for your backup pin from the pattern.
settings.db is just a database for the general settings


I cannot for the life of me figure out where the "password.key" file is. I think Samsung changed this location. But according to the source code, it should be the same location. -.-
2nd July 2014, 02:53 PM |#4  
elesbb's Avatar
OP Senior Member
Thanks Meter: 4,711
 
Donate to Me
More
I figured it out.

System property, security.mdpp needs to be set to "None" in order for it to use the standard path. I'm not sure where its putting it if that is set to Ready. The smali is hard to follow. But i got it working properly now Thanks!
The Following User Says Thank You to elesbb For This Useful Post: [ View ]
6th December 2014, 01:28 PM |#5  
daniello8's Avatar
Senior Member
Flag Berlin
Thanks Meter: 99
 
More
Hi, my security.mdpp is set to "None" by default but still I get no password.key file. I used Delayed Lock successfully on my Galaxy S4 but it won't work well on my S5 since it heavily relies on that file to also do the unlocking, when another admin is active that requires PIN Lock.

I am looking for an information on how to get back the S4 behaviour referring to that file.

?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes