The situation when a smartphone Android suddenly gets blocked, and access to the settings menu becomes critical, causes panic among many users. Most often this happens after an unsuccessful attempt to unlock the screen, reset settings via Find My Device, or when system files that block the interface crash. At such a moment Google account may require confirmation, which cannot be completed without access to the main menu.

There are several proven ways to regain control of the device and gain access to hidden sections of the system. Methods vary from simple button combinations to using specialized software for debugging It is important to understand that the choice of a specific method directly depends on the model of your gadget, the version of the operating system and the type of lock installed.

In some cases, restoring access will require Full reset of user data, which will lead to the deletion of all files if they have not been synchronized with the cloud. However, if the goal is to open the settings without losing information, you must act extremely carefully and consistently, using standard system capabilities or developer tools.

Using emergency calls and access codes

One โ€‹โ€‹of the oldest, but still working, ways to get to the menu is to use the emergency call window. On the locked screen there is usually an โ€œEmergency Callโ€ button, clicking on which opens numeric keypad. In this field, you can try to enter special USSD codes or engineering commands that will redirect the user to the system menu.

The effectiveness of this method greatly depends on the manufacturer and version Android. On older versions (before 6.0), entering characters through the keyboard often worked, which made it possible to launch Settings or Task Manager. Modern security systems block the execution of arbitrary commands from the lock screen, but itโ€™s worth a try, since this is the least risky option.

โš ๏ธ Attention: On smartphones with the updated security system Android 10 and higher, most engineering codes from the lock screen do not work. Do not attempt to enter commands blindly if the device displays a system error warning.

To implement this method, you must quickly enter a sequence of characters to bring up the menu. If the system responds to input, you can try to launch the standard settings application through the activity call.

  • ๐Ÿ“ž Try entering ##4636## to enter the testing menu (works on many models).
  • ๐Ÿ”ข Use the combination #0# to access the Samsung engineering menu.
  • โš™๏ธ In some cases, calling a number helps 112 and then adding the contact to favorites.
๐Ÿ“Š What type of screen lock do you have?
Pattern key
Pin code
Password
Fingerprint
Face ID

Reboot method and safe mode

If the standard boot results in blocking, start the device in Safe Mode. This mode disables all third-party applications that could cause a conflict or set a screen lock. If the blocking was caused by a third-party virus application or launcher, then in safe mode you can safely enter Settings โ†’ Applications and remove malicious software.

To enter this mode you usually need to hold down the button shutdown on the desktop (if available) or use a key combination when turning on. On many devices you need to hold down the button Volume down immediately after the manufacturer's logo appears. This method allows you to bypass software locks without affecting system files.

After successfully booting into safe mode (usually indicated by a sign in the corner of the screen), you must immediately proceed to removing suspicious apps. If the lock was caused by a system failure, this method may not help, but it is safe for the user's data.

โ˜‘๏ธ Actions in Safe Mode

Done: 0 / 4

Using Recovery mode to reset

When software methods do not help, Recovery Mode comes to the rescue - a special diagnostic mode built into the device firmware. You can get into it using a combination of physical buttons when the phone is turned off. Most often, this is holding down the button Volume up and the button Power at the same time.

In the Recovery menu, control is carried out with the volume buttons (up/down) and the power button (select). You need to find the item Wipe data/factory reset. This action will completely clear the internal memory of the device, returning it to its factory state. This is the only guaranteed way to unlock your phone if you have forgotten the password and have not set up remote control.

โš ๏ธ Attention: Resetting via Recovery will delete all photos, contacts and messages. If the device had FRP (Google Account) protection, after resetting you will need to enter the login and password of the account that was synchronized earlier.

The reset process takes several minutes. After completion, you must select item Reboot system now. The device will reboot as new and the screen lock will be removed.

Manufacturer Button combination Input features
Samsung Volume Up + Bixby + Power You need to connect a USB cable to the PC
Xiaomi / Redmi Volume Up + Power You need to wait for vibration
Huawei Volume Up + Power Hold until the logo appears
Pixel / Nexus Volume Down + Power First you will get to Fastboot
What to do if the buttons do not work?

