How to Unroot Galaxy S5 with ODIN and Stock Firmware!

For those of you who need to fix “firmware encountered” error or you simply want to re-install stock firmware on your Galaxy S5, you can easily do so using ODIN and stock firmware tar.md5 file.

This will get your Galaxy S5 completely back to 100% stock and unrooted.  This can also be very useful if you are returning your Galaxy S5 to the store for warranty purposes or you want to unroot your phone completely.

Before we begin, please MAKE A BACKUP of everything on your Galaxy S5 by copying your personal files to your hard disk (or microSD).  You can even make a backup copy of your backup ROM if you intend to restore your ROM on another phone.

Step 1. Power off your Galaxy S5 then hold down Volume Down, Center Home, and Power buttons together for about 3-5 seconds until you see a warning screen.

howto-unroot-galaxys5-1

Step 2. Hit Volume Up key next to put your Galaxy S5 into ODIN MODE.

howto-unroot-galaxys5-2

Step 3. Connect a micro-USB 2.0 cable from your Galaxy S5 to your computer.

howto-unroot-galaxys5-3

Step 4. Go to this page and download the stock firmware for your Galaxy S5.

howto-unroot-galaxys5-4

Step 5. Unzip the stock firmware you have downloaded, you should get a file ending in tar.md5.

howto-unroot-galaxys5-5

Step 5. Download ODIN program and also unzip.

howto-unroot-galaxys5-6

Step 6. Run the ODIN program and make sure you see a yellow, highlighted box with a random COM number.  If you don’t see this, you don’t have Samsung USB drivers installed.  Download and install Samsung Galaxy S5 USB drivers then re-run ODIN.

howto-unroot-galaxys5-7

Step 7. Next. DO NOT TOUCH ANYTHING ELSE but hit the “PDA” button and find the tar.md5 stock firmware file you unzipped earlier.

howto-unroot-galaxys5-8

Step 8. Hit the “Start” button and your Galaxy S5 will start installing stock firmware.  This process should take anywhere from 5-10 minutes.

howto-unroot-galaxys5-9

Step 9. When done successfully, you should see “PASS!” and your Galaxy S5 should be rebooting.

howto-unroot-galaxys5-10

howto-unroot-galaxys5-11

Step 10. Once your Galaxy S5 has rebooted, you should see your phone fully unrooted with original stock firmware back on.

howto-unroot-galaxys5-12

Step 11. If for some reason your S5 does not boot OR you want to erase EVERYTHING on your phone (for returning to warranty), you can use stock recovery to do a factory reset.

Note: However, if you don’t want to erase everything on your phone but want to just reset the stock firmware (erase settings, apps), you can re-install CWM or TWRP recovery then do a factory reset using that, which will not erase your personal files on your internal storage.

For doing a factory reset on stock recovery, power off your phone, then hold down Volume Up, Center Home, and Power buttons together for about 3-4 seconds until you see “RECOVERY REBOOTING…” at the top-left of your screen.

howto-unroot-galaxys5-13

Step 12. Once in stock recovery, choose “wipe data/factory reset”.  THIS WILL ERASE EVERYTHING ON YOUR GALAXY S5!!!  YOU’VE BEEN WARNED!

howto-unroot-galaxys5-14

Once that’s done, your Galaxy S5 should be exactly like the first day you received it.

Q&A
Q: Does this reset KNOX counter?
A: No, it does not reset KNOX counter.  It does everything except for that.

Q: I am getting errors before/during installing stock firmware in ODIN, HELP!!!
A: Make sure you are not using a USB hub, connect directly to a USB port on your computer.  Also, try using different USB 2.0 cable.  If all else fails, just try on another computer, it may be some random drivers on your computer that’s conflicting with ODIN.  Make sure also you only have ONE Android device connected.

 

This is an OLD website where we no longer support and we are moving all our new tutorials to our new forum where you can ask questions about any Android device. Please post all your questions at the new Android Rehab Center at HighOnAndroid Forum, thank you for understanding!