Forgotten picture password on an Android smartphone is a situation that almost every user has encountered. One careless move, and the screen locks, and access to contacts, photos and applications disappears. Fortunately, you can unlock your device even without losing data - if you act correctly.

In this article we will look at all the current ways to bypass the pattern lock: from standard methods through a Google account to advanced technical solutions for experienced users. You will learn which options work on Samsung Galaxy, Xiaomi Redmi, Huawei and other popular models, as well as how to minimize the risk of data loss. Important: the effectiveness of the method depends on the version of Android, the presence of root access and manufacturer settings - some methods may not work on new devices with enhanced protection.

If you are looking for a quick answer: the most universal method is reset via Google account (for Android 4.4 and older), but on modern smartphones it is often required Hard Reset (full reset). Read on to choose the best option for your situation.

1. Unlocking via Google account (Android 4.4โ€“7.0)

This method works on devices with Android versions from 4.4 KitKat to 7.0 Nougat. On newer firmware (Android 8.0+), the function has been removed for security reasons, but on older smartphones it remains the simplest solution.

Action algorithm:

  • ๐Ÿ”น Enter the wrong pattern 5 times in a row. A message will appear on the screen: "Forgot your pattern key?" or "Try again in 30 seconds".
  • ๐Ÿ”น Press the button "Forgot your password?" (or similar). The system will prompt you to enter the details of the Google account that was linked to the device.
  • ๐Ÿ”น Specify email and password from the main Google account (the one that was used when you first set up the phone).
  • ๐Ÿ”น After successful authorization, the system will prompt you to create a new pattern or PIN code.
โš ๏ธ Attention: If your device has two-factor authentication (2FA) enabled, you may need a code from SMS or the Google Authenticator application. Make sure you have access to a backup phone number.

This method does not work if:

  • ๐Ÿšซ The device is not connected to the Internet (Wi-Fi or mobile network).
  • ๐Ÿšซ Google account was deleted or changed after setting up the phone.
  • ๐Ÿšซ Custom firmware is installed on the smartphone (for example, LineageOS).
๐Ÿ“Š What smartphone do you have?
Samsung
Xiaomi
Huawei
Google Pixel
Another brand

2. Using the "Find My Device" function

If synchronization with Google and Internet access are enabled on your phone, you can unlock it remotely through the service Find My Device. This method is suitable for devices running Android 5.0+ and does not require physical access to the smartphone (a computer or another phone is enough).

Step-by-step guide:

  1. Go to the site google.com/android/find from any browser.
  2. Log in using the same Google account that is linked to the locked phone.
  3. Select your smartphone in the list of devices. If it is connected to the Internet, its location will be displayed on the map.
  4. Click "Lock" (Lock) in the left menu.
  5. Enter new temporary password (twice) and confirm action.
  6. A field for entering this password will appear on the locked phone. After unlocking, install a new pattern.

Advantages of the method:

  • ๐Ÿ”ต Does not require data reset.
  • ๐Ÿ”ต Works even if the phone is in another city (the main thing is the Internet connection).
  • ๐Ÿ”ต Supported on most brands: Samsung, Xiaomi, OnePlus, Nokia etc.
โš ๏ธ Attention: If your phone has data transfer disabled or is low on battery, this method will not work. Also, some manufacturers (for example, Huawei) block the remote unlock function on new models.
๐Ÿ’ก

Before using Find My Device, check whether the "Location sharing" and "Find device" functions are enabled on your phone in Google settings. This can be done in advance in Settings โ†’ Google โ†’ Security.

3. Resetting the pattern key via Safe Mode

If the pattern password was set by a third-party application (for example, AppLock or CM Security), and not by the Android system, you can try to remove this application via Safe Mode. In this mode, only standard system apps are loaded, and third-party blockers are disabled.

How to enter Safe Mode:

  1. Turn off the phone (hold down the power button and select "Turn off").
  2. Hold the button Poweruntil the manufacturer's logo appears.
  3. As soon as the logo disappears, immediately press and hold the button Volume down until the system is fully loaded.
  4. The message should appear in the lower left corner of the screen "Safe Mode" (Safe Mode).

Next actions:

  • ๐Ÿ“ฑ Go to Settings โ†’ Applications.
  • ๐Ÿ“ฑ Find the application that set the pattern lock (for example, AppLock), and remove it.
  • ๐Ÿ“ฑ Reboot the phone in normal mode - the lock should disappear.
Manufacturer Combination buttons for Safe Mode Notes
Samsung Power + Volume Down Works on most models, except new flagships (S22, S23).
Xiaomi Power + Volume Up On some models you need to hold the buttons until they vibrate.
Huawei Power + Volume Down Does not work on devices with EMUI 10+.
Google Pixel Power + Volume Down (after the logo) Supported on all versions of Android.
โš ๏ธ Attention: Safe Mode will not help if the pattern was installed through the standard Android settings (and not by a third-party application). In this case, proceed to the following methods.

4. Unlocking via ADB (for users with USB debugging)

If your phone was previously enabled USB debugging (Settings โ†’ For developers โ†’ USB debugging, you can delete the file with the pattern via your computer. This method requires minimal technical skills and works on most devices, except the newest ones (Android 11+ with enhanced protection).

What you will need:

  • ๐Ÿ–ฅ๏ธ A computer with installed drivers for your phone.
  • ๐Ÿ–ฅ๏ธ app ADB (Android Debug Bridge) - download Platform Tools from the official Google website.
  • ๐Ÿ–ฅ๏ธ USB cable (preferably original).

Instructions:

  1. Connect your phone to the computer via USB.
  2. Open the command line (Windows) or terminal (macOS/Linux) in the folder with ADB.
  3. Enter the command to check the connection:
    adb devices

    If the device is displayed in the list, proceed further.

  4. Delete the file with the pattern:
    adb shell rm /data/system/gesture.key

    or for new versions of Android:

    adb shell rm /data/system/locksettings.db
    

    adb shell rm /data/system/locksettings.db-wal

    adb shell rm /data/system/locksettings.db-shm

  5. Reboot the phone:
    adb reboot

After the reboot, the graphic key will be reset, and the system will offer to install a new one. If this method does not work, try an alternative command:

adb shell am start -n com.android.settings/.ChooseLockGeneric
โš ๏ธ Warning: On devices with data encryption (File-Based Encryption, FBE), this method may result in loss of access to files. Before using ADB, make sure that USB debugging has been enabled before blocking phone.

Install Platform Tools on PC|Download drivers for your phone model|Enable USB debugging (if your phone is not already blocked)|Prepare the original USB cable-->

5. Hard Reset (full reset)

If none of the previous methods worked, the most radical method remains - Hard Reset (hard reset). It removes all data from your phone, including apps, photos, and settings, but is guaranteed to unlock your device. Use this method only as a last resort!

How to make a Hard Reset:

  1. Turn off the phone.
  2. Hold down the button combination to enter Recovery Mode (recovery mode). Combinations differ depending on the manufacturer:
  • ๐Ÿ“ฑ Samsung: Power + Volume Up + Bixby (or Home).
  • ๐Ÿ“ฑ Xiaomi/Redmi/Poco: Power + Volume Up.
  • ๐Ÿ“ฑ Huawei/Honor: Power + Volume Up.
  • ๐Ÿ“ฑ Google Pixel: Power + Volume Down.
  • ๐Ÿ“ฑ OnePlus: Power + Decrease volume.

After entering Recovery Mode:

  1. Use the volume buttons to navigate and the power button to select.
  2. Select item "Wipe data/factory reset" (may be called "Reset data").
  3. Confirm the action (usually item "Yes").
  4. After reset, select "Reboot system now".

Important: On some devices (for example Samsung with Knox) after a Hard Reset, FRP (Factory Reset Protection) protection may work. In this case, you will need to enter your account information Google, which was tied to the phone before the reset.

โš ๏ธ Attention: If data encryption was enabled on the phone (by default on Android 6.0+), after Hard Reset you may need to enter the old pattern to decrypt the files. In this case, the data will be lost forever.
What to do if after Hard Reset the phone requires the old one. password?

This means that the data on the device has been encrypted. Unfortunately, it is impossible to decrypt it without the original pattern or PIN code. The only way out is to reset the phone again and set it up as a new device (all files will be erased).

6. Alternative methods for specific brands

Some manufacturers offer. unique unlocking methods. Let's look at the most common ones.

Samsung: Find My Mobile service

An analogue of Google Find My Device for devices Samsung. Works on phones with a Samsung account:

  1. Go to the website findmymobile.samsung.com.
  2. Login using your Samsung account.
  3. Select a locked device and click "Unlock".

Xiaomi: Mi Account

On phones Xiaomi, Redmi i Poco you can unlock the device through a linked Mi account:

  1. Enter the wrong password 5 times.
  2. Click "Forgot your password?" and select "Unlock via Mi Account".
  3. Enter your Xiaomi account login and password.

Huawei: HiSuite

For devices Huawei i Honor you can use the app HiSuite on your computer:

  1. Install HiSuite from the official website.
  2. Connect your phone to the PC via USB.
  3. Select in the app "Data recovery" โ†’ "Password reset".

These methods do not work on all models and depend on the firmware version. For example, on new Samsung Galaxy S23 the Find My Mobile service may require confirmation via SMS, and on Xiaomi 13 unlocking via Mi Account is only available when connected to the Internet.

๐Ÿ’ก

Before buying a used phone, always check whether the previous ownerโ€™s account is linked to it. On devices with FRP lock (for example, after a Hard Reset), you may be required to enter your old account information, which will render the phone useless without this information.

7. How to avoid blocking in the future

In order not to encounter the problem of a forgotten graphic key again, follow these tips:

  • ๐Ÿ” Use PIN code instead of a pattern lock - it is more difficult to forget, and it does not take much longer to enter.
  • ๐Ÿ” Set Smart Lock (in security settings) for automatic unlocking in safe places (for example, at home).
  • ๐Ÿ” Regularly create backup copies important data (photos, contacts) via Google Drive or locally on your computer.
  • ๐Ÿ” Write down the pattern or PIN code in a safe place (for example, in a password manager 1Password or KeePass).
  • ๐Ÿ” Enable USB debugging in advance (in the settings for developers) - this will help unlock the phone via ADB, if necessary.

Also useful to know:

  • ๐Ÿ“Œ On Android 9.0+ you can add alternative unlocking method (for example, fingerprint + PIN).
  • ๐Ÿ“Œ Some banking applications (for example, SberBank Online) require a separate PIN code for entry, which does not depend on the system password.

FAQ: Frequently asked questions about unlocking Android

Is it possible to unlock a phone without losing data?

Yes, but only if:

  • ๐Ÿ”น USB debugging is enabled on the phone and there is access to ADB.
  • ๐Ÿ”น The device is connected to the Internet, and you remember your Google account data (for Android 4.4โ€“7.0).
  • ๐Ÿ”น The lock was installed by a third-party application (you can remove it via Safe Mode).

On new smartphones (Android 10+) it is almost impossible to unlock the phone without losing data due to the increased protection.

What to do if you forgot your Google account password?

Restore access to your account via accounts.google.com:

  1. Click "Forgot your email or password?".
  2. Follow the recovery instructions (you will need a backup email or phone).
  3. If the account is deleted, you cannot restore it - you will have to do a Hard Reset.
Does unlocking work through a call (method with an emergency call)?

Previously, on Android 4.0โ€“5.0 there was a bug that allowed you to bypass the lock through the screen emergency call. Now this method does not work on modern versions of Android (6.0+) due to security fixes. Do not waste time looking for such instructions - they are outdated.

Can I unlock the phone through a service center?

Yes, but:

  • ๐Ÿ”ง Official service centers (for example, Samsung Service) will require proof of ownership (receipts, box, warranty card).
  • ๐Ÿ”ง Unofficial workshops can offer unlocking via firmware, but this is risky (possible loss of IMEI or activation of Knox).
  • ๐Ÿ”ง The cost of the service is usually 1-3 thousand rubles (depending on model).
What is FRP blocking and how to bypass it?

FRP (Factory Reset Protection) is Google protection, which is activated after a Hard Reset if an account has been linked on the phone. To unlock the device:

  1. Enter the email and password from the Google account that was on the phone before the reset.
  2. If the account is deleted, restore it or contact the service center with proof of purchase.

Bypassing FRP without the original account is only possible through exploits (for example, with using FRP Bypass APK), but this violates Google's terms of service and may result in your device being blocked.