Samsung Galaxy On5 SM-G5700 Firmware

Last Updated: July 7, 2026

Use this page to fix your SM-G5700 with the official Samsung Galaxy On5 SM-G5700 firmware. I have gathered the exact files, drivers, and steps you need to resolve boot issues, bypass locks, and restore the phone to a clean state.

⚡ At a Glance
Device: Samsung Galaxy On5 SM-G5700  |  Chipset: Qualcomm Snapdragon 617 MSM8952  |  Flash Tool: Odin
Android: Android 6.0.1 (Marshmallow)  |  File Type: .tar.md5 / ZIP (Contains AP, BL, CP, CSC files for Odin)
⚠ Warning: Flashing erases all data. Back up first.
Quick Summary
Device: Samsung Galaxy On5 SM-G5700 (Qualcomm Snapdragon 617 MSM8952)
Flash Tool: Odin
Latest Build: HU2BRH1
Firmware Files: 1 available
What You Need: Windows PC, USB data cable, Odin, USB drivers
Time Required: 10-20 minutes (plus 3-8 min first boot)

Samsung Galaxy On5 SM-G5700 Firmware (Flash File) Drivers, Tools & Guide

Flashing a Samsung phone can seem intimidating, but it is actually quite simple if you have the right files. I have put everything together on this page: the correct firmware file for the Samsung Galaxy On5 SM-G5700, the right Odin version, and the steps that work.

Before you start, remove any Samsung accounts. If you leave them signed in, you will trigger a Knox lock, which is a pain to fix later. Also, Samsung firmware comes in .tar.md5 format. After extracting the ZIP, you should see files named AP_*, BL_*, CP_*, and CSC_* (or HOME_CSC_*). If you do not see these, you have the wrong package.

There is currently only one official firmware build available for the Samsung Galaxy On5 SM-G5700. This is the stock ROM you should use for recovery, unbricking, or FRP bypass. Powered by a Qualcomm Snapdragon 617 MSM8952 (Qualcomm) processor, the Samsung Galaxy On5 SM-G5700 requires Qualcomm Flash Image Loader (QFIL) and Qualcomm HS-USB drivers. Make sure to install the correct driver package before connecting your device. The stock firmware ships with Android 6.0.1 (Marshmallow), which determines the default apps, security features, and interface you will see after flashing.

The files on this page are checked for integrity. Samsung firmware uses a multi-file system (AP, BL, CP, CSC) specific to Odin-based flashing, which differs from single-file scatter-based tools.

Your Samsung Galaxy On5 SM-G5700 firmware comes as a compressed ZIP file. Download and extract it using WinRAR or 7-Zip. After extracting, you should see files named like AP_*.tar.md5, BL_*.tar.md5, CP_*.tar.md5, and CSC_*.tar.md5 (or HOME_CSC_*.tar.md5). If you do not see these files, you may have the wrong firmware package for your device.

A full flash will erase everything on the device: apps, accounts, photos, and settings. That is the point, it gives you a clean slate and resolves issues like screen locks, FRP prompts, dead boot states, sluggish performance, and connectivity problems.


Hard Reset Samsung Galaxy On5 SM-G5700

To factory reset Samsung Galaxy On5 SM-G5700 without a computer, power off the device completely, then hold Volume Up + Power (for older models with a Home button, use Volume Up + Home + Power) at the same time until the recovery menu appears. Use the volume keys to navigate to “Wipe Data/Factory Reset” and confirm with the Power button.

A hard reset erases all data and restores Samsung Galaxy On5 SM-G5700 to its original factory state. This fixes most software problems, slow performance, app crashes, forgotten screen locks, and bootloops. If the issue persists after a factory reset, a full firmware flash using Odin is covered in the following sections.


Remove FRP Lock on Samsung Galaxy On5 SM-G5700

The fastest way to bypass FRP on Samsung Galaxy On5 SM-G5700 is to use a free Android apps launcher that lets you access settings during the setup wizard. After flashing or performing a factory reset you may see a Google account lock (FRP). Our free Android apps launcher is the fastest way to get past it. This is also why I always recommend removing your Google account before flashing, it avoids this problem entirely.


What Samsung Galaxy On5 SM-G5700 Firmware Fixes

Samsung devices like the Samsung Galaxy On5 SM-G5700 are flashed using Odin, regardless of the chipset inside. Whether you are dealing with a boot issue or a software problem, flashing the official firmware can resolve it:

  • Recover your device when it only boots into recovery mode.
  • Repair a phone that shuts down randomly or restarts in a loop.
  • Fix Wi-Fi, Bluetooth, or mobile data connectivity that stopped working after an update.
  • Clear a forgotten screen lock, PIN, or pattern without needing the original credentials.
  • Unlock your device if it has been locked or disabled.
  • Resolve touchscreen responsiveness issues caused by a corrupted system build.
  • Recover from KG lock or Knox-related issues after an incorrect or interrupted flash on your device.

Learn more about stock ROMs and why flashing works.


Which Firmware Version Does Your Samsung Galaxy On5 SM-G5700 Need?

The biggest mistake people make is flashing firmware meant for a different variant. Before downloading anything, verify your exact device identity:

  1. Identify Your Exact Model Number: Go to Settings › About Phone and note your full model number (e.g. SM-G5700). The letter suffix matters, U/U1 = USA, W = Canada, N = Korea, B/F = International/Global. Flashing firmware built for a different variant can cause issues.
  2. Match the CSC (Region): The 3-letter region code in the firmware filename must match your device. Check Settings › About Phone › Software Information for your current CSC, or look at the Service Provider line in Download Mode. Common codes: XAA (US), BTU (UK), INS (India), SER (Russia).
  3. Check the Binary Level: Look at the version string in your current firmware (e.g. XXU9BZDP, the number after the letters is the binary level). You cannot downgrade to a lower binary level. If your device is on Binary 9, only flash Binary 9 or higher firmware.
  4. Confirm the Build Date: The last 4 characters of the PDA version encode the build date, first character is the year (A=2024, B=2025, C=2026), second is the month (A=Jan through L=Dec).
  5. Verify in Download Mode: Power off, hold Volume Down + Power to enter Download Mode. This screen shows your exact model, CSC, and current firmware version, use this to confirm before flashing.
Samsung Galaxy On5 SM-G5700 firmware build number verification in recovery mode

Firmware Details for Samsung Galaxy On5 SM-G5700

Here is a quick overview of the official firmware specifications:

Firmware InformationDetails
Device ModelSamsung Galaxy On5 SM-G5700
Firmware VersionHU2BRH1
File Size1.9 GB
Android VersionAndroid 6.0.1 (Marshmallow)
PlatformQualcomm Snapdragon 617 MSM8952
Release DateCancelled
RegionTGY
File Type.tar.md5 / ZIP (Contains AP, BL, CP, CSC files for Odin)
Samsung Galaxy On5 SM-G5700 firmware flash file

Which Firmware Version Should I Download?

This is the question I get asked most often in the comments, so I put together a simple guide. Find your situation in the table and go straight to the right file:

Your Situation What I Recommend
Phone is completely dead or stuck on logoHU2BRH1, download this one. It is the latest Samsung Galaxy On5 SM-G5700 firmware available.
FRP / Google account lock onlySee the FRP bypass guide above, you likely do not need the full firmware for this.
Not sure which region/CSC to downloadCheck Settings › About Phone › Software Information for your current CSC, or enter Download Mode (Volume Down + Power), it shows the CSC on screen. Match the 3-letter code (e.g. XAA, BTU, INS) to the firmware filename.
Phone slow after a recent OTA updateTry the next older version, sometimes the latest OTA introduces new bugs and an older build runs better. Make sure the binary level is the same or higher than what your device currently has.
IMEI missing after a previous flashRe-flash HU2BRH1 first, then follow the IMEI repair guide. Do not skip the reflash.
HU2BRH1 failed with a flash errorTry the next older version instead and double-check your AP/BL/CP/CSC file assignments in Odin before assuming the firmware is the problem.
Restoring to factory / warranty repairHU2BRH1, clean state, fresh start.

To tell which Samsung firmware is newer, look at the last 4 characters of the PDA version string (e.g. S938BXXU9CZDP). The first character is the year (A=2024, B=2025, C=2026), the second is the month (A=Jan, B=Feb… L=Dec, Z=final stable), and the last two are the revision (0-9 then A-Z, where Z is highest). But before comparing dates, always check the binary level: the digit just before the date code (e.g. XXU9CZDP = Binary 9). You cannot downgrade to a lower binary level. If your device is on Binary 9, only flash Binary 9 or higher. Also make sure the 3-letter CSC code in the firmware matches your device region.


Download Samsung Galaxy On5 SM-G5700 Firmware

Download the official stock firmware for your Samsung Galaxy On5 SM-G5700 below. The latest available version is HU2BRH1. After downloading, verify the file size matches the table above, a size mismatch usually means a partial or corrupt download, and flashing a corrupt file can cause more problems than it solves.

Software DetailsDownload LinkMembers Link
File Name: G5700ZHU2BRH1_G5700ZZH2BRH1_TGY_4File.zip
Size: 1.9 GB
Download LinkDownload Link2

Only download firmware that is fully compatible with your exact device model. See the firmware selection guide above if you are not sure.

Important: The Samsung Galaxy On5 SM-G5700 (SM-G5700) should not be confused with other Galaxy On5 variants that may have different chipsets or regional firmware. Even devices in the same Galaxy On5 line can use completely different processors. Always verify your exact model code “SM-G5700” in Settings > About Phone before downloading any firmware from this page.

⚠ Wrong Firmware = Bricked Phone, Verify These First:
  • The model code on your phone must match SM-G5700 exactly. Even a single letter variant (like adding or dropping an “i” or “s”) can mean a different chipset inside.
  • Your chipset should be Qualcomm Snapdragon 617 MSM8952. Recovery mode shows this information if you are not sure.
  • Do not mix firmware from other download sites with the files on this page.
  • If the downloaded file is much smaller than what is listed in the table above, re-download it, partial files will fail.

Prerequisites for Samsung Galaxy On5 SM-G5700 Firmware

Go through this list before you open Odin for the Samsung Galaxy On5 SM-G5700. Two things that commonly cause problems with Samsung devices: a Samsung account that was not signed out before flashing, which can trigger KG lock, and a USB cable that works for charging but drops the connection mid-flash. Always use a proper data cable, not a charge-only cable.

  1. Back Up IMEI Numbers: Dial *#06# and write down both IMEI numbers now. You will need these if you need to restore your IMEI after flashing.
  2. Remove Google Accounts: Sign out of all Google accounts to prevent FRP lock after flashing.
  3. Remove Samsung Accounts: Sign out of all Samsung accounts to avoid KG lock.
  4. Back Up Your Data: Back up everything, photos, contacts, WhatsApp chats, important files. Flashing wipes the device completely.
  5. Charge Your Device: At least 50% battery. A device that powers off during a flash is very difficult to recover.
  6. USB Cable & PC: Use a proper data USB cable, not a charge-only cable, and a Windows computer with available USB ports.
  7. Install Required Drivers:

How to Install Firmware on Samsung Galaxy On5 SM-G5700

