Hello,
this thread contains command line tools for modifying Novatek single (for now) image firmwares. I will update it everytime I update one of the tools or add a new one.
ntkcalc (v0.7)
Description: This tool is able to calculate the checksum of Novatek firmware images in raw or BCL format. For non-default images it can calculate the baseval for checksum calculation as well.
Usage:
Download: (please do not mirror!)
bfc (v3.3) (Basic compression library for Novatek)
Description: bfc4ntk is a Ntk firmware packer/unpacker based on BCL (Basic compression library)
Usage (new syntax!):
Download: (please do not mirror!)
this thread contains command line tools for modifying Novatek single (for now) image firmwares. I will update it everytime I update one of the tools or add a new one.
ntkcalc (v0.7)
Description: This tool is able to calculate the checksum of Novatek firmware images in raw or BCL format. For non-default images it can calculate the baseval for checksum calculation as well.
Usage:
- Baseval calulation: ntkcalc -b firmware.bin
Use this only with stock non modified firmware images, otherwise the calculated result is wrong
- Checksum calculation (default baseval): ntkcalc -c firmware.bin
This will output the checksum for raw and BCL compressed firmware images
optional: -cw: This flag will write the calculated checksum at the correct address in the binary
- Checksum calculation (custom baseval): ntkcalc -c firmware.bin 0xYYYY
YYYY is the calculated baseval, the tool will add this to the calculated checksum
Required for every firmware image with a baseval different to 0x0000, for example nanoQ firmwares.
optional: -cw: This flag will write the calculated checksum at the correct address in the binary
Download: (please do not mirror!)
bfc (v3.3) (Basic compression library for Novatek)
Description: bfc4ntk is a Ntk firmware packer/unpacker based on BCL (Basic compression library)
Usage (new syntax!):
Download: (please do not mirror!)
Attachments
Last edited: