Requirements :
Step 1.
1.Connect your phone to your PC using USB cable.
Linux distro
Android phone
USB cable
ADB
Step 1.
1.Connect your phone to your PC using USB cable.
Step 2. – Installing ADB over terminal
1.Boot into any Linux distro you have.
2.Open up terminal and type :
Quote:sudo apt-get install android-tools-adb
This will install ADB.
Step 3. – Disabling pattern unlock over terminal
1.Open up terminal again and type :
Quote:adb devices
adb shell
cd data/system
su
rm *.key
Now,disconnect your phone and reboot.Unlock pattern should be here.Just try some random gesture and it will unlock.
Happy android hacking!
Credit