How to set up smartphones and PCs. Informational portal
  • home
  • Errors
  • Forgot the PIN code from the phone what to do. How to remove the pattern from android

Forgot the PIN code from the phone what to do. How to remove the pattern from android

Now the overwhelming majority of gadget users are trying to somehow protect their confidential data from prying eyes: they lock the device with a password / pattern / fingerprint or use other means of locking. These functions do not give unauthorized people access to the device. Unless, you can get to the bottom of calling emergency services at 112 or take a couple of photos with your phone camera.

But what if you suddenly forget the same password, thereby depriving you of access to your own device? Fortunately, there are several ways to deal with such problems.

For devices running on iOS

Apple-made devices have a procedure to completely lock the device if the password is entered incorrectly more than 6 times in a row. You will have several ways to restore the device to factory settings.

Attention! If you have not backed up your device, you will not be able to restore your data!

There are several ways to format the device: format using the iTunes utility; use the Find iPhone utility; use recovery mode.

Using iTunes

If you've synced your device with iTunes, follow these instructions to restore it:

1. Connect to your computer with iTunes.

2. Wait for the device to sync and create a backup.

3. Select the menu item "Restore ..."

4. Select "Recover from iTunes Copy" during recovery.

5. Select the appropriate backup.

Using iCloud and Find My iPhone

If you have configured the Find My iPhone service, then you need to follow these instructions:

1. Go to icloud.com/find from any device.

2. Sign in with your Apple ID.

3. Select your device from the list and click "Erase ..."

4. Restore your device from a backup or set it up as a new device.

Recovery mode

If both of the previous methods do not suit you, then it would be wise to use the recovery mode to remove the password. To do this, you will need to connect to your computer with iTunes and force restart your device.

On iPhone 7, hold down the Power and Volume Down buttons.

Older models have a Home button and a Power button.

You will be prompted to restore or update your device on the computer screen. Select recovery. After completing the procedure, you can reconfigure the device and use it.

For Android devices

For Android devices, there are more ways to reset the lock, even without losing data, quite simple and quick to use. All methods are arranged as the difficulty increases.

Attention! All actions you perform at your own peril and risk! Some actions can lead to the withdrawal of the device from the warranty!

Google account data entry

If your device is connected to the Internet using a mobile network or Wi-Fi, you can get rid of the lock simply by entering your Google account username and password. To do this, enter the password or pattern incorrectly 5 times in a row until the device lock warning appears. The "Forgot your pattern?" Option will appear, by selecting which you can sign in to your Google account and continue using the device.

This method requires a mandatory Internet connection!

Use Google's Find My Device program

This solution to the problem is one of the simplest, but it implies a complete loss of device data, and is rather a cautionary one. You will need to install the Find My Device program from Google Play. It will allow you to perform a full reset of the android device, if it suddenly comes to this.

In principle, the installation can be done from any other device on which your Google account is activated. It is enough to use it to enter this program, select the desired device from the list, and if there is an Internet network on the desired device, perform a remote software installation.

Next, through the device management manager, we clean the smartphone you need. There will be a complete deletion of all data on the phone, including the data of the SIM card, so take care of saving them in advance.

Reset picture password using ADB

This method requires enabled USB debugging in developer tools!

For this simple method, you need a computer with the Android SDK installed, of which ADB is a part. If you cannot enable USB debugging on your device, then this method is useless for you, you will not be able to use ADB.

We will work with the program through the command line.

1. Connect your device to your computer and open a command prompt.

2. Record the path to the folder with ADB and enter the commands below. After each command, you need to press Enter:

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';

3. You can also try another command: adb shellrm /data/system/gesture.key

4. After the performed procedures, reboot the device, and after rebooting, enter an arbitrary pattern.

Factory reset using Recovery

This method is radical and simply deletes all user data from the device, including security settings, beyond recovery.

First you need to get into Recovery Mode. On different devices from different manufacturers, this can be done using various combinations:

 Volume down + power button.

 Volume up + power button.

 Volume up / down + Power button + Home button.

 Volume up + volume down + power button.

Depending on the Recovery itself, control can be carried out either with the volume and power buttons, or the Recovery menu can be touch-sensitive.

This is a generic option to reset user data. It can differ significantly from vendor to vendor, so below is a short list of some of them.

Samsung

The transition to the recovery is carried out by pressing the buttons "Home" + Power + Volume "Up". Next, select the option factory reset or wipe data / factory reset.

Htc

Holding down the power and volume buttons "Down", we are waiting for the transition to Recovery mode. Further - it's simple: select Clear Storage / Factory Reset.

Huawei

On some models, the same technique works as with HTC smartphones.

SONY

Using a PC and Sony PC Suite, carry out "Data Recovery". An alternative method will be described below.

ZTE

From the locked screen, go to the Emergency Call window and enter the following numeric combination to go to the engineering menu: *983*987# from where to perform a factory reset later. An alternative option is to switch to Recovery mode using the same instructions for HTC.

Asus

Go to the recovery section by holding down the power and volume down buttons. Next, use the volume keys to select wipe data.

Motorola

Press three buttons at the same time: volume "Up" + volume "Down" + power, with the help of which go into recovery. Select wipe data / factory reset. Done, you are amazing!

Flashing the device

One of the most commonplace ways to recover from device blocking is to flash your smartphone again. Depending on the manufacturer of the gadget, the methods may vary. Look for more detailed information on your device on the Internet.

Removing gesture.key and password.key

In order to use this method, you need a mobile phone with custom Recovery installed and obtained root rights. The essence of this method is that the system files responsible for the graphic password and gesture-key are deleted.

For the procedure itself, we need the Aroma file manager, which works from within Recovery itself. Install it through the Recovery selection menu, after which the manager itself will start.

Go to the / data / system folder and delete some files:

 "gesture.key"

 "password.key"

 "locksettings.db"

 "locksettings.db-wal"

 "locksettings.db-shm"

After all the completed procedures, you can safely restart the device and use it as before.

These methods of getting rid of annoying blocking are suitable for the vast majority of mobile device users, but they still do not guarantee 100% successful removal of a forgotten password or pattern.

Many manufacturers protect their gadgets in special ways in order to minimize the risk of a smartphone falling under the control of intruders. In our situation, this makes life quite difficult, because the above methods in this case will definitely not be able to help solve the problem. Therefore, further we will focus on ways to unlock products for individual brands.

For Samsung devices

If you have a smartphone from the Korean giant, then all the above methods of removing the lock are available to you, namely:

1. Sign in with your Google account.

2. Reset via ADB.

3. Return to factory settings via Recovery (go to Recovery by pressing the following buttons: Power + Home + Volume up).

4. Removing gesture.key through custom recovery.

5. Re-flashing the device.

But there is another way that allows you to do everything quickly, safely and without losing data. This is Samsung's FindMyMobile service. It will only help if a Samsung account has been registered on the device and there is an Internet connection.

You will need to visit the page https://findmymobile.samsung.com/?p=ru in your browser. Next, you will be logged in with the email address and password that you used on the device. After a successful login, you will need to select your device from the list (if there are several of them) and select "Unblock my device" in the drop-down menu. After entering your account password, you can continue using your smartphone!

For SONY devices

Smartphones from this Japanese manufacturer are considered one of the most dreary in terms of getting root access, flashing, and the like. But even for them there is a unique way that will help to say goodbye to the forgotten password from the lock screen.

We need three things:

1. Flashtool

2. Sony drivers

3. Sony firmware suitable for Flashtool.

Launch Flashtool, go to the “Tools - Bundles - Create” tab. We fill in the fields in accordance with your device and firmware version. In the “Branding” field, specify “lock remove”. Next, in the lower field of the folder list, drag the files to the firmware content userdata.sin and loader.sin.

