I'm always looking for Hikvision or Dahua 'spares and repairs' items on eBay, but they are uncommon here in the UK.
A few weeks back there was a DS-2CD4T42WD-I8 4MP black face bullet camera with a lost password.
I tried to advise the seller how to fix that - but he just wanted to sell, so I bought it. Cheaply.
A couple of minutes after powering it on, I'd extracted the password - 123456789a
So what to do with it now? I wasn't going to use it, too big, no need.
I found when I opened it that the system board and sensor board were the same mechanically as those in a DS-2CD2332-I turret, so I swapped them into one I'd had lying around for ages and now had a DS-2CD4T42WD-I8 in turret format. See post Reset button on DS-2CD2T42WD-I5 ??
But what to do with the body? Sell as a dummy?
Maybe, but just for fun, why not try to graft a 3rd-party starlight camera board into it?
So I bought an "IMX307 Sensor and HI3516EV100 with F1.2 4mm Lens" IP camera board for £21 from here : Starlight IP Camera 1080P H265 Module Board use SONY IMX307 Sensor and HI3516EV100 with F1.2 4mm Lens Free Shipping-in Surveillance Cameras from Security & Protection on Aliexpress.com | Alibaba Group
See the attachment for the suppliers specification.
This is just a few words and thoughts about the board - the Hik Hack Starlight Hybrid will be another post.
At £21 for an IMX307 IP camera board with a starlight lens it's not going to be very good, is it?
But actually, it is, I'm quite impressed with it. The f1.2 starlight lens is the same as one I bought for £8.
And it's not just that the module gives a good colour image with almost full darkness, the firmware isn't bad.
I'd have been happy to pay a bit more for a better-speced board - it doesn't have an IR-cut filter, or a PoE capability.
But that's easily added.
Some items of interest - not necessarily extensively tested or checked as bug-free:
The video codecs supported are : H.264/H265/H.264+/H.265+
I found this pretty surprising:
The board supports a subset of Hikvision's ISAPI commands and shows up in SADP as a DS-2CD3T10D-I3 and allows SADP to change network settings.
It was able to be added to a DS-7816N and DS-7616NI-K2 NVR as a normal Hikvision camera.
The NVR was able to configure video/audio, image and motion event settings as normal.
There is the usual camera-specific ActiveX control needed under Windows, for use in IE11 to provide Live Video.
But this was surprising too - using Firefox under Linux Mint, the camera used Flash Player as the plugin to view Live Video.
This is the first camera I've seen that works in Firefox under Linux without adding a camera-specific plug-in.
ONVIF Device Manager finds the board and shows a reported ONVIF 2.40 version.
The board generates ONVIF motion detection events. That's always a plus.
The user interface has the usual set of video, image and system configurable items - and maybe a few more.
The Record and Storage menus presumably depend on a USB/MicroSD connection, which this board does not have.
Now to the firmware.
The System Info shows version 2.2.6.57611134 of 2018/04/12 so pretty recent.
I don't have a copy of the original firmware, so I need to look at the running system to find out about it.
The board has pads for UART0 and 1 so easy to connect to the serial console - though the pad labelling is incorrect.
For those readers who'd be interested (possibly the minority) attached is a transcript of the bootloader command interface - well enough featured to do bad things.
Also a transcript of the serial console on a normal startup.
The firmware originates from JUAN at juanvision.com / juancctv.com
A bit like herospeed in that they supply firmware to other manufacturers.
There is no direct access to a shell - it's protected by a login and I don't know the password.
And I don't have firmware that can be unpacked and the password hash cracked.
But no problem - with serial console access you own the camera, and sure enough, changing the bootargs parameter init=/linuxrc to init=/bin/sh gets us to a command shell.
Then it's just a matter of completing the system initiallisation, mounting a NAS NFS share and pulling out the flash partitions and anything that looks useful.
Such as passwd and passwd-
root:ab8nBoH3mb8.g:0:0::/root:/bin/sh
root:ABgia2Z.lfFhA:0:0::/root:/bin/sh
from which the root password is cracked as helpme and j1/_7sxw
Which works OK.
So far, so good.
What about telnet or SSH?
There is a telnetd in Busybox, which when executed works OK.
How to make it permanent?
Looking at the mounted partitions, the passwd- file and the main startup scripts are in a squashfs (read-only) file system, so I can't just modify them.
The only flash partition holding a writable file system is mtdblock3 with jffs2 used to hold the configuration amongst other data.
Fortunately, there is a stub startup.sh script in /media/conf/shell/startup.sh which gets called, and which can have "/usr/sbin/telnetd &" added.
And that works OK, it's in a jffs2 read/write partition.
/ # mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=15496k,nr_inodes=3874,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
tmpfs on /media type tmpfs (rw,relatime)
tmpfs on /usr/local type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/loop0 on /media/custom type squashfs (ro,relatime)
/dev/mtdblock3 on /media/conf type jffs2 (rw,relatime)
That's more than enough of the techy stuff to bore most readers.
So, in summary.
This is an interesting, low-cost, starlight camera module that seems to work pretty well. Amazingly it seems to be Hikvision compatible.
Just for fun I'm going to see if I can graft it in to a couple of Hikvision bodies that are doing nothing - a DS-2CD4T42WD-I8 which should be possible, and maybe a DS-2CD2612F-I dome that has a faulty sensor board as sent to me for analysis by a forum member.
A few weeks back there was a DS-2CD4T42WD-I8 4MP black face bullet camera with a lost password.
I tried to advise the seller how to fix that - but he just wanted to sell, so I bought it. Cheaply.
A couple of minutes after powering it on, I'd extracted the password - 123456789a
So what to do with it now? I wasn't going to use it, too big, no need.
I found when I opened it that the system board and sensor board were the same mechanically as those in a DS-2CD2332-I turret, so I swapped them into one I'd had lying around for ages and now had a DS-2CD4T42WD-I8 in turret format. See post Reset button on DS-2CD2T42WD-I5 ??
But what to do with the body? Sell as a dummy?
Maybe, but just for fun, why not try to graft a 3rd-party starlight camera board into it?
So I bought an "IMX307 Sensor and HI3516EV100 with F1.2 4mm Lens" IP camera board for £21 from here : Starlight IP Camera 1080P H265 Module Board use SONY IMX307 Sensor and HI3516EV100 with F1.2 4mm Lens Free Shipping-in Surveillance Cameras from Security & Protection on Aliexpress.com | Alibaba Group
See the attachment for the suppliers specification.
This is just a few words and thoughts about the board - the Hik Hack Starlight Hybrid will be another post.
At £21 for an IMX307 IP camera board with a starlight lens it's not going to be very good, is it?
But actually, it is, I'm quite impressed with it. The f1.2 starlight lens is the same as one I bought for £8.
And it's not just that the module gives a good colour image with almost full darkness, the firmware isn't bad.
I'd have been happy to pay a bit more for a better-speced board - it doesn't have an IR-cut filter, or a PoE capability.
But that's easily added.
Some items of interest - not necessarily extensively tested or checked as bug-free:
The video codecs supported are : H.264/H265/H.264+/H.265+
I found this pretty surprising:
The board supports a subset of Hikvision's ISAPI commands and shows up in SADP as a DS-2CD3T10D-I3 and allows SADP to change network settings.
It was able to be added to a DS-7816N and DS-7616NI-K2 NVR as a normal Hikvision camera.
The NVR was able to configure video/audio, image and motion event settings as normal.
There is the usual camera-specific ActiveX control needed under Windows, for use in IE11 to provide Live Video.
But this was surprising too - using Firefox under Linux Mint, the camera used Flash Player as the plugin to view Live Video.
This is the first camera I've seen that works in Firefox under Linux without adding a camera-specific plug-in.
ONVIF Device Manager finds the board and shows a reported ONVIF 2.40 version.
The board generates ONVIF motion detection events. That's always a plus.
The user interface has the usual set of video, image and system configurable items - and maybe a few more.
The Record and Storage menus presumably depend on a USB/MicroSD connection, which this board does not have.
Now to the firmware.
The System Info shows version 2.2.6.57611134 of 2018/04/12 so pretty recent.
I don't have a copy of the original firmware, so I need to look at the running system to find out about it.
The board has pads for UART0 and 1 so easy to connect to the serial console - though the pad labelling is incorrect.
For those readers who'd be interested (possibly the minority) attached is a transcript of the bootloader command interface - well enough featured to do bad things.
Also a transcript of the serial console on a normal startup.
The firmware originates from JUAN at juanvision.com / juancctv.com
A bit like herospeed in that they supply firmware to other manufacturers.
There is no direct access to a shell - it's protected by a login and I don't know the password.
And I don't have firmware that can be unpacked and the password hash cracked.
But no problem - with serial console access you own the camera, and sure enough, changing the bootargs parameter init=/linuxrc to init=/bin/sh gets us to a command shell.
Then it's just a matter of completing the system initiallisation, mounting a NAS NFS share and pulling out the flash partitions and anything that looks useful.
Such as passwd and passwd-
root:ab8nBoH3mb8.g:0:0::/root:/bin/sh
root:ABgia2Z.lfFhA:0:0::/root:/bin/sh
from which the root password is cracked as helpme and j1/_7sxw
Which works OK.
So far, so good.
What about telnet or SSH?
There is a telnetd in Busybox, which when executed works OK.
How to make it permanent?
Looking at the mounted partitions, the passwd- file and the main startup scripts are in a squashfs (read-only) file system, so I can't just modify them.
The only flash partition holding a writable file system is mtdblock3 with jffs2 used to hold the configuration amongst other data.
Fortunately, there is a stub startup.sh script in /media/conf/shell/startup.sh which gets called, and which can have "/usr/sbin/telnetd &" added.
And that works OK, it's in a jffs2 read/write partition.
/ # mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=15496k,nr_inodes=3874,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
tmpfs on /media type tmpfs (rw,relatime)
tmpfs on /usr/local type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/loop0 on /media/custom type squashfs (ro,relatime)
/dev/mtdblock3 on /media/conf type jffs2 (rw,relatime)
That's more than enough of the techy stuff to bore most readers.
So, in summary.
This is an interesting, low-cost, starlight camera module that seems to work pretty well. Amazingly it seems to be Hikvision compatible.
Just for fun I'm going to see if I can graft it in to a couple of Hikvision bodies that are doing nothing - a DS-2CD4T42WD-I8 which should be possible, and maybe a DS-2CD2612F-I dome that has a faulty sensor board as sent to me for analysis by a forum member.
Attachments
-
P6030187.JPG7.2 MB · Views: 116
-
P6030189.JPG7.4 MB · Views: 133
-
Screenshot from 2018-05-31 12-20-23.png820.2 KB · Views: 121
-
Screenshot from 2018-05-31 12-20-53.png100.7 KB · Views: 125
-
Screenshot from 2018-05-31 12-21-41.png432.8 KB · Views: 109
-
Screenshot from 2018-05-31 12-22-15.png423 KB · Views: 110
-
Screenshot from 2018-05-31 12-23-09.png55.5 KB · Views: 104
-
Screenshot from 2018-05-31 12-24-35.png274.3 KB · Views: 99
-
specifications.txt829 bytes · Views: 11
-
bootloader.txt2.3 KB · Views: 15
-
normal_startup.txt34.7 KB · Views: 20