How to remove the pattern from an android. Easy ways to unlock your phone. How to unblock Android if you forgot the pattern

In modern smartphones, an incredibly many ways have been introduced to protect personal data from prying eyes - this is a graphic password, a digital password, a password made of symbols, or even a fingerprint scanner in some phone models. If you forgot your password, you can use some methods to unlock any Xiaomi device: Xiaomi Redmi 4 Pro, Xiaomi Mi5, Redmi Note 3, Xiaomi Mi Max, Xiaomi Redmi Note 4 or Mi4 Plus. We recommend unlocking using these methods only in order to access 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 for sure. But repeated entering of the wrong password leads to the fact that the device is locked for a while, and the more often you enter the wrong password, the longer the phone remains locked. 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.

Today there are at least three proven ways to unlock the 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 firmware versions. For example, MIUI 7 has a password reset function by pressing a standard button "Forgot your password?”, But in MIUI 8 this button is no longer there, so you need to deal with removing the lock a little longer. Let's take a look at the basic methods for solving the above problem.

Give gifts

Standard way

  1. If you enter an incorrect (incorrect password or pattern) on Redmi, you will see a standard message stating that the smartphone is locked. Therefore, the one who unlocks the lock must press the button "Forgot your password?" at the bottom of the screen, after which it will be transferred to the page for unlocking via Mi or Google accounts. Here you need to enter your authorization data (username and password) and log into your account. Done - now you can remove the graphic keys, change the way the device is locked, or change the password to a new, more memorable one.
  2. If your firmware version is higher than 7th, then click on the button "Forgot your password" you cannot - it simply does not exist. In this case, unlock using one of the methods described below (these methods also work for combinations of numbers or symbols).

Through the recovery

Graphical unlocking, according to this method, is carried out through a complete reset of all phone settings to the original ones through the Recovery menu. On some models, such as the Xiaomi Mi Max, it is available immediately after purchasing the phone, but more often than not you will need to ask Xiaomi for permission to unlock the bootloader.

Fulfillment of all the 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. Then follow these steps:

  • Turn off your phone. Press the power button and volume up key at the same time;
  • If the bootloader is unlocked, the Recovery menu will open on the phone;
  • In 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 that the phone will be clean as out of the box - there will be no more graphic lock.

If the smartphone bothers you with the presence of any other shortcomings, and not just the forgotten graphic password, you can reflash the phone through the laptop and the utility. You can also remove the pattern in this way, but we will take a closer look at this topic in a separate article, since reflashing a device is much more difficult and time-consuming than just removing the pattern on Xiaomi.

How to remove a password through a phone search

If you have not removed the blocking using the above methods, try to do it through Google services. To do this, log in to the smartphone settings via your Google account. Then on any Android device, go to it, log into Google Play and install the free official application for remote device management - Find My Device on the device. Next, select your device in the window, after which the program will be remotely installed 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 turn on the cleaning function, so 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 advise you to remove the SIM card and memory card from the device before unlocking using this method.

How to disable password blocking

Sometimes it happens that after the child has played with the gadget and entered the wrong password several times, no one will remove the block for a while - the smartphone is blocked for a while. Sometimes this time can take up to several days - you must admit that you don't want to wait so long for unlocking.

The easiest way to solve this problem is to unblock by calling. To do this, call from someone else's phone to your own, accept the call and minimize the conversation window. You will be able to control the device until the call is completed. To do this, go to the settings and uncheck the box "Picture password", then enter the correct combination and press "OK"... Done, old passwords have been reset! This method will only work if you have remembered the correct password, or someone has accidentally locked your phone.

conclusions

The conclusions can be made quite simple - if the question arose "how to reset the lock", then the answer to it is very simple. If your smartphone has MIUI 7 firmware, then you can easily unlock your phone using the button "Forgot your password", and on newer phone models, you have to make a little more effort - you need the owner of the gadget to unlock the bootloader first.

If you have forgotten the password or pattern on your Android device, then this is not a reason to panic. There are several quick and easy options to unlock your Android phone or tablet if you don't remember your pattern or PIN.

Google account data entry

If your smartphone or tablet has a permanent wireless connection, you can solve the problem with bypassing protection by simply entering your email address and password. After 5 unsuccessful attempts to unlock the screen, a notification will appear. Click on it, and in the window that appears, enter your user data for your Google account.

What if I forgot my Google account password? Follow the procedure for restoring access directly to your account using support.

Unlocking via Hard Reset

When using this method, all personal data will be deleted, and the smartphone system will return to factory settings (SD card files are not affected). Before performing the procedure, it is advisable to have a backup file from which you can restore user information.

The easiest way to reset is to use the utility located in your device's settings. Since access to the system is blocked, you will have to act through:


Each user action (creation of a PIN-code, pattern) is displayed in the system by creating certain files. We can conclude that if you delete the password data, you will be able to unlock the device without losing user information.

Many users are actually wondering how to unlock Android through a computer. To do this, you need the ADB utility, as well as your gadget connected in USB debugging mode. Follow the following algorithm:


adb shellrm /data/system/gesture.key

rm /data/system/locksettings.db;

rm /data/system/locksettings.db-wal;

rm /data/system/locksettings.db-shm;

Flashing the device

If other ways of hacking Android are not available for you for some reason, then a. This can be done in several ways:

  • Via a computer using a USB cable;
  • Through the Recovery Menu on any Android device. You need to use a computer to download the firmware file directly to the phone or tablet memory.

In this case, it will be possible to download not only the official firmware, but also various custom options in which the design, protective functions, drivers, utilities, etc. can be changed.

Delete gesture.key (only works for pattern lock)

Unlocking an Android phone or tablet in this way is impossible without Root rights and. If these conditions are not met, then choose another method to bypass protection. The pattern is reset as follows:


Many of the methods described above are not possible without unlocking the bootloader. By doing this, you will get root rights, you can install your own firmware version or custom recovery, therefore, before hacking the Android lock, you must remove the bootloader protection. It is recommended to do it right away in order to be fully armed in situations if you have forgotten your PIN / pattern.

Unlocking algorithm:


After that, the bootloader activation process starts, which will be displayed on the device screen. Wait until the end of the process, and then simply reboot your device. Bootloader unlocking is complete. The above tips are suitable for virtually all occasions, because everyone may have their own problematic situation. We hope that our tips will help you quickly and correctly get rid of the problem.

There are often cases when the owners of the gadget simply forget the Android pattern, and also want to simply remove it. In this case, the actual question appears, how to remove the pattern from Android. There are several different ways, each of which we will talk about next.

Do you remember the picture password

If there are no problems with access on the tablet or on the phone, then you can easily disable the pattern using the standard settings. You can reset the pattern by doing the following:

Then you can unlock your tablet or phone without any problems. In the same menu, the user can put back the graphic key or digital password on Android. As soon as you change your password, be sure to write it down in order to avoid future lock problems. This is the answer to the question of how to unlock your Android device.

You forgot your pattern

In most cases, the problem is much more serious, since the desired pattern-answer is irrevocably out of memory. What to do if you forgot your pattern. There are different options. Some require just a couple of simple actions, others require serious manipulation on Android. We will look at the most popular options to help you turn off your picture password.

Trying to guess

No matter how trivial this advice is, in some cases it helps to restore access to the phone. If you have been using a graphic password for a long time, then you may have left muscle memory. Try to repeat the steps you follow when unlocking. In most cases, people put quite simple pattern keys that are not very difficult to find on their own.

If you succeed in guessing the code, then you need to go to the settings, and then simply cancel the input of the tablet or mobile key. Here, just turn off this setting, but you can also create a new password. It is also recommended to take a photo of the key, while keeping it in a safe place. How to remove the pattern is described in the previous paragraph.

Make a call

What to do if you forgot your graphic key, respectively, you urgently need to find out how to unlock Android. Try calling your phone. On older Android devices, during an incoming call from a mobile phone, it becomes possible to access the menu without entering a graphic lock. You must press the "Home" button.

After that, similarly go to the corresponding menu, and then reset the picture password. If you keep forgetting the password pattern, it is recommended to disable it completely.

Battery discharge

How do I remove the lock? Try to exploit the vulnerability, which suggests the ability to get into the menu through the low battery percentage alert. The process is quite lengthy, but in some cases it may be the only one. You need to wait until the phone is disconnected. As soon as the notification appears on the screen, open the settings, enter the security menu, and then remove the password. It is important to have time to change the settings before the gadget turns off completely.

Using Google registration

There is a way to reset the pattern if the Google system has entered the data into the user's account memory. Here you can bypass the pattern. To unlock, you need to do the following:

  1. Enter any pattern until you are prompted to sign in to your network account.
  2. Then enter your username and password for your Google account.
  3. As soon as it is possible to do this, the system will send a proposal to activate the administrator mode.
  4. Hold down the "Administrator" key. The gadget will be unlocked and the password will be completely canceled.

In this simple way, you can access your smartphone if you have forgotten the pattern. However, you will only be able to remove the password if you did not forget to enter the user account during the initial setup of the device.

For advanced users

All previous methods did not require special knowledge or skills from the user. But what if none of the above methods helped. There are other options, but they will require you to use additional software or a hard reset to unlock your pattern.

Using a specialized file manager

When you install a pattern, a special file is created in the phone's file system, which stores information. Removing it will disable the password and you can log into your smartphone. This requires a special program, for example - File Manager

... Also, the phone must have something else.

To remove the unlock pattern, clearly follow the following points:


Thus, we remove the password on the phone, while maintaining the integrity of all data. Unfortunately, you will no longer be able to find out the old key.

We use the adb program

What if I take down the required file, but the password still remains. Perhaps this method will help you, which performs the same actions, but in an alternative way. In order not to bother with how to remove the unlock pattern for a long time, use the ADB computer program. It has a wide range of functionality, but it also allows you to delete the gesture. USB debugging must be enabled on the phone. Also, on the Internet, you should download the corresponding script that will perform all the necessary actions.

How can I disable the password in this case? Follow this simple instruction:

This way you can bypass the password. Remember that no program picks up a pattern, so only the techniques described above are effective.

Extreme measures

How to bypass the block if all else fails? Reset the gadget to factory settings. This is a 100% option, but it has one significant drawback: you will lose absolutely all your data. Apps, phone contacts, music and other files. All this will be irretrievably lost.

A password is the best way to protect your smartphone from prying eyes. It can be installed on separate programs, SMS, or you can install it all at once - use the screen lock of the Android device, and then certainly no one can use it. But there are incidents when a smartphone cannot unlock something that is not someone else's, but even its own owner. If you suddenly installed and then forgot your password or pattern, this happens, you should not be upset. There are several ways how to regain access to your locked smartphone or tablet.

Method number 1

Resetting the pattern using a Google account

This method will only work if your smartphone or tablet is connected to the Internet, be it mobile access or Wi-Fi access. You need to enter your password incorrectly several times (5 or more) so that a warning about the device lock for 30 seconds and the Forgot your pattern button appears on the screen? by clicking on which lines will appear for entering a Google account: username (email address) and password. Specify them and access to the Android device will be allowed.


If after 10-20-30 attempts the button still does not appear, go to the next method of unblocking.

If something irreparable has happened, and you do not remember either your mail or your password, then you will need to restore access to your account. To do this, go to the Google website at this link and follow the instructions on the screen.

Method number 2

Reset password and pattern using ADB program

ADB (Android Debug Bridge) program is a console application that allows you to perform various actions with an Android device using a computer. You cannot download this program separately, as it is included in the Android Studio developer package, so you need to download the entire package.

We would like to warn you that this method works only on devices, in the settings (section "For developers") which is enabled USB debugging... On some smartphones and tablets, it can be activated when connected to a computer

Step 1 Download the Android Studio program from the official site, open it with the archiver and enter the $ TEMP folder. Then double-click on the file android-sdk.7zto open another archive and extract the folder platform-tools anywhere on disk

Step 2 Move the folder platform-tools, including all its contents, to the root of the C drive. Rename the folder to adbto make it easier to enter the name later

Step 3 Connect the device and install the driver for it. If the manufacturer does not provide their drivers, then download the universal Google USB Driver and install it using Device Manager... You can read how to install the driver correctly at developer.android.com/studio/run/oem-usb.html#InstallingDriver, although the information is in English


Step 4 After installing the driver, open the Command Prompt program. To do this, press the keyboard shortcut Win + R, enter the command cmd and press Enter


Step 5 To reset the password using ADB, go to the program folder, in the command line, enter the command:


Step 6 There are quite a few ways to remove the password, the most common of them will be presented below. Use each one in turn, one of the ways should help you.

Enter the commands in turn and press Enter, after each method, restart your smartphone or tablet and check the result, if the lock remains, go to the next one.

#1

adb shell
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system set value \u003d 0 where name \u003d "lock_pattern_autolock";
update system set value \u003d 0 where name \u003d "lockscreen.lockedoutpermanently";
.quit

# 2 (requires rooted device on the device)

adb shell
su
rm /data/system/password.key

# 3 (requires rooted device on the device)

adb shell
su
rm /data/system/gesture.key
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
reboot

Method number 3

Reset password and pattern using TWRP custom recovery

This method is only suitable for owners of Android devices with installed root rights and custom TWRP recovery. Turn off your smartphone or tablet and boot it into Recovery mode. Different key combinations are used for different devices, the most common:

  • Power + Volume Up
  • Power + Volume Down
  • Power + Home + Volume Up + Volume Down

After downloading Recovery TWRP, open the File Manager program by clicking Advanced and then File Manager. Go to the / data / system folder, find and delete the following files: gesture.key and password.key (for Android 4.4 and below); getekeeper.password.key and getekeeper.pattern.key (for Android 5 and above)

Restart your smartphone / tablet and calmly unlock the device if you are asked for a password again - when unlocking or when setting a new password in the settings - just press Enter (OK) or, if it's a pattern, enter any.

Method number 4

Reset password and pattern using CWM custom recovery and AROMA Filemanager

This method, like the previous one, is possible only if you have root rights, as well as an installed custom CWM recovery.