After that, we create an unlock file and flash it using Flashtool. Voila!

For HTC devices

If you have an HTC smartphone, you can also unlock the lock without deleting your personal data. For this procedure, we need a PC with HTC Sync installed.

After connecting the smartphone to the PC, using the HTC Sync utility, you need to install the Screen Lock Bypass application. After successful installation, you should restart your phone and unlock. If the problem is not resolved, please try again or use the other methods outlined above.

Instead of a conclusion

The author of the article does not guarantee that after applying any of the above options for disabling the smartphone lock password, you will succeed, and you will not be left with a "brick" in your hands, no. Here are only the most common instructions that do not always work 100%, although they should.

If you still do not really trust yourself and what is written here, the best and correct solution would be to take the device to a service center, where qualified workers will definitely help you solve the problem.

To protect access to your smartphone, Android OS provides the ability to set a password on the lock screen. The user can choose the form of the password: text, numeric or graphic key. Users often forget the set code words, numbers and cannot unlock the phone if they forget the password. For such cases, the developers have provided several effective ways to restore access to the device.

Note! Some methods may not work for your phone model, due to differences in operating system versions or lack of Internet connection, root rights. We advise you to perform all the methods described below one by one, skipping those that are not suitable for your smartphone model.

Reset password using Google account

To successfully complete this method, you will need to remember your login details for the Google account to which your smartphone is linked. This method is the easiest and fastest way to reset a forgotten password in Android OS. After several incorrect attempts to enter the code, the message "You have entered an incorrect PIN" will appear on the screen. Please try again in 30 seconds. " Click OK.

Immediately after starting the timer, the "Forgot your password?" Button will appear in the character input window. Click on it. Then in the new window, enter your email address and password to log into your Google account. After confirming your identity, the PIN will be reset and the desktop will open.

If your gadget is not connected to the global network, you can use the following trick. On some Android smartphones, you can open the action center shade. Click on the "Wi-Fi" icon. The phone will connect to the router automatically if you have previously established a connection with this router. Thus, you will connect your phone to the Internet even in a locked state. Similarly, you can connect the gadget to the 3G network by clicking on the corresponding icon.

Unlocking Samsung Galaxy smartphones

Samsung Galaxy smartphone users can easily regain access to their phone with a forgotten password using the standard Find My Mobile feature. A prerequisite is that the Internet connection must be enabled on the locked smartphone. To reset your password remotely, you need a computer or any other smartphone. Follow the instructions:
Also, we wrote an article:.
After a successful unlock, a corresponding notification will appear on the web page. Pick up your phone, its screen will be unlocked and the password will be reset. To set up a new codeword or pattern, use the gadget's settings. Together with the access password, we advise you to set unlock by fingerprint. This way you can instantly unlock your device even if you forget the code word.

Performing a Hard Reset

This method allows you to reset a forgotten key, even in a smartphone without an Internet connection and without root rights. The advantage of this method is a quick recovery of the gadget without extraneous programs and functions, the disadvantage is that all files and applications will be deleted from the smartphone. Before resetting, we recommend that you remove a removable memory card from the phone so as not to lose all information recorded on it. Do not forget to remove the SIM card as well, otherwise the numbers will be deleted.

Follow the instructions:

  1. Turn off the device and activate the Recovery mode;
  2. In smartphones, this mode can be called in different ways. It all depends on the gadget model and the installed firmware version. Most often, you need to hold down the "Volume Up" and "Power" key combination for 10-15 seconds. The combination "Volume up" + "Volume down" + "Power" can be used;
  3. A line menu appears on the smartphone screen. In 95% of cases, it will be displayed in English;
  4. Move between lines by pressing the volume keys. The selection is the power button. Select "factory reset / wipe data".
