Forgotten password on a smartphone Android is a situation faced by every fifth user. According to statistics Google, more than 30% of support calls are related to device blocking due to the loss of a PIN code, pattern key or fingerprint. The problem is aggravated if there is no data backup or connected account on the phone Google. Fortunately, there are several proven ways to unlock the device and regain access to it - from a standard reset via Recovery mode to using tools like ADB or Find My Device.

In this article we will analyze all the current methods for resetting your device. data-i="39">, even if you don't remember the password. It is important to understand that most methods lead to Android, even if you don't remember the password. It is important to understand that most methods lead to total data loss on the device - photos, contacts, messages and installed applications will be deleted. Therefore, before starting the procedure, evaluate how critical the information on the phone is: perhaps you should first try to restore access through your account Google or the manufacturer's service centers.

If you are ready to reset, select the appropriate method depending on your phone model, version Android and available tools. For example, for devices Samsung is suitable Find My Mobile, and for Xiaomi โ€” Mi Account. Owners of phones with an unlocked bootloader (bootloader) have access to advanced options via fastboot.

๐Ÿ“Š What smartphone do you have?
Samsung
Xiaomi
Huawei
Google Pixel
Other

1. Reset via Recovery Mode is a universal method

Recovery mode - this is a built-in recovery menu available on all devices Android. It allows you to reset your settings to factory defaults even without entering a password. The method works on 90% of smartphones, but the menu interface may differ depending on the manufacturer.

To enter Recovery Mode, follow these steps:

  • ๐Ÿ”‹ Turn off your phone (press and hold the power button for 10-15 seconds).
  • ๐Ÿ”„ Hold the button combination to enter Recovery. Usually this is:
    • Samsung: Power + Volume up + Bixby
    • Xiaomi/Redmi: Power + Volume up
    • Google Pixel: Power + Volume down
    • Huawei: Power + Volume Up (hold 10 sec)
  • ๐Ÿ“ฑ Wait for the logo (may take up to 30 seconds).
  • ๐Ÿ–ฑ๏ธ Use the volume buttons to navigate and the power button to select.

In the Recovery menu, find the item Wipe data/factory reset (may be called Clear data or Reset). After confirmation, select Reboot system now. The process will take 5โ€“15 minutes, after which the phone will reboot to its original state.

Turn off the phone completely

Make sure the battery charge is >30%

Find the button combination for your model

Prepare a charger (in case of a long reboot)

-->

โš ๏ธ Attention: On some devices (for example, Samsung s One UI) after the reset you may need to enter data account Googlethat was linked earlier. This is part of the protection FRP (Factory Reset Protection). If you do not remember your login/password, you will have to use additional methods (see section 4).

2. Using Find My Device (Google) - for devices with a Google account

If an account was linked on your phone Google and location services are enabled, you can reset the settings remotely through the service Find My Device. This method works even if the phone is locked, but requires an Internet connection (via a mobile network or Wi-Fi).

Instructions:

  1. Go to the site Find My Device from a computer or another phone.
  2. Login using the same account Google, which is linked to a locked device.
  3. Select your smartphone in the list of devices.
  4. Click Erase data (Erase Device).
  5. Confirm the action and wait until the process is completed (may take up to 1 hour).

After the reset, the phone will reboot and you can set it up as new. This method does not work on devices without an Internet connection or with the "Find Device" function disabled..

๐Ÿ’ก

If the phone is not connected to the network, but you have access to a SIM card, insert it into another device and send an SMS with a command to enable mobile data (for example, *99# for some operators).

Manufacturer Service for remote reset Is an account required Works without the Internet
Google Pixel, Motorola, Nokia Find My Device Yes No
Samsung Find My Mobile Yes (Samsung Account) No
Xiaomi, Redmi, POCO Mi Cloud Yes (Mi Account) No
Huawei, Honor Huawei Cloud Yes (Huawei ID) No

3. Reset via ADB (for advanced users)

Android Debug Bridge (ADB) is a debugging tool that allows you to control the device via a computer. If your phone was previously enabled USB debugging and allowed access to ADB, you can reset the password without losing data (in some cases). The method is suitable for users who have previously connected the phone to a PC.

Step-by-step guide:

  1. Connect the phone to the computer via USB.
  2. Open Command Line (Windows) or Terminal (macOS/Linux) in the folder with ADB (you can download from official website).
  3. Enter the command to check the connection:
    adb devices

    If the device is displayed, proceed further.

  4. Delete the file with the password (for Android 5.0โ€“9.0):
    adb shell rm /data/system/gesture.key

    or for new versions:

    adb shell rm /data/system/locksettings.db
  5. Reboot the phone:
    adb reboot

After the reboot, the pattern or PIN should be reset. If this method does not work, try a full reset via ADB:

adb shell recovery --wipe_data
โš ๏ธ Attention: On devices with Android 10+ and a locked bootloader (bootloader) command ADB to reset passwords may not work. In this case, only a full reset via fastboot (see section 5) will help.
What to do if ADB does not see the device?

If the command adb devices returns an empty list, check:

1. Is USB debugging enabled on your phone (in the developer settings).

2. Are drivers installed for your model (download from the manufacturerโ€™s website).

3. Are you using an original USB cable (some cheap cables do not transfer data).

4. Try another USB port or computer.

4. Bypass FRP (Factory Reset Protection) after a reset

FRP (Factory Reset Protection) is protection Googlethat requires entering account data after resetting the settings. It is activated if an account has been linked on the phone Google and the screen lock is turned on. If you do not remember your login or password, you can bypass FRP in several ways.

Ways to bypass FRP:

  • ๐Ÿ“ง Restoring access to your Google account:
    • Go to recovery page.
    • Enter last known password or answer security questions.
    • Use a backup email or phone number to confirm.
  • ๐Ÿ”ง Using tools to bypass FRP (for example, FRP Bypass APK). To do this:
    • Download the file FRP_Bypass.apk to a flash drive.
    • Connect the flash drive to the phone via an OTG cable.
    • In the Wi-Fi setup menu, click "Add network" and enter a custom name, and any text in the password field. Select the text, click "Share" and select "Open in Chrome".
    • In the browser, download a file manager (for example, ES Explorer) and install FRP_Bypass.apk.
  • ๐Ÿ“ฑ Reset through the service center: some official centers (for example, Samsung or Xiaomi) can reset the FRP at the request of the owner upon presentation of a receipt or box.

On devices Samsung s One UI 4.0+ it is more difficult to bypass FRP due to enhanced protection. In this case, only firmware via Odin can help (see section 6).

5. Reset via fastboot (for devices with an unlocked bootloader)

If your phone is unlocked bootloader (bootloader), you can reset the settings via mode fastboot. This method is suitable for devices Google Pixel, Xiaomi (with unlocked bootloader), OnePlus and other models with support fastboot.

Instructions:

  1. Turn off the phone and hold down the combination to enter fastboot (usually Power + Volume Down).
  2. Connect the phone to the computer and open Command Prompt in the folder with fastboot.
  3. Check connection:
    fastboot devices
  4. Reset:
    fastboot erase userdata
    

    fastboot erase cache

    fastboot reboot

On some devices (for example, Xiaomian additional command may be required to unlock:

fastboot flashing unlock
โš ๏ธ Attention: Unlock bootloader on some devices (for example, Huawei or Sony) leads to loss of warranty and complete clearing of data, including internal memory (/data). Before executing commands, make sure that there are no important files on the phone.

6. SP Flash Tool (for MediaTek)

If standard methods do not help, the last option remains - device firmware through specialized utilities. For smartphones Samsung the app is used Odin, and for devices on chips MediaTek โ€” SP Flash Tool. This method requires downloading the official firmware and can be risky if done incorrectly.

Instructions for Samsung (via Odin):

  1. Download the firmware for your model from the website SamFW or SamMobile.
  2. Unpack the firmware (file with extension .tar.md5).
  3. Run Odin and connect the phone in mode Download Mode (press Power + Volume down + Bixby).
  4. In Odin select the firmware file in the field AP and press Start.
  5. Wait for completion (the phone will reboot automatically).

For devices on MediaTek (via SP Flash Tool):

  1. Download the firmware in format scatter (for example, with FirmwareFile).
  2. Run SP Flash Tool and download scatter file.
  3. Connect the switched off phone to the computer (drivers must be installed).
  4. Click Download and wait for the process to complete.

The firmware deletes all data and returns the phone to its "factory" state. This method is recommended only for experienced users, as incorrect actions can lead to to "brik" (complete inoperability) of the device.

๐Ÿ’ก

Firmware via Odin or SP Flash Tool is the most reliable way to reset, but requires strict adherence to the instructions. Errors in choosing the firmware or the installation process can damage the phone.

Common errors and how to avoid them

When resetting settings to Android users often encounter typical problems that can be prevented. Here are the most common errors and ways to solve them:

  • ๐Ÿ”Œ The phone ran out of power during the reset:

    Always check the battery charge before starting the procedure (optimally - 50% or higher). If the phone turns off during the reset via Recovery, this may damage the system files.

  • ๐Ÿ”’ After the reset, the old PIN is required:

    On some devices (for example, LG or HTC) After a reset, you may be required to enter the last used PIN. If you donโ€™t remember it, only the firmware will help.

  • ๐Ÿ“ฑ The sensor does not work in Recovery:

    On older devices (for example, Samsung Galaxy S5), touch control in Recovery may not work. Use the volume and power buttons to navigate.

  • ๐ŸŒ No Internet connection for Find My Device:

    If your phone is not connected to Wi-Fi or a mobile network, try inserting a SIM card with an active data plan or bringing it to a known Wi-Fi network (for example, your home network).

If none of the methods worked, contact at service center manufacturer. For example, Samsung and Xiaomi provide an unlocking service using documents (passport + check). The cost of such a service usually does not exceed 1โ€“2 thousand rubles.

FAQ: Answers to frequently asked questions

Is it possible to reset a password on Android without losing data?

In most cases, no. Standard methods (Recovery, Find My Device, firmware) lead to complete deletion of data. The only chance to save files is if it was previously enabled USB debugging and you can use ADB to copy data before resetting. Also, some manufacturers (for example, Samsung) offer backup via Smart Switch, but this requires preliminary configuration.

What to do if after resetting the phone asks for the account of the previous owner?

This protection FRP. If the phone was purchased second-hand, contact the previous owner and ask him to remove the device from his account Google (via Device Activity). If this is not possible, try to bypass FRP using special utilities (see section 4) or contact a service center.

Does reset via Recovery work on all phones?

Yes, Recovery Mode is available on all devices Android, but the interface and button combinations may differ. On some phones (for example, Huawei c EMUI), the Recovery menu is hidden, and to access it you must first unlock bootloader. Also, on new devices (for example Google Pixel 6+), confirmation through your account may be required Google even after a reset.

Is it possible to unlock the phone through a telecom operator?

No, mobile operators (for example, MTS, Beeline, MegaFon) do not provide phone unlocking services. They can only help with restoring access to the SIM card (for example, if you have forgotten the PUK code). To unlock the device itself, contact the manufacturer or service center.

How to avoid blocking in the future?

So as not to encounter the problem of the forgotten password, follow these recommendations:

  • Use Smart Lock (set up unlock by location, device or voice).
  • Add backup PIN in the lock settings.
  • Regularly create backups via Google Drive or Samsung Cloud.
  • Write down the password in a safe place (for example, in Google Password Manager).
  • Enable Find My Device and make sure that the phone is linked to an account Google.