Hikvision FIRMWARE TOOLS - change language, extract files and create own firmware

pepeEL

Getting the hang of it
Joined
May 18, 2016
Messages
168
Reaction score
7
No. I don't try. Because I don't know that it is the same platform. But ok I try.
 

pepeEL

Getting the hang of it
Joined
May 18, 2016
Messages
168
Reaction score
7
Ok i try. But no unpack. Not working with this platform.
 

pepeEL

Getting the hang of it
Joined
May 18, 2016
Messages
168
Reaction score
7
It is hikvision. Look it is on server hikvision to download.
 

oktane

n3wb
Joined
Oct 29, 2018
Messages
1
Reaction score
1
Location
US
Hi everybody. As you might know, Hikvision is going to change their firmware version to update the gui. It's apparently a major overhaul. (and so far it's pretty buggy) I was curious, how did you guys get the key for the decrypt? Flash dump? I ask because I think they have changed it..

Code:
user@ubuntuvm:~/Desktop/Firmware$ sudo ./unpack.sh digicap.dav

Unpack DAV file
DavExtraTailOffset = 53587020 ; ExtraTailLen = 418070220 bytes
Firmware digicap.dav unpacked.

Unpack cramfs.img
fsck.cramfs: stat of cramfs.img failed: No such file or directory
./unpack.sh: 34: cd: can't cd to img
Decrypt file: start.sh
bad decrypt
140160163373504:error:0606508A:digital envelope routines:EVP_DecryptFinal_ex:data not multiple of block length:../crypto/evp/evp_enc.c:517:

DAV file was unpacked

Extract files from overseas.tar.lzma
tar (child): overseas.tar.lzma: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
user@ubuntuvm:~/Desktop/Firmware$
Here is the firmware if you are curious: DOWNLOAD EU PORTAL

Notice how long the davExtraTail is, is that odd? Also, you cannot do the ssh append real shell command instead of psh anymore. (at least remote, i didn't try serial) :( Also the root/hiklinux does not work remotely.

Thanks
 

Ivan1985

n3wb
Joined
May 6, 2019
Messages
19
Reaction score
12
Location
Russia
Hi everybody. As you might know, Hikvision is going to change their firmware version to update the gui. It's apparently a major overhaul. (and so far it's pretty buggy) I was curious, how did you guys get the key for the decrypt? Flash dump? I ask because I think they have changed it..

Code:
user@ubuntuvm:~/Desktop/Firmware$ sudo ./unpack.sh digicap.dav

Unpack DAV file
DavExtraTailOffset = 53587020 ; ExtraTailLen = 418070220 bytes
Firmware digicap.dav unpacked.

Unpack cramfs.img
fsck.cramfs: stat of cramfs.img failed: No such file or directory
./unpack.sh: 34: cd: can't cd to img
Decrypt file: start.sh
bad decrypt
140160163373504:error:0606508A:digital envelope routines:EVP_DecryptFinal_ex:data not multiple of block length:../crypto/evp/evp_enc.c:517:

DAV file was unpacked

Extract files from overseas.tar.lzma
tar (child): overseas.tar.lzma: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
user@ubuntuvm:~/Desktop/Firmware$
Here is the firmware if you are curious: DOWNLOAD EU PORTAL

Notice how long the davExtraTail is, is that odd? Also, you cannot do the ssh append real shell command instead of psh anymore. (at least remote, i didn't try serial) :( Also the root/hiklinux does not work remotely.

Thanks
These scripts (unpack.sh, repack.sh) support only Video intercom and Door bells devices. Please use hikpack tool for NVRs.
 

pepeEL

Getting the hang of it
Joined
May 18, 2016
Messages
168
Reaction score
7
For example tool montecrypto not working with firmware which we use tool from Ivan1985...
 

Lim

n3wb
Joined
Sep 6, 2017
Messages
3
Reaction score
0
Hello :
i bought 2 Hikvision Chinese and its "Language Mismatch "with my English NVR.
Model : DS-IPC-T12H2-I
Firmware: V5.5.82_190311

I found the same but English firmware 5.5.82_190311 here.

HIKVISION UK PORTAL

Is it safe to update this firmware and hopefully have English instead ? I just need it to work with my NVR.

When linked direct to PC or router ,it can work.
(Tried OVIF mode with NVR ,its cannot be detected.)
Thanks.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,929
Reaction score
6,777
Location
Scotland
Is it safe to update this firmware and hopefully have English instead ? I just need it to work with my NVR.
Very likely not - applying EN firmware to a CN camera will either be rejected, or the camera will be bricked.

Tried OVIF mode with NVR ,its cannot be detected.
You may have to enable ONVIF in the camera web GUI.
But, depending on the model and firmware version of the NVR, Hikvision also introduced language checking / camera rejection under ONVIF protocol.

If you activate ONVIF in the camera, check out the 'RTSP string' in 'ONVIF Device Manager' (sourceforge.net) 'Live Video' page and see if the camera can be added under 'Custom protocol'.
 

Lim

n3wb
Joined
Sep 6, 2017
Messages
3
Reaction score
0
@alastairstevenson : thanks for the quick reply.
Whats the next best course of action.. I tried your change language tools but the "‘magic number’ is ‘0x484B5753’" NOT tally.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,929
Reaction score
6,777
Location
Scotland
Changing the language of the firmware header will not yield any useful result.
The CN camera will not work with an EN/ML NVR.
This is by design of Hikvision.
 

netpirat

n3wb
Joined
Oct 3, 2017
Messages
7
Reaction score
4
Hello, i need help. I updated my Hikvision DS-7716NI-E4 with an official update from the Hikvision Firmware site. Now it is not working anymore because i have the not update firmware from china. Can someone help me with the newest firmware for that case? Is it possible do update it so that we get update it regually? I need the german firmware.
Thanks in advance.
Best regards
 

Lim

n3wb
Joined
Sep 6, 2017
Messages
3
Reaction score
0
@alastairstevenson ......I manage to use Onvif protocol to use the camera.
Firmware after 5.5.x need to enable Onvif protocol in Hikvision camera.

Your suggestion of 'ONVIF Device Manager' (sourceforge.net) point me into the right direction.

This DVS howto video also help...

thank you.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,929
Reaction score
6,777
Location
Scotland
.I manage to use Onvif protocol to use the camera.
That's a good result.
And a bit surprising, as Hikvision also introduced language checking in the NVR via ONVIF cameras some time ago.
But maybe they no longer do that.
Worth knowing!
 

netpirat

n3wb
Joined
Oct 3, 2017
Messages
7
Reaction score
4
Hello, it is not with international firmware. It is beeping.

I looked it up. It is an DS-7732N-E4. But Chinese Modell. With cracked international Firmwar. I will look up the shown error.

I dismantle it from the roof to have a display :)

I see only the start screen Embedded NVR - than it is beeping.
I can not do anything. No button or something is working.

SADP is not finding an IP.

Now i was able to use an old digicap.dav I can use Firmware 3.2.2build150522. Is izt possible to get an newer firmware? Or is it possible to change the settings of the modell, so that it is possible to use the normal multilanguage downloaded firmware?
 
Last edited:
Top