The data reset will start automatically and take up to 5 minutes. Next, the phone will reboot. You will need to complete its initial setup by logging into your existing Google account. If you have previously created a backup copy of your data, you can use it to recover all your lost files and programs.

For Sony Xperia smartphones

Manufacturers often come up with simple ways to restore access to the desktop. While a whole service for tracking phones with the ability to reset the password was developed for Samsung Galaxy, Sony decided to do it much easier and created a simple code to reset pattern keys and codes.

The combination works on all Xperia phones. Open the emergency call window on the display by pressing the button of the same name. Enter the code * # * # 7378423 # * # *. It can be used to call the manufacturer's service menu. Then click on the "Service Test" tab. A new options window will open. In it, select "NFC" - "Dag Test". After completing the task, click on the "Home" button. You will be redirected to your smartphone's desktop.

Reset password on a rooted phone

For rooted devices, you can remove the password using the custom version of Recovery. By entering this mode, you will be able to open system files. The key is stored on the system under the name Gesture.key or Password.Key. It is recommended that you erase both files. Then restart your smartphone. The password will be reset.

For the safety of data in Android there is a function of protecting the device with a digital or visual password (password-schedule or pattern). Thanks to the efforts of engineers, it is not so easy to bypass the security system; scammers or thieves will not be able to unlock a phone or tablet. But what to do if you, the legal owner of the android device, have forgotten the digital combination or line drawing?

What is graph password on android

On android, in addition to the usual sequence of numbers, you can set a password-schedule.

A square of nine dots (3 × 3) appears on the screen. The user must connect them with a line in a certain sequence, without lifting his finger from the screen.

In other words, a picture password is a sequence of connecting dots. For example, the letter Z, a star, just some kind of line.

Picture passwords are more popular on Android than digital ones, because a line drawing is easier to remember than a four-digit number. However, you can forget any, even the simplest, password.

How do you insure yourself against blocking your device?

How to prevent your phone or tablet from being locked

The Play Market has an SMS Bypass program, the essence of which is as follows: if you forget your password, the device can be unlocked by sending an SMS with a certain text from another phone to yours. When the message is received, the system will reboot and again prompt you to enter the password. Draw any line and the smartphone will unlock.

Such a program, of course, requires root access. Initially, this is "1234 reset". It can be changed to any other, at your discretion.

SMS Bypass can be installed via a personal computer after you have forgotten your password. But this requires root access (it's not for nothing that they say that root is insecure) or a Google Account.

What to do if you forgot your picture password

There are several working methods to bypass security and unlock your phone. Some are suitable only for certain versions of Android, others just work every other time. If one method doesn't work for you, try the next one.

Login to Google Account

After 5-6 unsuccessful attempts to guess the graphic password, the smartphone will ask you to wait 30 seconds. At the same time, the button “Forgot the graph. password?". Click on it. You will be asked to sign in to your Google account (the one to which your phone or tablet is linked). If the data is entered correctly, the password will be reset.

There is one caveat: if Android is blocked at the moment when it was not connected to the Internet, then it will not enter Google Account. In this case, you need to restart the device and pull the information bar down as soon as it appears. Then enter your account information as described above.

If you cannot turn on the Internet using the previous method, try using service codes.

  1. To do this, press "Emergency Call" and enter the following set of characters: * # * # 7378423 # * # *.
  2. In the menu that appears, intended for service center specialists, open Service Tests -> WLAN.
  3. Turn on Wi-Fi.

Alas, the service codes cannot enable the mobile connection. However, you can try to pull out and reinsert the SIM card, it is possible that the phone will connect to the network on its own.

You can also try to connect a SIM card from another operator (megaphone, mts, beeline, etc.), sometimes it helps.

If you cannot activate the network, buy a microUSB to LAN adapter used to connect fiber optic cables. Connect it to your smartphone and router. After a while, the Internet will appear on the device.

Call smartphone

The method will only help on Android OS versions 2.2 and below, then there were no such sophisticated security systems yet.

  1. Call the locked phone from any other.
  2. Answer the call immediately.
  3. Minimize the program and open "Settings", then "Security" and disable the password.

Dial the number

Even if the phone is locked, it can be used to call the emergency services. In Android up to version 5, there is such a feature: if you open the field for calling emergency services, and then press the "Back" button, the Android screen will appear for half a second. You can use this moment to download the No Lock program and launch it. The phone will be unlocked.

How to unlock your pattern on Android 4.1.2 - video

Discharge the phone

You can try to wait. At that moment, when the charge is almost completely empty, Android will show you a corresponding message and prompt you to see the battery status. And the battery status is one of the sections of the "Settings" menu. So go to it, click on the arrow in the upper left corner of the screen, click on "Security" and cancel the password.

Delete files storing visual password data

The method is suitable for those who have a custom Recovery menu (CWM or TWRP) installed on Android. The essence of the method is to drop the saved data about the graphic sequence, which are stored in the following files:

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

Via CWM

  1. Download any file manager for Android from your computer and put it on your memory card.
  2. Now turn on the Recovery Mod on the device (turn off the smartphone, and then hold down the "Home" button and the on / off button and hold for ten seconds until the manufacturer's logo appears).
  3. Using Recovery, install the file manager and launch it.
  4. Now open the folder / data / system /
  5. Delete all of the above files.
  6. Reboot the device and enter any picture password. The smartphone will be unlocked.

Via TWRP

If TWRP is installed on the device as Recovery, then you can skip downloading the file manager, since it is already embedded in the application.

  1. Turn on Recovery Mod and open the Advanced -> File Manager menu and then the / data / system / folder
  2. Delete the above files.
  3. Reboot the device and enter any picture password.

With the help of an additional user

If there are several users on the device, there is root access and you use the SuperSU program, then you can try to delete these files through an additional user.

  1. Log in through the second user and install a file manager from the Play Market.
  2. Open it and go to the / data / system / folder
  3. Remove files:
    • gesture.key;
    • locksettings.db;
    • locksettings.db-wal;
    • locksettings.db-shm.
  4. Reboot your device and when entering the password draw any line you want. Android is unlocked.

Unblock with ADB RUN program

ADB RUN uses a console of ADB drivers that connect the mobile device to the computer. The program is convenient in that it automates the process of working with the console. Especially for cases when a person forgets the password, there is the Unlock Gesture Key function.

Unlock Gesture Key is translated as "unlock pattern key".

Reset to factory settings

The roughest and most clumsy way. But effective. It works for any version of Android and for all devices. But keep in mind that this will erase all information from the hard disk, and it will be impossible to restore it.

So, if you are desperate to bypass the lock in other ways, make a Hard Reset.

Hard Reset is the term for resetting all settings to factory defaults and deleting all data.


Contact support

You can contact technical support directly for Android or device manufacturer. They will ask you to provide them with a receipt and other documents on a smartphone or tablet to prove that you are the owner. Then you will be told what to do next. You may have to go to the service center, but they will definitely help you.

How to set a new picture password

Let's say you reset your picture password. Now let's talk about how to install a new one.


How to disable picture password

To remove the password, open "Settings" -> "Security" -> "Lock password". Locate the Enable Lock Password switch and slide it to the Off position. To confirm the action, you will have to enter the current picture password.

Is it possible to bypass the digital password

The digital password can be bypassed in the same way as the graphic one. Almost all of the listed methods will help to remove it. But there are some differences. For example, the gesture.key file is responsible only for the visual key, so you cannot remove the numeric key in this way. But connecting to Google Account, resetting the settings and contacting support works fine.

It's okay that you can't remember the password, no. It happens to everyone. Android developers took care of users and allowed them to reset passwords using a Google account, to which they still have to bind their device. However, there is one significant problem: thanks to the abundance of methods, it will be easy for a thief to unlock a stolen phone or tablet. So it’s better not to rely too much on this protection and don’t keep secret data in your smartphone.

A password that protects the entrance to a personal smartphone or tablet from intrusion is called a pattern. It does not consist of numbers, but of nine circles (dots) that must be connected in a specific 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 your pattern. The easiest way is with your Google account. To unlock the electronic device, repeat the step-by-step instructions:

  1. Make five attempts to enter the key, but since the figure will be drawn incorrectly, the device will be locked.
  2. Next, the screen will display the message “Forgot your pattern?”.
  3. After clicking on it, you will be prompted to log into your Google account, after which access to the device will be allowed.
  4. This method will work if the device is connected to the Internet, as well as if you remember your data (username and password) to log into your Google account.

Reset

On a new phone (tablet computer), unlocking the pattern "painlessly" will take place if you use the reset of all settings. Please note that if the device has been used for a long time and a lot of personal data has been stored in it, then using this method, you will lose it. How to reset the settings on an Android mobile device:

  1. Remove the MicroSD card to save the information stored on the flash card.
  2. With the device turned off, simultaneously hold down one of the combinations: a) volume up button + off / on key; b) volume down button + power key; c) increase the volume + decrease the volume + "Power", d) increase the volume + decrease the volume.
  3. After 5-10 seconds, the engineering menu of the recovery mode will be displayed. Use the volume button to select the "wipe data / factory reset" option, and then press the power key.
  4. Further, in the window that opens, there will be the required item "yes - delete all user data". Then find “reboot system now”, after which the device will reboot and unlock.
  5. This entry into the recovery mode is universal for many mobile devices running on Android.

