Skip to content

Commit

Permalink
added xiaomi hdr1/2 firmware container type
Browse files Browse the repository at this point in the history
  • Loading branch information
jstucke committed Aug 6, 2024
1 parent da108aa commit 86b4386
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion fact_helper_file/mime/custom_mime_firmware_containers
Original file line number Diff line number Diff line change
Expand Up @@ -733,10 +733,24 @@

# Tenvis PK2 Container
# file starts with magic string "PK2"
0 string \x50\x4B\x32 Tenvis PK2 Container
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

0 comments on commit 86b4386

Please sign in to comment.