Skip to content

Magisk is adding the SEANDROIDENFORCE string but not including it in the AVB Footer's original_image_size #9623

@TBM13

Description

@TBM13

Device: Seen after patching the Galaxy A20s' stock boot image
Android version: -
Magisk version name: v30.6
Magisk version code: 30600

After patching a Galaxy A20s boot image that contains the SEANDROIDENFORCE string, Magisk preserves it but makes the AVB Footer's original_image_size point to the start of the string, when it should actually point to the end of it.

Image

The highlighted bytes are 11892736 in int64_t (big endian), which points to the start of the string

Image

Magisk v29.0 does not have this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionSomething works in previous versions but not in the current one

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions