step 1
Download and install Android SDK on your PC. You will also need to install the specific drivers for your Android device if you don’t already have them installed on your PC.
step 2
After installing the Android SDK and the relevant drivers, connect your Android phone to your PC using a micro USB cable.
step 3
Next, open Command Prompt on your PC and enter the following commands. Make sure that you press the Enter key after entering each command line.
cd\
cd android-sdk\platform-tools\
adb devices
After typing the last command, you should get some random numbers and alphabets. This means that your device is successfully connected. Next, enter the follow commands:
adb shell
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system set value=0 where name=’lock_pattern_autolock';
update secure set value=0 where name=’lock_pattern_autolock';
update system set value=0 where name=’lockscreen.lockedoutpermanently';
update secure set value=0 where name=’lockscreen.lockedoutpermanently';
.quit
step 4
Reboot your device and you’ll be presented with a new lock screen. Don’t worry after seeing the lockscreen as your device should be fully unlocked and you can enter any pattern that you want and that will become your new lockscreen pattern.

ConversionConversion EmoticonEmoticon