A picture password is one of the most popular ways to protect applications on Android, but what to do if you forgot it? The situation is aggravated when important data is stored in a locked application: correspondence, financial information or work documents. Fortunately, there are several unlocking methods - from standard system functions to technical workarounds.
In this article we will look 5 working wayshow to remove a pattern lock from an application, taking into account different scenarios: from temporary access to completely removing the lock. It is important to understand that the effectiveness of the method depends on the version Android, smartphone model (Samsung, Xiaomi, Google Pixel etc.) and the type of application (banking, messenger, gallery). Some solutions require superuser rights (root), others work without them.
Before you begin, check if a simple bypass is suitable: sometimes the pattern can be entered in several attempts if the system offers a hint (for example, "repeat after 30 seconds"). If access is critically important, and there is no time for experiments, proceed to radical measures from the last sections.
1. Resetting your password through the app settings
The most obvious, but often ignored way is to use the built-in password reset functions. Many applications (for example, WhatsApp, Telegram, 1Password) allow you to restore access via email or SMS, even if the pattern is forgotten.
How it works:
- ๐ง Mail or phone: The application may offer to send a reset code to the linked email or number. For example, in Telegram after 5 unsuccessful attempts, the "Forgot your password?" button appears.
- ๐ Backup PIN: Some apps (for example, Keepass2Android) request a backup PIN code when setting up a pattern lock for the first time.
- โ๏ธ Cloud account: If the application is synchronized with Google Drive or its own cloud (like Evernote), authorization through the account can reset the local lock.
What to do, what if these options are not available? Check if the password is saved in password manager (for example, Google Password Manager or Bitwarden). On some devices Samsung and Xiaomi application pattern keys are stored in Settings โ Biometrics and security โ Other security settings.
โ ๏ธ Attention: If the application does not provide a reset option, and the data in it is not synchronized with the cloud; further actions may lead to their loss. First try the methods from the next section.
2. Using the "Forgot your password?" feature in Android
Starting from Android 9 Pie, the system offers a universal password reset mechanism for some types of applications. This method works if:
- ๐ฑ The application uses API Android BiometricPrompt (standard interface for locking).
- ๐ The device is configured to unlock by fingerprint or face.
- ๐ง You have access to Google accountlinked to the phone.
Instructions:
- Open the blocked application and enter the wrong pattern 5 times in a row.
- The system will offer alternative entry methods. Select
Forgot your password?orUnlock using Google account. - Enter your data Google account (the one used on the device).
- Follow the instructions to create a new pattern lock.
This method works for standard applications (Gallery, Settings, Contact), but may not work for third-party apps with their own protection mechanisms (for example, banking clients).
If there is no "Forgot your password?" button on the lock screen, try rebooting the phone - sometimes this resets the failed attempts counter and returns the option.
3. Deleting application data through Android settings
If the previous methods did not help, and access to the application is critical, you can reset its data. This will remove all settings, including the picture password, but will also erase local data (saved files, cache, settings). Cloud data (for example, correspondence in Telegram or files in Google Drive) will remain untouched.
Step-by-step guide:
- Go to
Settings โ Applications โ [Name of blocked application]. - Click
Storage(orMemoryon some devices). - Select
Clear data(not to be confused withClear cache!). - Confirm the action. The application will return to the state "as after installation."
After this, you can re-open the app and configure it (this method may require re-authorization, except for those that store data in a secure storage (for example, some banking clients).
โ ๏ธ Attention: On devices with Android 11+ And MIUI 12+ (on Xiaomi) the data clearing function may be blocked for system applications. In this case, only reset to factory settings will help (see section 5).
Make a backup copy of important files (if you have access to the file manager)
Remember the login/password for your account in the application (required for re-authorization)
Check whether the data is synchronized with the cloud (if so, it will be restored after cleaning)
Make sure you have administrator rights (some devices require you to enter a lock screen PIN)-->
4. Bypass picture password using ADB (for advanced users)
If you have access to USB debugging (ADB), you can try deleting the password file manually. This method requires command line skills and is suitable for users who have previously enabled USB Debugging (ADB) Developer Mode USB Debugging What you will need: Developer Mode And USB Debugging.
What you will need:
- ๐ฅ๏ธ Computer with installed ADB Tools (can be downloaded from the official website Android Studio).
- ๐ฑ USB cable for connecting the phone.
- ๐ง Enabled USB debugging on the smartphone (if it has not been enabled before - the method will not work).
Instructions:
1. Connect your phone to the PC and open the command line (Windows) or terminal (macOS/Linux).2. Enter the command to check the connection:
adb devices
(your serial number should appear device)
3. Use the command to delete the file with the password (the path may differ):
adb shell rm /data/system/gesture.key
or for new versions of Android:
adb shell rm /data/system/locksettings.db
4. Reboot the device:
adb reboot
5. After rebooting, the pattern lock will be reset (but account data may be required). Google).
This method does not work on all devices, especially with Android 10+where password files are stored in encrypted form. data-i="155">may require additional access to Samsung With One UI And Xiaomi With MIUI additional access may be required /data/data/.
What to do if ADB does not see the device?
If the command adb devices returns an empty list, check:
1. Are the drivers installed for your phone model (download from the website). manufacturer).
2. Is USB debugging enabled in the developer settings (Settings โ About phone โ Build number (press 7 times) โ Developer settings โ USB debugging).
3. Is file transfer mode selected? (MTP) when connecting a cable.
4. Some devices Huawei and Honor require additional permission confirmation on the PC.
5. Reset to factory settings (last resort)
If no other methods help, it remains full phone reset. This will delete all data including apps, photos, contacts, and settings. Use this method only if:
- ๐ฑ There is no important data on the device (or it is backed up).
- ๐ A picture password blocks access to a critical application (for example, banking).
- ๐ ๏ธ Other methods did not work or require root access that you do not have.
How to reset settings:
- Turn off the phone.
- Hold down the key combination to enter Recovery Mode (depending on the model):
- Samsung:
Power + Volume Up + Bixby. - Xiaomi/Redmi:
Power + Volume Up. - Google Pixel:
Power + Volume Down, then selectRecovery Mode.
- Samsung:
Wipe data/factory reset (control the volume buttons, confirm with the power button).Reboot system now).After the reset, the phone will be like new. You will need to configure it again it, install applications and restore data from a backup (if there is one).
โ ๏ธ Attention: On devices with Android 8+ and the function enabled Factory Reset Protection (FRP) after the reset, you will need to enter the data from the last one you used Google accountWithout them, the phone will not be activated!
| Method | Root required | Data loss | Difficulty | Works on |
|---|---|---|---|---|
| Reset through application settings | โ No | โ No | โญ Easy | Any applications with the function recovery |
| "Forgot your password?" in Android | โ No | โ No | โญโญ Average | Android 9+, system applications |
| Clearing application data | โ No | โ ๏ธ Partially (local data) | โญโญ Average | All versions of Android |
| ADB (deleting gesture.key) | โ ๏ธ Sometimes | โ No | โญโญโญ Difficult | Android up to version 10 |
| Reset to factory | โ No | โ ๏ธ Complete loss | โญโญโญโญ Very difficult | All devices |
6. third-party tools
If standard methods do not work, and resetting to factory settings is too radical, you can try to bypass the lock using third-party tools or backups. Consider two options:
A. Restoring from a backup
If automatic backup is enabled on your phone. data-i="226">or Google Drive or Mi Cloud (for Xiaomi), you can:
- Install the application on another phone or after a reset.
- Login to the same account Google/Xiaomi.
- Recover data from the cloud (usually offered at the first start).
- ๐ก๏ธ Such apps often require unlocked bootloader and
root. - โ ๏ธ Risk of installing malware (download only from trusted sources, for example, XDA Developers).
- ๐ต On Android 11+ many tools have stopped working due to tightened security.
- The application uses cloud binding (for example, WhatsApp requires confirmation via SMS even after reinstallation).
- On the device data encryption, and the password is stored in a secure area (relevant for Android 10+).
- You cleared only the cache, not the data (you need to select
Clear data, notClear cache). - Use
Samsung Find My Mobileto unlock (if an account is linked Samsung). - Contact the service center Samsung with proof of ownership of the device.
B. Using specialized apps
For devices with root access there are utilities like App Lock Remove or Reset App Preferencesthat can reset the lock. However:
Another option is data extraction via TWRP (custom recovery). This allows you to copy application files to a PC, but requires an unlocked bootloader and operating skills. c ADB.
Before using third-party tools, check the reviews and reputation of the developer. Many "password crackers" are actually spyware.
Frequently asked questions
Is it possible to remove a picture password without losing it? data?
Yes, in some cases. If the application supports recovery via email/SMS or you have a backup PIN, the data will remain intact. You can also try the method with ADB (section 4), but it does not work on all devices. If the password blocks access to the system application (for example, Gallery), sometimes clearing the cache helps. (not data!) in the settings.
Why does the application still ask for a password after resetting the data?
This happens if:
In such cases, only a complete reset of the phone or contacting application support will help.
Does the method with ADB work on the Samsung Galaxy S22?
On devices Samsung with One UI 5+ (for example, Galaxy S22, S23) method with deletion gesture.key via ADB does not work. These models use File-Based Encryption (FBE), where passwords are stored in encrypted form. Alternatives:
Is it possible to bypass a pattern lock in a banking application (SberBank, Tinkoff)?
No, banking applications they use multiple encryption and do not allow you to reset the password through standard methods. Your actions:
- Try to restore access through biometrics (fingerprint/face), if it is configured.
- Contact in support of the bank (for example, through another channel: call, web version).
- If all else fails, reinstall the application and log in again (account data will be saved on the bank's servers).
โ ๏ธ Do not use third-party apps to hack banking applications - this may lead to account blocking on suspicion of fraud.
What to do if you forgot the password for the Notes application on Xiaomi?
On devices Xiaomi the application Notes is blocked via Mi Account. To reset the password:
- Open
Settings โ Accounts โ Mi Account. - Select
Security โ Manage blocked applications. - Find Notes in the list and unlock (you will need to enter the password for Mi Account).
If this method does not work, clear the application data Notes (section 3), but note that local notes will be deleted.