Phone call

You can reset the pattern on Android after a call from another number. This method is suitable if you have a version of the operating system (OP) from 2.2 and below. To remove the key from Android, do the following:

  1. Ask to call your number from another mobile device.
  2. Answer the call, then remove the call window, press the Home key.
  3. The device will be unlocked and then go to "Settings".
  4. Next, select the "Security" section in the menu, and then delete the picture password.

Discharging your smartphone

You can remove the key from Android after discharging your smartphone or tablet. Wait until the battery runs out (less than 10%), then do the following:

  1. During the notification that the battery is low, click on it, then go to "Settings" - "Security" - "Lock".
  2. 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 the 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:

  1. Download the archive file of Aroma Filemanager.
  2. Move it to your device's memory card.
  3. Find the recovery menu (initial steps for the "factory reset" method) and install the utility.
  4. Select the item "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.
  5. Then go to the “/ data / system” folder, from which delete the files: password.key, gesture.key (Android version 4.4 and below), getekeeper.pattern.key, getekeeper.password.key (Android version 5 and above).
  6. Then restart your 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. You cannot download the utility because it is included in the Android Studio package. 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:

  1. Download the Android Studio app to your computer from the official website. Using the archiver, open, then enter the "$ TEMP" folder. After 2 times click on the "android-sdk.7z" option and extract the "platform-tools" folder.
  2. Move it to the root directory of the C drive "SystemRoot%", rename it.
  3. Connect your mobile device to your computer via USB, install the driver.
  4. If it is not there, download the universal Google USB Driver from the Google Play Market and use the tabs "Control Panel" - "All Controls" - "Device Manager" to install it on your computer.
  5. After installing the driver, open the "Command Prompt" program using the Win + R keys, enter the "cmd" command in the line and click "OK".
  6. To remove the unlock pattern, go to the program folder, then enter "cd c: / adb" in the command line and confirm the action by pressing "Enter".
  7. After that, the smartphone (tablet) with Android needs a reboot.

Service center services

If you cannot remove the graphic password on your own or you are not confident in your abilities, entrust your gadget to the service center employees. The wizards have the necessary software, they can use any of the above schemes, but with a 100% result. The service is paid, but such an action will help save money on repairing a mobile device, because with independent intervention, you can easily harm your gadget.

Video

Top related articles