トラッキング コード

8/17/2011

Analysis of the Android frameworks : Screen Lock Settings

OS version

Android OS 2.3.5_r1


Screen Lock Settings

'Screen unlock security' lock screen can be set from Settings.apk.
Password and pattern information that used unlock screen is managed by 'LockPatternUtils'.



LockPatternUtils class overview

Generate an SHA-1(and MD5) hash for the password / pattern.
Write the hash to file.
Check to see if a password matches the saved password / pattern.
Save password quality to DevicePolicyManager.




1 comment:

  1. Hi, I found your blogs very interesting. This topic actually increases curiosity.

    In the video
    http://www.youtube.com/watch?v=z2DnR4W2mpk

    you had shown there is a list item "use NFC to unlock screen" which is not available in my phone - nexus S Android OS 4.1.1. I was wondering if you had included that programatically..? can you perhaps share how to do that please ?

    thanks
    Den

    ReplyDelete