Installing stock or official firmwares on Samsung devices is way easier that performing the same task on devices from other brands. You only have to get a utility called Odin, which has been developed by Samsung and is easily available unofficially, download the firmware file and go through a few steps to flash a firmware on any Galaxy phone or tablet.

Anyway, however simple such procedures may be, there always are the chances to get into some problem or mess. While most of the Odin flashes end up nicely with a PAAS! message, sometimes the firmware installation don’t end up as expected and fails because of some issue.

In the past, I wrote a bunch of tutorials for fixing different issues that are faced by users while trying to install a firmware on Samsung Galaxy device using Odin. Below, I’ve listed a few of them:

If you have been trying to install a firmware file on your Samsung device and the firmware installation fails because of hidden.img issue, you can use this tutorial and fix the problem.


When you get this error while installing the stock Samsung firmware, you will see the following message in the Odin log:

<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> G920FXXU1AODE_G920FOXE1AODE_G920FXXU1AODE_HOME.tar .md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/004> Added!!
<ID:0/004> Odin engine v(ID:3.1005)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> SingleDownload.
<ID:0/004> sboot.bin
<ID:0/004> NAND Write Start!! 
<ID:0/004> cm.bin
<ID:0/004> boot.img
<ID:0/004> recovery.img
<ID:0/004> system.img
<ID:0/004> modem.bin
<ID:0/004> cache.img
<ID:0/004> hidden.img
<ID:0/004> FAIL!
<ID:0/004> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)

The solution of firmware installation failure in Odin because of hidden.img is very easy and here’s how you can fix it.


  • The stock Samsung firmware file with .tar.md5 extension.
  • Install a zip extractor program like 7-Zip if you don’t have it installed on your computer already.

Fixing Odin Firmware Installation Failed at Hidden.img Issue

  1. Open the folder where you have saved the firmware file. Then click the View option in Windows Explorer menu and enable File name extensions option there.installation-failed-at-hidden-img_1
  2. Now you will be able to view and edit file extensions. Right-click the firmware file and select Rename option. Now remove the .md5 extension from the file name so that it end with .tar only (see below)installation-failed-at-hidden-img_2installation-failed-at-hidden-img_3
  3. Now right-click the firmware file, highlight 7-Zip and select Extract to “firmware file name” option.hidden-img-issue-samsung-odin
  4. Since the firmware file is big, it will take a few minutes to extract.installation-failed-at-hidden-img_6
  5. After extracting the firmware, open the extracted folder and make sure that the system.img file size is not 0 KB. If that is the case, use a different Zip extractor.installation-failed-at-hidden-img_5
  6. Anyway, look for the hidden.img file in the folder and delete it.installation-failed-at-hidden-img_7
  7. Now select all files in the folder by pressing Ctrl+A keys.
  8. Right-click on the files and select 7-Zip> Add to archive… option.installation-failed-at-hidden-img_8
  9. A new window will pop up. Click the drop-down menu in front of Archive format and select tar and click OK.installation-failed-at-hidden-img_10
  10. 7-Zip will start compressing the files. Wait until the compression finishes.installation-failed-at-hidden-img_11
  11. When the compression is done, you’ll get a new file with firmware name and .tar extension. Right-click this file and add .md5 extension so that you have .tar.md5 extension.installation-failed-at-hidden-img_12
  12. Click Yes when prompted to ask if you want to save the changes made in the firmware file name.installation-failed-at-hidden-img_13
  13. You now have your firmware ready for installation.

Done! You are now all set to install the firmware in Odin without getting failed firmware installation because of hidden.img. You can refer to our super detailed tutorial on installing stock firmware on Samsung devices.

With a hope that this tutorial will help users getting error or failed message while installing firmware due to hidden.img, I wind up the guide here. If you need any help with the procedure described above, please let us know. Thanks!


  1. You are a life saver. I almost gave up on my phone as I tried everything in every forum I have searched until I come across your post. It worked magically and finally, I have my Samsung S6 back to life. Thanks!

  2. Thank you Rakesh… I did not say that before… I had a crash down of my computer and today by surprise I saw again your helping message… I Did not have time to test, I’m exactely at the same situation as 4months ago 😉
    I had to say that ODIN and my smartphone is not my priority now as I created my own COmpany… but I would have wanted to say thank you for your generosity in helping biginners as me just for free… Thnak you so Much !

  3. Hi Rakesh
    I met exactly the issue you described and try to resolve here…
    I followed your tutorial and i notice that if I delete the hidden.img file, when launching the MD5 in Odin, I obtained and error with binary unvalid (checksum issue like ?)
    How can I solve this issue… and hidden.img failure…
    Thank you in advance for your help !
    Cheers from France !

  4. Hi,I’m using samsung galaxy s4 mini and i followed your steps.When i am trying to select it it says MD5 value is invalid….

This site uses Akismet to reduce spam. Learn how your comment data is processed.