Q&A from the article:

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

Edited by Maria Quinney, Eng, Melsan, Alma and 22 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.

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: LG G Stylo stuck on Google account

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.

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)".

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.

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.

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

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

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

I was given this phone by my mom and she got it off offer up she wiped it and triggered the Google lock she didn't know not to but now can't get a hold of guy she got it from and this was the only way I could think of getting around the lock?

Any help you could give would be greatly appreciated. I'm not the most computer savvy so I thought I would ask

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

How to wipe data on Samsung Galaxy j5 using adb return phone to factory settings?

Hi my power button is not working and I need to factory reset my phone I have adb and can access adb shell I need a command to return my phone to factory settings thank you --wipe _ data ,wipe data recovery --wipe data does not work. I do not understand what command to use newbe and is only familar with simple commands. I have tried: Adb shell

wipe data

--wipe_data

recovery --wipe_data. I think it was caused by: The phone has a virus and would not go pass start screen

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 ask a question for more help, or post in the comments section below.

Comments

Article Info

Categories : General Android Mobiles & Tablets

Recent edits by: Visihow Admin, Jay, DeleteQnA

Share this Article:

Thanks to all authors for creating a page that has been read 133,054 times.

x

Thank Our Volunteer Authors.

Would you like to give back to the community by fixing a spelling mistake? Yes | No