Q&A from the article:

Recover Android Device in case of Forgot password/pattern unlock an Android device

Edited by Maria, Eng, Melsan, Alma and 19 others

Questions and Answers

Need ADB commands to bypass Google accounts verification?

I need ADB commands to bypass Google accounts verification after too many pattern attempts. Because now I have extracted the pattern from "gesture. key" file and know the pattern, but my device shows Google user ID and password.

Was this helpful? Yes | No

Here is the series of commands that you need to enter for the ADB command to simply delete or wipe your phone or tablets data.:

1. On your computer, launch your DOS window or command prompt, then follow this series of commands:

2. First, type this command adb shell

3. Once the cursor is down, type this second command rm /data/system/gesture.key

4. Simply restart your device whether it is a Tablet or a phone

5. Once the phone has been rebooted, go back to the adb shell command again

6. Follow up this command that you need to enter CD /data/data/com.Android.providers.settings/databases

7. Add this command in the line again sqlite3 settings.db

8. Add this command on screen update system set value=0 where name='lock_pattern_autolock';

9. Then input this final command on your DOS Window update system set value=0 where name='lockscreen.lockedoutpermanently';

10. Restart your device, and now it will allow you to enter the new pattern lock.

See more questions like this: Why can't I bypass this new Google verification problem

See more questions like this: LG S770 can't get past Google verification

I need to unlock my tablet?

I forgot my username and password. What can I do?


If you have forgotten your password and user name on an Android phone or tablet, you can use the Google Account Recovery tool to regain access to your account. Note that you will need to be connected to the internet for this to work. If you are not connected to the internet, then you will not be able to use this option, and will need to perform a factory reset of your Android phone or tablet.

Was this helpful? Yes | No

One of ADB Command is not working error type 3?

I want to bypass Google Account verification, ADB devices and ADB shell works fine but next command (am start -a Android.intent.action.MAIN -n com.Android.settings/.Settings) doesn't work it says error type 3.

Was this helpful? Yes | No

It means either:

  • The Google API is not installed and that is why you are getting the error. Check your SDK requirements.
  • The AVD is damaged. You can repair it by using AVD Manager or delete it and run the application again. It will create a new AVD.
Was this helpful? Yes | No

See more questions like this: I tried to enter the second command and it says its not recognized as a command?

I want to know a step by step procedure?

Kindly tell me in steps for this command? My phone is stuck on Google account verification when I switch it for unlocking? This is because I have attempted many lock patterns and now it is locked. My phone's volume buttons are not working so I can't hard reset by using keys combination.

Was this helpful? Yes | No

You can read the step by step process in the top answer and the VisiHow article on this page. With your volume buttons not working, you can still try to get your Google Account to unlock the phone if you attempt the passcode lock and wait for that option.

Was this helpful? Yes | No

The above questions are from the following wiki...
Recover Android Device in case of Forgot password/pattern unlock an Android device
More questions and answers

I can't find Japanese Google input what can I do?

How do I bypass the Google account verification

Use the ADB method described in the VisiHow article and on the top answer on this page. You can try going to Google Play and remotely installing a Japanese keyboard but sometimes you have to manually switch from English to Japanese once installed.

Was this helpful? Yes | No

How to bypass the Google account requirement on Lenovo a 2010a?

Hi, my name is Patrick, I have forgotten the initial Gmail account completely that I used to sync with my phone. I have exhausted all means possible to try and start the phone without going through the Google account verification steps, .any assistance will be highly appreciated. Thanks in advance. I have tried: Have tried to format using the volume up and down and power button, but it takes me back to the Google damn thing. I think it was caused by: I just forgot my username on this phone since I haven't been using it for some time

Was this helpful? Yes | No

You should try to unlock with ADB. I think though you tripped the Hard Knox security on the device when you hard reset and this is why it is asking for the Google Account. The only way to bypass that anti-theft measure is to install new Lenovo Firmware.

Was this helpful? Yes | No

See more questions like this: How to reset my zuk z1 as I forgot my password?

How do I launch the DOS on my computer?

I would like to know what I have to do to begin this process. I have tried: Nothing. I think it was caused by: Reset

The Command Prompt, which looks like MS-DOS (or any other DOS variation) prompt can be accessed from Windows by:

  • pressing the Windows key and typing "cmd" followed by the "Enter" key;
  • clicking the Windows or Start button, clicking "Run", entering "cmd", and pressing the "Enter" key;
  • right-clicking the Windows (Start) button and selecting "Command Prompt (Admin)".
Was this helpful? Yes | No

I have a live demo S7, and we cannot get past the Gmail sign in. Is there any way we can get past this? The device cannot be reformatted because it's in demo mode.

S7 live demo stuck. Can't get past Gmail backup. cannot reformat as it's a live demo

Use the ADB commands at the top and specify Wipe data. This should take the demo mode off. You can also go into the Retail settings and delete those if they are still on your phone.

Just purchased 2nd hand mobile and can't get passed FRP?

FRP lock after buying S7 second hand and having done a hard reset the Gmail account is unknown. I have tried to fix this via flashing stock firmware and using the copy share method but that no longer works either. Can this be fixed without taking into a shop and maybe I could do myself. I have tried: Flashing original firmware. I think it was caused by: Buying a phone that's been used and then hard resetting without the details you need. seller doesn't remember her password

Was this helpful? Yes | No

VisiHow QnA. This section is not written yet. Want to join in? Click EDIT to write this answer.

See more questions like this: How do I get past the setup wizard on my LG G4?

Is there anything I should know?

So I have adb installed on my PC and have factory image downloaded as well... I bought an LG h901 off ebay and has a FRP lock and seller isn't responding from email. have no idea if developer option is on or not ,,, is there anything else I need or should know before I attempt

Was this helpful? Yes | No

VisiHow QnA. This section is not written yet. Want to join in? Click EDIT to write this answer.

If you have problems with any of the steps in this article, please post in the comments section below.


VisiHow welcomes all comments. If you do not want to be anonymous, register or log in. It is free.

Article Info

Categories : General Android Mobiles & Tablets

Recent edits by: RayDjinn, pavan8602222432, Inukshuk

Share this Article:

Thanks to all authors for creating a page that has been read 119,015 times.