Hardware and software setup

Recovery asks for a password. I can’t log into my Google account: recovering forgotten data, ways to log in after resetting settings

If you forgot set password or graphic key on Android, this is no reason to panic. Access to the smartphone can be restored, and there are several ways to unlock it. The updated instructions detail each of them.

How to reset password or lock in Android

(!) The article contains the main ways to reset the password / pattern, starting from the simplest (when you remember the username and password of your Google account) and ending with the more complex ones: hard reset, deleting the files "gesture.key" and "password.key". Read all the points carefully, follow the links to detailed instructions and everything will work out!

Method 1: Enter your Google account information

A working method for devices on Android 4.4 and below. Since Android 5.0, this option has been removed from many firmwares. But not all manufacturers did this, so check if it works for you or not.

When a phone or tablet is connected to mobile network or Wi-Fi, to remove the lock, just enter your e-mail and password. To do this, enter the pattern incorrectly 5-10 times, after which a warning will pop up about blocking the device for 30 seconds.

The button “Forgot your pattern?” will appear on the screen, by clicking on which you can enter your data and unlock the device.

If you forgot your account password, you will have to recover it - go to this page from a working gadget or PC.

Please note that this method requires mandatory access to the Internet. So open up the panel quick settings, by swiping down (the "curtain" can be opened directly from the lock screen on Android 5.0 Lollipop and later) and turn on mobile data or Wi-Fi. The device will connect to the access point if it has worked on this network before.

2. Reset a picture password using ADB

Pattern can be removed using ADB. You need to connect the device via USB to the computer and enter the necessary commands. All details in

The method will only work if USB debugging is enabled.

Method 3. Reset to factory settings

The next method is simpler than the previous one, but using it, all data from internal memory, such as the installed apps, linked accounts, SMS, etc. Photos, audio and other files on the SD will remain intact. Full instructions you will find in the article:.

During the next activation of the device, restore data from a backup - it works provided that it was previously carried out.

Method 4. Flash a smartphone or tablet

Firmware android phone or tablet, you will remove the lock or password. On our site there is a firmware Android devices various manufacturers, separately Samsung via and LG via .

Method 5: Deleting gesture.key (unlock graphic pattern) and password.key (reset password)

The method is intended for owners of phones and tablets with and. Its effect is to remove system files“gesture.key” and “password.key”, which are responsible for displaying the graphic lock and password, respectively.

This requires the Aroma file manager. Download the archive from the link and download it to your phone or tablet without unpacking. Then turn off the machine and . To do this, instead of the power button, hold down one of the possible combinations (or read the FAQ for specific models):

  • Volume up + "ON"
  • Volume Down + "ON"
  • Volume Up/Down + Power + Home

Use the volume up and down buttons to move up and down, respectively, and confirm the selection with the power / lock button. In new smartphones, Recovery can be touch sensitive.

Instruction:

1. In the CWM Recovery menu, select "Install zip".

2. Then click "Choose zip from /sdcard" and go to the folder where you dropped Aroma or use "Choose zip from last install folder". In the second case, you will see all the latest downloaded archives, among which you will find the one you need.

3. Select the archive with Aroma Explorer.

  • "gesture.key" ("gatekeeper.pattern.key" in new firmware)
  • "password.key" (or "gatekeeper.password.key" instead)
  • "locksettings.db-wal"
  • "locksettings.db-shm"

Select them and click "Delete" in the additional menu.

At the end, reboot your device. You can enter any password and the phone will be unlocked. Then boldly go to the settings and set a new lock.

6. How to remove the graphic lock through TWRP Recovery

Unzip the archive with Odin and run the program.

Put your smartphone into firmware mode (aka Bootloader, download mode). To do this, with the device turned off, hold down and hold 3 keys:

  • "ON" + volume down + "Home" button

When you get to such a menu, press the volume up key to continue.

Android and the inscription “Downloading” will appear on the screen - it means that you have put Samsung into firmware mode.

Connect your phone to your computer via USB and wait for the drivers to install. The first cell "ID:COM" will display the connected port, and the message "Added" will appear in the logs.

Now click the "AP" ("PDA" in older versions of Odin) button and select the Recovery file.

If there is a checkmark next to “AP”, and the path to the file is written in the field next to it, you can proceed.

To start flashing, click "Start".

Since the size of the Recovery file is small, the process will take a couple of seconds. The logs will show the message “All threads completed. (succeed 1 / failed 0)”, and in the upper left cell - “PASS!”. This means that the custom Recovery firmware was successful.

Now turn off your phone and hold down one of the key combinations to get into Recovery:

  • Home + volume up + power on
  • "Home" + "ON" (on older Samsung)
  • Volume up + power on (on older tablets)

Depending on the installed Recovery: CWM or TWRP, go to steps 5 or 6 of this article and delete the files:

  • "password.key" ("gatekeeper.password.key")
  • "gesture.key" ("gatekeeper.pattern.key")
  • "locksettings.db-wal"
  • "locksettings.db-shm"

13. How to remove the unlock key on Huawei and Honor: backup PIN

On Huawei and Honor, in addition to the graphic key, a backup PIN code is used. Therefore, to unlock the device, you need to draw the pattern incorrectly 5 times, and the message will appear on the display: "Try again in 1 minute." Wait 60 seconds until the "Backup PIN" button in the lower right corner becomes active. Click on it, enter the PIN and the unlock key will be instantly reset.

14. Backup PIN on LG

When setting a screen lock on LG, you need to set a backup PIN code that can be entered instead of a pattern or password and unlock your phone.

To do this, draw the wrong graphic pattern until the message about blocking input for 30 seconds appears. Click "OK", select "Forgot your unlock pattern?" at the bottom, enter your PIN and click "OK".

15.Smart lock function

Starting with Android 5.0, the system has smart function Lock, which allows you to disable the screen lock in certain situations. For example, when the machine is at home or connected to a trusted device via Bluetooth. Depending on the manufacturer of the device, as well as android versions, there are different unlock options with Smart Lock, such as voice detection, face recognition, and others.

Feature set modern smartphones and at the same time integration mobile devices rapidly growing into our daily lives. And this means that the issue of security should be considered by each user even more carefully. In the framework of this article, we will consider one of the ways to protect a smartphone based on the Android OS from unauthorized access - let's talk about how to set password for recovery menu.


What is recovery. Features of TWRP

To begin with, of course, let's highlight what recovery on Android is for those who may not know this yet:

Recovery is a system recovery menu for smartphones based on the Android OS operating system

That is, using the recovery menu, you can manipulate the device system aimed at restoring the device's performance. The most common options for custom (modified, non-standard) recovery mode today, perhaps, are CWM(ClockworkMod) and TWRP(Team Win Recovery Project).

TWRP(Team Win Recovery Project) is a modified version of the Recovery mode from TeamWin, which has enhanced functionality compared to the standard Android recovery menu

The feature set of TWRP is really huge:

  • touch screen support;
  • deep customization of menu settings;
  • full administrative functionality: backup / restore, installation of zip packages, wipe menu;
  • the presence of a built-in file manager;
  • and many other possibilities.

But there is one feature that the developers of TWRP did not take care of adding. It's about giving the user the ability to set recovery password and by this, block TWRP from unwanted access.

Why block TWRP

Let's look at the relevance of the topic of the publication: why put a password on the recovery? To do this, we will touch on only two ways to use the Team Win Recovery Project:

  1. Many first encountered TWRP not with the aim of creating a full backup of the system, the so-called Nandroid Backup, but with the aim of custom ROM firmware to your smartphone.
  2. Users who are interested Android system, as well as those who at least once forgot the password or unlock pattern of the smartphone, know that in order to to reset the password or lock pattern, you can make a full wipe in the recovery.

Both examples show how powerful recovery mode can be in the right hands. But how to protect yourself from unauthorized access to such a tool by third parties? A fairly simple and convenient way - set recovery password.

The method described in this article does not provide 100% protection against interference with the system through the recovery menu, since setting a password to enter TWRP does not prevent the Recovery itself from being flashed again with the loss of the settings made.

Setting a password on TWRP

So, let's move on to the procedure for setting a password to enter the recovery menu.

All actions that you perform with your smartphone are performed by you only under your personal responsibility and at your own risk. Neither the author of the article, nor the site administration, nor the creators of the files below do not bear no responsibility for possible failures in the operation of devices and systems that occurred as a result of the manipulations performed

1. First we need to download theme update file for TWRP already installed on your smartphone:

2. The downloaded file must be placed in the following directory without renaming ( it is important!):

/sdcard/TWRP/theme/

Place file ui.zip to the desired folder, you can use both the smartphone file manager and the computer explorer, after connecting the device to the PC via USB. Please note that the file must be placed on the main partition of the phone's memory, more information about the memory of the Android system is written in the article

3. After copying the file, turn off the smartphone and turn it on with the entrance to Recovery Mode.
If everything went well, we will immediately be greeted by a password entry window. The default password is David98, as evidenced by the corresponding inscription at the top of the screen: Default Password is David98 . Out of respect for the author of the update file, a user with the nickname davidkocka98, default password has not been changed. We enter the password and get into the familiar TWRP menu.

Change TWRP password

To change the recovery password in TWRP, click on the Settings section and go to the Change Password item that appears

In the expanded input field, we drive in first Old Password(in our example - standard David98), press the button Change Password, then we drive in New Password, which we want to install and fix the changes with the same button Change Password.

The password for entering the recovery has been changed.

Remove TWRP password

If you want to roll back the changes you made earlier and remove the password request when entering TWRP, then it will be enough to delete the file ui.zip from the catalog

/sdcard/TWRP/theme/

Delete given file You can either from the file manager of your smartphone or computer explorer, or directly from the TWRP menu.
To delete a file from TWRP, go to the Advanced path, then File Manager, open the theme directory, " tapaem" per file ui.zip and choose the item Delete.

After restarting the Recovery mode, the password request to enter the recovery will not be made.

It should be noted that this method has only been tested on TWRP below the third version, on new versions in its current form, most likely, the file will be inoperable.

Or otherwise experiment with the Android system, then custom TWRP recovery is what you need. If you are wondering how to install TWRP recovery on android, then this article is definitely for you.

Your phone's "recovery environment" is part of software which you rarely see. It is used to install android updates, restore to factory settings, and performs other tasks. recovery environment from google, set by default, very simple, but third-party developers offer their own solutions, for example, Team Win Recovery Project (or TWRP) - allows you to make backups, install custom firmware, get superuser rights, and much more useful stuff. So if you want to change your smartphone, then you will need TWRP. You can also read what is custom recovery on Android and why you need it. Today we will tell you how to install TWRP recovery on android.

Step 1: Unlock your device and check compatibility

You must be sure that you have an unlocked bootloader (booloader). So, if you have not done this yet, we recommend that you read the article how to unlock the bootloader on an Android smartphone. When you're done, we'll go back to installing TWRP. If your phone's bootloader is not unlockable, then you will have to install TWRP in another way.

Also, make sure TWRP is available for your device and check out the TWRP and XDA Developers website to make sure there are no issues along the way. For example, Nexus 5X phones are encrypted by default, but when TWRP first came out for the Nexus 5X, it didn't support encrypted phones. Therefore, owners of the Nexus 5X had to either decrypt their smartphone themselves in order to install TWRP or wait for the update, after which TWRP began to support encrypted smartphones. Make sure you know about all the "quirks" of your device before proceeding.

Also create backup whatever you want to keep. This process will not delete your data from your smartphone, but creating a backup before changing the system is a good habit.

Step 1: Enable USB Debugging

Next, you will need to enable a few options on your phone. Go to your phone settings and select "About phone". Scroll down to "Build Number" and tap it 7 times. You should see a message that you are signed in to developer mode.

Return to home page settings, you should have a new item “For developers”. Enable "OEM Unlocking" if this option exists (if not, don't worry - this item is only on some phones).

Then turn on USB Debugging. Enter a password or PIN if required.

Once you've done that, connect your phone to your computer. You will get a window on your phone asking "Enable USB Debugging?". Check the "Always allow this computer" box and click OK.

Step 2Download TWRP for your smartphone

You need to go to the TeamWin website in the devices section. Find your device model and click on it to download TWRP.

This page usually contains Important information about the device that you need to know. If you don't understand something, you can find more information on the XDA Developers forum.

Go to the "Download Links" section and download the TWRP image. Copy it to the folder where ADB is installed and rename the file to twrp.img. This is necessary so that the installation command can be written faster.

Step 3: Enter Bootloader Mode

To install TWRP recovery on android, you need to enter bootloader mode. This is done differently on all phones, perhaps a Google or Yandex search will help you to find out how this is done on your device. On many devices, this method helps: turn off the phone, hold down the power button and the volume down key for 10 seconds, then release them.

You have entered bootloader mode if you see an image similar to the following:

Your phone's bootloader may look a little different (in HTC on a white background, for example), but it usually contains roughly the same text.

Step 4: How to install TWRP Recovery on Android

Once you enter bootloader mode, connect your phone to the computer using USB cable. Your phone should show that the device is connected. On your computer, open the folder where you installed ADB and press Shift+Right Click on an empty space and select "Open Command Window". Then run the following command:
fastboot devices
The team must return serial number your device, indicating that it is recognized. If the serial number is not found, then go back to the first step and make sure everything was done correctly.

If your device has been recognized, then it's time to install TWRP. Run the following command:
fastboot flash recovery twrp.img
If everything goes well, you will see a success message on the command line:

Step 5Boot in TWRP Recovery Mode

Disconnect the phone from the computer and by controlling the volume down key go to the "Recovery" item. Press the volume up button or the power button (depending on your phone) to select it. Your phone will boot into TWRP.

If TWRP asks for a password, then enter the password or PIN you use to unlock your phone. This is needed to access the memory.

TWRP may also ask if you want to use it in "Read Only" mode. This mode means that all changes will be deleted after reboot. If you are not sure, then click on "Keep Read Only". You can always repeat step 3 and 4 this manual to reinstall TWRP when needed.

When you're done you will see main screen TWRP. You can use it to create a "Nandroid" backup, restore a previous backup, install custom firmware, and much more.

Now the most important thing is to backup your phone before making any changes.

Click on the "Backup" button in the main menu of TWRP. Select "Boot", "System", "Data" and swipe the slider at the bottom of the screen. You can also change the name of the backup by clicking on it.

Please wait while the backup is created. When the process is over, return to the menu Reserve copy. Uncheck all options and scroll down. If you have special section after "Recovery", such as WiMAX, PDS, or EFS, check them and make another backup. This section usually contains your EFS or IMEI information which is very important. If someday this information is damaged, then the data transfer will not work for you, and with a backup copy you can restore everything.

And lastly, if TWRP asks if you want to get superuser rights and install SuperSU, click "Do Not Install". Better to install latest version this application than the one offered by TWRP.

Once you've made a backup, you can start exploring TWRP, get superuser rights, install custom firmware, or download Android OS. Remember: make a backup before making any changes in TWRP, it will help you restore your phone if something goes wrong.

Google is actively improving the security of the Android OS and introducing such "anti-theft" protection as linking the device to a Google account. In this article, we will understand how to bypass a Google account after a reset.

Before you start re-reading the article! Read the comments first, and then carefully the entire article!

A little background

With each new release of Android, Google is trying to raise the security level of this mobile operating system and is introducing new protection mechanisms.

So, since Android 5.1 Lollipop, a new anti-theft mechanism has been added, the essence of which is as follows: the owner of a smartphone or tablet, after purchase, links the device to his Google account. If the device is suddenly stolen and the attacker erases all the data, then he will run into the protection of Google Device Protection called Factory Reset Protection or FRP.

But not everything went as smoothly as you would like, if you bought a phone from your hands or forgot your account and performed a reset, then naturally you fall for FRP protection. You need to reset your Google account!

Workarounds
Google account after reset

If viewed globally, there are two options for resetting protection:

  • Official
  • Unofficial (bypass Factory Reset Protection)

Let's first look at the official FRP reset option or how not to get into this problem when resetting, and then we will consider all the ways to bypass Factory Reset Protection.

Official Reset/Bypass FRP

  1. Enter your account login and password google records which was before the reset, if the device was bought with hands, then ask for this information
  2. From the computer go to settings Google account and
  3. If you have receipts and warranty cards, contact the service center
  4. When replacing key modules or system board smartphone or tablet

To completely disable Factory Reset Protection/FRP


If after the reset Andoid does not accept the password

If you are after the reset android settings if you are trying to enter your Google account, but you can’t go further, then most likely you reset your password not so long ago, if so, then wait 24-72 hours, then try again.

Bypass Factory Reset Protection / FRP or how to bypass Google Account? (Unofficial)

Below will be suggested many methods on how to unofficially bypass FRP protection, you just have to try each one in order to end up with a working Android.

Option 1 Bypass Google Account After Reset

  1. Insert a SIM card into the device on which you want to delete your Google account
  2. Call to given Android device
  3. Accept the call and click add new call
  4. In the dialers, write any numbers and "Add a number to an existing account"
  5. Enter your Google account details
  6. Save contact in your account
  7. Restart Android

Option 2 Bypass Google Account After Reset

  1. Insert sim card into locked android
  2. Call this device
  3. Accept call and create/add new call
  4. In the dialers we dial the following engineering code *#*#4636#*#*
  5. After typing, your Android should automatically jump to the advanced settings menu
  6. Press the back button and we find ourselves in the settings menu
  7. Go to the section " Recovery and reset" or " Backup and Restore«
  8. Disable "Data backup" and everything related to data recovery
  9. Performing a factory reset
  10. At initial setup devices enter your account

Option 3 Bypass Google Account After Reset

If your android device supports Fastboot, you can try to execute FRP reset through him.

For this you will need:

  1. A computer
  2. Installed
  3. per device
  4. Transfer device to

Then you can enter the following commands:

fastboot oem clean_frp

or run this command

fastboot erase persistent
fastboot erase frp
fastboot erase config

Option 4 Bypass Google Account After Reset

After the reset, you need to try to enter the settings menu, after which you will need:

  1. A computer
  2. Installed
  3. per device
  4. Connect Android to computer and run ADB RUN

Then enter the following commands:

adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1

adb shell am start -n com.google.android.gsf.login/

adb shell am start -n com.google.android.gsf.login.LoginActivity

For this method you'll need official firmware for installation using a computer. This firmware should contain a scatter.txt file.


Option 7 Bypass Google Account After Reset

  1. We install the SIM card, turn on Android and get to google input account
  2. From another phone, we call the installed Sim in a blocked Android, receive a call, hold the center key until Google Now, end the call from another device
  3. Click on the button Back, in the search bar, enter the word "settings" and go to them
  4. Next, we move to the “restore and reset” section and turn off all the checkboxes and reset Android settings

Option 8 Bypass Google Account After Reset

Option 9 Bypass Google Account After Reset

For this method, you need to have:

  • Ability to install an SD card
  • Download and dump the file to the memory card

Then put Android into Recovery mode and flash the FRP-False.zip file.

Option 10 Bypass Google Account After Reset

  1. Connecting to Wi-Fi
  2. When the network check starts, go back
  3. Choose another wifi network, no matter what
  4. In the password entry field, we type absolutely any characters, after which we select them, and click on the three dots (additional menu) and “Show hints”
  5. In Google we write "SETTINGS" and open the phone settings
  6. Next, select "Restore and Reset" -> "Reset DRM Licenses"
  7. Back to WiFi connection, connect and enter a new account

Option 11 Reset FRP. For Xiaomi

  1. Choose a language
  2. Select region (country of residence)
  3. Connect via Wi-Fi to the Internet
  4. Go back to the beginning with the back key
  5. Hold on the welcome page with 2 fingers until on. talkback
  6. Draw the letter L on the screen
  7. Select your TalkBack settings
  8. Hold down the volume keys at the same time and turn off TalkBack
  9. Scroll to the bottom and select "Help Feedback"
  10. Start the video clip and go to YouTube (press three dots when going)
  11. We find the video where there is a link in the description (almost all Android videos +1)
  12. Click on the link and then three dots, launch Chrome
  13. Sign in to Chrome, skip signing in
  14. We type in the search " quickshortcutmaker «
  15. Download found application
  16. Start Installing App > Allow Apps to be Installed
  17. Download the app again and install it
  18. Launch the application
  19. Turn on voice search and find "Settings"
  20. Select View
  21. Go to the settings in the menu "About phone"
  22. Press quickly seven times on the item " Miui version» 7 times
  23. Come back
  24. Go to "Advanced Settings" > "For Developer"
  25. Select "factory unlock"
  26. Come back
  27. the "Backup and Reset" menu and reset

Do you have any further questions? Write them in the comments about what you did or vice versa!

Some users are scattered. They periodically forget their passwords and logins. Often this situation arises when buying used phones. When trying to connect, a new Google account is required. As a result, many people ask this question: "I can't sign in to my Google account! What should I do?".

The concept of "Google"-account

Google account is account a specific user on Google. It is created during registration on the respective site. With it, the user gets the opportunity to use mail, disk, social network Google+, YouTube video hosting, and other Google services. Besides, this account required by users and tablets with installed Android OS.

This system is created by the aforementioned corporation, therefore, in order to prevent theft, or taking into account permanent use gadget, the manufacturer links them to a specific Google account. It is the latter circumstance that is most often the reason that they cannot enter the Google account.

The main reasons for not being able to log into your account

The first reason is user forgetfulness. There are those who create an account, do not use it for a long time, so they safely forget the password. However, it is quite easy to restore it. To do this, when registering, you need to specify an e-mail or mobile number, where a message will be sent if you click on the "Forgot password" link.

The same problem applies to forgetting the login as well. Recovery works in a similar way. When registering, indicate your real full name, because when you restore your login, they will ask you for them, and if you entered fictitious data, you are unlikely to remember them. If you remember, you will receive a confirmation code (by mail or phone), after which you will be able to log into your account.

If you receive a message that such a user is not registered with Google, then check all the data, including the backup e-mail, remember if your phone number has changed, and if so, is it available at the moment.

Sometimes when you log into your account through a browser, you may receive a message that disabled Cookies. You need to enable them. The order in which they are enabled is different for each browser. If this does not help, you need to clear the browser cache.

By following these simple instructions, you can save yourself the question of what to do if I can’t log into my Google account.

If the account is blocked, then it will take longer to restore it.

Login with mobile phone

To sign in to your Google account with mobile phone preinstalled operating system Android, you need to go to your phone's settings, open it in "Accounts", then click on "Add account". Some models offer to add accounts not only to Google, but also to others. We click on Google, after which a menu appears in which we enter the username and password. Here you can also create a new or primary account if it has not been created yet.

If you enter the registration data correctly, you will log into your account, and this data will be used by your gadget.

Thus, the answer to the question on the phone?" will be quickly found.

Logging in after using the factory reset feature

After the release of Android 5.1, gadgets based on it received a feature that should help protect them from being used in case of theft or loss. The meaning of this function boils down to the fact that the gadget asks, after applying the reset function, to log into your Google account. If you remember all the details of your account, this is your phone, and not bought with it, then solving the problem is not difficult. Just enter your details and that's it.

For different models Gadgets have their own ways to get around Google's protection. It is impossible to consider them all within the framework of one article. Here are some universal ways, but without a guarantee that they will work on a particular model.

  1. We insert our SIM card into the locked gadget, call it, accept the call, click on "Add new call". In the set of numbers, randomly click on the numbers, click on "Add a number to an existing account", after which you should be prompted to add a "Google" account, enter this data, reboot, after saving the randomly dialed number in your account.
  2. Until the first click (the first 3 steps), we repeat the steps of the first method. In the set of numbers, press *#*#4636#*#*, as a result you should get to the advanced settings menu, click "Back", go to the settings menu, select "Backup and restore" or "Restore and reset", turn off the restore functions , including data backup, restore factory settings (re-reset), after downloading, enter your "Google" account.

Thus, if you cannot log into your Google account after resetting the settings, you need to try these two methods. If this does not help, try looking for instructions for your gadget on your own on the Web. It may require installation third party programs, Fastboot support.

Finally

Finding a solution to the problem "I can't sign in to my Google account" is actually easy. In this article, we have described several effective ways. First try to remember your username, password, contact Google for help. If you can't unlock your phone after applying a factory reset, try applying various ways to regain access.

Liked the article? Share with friends!
Was this article helpful?
Yes
Not
Thanks for your feedback!
Something went wrong and your vote was not counted.
Thank you. Your message has been sent
Did you find an error in the text?
Select it, click Ctrl+Enter and we'll fix it!