We are using Odin for this. A quick tip: keep “Auto Reboot” and “F. Reset Time” both checked in Odin, those two options together give you the cleanest flash result. If you are not sure which Odin version to use, check our Odin versions page. Some older Samsung devices work better with older Odin builds.

  1. Download and Extract:
    • Download the correct firmware package from the links above.
    • Extract the ZIP to a simple folder path, avoid paths with spaces or special characters, as some flash tools have trouble with them.
  2. Install the Listed Drivers:
    • Confirm all drivers listed above are installed and that your PC has been restarted since installation. Skipping the restart is a common reason drivers do not work correctly.
  3. Load the Firmware File:
    • In Odin, click “BL” and select the BL_*.tar.md5 file. Click “AP” and select the AP_*.tar.md5 file. Repeat for “CP” and “CSC”. Use HOME_CSC to keep data, or CSC for a clean flash.
  4. Connect Your Device:
    • Enter Download Mode: Turn off your phone, then hold Volume Down + Power (add Home button on older models) until the warning screen appears. Press Volume Up to confirm and enter Download Mode.
    • Connect your phone to your PC via USB. Odin should show “Added..” in the log area, this means your device is detected.
  5. Start Flashing:
    • Click the “Start” button to begin.
    • Do not disconnect, move the cable, or touch the device until the process is fully complete. Disconnecting mid-flash is how devices get bricked.
  6. Wait and Reboot:
    • Once flashing finishes successfully, disconnect the device.
    • Power on your device. The first boot will take longer than usual, give it up to 8 minutes.

Video Guide for Flashing


What to Expect After Flashing

Here is what is completely normal after a successful flash:

  • How to know the flash was successful: Odin will show “PASS.” in green text at the top-left of the log area. If you see this, everything went fine.
  • The phone will feel warm during first boot, this is normal. It settles after a few minutes once the initial app setup is complete.
  • Dial *#06# immediately after setup to check your IMEI. Do this before you insert a SIM card. If it shows “unknown” or “null”, follow the IMEI repair guide below before doing anything else.
  • Storage will show almost full capacity available since all your apps and files are gone. The system partition size varies by firmware version but is typically 4 to 8 GB on most devices.
  • All your apps are gone, this is expected. Reinstall them from the Play Store. If you had a Google account backup active, it will offer to restore your apps automatically during setup.
  • Stuck in a bootloop after first boot? Enter recovery mode and do a factory reset from there, see the hard reset guide above. This can happen occasionally and does not mean the firmware is wrong.
  • Wi-Fi, Bluetooth, and mobile data should all work right after setup. If mobile data is not connecting, go to Settings, SIM and Network, and re-enter your APN manually, the flash sometimes clears carrier APN settings.

Troubleshooting Samsung Galaxy On5 SM-G5700 Flash Errors

  1. Odin Shows “FAIL” Instead of “PASS”:
    • This is usually a mismatch between the firmware region or model and your device. Confirm your exact model number in Settings › About Phone before selecting the firmware. Even a single letter difference in the model code matters.
  2. Samsung Galaxy On5 SM-G5700 Not Recognized by Odin:
    • Reinstall the Samsung USB drivers. Make sure you are in Download Mode. Try a different USB cable, Odin can be sensitive to cable quality.
  3. KG Lock / Knox Triggered After Flashing:
    • This happens when a Samsung account was still signed in before flashing, or when unofficial firmware was used. Always sign out of Samsung accounts before flashing. If KG lock is already active, a professional unlocking tool is generally needed.
  4. Boot Loop After Flashing:
    • Enter recovery mode (Volume Up + Power) and perform a factory reset. This clears any leftover data from the previous firmware that may be causing the conflict.

Missing IMEI or Corrupt Baseband on Samsung Galaxy On5 SM-G5700 After Flashing?

A missing IMEI on a Samsung device after flashing usually points to a corrupted EFS partition, this is the partition that stores your IMEI and carrier settings. Note that restoring an IMEI that is not your original number is illegal in most countries, so only do this if you are restoring the number the device had before you flashed. Tools like ChimeraTool or BFT can help with this. Check your local laws before proceeding.

Video Guide: How to repair IMEI


Common Questions About Flashing Samsung Galaxy On5 SM-G5700

Q1: Will flashing erase my data?
A: Yes, flashing with Odin restores the device to factory state, including Android 6.0.1 (Marshmallow) default settings. All apps, photos, contacts, and accounts will be removed. Back up everything you need before you start. There is no way to recover data once the flash is complete.

Q2: Will flashing void my warranty?
A: Flashing official stock firmware generally does not void your warranty since you are restoring the device to its factory-intended state. However, some manufacturers may flag that the bootloader was unlocked or that the flash counter increased. Check your specific warranty terms with Samsung support if you are concerned.

Q3: Do I need an internet connection during flashing?
A: No. The flashing process is entirely offline, it happens between your PC and the phone via the USB cable. You do not need internet at any point during the flash itself. You will need internet later to set up the phone and download your apps.

Q4: Is this firmware compatible with other Samsung models?
A: No. This firmware is built specifically for the Samsung Galaxy On5 SM-G5700 running on the Qualcomm Snapdragon 617 MSM8952 chipset. Even variants of the Galaxy On5 with a different letter suffix can have a completely different chipset inside. Flashing the wrong firmware can leave your phone in a state that is very difficult to recover from. Always check your exact model number in Settings.

Q5: My IMEI shows “unknown” after flashing. Is my phone permanently damaged?
A: No, it looks alarming, but it is fixable. Follow the IMEI repair guide in the troubleshooting section above. For Samsung devices, check for EFS partition corruption first. Do not insert a SIM card until the IMEI is restored.

Q6: What if the flash fails halfway through?
A: Do not panic and do not disconnect the phone. Close Odin, restart it, and try the flash again from the beginning. In most cases, a failed flash just means the process needs to be repeated. The device is usually still detectable by the flash tool even after a failed attempt.

Q7: How long does the flashing process take?
A: The actual flash usually takes between 3 and 10 minutes depending on the firmware size and USB connection speed. The first boot after flashing takes another 3 to 8 minutes. Do not interrupt the device during either stage. If the progress bar in Odin appears stuck, give it a few more minutes before assuming something went wrong.

Q8: My device is not detected by Odin. What should I do?
A: Start with the drivers, reinstall the Samsung USB drivers, restart your PC, then try again. Switch to a USB 2.0 port if you are on USB 3.0. Disable your antivirus temporarily. If none of that works, leave a comment with the exact error message.

People Also Ask About Samsung Galaxy On5 SM-G5700

Can flashing firmware fix a bricked Samsung Galaxy On5 SM-G5700?
Yes. If your Samsung Galaxy On5 SM-G5700 is stuck on the logo, in a bootloop, or will not turn on, flashing the stock firmware with Odin can restore it to working condition. This is the standard repair method used by service centers for Samsung devices.

Will flashing firmware on Samsung Galaxy On5 SM-G5700 erase my data?
Yes. Flashing stock firmware on the Samsung Galaxy On5 SM-G5700 with Odin performs a full factory reset. All apps, photos, contacts, and accounts will be removed. Back up everything important before you start. There is no way to recover data after flashing.

What is the latest firmware version for Samsung Galaxy On5 SM-G5700?
The latest available Samsung Galaxy On5 SM-G5700 firmware on this page is version HU2BRH1. This page has 1 firmware build available for download. Check the firmware details table above for file sizes and Android versions.

How do I check my Samsung Galaxy On5 SM-G5700 model number before flashing?
Go to Settings > About Phone on your Samsung Galaxy On5 SM-G5700 and look for the model number “SM-G5700”. You can also confirm by entering recovery mode (Volume Up + Power while powered off) which displays the build number and model code. Always match this exactly with the firmware filename before flashing.


Samsung Galaxy On5 SM-G5700 Firmware, Final Notes

You now have everything needed to flash your Samsung Galaxy On5 SM-G5700 back to stock using Odin. The process is straightforward as long as you follow the steps in order and do not skip the driver installation.

Got stuck somewhere? Drop a comment with the error message and the step number. I check comments regularly and will point you in the right direction.

If this worked for you, share the page so others with the same device can find it too.

Browse all Samsung firmware downloads for more devices.


Disclaimer: Flashing stock firmware is performed at your own risk. Follow the instructions on this page carefully. I cannot be held responsible for any damage to your device, but I will always try to help if something goes wrong.

LexzyTechinc

LexzyTechinc

Phone: +2348153999777 | Country: NG

Articles: 892

Leave a Reply

Your email address will not be published. Required fields are marked *