How To unlock a forgotten smartphone pattern lock using Command Prompt within 5 minutes

How To unlock a forgotten smartphone within 5 minutes 

Do you forgot your lock pattern, or did you change your phone pattern and forget the old one? Actually this is very common problem that people face nowadays .




In this article , we will learn about how to use a command prompt to unlock your lock pattern. For this we need the items to resolve the locked issue.


Requirements to Unlock smartphone 

  1. Pattern lock forgot Phone
  2. USB cable-Data Cable 
  3. Laptop or Desktop (Windows) 


Now, let us resolve the issue.

Steps:-

  1. Connect your android phone to your computer (Laptop / Desktop).
  2. Open Command prompt as an administrator.
  3. Now in the command prompt window type or copy and paste the following code given below 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 can reboot your phone and when your android starts again, try unlocking it using any random pattern and it will unlock and work pretty fine.


If you encounter any problems, repeat the steps above, but instead of the above code, type the following code

adb shell rm/data/system/gesture.key

and press enter, then reboot your device to check if it works.


Please keep in mind that this will work only with Android phones. Do this for your loved ones instead of wasting lots of money to unlock your phone.

If you any doubts, Please let me know

Previous Post Next Post

Contact Form