xiaolu / mkbootimg_tools

Unpack and repack boot.img,support dtb(dt.img).
530 stars 365 forks source link

Add lzop compression support #18

Closed ghost closed 9 years ago

ghost commented 9 years ago

file and magic error out when handling lzop compression types

Workaround is to find lzop header first if it exists by searching for its hex value

TODO - fix file and magic to read lzop compression types properly and eliminate this workaround

Currently this method uses busybox for handling lzop compressions. Insure busybox supports lzop or else this will fail

TODO - compile lzop statically and eliminate the need for busybox having lzop support