Advertisement
If you're locked out of an Android phone you own, your options in order of data preservation are: 1) Use Google's Find My Device to unlock remotely, 2) Use Android's built-in "Forgot PIN" flow after 5 failed attempts, 3) Boot to recovery and do a factory reset. FRP (Factory Reset Protection) locks added in Android 5.1 mean a reset requires the original Google account — there is no legal software bypass for modern FRP without the credentials.

How to Get Into a Locked Android Phone (Recovery Guide 2026)

Getting locked out of an Android phone happens more than you'd think: forgot a PIN after getting a new phone, took over a deceased relative's device, a kid changed the lock on a family tablet, touchscreen cracked and can't enter the PIN, phone is stuck in a reboot loop that bypasses the lock screen entirely. The reasons are endless.

This guide covers every legitimate method for recovering access to an Android device you own, ranked from least to most destructive (in terms of data loss). We'll also explain FRP — Factory Reset Protection — because it fundamentally changed what's possible when you wipe an Android device.

Disclaimer: This guide is for legitimate device owners recovering access to their own property. Bypassing security on a device you don't own is a federal crime under the CFAA. All methods described require either the device's Google account credentials or physical possession with knowledge that you are the owner.

Method 1: Google Find My Device (Preserves All Data)

If you have access to your Google account from a computer or another device, this is always the first thing to try. Google's Find My Device can remotely unlock your phone — but only if the phone is online.

  1. On a computer, go to android.com/find or search "Find My Device"
  2. Sign in with the Google account linked to the locked phone
  3. Select the locked device from the list
  4. Click Secure Device
  5. You can set a temporary recovery PIN that will unlock the device

This method works only if: the phone is powered on, connected to Wi-Fi or cellular data, and has Find My Device enabled (it's on by default). If the phone is offline or Find My Device was disabled, move to the next method.

Method 2: "Forgot PIN" After Failed Attempts (Preserves Data)

On most Android devices, after 5 consecutive failed PIN attempts, a "Forgot PIN?" or "Forgot Pattern?" link appears on the lock screen. Tapping it prompts you to sign in with your Google account. Once authenticated, you can set a new PIN.

Requirements:

Samsung alternative: Samsung devices use Samsung Find My Mobile. Go to findmymobile.samsung.com, sign in with your Samsung account, and use the "Unlock" feature from the web interface.

Method 3: Smart Lock Trusted Devices (Situational)

If you had Smart Lock enabled before getting locked out, the phone will automatically unlock when near a trusted Bluetooth device (like a smartwatch or car), on a trusted Wi-Fi network, or in a trusted location. If you're at home and set your home as a trusted place, walk to where you set it and the phone may unlock itself.

This is a long shot but worth trying before anything destructive.

Method 4: ADB for Broken Screen / Stuck Buttons

If your screen is cracked and you can't interact with the lock screen, but the phone is on, and you previously had USB Debugging enabled, you can interact with the phone entirely from a computer:

# Simulate a swipe to dismiss the lock screen
adb shell input swipe 300 1000 300 500

# Type the PIN (if numeric)
adb shell input text "1234"

# Press Enter
adb shell input keyevent 66

Critical requirement: USB Debugging must have been enabled BEFORE the lockout. If it wasn't, ADB won't work — Android won't accept commands from an unauthorized computer, and you can't authorize from a broken screen.

If the screen is cracked but still partially functional, you can try connecting to an external monitor via USB-C to HDMI adapter, or use a USB-C to USB-A OTG adapter with a mouse to navigate the lock screen.

Method 5: Factory Reset via Recovery Mode (Erases All Data)

When all else fails, a factory reset via Recovery Mode will wipe the phone and allow fresh setup. This erases all data on the device.

  1. Power off the phone completely
  2. Boot to recovery mode (button combination varies by device — see below)
  3. Use Volume buttons to navigate to Wipe data / Factory reset
  4. Use Power button to confirm
  5. Select Yes to confirm the wipe
  6. After the wipe, select Reboot system now

Recovery Mode Button Combinations by Manufacturer

Understanding FRP: The Factory Reset Protection Lock

Since Android 5.1 (Lollipop), Google added Factory Reset Protection (FRP). After a factory reset, the phone requires you to sign in with the Google account that was previously linked to the device during the 72-hour lockout window after the reset.

What this means practically: if you factory reset a phone and you don't know the Google account credentials, you will be locked out of the freshly wiped phone at the Google sign-in screen. The phone is effectively a brick until you provide the original credentials.

FRP exists to prevent phone theft — a stolen phone that gets wiped is still useless to the thief without the account credentials. This is good security. But it also means:

There are no legitimate software tools that bypass modern FRP on Android 11+. Videos claiming to show "FRP bypass without PC" or "FRP bypass APK" are either outdated (patched in 2018-2020) or malware.

How to Prevent Lockouts

The best time to set up recovery options is before you need them:

For understanding what happens at the hardware level when you interact with a locked bootloader, see our Android Security Guide. For using ADB to interact with devices in recovery mode, see the ADB command guide.

Android Recovery & Security Guide PDF

Complete guide: FRP bypass scenarios, ADB recovery commands, bootloader unlock walkthroughs, and backup strategies to prevent future lockouts.

cards
Powered by paypal

About the Author: Marcus Vance

Marcus Vance is a mobile security researcher with extensive experience in Android recovery procedures, bootloader analysis, and device forensics. He has helped document device recovery processes for lost and damaged Android phones and regularly contributes to open-source Android tools.