DS-KH6320-WTE1 is a linux-based indoor station. I want to change the video display timer constraints (currently 60 seconds).
hikpack version 2.5 can unpack it but after repacking it the firmware installation fails.
I can then unpack the cramfs file with 7z and edit some files and then recreate it with mkfs.cramfs.
And finally recreate the firmware file:
Unpacking that again reveals a new file: new_20.bin
What are some things I can try?
hikpack version 2.5 can unpack it but after repacking it the firmware installation fails.
Bash:
$ ./hikpack -t k41 -x digicap.dav -o contents
Magic : 484b5753
hdr_crc : 00001d1e (OK)
lang_id : 00000001
date_hex: 00000000
devclass: 000003f2
File: cramfs.img, CRC OK
WARN: missing new_20.bin trailer file
Extra tail at the end of dav, 72 bytes, maybe firmware id?
$ ls contents
cramfs.img dav_extra_tail dav_header
I can then unpack the cramfs file with 7z and edit some files and then recreate it with mkfs.cramfs.
And finally recreate the firmware file:
Bash:
$ ./hikpack -D 20220711 -V 0x02010047 -t k51 -p digicapCustom.dav -o contents
File: cramfs.img, CRC OK
File: new_10.bin, CRC OK
Magic : 484b5753
hdr_crc : 00001f2e (OK)
lang_id : 00000001
date_hex: 20220711
devclass: 0000003d
=== Tail record:
File: new_20.bin, CRC OK
=== Appending extra_tail, 72 bytes
Unpacking that again reveals a new file: new_20.bin
Bash:
$ ls contentsCustom
cramfs.img dav_extra_tail dav_header new_20.bin
What are some things I can try?