Skip to content

Rebuilt files differ from originals #17

Description

@roger-

I'm trying to see if I can extract and exactly rebuild the firmware (without modifying anything) for an Amcrest branded IPC-HDBW1120E-W, but my final .bin size is 13_013_878 vs 13_013_463 bytes for the original. Furthermore the .img files in the build/ directory don't match the original ones according to diff.

The only real change I had to do was to modify the SD-Zi-Themis.py config based on info in partition-x.cramfs.img.extracted/.

I'm using the versions of cramfsck, mkcramfs, mksquashfs and unsquashfs recommended.

Any ideas why the files aren't matching? Perhaps because the dates aren't the same, but not sure why the file sizes also aren't.

Are they safe to flash?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions