How-To: Unroot A Samsung Galaxy S5 By Flashing Stock Firmware

Guide to Unroot A Samsung Galaxy S5 By Flashing Stock Firmware

Most Samsung Galaxy S5 users like having their device rooted because it allows them to move past factor limitations.  However, on the off chance that you want to restrict root privileges or just want to bring your device back to its factory state, you’re going to have to unroot your Samsung Galaxy S5. In this guide, we’re going to show you how.

The method we’re going to use to unroot your Samsung Galaxy S5 merely requires you to flash a stock firmware.  Flashing a stock firmware will unroot your device and will bring your device back to its factory state.

Prepare your phone:

  1. This guide should only be used with a Samsung Galaxy S5 of the variants listed below:


Don’t use this guide with any other device.


  1. Have your phone charged so that it has at least over 60 percent of its battery life
  2. Have an original data cable that you can use to connect your PC and phone.
  3. Back up all you important contacts, call logs and sms messages
  4. Back up all important media content manually by copying them onto your PC
  5. If you have a custom recovery flashed on your phone, use Titanium Backup to back up your phone
  6. Perform a factory reset
  7. Wipe your phone from recovery by using the Factory Data Reset option
  8. Turn o
  9. ff/disable Samsung Kies and any anti-virus software on your PC as these could interfere with the operation of Odin3.


Note: The methods needed to flash custom recoveries, roms and to root your phone can result in bricking your device.  Rooting your device will also void the warranty and it will no longer be eligible for free device services from manufacturers or warranty providers.  Be responsible and keep these in mind before you decide to proceed on your own responsibility.  In case a mishap occurs, we or the device manufacturers should never be held responsible.



  • Samsung USB drivers
  • The latest stock firmware for your device. Make sure the device and the stock firmware you download match and are part of the list of appropriate versions that we gave above

Unroot Samsung Galaxy S5 by Flashing Stock Firmware:

  1. Open Odin3.exe
  2. Put the phone into download mode by turning it off and waiting for 10 seconds. Turn the phone back on by pressing and holding down the volume down, home and power buttons at the same time.
  3. When you see a warning on your screen, let go of the three buttons and press Volume up instead to continue.
  4. Connect the phone and the PC using the data cable.
  5. If you connected the two devices correctly, Odin should detect your phone automatically and the ID:COM box will turn blue.
  6. If you are using Odin 3.09, go to the AP tab.
  7. If you are using Oding 3.07, go to the PDA tab.
  8. Select the extracted firmware file that is in .tar.md5 format.
  9. Make sure that the options in your Odin match those shown in the photo below.


  1. Hit start and wait for firmware flashing to complete.
  2. When flashing is completed, your device should restart.
  3. When the device restarts, remove from PC.

Note: The Samsung Galaxy S5 comes with Knox implementation.  When you unroot the device, you will not gain the warranty back and you will not erase the knox counter.

Note2: If your device goes into bootloop, boot it into stock recovery and then perform a factory data reset.

Have you unrooted your Samsung Galaxy S5?

Share your experience in the comments box below.


About The Author