Losing a password or pattern on a smartphone is an unpleasant situation, but often solvable, especially if you have a personal computer at hand. Modern data protection methods are becoming increasingly strict, which complicates the unlocking procedure without losing information. However, there are proven methods that allow you to bypass screen protection using the capabilities of the Windows or macOS operating system. Android are becoming more and more strict, which complicates the unlocking procedure without losing information. However, there are proven methods to bypass screen protection using the capabilities of the Windows or macOS operating system.

It is important to understand that the effectiveness of a particular method directly depends on the version of the installed firmware, device model and pre-installed security settings. Some methods require USB debuggingenabled in advance, while others work through special service menus. In this article, we will look at the most effective action algorithms that will help restore access to the gadget.

Before taking active steps, you need to assess the risks. Completely removing a password via a computer in most cases means Resetting user data to factory settings. This means photos, contacts, and apps may be lost if they are not synced to the cloud. However, for many users, returning the device to functionality is a priority.

Using the Google Find My Device service

The easiest and most legal way to unlock a device remotely is to use the official service from Google. This method works if the smartphone is connected to the Internet (via Wi-Fi or a mobile network) and is logged into your Google account. You do not need to install additional software on your computer; any web browser is enough.

Go to the official page of the service and log in using the same account as on the locked phone. The system will automatically detect the device's location and offer a list of available actions. If the "Lock device" function is active, you can set a new temporary password that will replace the old forgotten code.

⚠️ Attention: In new versions of Android (from 5.0 and higher), the full unlock function through this service is often replaced by the lock function with a new password. Complete deletion of data via the “Clear” button will also remove the password, but will erase all files.

The service interface is intuitive, but it is worth remembering the synchronization delay. A command sent from a computer may not be executed instantly on the phone, but within a few minutes. Make sure that the device screen is not in deep sleep or shutdown mode, otherwise the command will not be accepted until the next time the screen is activated.

💡

If the phone is offline, the command will remain in the queue and will be executed automatically as soon as the device comes online. Do not try to send the command multiple times, this may cause a synchronization conflict.

Removing blocking via USB and ADB debugging

This method is considered one of the most professional and effective, but it has a critical condition: the smartphone must be enabled in advance USB debugging in the menu for developers. If this option was activated before locking the screen, you can delete the file responsible for storing access keys directly through the computer command line.

To get started, you will need to download and install the package Android SDK Platform-Tools on your PC. After unpacking the archive, connect your smartphone to the computer with a cable. Open Command Prompt (CMD) or PowerShell in the tools folder and enter the command to test the connection:

adb devices

If the list shows the serial number of your device with status device, then the connection is established. Next, you need to enter a command to delete the system file that stores the pattern or PIN code. The path to this file may vary slightly depending on the system version, but the standard path looks like this:

adb shell rm /data/system/gesture.key

For devices with newer versions of protection, you may need to delete the file locksettings.db. After executing the command, you must reboot the device. When turned on, the phone may ask you to enter any password or simply unlock with a swipe, since the system will not find the authenticated file.

☑️ Preparing to work with ADB

Done: 0 / 5

Reset settings via Recovery mode

If software methods did not work or debugging did not was turned on, the only reliable option remains - a hard reset (Hard Reset) through recovery mode Recovery. This process is initiated by a combination of physical buttons on the smartphone’s body, but it is often more convenient to carry out control by monitoring the status on the screen, although the commands themselves are entered on the device.

To get to the Recovery menu, you need to turn off the smartphone and hold down a certain key combination (most often this is Volume Up + Power button). These combinations may differ for different manufacturers: for Samsung it is often Bixby + Volume Up + Power, and for Xiaomi - Volume Up + Power.

In the menu that appears, navigation is carried out using the volume buttons, and the selection is confirmed with the power button. You need to find the item Wipe data/factory reset and confirm the action. This process completely clears the internal memory of the phone, deleting all user data along with screen lock passwords.

Manufacturer Button combination Menu features
Samsung Volume Up + Home + Power Requires connection to a PC for some models
Xiaomi / Redmi Volume Up + Power Menu in several languages, including Russian
Google Pixel Volume Down + Power First you will get to Fastboot, then select mode
Huawei / Honor Volume Up + Power May require entering your Huawei account after reset

⚠️ Attention: After resetting the settings, FRP (Factory Reset Protection) protection will work on devices with Android 5.1 and higher. You will definitely need to enter the login and password for the Google account that was synchronized with the phone before the reset.

What to do if the buttons do not work?

If the physical volume buttons are faulty, you can try to enter Recovery using the ADB command: adb reboot recovery. This will only work if USB debugging is enabled and the phone is detected by the computer.

Using proprietary software from manufacturers

Large smartphone manufacturers develop their own software to control devices via a computer. Utilities such as Samsung Smart Switch, Xiaomi Mi PC Suite or Sony Xperia Companionsometimes allow you to perform a factory reset or flashing, which will automatically remove the password.

The process usually looks like this: you install the official utility on your PC, connect your phone and select the system recovery option. In some cases, the app offers an “Emergency Recovery” or “Software Update” mode, which reinstalls system files, overwriting user data.

This method is considered safer for the device’s hardware than chaotic attempts to enter Recovery, since the software controls the voltage and the data writing process. However, it requires a stable Internet connection to download the firmware and the original cable.

💡

Proprietary software is the best choice for complex blocking cases, as it minimizes the risk of turning the smartphone into a “brick” compared to manual methods.

Third-party unlocking utilities

There are many third-party ones on the market apps positioning themselves as universal tools for removing blocking. Examples include Dr.Fone, Tenorshare 4uKey or iMyFone LockWiper. These apps offer a graphical interface that simplifies the process for inexperienced users.

Most of these utilities operate on a paid model or have limitations in the free version. Their algorithm of actions often comes down to automating the same processes that we described above: entering the Download or Recovery mode and launching the reset script. The effectiveness of such apps highly depends on the specific model and version of Android.

  • 🔓 Advantage: Simple interface that does not require knowledge of the command line.
  • 💸 Disadvantage: High license cost to completely remove the lock.
  • ⚠️ Risk: Some free versions may contain malware or simply not perform the promised functions.

Using third-party software is justified if you are not confident in your abilities when working with ADB or Recovery. However, always check the developer's reputation and read reviews before purchasing a license. Remember that miraculous apps that remove passwords without losing data on modern encrypted devices practically do not exist.

📊 What unlocking method do you plan to use?
Official Google service
ADB Command Line
Mode Recovery
Proprietary utility
Third-party app

Prevention and creation of backups

The best way to combat loss of access is timely prevention. Regularly backing up your data to Google Drive cloud storage or to your computer will ensure that even if a hard reset is necessary, you will not lose important information.

It is also recommended to set up alternative unlocking methods, such as fingerprint, facial recognition or Smart Lock. The feature Smart Lock allows you to keep your phone unlocked in certain places (for example, at home) or when connected to trusted devices (watches, cars), which reduces the need to enter a password frequently.

Write down your PIN or pattern in a safe place, for example, in a password manager on your computer. Human memory is unreliable, and in a stressful situation it can be extremely difficult to remember a complex combination. Simple precautions will save you hours of time restoring your device in the future.

⚠️ Attention: Menu interfaces and item names may change with system updates. If you do not find an exact match of the item name, look for synonyms or sections with a gear/tools icon.

Frequently asked questions (FAQ)

Is it possible to delete a password without losing data on Android 10-13?

Unfortunately, on modern versions of Android with With disk encryption enabled, removing a password, PIN code, or pattern is impossible without losing data. The encryption key is tied to your lock code. Resetting the password entails resetting the encryption key, which makes the old data unreadable.

What to do if the computer does not see the phone in ADB mode?

Make sure that the drivers for your device are installed. Try replacing the USB cable with an original or known good one. Also check if USB debugging is enabled in the developer options. If the phone is completely locked and has not been configured previously, the ADB method will not work.

FRP lock after reset - how to bypass it?

Bypassing FRP (Google Account Verification) is a complex procedure that changes with every Google security update. There is no universal instruction. Often specialized software or services from service centers are required. The official way is to restore access to your Google account through the website.

Will removing the SIM card or memory card help?

No, removing the SIM card or microSD does not affect the system screen lock. The password is stored in the device's internal secure memory. These actions may only be necessary to save data on the memory card before resetting the settings, if the phone menu allows you to manage files before entering a password (which is rare).

Is it possible to unlock the phone through “Find My Device” if it is turned off?

No, for the “Find My Device” service to work, the phone must be turned on, connected to the Internet and have active geolocation. If the device is turned off, you will only be able to see its last known location, but you will not be able to send a command to unlock or reset until it is turned on.