Saturday, September 13, 2014

How to unlock pattern in android phone or tablet with ADB



when you fail to unlock the android tablet if you failed to unlock it will lock your device at the time use this codes to unlock your device without any trouble .it's really worked for my tablet  




go to android adb.exe folder in the command line it's in adt-bundle-windows-x86-20140321\sdk\platform-tools the type these commands

  • adb devices (verify device is identified by pc. If not reconnect device and try again. it should display “device” with a serial no)
  • 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'; (for some devices update “system” is enough but I had to update “secure” too)
  • update system set value=0 where name='lockscreen.lockedoutpermanently';
  • update secure set value=0 where name='lockscreen.lockedoutpermanently';
  • .quit
  • exit
  • adb reboot

No comments:

Post a Comment