Wednesday, August 22, 2012

android pattern lock

Handy much be enable USB debugging. if you haven't run it by CWM (no need root)

connect your phone to PC run to adb shell by


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
reboot.

or / and do if above not work yet do below step.
adb shell rm /data/system/gesture.key
reboot.


then should be work!!

source: http://forum.xda-developers.com/showthread.php?t=1800799