mkbootimg_tools icon indicating copy to clipboard operation
mkbootimg_tools copied to clipboard

unpack ramdisk with MTK (Mediatek) header

Open carlitros900 opened this issue 5 years ago • 0 comments

Mediatek prepends a 512 bytes partition header to filesystem, identified by magic 0x58881688 and with struct:

typedef union { struct { unsigned int magic; unsigned int size; char name[32]; } info; unsigned char padding[512]; // Pad up to 512bytes } mtk_header;

Supress it in unpacking

carlitros900 avatar Jan 01 '20 12:01 carlitros900