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

[Q] Lock pin file location

OP elesbb

2nd July 2014, 12:12 AM   |  #1  
elesbb's Avatar
OP Senior Member
Thanks Meter: 4,469
 
6,922 posts
Join Date:Joined: Jun 2010
Donate to Me
More
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, 09:21 AM   |  #2  
fffft's Avatar
Senior Member
Thanks Meter: 622
 
1,978 posts
Join Date:Joined: Jul 2013
/data/system/locksettings.db-*
/data/system/gesture.key
/data/system/sparepassword.key
/data/data/com.android.providers.settings/databases/settings.db
2nd July 2014, 03:03 PM   |  #3  
elesbb's Avatar
OP Senior Member
Thanks Meter: 4,469
 
6,922 posts
Join Date:Joined: Jun 2010
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, 03:53 PM   |  #4  
elesbb's Avatar
OP Senior Member
Thanks Meter: 4,469
 
6,922 posts
Join Date:Joined: Jun 2010
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, 02:28 PM   |  #5  
daniello8's Avatar
Senior Member
Flag Berlin
Thanks Meter: 65
 
767 posts
Join Date:Joined: Sep 2008
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
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes