![]() |
| droid4ever.com |
How to use ADB shell -Link
ADB shell Method-1]
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
adb shell rm /data/system/gesture.key
You Can Use Both Method By Run First Method Then Reboot,Run Second Method Then Reboot.
Procedure:
1] In first method,each line is separate command,press enter after each command/line
2]In second method press enter after whole command.
3]Then reboot device and draw any pattern to unlock
Tested Devices:
All Gingerbread,Ice cream Sandwich and Jelly Bean
In Some Nexus custom rom phone this method is not working so use following-.
adb shell
su
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
reboot
Dislcaimer:
This tutorial only for educational purpose.Author is not responsible for any hacking attempt by user and also not responsible for any phone damage
Regards,















