Dahua Firmware Mod Kit + Modded Dahua Firmware

That's probably because you flashed the 2016.12.09 one, telnet wasn't working for me either with that ^^
 
Since it clearly states:
Remember, only for HDBW4431R-ZS, I added only the HWID of that camera into the check.img to make sure it can't be flashed on another camera.
The flash layout is completely different on this camera compared to the other Eos cams.​

No, you can not.
 
@cor35vet, Ive heard reports from vendors that dahua is going to try to squash the Chinese cameras from getting reflashed and sold on other markets this year.. that may be why they are disabling telnet and Sonia is checking for a signature/checksum suddenly.

or it could be in response to the botnets spreading on these things..
 
@cor35vet, Ive heard reports from vendors that dahua is going to try to squash the Chinese cameras from getting reflashed and sold on other markets this year.. that may be why they are disabling telnet and Sonia is checking for a signature/checksum suddenly.

or it could be in response to the botnets spreading on these things..

Meanwhile at Dahua HQ:
LZlVfg5.jpg
 
  • Like
Reactions: BLKMGK and nayr
But I can still try the "DH_IPC-HX4XXX-Eos_BETA.bin"? Which previous had good effects with the camera?
Yeah, that should still work - however I have not tested going from new firmware to old one yet, so probably better to wait until I patch the new one and flash that then.
You can use google translate in chrome in the meantime. (Or if you are good with javascript use a userscript to make the browser load the english localization - I am pretty sure the language file is loaded by the browser and the strings modified by javascript :) )
 
I am happy with the camera for now and that it's working again. I'll wait for the patch. :)

Thank you very much for your great support.
 
Okay so I generated a correct "TranslateCheckCode" for the english translation which I have placed in SimpChinese.txt - got English interface:
Screenshot_2017-01-04_00-28-13.png


but still crashing after a random time interval!!! ARGH!!
So I found this lol:
Screenshot_2017-01-04_00-34-26.png


Notice the rand() % 60, random amount of seconds between 0 and 60 ;)
Time to debug some shit, wish me luck!
 
  • Like
Reactions: gtortone and nayr
Okay, this crap keeps on randomly crashing, I have no clue what the fuck is going on.
Crashes when you patch a single byte in the binary, crashes when you replace the chinese langfile with english one and put the correct TranslateCheckCode in the config.

But I found another "way" lol. The language is indeed loaded by javascript on the webbrowser, so yeah I just included the English.txt in the image without actually putting English as an available language in the "i18n" file.
Then I modified the js to set the language to "English" instead of using the result of /web_caps/preLanguage?version=2.400
"Site.currentLanguage", just search for preLanguage in the web partition.

Not my proudest "crack".
Probably a good idea to ditch the chinese FW and mod the english one when it's out.

So, here is some very beta shit again ;)
Screenshot_2017-01-04_01-56-50.png


Download: https://i.botox.bz/DH_IPC-HX4XXX-Eos_Chn_EngHARD_PN_Stream3_V2.420.0000.22.R.20161209_BETA1.bin
MD5Sum: cb4f9059a27426450eb3a49539658c7f | SHASum: a349e7be9bf7a58332843d2bb5ddfd9ff6d7b82a

Telnet is permanently enabled on port 2300 using utelnetd as dahuas telnetd doesn't work anymore in this version.
 
  • Like
Reactions: marigo and nayr
Hi Cor35vet,

Big thanks for your effort!
Can I safely apply this firmware to the camera (HFW-4431R-Z)?
If you look at the filename, it is a modified version of what you are running on your camera right now - I'd say that it's "safe".
But I also said that for the firmware in the first post because it works fine for me and apparently didn't for you.

Well at least with this one telnet has to work since it's not one of dahuas systems but an open source telnet server ^^
 
Ok, I didn't apply this customized firmware yet. I will in the next few days. (I think I am a bit scared) :eek:

Today I noticed the the (motorized) zoom doesn't work when IR lights are on. I thought it was the 12Vdc adapter so I switched a new one, but same results. When trying to zoom the camera is rebooting.
 
Ok, I didn't apply this customized firmware yet. I will in the next few days. (I think I am a bit scared) :eek:

Today I noticed the the (motorized) zoom doesn't work when IR lights are on. I thought it was the 12Vdc adapter so I switched a new one, but same results. When trying to zoom the camera is rebooting.
I guess it was working fine on the previous version? -> Blame Dahua, you are running stock chinese firmware right now, right?
 
Well, today I installed the camera in the back of my garden and now I am playing with the features. (still Chinese language)
Yep, running the last firmware from dahua.

I didn't play with the zoom with IR leds on when I was performing testing and upgrading. So I don't know if it worked with the original firmware. :(

Maybe it's a bug.

This afternoon the zoom function worked perfectly. The only difference is that it's dark outside and IR is on.
 
Well, today I installed the camera in the back of my garden and now I am playing with the features. (still Chinese language)
Yep, running the last firmware from dahua.

Maybe it's a bug.
You can try flashing the firmware I posted, then telnet into the camera (port 2300) run "killall sonia" and then "sonia".
Then try the crashing feature again and you should get a backtrace from the application - you can email that to Dahua so they can fix it?
Unless it's an electrical issue ^^ When sonia crashes the watchdog kills the camera within ~30 seconds? If it instantly reboots then that sounds like a bigger issue (maybe kernel?)
And also post it here so we can have a look.
 
Doesn't matter, I used both. (And configtool while testing mostly because webinterface was down ^^)
 
:oops: bootloop again.
Not bookmarked the site for telnet username and password.

Same results as last time. I try to apply the chinese firmware again.