Every guide lists its sources, tips, and warnings. Read our editorial policy.

How to Fix Custom Binary Blocked by FRP Lock on Samsung Phones

The bootloader refuses custom firmware while the device is still bound to a Google account, and that is what Custom binary blocked by FRP lock means. Nothing was written to the phone. Only signing in with the bound account clears FRP, so establish which account that is before you try anything else.

Download checklist (PDF)

You put the phone into download mode to flash a custom build and the bootloader answers with Custom binary blocked by FRP lock. The phone still boots, the data is untouched, and no amount of retrying changes the answer. FRP is account binding enforced by the bootloader, and it is cleared by credentials rather than by software.

Quick steps

  1. Confirm the message comes from the bootloader
  2. Separate FRP from OEM lock
  3. Establish which account the device is bound to
  4. Check whether the warranty bit is already tripped
  5. Recover the bound account's password
  6. Complete any two-step challenge first
  7. Flash the official firmware for your model if you need it to boot
  8. Match the region code to the phone's CSC
  9. Ignore every paid unlock service
  10. Use the manufacturer's ownership verification if the account is not yours
  11. Sign in over Wi-Fi, not a captive portal
  12. Remove the account before any future reset

Things you'll need

  • The Google account that was signed in before the reset, and its password
  • Access to a device you still control for two-step verification
  • A Wi-Fi network without a captive portal
  • About 30 minutes, plus waiting if a password needs recovery

Step-by-step

Section 1

Method 1 of 2: Understand the Lock, Then Get the Credentials

Step 1: Read the Message as a Bootloader Refusal, Not a Software Bug

"Custom binary blocked by FRP lock" comes from the bootloader, before Android starts. The bootloader checked the signature on the image you are trying to flash and refused it because the device is still protected by a bound Google account. Nothing has been written. The phone is exactly as it was, and that is why it still boots to the same screen.

Reference: AOSP — Verified Boot · Related guide: SW REV CHECK FAIL and FAIL Auth in Odin · On 52runoob — Google Play Error 403 When Downloads Are Blocked

Step 1: Read the Message as a Bootloader Refusal, Not a Software Bug

Step 2: Separate FRP From OEM Lock, Because They Are Different

FRP is account binding and it survives a factory reset. OEM lock is the bootloader's own signature check on boot and recovery images. A phone can have OEM unlock enabled and still be FRP-locked, and that combination is exactly what produces this message when you try to flash custom firmware. Flashing cannot clear FRP.

Reference: AOSP — Device state · Related guide: Your Device Is Corrupt: dm-verity Error on Android · On 52runoob — Unknown Baseband and Null IMEI After Flashing

Step 2: Separate FRP From OEM Lock, Because They Are Different

Step 3: Confirm Which Account the Device Is Bound To

The phone remembers the last account that was signed in before the reset, and it will ask for that account's credentials. If you bought the phone second-hand, that is the previous owner's account and no local step will help. Establish this early, because it decides whether you have a technical problem or a documentation problem.

Reference: Google Account Help — Find, secure or erase a lost Android device · Related guide: Wi-Fi Authentication Error and Obtaining IP Address Loop · On 52runoob — Emeregency Calls Only After an eSIM Transfer

Step 3: Confirm Which Account the Device Is Bound To

Step 4: Check Whether the Phone Ever Booted With a Modified System

A phone that has already run unofficial firmware has tripped the warranty fuse, and the bootloader reports that permanently. That is a separate state from FRP and it cannot be reset. Knowing whether it is tripped tells you what a service centre will say before you spend money on the visit.

Reference: AOSP — Boot flow · Related guide: Your Device Is Corrupt: dm-verity Error on Android · On 52runoob — SW REV CHECK FAIL and FAIL Auth in Odin

Step 4: Check Whether the Phone Ever Booted With a Modified System

Step 5: Get the Account Credentials, Which Is the Only Real Fix

FRP is cleared by signing in with the bound account, and by nothing else. Recover the password if it is forgotten, and complete any two-step challenge on a device you still control. Do this before you try anything else, because every failed attempt increases the wait on the next one and none of them can work.

Reference: Google Account Help — Tips to complete account recovery · Related guide: Cannot Connect to the App Store · On 52runoob — Wi-Fi Authentication Error and Obtaining IP Address Loop

Step 5: Get the Account Credentials, Which Is the Only Real Fix

Step 6: Restore the Original Firmware Instead of Custom

If the phone's own signed firmware is what you were trying to replace, flash the official build for your exact model and region. Signed images from the manufacturer pass the bootloader check, so they install even while FRP is active. That gets the phone booting, and it does not clear FRP, so you still need the account afterwards.

Reference: AOSP — Flash with fastboot · Related guide: SW REV CHECK FAIL and FAIL Auth in Odin · On 52runoob — Unknown Baseband and Null IMEI After Flashing

Step 6: Restore the Original Firmware Instead of Custom
Section 2

Method 2 of 2: Restore the Right Firmware and Clear the Lock

Step 7: Match the Region Code Before You Download Anything

The region code in the firmware has to match the phone's own CSC, or the flash refuses with a different error. Read the current CSC from download mode first, then download the build that matches it exactly. A mismatch looks like a lock failure but is actually a validation failure.

Reference: AOSP — Partitions overview · Related guide: SW REV CHECK FAIL and FAIL Auth in Odin · On 52runoob — Your Device Is Corrupt: dm-verity Error on Android

Step 7: Match the Region Code Before You Download Anything

Step 8: Avoid Every Paid Unlock Service You Will Be Offered

Search for this message and you will find dozens of paid "FRP bypass" tools. They either do not work, or they install software on the phone that you cannot remove, or they take your money and disappear. None of them can clear a server-side account binding. Treat the search results as the scam market it is.

Reference: AOSP — Android security features · Related guide: Google Play Error 403 When Downloads Are Blocked · On 52runoob — Chrome Using Too Much RAM on an Android Phone

Step 8: Avoid Every Paid Unlock Service You Will Be Offered

Step 9: Use the Manufacturer's Own Repair Channel

If the account belongs to someone you cannot reach, the manufacturer can clear the lock when you can prove ownership with the original receipt. That is the legitimate route and it costs nothing beyond the visit. Bring the receipt, the box if you have it, and the IMEI.

Reference: Android Help — Contact your device manufacturer or carrier · Related guide: Wi-Fi Authentication Error and Obtaining IP Address Loop · On 52runoob — How to Transfer Photos From Phone to Computer

Step 9: Use the Manufacturer's Own Repair Channel

Step 10: Sign In on Wi-Fi, Not on Mobile Data Alone

The verification step needs a stable connection because it completes a server handshake, and some carrier profiles restrict it until the phone is activated. Use Wi-Fi on a network without a captive portal. A hotel or airport portal that intercepts the first request will fail the handshake.

Reference: Google Account Help — Sign in with Google prompts · Related guide: Wi-Fi Authentication Error and Obtaining IP Address Loop · On 52runoob — Set Up a Home Wi-Fi Network

Step 10: Sign In on Wi-Fi, Not on Mobile Data Alone

Step 11: Remove the Account Before the Next Reset, Not After

FRP exists because people reset a phone without removing the account first, and then cannot prove it was theirs. Remove the account in Settings before any reset, wipe, or sale. This is the step that prevents the whole situation, and it takes thirty seconds.

Reference: Android Help — Add or remove an account on Android · Related guide: Android Phone Still Slow After a Factory Reset · On 52runoob — Free Up Storage on Your Phone

Step 11: Remove the Account Before the Next Reset, Not After

Step 12: Check the Phone Boots Before You Trust It

After a firmware restore, let the phone boot fully and complete setup before you restore a backup. A phone that boots to setup is fixed. A phone that boots back to the lock means the restore did not take, and repeating it will not change that. Test before you invest time in restoring data.

Reference: Android Help — Back up or restore data on your Android device · Related guide: Unknown Baseband and Null IMEI After Flashing · On 52runoob — Android Phone Slow Immediately After a Major OS Update

Step 12: Check the Phone Boots Before You Trust It

Tips

  • FRP is account binding. OEM lock is the bootloader's signature check. They are separate states.
  • Flashing cannot clear FRP. Only signing in with the bound account can.
  • Official signed firmware installs while FRP is active. Custom images never do.
  • The region code in the firmware must match the phone's own CSC or the flash fails validation.
  • Removing the account before a reset prevents this entirely, and it takes thirty seconds.

Warnings

  • Paid FRP bypass services are a scam market. None of them can clear a server-side account binding, and some install software you cannot remove.
  • A phone that has already run unofficial firmware has a tripped warranty bit that cannot be reset, even by a service centre.
  • If the account belongs to someone else, do not attempt to get around it. Use the manufacturer's ownership verification instead.
  • Every failed verification attempt increases the wait before the next one, so get the credentials right first.

Frequently asked questions

Does flashing firmware clear FRP?

No. FRP is an account binding enforced before Android starts, and flashing writes partitions rather than accounts. Only signing in with the bound account clears it.

Why did this happen if I never set up a lock?

FRP attaches automatically when a Google account is added. Any account on the phone creates the binding, whether or not you enabled any extra security.

Can a service centre remove it?

Yes, if you can prove ownership with the original receipt and the IMEI. That is the legitimate route and it does not require anything unofficial.

Is OEM unlock the same as FRP?

No. OEM unlock lets the bootloader accept unsigned images. FRP binds the device to an account. A phone can have one without the other, and this message means FRP is the one blocking you.

References

  1. Android Open Source Project — Verified Boot. https://source.android.com/docs/security/features/verifiedboot
  2. Android Open Source Project — Device state. https://source.android.com/docs/security/features/verifiedboot/device-state
  3. Android Open Source Project — Boot flow. https://source.android.com/docs/security/features/verifiedboot/boot-flow
  4. Android Open Source Project — Flash with fastboot. https://source.android.com/docs/setup/build/running
  5. Google Account Help — Find, secure, or erase a lost Android device. https://support.google.com/accounts/answer/6160500
  6. Google Account Help — Tips to complete account recovery steps. https://support.google.com/accounts/answer/7299973

Every guide is reviewed against its sources. See our editorial policy.

Reader comments

0 so far

Finished this guide? Tell other readers what worked, what didn't, and what you would change.

Be kind and constructive. Comments are published instantly.