@
Billkater - This may be a dead topic for you now - or maybe not if your junk pile is bugging you. But may be of interest to others.
With the many problems being seen by people updating the new-manufacture 2-series Hikvision cameras I felt a bit helpless not having one to play with and try things out for myself. So I bought another 2CD3332N-I from CSST, arrived in 9 days.
Label 5.2.8 03/2015, apparent actual 5.2.5, so in the ball park for problems if updated. The camera works fine, connects to both 7816N-E2 NVRs, language=1 in prtHardInfo, 0x02 in mtdblock5&6, CCCH in the serial number. So Chinese under the covers.
So the first thing I did (after step 0 which was to make a copy of
all the flash mtdblock segments ...) was to change the language byte from 0x02 to 0x01 in all the hardware descriptor blocks of mtdblock5 & 6 with a compensating change in the bytes that set the MAC address.
All was good after the reboot - no obvious changes. But it was still running the hacked firmware that masquerades the language to English.
The next thing I did was a planned empirical (suck it and see) exploration of which parts of the hardware descriptor block are covered by the checksum.
As expected, on the first single byte change, the camera bricked and bootlooped.
To get it back, I used
TFTP with a 5.2.5 English digicap.dav (@whoslooking published) and left TFTP running after the file download and 'upgrade success' message, at which point telnet to 192.0.0.64 is available.
And here is the point of posting this here, as there may be some commonality with your problem:
Inspecting the kernel log (cat /proc/kmsg) showed the reason bootup was incomplete - no ramdisk. This is the symptom your camera has.
<6>Unpacking initramfs...
<0>Initramfs unpacking failed: junk in compressed archive
<6>Freeing initrd memory: 4096K
<0>[ kernel version: svn-83192 ]
I grabbed a copy of mtdblock11, which holds initrd, the ramdisk, to check out later. But all I'd changed was one byte in mtdblock6 to cause the camera to brick, so unlikely mtdblock11 was bad.
I put the previous (language-changed) copy of mtdblock6 back, and the camera booted up OK, though back to default settings, and with the 5.2.5 firmware installed.
So I'm wondering if the entry in the kernel log "Initramfs unpacking failed: junk in compressed archive" may be a deliberate red herring to cover what in reality is a checksum integrity failure.
I'll know more as I continue the journey of discovery.