Jump to content

[HOW-TO]Crack android pattern lock!


Recommended Posts

The device needs to have usb debugging enabled,root is not required (though it will be better if the device was rooted)

both method are through adb.

method 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';

method 2:

adb shell rm /data/system/gesture.key

you can try both of them,here is how i managed to remove the lock:

1- run the first method.


3-run the second method



-in the first method each line is a seperate command so click enter after typing each line.

-in the second method type all the command and then press enter.

-after running both methods and rebooting you may see the pattern lock,that doesn't necessarily mean it doesn't work,just try any random pattern and it may unlock then remove the pattern from settings.

-this may and may not work,it may work on some devices and don't on others,so all you can do is trying it but i can't assure it will work.

by m.sabra

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...