Unlocking a pattern via ADB Run. How to unlock a forgotten pattern on Android
Password protecting login personal smartphone or a tablet from outside intrusion, is called a graphic key. It does not consist of numbers, but of nine circles (dots) that need to be connected in a certain sequence. Often, gadget owners forget the key, so they don’t know how to remove it.
Remove pattern using Google account
There are several standard options for how to unlock graphic key. The easiest way is using account Google. To unlock electronic device repeat step by step instructions:
- Make five attempts to enter the key, but since the figure is drawn incorrectly, the device will be blocked.
- Next, the message “Forgot your pattern key?” will appear on the screen.
- After clicking on it, you will be asked to log into your account. Google entry, after which access to the device will be allowed.
- This method will work if the device is connected to the Internet, and also if you remember your data (username and password) to log into your Google account.
Reset settings
On a new phone ( tablet computer) unlocking the pattern key will be “painless” if you use a reset of all settings. Please note that if the device has been in use for a long time and there is a lot of personal data stored in it, then using this method you will lose it. How to reset settings on an Android mobile device:
- Remove the MicroSD to save the information stored on the flash card.
- With the device turned off, simultaneously hold down one of the combinations: a) volume up button + power off/on key; b) volume down button + “Power” key; c) increase volume + decrease volume + “Power”, d) increase volume + decrease volume.
- After 5-10 seconds it will appear engineering menu recovery mode. Using the volume button, select the “wipe data/factory reset” option, and then press the power key.
- Next, in the window that opens, there will be the necessary item “yes - delete all user data”. Then find " reboot system now", after which the device will reboot and unlock.
- This entry into recovery mode is universal for many mobile devices running Android.
Phone call
You can reset the pattern key on Android after calling from another number. This method will work if you have the version operating system(OP) from 2.2 and below. To remove the key from Android, do the following:
- Ask to call your number from another mobile device.
- Answer the call, then remove the call window and press the Home key.
- The device will be unlocked, then go to Settings.
- Next, select the “Security” section in the menu, and then delete the graphic password.
Smartphone discharge
You can remove the key from Android after your smartphone or tablet is discharged. Wait until the battery drains (less than 10%), then do the following:
- During the notification that the battery is low, click on it, then go to “Settings” - “Security” - “Lock”.
- Remove the picture password. It is important to do this before the phone turns off.
Using File Manager
You can remove the key from Android using file manager, but this method will work on gadgets with a modified recovery menu (CWM or TWRP). You can remove the key without unlocking using the following steps:
- Download archive file Aroma Filemanager programs.
- Move it to your device's memory card.
- Find the recovery menu (initial steps using the “factory reset” method) and install the utility.
- Select “Choose zip from external sdcard” (“Choose zip from sdcard"or "Install zip from sdcard") go to the folder with the archive of the AROMA Filemanager program, download it.
- Then go to the “/data/system” folder, from which delete the files: password.key, gesture.key (Android version 4.4 and lower), getekeeper.pattern.key, getekeeper.password.key (Android version 5 and higher).
- Then reboot mobile device, then enter any unlock gesture.
ADB program
If you cannot get to the recovery menu to reset the settings, then you should use the ADB program. This is a console application designed to work on a computer, but allows you to perform different actions on Android devices. The utility cannot be downloaded because it is part of the package Android Studio. This method will only work on devices that have USB debugging enabled in the "For Developers" section. It can be activated when connected to a computer via a cable. How to download and install the ADB program:
- Download to your computer Android app Studio from the official website. Using the archiver, open and then enter the “$TEMP” folder. After 2 times click on the “android-sdk.7z” option and extract the “platform-tools” folder.
- Move it to the root directory of drive C “SystemRoot%”, rename it.
- Connect your mobile device to your computer via USB and install the driver.
- If it is not there, then download it from Google Play Market universal driver Google USB Driver and using the “Control Panel” - “All Controls” - “Device Manager” tabs, install it on your computer.
- After installing the driver, open the Command Prompt program using the Win + R keys, enter the command “cmd” into the line and click “OK”.
- To remove the graphic key, go to the folder with the program, then enter “cd c:/adb” in the command line and confirm the action by pressing “Enter”.
- Afterwards, the Android smartphone (tablet) needs a reboot.
Service center services
If you can’t remove the graphic password yourself or you are not confident in your abilities, entrust your gadget to the employees service center. Masters have the necessary software and can use any of the above schemes, but with 100% results. The service is paid, but this action will help you save on repairing your mobile device, because if you intervene on your own, you can easily damage your gadget.
Video
If you forgot set password or pattern lock on Android, this is not a reason to panic. Access to your smartphone can be restored quite quickly and easily, and there are several ways to remove the lock. The updated instructions describe each of them in detail.
(!) The article contains the main methods of resetting a password/pattern, starting from the simplest (when you remember your username and password Google account) and ending with a little more complex: Hard Reset, deleting files " gesture.key" And " password.key" Read all the points carefully, follow the links provided to detailed instructions follow each method and everything will work out!Method 1: Enter your Google account information
When your phone or tablet is connected to mobile network or Wi-Fi, to remove the blocking you just need to enter your e-mail and password. To do this, enter the pattern key incorrectly 5 times until a warning window appears warning you about blocking the device for 30 seconds.
A button will appear on the screen Forgot your pattern key?”, by clicking on which you can enter your data and unlock the device. Starting with Android 5.0, this feature was removed in most firmware!
If you have forgotten your account password, you will have to recover it - go to this page from a working gadget or PC.
Please note that this method requires Internet access. Therefore, open the curtain by swiping down and turn on mobile data or Wi-Fi. The device will connect to the access point if it has previously worked on this network.
Method 2. Reset picture password using ADB
This method will only work if USB debugging enabled .
Method 3. Reset to factory settings
The next method is simpler than the previous one, but using it will delete all data from the internal memory, such as installed applications, linked accounts, SMS, etc. Photos, audio and other files on SD will remain intact. Full instructions you will find in the article: how to reset settings on Android (Hard Reset) .
During next activation device, recover data from backup copy– works provided that it was previously carried out Backup.
Method 4. Flash a smartphone or tablet
Having stitched Android phone or tablet, you will remove the lock or password. Our website has Android firmware devices from various manufacturers, separately Samsung using Odin and LG via KDZ Updater.
Method 5. Removing gesture.key (pattern reset) and password.key (password reset)
The method is intended for owners of phones and tablets with root rights and . Its effect is that system files are deleted " gesture.key" And " password.key"responsible for the output graphic lock and password accordingly.
- Volume up + « ON»
- Volume down + « ON»
- Volume up/down + Nutrition + Home
Using the volume up and down buttons, you can move up and down, respectively, and confirm your selection with the power/lock button. In new recovery smartphones may be sensory.
Instructions:
1. In the CWM Recovery menu, select " Install zip».
2. Then click " Choose zip from /sdcard" and go to the folder where you dropped 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 the archive with Aroma Explorer.
- « gesture.key»
- « password.key»
- « locksettings.db»
- « locksettings.db-wal»
- « locksettings.db-shm»
Select them and in the additional menu click " Delete».
Finally, reboot your device. You can enter any password and the phone will be unlocked. Then feel free to go to the settings and set a new lock.
T has a file manager - through it you can delete files that display a password or pattern, without installing Aroma File Manager. To do this, translate mobile gadget V recovery mode and open " Advanced».
Then click " File Manager».
Go to the folder /data/system/ and delete the following files:
- « gesture.key»
- « password.key»
- « locksettings.db»
- « locksettings.db-wal»
- « locksettings.db-shm»
Tap on one of the files and select “ Delete».
To confirm, swipe right.
For reboot Android, return to the main menu and select " Reboot» → « System».
On all phones and tablets under Android control(except Samsung) there is a firmware mode - Fastboot. Rebooting into it mobile device, the device can be controlled from a computer using the utility of the same name. About installing Fastboot and USB drivers are written in separate instructions. You will also need unlock bootloader on Sony smartphones, Huawei, LG, HTC, Pixel, Nexus, Motorola and some other models.
To reboot your device into Fastboot mode, hold down the Volume Down button while turning on.
In addition, you can switch Android to firmware mode from your computer using the ADB command if USB debugging is activated. Explore in detail FAQ on the website for working with Fastboot and ADB, run command line(or PowerShell on Windows 10) as administrator from the folder " platform-tools", enter the command and press " Enter»:
adb reboot bootloaderIn PowerShell you need to add in front:
.\When the device is loaded, use one of the following Fastboot commands. Will be cleansed internal memory, thereby unlocking the device:
fastboot erase userdata fastboot -wTo transfer a gadget from bootloader to Android, enter:
fastboot rebootMethod 8. Use the “Find Device” service
Google created a service " Find device"which has a Hard Reset function. The lock is reset accordingly.
1. Connect your mobile device to the Internet, from a computer or other device go to the page https://www.google.com/android/find and log in.
2. The service will determine the location of the device and when it was last online. From the list of options, select " Erase data».
3. Click " Erase data».
4. Confirm with the " Clear».
When the device is offline, Wipe will be done the first time you connect to the Internet.
Smartphones from Meizu, Xiaomi, Lenovo, Fly, Elephone, Blackview, ZTE, Bluboo, Doogee, Oukitel, UMI and other Chinese manufacturers running on the MTK chip are flashed with the SP Flash Tool utility. It makes it easy custom Recovery is installed without clearing the remaining partitions, but through either you can delete the files " locksettings.db», « locksettings.db-wal" And " locksettings.db-shm».
Download current version programs from the official website: http://spflashtool.com/, link to USB drivers for the MTK chip is 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. Place the files in one folder so that the path does not contain Cyrillic characters. Rename the image to "" with the extension " .img».
Unzip SP Flash Tool s to disk "C:\" Open the folder and run " flash_tool.exe" on behalf of the administrator.
Only the “” 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 will appear " Download DA 100%».
At the end the window “ Download Ok", which indicates the successful installation of Recovery.
Then you need to immediately launch Recovery so that the stock one does not overwrite the custom one the first time you turn it on. Usually on Chinese phones You must hold down the power and volume up keys until special menu. Volume button U.P.» move to the item « » and confirm with Volume « Down».
Now move on to instructions 5 or 6 (depending on installed Recovery: CWM or TWRP) and delete the forgotten password.
Owners of smartphones from the most popular brand have the opportunity to unlock the device if the Internet is turned on and the Samsung account. Need to go to https://findmymobile.samsung.com/, click " Login" and enter your login and password.
After detecting your tablet, Samsung phone, on the side in the options, click “ More» → « Unblock" and re-enter the password.
Done – a notification about removing the key or pin from the screen will appear in the Android curtain.
Many mobile device users often face a specific problem - they do not know how to unlock their Android. Often the reason for blocking is the user's forgetfulness. Taking care of the security of personal data, the owner sets a password or pattern to log into his device, which he subsequently cannot remember.
The easiest and most effective way to find out how to unlock a tablet is to contact a service center, where they will help you unlock your tablet or phone for a certain amount. But if you don’t want to spend money, and the time it takes to remove the blockage is enough, then these instructions are for you. Let's look at a few simple, but at the same time effective ways, how to restore access to the device.
Methods to unlock a device on Android OS
At the beginning of all actions, you need to figure out which device you need to unlock. If it's a phone, you can try the following.
We make a call to a locked phone, accept the call on it without hanging up, minimize the call window and disable the graphic lock in the settings. If you are going to unlock your tablet or the specified method did not help, follow the tips below.
Method 1: Unlock via Google Account
To remove the blocking using this method, the device must be connected to the Internet. If this is the case, then we perform the following procedure. We enter the wrong key several times in a row. Typically, devices are given 5 attempts to enter the key correctly, after which attempts are blocked for 30 seconds, and the message “You may have forgotten your graphic password” appears on the display. Click on it, a window appears asking you to enter your Google account login and password. In this window, enter only your login (before the “@” symbol) and password, and click “Login.” You will then be prompted to create a new lock password. Create a new one or click “Cancel”.
In this method, it is important to remember the following. Creating a Google account after locking your device is useless. The account must be registered and synchronized in the device before the problem.
Also, a Google account can help you unlock Android in the following way, however, this method is not effective for all devices. Co third party device(computer, smartphone, etc.) you should log into your account, where you select the “Security” tab and go to the “ Two-Step Verification" The account is linked to your Android device - good, if not - try linking it to a phone number. In the “Two-Step Verification” section, select “Application Passwords” - “Manage Application Passwords”, where you need to enter your account password again. In the “Step 1 of 2” field that appears, create New Password application, enter the application name (any), click “Create password”. This creates an application password, which at the same time is a password for the device.
We enter your login from your Google account and the newly created password on the device and, as in the previous method. Create a new graphic key or cancel it.
Method 2: USB Debugging Using ADB Run
This method involves debugging the Android system using a console application for Android computer Debug Bridge (ADB), as well as its simplified version for the user ADB Run. If USB debugging was enabled on your device, resetting the unlock via the specified program. To debug using this method, we sequentially do the following.
![](https://i0.wp.com/proantab.ru/wp-content/uploads/2015/08/adbrun.jpg)
The above method is universal and allows you to both unlock the tablet and control Android system via ADB. After completing this guide, the unit will be removed.
If this does not happen, you need to try repeating all the steps or unlock manually using command line computer. To do this, connect the device to the computer via USB, launch the command line on the computer, in which we enter the following commands, pressing Enter after each:
rm /data/system/gesture.key (this command will remove the pattern key)
rm /data/system/password.key (will remove the password).
We disconnect from the computer, enter a random key, and log into the device.
Method 3: Unlock Android OS without debugging via USB and without ADB, Recovery mode
The following tips on how to unlock your tablet or phone involve booting your device into Recovery mode. Each device has its own way of turning on this mode, which can be found in the user manual or found on the Internet. But there is a boot method to Recovery that is suitable for most Android devices. We do the following:
- Turn off the device.
- Simultaneously press the “Volume+”, “Power” and “Home” keys (if there is such a key).
- Hold the power button until the device responds (the backlight turns on and an image appears), and hold the volume button until the menu appears. You have entered Recovery mode.
In order to unlock a device that has USB debugging disabled, and understand the intricacies ADB programs It’s scary or you simply don’t want to, you need to download the file manager installer to your computer with access to system files AROMA Filemanager. Copy the zip file to the SD card, insert the card into Android, boot the device in Recovery mode, select installation from SD card and click ZIP AROMA Filemanager. After the system boots, using this file manager you can manage it in Recovery mode, namely copy, cut, delete files, create new folders, etc.
So, let's unlock Android. In AROMA Filemanager, enable “Mount partitions on boot”, exit the program, then launch it again. The device partitions will now be visible. Go to /data/system/ and delete the files gesture.key, locksettings.db, locksettings.db-wal, locksettings.db-shm. When the files are deleted, reboot the device into normal mode. The block has been removed!
IN modern smartphones Incredibly many ways have been introduced to protect personal data from prying eyes - this is a graphic password, a digital one, a password made up of symbols, or even a fingerprint scanner in some phone models. If you have forgotten your password, you can use some methods to unlock it from any Xiaomi device: Xiaomi Redmi 4 Pro, Xiaomi Mi5, Redmi Note 3, Xiaomi Mi Max, Xiaomi Redmi Note 4 or Mi4 Plus. We recommend using these unlocking methods only for the purpose of accessing your smartphone, and not someone else’s.
If your gadget is locked, then you will most likely try to enter the password more than once, hoping that this time you will guess correctly. But repeatedly entering the wrong password leads to the device being blocked for some time, and the more often you enter the wrong password, the longer phone remains blocked. In addition, problems often arise due to the fact that it is impossible to use the fingerprint scanner - the user relaxes and forgets the pattern key.
Today, there are at least three proven ways to unlock a device - each user resets the password the way he likes. They differ not only in their essence, but also in several nuances that are associated with different versions firmware For example, in MIUI 7 there is a password reset function by pressing a standard button “Forgot your password?", but in MIUI 8 this button is no longer there, so removing the lock will take a little longer. Let's look at the main methods for solving the above problem.
We give gifts
Standard method
- If it is incorrect (incorrect password or pattern) on Redmi, you will see a standard message stating that the smartphone is locked. Therefore, the one who removes the lock must press the button “Forgot your password?” at the bottom of the screen, after which it will be redirected to the page for unlocking via Mi or Google accounts. Here you need to enter authorization data (username and password) and log into your account. Done - now you can remove the pattern locks, change the way the device is locked, or change the password to a new, more memorable one.
- If your firmware version is higher than 7, then click on the button "Forgot your password" you can’t - it simply doesn’t exist. In this case, remove the lock using one of the methods described below (these methods also work for combinations of numbers or symbols).
Through recovery
Graphical unlocking, according to this method, carried out through full reset all phone settings to their original settings via Recovery menu. In some models, such as the Xiaomi Mi Max, it is available immediately after purchasing the phone, but most often you will need to ask Xiaomi for permission to unlock the bootloader.
Fulfilling all conditions will delete personal data from the phone and completely reset the settings to factory settings, so we recommend that you first remove the memory card from the smartphone. Next, follow these steps:
- Turn off your phone. Simultaneously hold down the power button and the volume up key;
- If the bootloader is unlocked, the Recovery menu will open on the phone;
- From the menu that appears, select "Wipe & Reset"» — "Wipe all data". This action will reset all settings and delete data on the device;
- The smartphone will reboot, after which the phone will be as clean as out of the box - there will no longer be a graphical lock.
If your smartphone bothers you due to the presence of any other shortcomings, and not just a forgotten picture password, you can reflash the phone using a laptop and the utility. This way you can also remove the graphic key, but we will look at this topic in more detail in a separate article, since reflashing the device is much more difficult and time-consuming than simply removing the graphic key on Xiaomi.
How to remove a password through phone search
If you did not remove the lock using the methods described above, try doing it through Google services. To do this, log in to your smartphone settings via your Google account. Then on any Android device, go to it, sign in Google Play and install the free one on your device official application For remote control devices – Find My Device. Next, select your device in the window, after which the program will be installed remotely on the locked smartphone.
After installing the application, go to the tab "Device Management" and enter your Google account password. Then select the locked phone in the list and enable the clear function, this way we also reset the password. After performing this operation, all user data will be deleted from the phone, and the settings will be reset to factory settings. Therefore, we recommend that you remove the SIM card and memory card from the device before unlocking using this method.
How to disable password prohibition
Sometimes it happens that after a child has played with the gadget and entered the wrong password several times, no one will remove the block for some time - the smartphone is blocked for some time. Sometimes this time can take up to several days - you must admit, you don’t want to wait that long for unlocking.
The simplest way to solve this problem is to unlock it by calling. To do this, call your phone from someone else’s phone, accept the call and minimize the conversation window. You will be able to control the device until the call ends. To do this, go to settings and uncheck the item « Graphic password» , then enter the correct combination and press "OK". Done, old passwords are reset! This method will only work if you remember correct password, or someone accidentally blocked your phone.
Conclusions
The conclusions can be drawn quite simple - if the question arises “how to reset the lock,” then the answer to it is very simple. If your smartphone has MIUI firmware 7, then you can easily unlock your phone using the button "Forgot your password", and on newer phone models you will have to put in a little more effort - the owner of the gadget will need to first unlock the bootloader.
We try to protect our mobile devices with everyone accessible ways. And one of them is a specially drawn figure or graphic key. This kind of password will not protect our sensitive data and personal information from those who know how to technically extract it. Nevertheless, it will protect the device if it falls into “curious” hands. But there is one problem: we often forget what we drew and don’t know what to do in this situation. No need to panic. There are several ways to unlock your phone. And we will look at how to remove the pattern from Android using the simplest solutions.
To begin with, we suggest using standard means operating system. And only if they are not available to you, choose other options.
Using a Google Account
To unlock your mobile device, follow these instructions exactly:
This method is only suitable if your mobile device is connected to the Internet and you remember your Google account login information.
Now let's look at other options tested by other owners of smartphones and tablets on the Android operating system.
Reset settings
If the phone is new, just purchased and has not yet acquired gigabytes of personal information, you can safely use a factory reset. Returning to factory settings will allow you to specify a new pattern and, accordingly, unlock Android.
If your phone has been in use for a long time and your personal information is stored on it, you will lose it when you return it to initial settings. Contacts, saved entries, messages, music and media content, photos and any settings you have changed will be deleted from your tablet or smartphone. But you can at least protect the data stored on flash memory. Therefore, before performing a hard reset, do not forget to remove the MicroSD.
Important information! Hard reset It is recommended to do this only when the mobile device is at least 65% charged, more is better. If you do not follow this advice, you will not be able to turn on your smartphone. This will not necessarily happen, but there is such a danger.
Example of resetting settings on Samsung phones
Since when locked we cannot simply go into the phone menu, the reset will need to be done using a combination of buttons. For each model mobile phone or tablet, this combination is different. To find out, go to the manufacturer’s official website or find information on the Internet.
Samsung phones also use various combinations keys But the general instructions for resetting the settings to the original factory settings are as follows:
- Turn off your mobile device.
- Press three buttons, for example, "Power" + "Home" (center) + "Volume+".
- As soon as you see the Samsung splash screen on your screen, do not press more button"Nutrition". But hold the other two buttons for another ten seconds. This is necessary for the recovery mode to appear. It may not load the first time. And if it doesn't happen, repeat your steps.
- After launching Recovery mode, you will find yourself in the Menu. To implement hard reset all personal parameters, we need to activate “Wipe data/factory reset”. This is a “hard reset” - erasing information. Navigate through the recovery menu using the volume buttons.
- After selecting the appropriate item, open it using the “Power” button.
- Select “YES” and confirm the reset with the power button.
All. Personal data and settings have been reset. After rebooting, your gadget is unlocked. The instructions given above are relevant for phones from any manufacturer. The only difference is the key combination used to boot the device into recovery mode. We repeat, information can be found on the official websites of manufacturers.
So, you have learned how to remove a graphic key from an Android if it is impossible to use standard operating system tools. Yes, the method is tough, but in some cases it is the only possible, and most importantly safe.
Call from another number
This in a simple way can only be used if you have a very old version operating system - 2.2 and lower. Have someone dial your number or call from another phone. Answer the call, minimize the call window and click the Home button. You will see that the device is temporarily unlocked. Go to Settings. All this needs to be done as quickly as possible. After opening the menu, select “Security” and remove the pattern. That's it, your mobile device will no longer require you to enter your password until you enter it again.
Discharging the device
In this case, we need to wait until the battery drains. When the battery charge reaches a certain minimum, a warning signal will sound. You need to enter the battery status menu and from there go to “Settings”, where you can disable the pattern password.
New firmware
This option can also be used. Update software will allow you to unlock your device. But using this method is not advisable if your phone is warranty service. By deleting the original firmware version, you lose the opportunity to contact a service center.
Service center
If you are afraid to make decisions on your own or you cannot unlock your phone in any way, contact the service center specialists for help. Such treatment will not be considered a guarantee and will cost some money.
Bypass blocking of Android devices using a third-party application.
To use this option, you will need to get root rights and download third party application. The essence of the method is that when the screen is locked, you will need to send to the device itself special message. SMS serves as a kind of code that allows you to reset the pattern. To activate this feature, follow these instructions:
- Gain access to a super user account (root rights).
- Go to Play Store, enter the name of the application “SMS Bypass” and install it on your Android device. The program is paid, the cost is only 1 dollar.
- Go to the program settings, change the preset password and grant root rights.
That's it, the application is ready to use. How does this work? If your phone is locked, send a message to it with the following text XXXXX reset (X is your key reset password). As soon as text message arrives on the mobile device, it will happen automatic reboot. Next, you can install a new graphic key or use any protection method.
Is it possible to install SMS Bypass if the phone is already locked? Yes, but you must have root rights, an Internet connection and access to a Google account.
Video on removing a pattern key on Android