Android offers various blocking methods for our devices: the release ring (which itself has no code, just as we slip the ring into a corner) a PIN , facial recognition and finally unlock pattern.
I would say that the latter is, if not the most, one of the most used. Protect our devices with a lock code is basic to safeguard our information in case of theft or loss. But what happens if we forget the unlock pattern?
A few months ago, while traveling, a friend of a family member had the following problem: her daughter had been playing with the tablet and had set an unlock pattern. Later did not remember the unlock pattern, and to make a number of attempts ... the tablet was blocked !
In this post we will explain in the most enjoyable way possible methods at our disposal to remedy this. A peculiarity of the case that I explained before was that the user does not know the password and user of Gmail was configured with its terminal, so we had to use a more aggressive method to unlock. Let's go there:
1- Recovery with gmail account:
When we perform the "X" failed attempts, the first thing that appears to us to fix the mess is to unlock the tablet by inserting our Gmail account (which we have set on the device to access Google Play ).
Keep in mind that the tablet must be connected to the Internet, and if this is not connected can not be set any connection, since this, as we know, is blocked. If we're lucky with this step everything you will be solved. But we go forward.
2 - Delete the file gesture.key file system.
Before flashing a new ROM on your tablet or phone or do a hard reset (with these methods lose all our information) we will try to delete the file gesture.key file system device.
If we manage to remove it , the tablet will be unlocked instantly. This file is generated when you set the pattern unlock our terminal, and is located in the folder data / system / gesture.key .
This method works on a lot of devices and although at first may seem complex, if we follow the steps properly there should be no problem. Now we show you how to access this file and how to remove it to resolve the release:
1. The tablet must be rooted and the debug mode activated
An indispensable to perform this process condition is that the tablet is rooted. If not we try another method . Please note that many tablets (especially those of Chinese origin as Prolink or Comet Woo ) are rooted factory, so if you have not rooted not mean that it is not.
The other requirement is that you have enabled the USB debugging mode . This condition is essential to control the tablet via ADB as we shall see later. The tablets we have said before also come with this option enabled factory.
If we fulfill these requirements, now we connect the device to PC via USB. Access Root and USB debugging mode enabled will allow us to manage our device from your computer using ADB, access the file system and delete the gesture.key .
2. Install the drivers of our device in the PC.
The next step is to have properly installed the drivers of our device to our PC. If you do not have properly installed, we can not control our Android by commands, because this will not be recognized.
If you did ROOT manually in your device probably already you will have installed the drivers properly on your PC . Otherwise, you can use this simple utility. Once the drivers are properly installed and can move to the last point.
3. Delete the file gesture.key
We're ready to delete the file gesture.key and unlock our device. We need to be installed on our PC the ADB (Android Debug Bridge) or better yet , ADB Standalone, with only the files you need.
Once installed, and the USB - connected device, we will go to the folder platform-tools within the ADB folder that will be generated on the desktop and in it we will open a command window.
Open a command window within a folder is simple: we just have to press the right mouse button on the folder you wish while pressing Shift and the drop -down menu choose "Open command window here".
In the command window will stick this code and will press enter :
adb shell rm /data/system/gesture.key
adb shell reboot
Your device to be reset and will no longer be blocked . The next step will have to make is to go to settings, locking method, and remove the pattern. If this system will not result, we move on to the next step.
3- Hard Reset
If the above method does not serves you because your terminal is not rooted and now I have resigned to losing your information and have to reconfigure your device from scratch, make a Hard Reset is an easy and effective way to leave your device as coming from factory. To do this you must enter into recovery mode of the device.
We can usually access the recovery mode is done by starting the terminal while at the same time pressed power button + volume down , but can vary depending on the brand of the terminal.
It is easy to find on the Internet which is the combination of buttons on each terminal to access the recovery . Once inside, we only choose the option wipe data / factory reset will return our Android to its original state:
This video illustrates very well the ease of the process:
4- flash a ROM
The last option we have, a little more complex than the previous ones , is to reinstall an image of the version of Android that was carrying our factory device or ROM supported. It can flashing from PC or from a card SD , but for that we have the open bootloader .
We hope you have served in aid. Each case may have some peculiarities depending on the brand of the device and version of Android, but if we insist a little and continue the steps outlined above should be able to recover our device without problems.