Extract sysupgrade image components

How does the sysupgrade image look like and how it's packaged. What's the best tool to extract all components inside it?

if you want device specific image details, try binwalk.

write it to your device's flash storage.

1 Like

You can use binwalk to extract image, there is no weird obfuscation or something, it is more or less concatenated compressed kernel and squashfs, and ultimately you can also trace back to source code used to make it.

1 Like

Okay, there're different tools for different formats.

For some .bin images (e.g. ax6s), it's a tar file which you can extract using tar directly, it contains the kernel image and the rootfs in squashfs format.

For .itb images, the right tool is u-boot-tools. You can list the components using dumpimage -l and extract using dumpimage -T flat_dt -p image number -o file xxx.itb

this is very much device specific, and you didn't provide the device. ..

Edited to include the device.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.