What's new

Closed How to: unlock lock pattern using command prompt

Status
Not open for further replies.

Jover24

Honorary Poster
Joined
Apr 3, 2016
Posts
254
Reaction
387
Points
217
How to: Unlock Lock Pattern Using
Command Prompt
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.prov
iders.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 reboot your phone and then try to use any random 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.
Note: It wont work on android 4.4
 
Status
Not open for further replies.
Back
Top