How to Bypass Security Pattern on an Android Device

Connect your gadget to your PC via USB cable., Open command prompt., Type the following commands., Enter another command., Use any security pattern.

5 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: Connect your gadget to your PC via USB cable.

    On your PC, open a command prompt by typing "cmd" in the Search bar in Start Menu. , Type the following commands on command prompt.

    Make sure that you press "Enter" after every command line:
    -adb shell *The prompt ought to show a # instead of a $.

    If it does show $, enter "su" to switch to the root
    -client.
    -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
    -exit
    -adb reboot , After your device has rebooted, enter the following commands into the command prompt:
    -adb shell
    -rm /data/system/gesture.key
    -exit
    -adb reboot , Your device will reboot again.

    Once it has rebooted and asks for a security pattern, you can use any pattern and it will unlock your cell phone.
  2. Step 2: Open command prompt.

  3. Step 3: Type the following commands.

  4. Step 4: Enter another command.

  5. Step 5: Use any security pattern.

Detailed Guide

On your PC, open a command prompt by typing "cmd" in the Search bar in Start Menu. , Type the following commands on command prompt.

Make sure that you press "Enter" after every command line:
-adb shell *The prompt ought to show a # instead of a $.

If it does show $, enter "su" to switch to the root
-client.
-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
-exit
-adb reboot , After your device has rebooted, enter the following commands into the command prompt:
-adb shell
-rm /data/system/gesture.key
-exit
-adb reboot , Your device will reboot again.

Once it has rebooted and asks for a security pattern, you can use any pattern and it will unlock your cell phone.

About the Author

J

James Knight

Creates helpful guides on crafts to inspire and educate readers.

67 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: