script.bin file is, as its file extension suggests, a binary file. However, it is not possible to directly modify this file. The linux-sunxi community has created a set of tools to convert this binary file into a text file and vice versa. They can be found in their GitHub repository at https://github.com/linux-sunxi/sunxi-tools.
After cloning this repository, the
make fex2bin command is run to build the
fexc, the fex decompiler. Compiling and running this tool is probably best on a system that has a comfortable text editor available.
Running fexc to decompile the binary file will look like this:
[packt@packt:~]$ fexc -I bin -O fex script.bin script.fex
There are two shorthands in the form of symlinks to ...