Unlocking a pattern via ADB Run. How to Unlock Android if you forgot your Pattern

Let's look at how to unlock a forgotten Android pattern key.

Despite the convenience and simplicity of this feature, many users often forget the key and are unable to unlock the phone.

For such cases, the operating system provides many ways to reset data that will return you access to the phone.

Graphic key function. Essence and use

Today, smartphone users try to protect the data on their phone as much as possible. To prevent outsiders from simply picking up and viewing the contents of the device, developers create control systems using lock windows.

Each type of screen lock requires an access key (short code, password or gesture). A graphic key is a new development that allows you not to remember complex passwords and phrases. To go to the main screen of the gadget, the user simply needs to connect the dots in the drawing, creating the shape that was invented at the stage of setting up the key.

Rice. 2 – illustration of how a graphic key works

Setting up a graphic key

You can create this method of unlocking the screen in any version of the Android operating system. Follow the instructions:

  • Go to the gadget settings and open the security options window in the personal data tab;
  • Select “Screen lock”;
  • In the window that opens, select the “Graphic key” field. Set the order of connecting the dots and remember it. Save the action. Now, when you try to unlock the display, you will need to draw a previously invented figure.

A detailed scheme for enabling a graphic password is described in the figure below:

Rice. 3 – screen lock setting

Benefits of using the Graphic Key feature:

  • Quick unlock;
  • There is no need to memorize codes;
  • Ability to reset a graphic element if the user has forgotten it.

There are more than ten ways to reset the lock screen. Let's look at each of them in detail. Choose a method depending on the capabilities of your phone and your skills in using the gadget.

Method 1 – Simple Password Reset

If, in addition to the pattern key, you also have a digital code installed on your phone, you can easily restore access to the device. Try entering the pattern several times until all attempts are exhausted. After this, a system message will appear in the smartphone window stating that the ability to enter has been suspended. Click on the “Unblock in another way” button.

A screen for entering a digital short password appears. Type it in and your phone will unlock automatically. It is worth noting that this method is only suitable for those who have previously configured several methods for activating the phone. Otherwise, the button to unlock in another way will not be on the screen.

Rice. 4 – simultaneous use of several authorization methods

Method 2 – Call the phone

This method works on older versions of Android OS. Try calling a locked phone from another device. After accepting the call, the smartphone will automatically activate and you will not need to enter s. In the same way, you can bypass entering other types of screen locks.

Rice. 5 – incoming call window in Android

If your smartphone has new versions of the operating system (5.0 and higher), a simple call will not restore it. However, you can restore access using third-party PC programs that automatically delete the saved key script. Examples of such utilities:

  • Bypass;
  • Delete Lock;
  • Pattern Unlock.

The essence of how these programs work is that it is installed on a smartphone and on a PC. Using the remote gadget recovery feature, you can start the file reset process on your device from your computer. Reboot your phone so that the key settings disappear.

If the Bypass utility was previously installed on your phone, to unlock it, just send an SMS to the device with the text “1234 reset” (without quotes). Bypass will scan the texts of messages and, having detected a secret text in one of them, will reboot the smartphone and delete the graphic element.

After access is restored, immediately go to your phone's security settings and disable the blocking function.

Method 3 – Dead Battery

This method is suitable for any Android smartphone. However, it requires time and attention. You should wait until the phone is discharged and a notification window appears indicating that the battery is critically charged.

In this window, you can click on the “Battery Status” button. After this, you will be redirected to the battery usage statistics menu. To do this, you do not need to enter a pattern key.

Rice. 6 – restoring access through the Connect Charger window

The only difficulty of the method is that the system window disappears 10-15 seconds after it appears. It's not easy to catch a message when your phone is slowly draining.

Method 4 – Login to your personal Google account

If the user enters a graphic figure incorrectly several times (more than 5 attempts), a notification will appear on the screen that they need to wait half a minute before trying to enter again. At this moment, the “Forgot your key?” button also appears. By clicking this field, you will be redirected to the Google account login window.

Type your email and password into the appropriate text fields. After verifying the data, the password will be reset. To install it again, go to security settings and set a new figure.

Rice. 7 – recovery via Google page

Method 5 – Starting an Internet Connection

