Disclaimer: This is not for hacking purpose, you shall not use this
on other phones without permission under any circumstances.
Show text-ads on your Website or Blog with BidVertiser.
If you are stuck on the pattern lock on your Android Device, don't worry there's a solution for this problem. For doing this you must have Android USB debugging enabled on your phone or CWM (ClockWork Mod Recovery).
You will also need Adb. This can be downloaded
here. Adb can be found in the Platform tools folder.
Now put these Commands in the adb while your device is connected to the computer.
Method 1
The Commands are:
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
And/Or
Method 2
The Command is:
adb shell rm /data/system/gesture.key
You can try both of them,here is how i managed to remove the lock:
1. Run the first method.
2. Reboot
3. Run the second method
4. Reboot
NOTES:
• In the first method each line is a separate command so click enter after typing each line.
• In the second method type all the command and then press enter.
• After running both methods and rebooting you may see the pattern
lock,that doesn't necessarily mean it doesn't work,just try any random
pattern and it may unlock then remove the pattern from settings.
• This may and may not work,it may work on some devices and don't on
others,so all you can do is trying it but i can't assure it will work.