If the physical buttons are damaged, you can get to Recovery using the ADB command: 'adb reboot recovery'. To do this, the driver and Platform Tools must be installed on the computer, and USB debugging must have been previously enabled on the phone.

Bypassing blocking via ADB (Android Debug Bridge)

For advanced users, there is a powerful tool - ADB. If USB Debugging was previously enabled on the locked device and the computer is authorized, you can delete the lock files or reset the password via the command line. This is a complex but effective method that allows you to save data.

You need to connect the phone to the PC, open the command line in the ADB folder and enter the command to delete the key keeper files. The next time the system reboots, it will not find the file with the password and will let you into the menu.

adb shell rm /data/system/gesture.key

Or an alternative command to reset the password:

adb shell rm /data/system/password.key

After executing the command, you must restart the device.

๐Ÿ’ก

Before executing ADB commands, make sure that the driver version on your computer is up to date. Old drivers may not see modern smartphone models, which will result in a 'device not found' error.

Remote control via Google Find My Device

If the phone is connected to the Internet and geolocation is enabled, the easiest way to unlock access to the settings (via a hard reset) is the service Google Find My Device. By going from your computer to the official website of the service, you can select your device and click the โ€œWipe deviceโ€ button.

This method is similar to resetting via Recovery, but is performed remotely. After cleaning, the phone will reboot, the screen lock will disappear, but the data will be lost. This is the best option if you don't remember the password and can't use the physical buttons.

It's worth noting that for this method to work, the phone must be turned on, have an active connection to Wi-Fi or a mobile network, and be linked to your Google account. If these conditions are met, the process takes less than a minute.

  • ๐ŸŒ Go to android.com/find from any device.
  • ๐Ÿ”“ Select the blocked smartphone in the list.
  • ๐Ÿงน Click โ€œWipe deviceโ€ and confirm the action.

Unlocking specifics of Samsung and Xiaomi

Large manufacturers often introduce their own levels of protection that differ from standard Android. For example, devices Samsung allow you to unlock the screen through the Samsung Account service if it has been configured in advance. The โ€œFind My Mobileโ€ function on the Samsung website allows you to remotely unlock your device without losing data.

Smartphones Xiaomi (MIUI) are strictly linked to the Mi account. If your phone is locked, you can unlock it through the settings only by knowing the password for your Mi account. Otherwise, only a complete flashing via a computer using the Mi Flash Tool will help, which requires an unlocked bootloader.

โš ๏ธ Attention: Manufacturers' security policies are constantly changing. Methods that worked on 2022 models may be closed by security patches in 2026-2026. Always check the official support forums for your model.

For Samsung owners, it is important to remember Knox security. Attempts to hack the system or install unofficial_recovery firmware can permanently block the ability to use banking applications and Samsung Pay.

๐Ÿ’ก

Unique services of manufacturers (Samsung Account, Mi Cloud) often allow you to restore access without resetting data, unlike standard Google methods.

Frequently asked questions (FAQ)

Is it possible to unlock a phone without losing data?

You can unlock it without losing data only if USB debugging was previously enabled (via ADB) or if you are using a manufacturer account (Samsung Find My Mobile). In other cases, especially with a forgotten pattern on modern Android, data reset is inevitable due to encryption.

What is FRP and how to bypass it?

FRP (Factory Reset Protection) is protection against theft. After the reset, the phone requires you to enter the Google account that was on it before the reset. Officially, you can bypass this only by knowing the password. There are workarounds for system vulnerabilities, but they are closed by security updates and depend on the specific version of Android.

Will flashing help remove the lock?

Yes, a full flashing (clean installation of the system) deletes all user data and lock settings. However, if FRP protection is enabled, after flashing the phone will still ask for the owner's account. Flashing often requires unlocking the bootloader, which also leads to data deletion.

Is it possible to open the settings through the voice assistant?

On older versions of Android, you could activate Google Assistant from the locked screen and ask by voice to โ€œOpen Settings.โ€ On modern versions (Android 9 and above), this feature is disabled by default for security reasons, and the voice assistant will not start unless unlocked.