How to unlock a phone if there is a PIN code. How to unlock your phone if you forgot your password, PIN code or pattern. Unlocking a pattern key

Now many smartphone owners use the input method to unlock graphic key. 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 the pattern key?” In today's material we will answer this question in detail.

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! Be sure to obtain 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 Google account. To install, you need to log in from your computer to Google Play under 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 under Android control 2.2 or more early version 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».

Entering data from your account

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(login and password). If in this moment If your smartphone is not 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 graphic key is contained in 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:

  • CWM;
  • TWRP.

Your actions are incredibly simple:

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

3. Insert the card into your smartphone.

4. Go to 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 menu installed Recovery TWRP, then you don’t even need to download a separate utility. Find file manager you can along the way " Advanced» - « File Manager ».

Using a Second User

This method only works on devices with root access, installed application SuperSU 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, CWN 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 your data, you need to log out. Recovery menu and select the item in it Wipe data/Factory Reset. U different manufacturers The method for 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. Older models are an exception - they may require connecting the device to the computer and installing the program Sony Ericsson PC Suite, where you need to go along the path " Tools» - « Data recovery».
  • On a smartphone ZTE Usually it helps to hold down the power button and press certain time volume up key (then you need to hold it too). You can also reset your data by pressing the "" button on the lock screen. Emergency call» and set 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.

Using a Samsung Account

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 Samsung Account website from your computer 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 enter your login again (the address will do Email specified during registration) 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 on the left top 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, Flashtool, Fastboot and many others. But this is a completely extreme case, which should be resorted to when absolutely necessary.

Content

The most common reason for a smartphone or tablet to be blocked is many attempts to enter the PIN code incorrectly. Perhaps you forgot the code or gave the device to a friend, but he did not know about this feature of your phone and inadvertently blocked the gadget, or perhaps a child got into the device? Be that as it may, the essence is the same - you need to unlock your mobile phone. What should be done for this?

What to do if you forgot your password on your phone or tablet

If you haven't forgotten your access code, enter your Google account information and your smartphone will be unlocked. However, average mobile device users don't bother creating an account in advance, so the phone or tablet's request to enter a PIN takes them by surprise. If you forget your password, you need to do full reset systems (so-called “hard reset”). Features of the process depend on the device model. To find out exact order actions, search the Internet for instructions specifically for your model. Below is a universal procedure for resetting settings.

  • With your tablet or phone turned off, hold down the volume up button, the center button under the screen (with a house picture), and the power key for a few seconds. They need to be clamped at the same time. If your device does not have a house key, hold down only the other two.
  • The phone or tablet should vibrate, after which the logo image will appear on the screen - you can release the buttons.
  • Using the same volume up key, select the line “Wipe data/factory reset” and select the central button with a house picture or the power key (at different models devices differently).
  • You will be taken to another menu where you select “Yes – delete all user data”.
  • After activating this command, the first menu will be displayed. Reboot the operating system by clicking on the line “reboot system now” and it will unlock.

Simple ways to unlock your phone if you don't know the password

Video: how to unlock a pattern on Android

Regardless of whether it is touch or push-button telephone, gadgets with the Android system are often blocked, causing a lot of trouble to their owners. Due to their own stupidity and inattention or due to a system failure, they cannot unlock their own device. However, this problem is completely solvable, since there are many Android-based devices. With the help of this video, you will learn how to quickly restore access to your smartphone or tablet.

Found an error in the text? Select it, press Ctrl + Enter and we will fix everything!

When enabled, this feature automatically unlocks your screen when at least one of the conditions you specify is met. For example, if the device is located at your home or another device of yours is connected to it via Bluetooth.

You may have previously set up Smart Lock but forgot about it. In this case, remember the given condition and fulfill it. For example, if you have added one of the Bluetooth devices to the list of trusted devices on your smartphone, enable the module on both wireless communication. Once connected, the phone can be unlocked without entering a PIN, password or key.

If Smart Lock has not been configured in advance or you cannot meet the specified condition, then this method is not suitable.

2. Bypass protection using a Google account

Some devices with old Android versions(up to 5.0 Lollipop) allow you to bypass the screen lock using your Google account. But for this, the device must be connected to the Network. To check if your smartphone supports this method, enter any password, PIN or pattern five times.

