This guide will guide you remove your security PIN through various methods. This guide is for those who have forgotten their security PIN and cannot do a Google reset for some reason. You have restored your phone from a previous backup that had a different PIN than the current one, and now the android system is totally confused as to which PIN to use and does not accept any of them.
You should have a custom recovery installed on your phone or a BDA installed on your computer, but that is beyond the scope of this guide, since custom recovery installation methods vary by device. Check Appuals to find out how to install TWRP on your specific device or how to install ADB on Windows.
There are two situations you may encounter after restoring a backup that contained a different PIN than the one you are using most recently.
The device uses two different PINs
This will happen when you have a recent startup PIN and your backup contains an old screen lock PIN. So now the device will have two different PINs, which can actually increase the overall security of the device, but it will be a headache when you need to remember both PINs.
In order to solve it, you just have to reset your PIN in the Android settings. Simplemente vaya a Configuración> Seguridad> Bloqueo de pantalla e ingrese un nuevo PIN. The startup PIN will be overwritten and a single PIN will be used by default.
The device does not accept a PIN
This is where things get frustrating. In certain cases, the phone can accept the startup PIN, but not a screen unlock PIN. For this, we will completely remove the files that store your PIN ( Yes, your PIN is stored in system files that can be removed – shocking ?).
Clear your Android PIN – TWRP method
-
Boot your phone into TWRP recovery.
-
Vaya a Avanzado> Administrador de archivos y navegue hasta / data / system.
-
Searches for files ending in the .key extension and any files that have “lock settings” in the file name. As usual, they will do it (but will vary by manufacturer):
Gatekeeper.password.key
gatekeeper.pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal
-
Once you have deleted those files, restart your phone. You will be greeted by a lock screen, but it won't ask you for a password or PIN. If it does, you have not deleted all the necessary files.
-
Set a new PIN in your security settings!!
Clear your Android PIN – ADB method
Note: This needs a rooted phone and USB debugging enabled. If USB debugging is not enabled and you cannot enter the phone, you should try to update a custom recovery like TWRP, which can also grant an ADB side loader.
-
Connect the phone to the computer via USB and start an ADB terminal.
-
Enter the following commands on the command line:
adb devices
shell adb
cd / data / system
its
rm * .key
rm * .key
adb restart
Clear your Android PIN – ADB method / SQL
Note: This is an alternative ADB method for those who have SQLite3 together with their ADB installation.
-
Type the following commands in your ADB terminal / SQL:
shell adb
cd /data/data/com.androide.proveedores.adjustes/databases
sqlite3 settings.db
update system set value = 0 where name = $ 0027lock_pattern_autolock $ 0027;
update system set value = 0 where name = $ 0027 screen locked, permanently locked $ 0027;
.let
Clear your Android PIN – Disable the flashing pattern password. Zip method
Note: This is for those who have a custom recovery (it does not matter which) installed and want to update a .zip that will do the work for you.
-
Download the .zip password deactivation pattern from here and transfer it to your phone's SD card.
-
Reboot into your custom recovery of your choice.
-
Turn on the zipper and restart your phone.
Related Post:
- ▷ What is the application for registration of a digital TV tuner device and should be removed?
- ⭐ Top 10 IPTV players for Windows [2020]
- ⭐ How to get free Fortnite accounts with Skins?
- ▷ How do I fix the error code “WS-37403-7” and PlayStation 4?
- ▷ The 5 best browsers for Windows XP
- ▷ How to disable Adobe AcroTray.exe from startup





