Unlock Android Device If Forgot Lock Pattern
Android's pattern lock is a nice security feature but it becomes a headache when you forget the pattern and your device is locked after trying 5 attempts of unlocking. Well I have some methods to unlock your android device if it is locked.
Method 1:
This method is the most common method used by every android user. Just use the forgot password option and sign in with your email address and password to reset the lock. Make sure that your device is ready to connect with internet.
Method 2:
In this method, we will use command prompt to unlock the android device. Connect your android device with your computer and open command prompt as administrator. Now type this code in command prompt and press enter:
Note: If you are facing problems with the command prompt, then simply type the code in notepad and save it as anyname.cmd or anyname.bat and then run the file.
You can try this code also:
Now, restart your device. It must be unlocked now.
Method 3:
This method is called hard reset and it will erase all the data, such as your contacts, songs, photos etc from your device. The content on memory card will be safe but the phone memory will be formatted. Follow the steps:
Method 1:
This method is the most common method used by every android user. Just use the forgot password option and sign in with your email address and password to reset the lock. Make sure that your device is ready to connect with internet.
Method 2:
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
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
Note: If you are facing problems with the command prompt, then simply type the code in notepad and save it as anyname.cmd or anyname.bat and then run the file.
You can try this code also:
adb shell rm /data/system/gesture.key
Now, restart your device. It must be unlocked now.
Method 3:
This method is called hard reset and it will erase all the data, such as your contacts, songs, photos etc from your device. The content on memory card will be safe but the phone memory will be formatted. Follow the steps:
- Shut down your android device.
- Now we have to press some key combinations to launch the recovery mode.
- Different devices may have different key combinations, but generally it is Volume Up + Volume Down + Power keys.
(Samsung Galaxy S3 uses Volume Up + Home + Power keys, Motorola Droid X uses Home + Power keys). - Hold the keys until you see the recovery logo and using the volume up and down keys (if your device is full touch screen) you can move up and down and press power button to select the option.
- Now select YES for wipe data option.
- Now the device will be formatted and fully unlocked.