June 25, 2017

How to bypass any Android Pattern Lockscreen and Password with or without root?

Thanks guys, without you guys this website would not be possible. If you like this website Please like our Facebook Page and Follow me on twitter @lifestohack

Android lock pattern is strong security feature in any android device. It is simple to activate this feature but hard to crack if you forgot the Pattern. But yes, I will be telling you the way to bypass any Android Pattern Lockscreen and Password without root.

Method 1:

Before you start: Be sure that you have latest version of JDK installed.

Things to know: This Is For Educational Purposes Only You Shall Not Use This On Other People Phones Without Permission. Under Any Circumstances I’m Not Responsible For Any Eventual Errors And Misbehaving Of Your Devices. May not work on all the Smartphones.

Step 1:

Download the android sdk form android developer. Extract the downloaded folder and save it in Desktop or where ever is easy for you.

Step 2:

Once the Android SDK is downloaded and extracted, launch the SDK Manager application from the extracted folder.

Enable the Android SDK Platform-tools checkbox and click the Install button. This downloads and installs the platform-tools package, which contains ADB and other utilities.

Step 3:

Enable USB debugging.

Step 4:

Open your Extracted folder and navigate to sdkplatform-tools.Open up the command line from this folder. Click Shift+Right Click. Choose Open Command line here.

Step 5:

Once you open the Command line type:

[code lang=”js”]adb shell [/code]

Hit Enter. And again Type:

[code lang=”js”]rm /data/system/gesture.key[/code]

Hit Enter.

That is it. Now what you want to do is restart your Smartphone. You just hacked your phone. Now when your phone restarts you can try random pattern and it unlocks. Everything is good.

If method 1 doesnot work for you than you can try Method 2.

Method 2:

After step 4 of method 1 continue this tutorial. Once you open the Command line type:

[code lang=”js”]adb shell [/code]

Hit Enter. And again Type:

[code lang=”js”] cd /data/data/com.android.providers.settings/databases [/code]

Hit Enter. And again Type:

[code lang=”js”]sqlite3 settings.db [/code]

Hit Enter. And again Type:

[code lang=”js”]update system set value=0 where name=’lock_pattern_autolock’;[/code]

Hit Enter. And again Type:

[code lang=”js”]update system set value=0 where name=’lockscreen.lockedoutpermanently’; [/code]

Hit Enter. And again Type:

[code lang=”js”].quit [/code]

Hit Enter. That is it. Now what you want to do is restart your Smartphone and it should work. Just try some random combination.

 Method 3:

If you have a SD card and if have a rooted phone with custom Recovery like Cwm, Twrp etc than this solution is for you.

1. Download this zip Pattern Password Disable on to your sdcard with the help of your PC.
2. Insert the sdcard into your phone and reboot into recovery mode.(You need to know how to reboot into recovery mode. Just search for the button combination of your specific model on the Internet.)
3. Flash the zip and reboot your smartphone.

Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don’t Worry. Just try some random combination.

Method 4:

Assuming that you have Cwm, Twrp etc installed.

1. Download this zip Aroma File Manager on to your sdcard with the help of your PC.
2. Insert the sdcard into your phone and reboot into recovery mode.(You need to know how to reboot into recovery      mode. Just search for the button combination of your specific model on the Internet.)
3. Flash the zip
4.The file manager will start  while you are in recovery.
5.Click on menu option and go to settings – Select Mount All Partitions
6.Now, exit from Aroma File Manager and reflash it, after reflashing you can see each partition is mounted.
8.Navigate to  /data/system

Note : If you have sd-ext mod to increase internal storage, go to /sd-ext/system/


10.If you have to remove pattern lock, long press and delete gesture.key and If you want to remove password, delete password.key and delete it.
11.Exit the Aroma File Manager & Reboot Device.

Hope one of the above mentioned method will work for you. Even if one doesnot work try another method. But be careful! Happy hacking!!!

About Bhattarai Diwas (thenepaltech) 213 Articles
I'm an Engineer and have Bachelor's Degree in Electrical and information technology. Right now I am working as a software developer in Germany. All in all I love programming and I am a tech geek.
  • Synacks

    doesn’t work on Galaxy S5 without root

    • For some of the method rooting is needed.

      • juno

        why didn’t you say that shit along tiome ago instead of having somebody waste there damn time typing in your funky ass no working command line shit. you should say at the beginning that p[eople need to be rooted not as the last comment ever in the thread after everyone else has spoken about this and you just gonna pop off with that shit and the say nothing else. that s cowardly, stay your ass in Germany fool. dec
        ietful ass dude

  • C.J.

    i have a kyocera hydro edge that is not on a service right now, can’t remember the pattern lock and i don’t want to factory reset due to not wanting to lose my photos, contacts, etc. that are on the phone… is there a way to bypass the pattern lock without having to do a hard reset?

  • H.S.CHAN

    Hey, i trying to unlock my lenovo A850+ with the method 1 u attached. But there showed ”
    “[code” is not recognized as internal and external,operable program and batch file, how to solve it? Besides, i would like to ask how to enable the USB debugging since the phone is locked and i just know how to trigger the debugging mode from unlocked phone.

    Please forgive my noobness.