To authorize your account, you must have an active Internet connection. If you enter the correct username and password, but there is no connection, you should try connecting to the Internet using your smartphone’s hot keys:

  • First, restart your phone;
  • Immediately after switching on, a status bar will appear (“curtain” at the top of the screen). Expand this window and click on “Mobile Data”.

Rice. 8 – enable mobile internet

  • If there is a router nearby that your smartphone has previously connected to, you can press the Wi-Fi button and the connection will happen automatically without entering a password.

After activating the Internet, enter your Google account information again. Now the system will be able to recognize the page and access to the phone will be restored.

Rice. 9 – enable Wi-Fi using hot keys

If you are unable to open the notification center window, use the special system code to connect to Wi-Fi:

  • There is an “Emergency Call” button on the lock screen. Click on it;
  • In the window that opens, enter the command “*#*#7378423#*#*” (without quotes);
  • Wait for the system configuration window to appear and select the Service Tests tab (in some versions – Service Provider);
  • Click on the WLAN item;
  • Connect to Wi-Fi.

Rice. 10 – selection of connection window

If there is no router nearby, replace the phone with another SIM card with an Internet connection and activate data transfer over the mobile network. Enter your Google+ details. After this, Android will be unlocked.

Method 6 – Manually removing an option

To use this method, the phone must have the Recovery Mode option installed. It is only available in official phone models. Depending on the type of recovery window (CWM or TWRP), the interface and tab layout may differ slightly.

Move the Aroma Explorer archive from your PC to your phone and move the file to your memory card. Now go to Recovery Mode and open the folder with the program archive. Install it. Now in recovery mode you will also have access to system files.

Rice. 11 – installing the program in Recovery Mode

Go to the dataàsystem directory and in the list of files that appears, delete the object called “gesture.key” - it is responsible for the installed graphic key. Without this file, the password will be automatically reset after a reboot.

How to start Recovery Mode? To do this, just press the power, volume and home buttons. Hold them down for 15-20 seconds until a window with commands appears.

Another option for deleting the “gesture.key” file is to connect the phone to the computer in storage mode (the mode can be selected through the notification center without unlocking the screen). Using regular Windows Explorer, go to the phone folder at the dataàsystem path. Delete the pattern object.

Rice. 12 – deleting the key file using a PC

Method 7 – Instant OS Recovery Utility

This method also requires you to use Recovery Mode. Download the archive with the GEST utility to your smartphone using a computer. The application works by automatically searching for the Gesture Key file and deactivating it. The archive is available at this link.

Now go into Recovery mode and install the application from the archive in the same way as shown in Figure 11. Now just reboot your Android. After the lock screen appears, enter any combination of lines and access will be restored. Don’t forget that after successfully logging into your smartphone’s desktop, you should disable the pattern in the settings.

Method 8 – Deleting a key using an additional account

This method is only suitable if the phone has several authorized users and root rights. Each user account must have the SuperSU utility running in multi-user mode.

Rice. 13 – SuperSU application settings

A specific pattern combination can only be installed on the account of one user. If you try to put the same figure on the lock screen of another account, the system will not allow it. Thanks to this option, you will always be able to access your phone, even if you forget one of the keys.

Log in to the second user's account and launch SuperSU. Go to the dataàsystem window and delete the file that contains the graphic key, as well as objects with the extension db, db-wal and db-shm– objects of local phone settings.

Method 9 – Call up the Recovery menu and reset settings

This option is also suitable for any Android smartphone or tablet. To remove a forgotten key, you must reset the settings to the original settings. This function is provided on all phones, and the process is activated through the settings window. Since the user will not be able to access the settings from a locked gadget, the Recovery Mode menu should be used.

Turn off the phone and launch the recovery window by pressing three keys simultaneously (Home, Volume and Power). Run the data reset process shown in the figure.

Rice. 14 – reset settings to factory settings

Remember! As a result of this action, all data and user files will be deleted from the smartphone without the possibility of further recovery. Before resetting, we advise you to remove the memory card and SIM card from the phone so that the contacts are not deleted.

After the reboot, you will need to reconfigure the gadget:

  • Connect to the Internet;
  • Log in via Google;
  • Set location settings.

Rice. 15 – factory reset process running

Method 10 – Instructions for Sony gadgets

