I managed to unpack the filesystem contents of a TP-Link router
.bin file using
unsquashfs. The squash FS was at the end of the bin file, the part before having a relatively large lzma archive.
Now I would like to make changes to the filesystem and repack the firmware file back. How can I achieve this? How do I know whether I need to attach a checksum or similar?
This question is different from How can I put a Binwalk extracted firmware back into a .bin binary file? in that it's vendor specific,
firmware-mod-kit is a not preferred option (unless it's the only one...) and it contains an extra question