Hikvision FIRMWARE Mod TOOLS V4 - CCTVFirmware.Com - DVR NVR IPC Firmware

Hikvision FIRMWARE Mod TOOLS v4

Hikvision FIRMWARE Mod TOOLS v4, Firmware Mod Tool for Hikvision NVR and IP camera devices. It’s a short piece of code that makes it easily possible to change the ‘Language’ flag on the firmware update files that Hikvision provides for their range of NVRs and IP cameras. The user does not need programming expertise to use this tool.

[Mod: WARNING … Use at your own risk]

What is this tool?

It’s a short piece of code that makes it easily possible to change the ‘Language’ flag on the firmware update files that Hikvision provides for their range of NVRs and IP cameras. The user does not need programming expertise to use this tool.

The tool also provides some advanced facilities to extract the contents from the main body of a firmware upgrade file for inspection or further development. The tool can also re-package the updated changed or added contents into a new firmware update file that can be applied to the IP camera or NVR as a normal upgrade.

Why would I need it?

It’s common that after purchasing Hikvision IP cameras and NVRs from low-cost sources such as Chinese internet-based sellers, users encounter some problems such as ‘Language mismatch’ when trying to integrate the devices or update the firmware. Hikvision applies ‘Region codes’ and ‘language flags’ to their IP cameras and NVRs and to the associated firmware updates, and tries to ensure their products are sold via their ‘Authorised Distributor Network’. Sellers can modify internal region and language settings in various ways to cheaply sell products from one region in another region, in a way that can cause later problems for the buyer when updates are attempted.

Advanced users can modify or add files to the firmware image, to customise the capabilities and behaviour of their IP camera or NVR.

How does the tool work?

The tool scans and decodes the NVR or IP camera firmware update file that the user would like to use to update the device, and allows the ‘Language flag’ to be changed, such that ‘Language mismatch’ errors that occur on an attempted update can be eliminated.

The tool extracts all the individual files from the main section of the firmware upgrade file, making them available for inspection or changing.

How do I use it?

The steps are straightforward, but do need some care to be taken, and require an understanding that although the tool is reliable and has been tested, it may not take account of future changes such as the firmware update file structure being re-engineered, or new checksums being incorporated.

Please proceed as follows:

– Have available a Windows PC, with the Hikvision Support Tools package available, which mainly consists of a TFTP server and the instructions on how this can be used to recover a failed firmware update on an NVR or IP camera.

– Store in a folder on the PC the NVR or IP camera firmware upgrade file that you would like to use, along with the ‘hiktools.exe’ firmware mod tool program. This could be the same folder as used by the TFTP program.

– Ensure the NVR or IP camera is powered on and connected to the same local network as the PC, and ensure that you can log on to the web admin GUI with an administrator account (usually admin).

– On the Windows PC, start a command-line window, usually with ‘Start | CMD’. Change the drive and directory to that holding the hiktools.exe program.

– First check that the firmware file to be changed can be correctly decoded. Assuming that the firmware filename is ‘digicap.dav, execute the following command:

hiktools digicap.dav

and inspect the result on the screen.

Hikvision FIRMWARE Mod TOOLS v4

The tool will show the header raw data, the header decoded data, a summary of key values in the header, and the full decoded data including a list of the embedded files and their checksums.

An important value to check in the summary of key values is that the ‘magic number’ is ‘0x484B5753’ and that the iLanguage value is 1 or 2 The iHeadTotalLen varies with the number of files in the main section of the firmware update file. The value is 64 bytes plus 44 bytes x (the number of files held in the main section). This can be 108 for NVR firmware that typically has a single CRAMFS image, and 1208 for camera firmware holding 26 files. This should give a reasonable confidence level that the file is in a format that can be decoded. If the results do not match these values – DO NOT PROCEED further.

– Make a backup copy of the original firmware file with the following command:

‘copy digicap.dav digicap.dav.backup’

– At this point it is possible to simply change the ‘Language flag’ by executing the following command, using ‘1’ for English or Multi, and ‘2’ for Chinese. If you wanf flash english firmware to chinese IPC or NVR you need set language to 2:

hiktools lang digicap.dav 2

– The modified firmware file is now ready to be applied to the NVR or IP camera. Log in to the web admin GUI, and use the ‘Configuration | Maintenance | Remote Upgrade’ menu to select the new firmware file, and click the ‘Upgrade’ button. Observe the progress indicator, and the reboot progress. After reboot, check that the ‘Language mismatch’ problem has been eliminated.

image1 718w539h

Advanced use of the Firmware Mod Tool

In addition to the ability to modify the language flag in a firmware update file, the tool can be used to split the firmware file into its header section and all the component parts of the main or rootfs section, and also to create a new firmware file by joining a header section to a new main section that holds files from within a specified folder where the user may have modified the contents.

This clearly provides opportunities for customising the behaviour of your NVR or IP camera, however it is suggested that these facilities should only be used by those knowledgeable in the structure and practice of embedded Linux firmware files as implemented by Hikvision in their NVR and IP camera products.

For reference, the advanced commands of the firmware mod tool are as follows:

hiktools split digicap.dav destinationdir

The output on the screen lists the names of the files extracted from the main section of the firmware file. These files are created in the specified destination directory, and can be inspected and used when the extraction is complete.

In the version 03R and later of the hiktools program, there is a facility to recombine the extracted files, some of which the user may have since modified, or added to, into an original, valid firmware file that could be used by the firmware upgrade process in the IP camera or NVR. It is therefore possible for the user to modify and customise the IP camera or NVR behaviour should they wish to do so.

hiktools create header_from_digicap.dav sourcedir

The tool creates a new firmware file by combining the header extracted from the first argument with the contents of the directory from the second argument. Those contents could be files previously extracted, some of which were since modified, or with additional files to be included in the firmware image.

hiktools04r.rar

onestly I can’t remember all the steps and I am sure there are shortcuts but here are some of the things I did:

1) There are tools that other people have created that do the above task. use this link with instructions included:

http://www.mediafire.com/download/tk6p7bzc4u09bqb/ftp583v525.rar

Alternatively, you may be able to use the Batch Upgrading tool in “tools.exe” available from Hikvision http://www.hikvision.com/europe/download_more.asp?id=1335 . So long as you can FIND the camera and can LOGIN using admin/12345 (or possibly your own password). If so then try upgrade with the digicap.dav in the above .rar . If the camera was supplied from China then its a Chinese version 2.5 which may or may not have English turned on. However, even if it comes up in Chinese, so long as you can login then you can proceed.

2) Once you upgrade the firmware, if you end up with a Chinese version, to change that back to default English, download PuTTY.exe from www.putty.org/ and 7-zip from www.7-zip.org/ and follow most of the instructions here

YouTube video

(Youtube “How to make Hikvision firmware multilanguage”) but rather than commenting out the field in the JSlogin script as he suggested, leave that line alone and instead just change both languages in these two ChooseLanguage statements from ch to en

$(“#divLanguageChoose”).css(“height”, “auto”);

if (“zh” != $.cookie(‘language’)) {

chooseLanguage(“en”);

}

} else {

$(“#divLanguageChoose”).find(“label[id=zh]”).parent().remove();

if (“zh” == $.cookie(‘language’)) {

chooseLanguage(“en”);

Then you’ll only get English as the default and no options!

Hikvision has updated its Hikvision Tools utility packto version 1.0.0.2, releasing new versions of the 4 utilities that make up this pack. All of them can be downloaded for free from their website both together and individually.

SADP v2.1.0.2 (Search Active Devices Protocol) allows us to quickly locate all compatible devices connected to our subnet, as well as easily modify the device’s basic network information.
hiktools 1

IPC Calculator v2.1.0.2 (IP Camera Calculator) allows us to calculate the number of NVRs or HDVRs necessary to work with a certain number of IP cameras according to their parameters (resolution, FPS, bitrates), or perform the reverse calculation, to know how many cameras of each type we can use on a given NVR or HDVR.
hiktools 2

Disk Calculator v3.0.0.3 quickly performs the necessary calculations to know how much hard drive we need to record a certain time according to the recording parameters, or how much recording time we can obtain with the storage space we have.
hiktools 3

Bandwidth Calculator v1.0.0.3 allows us to accurately calculate the bandwidth that we will require for a computer under specific working conditions. Knowing the upload bandwidth available on an Internet connection will allow us to configure the streams optically to be able to make the most of the connection without saturating it.
hiktools 4

Leave a Comment