The above described universal recovery methods that are suitable for any device, regardless of the manufacturer. However, in some cases, it is better to use unique methods that are developed for your phone model. Let's look at the instructions for phones and tablets from Sony. The company recently developed software to unlock phones using firmware. In this case, all data and other settings will be saved.

Sony devices are restored using the Flashtool program. It is installed on a computer or laptop. Then the phone is connected to the PC and through the interaction of interfaces the user can restore the device or flash its firmware. You can download the application from the manufacturer’s website using the link.

Download the official version of the password reset utility. This can also be done through the Sony website.

Launch Flashtool on your computer and connect your locked mobile to your PC. Next follow the instructions:

  • Open the Tools window;
  • Click on the Bundles field and then on Create;
  • In the window that appears, fill in the fields for firmware location, device model, installation type and utility version. Example of data to fill:

Rice. 16 – setting up the installation of the key deactivation file

  • Confirm the creation of the password remover by clicking on the Create button.

Now flash your smartphone using Flashtool. Instead of updating, select the file created above. After restarting the gadget, the key on the lock screen will disappear.

If you have any difficulties restoring your Sony phone, use the step-by-step instructions in the video.

Method 11 – Hardware failure and service

Sometimes, unstable operation of the lock screen is the result of hardware failures. The user can enter the pattern correctly, but due to problems with the display module, the sensor does not correctly recognize touches on the screen.

If you have problems connecting to both the mobile Internet and the router network at the same time, this may indicate a faulty antenna module. It often breaks after the phone is dropped or hit. Contact the service center for a detailed diagnosis of your phone.

Method 12 – Data Reset for HTC

Not all phone models support pressing three buttons simultaneously to perform a reset. If you are unable to bring up the Recovery menu by holding them, try a method that is exactly suitable for the model of your Android smartphone.

On an HTC phone, you first need to turn off the gadget and remove its battery. Now press the Volume Down button and the Power key until the recovery menu appears.

Rice. 17 – key combination for HTC

Navigate between settings rows using the volume keys. Select the Clear Storage field.

It should be noted that there is a separate HTC Sync utility for HTC devices. With its help, you can quickly reset a forgotten graphic password. The application is installed on the computer. You can download the installation file from this link.

After installation, connect the phone to the PC and, using the Lock Bypass process, wait until the data is reset and the device reboots. Unlock the device in the gadget settings. If the pattern window does not disappear the first time, repeat the reset.

Rice. 18 – reset for HTC

Method 13 – Reset for Samsung

Owners of Samsung devices just need to turn off the device and press the power button, volume up button and the center key. In the Recovery Mode window that appears, select the wipe data/factory reset command.

Method 14 – For Huawei smartphones

On Huawei smartphones, information and settings are reset as follows:

  • The user disconnects the device. Then you need to remove the battery and install it again. If, due to the unique characteristics of the phone, the battery cannot be obtained, immediately launch Recovery after turning it off;
  • Enter recovery mode by pressing the volume and power buttons simultaneously. Perform a reset by clicking on the factory reset section.

For new models of Huawei smartphones, this instruction may not apply, so the gadget will need to be restored through the manufacturer’s website http://consumer.huawei.com.

How to prevent the problem?

If you regularly use the Graphic Key feature and do not want to face the problem of a forgotten line combination in the future, ensure that your phone has the following functions:

  • Install Root rights. Superuser mode allows you to quickly resolve software-related errors. You will have access to all the hidden options of your phone. It is worth noting that by setting up root, the device warranty is lost;
  • Use the SMS Bypass app. It can be purchased in the market for a dollar or downloaded as a trial version on the manufacturer’s website. Thanks to this program, you will be able to quickly restore access to your gadget in just a few clicks.
  • How to unlock Android if you forgot your pattern key

    Unlock Android without a mechanical Home button through the phone's service menu! In fact, everything is very simple, if you don’t understand, write in the comments!

    Android: How to remove the password or how to reset the pattern (the official method is not hacking)

If the user has forgotten the pattern key, then unlocking Android becomes the most exciting issue. To solve this problem, there is no need to seek the help of specialists, because there are a large number of ways to do it yourself.

Thanks to a multi-stage protection system that is being installed and improved, it is possible to protect personal data from unwanted attacks. The more complex the password on the screen, the harder it is to guess the phone's pattern lock. But then there is a chance of forgetting the necessary combinations. You can find out how to remove a pattern key from Android without losing data using the methods below.

The most effective methods for unlocking phones and tablets

  1. This unlocking method will only help if the device is connected to the Internet, a Google account is configured and the user remembers the access data for it. It consists of the following sequence of actions:
  • Enter the wrong password five times to lock your phone. An inscription will appear on the screen that many attempts have been made to enter the pattern key and the next attempt will be possible in 30 seconds.

The pattern key was entered incorrectly five times

  • The device lock screen will display the question: “Forgot your pattern?” If this does not happen, then you must enter the incorrect key again.
  • Press the “Home” button, the device will prompt you to enter your email and password for your Google account. Internet access must be enabled. Click “OK”, after which you will be prompted to enter a new password.
  1. An effective way to remove a pattern from Android is to reset the settings to factory settings. But it can be used in case of emergency, when it is impossible to restore access otherwise, because in this way data is deleted from the internal memory of the device (applications, messages, accounts). Using Recovery, resetting settings occurs as follows:
  • Turn off the gadget.

Turn off Android

  • In order to get into Recovery mode, you need to press and hold certain key combinations. They may differ on different models, and to choose the right one, you should try the following sequence of actions:
  1. Decrease the volume by pressing the On/Off button.
  2. Increase the volume by pressing the On/Off button.
  3. Increase/decrease volume by pressing the On/Off button and the Home button.
  4. Increase + decrease volume by pressing the On/Off button.

Using the volume down and up buttons you can move up and down through the menu, and confirm your selection with the lock/power button. New generation smartphones and tablets are equipped with a touch Recovery menu.

  • Select and click on “wipe data/factory reset”
  • Agree to have the internal memory of the device cleared by selecting “Yes - delete all user data”, and then “reboot system now”

After such actions, the device will reboot and become the same as it was originally. All this will take about a minute.

  1. The easiest way to reset a pattern on Android is to return to factory settings using a secret code. Depending on the model, one of the following codes is suitable:
  • Dial *#*#7378423#*#*
  • Enter *2767*3855#
  • Dial *#*#7780#*#*

Thus, when you forget the code, you can return the factory settings within 2-3 minutes.

  1. The most merciless recovery method for stored information is firmware. You can do it yourself or seek the help of specialists.
  2. Wait until the smartphone is discharged and a notification about this appears on the screen. You should go to the battery status, and then in the settings menu that appears, in the “Privacy” item, select reset all settings.
  3. Earlier versions of Android can be unlocked by calling it. When the call is made, go to settings and remove the blocking.

How to prevent gadget blocking

This method of protecting data on internal memory is suitable for all users, especially those susceptible to accidental locking. Unlocking occurs through a message with a certain text sent to the locked gadget. Procedure:

  • Get root rights for the device.
  • Install the SMS Bypass application, which has both paid and free versions.

Enabling SMS Bypass

  • Allow the application to have root access. The standard password set in the application consists of numbers - 1234, which can be changed in the settings. If the user has forgotten the password, then it is necessary to send a message with the text “1234 reset” to reboot the device, and then enter a new password at your discretion.

Even if the error occurred before installing SMS Bypass, on this operating system it is possible to install applications remotely from the computer. Provided that you have logged into your Google account, root rights have been obtained and you have access to the Internet, it is possible to remotely install and unlock a pattern key on Android.

The presented methods will help not only solve the problem when it has already arisen, but also prevent its occurrence. If you couldn’t do it yourself, don’t despair. Just trust the professionals to unlock your gadget.

Now many smartphone owners use the method of entering a pattern to unlock. This allows you to protect the device from thieves who simply will not be able to access the contents of the device. However, sometimes this method plays a cruel joke on the user. It is quite possible to forget the direction of finger movements. At such a moment, the owner of the device begins to wonder: “ How to unlock Android if you forgot your pattern key?" In today's material we will answer this question in detail.

Using SMS Bypass

There are several ways to remove a pattern from Android. Not all of them work in the vast majority of cases. But there is one most reliable way. It consists of installing SMS Bypass. This small and very inexpensive program will allow you to remove the pattern by sending a special SMS message to your smartphone containing the text “ 1234 reset" Of course, this code can be changed in the utility settings.

Attention: The application requires root access to work! Necessarily get superuser rights before installing it!

