How To Unroot & Flash Stock Firmware On Samsung Galaxy S5 [All Variants]

Galaxy S5 with all of its variants is available all across the world now. More the device is getting popular, more is its development moving forward. Just in case you don’t know, all the variants of Galaxy S5 have already been rooted by the famous and well-known XDA Elite Recognized Developer Chainfire. The device is rooted using Chainfire’s CF-AutoRoot, that can be easily flashed using a custom recovery or using a .tar.md5 file with Odin3 flash tool.

Usually, Android enthusiasts keep their devices rooted in order to unleash the true power of their device, and specially when you have a device like Samsung Galaxy S5, you won’t be able to keep yourself on the factory limitations of the device. There merely are the chances that the users want to unroot their device, this may be the case when they want to restrict the root privileges or just in case they want to bring their device back to the factory state. A number of users has been confused about unrooting an Android device, that they usually think, restoring factory settings or wiping the factory data will wipe the root access, but it actually does nothing except wiping the settings made by the users, and wiping the phone’s internal storage.

Well there’s nothing to worry about as there’s nothing complex that will help you to unroot your Galaxy S5. We have a complete comprehensive guide right here that will help you to unroot your Samsung Galaxy S5 [all the variants, listed below] easily. We’ll be doing so by flashing a stock firmware,  simple flashing will result in unrooting your Galaxy S5 while wiping the data will also bring your device back in its factory state. All you need is, just follow this guide carefully and get it done successfully.Unroot-GalaxyS5-StockFirmwrae

Following are the pre-installation instructions for unrooting:

  • This guide is only for Samsung Galaxy S5, the variants which are listed below. Do not try this on any other device.
  • Make sure that your phone’s battery is charged at least over 60%.
  • Use the original data cable for establishing the connection between your PC and phone.
  • Backup all your important contacts, find the full guide here.
  • Backup all your important sms messages, find the full guide here.
  • Backup all your important call logs, find the full guide here.
  • Backup all your important media content manually. (Copy to your PC.)
  • If you’ve flashed a custom recovery, it is suggested that you create a Nandroid Backup. [Important]
  • Don’t forget to make EFS backup before flashing this firmware. [Important]
  • If your device is rooted, you may use Titanium Backup to backup each and everything on your phone.
  • Although it is not necessary to wipe your phone before flashing this firmware, but to achieve the best performance, it is recommended that you perform a factory reset before flashing this firmware.
  • A clean install is always preferred for the best results from the new firmware. It is recommended that you wipe your phone from the recovery using “Factory Data Reset” option and then install this firmware.
  • Turn off /disable Samsung Kies while using Odin3.
  • Turn of any Anti Virus softwares while using Odin3.
  • Alright. Follow the instructions carefully.

Things you need to download:

    1. Download and extract Odin3 v3.09 – Get it HERE.
    2. Download and Install Samsung USB drivers – Get HERE.

Download and extract latest stock firmware for your device:

How to Unroot Samsung Galaxy S5 by Flashing Stock Firmware:

  1. Open Odin3.exe.
  2. Put your phone in download mode. To do so, turn it off and wait for 10 seconds. Turn it on by pressing and holding Volume Down + Home Button + Power Key simultaneously, You should see a warning, press Volume Up to continue. In case this method doesn’t work for you, try one from this guide.
  3. Connect your phone to your PC.
  4. As soon as Odin detects your phone, the ID:COM box should turn blue.  Make sure that you’ve installed Samsung USB drivers before connecting.
  5. For Odin 3.09 hit the AP tab. Select the extracted firmware file, that should be in .tar.md5 format.
  6. If you’re using Odin 3.07, you will select “PDA” tab instead of the AP tab, rest of the options remain untouched.
  7. Make sure that the options selected in your Odin are exactly as shown in the pic.
  8. Odin 3.09 explained. (2)
  9. Hit start and wait till the firmware flashing is complete, as soon as your device restarts, remove it from PC.
  10. Congrats! your device is unrooted now and is back to its factory state.


Please keep in mind that Samsung Galaxy S5 comes with Knox implementation. Unrooting the device will not result in gaining the warranty back, nor it will erase the knox counter. It will simply wipe the root access. Just in case your device is gone into bootloop, boot into stock recovery and perform a factory data reset.

Do not forget to checkout: CWM Recovery for Samsung Galaxy S5.

Checkout our custom ROMs section in order to find great custom ROMs for your Galaxy S5.


That’s all. In case you got any queries or you’re facing any difficulties, don’t hesitate to reach us through the comment box below. Thanks all.

Follow Me

Usama M

+Usama M: Ex Farmviller | Android Fanatic | Software Engineer,Founder -
Follow Me

Latest posts by Usama M (see all)

  • ludwe Mali

    ive bought my S5 from the second hand shop with an existing Samsung account and the phone is been working well until i formatted it and now its asking me for that info…what must i do

  • Aakash Jaiswal

    hi ! I had rooted my s5 mobile and update to 6.0 version marshmallow cyanogen mode through odin. Now i wanna like to unroot & revert to stock version. I have try above method also bt it says fail, why???? Now what i have to do ????? plz suggest me …………………………………

    • @disqus_9gGC0DR4Tr:disqus what problem are you facing? Can you tell me that particular error that you got?

  • Patrick sheppard

    Hi, I have a Samsung Galaxy S5 SM-G900I with 5.0 installed and root access. I’m just checking that this is definitely the right tutorial to follow before I update to 6.0.1? Because it’s now available for my device and I cannot update OTA and Samsung Kies 3 says it could encounter issues if I have rooted my device

    If so, I already have this link bookmarked as well!

    Btw, very straightforward and helpful tutorials you have on this site 🙂

    • @disqus_x9a9kjpFWJ:disqus Yep, you’ve found the right tutorial. the only thing you need is to find the right file for latest stock firmware for your device. If you need my help regarding finding the firmware, let me know.

      • Patrick sheppard

        Thanks for getting back to me! I believe I have downloaded the correct firmware and thank you for offering 🙂 just to be sure though, my baseband version is G900IDVU1BOJ2 and I am with Optus so it looks to be the firmware listed under version G900IDVU1BOJ1 on this website:
        Pretty sure that’s right so I will proceed with this tutorial once you reply since I have already backed everything up!

        • @disqus_x9a9kjpFWJ:disqus That’s an old firmware. I’ll recommend you to go with a newer firmware e.g. G900IDVU1CPG2.

          • You don’t need to flash an older firmware, just flash the 6.0.1 straight away. Best of luck.

          • Patrick Sheppard

            I’m back again applying the latest update and I gotta say, these tutorials are so helpful!

© 2017 TechBeasts. All rights reserved.· Entries RSS · Comments RSS is not associated with Google, Samsung or any other OS provider and smartphone manufacturer. We are an unofficial fan site.