How to unlock qmv7b tablet

Forgot Android unlock pattern / password / PIN? Three solutions to unlock

This article shows ways to get access to a locked device without the security code (PIN, pattern, ...). If you cannot deactivate the screen lock despite the known security code, see Screen lock cannot be deactivated.
Warning if the PIN was entered incorrectly 5 times

An Android smartphone (e.g. from HTC, Samsung or Huawei) can be protected against unauthorized access with a pattern or a PIN, among other things. Every time someone wants to have access to the device, a preset pattern has to be drawn or a PIN has to be entered.

Now it can happen, especially if the device has not been used for a long time, that the owner of the device has the set Forgot pattern (or PIN / password) Has. To regain access to the device, there are various starting points that are explained below. The solutions differ fundamentally in whether or not the data stored in the internal memory can be accessed again after the execution. With some proposed solutions, unfortunately, the loss of all data stored on the device must be accepted, unless a data backup has been made in advance.

Basically it should already be said here: Currently there is unfortunately no way, again To get access to the devicewithout to delete the data stored on it, provided a current version of Android is used and no root access is available.

Solution 1: Reset via Find My Device [edit | edit source]

In some cases, users have been able to reset their screen lock using the Find My Device service. To do this, open your Google account and navigate there in the area security to the section My devices and choose there Manage devices (Direct link). In the list of devices, you can now use the 3-point menu of the desired device to select the function Search smartphone to be selected. You can then go to the Lock your smartphone select a new password as the screen lock and lock the device.

Alternatively, the function is also available directly on the Find My Device Portal.

In newer versions of the service, however, Google refuses to set a password if a screen lock is already available on the device. If the device is locked, the existing screen lock is used.

