Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unpack ramdisk with MTK (Mediatek) header #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 31, 2019

  1. unpack ramdisk with MTK (Mediatek) header

    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
    carlitros900 committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    4bec3ed View commit details
    Browse the repository at this point in the history