It should be noted that you can install SMS Bypass even on a locked device, as long as it has a Google account. To install, you need to log into Google Play from your computer using the same account. Go to the application page and click the " Buy" Then you will be given a choice on which gadget to install the program on. If the smartphone is connected to the Internet, the installation will be completed in the next minute.

Phone call

This method of bypassing the pattern on your phone does not require any investment. There is no need to install an additional application. You just need to make a call to your number from another device.

Attention: This method only works on older smartphones running Android 2.2 or an earlier version of the operating system. The security breach was later fixed.

The method is to reset the pattern when receiving a call. This is done along the way " Settings» - « Safety».

This method does not work on all versions of Android. It is sewn into only some branded shells. The method of removing a pattern key consists of five to six attempts to enter it incorrectly. After this you will be asked to wait 30 seconds.

After further fruitless attempts to make the correct movements with your finger, a window with the button “ Forgot your pattern key?" Click on it, after which you will only have to enter the data from your Google account (username and password). If your smartphone is not currently connected to the Internet, you can do this immediately after rebooting it. You can also click the “ Emergency call" and enter the following code: *#*#7378423#*#*

Manually deleting the gesture.key file

Attention: This method only works on smartphones with modified Recovery menu! If you have never installed third-party firmware, then this method is not for you!

Your pattern key is contained in a text file gesture.key. If you delete it, the graphic key itself will be reset. You can eliminate it without unlocking the device using the following Recovery menus:

  • .

Your actions are incredibly simple:

1. Download the archive file of the Aroma File Manager utility to your computer.

2. Move it to your memory card.

3. Insert the card into your smartphone.

4. Go to the Recovery menu and install the application.

5. Follow the path " /data/system/».

6. Delete files gesture.key, locksettings.db, locksettings.db-wal And locksettings.db-shm.

7. Reboot your smartphone.

8. Enter any graphic key - the device should unlock.

If you have the Recovery TWRP menu installed, then you don’t even need to download a separate utility. You can find the file manager along the path “ Advanced» - « File Manager».

This method only works on devices with root-access installed by the SuperSU application and at least two registered users. It is also important that SuperSU must have multiplayer mode enabled.

In order to remove a graphic key from Android, you must:

1. Switch to the second user.

2. Go to Play Market and install Root Browser.

3. Open the installed utility and follow the path “ /data/system/».

4. Delete the following files:

  • gesture.key;
  • locksettings.db;
  • locksettings.db-wal;
  • locksettings.db-shm.

Reset data

This method will work on many smartphones that have the Recovery menu installed (TWRP, or Standard). Using this method, you will not only have to reset the pattern, but also delete all other user data - phone book, SMS messages, notes and some other data. Fortunately, if you have a Google account and synchronization is enabled on your device, you can easily restore everything. When it comes to photos, videos and music, they're here to stay.

To reset the data, you need to go to the Recovery menu and select the item Wipe data/Factory Reset. From different manufacturers method of exiting the Recovery menu is different:

  • Smartphone Samsung First you need to turn it off, then hold down the center key, the volume up key and the power button. On models released before 2012, you only need to hold the power button and the center key.
  • On smartphones HTC hold down the volume down button and the power key. After the Android image appears, both buttons are released. Instead of Factory Reset, the desired menu item may be called Clear Storage. It is advisable to remove and insert the battery (if it is removable) before going to the Recovery menu.
  • On smartphones Huawei It is also recommended to remove and insert the battery. Then you need to hold the Power key and the Volume Up button. After the Android picture appears, the buttons are released.
  • On smartphones Sony Usually one of the methods discussed above for going to the Recovery menu works. The exception is older models - they may require connecting the device to the computer and installing the Sony Ericsson PC Suite program, where you need to go to “Tools” - “Data Recovery”.
  • On a smartphone ZTE Usually it helps to hold down the power button and press the volume up key at a certain time (then you also need to hold it down). You can also reset the data by pressing the “Emergency call” button on the lock screen and dialing the combination *983*987#.
  • On devices from Motorola, Archos, Asus And Prestigio The power key and volume down button are pressed. Sometimes the volume up key is used instead of the latter.

Going to the service center

The ideal method that works in almost 100% of cases. Just take your smartphone or tablet to a service center. But please note that repairs will not be considered under warranty. Specialists will be able to remove the pattern lock from Android, but they will ask for money for their work.

