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.
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.
- On a computer, go to android.com/find or search "Find My Device"
- Sign in with the Google account linked to the locked phone
- Select the locked device from the list
- Click Secure Device
- 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:
- You know the Google account username and password associated with the device
- The phone must have internet access (it authenticates via Google's servers)
- Not available on all devices — Samsung and some other manufacturers removed this in favor of their own recovery systems
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.
- Power off the phone completely
- Boot to recovery mode (button combination varies by device — see below)
- Use Volume buttons to navigate to Wipe data / Factory reset
- Use Power button to confirm
- Select Yes to confirm the wipe
- After the wipe, select Reboot system now
Recovery Mode Button Combinations by Manufacturer
- Pixel: Hold Power + Volume Down
- Samsung: Hold Power + Volume Up + Bixby (older models: Power + Volume Up + Home)
- OnePlus: Hold Power + Volume Down
- Motorola: Hold Power + Volume Down, then select Recovery from bootloader menu
- LG: Hold Power + Volume Down, release and hold Volume Down when LG logo appears
- Xiaomi: Hold Power + Volume Up
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:
- Buying a used Android device? Make sure the seller signs out of their Google account and removes Device Protection BEFORE you take possession
- Recovering a deceased family member's device requires going through Google's account recovery process, which requires proof of death in some cases
- If you forgot your own Google account password, Google's account recovery (phone number, backup email, security questions) is the path forward
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:
- Enable Find My Device (Settings → Google → Find My Device)
- Keep your Google account password in a password manager
- Add a recovery phone number and email to your Google account
- Enable Smart Lock trusted places for your home
- If you enable USB Debugging, your computer is pre-authorized and you can use ADB from outside the lock screen
- Write down your PIN in a physically secure location — it sounds old-fashioned but it works
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.