/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/locksettings.db \ "UPDATE locksettings SET value=0 WHERE name LIKE 'lock_pattern_autolock';"
Great post. I have one question: is it similar to unlock the password lock screen? I guess by using the statement "UPDATE locksettings SET value=0 WHERE name LIKE 'lock_pattern_autolock';" but instead of 'lock_pattern_autolock' maybe another parameter like 'lock_password_autolock'? Anyone has a clue?
And there's also an app lock screen too, i.e. when you are in the device and try to start an app, it will ask for a password defined by you previously. Is there a way to hack this?
And... most importantly, after setting the parameter to 0, if I change it back to 1, is the old password retained, so that the device owner will not notice a thing?
I need help with this guide. I have a HTC Sensation with CM10. I don't know if I have debugging on or not, but I am rooted. I can't get the "adb" command to work, but I know I've done it before when I first rooted. I don't know how to run the commands from CWM either. I have 4ext recovery, will that be a problem?
adb shell cd /data/data/com.android.providers.settings/databases sqlite3 settings.db update system set value=0 where name='lock_pattern_autolock'; update system set value=0 where name='lockscreen.lockedoutpermanently'; .quit
adb shell rm /data/system/gesture.key