How to extract the .fex file from the SD card dump of a GA36-MB firmware.
- Install bin2fex via sunxi-tools: https://linux-sunxi.org/Sunxi-tools
- Find the offset of
script.bin:grep -obUaP "product\x00" sdcard.img | awk -F: '$1>20000000 && $1<20400000' - That will give you some offsets. Try them in reverse order, subtracting
16. - dd if=sdcard.img of=script.bin bs=1 skip=<the offset you just found - 16> count=131072 status=progress
- Attempt to convert it:
bin2fex script.bin > hardware.fex - If it gives you an error, try the other offset(s) you found.
NOTE: script.bin will exist in the first 128mb of the sdcard, so you can cut that out first before step 2 if you want to save time.