One of the top reason to set up lock in your phone is to keep strangers and friends away from checking private messages, galleries and private pictures. Furthermore, we put security passwords in our phone so that even it get stolen then they won't be able to open our phone and misuse it. But one of the disastrous moment comes in our life when we forget our own Android phone's lock pattern or password or Pin code. This may happen to any of us if we change our phone security too often and forget the new one or if some friend of yours plays a prank on you to make you struggle with it.

lockscreen background image

Requirements :
~Linux distro
~USB cable
-> Connect your phone to your PC using USB cable.
->Installing ADB over terminal
-> Boot into any Linux distro you have.
-> Open up terminal and type :
"sudo apt-get install android-tools-adb"
This will install ADB.
->Disabling pattern unlock over terminal
Open up terminal again and type :
adb devices
adb shell
cd data/system
rm *.key
Disconnect your phone and reboot.
Unlock pattern still should be here.Give a random pattern and it will unlock... grin emoticon