Program for determining the graphic key. ADB Run: Unlock Gesture Key - method #1. Contacting the service center

Some owners modern smartphones ask if you forgot graphic key, how to unlock Android without losing data. There are many ways you can reset the code yourself. But some users are unable to do this due to a lack of or unreliable information provided on the Internet.

A password presented in the form of a specific figure: a cross, a triangle or a square is a graphic key. Some gadget owners set the most complex access codes, forgetting which they cannot open their smartphone.

To enter a graphic key, you must follow the following algorithm actions:

  • Go to the “Settings”, “Blocking and Protection” section.
  • Select the type of key - draw a figure consisting of at least 4 points. Repeat to check.
  • The code has been installed on the phone.

On a note! By disabling the “Show Key” function, the user will hide the shape he specified from strangers, and the smartphone will be reliably protected.

If there is data, but there is no need for it

If the owner of the gadget remembers the access code, he can disable it using simple settings. How to remove a pattern from Android using this method:

  • Go to the “Settings” item. On Lenovo and other smartphones modern gadgets The icon is presented in the form of a “Gear”.
  • Menu “Security”, “Lock”. Set "Scrolling" or indicate "No".

By canceling the settings, the user quickly unlocks his phone or tablet. If necessary, the owner of the gadget will return the access code back. Knowing how to remove the key from your smartphone, the user can easily enjoy all its benefits.

Attention! When installing or replacing a pattern key, it is better to write it down to warn you in the future possible problems with unlocking/locking the screen of your smartphone.

If you can't access Android

Once there is a code, you can easily remove it by canceling the corresponding settings in your phone. But, when the user has forgotten the Android pattern key, what to do in this situation.

There are many techniques that will allow you to access the capabilities of the gadget. Some of them will not require implementation complex actions, others require certain experience and knowledge.

The easiest option is to call

This method can be used on gadgets with Android OS 2.2 and previous versions.

To remove the access code from a smartphone, you need to make a call to it from another phone. After picking up the phone, quickly go to the “Security” menu and disable the PIN code.

Discharge a gadget - open access to its capabilities

You can restore the code by running simple steps– wait until the Android battery is completely drained. Go to the item – battery status, return to the “Settings” menu and remove the specified figure.

Use your Google account

If you have access to the Internet, you can unlock the screen by entering your email and password. So, how to bypass a user-defined code on your phone using Google account:

  • Enter the key incorrectly – 5 times, until a warning appears on the screen that the device will be locked for 30 seconds;
  • Click on the “Forgot code” window that appears, enter your data and remove the lock.

Attention! Starting from the operating systemAndroid5.0, for many firmwares this opportunity absent.

If your Google account password is lost, you will have to recover it using any gadget or PC. To do this, you will need access to the Internet - turn on Wi-Fi or mobile data. The smartphone will find an access point if it has already worked in it before (this can be done even when the screen is locked).

Resetting your PIN using Recovery

Some users do not consider it necessary to remember the email address and password to access it, and are faced with the situation of how to unlock a smartphone if they have forgotten the pattern key.

A simple one will come to the rescue Recovery mode, which is activated by simultaneously holding down the gadget launch button and the volume “–” or “+”:

  • Go down to line " Factory Reset»;
  • Find the “Yes” item, click on it using the power button;
  • Go to the line “Reboot system now”.

This will reset the user entered data and return the original settings.

On a note! FunctionRecoverydeletes only contacts, SMS, records, but only if it has not been done additional copying. Videos, photos and music will remain in any situation.

Use the Find Smartphone service

The creators of Google have developed a special device to search for devices with the function “ Hard Reset", with which you can quickly reset your settings.

How to remove the code using this service:

  1. Connect to the Internet from any device, follow the link https://www.google.com/android/find and indicate your login and PIN.
  2. The service will determine the location of the gadget and when it was last online. In the list presented, select and click on the line “Erase data”.
  3. “Clear” the entered information.

When the device is offline, the function connects when the Internet first appears.

How to reset settings on various smartphone models

Not every user knows what to do if the PIN code for unlocking the screen is lost. But the issue can be resolved different ways, regardless of the gadget model.

How to remove HTC passcode:

  • Install HTC Sync Manager - free application for PC, through which you can synchronize all files between the device and smartphone;
  • Connect Android to a laptop or personal computer;
  • Install the device using the Screen Lock Bypass application - bypass the screen lock;
  • Restart the gadget;
  • Remove blocking.

Attention! If you cannot disable the access code, you will have to repeat the procedure until you get the desired result.

How to bypass Android Samsung:

  • Use the services official portal– Samsung account;
  • Click on the line Services and content, find your smartphone;
  • "Unlock phone."

