Skip to content

Instantly share code, notes, and snippets.

@diniremix
Created January 4, 2014 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diniremix/8251272 to your computer and use it in GitHub Desktop.
Save diniremix/8251272 to your computer and use it in GitHub Desktop.
#unlock android pattern lock
#paso 1
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 android
#paso 2
adb shell rm /data/system/gesture.key
#reboot android
#may not work on all devices
#via http://forum.xda-developers.com/showthread.php?t=1800799
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment