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

added more FW container formats #32

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions fact_helper_file/mime/custom_mime_firmware_containers
Original file line number Diff line number Diff line change
Expand Up @@ -726,3 +726,31 @@
>84 ubelong x squashfs size: %u bytes,
>-49 string DrayTekImageMD5
>-33 string x MD5 (footer): %s

# Instar BNEG container type
0 string \x42\x4e\x45\x47 Instar BNEG Firmware Container
!:mime firmware/bneg

# Tenvis PK2 Container
# file starts with magic string "PK2"
0 string PK2 Tenvis PK2 Container
!:mime firmware/pk2

# Alphanetworks firmware update script with binary data
0 string #!/bin/sh\nVENDOR
>0 search/0x7000 \x3d\x3d\x3d\x20\x46\x69\x72\x6d\x77\x61\x72\x65\x20\x42\x6f\x75\x6e\x64\x61\x72\x79\x20\x3d\x3d\x3d Alphanetworks Camera Firmware Image
!:mime firmware/alphanetworks

# Xiaomi HDR1 Firmware Image
0 string HDR1 Xiaomi HDR1 firmware image,
!:mime firmware/xiaomi-hdr1
>4 ulelong x signature offset: %u bytes,
>8 ulelong x crc32: 0x%X

# Xiaomi HDR2 Firmware Image
0 string HDR2 Xiaomi HDR2 firmware image,
!:mime firmware/xiaomi-hdr2
>4 ulelong x signature offset: %u bytes,
>8 ulelong x crc32: 0x%X,
>16 string x model: %s,
>24 string x region: %s
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "fact_helper_file"
version = "0.2.16"
version = "0.2.17"
authors = [
{name = "Johannes vom Dorp"}
]
Expand Down
Loading