keepcalculator

06 Numbers and Powers

Custom Binary Blocked by FRP Lock? Fix It Now

Card No. 06·55475 · Updated · Standard formula, shown below

If you see “Custom binary blocked by FRP lock” on a Samsung phone, the device’s FRP (Factory Reset Protection) is preventing you from flashing custom firmware. The fix is to remove the Google account tied to the phone before flashing, or use the correct combination firmware to reset FRP. This article explains why the error occurs and the safe ways to resolve it.

What Does “Custom Binary Blocked by FRP Lock” Mean?

FRP is a security feature introduced by Google on Android 5.1 and later. It requires the Google account that was last synced on the device to be entered after a factory reset. Samsung adds an extra layer: if you try to flash a custom binary (like TWRP, a custom ROM, or even an older official firmware) while FRP is active, Odin shows the “Custom binary blocked by FRP lock” error and aborts the flash. This prevents unauthorized access to your data and Google services.

Why Does This Error Appear?

The error is triggered when you attempt to flash a binary that is not the exact stock firmware for your device, and the FRP flag is still set. This flag is set when a Google account is added to the phone and remains active until you remove it via Settings > Accounts. Even if you do a factory reset from the recovery menu, the FRP flag persists until the Google account is removed or the phone passes the setup wizard with the correct credentials.

How to Fix the Error (Step-by-Step)

Follow these steps in order. The first method is the only one that preserves your data and is fully safe.

  1. Remove the Google account: Go to Settings > Accounts and Backup > Accounts, select your Google account, and tap Remove Account. This clears the FRP flag.
  2. Re-enable OEM unlocking: In Settings > Developer Options, enable “OEM unlocking.” If it is greyed out, you may need to wait 7 days after the last unlock, or remove your Google account first.
  3. Flash the correct firmware: Download the exact stock firmware for your model and region from a trusted source. Use Odin (Windows) or Heimdall (Linux/macOS) to flash it. If you want to flash a custom binary, you must first flash stock, boot once, remove the FRP, and then flash the custom binary.

If you cannot remove the Google account because you forgot the password, you have two options:

  • Use “Forgot password” on the Google sign-in page to recover the account.
  • Flash combination firmware (also called “combination file”) using Odin. This is a special firmware that lets you access a hidden menu to reset FRP. It is model-specific and often requires a paid service or a deep knowledge of Samsung firmware.

What Is Combination Firmware and Is It Safe?

Combination firmware is a factory-level binary that Samsung uses for testing. It boots to a special engineering menu where you can run commands to wipe FRP data. It is not a full OS, so you must flash the stock firmware afterward. Using it is safe if you get the correct file for your exact model (e.g., SM-G991B) and follow instructions carefully. However, flashing the wrong combination file can hard-brick your phone. Only use files from reputable sources and double-check the model number.

Common Mistakes and Misconceptions

  • Myth: FRP can be bypassed by just flashing a custom ROM. Actually, most custom ROMs require the bootloader to be unlocked, and the FRP flag blocks that if it is set.
  • Mistake: Using the wrong Odin version. Odin 3.13 or higher is needed for newer Samsung devices. Older versions may not recognize the device or may fail with the FRP error.
  • Mistake: Not waiting for the 7-day lockout. After you disable OEM unlocking, Samsung enforces a 7-day wait before you can re-enable it. Trying to flash during this period will fail.
  • Mistake: Flashing a binary from another region. Firmware is region-specific. Using a binary from a different carrier or country can cause the FRP error or other issues.

What to Do If You Are Still Blocked

If the error persists after removing the Google account and enabling OEM unlocking, the FRP flag may be corrupted. Try these steps:

  1. Perform a factory reset from recovery (Volume Up + Power on most Samsung devices) and set up the phone without adding a Google account.
  2. If that fails, flash the stock firmware with Odin again, but this time use the “CSC” file (not HOME_CSC) to wipe the device completely.
  3. If the error still appears, the device may have a hardware issue or a corrupted eMMC. In that case, contact a professional repair service.

Alternatives to Flashing Custom Binaries

If you only want to remove bloatware or get root access, consider these less risky alternatives:

  • Use ADB to disable packages (no root required) for system apps.
  • Use a custom launcher to change the look without flashing.
  • Use Samsung’s official “Good Lock” app for customization.
  • Consider a carrier-unlocked phone if you need bootloader access for development.

Frequently Asked Questions

Does this error mean my phone is permanently bricked?

No. The error is a security block, not a hardware failure. You can always restore the phone by flashing the correct stock firmware with Odin, provided you have the right files and follow the steps.

Can I bypass FRP without a Google account?

If you have physical access to the phone and you know the PIN/pattern, you can remove the Google account from Settings. If you don’t know the account credentials, you cannot bypass FRP legally. Combination firmware is the only technical workaround, but it requires the exact file and may be considered unauthorized.

Why does OEM unlocking take 7 days?

Samsung enforces a 7-day wait after you first disable OEM unlocking to prevent thieves from quickly unlocking the bootloader. This is a security measure that you must wait out.

Will flashing a custom ROM void my warranty?

Yes, flashing any custom binary trips Knox, which permanently voids the Samsung warranty and disables Samsung Pay and Secure Folder. This is irreversible.

Can I use the same fix for any Samsung model?

The general steps are the same, but the exact key combinations and firmware files vary by model. Always search for your specific model number (e.g., SM-G991B) to get the correct files.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →