Purduephotog
Getting the hang of it
- Oct 30, 2016
- 204
- 77
I don't have any published firmware for the camera I'm looking at- Ambarella S5 'olive' board I believe. The mini-shell you, @rearanger , have was setup for G cameras, on S3. Do you know if or have you come across any S5 boot logs to help me narrow down what this hardware revision is?
I'm *really* trying to not desolder the NAND chip and dump it. If I can push the firmware over IP, or even solder on a microSD card (appears to have all the components...) then I'd do it in a heartbeat. Assuming I still can find the spare micro cards in the right pin pattern.
sdk/batch update
[02-25 09:00:38][pid:657][SDKCMD][ERROR]----add_socket[58],sdk_link_num=1
[02-25 09:00:38][pid:657][OTHER][ERROR]=========== Veritfy password Success!!!!!
[02-25 09:00:38][pid:657][SDKCMD][ERROR]sdk 5.0 login
[02-25 09:00:38][pid:657][SDKCMD][ERROR]sdk socket[-1] close success.
[02-25 09:00:38][pid:657][SDKCMD][ERROR]----add_socket[57],sdk_link_num=1
[02-25 09:00:38][pid:657][SDKCMD][ERROR]sdk cmd type:0x113028
[02-25 09:00:38][pid:657][OTHER][ERROR]security_check_info.basedata_randome 1429 052861
[02-25 09:00:38][pid:657][SDKCMD][ERROR]cmd_sequence =163
[02-25 09:00:38][pid:657][SDKCMD][ERROR]sdk socket[-1] close success.
[02-25 09:00:38][pid:657][SDKCMD][ERROR]----add_socket[58],sdk_link_num=1
[02-25 09:00:38][pid:657][SDKCMD][ERROR]get_sdk_process_function failed, not fin d this cmd_type=11124c
[02-25 09:00:38][pid:657][SDKCMD][ERROR]Unsupported command type:0x11124c
[02-25 09:00:38][pid:657][SDKCMD][ERROR]----add_socket[57],sdk_link_num=2
[02-25 09:00:38][pid:657][SDKCMD][ERROR]get_sdk_process_function failed, not fin d this cmd_type=111163
[02-25 09:00:38][pid:657][SDKCMD][ERROR]Unsupported command type:0x111163
[02-25 09:00:38][pid:657][SDKCMD][ERROR]----add_socket[59],sdk_link_num=3
[02-25 09:00:38][pid:657][SDKCMD][ERROR]sdk cmd type:0x30b00
[02-25 09:00:38][pid:657][OTHER][ERROR]security_check_info.basedata_randome 1429 052861
[02-25 09:00:38][pid:657][HW_IF][ERROR]NOT SUPPORT get_dsp_buffer_for_upgrade
[02-25 09:00:38][pid:657][SDKCMD][ERROR]sdk socket[-1] close success.
[02-25 09:00:38][pid:657][SDKCMD][ERROR]sdk socket[-1] close success.
[PACK][RT_ERROR][src/firm_crypt_lib.c][firm_data_verfy][951]:0 == (iRet = RSA_data_verfy(aKeyBuf, iKeyLen, pSrcBuf, iSrcLen, pDstBuf, pDstLen)) fail return eErr Val iRet=0xfffffff9!
[02-25 09:00:39][pid:657][UNI_IF][ERROR][UPG_ASSERT] 0 == firm_data_verfy(pUpgInfo->tUpgDevs.iDevSecFlag, (unsigned char *)(pUpgInfo->pFirmHead), tHeadDec.iHead Size, aSignData, &iDstLen) fail to eRetVal UPG_STAT_ERR_PACK_SIGN=0x00000074!
[02-25 09:00:39][pid:657][UNI_IF][ERROR][UPG_ASSERT] UPG_STAT_OK == (eRet = firm_pack_head(pUpgInfo)) fail to eRetVal eRet=0x00000074!
[02-25 09:00:39][pid:657][UNI_IF][ERROR]sys upg fail eUpgStat=0x74, force close slave dev!
[02-25 09:00:39][pid:657][SDKCMD][ERROR]netClient upgrade faild,retval=-39!
[02-25 09:00:40][pid:657][SDKCMD][ERROR]sdk socket[-1] close success.
[02-25 09:01:40][pid:657][SDKCMD][ERROR]----add_socket[60],sdk_link_num=1
[02-25 09:01:40][pid:657][SDKCMD][ERROR]sdk cmd type:0x10200
[02-25 09:01:40][pid:657][OTHER][ERROR]security_check_info.basedata_randome 1333051687
[02-25 09:01:40][pid:657][SDKCMD][ERROR]cmd_sequence =167
[02-25 09:01:40][pid:657][OTHER][ERROR]security_check_info.basedata_randome 1333051687
[02-25 09:01:40][pid:657][SDKCMD][ERROR]sdk socket[-1] close success.
[02-25 09:01:40][pid:657][SDKCMD][ERROR]----add_socket[57],sdk_link_num=1
[02-25 09:01:40][pid:657][SDKCMD][ERROR]----add_socket[58],sdk_link_num=2
[02-25 09:01:40][pid:657][SDKCMD][ERROR]sdk cmd type:0x10200
[02-25 09:01:40][pid:657][OTHER][ERROR]security_check_info.basedata_randome 1429052861
[02-25 09:01:40][pid:657][SDKCMD][ERROR]cmd_sequence =168
[02-25 09:01:40][pid:657][OTHER][ERROR]security_check_info.basedata_randome 1429052861
[02-25 09:01:40][pid:657][SDKCMD][ERROR]sdk cmd type:0x10200
[02-25 09:01:40][pid:657][OTHER][ERROR]security_check_info.basedata_randome 524998783
[02-25 09:01:40][pid:657][SDKCMD][ERROR]cmd_sequence =169
[02-25 09:01:40][pid:657][OTHER][ERROR]security_check_info.basedata_randome 524998783
[02-25 09:01:40][pid:657][SDKCMD][ERROR]sdk socket[-1] close success.
[02-25 09:01:40][pid:657][SDKCMD][ERROR]sdk socket[-1] close success.
security_check_info.basedata_randome 1429
052861
/bin/sh: security_check_info.basedata_randome: not found
#
#
#
web gui update
# [02-26 08:52:25][pid:657][PSIA][ERROR]new session login.
# [02-26 08:52:36][pid:657][PSIA][ERROR]new session login.
[02-26 08:52:36][pid:657][HW_IF][ERROR]NOT SUPPORT get_dsp_buffer_for_upgrade
[PACK][RT_ERROR][src/firm_crypt_lib.c][firm_data_verfy][951]:0 == (iRet = RSA_data_verfy(aKeyBuf, iKeyLen, pSrcBuf, iSrcLen, pDstBuf, pDstLen)) fail return eErrVal iRet=0xfffffff9!
[02-26 08:52:37][pid:657][UNI_IF][ERROR][UPG_ASSERT] 0 == firm_data_verfy(pUpgInfo->tUpgDevs.iDevSecFlag, (unsigned char *)(pUpgInfo->pFirmHead), tHeadDec.iHeadSize, aSignData, &iDstLen) fail to eRetVal UPG_STAT_ERR_PACK_SIGN=0x00000074!
[02-26 08:52:37][pid:657][UNI_IF][ERROR][UPG_ASSERT] UPG_STAT_OK == (eRet = firm_pack_head(pUpgInfo)) fail to eRetVal eRet=0x00000074!
[02-26 08:52:37][pid:657][UNI_IF][ERROR]sys upg fail eUpgStat=0x74, force close slave dev!
[02-26 08:52:37][pid:657][PSIA][ERROR]* PSIA Upgrading END **,iRet=-39
[02-26 08:52:55][pid:657][PSIA][ERROR]new session login.
#
I have a working decrypted/unsigned 5.6.3 digicap.dav that can be loaded straight into montecrypto's minisys update using serial.Yeah it decrypts it but fails RSA check. You have to disable that as you won't be able to sign fw without Hikvision's private key
(or just copy the files over manaually)
Usually davinci deletes itself after load. That's good because otherwise it just sits in memory for no reason (in addition to the running process image).Some of the newer 5.6 firmwares now delete the decrypted davinci_bak from the cam.(unsure what deletes it)
All you need to do is copy a new davinci_bak to home/process then run daemon_fsp
this will leave a decrypted davinci on the cam.
Tested on 5.6.3
Usually davinci deletes itself after load. That's good because otherwise it just sits in memory for no reason (in addition to the running process image).
davinci_bak used to to be left decrypted in "home/process" in firmware's 5.5 and earlier. newer versions now delete it.
Also if you look at minisys . there is an update app for installing unsigned digicap.dav in minisys.
Hello, can you please let me know why your DS-2CD3386FWDV2-IS is collecting dust? It seems I made a huge mistake to buy 20 pieces of DS-2CD3386FWDV2-IS and two NVR from China. I was very scared now when reading your post. I only want some very basic functions such as motion detection and alarms during weekend and night and sending alarms to my android or iPhone, view the cameras live from phone app, play back the recorded videos. Can you please explain a little bit? Very appreciated.I can send you DS-2CD3386FWDV2-IS and you can keep it as it is collecting dust for me now. All my others are bullets and this turret seemed a bit awkward to mount in my location so I won't be using it and it's a pain to sell something chinese-only. Just send me your shipping details via PM.