If your ODIN is failing to flash or stuck while flashing hidden.img while flashing stock firmware on your Samsung Android devices such as Samsung Galaxy S2, S3, S4, S5, S6, S6 Edge, or any other Samsung device, there is a SIMPLE solution.
For those of you having trouble flashing stock firmwares on latest Oreo firmwares with Samsung Galaxy smartphones(most likely with newer Galaxy S8, S8 plus, Note 8, S9, and S9 Plus) and getting stuck at “sboot.bin.lz4”, this is most likely caused by using ODIN version older than v3.13.1. Samsung is using new lz4 compression on firmwares which means older ODIN are not able to decompress the files before flashing to your phone.
Are you trying to install Samsung stock firmware using ODIN and getting stuck at fota.zip?
This will happen on newer devices like Galaxy S7 Edge, Galaxy S7, Galaxy S6, etc…etc… The reason why it gets stuck is because you are using older version of ODIN.