IF YOU WANT A GUEST POSTING THEN EMAIL ME

contact email:abdulmuizz1698@gmail.com

Unlock Android Device using adb commands? how to open a forgetten lock of an android mobile? method 2

Requirements:

  • PC or Laptop with a working OS on it (I use OSX, but it is working also on Unix and Windows)
  • Android SDK. You can get it at the developer site.
  • Connected android device via usb to your PC

Adb commands:

To run the adb-commands you have to change to the platform-tools directory in your android-sdk (/path/to/your/android-sdk/platform-tools).
Now you can use the following commands:


adb devices # to verify that your device is identified 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 exit adb reboot


Now your device is unlocked. If not use adb shell rm /data/system/gesture.key.
if you have a pin lock then replace gesture by pin 
if you have a password lock then replace gesture by password
I cleared lock patterns and removed the permanent lock from database. I have broken the security to unlock my device, but I saved my device and all data and I can use it again.

Share this

Related Posts

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
:-?
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
$-)
(y)
(f)
x-)
(k)
(h)
cheer