Skip to content

patched Boot.img too large for Google Pixel 1 XL #9808

@divinity76

Description

@divinity76

Google Pixel 1 XL has a boot partition size of 33,554,432 bytes, the magisk 30.7 patched boot.img is 34,481,450 bytes, roughly 927kb bigger than the boot partition, resulting in:

$ fastboot flash boot magisk_patched-30700_JgwLs.img
Warning: skip copying boot_b image avb footer (boot_b partition size: 33554432, boot_b image size: 34481450).
Sending 'boot_b' (33673 KB)                        OKAY [  0.936s]
Writing 'boot_b'                                   FAILED (remote: 'size too large')
fastboot: error: Command failed

the original boot.img is 31,712,486 bytes, leaving 1.8MB free space for patches, but the Magisk 30.7 patch is 2.7MB.

When using magisk Debug build, the boot.img is even larger at 35,419,434 bytes. Uploaded the debug patched boot.img and non-debug patched boot.img and original boot.img.

Device: Google Pixel 1 XL 128GB model 2PW2100
Android version: 10.0.0 (QP1A.191005.007.A3, Dec 2019)
Magisk version name: v30.7 (2026.2.23)
Magisk version code: 30700

boot.img.gz

magisk_patched-30700_JgwLs.img.gz

debug_magisk_patched-30700_h5btr.img.gz

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