Of course, this method can only be used if you have a Samsung smartphone or tablet. You also had to register a Samsung account, which allows you to use branded South Korean services. If these conditions are met, then do the following:

1. Go to the website from your computer Samsung Account and log in by clicking the " To come in" and entering your username and password.

2. Go to the section " Find device».

3. Click the button Find» and re-enter your username (the email address specified during registration will do) and password. After that, click the blue button " To come in».

4. If you have several South Korean devices, then select the one you need in the corresponding list (located in the upper left corner). Then all you have to do is press the “ More».

5. Click the button Unlock my device».

Summarizing

Today's guide covers almost all the ways to unlock your smartphone. When you forgot your password or pattern, you can use one of them. You can also try to reflash the device, for which programs are used ODIN, , Fastboot and many others. But this is a completely extreme case, which should be resorted to when absolutely necessary.



Today I will tell you 8 ways to remove a pattern from a locked Android! Many people advise doing a wipe (resetting all data on an Android smartphone or tablet)! Don't do it right away! Keep this article bookmarked as it can be very useful.

Method No. 1

The author's method of unlocking a graphic key for tablets and smartphones from the Fans Android website!

Most recently, our site has developed a new way to unlock tablets and smartphones using a pattern key!

To unlock you need:

Method No. 10

From user ocelot-cc

  1. Get root access via odin
  2. Install from Recovery mode from the AROMA Filemanager memory card.
  3. Go to /data/system/
  4. Delete the GESTURE.KEY file

If you have any questions or suggestionsregarding how to unlock Android, then we communicate in this forum.

I hope you will be able to unlock your favorite Android device and remember your passwords for the future!

You won't be able to unlock your tablet for free even if there is a valid warranty. However, the following tips will help you.


Unlock the tablet on Android

1) Your Internet worked

Can't unlock but The tablet was connected to the Internet- enter the wrong password several times, a password recovery window may appear, here you need to enter the data from your mailbox. You can recover your Google password. Let's move on if this method doesn't work.


2) Branded programs

Use proprietary programs for your tablet or phone.

3) A rare method - USB debugging

If you have USB debugging mode enabled in the settings, use the program - ADB RUN:
1. Download the ADB driver for your Android tablet using a search engine. Let's find out how to install the driver on a PC
2. Install the program on the computer (downloads: 233) and launch
3. Connect the tablet using a cable
4. Press “1” on the keyboard to check whether the mobile device is connected to the computer. If the program says that it is not connected, it means that the drivers were not installed or they are not suitable. We successfully passed this point after several attempts, then continue.
5. When you see Unlock Gesture Key, press “6” on the keyboard and then enter.
6. Next, either press “1” and reboot the device, or reset the system.db file and use it.
It doesn’t work, we do the same thing using the command line: START button in Windows -> Run... -> enter – cmd. In the window, enter the following commands and press enter:
cd/
cd adb/progbin
adb shell
rm /data/system/gesture.key

4) Recovery menu

If there Recovery menu on the tablet need to do .
Here are a few more tricks:
1. Turn off your tablet
2. Press together “increase volume”+ key "house" + "power key"
3. Hold the “power button” until it vibrates and then release it and at the same time hold the “volume up button” as you did until the menu appeared.
4. Select “wipe data/factory reset” and press the power button on it
5. Select yes from the list, the rest are no
6. A reset occurs, click (“reboot system now”) to reboot.
7. By resetting, we will solve the problem.

If the method does not help, in the second step, click “reduce volume” and “power on” at the same time.
On some tablets, the reset is done like this:

1. hold the “back” button
2. Press the power button 1 time
3. Now let go “back”
4. Android appears, click “home”
5. Select reset in the menu

For owners of Chinese tablets, you can do this:

1. Turn off the device
2. Hold “volume up” and “power on” for 3-4 seconds, release “power on”, and press alternately “volume up” and “volume down” several times.
3. Hold “power on” and “volume up” again, wait for the recovery menu, click “wipe data/factory reset”, then “yes delete all user data” then “reboot system now” and that’s it.
You need to try it a couple of times. You can choose your own combination using the random method.
The best way to solve the blocking issue is reflash the tablet or take it to the service department, it won’t cost much, but you can avoid a lot of headaches.