After five incorrect entry attempts, the message “Forgot your password?” should appear on the screen. or similar hint. Click on this inscription and enter the username and password for the Google account that is the main one on your smartphone. After successful login you will be able to specify New Password or set up another method to lock the screen.

If you also forgot your Google account password, try to restore access to it using the company’s special service.

3. Use the service from the smartphone manufacturer

Some brands offer owners of their devices additional unlocking tools. For example, Samsung has a Find My Mobile service, with which you can remove a pattern, PIN, password, and even a fingerprint. To do this, your device must be linked to your Samsung account, support the service, and be online.

To find out whether such services exist for your model, look for this information in the instructions or on the manufacturer’s official website.

4. Reset the device to factory settings

If other options do not work, all that remains is to return the factory settings. This will lead to the loss of all data, copies of which are not saved in your Google account and others. But you can remove the protection from the screen.

Turn off your smartphone and remove the memory card if it was inside. Then try these key combinations in turn until one of them works (you need to press all the buttons and hold them for about 10-15 seconds):

  • Volume down key + power button;
  • Volume up key + power button;
  • Volume Down key + Power button + Home key;
  • Volume down key + Volume up key + Power button.

When the service menu appears on the display, select Recovery, and then the Wipe data / factory reset command. If none of the key combinations work or you don't see the necessary commands in the menu, look for reset instructions specific to your device model.

After this, the smartphone should return to factory settings within a few minutes. The device may request a login and password from a previously connected Google account, but you will no longer need to unlock the screen. After logging in old account the system will restore the settings and data synchronized with it.

All of the unlocking methods listed above are suitable not only for smartphones, but also for Android tablets.

How to unlock iPhone

If you have forgotten the password for your iOS device, you have only one option - reset to factory settings. There are two ways to do this: c using iCloud and via iTunes. The first will only work if you previously enabled the Find My iPhone function on your smartphone. For the second you will need a USB cable and a computer with installed program iTunes.

In both cases, you will delete not only the password, but also all data from the device. But if you have a backup copy iPhone, then after the reset you can restore the information saved in it: calendars, contacts, notes, SMS, settings and purchase lists in iTunes and App Store. Personal photos and videos will also not be lost if you previously synchronized them with your computer or iCloud.

1. Reset iPhone to factory settings using iCloud

To check if Find My iPhone is active on your smartphone, connect it to the Internet. Then log in to your account Apple entry ID on the iCloud website using a computer and click on the “Find iPhone” icon.

If you don't have a computer at hand, but have an iPad, iPod touch or another iPhone, you can use standard application“Find iPhone” on any of these gadgets. It works the same as the web version in iCloud.

If Find My iPhone is active, you'll immediately see your locked iPhone (in the app) or select it from the All Devices list (on the iCloud website). If the device is not displayed, proceed to the second method. Otherwise, continue.

Click on the smartphone icon, and then on the “Erase iPhone” button and follow further prompts.

This will remove your passcode and all data from your device, allowing you to set up your iPhone again.

2. Reset iPhone to factory settings via iTunes

Run on computer iTunes, then connect your smartphone to it using a USB cable.

If you have previously synced your iPhone with this computer, click on the smartphone icon in iTunes. In the menu that opens, perform synchronization again and create a fresh one backup copy devices on the computer. Then click “Restore from copy...”, select the newly created image and follow the system prompts until complete recovery.

If you've never synced your iPhone with your current computer, or iTunes also asks for a password, then most likely you won't be able to create a new backup. But you can do a reset in a special mode, and then restore the device from old copies (if any). Follow these steps to reset:

1. Force restart your iPhone.

On iPhone SE, iPhone 6s, iPhone 6s Plus, and older models, hold down the Home key and the top (or side) button for 10 seconds or more until the recovery screen appears.

On an iPhone 7 or iPhone 7 Plus, hold down the Side key and the Volume Down button for 10 seconds or more until you see the recovery screen.

On an iPhone 8 or iPhone 8 Plus, hold and immediately release the volume up key and then the volume down key. After that click on side button and hold it until the recovery screen appears.

2. When the recovery dialog box appears on your computer display, click “Restore” and follow the iTunes prompts.

3. If the iPhone exits recovery mode while iTunes is downloading necessary files from the Network, press the forced restart buttons again and hold them until the device returns to this mode.

Although the instructions for both reset methods are based on the iPhone, they will also work if you suddenly forget your iPad password.

They say that a dull pencil is sharper than the sharpest memory, but alas: we never stop forgetting passwords, and with them the fact that it is better to entrust their storage to paper or specialized program. In addition to the “forgetting to forget” properties of human memory, passwords are also lost for other reasons - due to children’s pranks with the phone or sabotage by someone close to them. Although... when the problem has already arisen, the reason fades into the background. And the first step is the desire to quickly figure out how to unlock the phone. Therefore, now we will study ways to remove the blocking.

Unlocking using branded services and applications

It’s better to remember that your smartphone will one day be permanently locked before it happens. And prepare workarounds in advance, since some mobile device manufacturers provide this opportunity. For example, Samsung has a Find my mobile service, which allows you to remove any password, PIN code and fingerprint of the owner without direct access to the device. The condition is that you have a Samsung account, link your phone to it and pre-setting it for remote control.

Manufacturers of Huawey gadgets also took care of users by creating a proprietary utility HiSuite, which allows you to restore forgotten password via computer.

For HTC brand gadgets, there is a proprietary Windows utility, HTC Sync Manager, which makes it possible to install applications on the phone via a PC, to which the first one is connected with a USB cable. With its help you need to pour into mobile device Screen Lock Bypass utility (supports versions from 1.5) and perform unlocking steps. However, to use this feature, USB debugging and Internet must be enabled on the locked gadget.

There are similar things for devices of other brands, so before moving on to hardcore methods, such as hard reset or flashing, try to look for information about proprietary secrets for unlocking your smartphone or tablet on the Internet. If such things exist, they will definitely be written about somewhere.

How to turn on the Internet on a locked gadget

The majority of methods for unlocking smartphones and tablets are effective under one condition - if the device is connected to the Internet. You can turn on the Internet without access to your desktop different ways, but, unfortunately, they do not always work.

Here are some of these methods:

  • Reboot your device. Your task is to catch the moment the notification panel appears at the top of the screen, behind which the curtain is hidden, and have time to pull it down before the lock screen opens. At the same time, you will have the opportunity to enable Wi-Fi or packet data transmission via 3G/4G. The method works on smartphones and tablets different brands- Meizu, Xiaomi, Lenovo, Asus, etc., but not all.
  • On Sony smartphones Xperia Internet access is enabled via service menu, which opens by calling the number *#*#7378423#*#*. The number can be dialed on the keyboard emergency call while on the lock screen. After opening the menu, go to the “Service Tests” -> “WLAN” section, where the option to activate Wi-Fi is available, and turn on the Internet. By the way, it is possible that the method will work on devices of other brands.

  • On some smartphones, the 3G/4G packet data function is activated through the power button menu.
  • Sometimes replacing the SIM card with another one helps tariff plan which has an Internet connection service and has enough funds in the account.
  • If none of the methods helped connect your mobile device to the Internet, the last thing left is to connect it directly to the LAN port of the router using a LAN-USB adapter and OTG cable. A positive result is achieved in approximately half of the cases.

Unlocking with Google Account

Important! Before setting a password or pattern on your phone, you need to register a Google account on it, the details of which you remember well. Better yet, store it in a safe place. By doing this you will insure yourself against many serious problems in the future!

After entering the wrong pattern 5 times, the device will prompt you to try again in 30 seconds. Click OK. After half a minute, the message “Forgot your combination?” will appear on the lock screen. After clicking on it, the system will prompt you to enter your account login and password. Google posts, which is tied to the phone. Entering the correct data will unlock the screen, and then Android will prompt you to create a new pattern.

The method of removing the lock by entering a known login and password for the Google account linked to the device has helped many, but not everyone. It works more or less stably on smartphones and tablets running Android versions 2.2-5.0, less often on modern ones. However, there are devices that do not “follow” this technique at all, and to unlock them you have to look for other means.

Some users who have forgotten the password of their Google account recover it, or rather change it, by logging into the service via a computer. If you've changed your account password, you'll likely be able to unlock your phone for at least 72 hours.

Unlock by call

The method of unlocking by calling exploits a certain vulnerability in the firmware, so on modern devices it works extremely rarely, almost never. But the majority of devices on Android 2.1 and older are unlocked with its help quite often.

The method is to call a blocked phone. After accepting the call, press the Home button to go to the desktop. Without interrupting the call, open the Settings app and turn off the key prompt.

Another option for this method is to make an outgoing call from a locked phone (if the function is supported). After dialing the number of a non-existent subscriber, the desktop opens for a short time and it becomes possible to pull out the curtain, from which you can go to settings and disable protection. For the operation to be successful, you will most likely have to make several attempts.

Unlocking rooted devices

Devices whose owners managed to receive root rights, unlocking is somewhat easier, since there is a little more possibilities. One of them - mobile app SMS Bypass. It is paid, it costs about $2, but in a blocking situation it can provide you with invaluable help.

Attention! If your device is not yet locked, be sure to install the application before the opportunity to use it comes! Do it now!

SMS Bypass works very simply. As long as the smartphone is not locked, the application does not bother the owner in any way. But in case of problems, you just need to send an SMS message with the text “1234 reset” to your number so that the blocking is reset. After receiving SMS the problematic smartphone will reboot. After turning it on again, you should enter any pattern or password on the lock screen, and access will be granted.

By the way, some devices with root rights support installing applications even in a locked state. Naturally, not directly, but through a computer. To do this, you will need a phone and PC synchronization program, Internet access and a password for your Google account.

If there are 2 Google accounts on the device, both are rooted, and login is blocked for only one

Login under account second user. Using the file manager Root Explorer, Root Browser or their equivalents, open the /data/system directory and delete the following files:

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

After this, the first user will also be free to log in.

Unlocking devices with custom Recovery menu

Users install the custom recovery menu - Clockwordmod (CWM) or TWRP, which is called by pressing certain keys before loading the operating system on Android gadgets. If you have equipped your device with a similar tool, then you have several more ways to unlock it.

In addition to the menu, you will need the AROMA Filemanager file manager, which works in the recovery environment. This application can be installed even on a locked phone by placing installation file to the memory card and boot into Recovery. With it, you will get full access to Android OS directories without loading the system.

Owners of smartphones with the CWM menu installed can use another application - Screen Lock Cracker. Its only function is to reset passwords and graphic keys that protect the system login. You just need to place the application on an SD card, insert it into the gadget, enter the recovery menu and launch it. After it works, the entrance will be unlocked.

Unfortunately, the developers of Screen Lock Cracker do not guarantee its correct execution on all devices, but you don’t have to worry about the data in the device’s memory. Even if the password is not reset, user files will not be affected.

Unlock using ADB

ADB (Android OS Debugging Bridge) is a console application that is installed on a computer as part of the Android SDK and is used to control connected Android devices. ADB is intended for debugging the system, devices and application development, but it can also serve our purposes. If you have this package installed on your PC + ADB Android Drivers, and USB debugging is enabled on your smartphone or tablet (or the CWM recovery menu is installed), then you have several more ways to unlock it.

To use the methods listed below, you additionally need root rights (since you use ADB, you most likely already have them). If they are not there, the instructions may not work.

Method 1

  • Connect your locked phone to your PC using a USB cable.
  • Run command line with administrator rights (if you are running Windows) and run the following commands one by one:

cd [adb directory]
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

Once completed, restart your phone and enter any password or key on the lock screen. If he won't let you into the system again, try the second method.

Method 2

  • Run Command Prompt as Administrator.
  • Follow the instructions below:

cd [adb directory]
adb shell
su [if you don't have root rights, skip]
rm /data/system/gesture.key
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
reboot

The phone will restart.

If your device does not have USB debugging enabled, run the above commands in the CWM environment.

The original description of these unlocking methods is on English language given .

Hard Reset and flashing

The two remaining options for restoring access to a locked phone or tablet can be called methods of desperation. They are resorted to when absolutely everything that can be applied to the device has been tried, but “things are still there.” Unfortunately, both methods do not provide for saving user data, which means all photos, videos and other files that you stored only on mobile device, will be lost.

By doing Hard Reset the phone or tablet will return to the same condition as after purchase. And reflashing is equivalent complete reinstallation operating system.

A hard reset is quick and easy. Using the instructions for your gadget model, enter the Recovery menu (the screenshot shows the standard recovery menu that is installed on most devices) and select the Wipe data/Factory reset option. The device will reboot and in a few minutes will become pristine.

Reflashing is also not particularly difficult. The most time-consuming thing about it is to find a distribution kit suitable for your model. Then just follow the installation instructions that usually accompany it.