This question already has an answer here:

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???

marked as duplicate by Izzy, roxan, GAThrawn, Chahk, ale Apr 5 '13 at 14:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


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';

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.


Not the answer you're looking for? Browse other questions tagged or ask your own question.