How to unlock lock pattern using command prompt

­čö┤Steps to Follow:

   1⃣ Connect your android phone to your computer.

   2⃣ Open Command prompt administrator.


 3⃣ Now in command prompt window type following code carefully  adb shell cd/data/data/com.android.providers.settings/databases sqlites settings.db  update system set value=0 where name=’lockpatternautolock’; update system set value=0 where name=’lockscreen.lockedoutpermanently’; .quit

   4⃣ Now you will see some screen as shown below and then you can reboot your phone and now when your android starts again, then try unlocking it using any random pattern and it will unlock and work pretty fine.

   5⃣  If you face any problem repeat the same steps but instead of the above code tru using ADB shell rm/data/system/gesture.key and the press enter and now reboot your device to see if it works.

Post a Comment

Previous Post Next Post