Forgot Pattern Lock , Pin and Password ?
Don't Worry Just Follow these steps:
(Note: You can also download the latest version from the internet)
4. Now open Command Prompt by typing cmd on run (Ctrl+R).
Now, Do the Below Methods:
Method 1:
Type (Note: If device is connected we will see a # symbol after Adb shell )
adb shell (Press Enter)
Then Type,
rm /data/system/gesture.key (Press Enter)
If you have a password and not a pattern:
replace gesture.key To password.key
- Now Reboot Device
- Draw any pattern device will be unlocked, later we can change the pattern in security settings.
OR
Method 2:
Type (Note: If device is connected we will see a # symbol after Adb shell )
adb shell (Press Enter)
Then,
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db (Press Enter)
After that,
update system set value=0 where name='lock_pattern_autolock';
update system set value=0 where name='lockscreen.lockedoutpermanently';
.quit
- Now Reboot Device
- Draw any pattern device will be unlocked, later we can change the pattern in security settings.