sodcalculator

10 Tech How-To

Unlock Android Phone After Too Many Pattern Attempts

Guide 10-8947 · Updated · Step by step

If you’ve entered the wrong unlock pattern too many times, your Android phone will lock you out, often showing a message like “Too many pattern attempts” and forcing a 30-second wait. This guide shows how to regain access without a factory reset, preserving your apps, photos, and settings. You’ll need your Google account credentials (the one linked to the phone) and access to a web browser on another device or the phone’s emergency dialer.

What You’ll Need

  • The Google account email and password that was last synced on the phone (if using the Google account unlock method).
  • A device with internet access (computer, tablet, or another phone) to visit the Google Find My Device website.
  • Your phone’s lock screen PIN or password if you have a backup method set up (some phones allow using a PIN after pattern attempts are exhausted).
  • A USB cable and a computer (only if the ADB method applies to your device).

Step-by-Step

  1. Wait out the lockout timer. After several failed attempts, Android displays a countdown (usually 30 seconds). Wait for it to finish before trying again. Do not keep tapping the screen; it may extend the lockout.
  2. Try the “Forgot pattern” option. After the timer ends, tap “Forgot pattern” on the lock screen. You’ll be prompted to enter your Google account credentials (email and password) for the account that was previously synced on the phone. If you remember them, enter them and follow the prompts to set a new pattern.
  3. If that fails, use Find My Device (formerly Android Device Manager). On a computer or another device, go to google.com/android/find and sign in with the same Google account that is on the locked phone. Select your phone from the list. In the device menu, choose “Lock” (or “Secure device”). You’ll be asked to set a temporary password (at least 6 characters). Enter a new password (not your pattern) and confirm. This will remotely set a new lock screen password on your phone.
  4. Unlock with the temporary password. On your phone, you should see a notification or the lock screen will now accept the temporary password you just set. Enter it to unlock the phone. Then go to Settings > Security > Screen lock and change it back to a pattern you’ll remember.
  5. If Find My Device doesn’t work, try the “Emergency call” trick (older Android versions). On the lock screen, tap “Emergency call” and then dial a dummy number (e.g., 12345). Press the back button or the home button. Sometimes this bypasses the lockout timer and lets you try the pattern again. This is not guaranteed on newer versions.
  6. Use ADB (if you had USB debugging enabled). If you previously enabled Developer Options and USB debugging, connect your phone to a computer with the Android SDK installed. Open a command prompt and type: adb shell rm /data/system/gesture.key (for pattern) or adb shell rm /data/system/password.key (for PIN/password). Then reboot the phone. The lock screen should be gone. This only works if you had ADB access before the lockout.
  7. As a last resort, consider a factory reset. If none of the above work, you may have to reset. But before you do, check if your phone has a “Smart Lock” feature (e.g., trusted device or location) that might auto-unlock. Also, if you have Samsung, you can try “Find My Mobile” (Samsung’s equivalent) to unlock remotely.

Common Mistakes

  • Entering the pattern too quickly. After a lockout, the screen may still register touches as you’re trying to enter the pattern. Wait a few seconds after the timer ends.
  • Using the wrong Google account. The “Forgot pattern” option only works with the account that was last synced. If you have multiple Google accounts, try the one you used most recently.
  • Ignoring the lockout timer. Tapping repeatedly during the countdown can reset it to a longer timer.
  • Assuming Find My Device works instantly. It requires your phone to be connected to the internet (Wi-Fi or mobile data). If the phone is offline, it won’t work.
  • Setting a temporary password that’s too short. Find My Device requires at least 6 characters. Use a simple one like “temp123” to avoid forgetting it.

Tips

  • Enable Smart Lock (Settings > Security > Smart Lock) to keep your phone unlocked when it’s on your body or at home, reducing the chance of lockouts.
  • Use a pattern you can remember but not easily guess. Avoid simple shapes like “L” or “Z”.
  • Back up your phone regularly to Google Drive or your computer so a factory reset isn’t catastrophic.
  • If you use a PIN or password instead of a pattern, the same “Forgot pattern” option may appear as “Forgot PIN” or “Forgot password” – the process is similar.
  • Keep your Google account recovery options updated (phone number, backup email) so you can verify your identity if you forget the password.

Troubleshooting

  • “Forgot pattern” doesn’t appear. This option only appears after several failed attempts. If it doesn’t show, wait a few minutes and try again. On some devices, you may need to tap “Try again” after the timer ends.
  • Find My Device shows “Couldn’t lock device.” Ensure your phone is powered on, has an internet connection, and is linked to the Google account you’re using. If it’s been more than a few minutes, try refreshing the page.
  • The temporary password doesn’t work. Sometimes the remote lock takes a moment to apply. Wait 30 seconds and try again. If it still fails, reboot the phone (hold power button) and try again.
  • ADB says “device not found.” Make sure USB debugging was enabled before the lockout. Also, you may need to accept the RSA key fingerprint on the phone when you first connected – if you didn’t, ADB won’t work.
  • You can’t remember your Google password. Use the “Forgot password” link on the sign-in page to reset it. You may need access to your recovery email or phone number.
  • None of the methods work. If you’ve exhausted all options, you may need to perform a factory reset via Recovery Mode (usually by holding Volume Up + Power while the phone is off). This will erase all data, but it’s the only way to regain access if you can’t verify your identity.

Frequently Asked Questions

Will I lose my data if I unlock without a factory reset?

No, all the methods described (Google account, Find My Device, ADB) preserve your data. Only a factory reset erases everything.

How many pattern attempts do I get before lockout?

Typically 5 attempts, then a 30-second lockout. After 10 attempts, the phone may lock for longer or require your Google account.

Can I unlock if I don’t remember my Google account password?

You’ll need to recover your Google account password first, using the “Forgot password” link. Without that, you cannot use the Google account or Find My Device methods.

Does Find My Device work if my phone is offline?

No, the phone must be connected to the internet (Wi-Fi or mobile data) to receive the remote lock command. If it’s offline, you’ll have to wait until it’s back online.

Is the ADB method safe?

Yes, if you follow the command exactly. It only removes the lock screen file, not your data. However, it only works if you had USB debugging enabled before the lockout.

What if I have a Samsung phone?

Samsung has its own remote unlock service called “Find My Mobile” (findmymobile.samsung.com). Sign in with your Samsung account and select “Unlock” to remove the lock screen remotely.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →