Skip to content

Conversation

@carlitros900
Copy link

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

Mediatek prepend 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant