How to recover Hikvision DVR....Please help

John Who

n3wb
Joined
May 17, 2017
Messages
19
Reaction score
0
I upgraded my Hikvision DVR (DS-7216HQHI-K2) yesterday and broke the DVR. I think I have uploaded the wrong firmware to the DVR and caused the DVR not functioning properly. After I uploaded the new firmware into the DVR, the DVR showed successful message and rebooted. However, now at the login screen, the username is empty, even the Admin id which used to be there is gone.

Without able to login, I cannot downgrade the firmware from the GUI. I managed to connect to the DVR console using the USB-TTL UART converter, however after I pressed ctrl+u when booting, I managed to stop the autoboot process, but the screen just stop there with the prompt HKVS$ and nothing else. I type printenv, help and etc., nothing displayed.

I can see a lot of error message when I boot the DVR normal, please see attached file.

Could anyone help please? Your help is greatly appreciated.
 

Attachments

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
11,739
Reaction score
3,784
Location
Scotland
I type printenv, help and etc., nothing displayed.
Are you saying that the commands typed do not echo - or the commands typed give no responses?
If the latter - the bootloader has been broken and likely not usable for any commands that would do firmware updates.
 

John Who

n3wb
Joined
May 17, 2017
Messages
19
Reaction score
0
Are you saying that the commands typed do not echo - or the commands typed give no responses?
If the latter - the bootloader has been broken and likely not usable for any commands that would do firmware updates.
I think the UBoot is still running because when I input the following commands, the tftp runs but just that it booted to the wrong firmware again.

setenv ipaddr 192.0.0.64
setenv serverip 192.0.0.128
setenv bootargs console=ttyS2,115200n8 root=/dev/ram0 rw initrd=0x42000000
setenv bootcmd 'tftp 0x42000000 digicap.dav; boot 0xc4200000'

The above commands I got from a forum in the internet, which maybe not correct. Can you help on this?

Thank you for your response.
 

iTuneDVR

Getting the hang of it
Joined
Aug 23, 2014
Messages
461
Reaction score
56
Location
www.iTuneDVR.ru
What firmware you use to upgrade? Link?
Verry poor log.
Stop u-boot loader and type help
Uuse update command or other command to restore youy DVR with erase config
DVR is original?
 

John Who

n3wb
Joined
May 17, 2017
Messages
19
Reaction score
0
I think the UBoot is still running because when I input the following commands, the tftp runs but just that it booted to the wrong firmware again.

setenv ipaddr 192.0.0.64
setenv serverip 192.0.0.128
setenv bootargs console=ttyS2,115200n8 root=/dev/ram0 rw initrd=0x42000000
setenv bootcmd 'tftp 0x42000000 digicap.dav; boot 0xc4200000'

The above commands I got from a forum in the internet, which maybe not correct. Can you help on this?

Thank you for your response.

I am sorry, there was typo errors in the previous post, The commands I entered was as follow:

setenv ipaddr 192.0.0.64
setenv serverip 192.0.0.128
setenv bootargs console=ttyS2,115200n8 root=/dev/ram0 rw initrd=0x42000000
setenv bootcmd 'tftp 0xc0700000 uImage; tftp 0x42000000 digicap.dav; boot 0xc0700000'


Attached are the output after the above commands were entered and the getHardInfo command from the console after the that. Notice that the firmware version is V3.5.50 build 180124, which is wrong for my DVR model. The correct firmware should be V3.5.35_Build_180316 (which I have installed on another exact same DVR model as this one and it is working fine).

I need to know how can I load this V3.5.35_Build_180316 into the DVR to overwrite the wrong firmware from UBoot since the Update Command is not working. I type 'update' in the UBOOT prompt but nothing happening.

Any one please help, your help is very much appreciated.
 

Attachments

John Who

n3wb
Joined
May 17, 2017
Messages
19
Reaction score
0
What firmware you use to upgrade? Link?
Verry poor log.
Stop u-boot loader and type help
Uuse update command or other command to restore youy DVR with erase config
DVR is original?

I downloaded the firmware from DOWNLOAD PORTAL

The DVR is an OEM from Hikvision, I bought it from NODAC Technology.
 

iTuneDVR

Getting the hang of it
Joined
Aug 23, 2014
Messages
461
Reaction score
56
Location
www.iTuneDVR.ru
# ----------<2> show logo ----------
read: pDevCfg->cfgHead.paraVersionis [0x170816];
read: iCkSum is [0x835]; pDevCfg->cfgHead.paraChecksum is [0x82d]
ckSum error,iCkSum=0x835,paraChecksum=0x82d!
ERROR this is a new device, please check!!

What firmware version was and what versiion you update?
 

John Who

n3wb
Joined
May 17, 2017
Messages
19
Reaction score
0
You try all that firmware?

I upgraded from low to high version of all the firmware. I should have stopped at version 35 but I uploaded the V50 which is a big mistake. I checked the document file in the V50 and realized that it is not for my DVR model, but mistake has been made it is too late. The funny thing is that the DVR did not reject the V50 for my DVR and instead it shown Upgrade Successful message at the end of the upgrade.
 

John Who

n3wb
Joined
May 17, 2017
Messages
19
Reaction score
0
# ----------<2> show logo ----------
read: pDevCfg->cfgHead.paraVersionis [0x170816];
read: iCkSum is [0x835]; pDevCfg->cfgHead.paraChecksum is [0x82d]
ckSum error,iCkSum=0x835,paraChecksum=0x82d!
ERROR this is a new device, please check!!

What firmware version was and what versiion you update?
I upgraded from V3.5.35_Build_180316 to V3.5.50_Build_180124.
 

iTuneDVR

Getting the hang of it
Joined
Aug 23, 2014
Messages
461
Reaction score
56
Location
www.iTuneDVR.ru
You use K71?

Code:
K72
DS-7104HQHI-K1、DS-7108HQHI-K1

K71
DS-7116HQHI-K1

K52
DS-7304HUHI-K4、DS-7308HUHI-K4、DS-7316HUHI-K4
DS-9008HUHI-K8、DS-9016HUHI-K8

Read
[important]4.0 series match 2017.xlsx
No problem with your model name and firmware version.
 

John Who

n3wb
Joined
May 17, 2017
Messages
19
Reaction score
0
You use K71?

Code:
K72
DS-7104HQHI-K1、DS-7108HQHI-K1

K71
DS-7116HQHI-K1

K52
DS-7304HUHI-K4、DS-7308HUHI-K4、DS-7316HUHI-K4
DS-9008HUHI-K8、DS-9016HUHI-K8

Read
[important]4.0 series match 2017.xlsx
No problem with your model name and firmware version.
It is DS-7216HQHI-K2
 

John Who

n3wb
Joined
May 17, 2017
Messages
19
Reaction score
0

John Who

n3wb
Joined
May 17, 2017
Messages
19
Reaction score
0
I ask about dirrecl link to firmware what you use, don't common folder!!!
Please see post #16, I copy and paste the URL from the web site, but it appears as DOWNLOAD PORTAL in the post. But when you click on the DOWNLOAD PORTAL, it will bring you to the URL where I downloaded the firmware.
 

John Who

n3wb
Joined
May 17, 2017
Messages
19
Reaction score
0
Try this
DropMeFiles – free one-click file sharing service
It's 1st part of DVR-K71_K72_OVERSEAS-ML_STD_V3.5.35_Build_180316 that work
My problem now is that there is no username after the DVR booted up, I cannot login to the DVR to do the normal upgrade process. The username is empty on the screen.

The update command is not working when I connected to the console and press ctrl-u. There is only one prompt HKVS$ and after i type update and press enter, nothing happen.

Any guide on how to proceed next?

Thank you very much for your kindness in trying to help me out.
 

iTuneDVR

Getting the hang of it
Joined
Aug 23, 2014
Messages
461
Reaction score
56
Location
www.iTuneDVR.ru
help at console or press tab

no user - it possible problem it language resourse, but try connect to DVR from iVMS4200
 
Top