Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,028 Members 38,122 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Lock pin file location

Tip us?
 
elesbb
Old
#1  
elesbb's Avatar
Senior Member - OP
Thanks Meter 4,327
Posts: 6,734
Join Date: Jun 2010

 
DONATE TO ME
Default [Q] Lock pin file location

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?
 
fffft
Old
#2  
fffft's Avatar
Senior Member
Thanks Meter 340
Posts: 1,235
Join Date: Jul 2013
/data/system/locksettings.db-*
/data/system/gesture.key
/data/system/sparepassword.key
/data/data/com.android.providers.settings/databases/settings.db
 
elesbb
Old
#3  
elesbb's Avatar
Senior Member - OP
Thanks Meter 4,327
Posts: 6,734
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by fffft View Post
/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. -.-
 
elesbb
Old
#4  
elesbb's Avatar
Senior Member - OP
Thanks Meter 4,327
Posts: 6,734
Join Date: Jun 2010

 
DONATE TO ME
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: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes