The situation when you forgot the digital key, PIN code or graphic pattern to unlock the screen is one of the most stressful for the owner of a smartphone. At this point, the device turns into a useless “brick”, access to which is limited. Users often wonder where exactly the reset function is located and whether it is possible to do without data loss. The answer depends on the version of the operating system Android, the presence of an Internet connection and account linking.
There are several legal and safe ways to restore access, which are provided by the system developers themselves. Some methods allow you to save information, while others require you to completely format the memory. The specific path you choose depends on whether your phone is completely locked or you have access to the settings menu. Below we will analyze in detail all the available options and tools.
It is important to understand that modern security measures Data encryption make it impossible to simply bypass the blocking without special knowledge. Therefore, there are no “magic buttons”, but there are standard procedures built into the system. Before taking radical measures, it is worth checking all the possibilities of remote control and recovery through Google services.
Using the Find My Device service from Google
The most reliable way where you can reset your password on Android without losing data (on old versions) or with complete deletion (on new ones) is the official service from Google. For it to work, it is necessary that the locked device is logged in Google account, the Internet is turned on (Wi-Fi or mobile network) and the geolocation function is activated. If these conditions are met, you can control your phone remotely.
Go to google.com/android/find from any other device (computer or phone) and log in using the same account as on the locked smartphone. The system will detect the location of the device and offer three actions: call, block or erase data. On modern versions Android 5.0 and higher, the function of changing the password remotely is often unavailable, so the main tool is the “Wipe device” command.
⚠️ Attention: Using the “Erase data” command will completely delete all information from the phone’s internal memory, including photos, contacts and applications. Data on the SD memory card may remain if the appropriate formatting is not selected.
After executing the reset command, the phone will reboot. When setting up for the first time, you will need to enter the username and password for your Google account to confirm ownership (FRP protection). This is a critical step owner verificationthat prevents the use of stolen devices. Without this data, you will not be able to turn on the phone after resetting.
What to do if the phone is offline?
If the device is not currently connected to the Internet, the reset command will be queued. As soon as the phone appears online (even after a few days), the system will automatically execute the command to delete data and reset the lock.
Reset via Recovery mode (Hard Reset)
If remote methods are not available, for example, there is no Internet or the Google account itself has been forgotten, the only option left is to use Recovery Mode. This is a special diagnostic interface built into the firmware of every smartphone. It is entered using a combination of physical buttons when the power is off. This method is universal and works on devices of any brand, from Samsung to Xiaomi.
The login procedure may vary depending on the model. Most often you need to hold down the power button and one of the volume keys. You need to hold them until the manufacturer's logo or the recovery menu itself appears. In this menu, control is carried out with the volume buttons (up/down), and the selection of the item is confirmed with the power button. You need to find the item Wipe data/factory reset.
By selecting this item, the system will ask you to confirm the action, since this is an irreversible procedure. After confirmation, the process will begin formatting the data section. Upon completion, a success message will appear on the screen and you will need to select the option Reboot system now. The phone will reboot in normal mode, but without the screen lock password set.
☑️ Preparing for Hard Reset
| Manufacturer | Combination buttons | Input features |
|---|---|---|
| Samsung | Volume Up + Power (or Bixby) | On new models, a connection to a PC via USB is required |
| Xiaomi / Redmi | Volume Up + Power | The menu can be on Chinese/English |
| Huawei / Honor | Volume Up + Power | Sometimes you need to hold for longer than 10 seconds |
| Sony | Volume Down + Power | The LED turns green when entering |
It is worth noting that that after such a reset, FRP (Factory Reset Protection) protection will work. This means that when setting up for the first time, the phone will require you to enter the password for the Google account that was synchronized with the device before it was locked. If you do not remember this data, it will be extremely difficult to unlock the phone without contacting the service center with a purchase receipt.
The “Forgotten drawing” function on older versions of Android
Owners of devices with an operating system version Android 4.4 and lower have a significant advantage. These versions of the software have implemented a convenient function for restoring access directly from the lock screen. If you enter an incorrect pattern or PIN code five times in a row, the “Forgot pattern?” button will appear on the screen. (or “Forgot your password?”).
Clicking on this button, the system will prompt you to log in using your Google account. You will need to enter the email address and password that you used on this device. After successful verification by the Google server, the screen lock will be removed and you can set a new security method. This is the only way you can reset your password on Android without losing personal files and settings.
On older devices, make sure the date and time are set correctly. If the time settings are incorrect, the Google server may reject the request to restore access due to desynchronization of security certificates.
Unfortunately, starting from version Android 5.0 Lollipop, the developers have eliminated this function in order to strengthen security. It is believed that if the user has forgotten the password, then access to the data should be completely blocked in order to protect the information from intruders. Therefore, this method will not work on modern smartphones, and you will have to use a full reset.
Reset via Samsung account (for Samsung devices)
Users of brand smartphones Samsung have an additional tool to solve the problem if they have previously registered the device in the Samsung Account service. This feature is called “Find My Mobile” and is similar to Google’s solution, but with deeper access to the system. The main advantage is the ability to remotely unlock the screen without deleting data.
To use this method, go to findmymobile.samsung.com from a computer or another phone. Log in with your Samsung account. Select your locked smartphone from the list of devices. In the control menu on the right, find the “Unlock” option. After confirming the password for your Samsung account, the screen lock (pattern, PIN, fingerprint) will be removed.
⚠️ Attention: This function only works if you have previously added a Samsung account to your phone settings and given permission for remote control. If the phone was reset to factory settings before locking, this method will not work.
This method is ideal for those who want to save photos and correspondence. It bypasses the lock screen, but does not delete files. However, it is worth considering that after unlocking it is recommended to immediately set a new strong password, since the security vulnerability has already been demonstrated by the fact of blocking.
Using USB and ADB debugging (for advanced users)
There is a technical method for resetting the password through a computer using tools Android Debug Bridge (ADB). This method is only possible if “USB Debugging” was previously enabled in the developer menu on the locked phone, and the computer was already authorized as a trusted device. If these conditions are not met, the method will not work.
Connect the phone to the PC via a USB cable. Open a command prompt on your computer in the folder where you installed ADB tools. Enter a command to delete the file that stores the pattern information. For modern systems, the path may be different, but the classic command looks like this:
adb shell rm /data/system/gesture.key
Or, in some cases, you need to delete the file password.key or locksettings.db. After executing the command, you must reboot the device. You can enter any pattern or code on the lock screen, and the phone will unlock. However, this method is becoming less and less relevant due to the strengthening of partition encryption /data in new versions of Android.
The method via ADB only works if there is pre-configuration (debugging enabled) and an authorized computer. For the average user, this is more of a theoretical method than a practical one.
If the phone is encrypted (and this is standard for all devices on Android 6.0+), access to key files without unlocking the screen is impossible, even through ADB. In this case, attempting to delete files will only result in an access error. Therefore, this method should be considered only as an auxiliary one for specific scenarios on old or custom firmware.
Prevention and creation of backups
The best way to avoid access problems is advance preparation. Regularly backing up your data to the cloud ensures that even if a Hard Reset is necessary, you won't lose important information. Google services automatically save contacts, calendar, notes, and a list of installed applications.
It is also recommended to set up biometric unlocking (fingerprint or facial recognition) as an additional method. While you'll still need a master password after rebooting, biometrics make everyday use easier and reduce the risk of being accidentally locked out by repeatedly entering the wrong code.
- 📸 Regularly check your photo auto-sync settings in Google Photos or the manufacturer's cloud.
- 🔐 Write down your PIN or save it in another password manager device.
- 📧 Make sure you remember the password for your main Google account, as this is the key to recovery.
- 🔄 Periodically update backup copies of important documents and correspondence in instant messengers.
Do not neglect setting up the “Find Device” function. Even if it doesn't help you save your data if you forget your password, it will allow you to remotely erase information if your phone is lost or stolen, protecting your privacy from prying eyes. This is a basic element of digital hygiene for a modern user.
⚠️ Attention: Menu interfaces and item names may vary slightly depending on the manufacturer’s shell (MIUI, OneUI, ColorOS). Always check the official instructions for your specific model if the standard paths are not suitable.
Frequently asked questions (FAQ)
Will resetting the password delete all photos and contacts?
Depends on the method. Resetting via Find My Device or Recovery Mode deletes all data from the internal memory. The “Forgotten drawing” method on older Androids or unlocking via Samsung Find My Mobile allows you to save the data.
What should I do if I don’t remember the password for my Google account after resetting?
You need to restore access to your account through the recovery procedure on the Google website (answers to security questions, backup email, phone). Without this, the phone will remain locked with FRP protection.
Is it possible to reset the password without losing data on Android 10-13?
No using standard means. Due to data encryption, the unlock key is associated with a password. The only chance is to use specialized software from the manufacturer (for example, Samsung), if it was configured in advance.
Will Hard Reset work if the phone is completely discharged?
No. To enter Recovery mode and perform the formatting operation, the phone must have at least 15-20% battery charge. Otherwise, it may turn off during the process, which will damage the system.
How to bypass FRP protection (Google account) after a reset?
Officially - only by entering the correct account information. Unofficial workarounds (bugs, special apps) are complex, depend on the specific Android security version and are often covered by updates. It is recommended to contact the service with purchase documents.