On a note! To use this method, the user must have an account that operates on a locked smartphone.

How to reset the pattern key in Android Huawei:

  • Download and open the HiSuite program;
  • Synchronize your phone with your PC;
  • Open the service, “Contacts”, “My email address”;
  • Following the further algorithm, reset the set access code.

If you cannot bypass the protection, then it is best to seek help from specialized service. The masters have everything necessary equipment and software that will allow you to reset the pattern key without consequences. You will have to pay for the service, but this will give you the opportunity to save your nerves, effort, and time.

When setting different access codes, it is better to write them down in a notepad so that you can access the phone if necessary. Most modern smartphones have convenient function– a fingerprint that provides reliable protection. When using it, you do not have to remember your PIN code.

Almost all mobile devices are Android control, be it a smartphone or tablet, come with built-in software protection implemented in the form of a pin code, regular or graphic password. Outwardly it looks about the same as in others operating systems– the user turns on the device, enters a password on the lock or login screen and gains access to his account and all functions.

Typically users try to use complex password, but this has its drawbacks. A long password is not so easy to remember, and it can also be forgotten or lost. How then can you access the device and the data stored in its memory? Losing a password is, of course, a nuisance, but not a disaster, because Android has ways to bypass it. In this article we will look at the main working methods for unlocking an Android pattern key, some of which are also applicable to other types of standard protection.

Unlocking via Google Account

So, what to do if you forgot your Android pattern key? The smartphone is connected to the account Google posts? If yes, great. Enter a deliberately incorrect pattern key more than five times, and the device will be locked, and you will receive a message that you can try to enter the password in 30 seconds. The “Forgot your pattern key?” button will also appear on the screen. Click it, enter your E-mail and password from account Google and click OK.

If the data is correct, you will be asked to enter a new graphic password, the old one will be reset.

If the “Forgot your pattern key?” button does not appear immediately, try entering the wrong key a few more times, and then click “Home”.

Naturally, the smartphone must be connected to the Internet. If the connection is blocked, click emergency call and enter the USSD command *#*#7378423#*#* . Then select the option Service Test - WLAN and connect to Wi-Fi.

Resetting the password on old phones

Here's how to unlock a pattern key if you forgot it on a phone with Android 2.2 or younger. It is unlikely, of course, that devices controlled outdated versions The OS is in use now, but maybe this method will be useful to someone. Everything is very simple here. Call your locked smartphone from another phone, pick up the phone and immediately go to settings, where you can disable the pattern password.

Via SMS Bypass

You can unlock Android with a forgotten pattern key using a small application SMS Bypass , but for him correct operation The phone must be rooted as the program requires full access to system files and settings. If your device suddenly turns out to be locked with a graphic password, send it to it from any phone SMS with text 1234 reset. SMS Bypass running in the background will accept it as a password reset command. After the gadget reboots, you can enter any password. If the program is not installed and your phone is locked, install it from Google Play by logging into your account from your computer.

The SMS Bypass application is paid, but it is very inexpensive.

Low battery

If you forgot your Android pattern key and want to remove it without using Google services, you can try this method. Wait until the battery starts to drain. At the moment of the low battery warning, enter the battery menu (this option should be available despite the current lock), from there go to the settings menu and disable the pattern.

Using the ADB Run program

Graphic password data is stored in a file gesture.key, located at data/system. By deleting it, you will remove the pattern from Android. To do this you will need a computer with Windows and the program installed on it ADB Run and a cable with which the smartphone will connect to the PC via USB. True, there is one small “but” here. USB debugging must be enabled in the mobile device settings. If it is disabled, go to the Reset menu and look for the option to enable USB debugging.

Launch the ADB Run program, use the arrow keys to select the “Unlock Gesture Key” option in the window that opens and press enter.

Reboot your smartphone. If things don't work out, try this option. After connecting the gadget to your computer, open as administrator command line and run the following commands sequentially:

cd/
cd adb/progbin
adb shell
rm /data/system/gesture.key

How to remove a pattern lock from Android if this method did not bring the desired results? In this case, you can try resetting the database file system.db from folder data/system. To do this, in the running command line, we sequentially execute the following commands, and then reboot the mobile device:

cd/
cd adb/progbin
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

Deleting a picture password file through the Recovery menu

You can delete the graphic password file gesture.key manually, but to do this, a custom recovery menu (you can try with the stock one) TWRP or CWM must be installed on the device. Boot into Recovery menu, go to Advanced section and select the application there File Manager.

Go to location data/system and delete the files gesture.key, password.key, locksettings.db, locksettings.db-wal and locksettings.db-shm.

After rebooting the device, you can log in using any graphic password. If your recovery menu does not have a file manager, download the Aroma File Manager program from the Internet, put it on a memory card, boot from the Recovery menu and install it from it, then use the installed file manager to delete the above-mentioned files.

Full reset

If you have not found any other way to remove a forgotten pattern, resort to the hard method - resetting the device to factory settings. Using the key combination appropriate for your model (usually the volume rocker and the power button), go to the Recovery menu, select the option recovery mode, and then the item “ Wipe Data/Factory Reset.”

Press “yes” to confirm the action, click “reboot system now” and wait for the reset procedure to complete, during which the device will reboot.

Using the device search service

There is a way to reset the pattern key on Android in remote mode. To prevent theft of user data Google company created special service“Find device”, using which you can perform a Hard Reset, which means resetting the lock with a graphic or other password. Go to the page from a computer or other device www.google.com/android/find and log in. After the phone is detected, in the list available options On the left, select “Erase data”, click the button of the same name and confirm the action. The reset procedure will be performed the next time the device connects to the Internet.

Service center help

If you have forgotten the pattern key from Android and want to unlock your phone without wasting your nerves and with minimal likelihood of losing important data, then use the services of specialists from a service center or repair shop. The service is paid, but you will minimize the risk of ruining something by trying to reset the password yourself, especially if you use advanced methods for this. Service center specialists have everything necessary software and know how to solve many problems that arise at work Android devices. They also know how to bypass the pattern on a locked phone.

Android? Don't worry, there are several ways to regain access to your mobile device. In this article you can find the main options for resetting the lock, both the simplest and more complex ones that require additional programs. One of these methods will definitely help solve the problem with a locked phone.

Account details

A simple way to unlock Android if you forgot your password is to restore access using your Google account. This method will only work if the tablet or phone is connected to Wi-Fi or mobile network. This is a mechanism of the system itself that helps in case of incorrect input password or pattern.

If you enter the pattern incorrectly more than five times, a window will appear warning you about a thirty-second block. The message “Forgot your pattern key?” will appear on the device screen, and when you click on it, you will be asked to enter your Google account information. After you enter your email address and password, the device will unlock.

If you have forgotten your account information, you can restore it on the official Google website.

If there is no Internet connection

The first method, showing how to unlock an Android if you forgot your password, will not work if there is no Internet, since the login and password for your Google account will be impossible to verify. An Internet connection must be established.

To do this, you need to turn it on and off or simply restart the device. Immediately after turning on, the top bar will appear (it is also called the notification center, or information center). Pull it down and turn on Wi-Fi or Mobile Internet. After this, you can enter your username and password, and the device will be unlocked.

If there is no Wi-Fi nearby and mobile Internet is not available on your SIM card, you can do the following. Just use a different SIM card, pay attention in advance whether the Internet service is connected and whether there is money on the balance.

You can also connect the device to the Internet using a LAN adapter. To do this, you will need the adapter itself and a router connected to the Internet. The device connects to the Internet using an adapter, which will allow you to check the correctness of the entered Google account data. You should be aware that not all devices support operation via a LAN adapter.

For older versions

The third method, which tells us how Android if you forgot your password, most likely will not work for versions above 2.3. You just need to call the locked device and answer the call. After this, you can go to the settings and simply disable the pattern lock.

Low battery method

The fourth method, showing Android if you forgot your password, is based on a low battery message. It will also work for a phone. Wait until the battery runs out, the device will notify you about this. Then you can enter the power status menu, from there go to the main menu and disable protection using the pattern key.

Disabling the lock via computer

The fifth method will work if enabled. This function can be enabled in the “For Developers” menu. If it was enabled before blocking, then disabling the graphic key protection will be easy.

All subsequent methods that tell you how to unlock an Android if you forgot your password are based on deleting the gesture.key file, which contains data about the key. First, download and install the ADB Run program on your computer. After this, you can connect your phone or tablet to your computer.

To understand how to unlock an Android tablet if you forgot your password, read the following instructions.

Launch the "ADB Run" program. The program is controlled using number keys and the "Enter" button. Now you should go to the menu and select the sixth item called “Unlock Gesture Key”.

The program will offer a choice of two options: method 1 and method 2. The first method deletes the gesture.key file. The second method removes data from the system.db file. Choose one of the methods. The device will be unlocked, all that remains is to reboot it.

Unlocking via Recovery menu

Several methods for unlocking a pattern key are based on manually deleting the gesture.key file. To use these methods, your device must have a Recovery menu.

Sixth method. Download the file manager Aroma and install it using the Recovery menu. Now go to /data/system/ and manually delete the gesture.key file. The device can now be rebooted. Enter any pattern and the screen will unlock.

