Manage to extract, modify and build the firmware successfully, but failed to upgrade on device. Dahua does a checksum on recently firmware so that modifying firmware is not easy to achieve.@cor35vet: Here the firmware link: DH-NVR4XXX-4KS2
Any one know how to change/bypass the checksum?