Security lock pattern My son playing with my phone used up the number of times the lock pattern allows. Now my phone is locked. I use a Gionee Dual sim phone with 4.1 Jelly Bean. Any suggestion???
if you have USB debugging enabled already you could disable the lockscreen with:

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


Reboot, and then:

adb shell rm /data/system/gesture.key


Reboot one more time.    

If you don't have USB debugging already enabled there is no way to use this.

Source