🔒 Closed How to unlock android lock pattern using cmd !

Status
Not open for further replies.

kuligma

Honorary Poster
Today I am going to share that how to unlock the pattern lock of your android phone. So don't worry if u have forgotten your pattern. Enjoy this and share.

Step 1: Connect your Android Phone to Your Computer.

Step 2: Open Command Prompt as Administrator.

Step 3: Now in command prompt window type the following code carefully exactly as it is and then press enter.

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';
.quit

Step 4: Now you will some screen as shown below and then you can reboot your phone and now when your will start again then try unlocking your phone using any random lock pattern and it will work pretty fine.



Step 5: If you face any problem repeat same steps but instead of the above code try using adb shell rm/data/system/gesture.key and then press enter and now try rebooting your device to see if it works.
 
Status
Not open for further replies.

About this Thread

  • 24
    Replies
  • 2K
    Views
  • 25
    Participants
Last reply from:
jessa mae 976

Online now

Members online
1,002
Guests online
4,296
Total visitors
5,298

Forum statistics

Threads
2,349,251
Posts
29,361,414
Members
1,090,989
Latest member
josen73
Back
Top