Step 1 Download AROMA Filemanager from the following link. Copy the downloaded archive to a memory card

Step 2 Insert the memory card into your smartphone or tablet and boot into Recovery mode

Step 3 In the Recovery menu, select Install zip

Step 4 Now select Install zip from sdcard, Choose zip from sdcard or Choose zip from external sdcard; go to the folder where the archive with the program is located and select it

Step 5 After downloading AROMA Filemanager, go to the / data / system folder and delete the following files: gesture.key and password.key (for Android 4.4 and below); getekeeper.password.key and getekeeper.pattern.key (for Android 5 and above)

Reboot and unlock the device, if the password is asked again - when unlocking or when setting a new password in the settings - just press Enter (OK) or, if it's a pattern, enter any.

Method number 5

Factory reset

If none of the tips described above helped you, then there is only one thing to do - reset Android to factory settings. But it is worth remembering that all data, settings and programs will be erased, the only exception is the SD memory card, it will not be touched when resetting, unless of course you clear it yourself. How to make a Hard Reset, you can read in our instructions: How to reset Android to factory settings.

We really hope that at least one of the tips helped you and you unlocked your device.

Tell your friends about the article, and also subscribe to our pages on social networks and get useful tips every day

Many users of mobile devices often face a specific problem - they do not know how to unlock their Android. Often the reason for blocking is forgetfulness of the user himself. Taking care of the security of personal data, the owner sets a password or a pattern to log in to his device, which he cannot later remember.

The easiest and most effective way to find out how to unlock your tablet is to contact a service center, where they will help you unlock your tablet or phone for a certain amount. But if you do not want to spend money, and the time it will take to remove the lock is enough, then these instructions are for you. Consider a few simple, but at the same time effective ways to restore access to the device.

Ways 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 this is a phone, then you can try the following.

We make a call to the locked phone, accept the call on it without dropping it, minimize the call window and turn off the graphic lock in the settings. If you are going to unlock your tablet or this method did not help, follow the tips below.

Method 1: unblock via Google account

To unblock this method, the device must be connected to the Internet. If so, then we do the following procedure. We enter the wrong key several times in a row. Typically, devices are given 5 attempts to enter the correct key, after which attempts are blocked for 30 seconds, and the display shows the message "You may have forgotten your graphic password." Click on it, a window appears asking you to enter the login and password of your Google account. In this window, enter only your login (up to the "@" symbol) and password, click "Login". After that, you will be prompted to create a new lock password. Create a new one or click "Cancel".

It is important to remember the following with this method. 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 unlock Android in the following way, however, this method is not effective for all devices. From a third-party device (computer, smartphone, etc.), you should log into your account, select the "Security" tab and go to the "Two-step authentication" section. The account is tied to your Android device - well, if not, we try to link to a phone number. In the "Two-step authentication" 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 a new application password, enter the application name (any), click “Create password”. This creates an application password, which is at the same time the password for the device.

We enter on the device your login from your Google account and the password you just created and, as in the previous method. Create a new pattern or cancel it.

Method 2: USB debugging with ADB Run

This method involves debugging the Android system using the Android Debug Bridge (ADB) console application for the computer, as well as its simplified version of the ADB Run for the user. If USB debugging was enabled on your device, resetting the unlock through the specified program will help you. To debug in this way, we do the following sequentially.


The above method is universal and allows you to both unlock the tablet and control the Android system via ADB. After following this tutorial, the block will be cleared.

If this does not happen, you need to try to repeat all the steps or unlock it manually through the command line of the computer. To do this, connect the device to the computer via USB, launch the command line on the computer, in which we write the following commands, pressing Enter after each:

rm /data/system/gesture.key (this command will remove the pattern)

rm /data/system/password.key (will remove password).

We disconnect from the computer, enter an arbitrary key, enter the device.

Method 3: unlock Android OS without USB debugging 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 enabling this mode, which can be found in the user manual or on the Internet. But there is a boot method for Recovery that suits most Android devices. We carry out the following:

  1. Turn off the device.
  2. At the same time we hold down the keys "Volume +", "Power on" and "Home" (if there is such a key).
  3. We hold the power button until the device responds (the backlight turns on, an image appears), the volume button - until the menu appears. You have entered Recovery Mode.

In order to unlock a device that has USB debugging disabled, and it is scary to understand the intricacies of the ADB program, or there is simply no desire, you need to download the file manager installer with access to the AROMA Filemanager system files to your computer. Copy the zip file to the SD card, insert the card into Android, boot the device in Recovery mode, select the installation from the SD card and press ZIP AROMA Filemanager. After the system boots up, 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, turn on "Mount partitions at boot", exit the program, then start it again. The device sections 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, we reboot the device normally. Block removed!

Did you like the article? To share with friends: