DEV Community

SamFware
SamFware

Posted on

FRP lock after flashing: why your Galaxy asks for the old Google account, and what actually clears it

You flash a fresh firmware file, the phone boots, and instead of a clean setup screen you get a demand for the Google account that was on the phone before. That is Factory Reset Protection, and it surprises a lot of people because the flash itself went perfectly. The firmware is fine. The lock is doing exactly what it was built to do.

What FRP actually is

Factory Reset Protection is a security feature Google built into Android. When a Google account is signed in on a phone, the phone records it. If the phone is then reset in a way that bypasses the normal settings menu — a factory reset from recovery, or a fresh firmware flash — the setup wizard asks for that same account before it lets anyone in.

The idea is simple. A stolen phone should not become usable just because someone wiped it. The lock ties the device to its owner, not to whatever software is currently installed on it.

Why flashing triggers it

Flashing with Odin replaces the system software, but FRP status lives in a separate protected area of the phone, not in the system partition you just overwrote. So a successful flash does not clear it, and neither does flashing a second time.

That catches people out in two common situations. The first is flashing your own phone after a reset and forgetting which account was signed in. The second is buying a second-hand phone that was reset by its previous owner without removing their account first. In both cases the phone is working fine — it is simply waiting for proof of ownership.

What the prompt really means

The setup screen asking for the previous account is not an error message, and it is not a sign that the firmware file was wrong. It means the phone completed its setup checks and reached the account verification step. Everything up to that point worked.

This is also why repeating the flash, or trying a different firmware version, never helps. The lock is not in the firmware, so changing the firmware cannot remove it.

What legitimately clears it

There are only a few honest ways through, and they all come back to the same thing: proving the phone is yours.

The straightforward one is signing in with the Google account that was on the phone before the reset. If you have forgotten the password, Google's account recovery is the route — not a tool or a shortcut.

If you bought the phone second-hand, the previous owner is the person who can clear it, by signing in once or by removing the device from their Google account. That is worth sorting out before money changes hands, not after.

If neither of those is possible, a Samsung service centre can help with proof of purchase. They will verify ownership and handle it through official channels. It is slower than anyone wants, but it is the route that does not put the phone, or its owner, at risk.

What does not clear it

A factory reset from recovery does not clear FRP — that is one of the actions that triggers it in the first place. Neither does flashing stock firmware, a different region's firmware, or an older version. Any guide promising a one-click removal is selling something the phone's security was designed to resist, and the attempts themselves can leave the phone in a worse state than the lock did.

How to avoid it next time

Before you flash a phone or hand it to someone else, remove the Google account from Settings first, then do the reset from the settings menu rather than from recovery. That sequence tells the phone the reset was authorised, and FRP does not engage. It takes about a minute, and it saves a problem that can take days to untangle.

The same advice applies in reverse when buying used: ask the seller to sign out and reset the phone in front of you. If they cannot, or will not, that is information too.

The takeaway

FRP is not a flashing failure. It is a separate security layer doing its job, and it responds to proof of ownership, not to new firmware. Knowing that before you flash is what turns a worrying screen into a ten-minute sign-in.

For official stock firmware and step-by-step flashing guides, SamFware has the downloads and the walkthroughs in one place. If you want to read up before your next flash, SamFware is a good place to start.

Top comments (0)