HOW TO UNLOCK LOCK PATTERN of ANDROID PHONE USING COMMAND PROMPT.
REQUREMENTS:
1) Android phone with pattern lock
2) Download this platform_tool Download
3) Goto About device and click 7 times on BuildNumber to Enable the Developer Option
and Goto Developer Options and Enable USB Debugging
4) A Windows PC/ laptop
5) A usb cable
- You should toggle USB debugging going to the Developer Options on the general settings screen as soon as you buy a device. The problem is the activation this option in attaching your device to PC is impossible without taking a few preliminary steps. Therefore to disable pattern unlock using ADB is not possible.
Instruction to disable pattern unlock.
- Connect an Android device to PC, unzip platform-tools archive to any folder;
- To start running “Platform-tools” you should open “Platform-tools” folder, press and keep pressing “Shift” button and tap at free space with the other mouse button. You will see pull-down menu. Select “Open command prompt” ;
- Then input the code below, submit it by pressing “Enter”:
The first option: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
The second option:adb shellrm /data/system/gesture.key
The third option:adb shell su rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot
The fourth option:adb shell rm /data/system/gesture.key
- After performing all steps, reboot your device. Now you can input a new pattern unlock.
We can not 100% guarantee that one of the above methods will definitely work. Nevertheless it is worth to try all of them. A great deal depends on the model of the device, its firmware. However many users solved this problem by employing the above methods first try. We wish you good luck!
No comments:
Post a Comment