Some manufacturers offer a similar service that allows the device to be unlocked via a web service. In most cases, however, it is necessary to activate the service on the smartphone beforehand.If this happened before the screen lock was forgotten, this manufacturer-dependent service can be used. The following manufacturers, among others, offer such a service:

  • Samsung: Find My Mobile
  • Sony: MyXperia (is no longer in operation and forwards to Google's Find My Device)

Solution 2: Delete pattern / password / PIN (root required) [edit | edit source]

Here will be no Data deleted from the device (except for the pattern).

There is the possibility to delete the pattern to unlock it.[1] As a result, the Android smartphone reacts as if there were no locks at all. Of course, this is only allowed for his own device; Doing this on someone else's device without the permission of the owner can be illegal.

For this method either USB debugging must be activated or an alternative recovery system is required. Instructions can be found here. If you have such a recovery system in which you can use the ADB, you can also carry out the following steps to delete the pattern directly there without activating USB debugging.

The ADB from the Android SDK is required[2] (File: and at least SoftRoot access.

  1. First you connect your switched on Android device to the PC using the supplied USB cable.
  2. Now then opens under
    • Linux a terminal program or
    • under Windows a new command line window (Windows key + [R] -> enter "cmd" and confirm with the Enter key) and navigate to the "platform-tools" of the SDK folder (for example: cd C: \ android \ platform-toolsif the platform tools are stored in the folder C: \ android), in which the adb.exe is also located.
  3. Now you execute the following commands one after the other:
adb remount # for a pattern adb shell rm /data/system/gesture.key # for a password / PIN adb shell rm /data/system/password.key

The design is then deleted, even if you are still prompted to enter the design. In fact, the entered pattern does not matter, the device is always unlocked. Then navigate to the settings and change the screen lock as desired.

Android 6.0+ [edit | edit source]

Since Android version 6000! 6.0 "Marshmallow" the information about the lock method to be used and the associated data are no longer stored in the gesture.key or password.key file, but in new files, the contents of which are calculated with the help of the new gatekeeper service.[3][4][5][6][7] This means that in order to remove the screen lock from Android 6.0 onwards, additional files must be deleted:

adb remount adb shell rm /data/system/gatekeeper.password.key adb shell rm /data/system/gatekeeper.pattern.key adb shell rm /data/system/locksettings.db

Explanation [edit | edit source]

If an unlock pattern is set on the Android device, a file with the name "gesture.key" is created in the / data / system folder. This contains the data that describe the pattern in encrypted form. If you remove this with the command "rm" (remove), the system no longer knows the unlock pattern and accepts any pattern.

Solution 3: reset [edit | edit source]

Here will be all Data deleted from the device.

If no other option is available, all that remains is to reset the device.

Option A [edit | edit source]

The simplest, most uncomplicated, but also the most expensive option to have your device reset is to have it carried out by a mobile network provider. To do this, you have to send the device to an address provided by the provider and pay a fee. Usually the costs are around 80 to 100 €.

Possibility B [edit | edit source]

With many manufacturers you can also reset the device in the bootloader or recovery (the so-called factory reset). As a rule, this is done as follows:

  1. Switch off the device
  2. Press and hold the volume up (home) and power buttons at the same time
  3. Use the volume up and down buttons to navigate to the "Factory Reset" item
  4. Use the volume up and down keys to navigate to the point "yes"
  5. Confirm with the power button

After a restart, all data, including the pattern, should be deleted.

Samsung and Sony also have another option.

  1. First press the "Emergency Call" button on the locked screen
  2. Enter the following number as the emergency number (this is not possible on all devices):
    • Samsung: * 2767 * 3855 #
    • Sony: * # * # 7378423 # * # *
  3. The phone will now be reset and your lock pattern will be deleted.

Possibility C [edit | edit source]

The third possibility is that the firmware of your device is reloaded. The procedure differs from manufacturer to manufacturer and can be found in our partner forum for the corresponding device. However, this option does not work with all devices. It is important that the / data partition is also reset (wipe) when the firmware is reinstalled; thus also the settings, accounts and the like that is stored on the device (similar to option B).

Solution 4: Confirm Google Account (Android 4.4! 4.4 "KitKat" or earlier) [edit | edit source]

Here will be no Data deleted from the device.

Probably the simplest solution is to confirm the Google account that was used when setting up the device. To do this, there must be an internet connection via the mobile network; WLAN alone is sufficient Not out.

To confirm, the login name (this can also be the email address of another provider) is not required, but the GMail address (usually ends with @ This can be found in the Google account under Personal data and privacy, or via this direct link. Logically, the password is also required.

The account can usually be confirmed if the pattern, or the PIN or password, was entered incorrectly ten times. If only a message appears after the attempts that you have to wait a certain time before trying again, it is not possible to confirm the account to unlock. Here it is advisable to try one of the other suggested solutions. When the account has been verified, the device is unlocked again.

Confirmation activated in two steps [edit | edit source]

If the two-step registration (two-step confirmation) has been activated for the Google account, registration will work with the regular Password not when verifying Google account. To solve this problem, one has to use a Backup codes Log in to the Google account (on a PC or another smartphone or tablet that is not locked) and generate an application-specific password for the Google account. This password can now be used to confirm the Google account on the smartphone and release it again.

Then you should delete the application-specific password from the Google account for security reasons.

Mobile Internet switched off [edit | edit source]

Since it can happen in your own apartment that you switch off the mobile Internet and are logged into the WLAN network, you cannot unlock the device by confirming the Google account. You have to switch off the WLAN and switch on the mobile internet beforehand. With some custom ROMs this is possible by holding down the power button in the menu that then appears. In other ROMs this menu is disabled when locked or there are no entries to change the settings. In order to avoid a complete reset of the device to the factory settings, there is the option of changing the setting directly in the database of the saved settings with activated USB debugging or in recovery using ADB. You can find out how to do this here. LogicalDOC

Forgot Google Password [edit | edit source]

It becomes much more annoying when you want to confirm your Google account, but because of the excitement you have forgotten not only the pattern but also your Google password. In such a case, you usually only have the option of resetting your Google login data. Restoring the Google account is done using the recovery console provided by Google here. More detailed instructions can be found here.

Remove "Verify Google Account" [edit | edit source]

If you have entered the pattern incorrectly too often, you will be asked to confirm your Google account with your password and your Gmail address. A big disadvantage here is: This is only possible if you have switched on the mobile Internet. To get around this, there is also a possibility that the device “forgets” that the pattern has already been entered incorrectly too often.[8] This method is also only allowed if you are the owner of the device or if you have the owner's permission. Here, too, you need the ADB from the Android SDK[9] (File: and root access. In addition, USB debugging must be switched on. This article explains how to enable USB debugging via recovery. In addition, the binary program sqlite3 is required to make the necessary changes to the databases in the system. This program is already installed with some ROMs or root tools, but not with others for reasons of memory space. The file is in the folder / system / xbin. If it is not available, you can file: and install it using adb:

adb push sqlite3 / system / xbin / sqlite3

[To edit] NOTE

Despite careful elaboration, we and the authors of this article cannot guarantee that the implementation of the following instructions will not cause any damage to your device / operating system and therefore assume no liability for damage and malfunctions in hardware and software!

If you are still unsure, follow these steps:

  1. Only carry out the instructions if any of the conditions mentioned (model number, Android version, etc.) apply to you or your device
  2. manual attentive and read it completely, look up unknown terms
  3. Check downloaded files and software with a virus scanner (if not prohibited by the instructions, background)
  4. Make a backup of important settings and data if necessary
  5. Do not follow the instructions if you do not know what you are doing!

To bypass the confirmation of the Google account, connect your device to the PC and start a terminal program under Linux or a command line window under Windows ([WINDOWS] key + [R] -> enter '' cmd '' and confirm with Enter) ). Under Windows you also have to navigate to the folder in which the adb.exeProgram is saved, e.g. with this command:

cd C: \ android

C: \ android is the folder path. This step is not necessary under Linux.

These commands must be entered one after the other:

adb devices

In the command line output, the device should be displayed in adb mode.

adb shell

Here we access the shell of the Android device in order to work directly on the device.

cd /data/data/

With this command we switch to a data memory of a preinstalled system service from Android, which, among other things, takes over the pattern control.

sqlite3 settings.db

With this command we open the SQLite administration program to edit the database "settings.db". The number of times the design was entered incorrectly is also stored in this database.

update system set value = 0 where name = 'lock_pattern_autolock';

Here we change the number of incorrectly entered patterns to 0. A simple SQL command is executed on the table system.

update secure set value = 0 where name = 'lock_pattern_autolock';

Some devices also save the number of incorrect entries in the table securewhich is why we reset this value to 0 to be on the safe side.

update system set value = 0 where name = 'lockscreen.lockedoutpermanently'; update secure set value = 0 where name = 'lockscreen.lockedoutpermanently';

This value controls that the Google account has to be confirmed every time, so there is no attempt to re-enter the pattern. To prevent this from happening, we put this in both the table system as well as in the table secure back.


With the command we leave the administration program for the SQLite database.


We now exit the shell and restart the device with the following command, after which the command line program can be closed:

adb reboot

Now you will be asked again for the pattern and not for the confirmation of the Google account. In connection with the possibility of deleting the pattern, you can get back to your device and your data relatively easily.

Individual evidence [edit | edit source]