This script is able to convert your .ihex and .hex files to simple files
EG: Samsung kernel have some files on firmware folder that need to be prebuilt to be converted to can have a kernel building with aosp source in the case of the EXYNOS7870 soc.
Feel free to use for any of your project !