There's an error while changing the country code to KZ.
python3 ./header.py modify --country KZ ../bdata/bdata_mtd9.img ../bdata/bdata_mtd9.img.modified
Traceback (most recent call last):
File "./header.py", line 129, in <module>
modify_command(args.src, args.dst, args.country, args.test)
File "./header.py", line 103, in modify_command
new_raw_crc32 = bytes.fromhex(crc32.calculate(data_without_crc32).lstrip("0x"))
ValueError: non-hexadecimal number found in fromhex() arg at position 7
There's an error while changing the country code to KZ.
Python: 3.8.5