The seventh method is similar to the sixth. Download the gest.zip file for Android, install it from the Recovery menu and reboot your device. Now you can enter any pattern, and the android will be unlocked.

Contacting the service center

If you are not comfortable with technology, do not forget that you can contact service center. The technician will be able to solve your problem in a few minutes. In difficult cases, flashing the device will help.

Reset data

There is another, ninth way to unlock a phone or tablet using “recovery,” but it is not suitable for everyone. The fact is that the devices have a function to return to factory settings. With this data reset, photos, videos, pictures, music and other files will remain unchanged. But SMS phone book all contacts, programs and notes will be deleted. It is recommended to enter all your contacts into your Google account so that similar cases be able to restore them.

In order to return to factory settings using the “recovery” menu, you need to turn off the device (preferably remove the battery for a few seconds), enter “recovery” mode and select the menu item called “Wipe Data / Factory Reset”. Navigation through the menu is carried out with the volume key, selection - with the power key. After some time, the phone will reboot on its own (in some models you need to reboot manually) and will be unlocked. Not everyone knows how to use the “recovery” menu, so let’s look at this method in detail using an example different models phones.

Samsung

How to unlock Android if you forgot your password? Samsung allows you to reset the key using the Recovery menu.

First turn off the device. Simultaneously press and hold three buttons - “Home”, “Power” and “Volume Up” (if there is no Home button, then you only need to press the last two). Hold down the keys until the menu appears. Using the Volume key, select “wipe data/factory reset”, then press the Power key, in the same way select “yes - Delete all” user data» in the menu that appears. Reboot your device by selecting “reboot system now”.

NTS

How to unlock android htc what if you forgot your password? Turn off your smartphone, if possible, remove and insert the battery. Go to the Recovery menu by holding the power button and the volume down button. Release the buttons when the android image appears. In the menu you need to select the Factory Reset item (in some models it is called Clear Storage).

LG

How to unlock Android LG if you forgot your password? Turn off your phone, hold down the power button and volume button. An image of the android will appear. Select Recovery Mode using the volume button and confirm the selection with the power key. The android image will appear again. Now select “Settings”, then “Factory Data Reset”, confirm the decision by selecting “Yes”.

Fly

How to unlock Android if you forgot your password? Fly allows you to disable the pattern when resetting data.

Turn off your smartphone, remove and insert the battery. Enter the menu using the power button and volume up. First select "recovery mode" », then “wipe data/factory reset” and “Yes”. Reboot your device by selecting "reboot system now".

Resetting the lock using the application

Finally, the tenth and last method of resetting the pattern. This method is simple, but to use it you should think in advance about how to unlock your Android if you forgot your password. That is, in fact, even before the blocking itself. Root rights are required to use.

Download and install SMS app Bypass, allow it to use Root rights. Now, to unlock your smartphone, you just need to send a message to it with the text “1234 reset”. You can change the text yourself.

If the device is already locked, then with the Internet turned on, you can install the application remotely through your Google account.

Surely you are trying to protect your personal information on a smartphone or tablet, they forgot the pattern combination and thought only about one thing: why? How to reset the pattern?
Of course you can try usual ways, which are described in the previous article on this subject, but to do everything for sure, you need to perform reset operations via ADB Run. Let's get started!

What is needed for a reset?


  • - USB connection to PC (Windows)

  • - enable USB debugging

  • - Adb Run() program

Root rights are not needed.

Resetting the graphic lock on Android

After installation and launch ADB programs Run has a screen like this.

As for the controls, you just need to write a number and press Enter. Specifically, we are interested in point No. 6: Unlock Gesture Key, and we will select it.

ADB Run: Unlock Gesture Key - method #1

The method involves deleting the gesture.key file from the /data/system folder (this file stores the graphic key combination). After the file is deleted, reboot the device and enter a new pattern.

ADB Run: Unlock Gesture Key - method #2

Involves clearing data in the system.db file, which is located in the /data/system folder.
Did not work out? Let's delete it manually!

Method 1: launch the command line on the PC

Start-Run-type cmd


(for Windows 7 and 8 you can simply enter cmd into the search)

We begin to enter commands one by one

cd/
cd adb/progbin
adb shell
rm /data/system/gesture.key

Method 2: launch the command line and other commands (you need to enter them one by one!)

Now we reboot your Android device - the pattern has disappeared.

Method 3: launch Adb Run and select item No. 7 - Manual

su
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
reboot


The device will reboot and you can continue using it.

If you forgot set password or pattern lock on Android, this is not a reason to panic. Access to your smartphone can be restored, and there are several ways to remove the lock. The updated instructions describe each of them in detail.

How to reset a password or lock on Android

(!) The article contains the main methods of resetting a password/pattern, ranging from the simplest (when you remember the username and password of your Google account) to the more complex: Hard Reset, deleting the “gesture.key” and “password.key” files. Read all the points carefully, follow the links provided to detailed instructions, and everything will work out!

Method 1: Enter your Google account information

Working method for devices running Android 4.4 and below. Starting with Android 5.0, this option was removed from many firmwares. But not all manufacturers did this, so check whether it works for you or not.

When your phone or tablet is connected to a mobile network or Wi-Fi, to remove the lock, you just need to enter your email and password. To do this, enter the pattern key incorrectly 5-10 times, after which a warning will pop up about blocking the device for 30 seconds.

The “Forgot your pattern key?” button will appear on the screen; by clicking on it, you can enter your data and unlock the device.

If you forgot your account password, you will have to recover it - go to this page from a working gadget or PC.

note that this method requires mandatory access to the Internet. Therefore, open the quick settings panel by swiping down (“the curtain 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 previously worked on this network.

2. Reset picture password using ADB

The pattern can be removed using ADB. You need to connect the device via USB to your computer and enter the necessary commands. All details in

The method will only work when USB debugging is enabled.

Method 3. Reset to factory settings

The next method is simpler than the previous one, but using it will delete all data from 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:.

The next time you activate the device, restore the data from backup– works provided that it was previously carried out.

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 various manufacturers, separately Samsung via and LG via .

Method 5: Removing gesture.key (pattern unlock) and password.key (password reset)

The method is intended for owners of phones and tablets with and. Its effect is to remove system files“gesture.key” and “password.key”, responsible for displaying the graphic lock and password, respectively.

For this you need file manager Aroma. Download the archive from the link and send it to your phone or tablet without unpacking it. Then turn off the device and . To do this, instead of the power button, press 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, 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. B CWM menu Recovery, select “Install zip”.

2. Then click “Choose zip from /sdcard” and go to the folder where Aroma was downloaded 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” (“gatekeeper.pattern.key” in new firmware)
  • "password.key" (or "gatekeeper.password.key" instead)
  • "locksettings.db-wal"
  • "locksettings.db-shm"

Select them in 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.

6. How to remove graphic lock via TWRP Recovery

Unpack the archive with Odin and run the program.

Switch your smartphone to firmware mode (aka Bootloader, download mode). To do this, with the device turned off, press and hold 3 keys:

  • “ON” + volume down + “Home” button

When you get to such a menu, press the Volume Up key to continue.

Android and the word “Downloading” will appear on the screen - which means you have switched Samsung to firmware mode.

Connect your phone to your computer via USB and wait for the drivers to install. The first cell “ID:COM” will display the connected port, and the message “Added” will appear in the logs.

Now click on the AP button (PDA in older versions of Odin) and select the Recovery file.

If there is a checkmark next to “AP”, and the path to the file is written in the field next to it, 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 firmware custom Recovery was successful.

Now turn off your phone and hold one of the key combinations to get into Recovery:

  • “Home” + volume up + power on
  • “Home” + “ON” (on older Samsung)
  • Volume up + power on (on older tablets)

Depending on the installed Recovery: CWM or TWRP, go to steps 5 or 6 of this article and delete the files:

  • "password.key" ("gatekeeper.password.key")
  • "gesture.key" ("gatekeeper.pattern.key")
  • "locksettings.db-wal"
  • "locksettings.db-shm"

13. How to remove the unlock key on Huawei and Honor: backup PIN code

On Huawei and Honor, in addition to the pattern key, a backup PIN code is used. Therefore, to unlock the device, you need to draw the pattern incorrectly 5 times, and the display will display the message: “Try again in 1 minute.” Wait 60 seconds for the “Backup PIN” button in the lower right corner to become active. Click on it, enter your PIN and the unlock key will be instantly reset.

14. Backup PIN on LG

When setting a screen lock on LG, you need to set a backup PIN code, which you can enter instead of a pattern or password, and unlock the phone.

To do this, draw the wrong one graphic pattern until a message appears indicating that input is blocked for 30 seconds. Click “OK”, select “Forgot your pattern?” at the bottom, enter your PIN code and click “OK”.

15. Smart Lock function

Starting from Android 5.0, the system has a function Smart Lock, which allows you to disable the screen lock in certain situations. For example, when the device is at home or connected to a trusted device via Bluetooth. Depending on the device manufacturer, as well as Android versions, exist different variants unlock with using Smart Lock, such as voice detection, face recognition and others.