All Android Users use Pattern lock for our data privacy.Some times we are just stuck on lock screen. Then we need to unlock by putting our email address in , but sometimes you might forget your email.Check this article to bypass the Pattern lock.
We use two methods to unlock the phone :
Source : XDA
We use two methods to unlock the phone :
- Hard Reset
- Using ADB
Unlock using Hard Reset
- Switch Off your Phone.
- Press and Hold Power+Volume up+Volume down together (different phones might have a little different method of booting into recovery mode, but this is the most general one).
- You will then boot into recovery mode , use volume keys to navigate up and down and power key to choose.
- Choose Wipe DATA.
- Choose wipe cache.
- Reboot device.
Note : This method will result in Hard reset your Device.
Using ADB ( Android Debug Bridge )
In this we will use ADB (Android Debug Bridge) to unlock the device without losing any data.
- First we need to set up ADB on device , you generally need these files (LINK of adbzip) or you can Google on how to install ADB in windows.
- Just make a folder adb in c/root and copy the files.
- Install drivers of your phone.
- Turn on USB debugging on phone.( Settings > Developer options > Usb Debugging )
- Open Command prompt in computer , and type cd C:/Android (Android here is the folder where my adb files are , change according to yours)
Then you can try following sets of command
Method 1 :
Code :
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
Type each line and press enter.
Method 2 :
Code :
adb shell rm /data/system/gesture.keyType the Code and press enter
- Afetr entering code reboot your device 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.
Source : XDA
No comments:
Post a Comment