A forgotten pattern, incorrect PIN code or password instantly blocks access to the Android system, displaying an error message on the screen and making it impossible to use the menu or settings of the smartphone.
Procedure formatting locked The device can be performed in several ways, from built-in Google functions to using specialized software on a computer. The choice of a specific method directly depends on the model of your gadget, the version of the operating system Android and the availability of preliminary account setup. In this article, we will analyze in detail all the working algorithms of actions that will help you restore access to the device.
However, you should immediately warn: most of the methods described below lead to the complete deletion of user data. Photos, contacts, correspondence and installed applications will be irretrievably lost if you have not configured automatic backup to the cloud. After the reset, FRP (Factory Reset Protection) protection will work, requiring you to enter the login and password from the last synchronized Google account.
Reset through the Recovery Mode menu
The most universal and reliable way to unlock a device that does not have access to the system is to use Recovery Mode. This special programming interface boots independently of the underlying operating system and allows low-level file system operations. Entering this mode usually requires a specific combination of physical buttons on a switched off smartphone.
The login process may vary depending on the manufacturer. On most devices Samsung you need to hold down the volume and power buttons, while on Xiaomi or Huawei the combinations may vary. If the standard shortcuts do not work, you may need to connect the USB cable to the computer while pressing the buttons. In the menu, navigation is carried out using the volume buttons, and the selection is confirmed with the power button.
โ ๏ธ Attention: In new versions of Android (11 and above), to enter Recovery you often need to connect the phone to the PC with a cable. Simply holding down the buttons on a switched off device may not be enough.
After entering the menu, you need to find the item responsible for deleting data. It is usually called Wipe data/factory reset or simply Factory reset. Confirming an action often requires reselecting an item or entering the word "yes". After the process is completed, the system will offer to reboot the device through the option Reboot system now.
โ๏ธ Login algorithm for Recovery
Remote reset via Google Find My Device
If the locked smartphone is connected to the Internet (via Wi-Fi or a mobile network) and is logged into your Google account, you can use the remote control service. This is an official tool from the search giant that allows you not only to track the location of the gadget, but also to initiate a forced reset. This method is especially convenient if physical access to the device buttons is difficult or they are faulty.
To use the function, you will need any other device with Internet access: a computer, tablet or someone else's smartphone. You need to go to the official page of the service and log in using the same account that was used on the blocked phone. The system will automatically detect available devices and display them on the map.
In the management interface, select the desired device from the list and click the "Clean device" (Erase Device) button. The system will ask you to reconfirm your account password for security purposes. After sending the command, the phone will begin the formatting process as soon as it receives a signal from the network. The screen will go dark and the system will reinstall.
- ๐ The locked phone must be actively connected to the Internet.
- ๐ You must know the login and password for your Google account.
- ๐ The function must be previously activated in the security settings.
If the phone is in offline mode, the reset command will be executed automatically as soon as the device appears online. Do not turn it off if there is a chance of connection.
Use of proprietary utilities
Large vendors, such as Samsung, Xiaomi and Huawei, develop their own software to service their devices on a PC. These utilities often have deeper access to the system than standard Android tools and can help in cases where Recovery Mode is locked or corrupted. For example, the app Find My Mobile from Samsung allows you to unlock the screen even without resetting the data, if this function was configured in advance.
To work with such apps, you need to install device drivers on your computer and connect your smartphone via an original USB cable. In some cases, the phone may require permission to allow USB debugging, making this method inapplicable if access to the settings menu is completely blocked. However, Download Mode is often available even when the screen is locked.
The process of flashing or resetting via PC can take from 10 to 30 minutes depending on the connection speed and data volume. It is important to ensure stable power supply to the laptop and not interrupt the cable connection while transferring files. Interrupting the process can lead to damage to the bootloader and complete inoperability of the device.
| Brand | Name of the utility | Ability to reset without access | Requirements |
|---|---|---|---|
| Samsung | Smart Switch / Find My Mobile | Yes (via the web or PC) | Samsung account |
| Xiaomi | Mi Flash Tool | Only in Fastboot | Unlocked bootloader |
| Huawei | HiSuite | Limited | Pre-pairing |
| Sony | Xperia Companion | Yes (Software recovery) | USB cable |
What is Fastboot mode?
Fastboot is a communication protocol that allows you to send commands to the device directly, bypassing the operating system. It is used to flash memory partitions, unlock the bootloader and restore the system. Login is carried out using a combination of buttons when connected to a PC.
Reset through service codes and engineering menu
There is a less common, but sometimes effective method of resetting settings through a set of special USSD codes or entering the engineering menu. This method only works if the screen lock allows you to open the Phone or Dialer app. If an attacker or child has blocked access to dialing, this method will not work.
One โโof the well-known codes is *2767*3855#, which on many devices initiates an instant hard reset without additional confirmation. Using this code is extremely dangerous because it is immediate and does not allow time to cancel the operation. On modern versions of Android, many manufacturers block the execution of such commands for security reasons.
You can also try to enter the engineering menu through the code ##4636##, however, the reset functionality is not always present there. Most often, this menu is intended for testing the radio module and battery. Attempts to change unknown parameters in this section may lead to unstable network operation or complete failure of communication modules.
โ ๏ธ Attention: Service codes may differ depending on the region and the specific smartphone model. Using reset codes on devices with a dual-SIM configuration can lead to unpredictable results.
Google FRP problem and workarounds
After successful formatting, you will be faced with the initial setup screen, where the system will ask you to confirm the identity of the owner. This is a protection mechanism FRP (Factory Reset Protection), which is activated automatically when resetting settings via Recovery. The phone will require you to enter the password for the Google account that was synchronized with the device before it was blocked.
If you remember your account details, the problem can be solved by simply entering your login and password. However, if access to mail is lost or the device was purchased second-hand using someone elseโs account, the situation becomes more complicated. There are many methods to bypass FRP, including exploiting vulnerabilities in the browser, setting up TalkBack, or installing special APK files via an OTG cable.
It is worth noting that Google regularly closes vulnerabilities in new security patches. A method that works on Android 10 most likely will not work on Android 13 or 14. Each system version and processor model (Snapdragon, MediaTek, Exynos) has its own specific unlocking instructions.
- ๐ FRP cannot be disabled by simply removing the SIM card.
- ๐ Bypass often requires a PC and a dial specific drivers.
- โณ The bypass process can take from 30 minutes to several hours.
The most legal and reliable way to remove FRP is to restore access to your Google account through the password procedure on the Google website.
Flashing via a computer in case of critical errors
In cases where the software failure is so serious that the phone does not even enter Recovery Mode, or after a reset the device goes into an endless reboot (bootloop), a complete flashing is required. This process involves writing a new operating system image into the device's memory using a computer. This is the most complex method, requiring care and precise selection of files.
For the procedure you will need: an original USB cable, a computer with Windows OS, ADB and Fastboot drivers, as well as the firmware itself (system image). For processors MediaTek the utility SP Flash Toolis used, for Qualcomm โ QPST or EDL mode, and for Samsung the app Odin. The wrong choice of tool can lead to final breakdown of the device.
Before starting the firmware, it is critical to make sure that the deviceโs battery is at least 50-60% charged. The process of writing data to memory creates a high load on the power controller. If the phone turns off in the middle of recording a system partition, it will be almost impossible to restore it without using a programmer (a hardware device for soldering).
fastboot flash system system.imgfastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot reboot
After executing the firmware commands, the phone will reboot. The first boot can take up to 10-15 minutes as the system optimizes applications and creates a cache. Do not try to interrupt this process, even if the screen remains black for a long time or hangs on the manufacturer's logo.
โ ๏ธ Attention: Firmware of an inappropriate file (for example, from a different model or region) can โbrickโ the device forever. Always check the compatibility of the firmware version with your device model.
Where to download the correct firmware?
Official firmware is best downloaded from aggregator sites like SamMobile (for Samsung) or MiFirm (for Xiaomi). Avoid dubious forums where files can be modified by attackers.
Frequently asked questions (FAQ)
Is it possible to reset a phone without losing photos and contacts?
Unfortunately, the standard formatting procedure (Hard Reset) via Recovery or service codes always deletes all user data from the internal memory. You can save information only if it was previously synchronized with Google Photos, Google Drive, or copied to an SD card, which is not formatted upon reset.
What should I do if the phone asks for an account that I donโt remember?
You need to restore access to this account through the Google website on another device using the password recovery procedure. If the account has been deleted or access cannot be restored, you will need to contact the service center with a receipt for the purchase of the device to prove ownership.
Is it safe to use third-party unlocking apps?
Most free apps from the Internet that promise โeasy unlockingโ contain malware or are fraudulent. Using unverified software can lead to the theft of your personal data from your computer or permanent damage to your smartphone. Trust only the official utilities of the manufacturers.
Will the reset work if the phone has a SIM lock from the operator?
Factory Reset deletes only user data and system settings, but does not affect the network lock (Sim-lock). If the phone is locked to a specific operator, after the reset it will continue to require a SIM card from that particular operator or a network unlock code.