07/23/2018 Plotegor Android, Instructions 313 comments
If you forgot your password or pattern on Android, this is not a reason to panic. Access to the smartphone can be restored, and there are several ways to unlock it. The updated instructions describe in detail about each of them.
How to reset password or lock in Android
(!) The article contains the basic ways to reset the password / pattern, starting from the simplest (when you remember the username and password of your Google account) and ending with the more complex ones: Hard Reset, deleting the files “gesture.key” and “password.key”. Carefully read all the points, follow the links to detailed instructions, and everything will work out!
Method 1: Enter your Google Account Information
A working method for devices on Android 4.4 and below. Starting with Android 5.0, this option has been removed from many firmware. But not all manufacturers did this, so check if it works for you or not.
When the phone or tablet is connected to a mobile network or Wi-Fi, in order to remove the lock, just enter your e-mail and password. To do this, enter the pattern key incorrectly 5-10 times, after which a warning message about blocking the device for 30 seconds will pop up.
The “Forgot your graphic key?” Button will appear on the screen, clicking on which you can enter your data and unlock the device.
If you forgot your account password, you will have to restore it. go to this page from a working gadget or PC.
Please note that this method requires mandatory access to the Internet. Therefore, open the quick settings panel by swiping down (the “shutter” can be opened directly from the lock screen on Android 5.0 Lollipop and newer) and turn on mobile data or Wi-Fi. The device will connect to the access point if it has worked on this network before.
2. Reset graphic password using ADB
The graphic key can be deleted using ADB. You need to connect the device via USB to the computer and enter the necessary commands. All details in the instructions →
The method will work only when USB debugging is enabled.
Method 3. Reset to factory settings
The next method is simpler than the previous one, but using it, all data from the internal memory, such as installed applications, linked accounts, SMS, etc., will be deleted. Photos, audio, and other files on the SD will remain intact. You will find complete instructions in the article: How to Reset Settings on Android (Hard Reset).
During the next activation of the device, restore the data from the backup copy. it works provided that synchronization has been previously performed.
Method 4. Flash a smartphone or tablet
Having flashed an Android phone or tablet, you will remove the lock or password. On our site there is a detailed instruction on the firmware of Android devices of various manufacturers, separately Samsung using Odin and LG via KDZ Updater.
Method 5. Removing gesture.key (unlock graphic pattern) and password.key (password reset)
The method is intended for owners of phones and tablets with root rights and CWM Recovery. Its action is that the system files “gesture.key” and “password.key” are deleted, which are responsible for displaying a graphic lock and password, respectively.
To do this, you need an Aroma file manager. Download the archive from the link and discard it on your phone or tablet without unpacking. Then turn off the device and go to the Recovery menu. To do this, instead of the power button, hold and hold one of the possible combinations (or read the FAQ for specific models):
- Volume Up “ON”
- Volume down "ON"
- Volume Up / Down Power Home
Using the volume up and down buttons, move up and down, respectively, and confirm the selection with the power / lock button. In new smartphones, Recovery can be touch-sensitive.
1. From the CWM Recovery menu, select “Install zip”.
2. Then click “Choose zip from / sdcard” and go to the folder where you downloaded Aroma or use “Choose zip from last install folder”. In the second case, you will see all the latest downloaded archives, among which you will find the one you need.
3. Select an archive with Aroma Explorer.
4. Next, the file manager itself opens. Follow the path / data / system / and delete the files:
- “Gesture.key” (“gatekeeper.pattern.key” in new firmware)
- "Password.key" (or "gatekeeper.password.key" instead)
Highlight them and in the additional menu click “Delete”.
At the end, reboot the device. You can enter any password and the phone will unlock. Then boldly go to the settings and set a new lock.
6. How to remove the graphic lock via TWRP Recovery
TWRP Recovery has a file manager. through it, files that display a password or a graphic key are deleted without installing Aroma File Manager. To do this, put the mobile gadget in recovery mode (see the previous method) and open "Advanced".
Then click “File Manager”.
Go to the folder / data / system / and delete the following files:
- “Gatekeeper.password.key” (in older versions of Android, the file is called “password.key”)
- “Gatekeeper.pattern.key” (in old firmware. “gesture.key”)
Tap one of the files and select “Delete” in the list that appears.
To confirm, swipe to the right.
Then click “Back” and follow the same steps with the remaining files.
To restart Android, return to the main menu and select “Reboot” → “System”.
7. We clean the internal memory using Fastboot
All Android phones and tablets (except Samsung) have a firmware mode. Fastboot. By rebooting the mobile device into it, the device can be controlled from the computer using the utility of the same name. The installation of Fastboot and USB drivers is described in a separate instruction. You also need to unlock the bootloader on smartphones Sony, Huawei, LG, HTC, Pixel, Nexus, Motorola and some other models.
(!) Unlocking the Bootloader is also done through Fastboot and in the process the data from the internal memory is erased. In the future, to clean the smartphone will be enough to perform the steps described below.
To reboot the device into Fastboot mode, hold down the volume down button while turning it on.
In addition, you can put Android into firmware mode using the ADB command if USB debugging is activated. Read the FAQ on the Fastboot and ADB website in detail, run the command line (or PowerShell on Windows 10) as an administrator from the platform-tools folder, enter the command, and click Enter:
adb reboot bootloader
In PowerShell ahead you need to add:
When Bootloader is loaded on the device, use one of the following Fastboot commands. The internal memory will be cleared, thereby unlocking the device:
fastboot erase userdata
To transfer the gadget from the bootloader to Android, type:
8. Unlock the pattern on Chinese phones with MTK processors
Smartphones Meizu, Xiaomi, Lenovo, Fly, Elephone, Blackview, ZTE, Bluboo, Doogee, Oukitel, UMI and other Chinese manufacturers working on MTK chips are flashed with the SP Flash Tool. Using it, it is easy to install custom Recovery without clearing the remaining partitions, and already through TWRP or CWM you can delete the files “password.key” (or “gatekeeper.password.key” in new versions of Android), “gesture.key” (“gatekeeper”.pattern.key ")," locksettings.db "," locksettings.db-wal "and" locksettings.db-shm ".
(!) For some Chinese smartphones with a locked bootloader running on Android 7.0 Nougat and higher, this method will not work. They need to activate the item "Factory unlock" ("OEM unlock"). This is done through the menu "Settings" → "For Developers", which cannot be reached on a locked phone.
Download the current version of the program from the official website: http://spflashtool.com/, a link to USB drivers for MTK chips can be found in the Fastboot installation instructions. Download the Recovery image file and “. scatter.txt” for your processor. they can be found in the topics of the corresponding models on forums such as w3bsit3-dns.com, XDA-Developers, Needrom. Put the files in one folder so that the path does not contain Cyrillic characters. Rename the image to “recovery” with the extension “.img”.
Unzip the SP Flash Tools to the “C: \” drive. Open the folder and run “flash_tool.exe” as administrator.
Click on “Scatter-loading”, go to the folder where “recovery.img” is located and select the scatter file.
Only the “recovery” section will be marked. At the top, click “Download.”
Now turn off the smartphone, remove the battery (if possible) for a few seconds, insert it back and connect the turned off device to the PC via USB.
A red bar “Download DA 100%” will appear.
Next, yellow, which will show how many percent completed the firmware process.
At the end, the “Download Ok” window will appear, which indicates the successful installation of Recovery.
Then you need to immediately launch Recovery so that the stock does not overwrite the custom the first time you turn it on. Usually on Chinese phones, you need to hold the power and volume keys until a special menu appears. Use the Volume UP button to go to the Recovery item and confirm with Volume Down.
Now go to the instructions 5 or 6 (depending on the installed Recovery: CWM or TWRP) and delete the forgotten password.
Method 9. We use the service “Find a device”
Google created the "Find a device" service, which has a Hard Reset function. Accordingly, the lock is reset.
1. If the device is not connected to the Internet, open the quick settings panel and connect to a mobile or Wi-Fi network (open or the one you connected to before).
2. From a computer or other device, go to https://www.google.com/android/find and log in.
3. The service will determine the location of the phone and when it was last online. In the list of options, select "Clean device."
4. Click “Clean device” again.
5. To confirm the deletion, click on the “Clear” button.
When the device is offline, Wipe will be made the first time you connect to the Internet.
10. How to remove the graphic key on Samsung phones using “Find My Mobile”
Owners of smartphones of the most popular brand have the ability to unlock the device if the Internet is turned on and a Samsung account has been added. You need to go to https://findmymobile.samsung.com/, click "Login" and enter your login and password.
After discovering your tablet, Samsung phone, click “Unlock” in the options on the side, then “Unlock” again in the pop-up window, and re-enter the password.
Done. a notification will appear in the Android blind to remove the key or pin from the screen.
11. Additional PIN on Samsung
On Samsung phones running Android 5.0 and below, setting the pattern, you need to set an additional PIN code. And if you forgot the graphic key, but remember the PIN code, you can enter it and unlock the smartphone.
Draw any irregular pattern until a message appears that you can retry only after 30 seconds.
Then wait half a minute and click on the “Extra PIN” button in the lower right corner. Enter your PIN and click OK.
The lock on the phone is completely removed.
12. How to reset the pattern on Samsung smartphones using Odin
For Samsung phones and tablets running Android below version 7, there is a simple method to unlock it. First, TWRP or CWM Recovery is flashed using the Odin program, and the password is deleted through the custom Recovery.
(!) On Samsung devices with Android 7.0 and later, to install custom Recovery, you will need to activate the "OEM unlocking" function, which is located in the "Settings". Going there from the locked screen will not work.
Install the drivers and download the CWM or TWRP image file in the.tar format for your model. you can find it in the corresponding topics on the websites Needrom, XDA-Developers, Sammobile, w3bsit3-dns.com, twrp.me.
Unzip the archive with Odin and run the program.
Put the smartphone in firmware mode (aka Bootloader, boot mode). To do this, on the switched off device, hold and hold 3 keys:
- “ON” volume down “Home” button
When you get to such a menu, press the volume up key to continue.
Android will appear on the screen and the inscription “Downloading” means that you have transferred Samsung to the firmware mode.
Connect the phone to the computer via USB and wait for the drivers to install. In the first cell “ID: COM” the connected port will be displayed, and the message “Added” will appear in the logs.
Now press the “AP” button (“PDA” in older versions of Odin) and select the Recovery file.
If opposite the “AP” there is a check mark, and the path to the file is listed in the field next, you can proceed.
To start the firmware, click "Start".
Since the weight of the Recovery file is small, the process will take a couple of seconds. The message “All threads completed. (succeed 1 / failed 0) ", and in the upper left cell." PASS! " This means that the custom Recovery firmware was successful.
Now turn off the phone and hold one of the key combinations to get into Recovery:
- "Home" volume up switch on
- “Home” “ON” (on older Samsung)
- Turn up volume on (on older tablets)
Depending on the installed Recovery: CWM or TWRP, go to points 5 or 6 of this article and delete the files:
- “Password.key” (“gatekeeper.password.key”)
- “Gesture.key” (“gatekeeper.pattern.key”)
13. How to remove the unlock key on Huawei and Honor: backup PIN
On Huawei and Honor, in addition to the graphic key, a backup PIN is used. Therefore, to unlock the device, you need to draw the pattern incorrectly 5 times, and the message “Retry in 1 minute” will appear on the display. Wait 60 seconds until the “Backup PIN” button in the lower right corner becomes active. Click on it, enter the PIN and the unlock key will be instantly reset.
14. Backup PIN on LG
Setting the screen lock on LG, you need to set a backup PIN-code, which can be entered instead of a graphic key or password, and unlock the phone.
To do this, draw the wrong graphic pattern until the message about blocking input for 30 seconds appears. Click “OK”, at the bottom select “Forgot your pattern?”, Enter the PIN code and click “OK”.
15. Smart lock function
Starting with Android 5.0, the system has a Smart Lock function that allows you to turn off the screen lock in certain situations. For example, when the device is at home or connected to a reliable device via Bluetooth. Depending on the manufacturer of the device, as well as the version of Android, there are different options for unlocking with Smart Lock, such as voice recognition, face recognition and others.
Of course, Smart Lock is a convenient feature that simplifies the use of a mobile device. But thanks to it, attackers can gain access to personal information stored in a smartphone. For example, if you specify the office as a safe place and leave the phone in the workplace, anyone can unlock it. Therefore, correctly configure Smart Lock, but rather think a few times before turning on this feature.
Home / Instructions / How to reset password and unlock graphic lock on Android