Dahua Firmware Mod Kit + Modded Dahua Firmware

cor35vet

IPCT Contributor
Joined
Jun 23, 2016
Messages
337
Reaction score
246
That's probably because you flashed the 2016.12.09 one, telnet wasn't working for me either with that ^^
 

cor35vet

IPCT Contributor
Joined
Jun 23, 2016
Messages
337
Reaction score
246
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.
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,329
Reaction score
5,325
Location
Denver, CO
@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..
 

marigo

Getting the hang of it
Joined
Dec 24, 2016
Messages
136
Reaction score
47
Location
Netherlands
Sorry, I over-red the type of camera. I have a HFW4431R-Z and that's different. :oops:
 

cor35vet

IPCT Contributor
Joined
Jun 23, 2016
Messages
337
Reaction score
246
@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:
 

cor35vet

IPCT Contributor
Joined
Jun 23, 2016
Messages
337
Reaction score
246
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 :) )
 

marigo

Getting the hang of it
Joined
Dec 24, 2016
Messages
136
Reaction score
47
Location
Netherlands
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.
 

cor35vet

IPCT Contributor
Joined
Jun 23, 2016
Messages
337
Reaction score
246
Okay so I generated a correct "TranslateCheckCode" for the english translation which I have placed in SimpChinese.txt - got English interface:


but still crashing after a random time interval!!! ARGH!!
So I found this lol:


Notice the rand() % 60, random amount of seconds between 0 and 60 ;)
Time to debug some shit, wish me luck!
 

cor35vet

IPCT Contributor
Joined
Jun 23, 2016
Messages
337
Reaction score
246
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 ;)


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.
 

marigo

Getting the hang of it
Joined
Dec 24, 2016
Messages
136
Reaction score
47
Location
Netherlands
Hi Cor35vet,

Big thanks for your effort!
Can I safely apply this firmware to the camera (HFW-4431R-Z)?
 

cor35vet

IPCT Contributor
Joined
Jun 23, 2016
Messages
337
Reaction score
246
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 ^^
 

marigo

Getting the hang of it
Joined
Dec 24, 2016
Messages
136
Reaction score
47
Location
Netherlands
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.
 

cor35vet

IPCT Contributor
Joined
Jun 23, 2016
Messages
337
Reaction score
246
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?
 

marigo

Getting the hang of it
Joined
Dec 24, 2016
Messages
136
Reaction score
47
Location
Netherlands
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.
 

cor35vet

IPCT Contributor
Joined
Jun 23, 2016
Messages
337
Reaction score
246
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.
 

marigo

Getting the hang of it
Joined
Dec 24, 2016
Messages
136
Reaction score
47
Location
Netherlands
What do you suggest to perform the upgrade? via configtool or the webinterface?
 

cor35vet

IPCT Contributor
Joined
Jun 23, 2016
Messages
337
Reaction score
246
Doesn't matter, I used both. (And configtool while testing mostly because webinterface was down ^^)
 

marigo

Getting the hang of it
Joined
Dec 24, 2016
Messages
136
Reaction score
47
Location
Netherlands
: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.
 
Top