Are you in a situation where you urgently need to watch a video on your smartphone, but the screen is locked - you forgot your pattern key, donโ€™t remember your PIN code, or your phone doesnโ€™t respond to touches at all? This problem is familiar to millions of users Android, especially after a long break in using the device or after unsuccessful experiments with security settings. Fortunately, there are legal ways to bypass the screen lock without losing data - and we will analyze each of them in detail.

It is important to understand that unlocking methods depend on the version Android (from 5.0 Lollipop to 14), smartphone model (Samsung Galaxy, Xiaomi Redmi, Huawei P and etc.), as well as the type of locking: pattern, PIN, password or fingerprint. Some solutions require a connection to a computer, others work directly on the device. In this article you will find 5 proven methodsincluding using ADB, Safe Modea Google account and even hardware methods for older models.

We warn you in advance: not all methods are universal. For example, on Android 10+ bypassing blocking through a Google account is often impossible due to stricter security policies. And on devices with MIUI 12+ (for example, Xiaomi Mi 11) may require official firmware to unlock. But donโ€™t worry - we have outlined alternatives for each case.

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

This method worked on most devices before the release Android 10. If your smartphone was released before 2019 (for example Samsung Galaxy S7 or Huawei P20), try the following algorithm:

  1. On the lock screen, enter any pattern or PIN 5 times in a row.
  2. After the fifth unsuccessful attempt, the message "Forgot your pattern?" or "Forgot your password?". Click on it.
  3. The system will prompt you to enter the details of the Google account that was linked to the device. Specify email and password.
  4. If the data is correct, you will be prompted to create a new pattern or PIN.

โš ๏ธ Attention: On Android 10+ this method usually does not work due to changes in security policy. It is also not available if the device was enabled "Factory protection" (Factory Reset Protection, FRP).

What to do if I donโ€™t remember the password for your Google account?

If you have forgotten the password for your Google account, restore it through the service accounts.google.com. Use a backup email or phone number linked to your account. If you don't have access to your backup data, try answering security questions or contact Google support. Please note that recovery may take up to 24 hours.

If this method does not work, move on to the next method. Also note that on some firmware (for example, ColorOS from Oppo/Realme), instead of a Google account, you may need to enter a verification code sent to the linked phone number.

2. Using Safe Mode to bypass the lock (Android 5.0โ€“12.0)

Safe Mode (safe mode) allows you to temporarily disable third-party applications, including those responsible for locking the screen. This method is suitable if the blocking is caused by a virus or a malfunction of the launcher.

To enter Safe Mode:

  • ๐Ÿ”„ On most devices: press and hold the power buttonuntil the shutdown menu appears. Then press and hold option "Turn off" (or "Turn off power") until a request to switch to safe mode appears. Confirm the action.
  • ๐Ÿ“ฑ On Samsung: Turn off the device, then turn it on by holding the Power + Volume Downbuttons until the logo appears. Release the buttons and wait until it boots into Safe Mode.
  • ๐Ÿ”ง On Xiaomi: press Power + Volume Up when turning on until the recovery menu appears. Select "Safe Mode" (if available).

In Safe Mode, try:

  1. Uninstall an application that may have blocked the screen (for example, a third-party blocker or antivirus).
  2. Reset lock settings via: Settings โ†’ Security โ†’ Screen lock data-i="98">Some features (such as fingerprint or facial recognition) may be disabled. Also, this method will not work if the blocking is set at the system level (for example, through Settings โ†’ Security โ†’ Screen lock.
  3. If all else fails, reboot your device in normal mode and try other methods.
๐Ÿ“Š What smartphone do you have?
Samsung
Xiaomi
Huawei
Google Pixel
Another

โš ๏ธ Attention: IN Safe Mode Some features (such as fingerprint or facial recognition) may be disabled. Also, this method will not work if the lock is set at the system level (for example, through Device Policy in corporate devices).

3. Unlocking via ADB (Android Debug Bridge)

ADB (Android Debug Bridge) is a debugging tool that allows you to control your device through a computer. If your smartphone was previously enabled USB debugging, you can delete the file with screen lock settings.

What you will need:

  • ๐Ÿ’ป A computer with ADB and Fastboot.
  • ๐Ÿ”Œ USB cable (preferably original).
  • โš™๏ธ Enabled USB debugging (Settings โ†’ For developers โ†’ USB debugging).

Instructions:

  1. Connect your smartphone to the computer.
  2. Open the command line (Windows) or terminal (macOS/Linux) and enter:
    adb devices

    Make sure that the device is detected (its serial number should appear).

  3. Enter the command to delete the file with the lock settings:
    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

  4. Reboot the device:
    adb reboot

After the reboot, the screen lock should be reset. If not, try entering any pattern or PIN.

Make sure that USB debugging is enabled|Download ADB and Fastboot from the official website|Connect the original USB cable|Check if the device is detected in adb devices

-->

โš ๏ธ Attention: This method only works if USB debugging was enabled before blockingOn devices with Android 11+ additional unlock confirmation may be required. on the smartphone itself, which makes the method useless without physical access.

4. Reset via Recovery Mode (data loss)

If the previous methods did not work, a radical method remains. โ€” reset to factory settings via Recovery Mode. This will delete all data on the device, including photos, videos and applications, but will unlock the screen.

How to enter Recovery Mode:

Brand Button combination Notes
Samsung Power + Volume Up + Bixby (or Home on older models) On Galaxy S20+ and newer, confirmation through your Samsung account may be required.
Xiaomi/Redmi/Poco Power + Volume up On MIUI 12+ After a reset, you may need to enter your Mi account.
Huawei/Honor Power + Volume up On new models (Mate 40, P50), the reset may not remove FRP lock.
Google Pixel Power + Volume down, then Volume up to select Recovery Requires Google account confirmation after reset.

After entering Recovery Mode:

  1. Use the volume buttons to navigate and the power button to select.
  2. Select "Wipe data/factory reset".
  3. Confirm the action ("Yes -- delete all user data").
  4. After reset, select "Reboot system now".

โš ๏ธ Attention: On devices c FRP (Factory Reset Protection) after the reset, you will need to enter the details of the Google account that was linked before the blocking. If you do not remember this data, the smartphone will remain blocked.

๐Ÿ’ก

Before resetting, try removing the SD card (if you have one) - the data on it may remain.

5. Hardware methods for old devices (Android 4.0โ€“6.0)

On very old smartphones (for example, Samsung Galaxy S3, HTC One M7) sometimes โ€œhardwareโ€ methods of bypassing the blocking associated with the exploitation of vulnerabilities in the firmware work. data-i="164">call to a blocked phone call to a locked phone:

  1. Call a blocked device from another phone.
  2. Accept the call, then quickly press "Home" (if there is a physical button) or "Back".
  3. If you're lucky, you'll be taken to the main screen, where you can turn off the lock in the settings.

Another method is discharging the battery:

  • ๐Ÿ”‹ Wait until the battery charge drops to 0% and the device turns off.
  • ๐Ÿ”Œ Connect the charger. When turning on, quickly press "Battery settings" (if a low battery notification appears).
  • ๐Ÿ› ๏ธ In some cases, this allowed you to access the settings without unlocking.

โš ๏ธ Attention: These methods work extremely rarely and only on older devices 2016. On modern smartphones they are useless due to patched vulnerabilities.

6. Alternative solutions: cloud services and third-party utilities

If none of the above methods helped, consider the following options:

  • ๐ŸŒ Remote unlocking via Find My Device (Google):
    1. Go to google.com/android/find.
    2. Select a locked one device.
    3. Click "Block device" and set a new PIN.
Works only if the device is connected to the Internet and geolocation is enabled.
  • ๐Ÿ”ง Third-party utilities (at your own risk):

    apps like Dr.Fone, iMyFone LockWiper or Tenorshare 4uKey promise to unlock the screen, but:

    • Require payment (from $30).
    • May not work on new ones versions of Android.
    • Risk of installing malware.
  • ๐Ÿฅ Contacting a service center:

    Official service centers (Samsung Service, Xiaomi Authorized) can unlock the device using proof of ownership (receipt, box, linked SIM card). The cost of the service is from 1000 to 3000 rubles.

  • ๐Ÿ’ก

    The most reliable way to unlock without losing data is to use ADB, but it requires preliminary setup of USB debugging.

    โš ๏ธ Attention: Before using third-party utilities, check reviews on independent sites (for example, XDA Developers or 4PDA). Many "free" apps are actually fraudulent and can steal your data.

    FAQ: Frequently asked questions about unlocking the Android screen

    Is it possible to unlock the screen without losing data?

    Yes, but only if:

    • The device is enabled USB debugging (then it will help ADB).
    • You have access to the Google account linked to the phone (on Android 4.4โ€“9.0).
    • The blocking was caused by a third-party application (this will help Safe Mode).
    • In all other cases, unlocking without resetting the data is unlikely.

    What to do if you forgot your Google account password?

    Restore access via Google recovery service. If you do not have access to a backup email or phone, try:

    1. Answer security questions.
    2. Contact Google support with proof of account ownership (for example, a receipt for purchasing applications).
    3. Unlock the device with FRP without account recovery will be impossible.

    Does unlocking via a call work on modern smartphones?

    No. This method only worked on Android 4.0โ€“5.0 (2012โ€“2015), there was a vulnerability that allows you to bypass blocking via a call. eliminated. Android 6.0 Marshmallow, the vulnerability that allowed blocking to be bypassed through a call has been fixed.

    Is it possible to unlock the screen through a computer without ADB?

    Without ADB there are few options:

    • Use apps like Dr.Fone (paid, does not guarantee results).
    • If synchronization with Samsung Smart Switch or Xiaomi Cloudwas enabled on the device, try restoring backup copy on another device.
    • But in most cases, without ADB or resetting the data, it is impossible to bypass the lock.

    What is FRP and how to bypass it?

    FRP (Factory Reset Protection) is protection from resetting to factory settings, which appears after Wipe data on devices with Android 5.1+. To bypass FRP:

    1. Enter the Google account information that was linked to the device before the reset.
    2. If you donโ€™t remember the data, restore access to your account (see question above).
    3. On some devices (Samsung, Xiaomi) you can bypass FRP via TalkBack or Emergency Call, but this requires precise instructions for a specific model.

    โš ๏ธ Bypassing FRP without account data often leads to a โ€œbrickedโ€ (completely inoperable) device.