cctv_007 3 Posted March 4, 2015 You can get a lot more information on this and other Dahua related details including links to firmware from my other thread @ viewtopic.php?f=19&t=44928 But for now here is the simplest way I know to-date to load the newest firmware on IPC-HFW4300S-V2 and other Chinese Dahua cameras ordered on AliExpress.... I'm still working on a permanent fix that will last after another firmware update, but I've had many emails about this so I thought I'd post a quick update. 1. Use the config tool or web UI to load the newest firmware (General_IPC-HX5(4)XXX_Eng_N_Stream3_V2.420.0005.0.R.20141205.bin) 2. Your camera will appear bricked (no web ui) but the only issue preventing it from working is the language settings (which prevents sonia from loading) 3. Login into the camera with Telnet (user: admin / password: 7ujMko0{web ui password} 4. You will need to perform a few edits, so you need to make mounts read/write \> mount -o remount rw /usr \> mount -o remount rw /mnt/custom 5. Rename files \> mv /usr/data/Strings/English.txt /usr/data/Strings/SimpChinese.txt \> mv /mnt/custom/English.txt /mnt/custom/SimpChinese.txt 6. Edit files with vi ---> /usr/data/Strings/i18n & /mnt/custom/i18n. Change the following: "DefaultLanguage" : "English", ------> SimpChinese "DefaultVideoStandard" : "NTSC", "DevStringFiles" : [ "StringsEn.txt" ], "HTMLStringFiles" : [ "webEN.json" ], "Languages" : [ "English" ], ------> SimpChinese "VideoStandards" : [ "NTSC" ], "WebStringFiles" : [ "webEN.lang" ] (Tips for using vi: press "i" for insert then ESC when done editing, then type :w to write then type :q! to exit) type reboot to restart the camera and you will have a working New English firmware. These changes will need to be repeated if you upgrade to another firmware since these partitions are erased an re-flashed during an upgrade. I'm really trying to get to the root cause of why the camera seems hard-coded to Chinese and I will update as I uncover more information. Thanks, Rob Share this post Link to post Share on other sites
vcka 0 Posted March 4, 2015 On IPC-HDW4300C, you cannot flash english firmware. It says wrong file. Share this post Link to post Share on other sites
lukiszyszka 0 Posted March 4, 2015 On IPC-HDW4300C, you cannot flash english firmware. It says wrong file. Try by ConfigTool:3800 Share this post Link to post Share on other sites
cctv_007 3 Posted March 4, 2015 On IPC-HDW4300C, you cannot flash english firmware. It says wrong file. Try by ConfigTool:3800 Yes... the config tool on port 3800 is the best method. Another workaround is to load an older firmware first. (Eg. General_IPC-HX5(4)XXX_Eng_N_V2.210.0000.21.R.20140613.bin) This one works well because it does not block any new firmware loads through port 37777 but I would still recommend you use the ConfigTool on port 3800. Share this post Link to post Share on other sites
cctv_007 3 Posted March 4, 2015 I have an IPC-HDW4300C so I'll test it out on there a little later tonight. The service that does the upgrade varies from firmware to firmware. Some version block firmware by language or compatibility, but ultimately it can all be corrected quite easily if you make a mistake. ConfigTool on port 3800 is the simplest way to load firmware and will work even if the web UI is down. I will be working on a list of firmware and a compatible camera list to facilitate the process. Share this post Link to post Share on other sites
vcka 0 Posted March 5, 2015 (edited) Guys, Nor config tool nor older firmware helped here. As i told, best choice as i made, is modify custom-x.ubifs.img partition. Files in usr partition are doing nothing. Its enought to change /mnt/custom/i18n line "Languages" : [ "SimpChinese" ], and move English.txt to SimpChinese.txt. Thats all. Its important to use check.img from chinese firmware otherwise fw will not flash. All i can say - pay attention to the headers of the files, dahua likes it ;]. Open firmware file in editor, change to first letters DH to PK and you get full working zip archive ;] Edited March 5, 2015 by Guest Share this post Link to post Share on other sites
vcka 0 Posted March 5, 2015 I have an IPC-HDW4300C so I'll test it out on there a little later tonight. The service that does the upgrade varies from firmware to firmware. Some version block firmware by language or compatibility, but ultimately it can all be corrected quite easily if you make a mistake. ConfigTool on port 3800 is the simplest way to load firmware and will work even if the web UI is down. I will be working on a list of firmware and a compatible camera list to facilitate the process. ~ # logView -r all 1 user name:admin password:14:24:50|: 14:24:51|[Manager] info CLocalClient::CLocalClient(0x0x13381c8)>>>>>> 14:24:51|[Manager] debug CLocalClient::login() successful! username = admin admin$language -r14:24:56|[AmbaVideo] mt9t002 register 0x3180[0xA089]! 14:24:56|[crypt] LANGUAGE: copy_to_user 14:24:56|[libpdi] SimpChinese 14:24:56|[Manager] trace Crypt Language is: SimpChinese Share this post Link to post Share on other sites
cctv_007 3 Posted March 5, 2015 Guys,Nor config tool nor older firmware helped here. As i told, best choice as i made, is modify custom-x.ubifs.img partition. Files in usr partition are doing nothing. Its enought to change /mnt/custom/i18n line "Languages" : [ "SimpChinese" ], and move English.txt to SimpChinese.txt. Thats all. Its important to use check.img from chinese firmware otherwise fw will not flash. All i can say - pay attention to the headers of the files, dahua likes it ;]. Open firmware file in editor, change to first letters DH to PK and you get full working zip archive ;] Cool! That's not exatcly the same experience I have been having, but it's very interesting. Thanks! Share this post Link to post Share on other sites
bobbobly 0 Posted May 26, 2015 I have a few HDW4300c cameras purchased from China and using the Config Tool on port 3800 does not allow me to load any firmware file that I can find for this camera. I am getting the following message from upgraded when trying to flash any firmware to the camera: UPGRADED_MSG: native 1 UPGRADED_MSG: verify_native fail UPGRADED_ERR: LINE: 543: verify_p failed [libpdi] Read: blkIndex: 0,pageIndex: 1,byteIndex: 0 ,fLag: aa [libpdi] ERROR (PDI_flashWriteBackUpFlag|1521): This page cannot be written! UPGRADED_ERR: LINE: 145: Upgraded failed Has anyone been able to overcome this error? Share this post Link to post Share on other sites
helbet 0 Posted November 5, 2015 Guys,Nor config tool nor older firmware helped here. As i told, best choice as i made, is modify custom-x.ubifs.img partition. Files in usr partition are doing nothing. Its enought to change /mnt/custom/i18n line "Languages" : [ "SimpChinese" ], and move English.txt to SimpChinese.txt. Thats all. Its important to use check.img from chinese firmware otherwise fw will not flash. All i can say - pay attention to the headers of the files, dahua likes it ;]. Open firmware file in editor, change to first letters DH to PK and you get full working zip archive ;] Thanks! I have a IPC-HFW4300S-V2 purchased from Ali Express that won't natively take the newer English firmware files. It has anyway English Interface. Follow this forum, I am able now to burn a firmware from 12.2014 with English Web Interface and English Help. I still have problems with newer versions of firmware, like 2015.07. Share this post Link to post Share on other sites
marky9074 0 Posted November 16, 2015 Thanks to Helbet, I also managed to update using these instructions (and pulling the check.img from an old firmware). Just wondering when the next general FW will appear? Share this post Link to post Share on other sites
DeProFundis 0 Posted March 2, 2017 Hi Guys, I'm just wondering when / why firmware upgrades are required? Is it quite frequently or only if something is not working? I was thinking of using Chinese cameras that are in English language together with a 'native' English NVR. In this case I hope that I don't need to upgrade the firmware too often? Share this post Link to post Share on other sites
51cent 8 Posted March 3, 2017 Hi Guys, I'm just wondering when / why firmware upgrades are required? Is it quite frequently or only if something is not working? I was thinking of using Chinese cameras that are in English language together with a 'native' English NVR. In this case I hope that I don't need to upgrade the firmware too often? Your Chinese cameras might not work with that NVR. Usually firmware upgrades can be a good thing,adding features/security, not so with Hikvision. Google a search term like Hikvision firmware problems. Share this post Link to post Share on other sites
AKalm 0 Posted April 27, 2017 I have an IPC-HDW4300C so I'll test it out on there a little later tonight. The service that does the upgrade varies from firmware to firmware. Some version block firmware by language or compatibility, but ultimately it can all be corrected quite easily if you make a mistake. ConfigTool on port 3800 is the simplest way to load firmware and will work even if the web UI is down. I will be working on a list of firmware and a compatible camera list to facilitate the process. ~ # logView -r all 1 user name:admin password:14:24:50|: 14:24:51|[Manager] info CLocalClient::CLocalClient(0x0x13381c8)>>>>>> 14:24:51|[Manager] debug CLocalClient::login() successful! username = admin admin$language -r14:24:56|[AmbaVideo] mt9t002 register 0x3180[0xA089]! 14:24:56|[crypt] LANGUAGE: copy_to_user 14:24:56|[libpdi] SimpChinese 14:24:56|[Manager] trace Crypt Language is: SimpChinese Please someone help! No one had this issue yet online, can't find a solution. It all goes good, until it reaches the language copy to user. I have a HDB4300C. 01:58:43|[Manager] trace CConsole::registerCmd had been register!! 01:58:43|[Manager] trace CLog::attachFilter 01:58:43|[crypt] LANGUAGE: copy_to_user 01:58:43|[libpdi] 01:58:43|[Manager] error Src/Locales.cpp:54 system has no supportLanguages. ====================== assert failed ========================== 01:58:43|[libInfra] debug ThreadBody Enter name = Console, id = 982, prior = N1, stack = 0x42798dcc Time : Sun May 21 01:58:43 2000 =========================== TRACE START =================================== Tid:970, Exception type : SIGSEGV PC:[0x00641568] (0x006414ec--0x00641583) stack_sig_hook + [0x7c] PC:[0x403c1e70] (0x403c1e68--0x403c1e7f) __default_rt_sa_restorer_v2 + [0x0] PC:[0x403f49e4] (0x403f49d4--0x403f4bdc) fputs + [0x10] PC:[0x006415c4] (0x00641594--0x0064165f) __wrap___assert_fail + [0x30] PC:[0x0041977c] (0x0041964c--0x004199e3) Dahua::Manager::CLocales::config(Json::Value const&) + [0x130] PC:[0x00409f80] (0x00409f20--0x00409f83) CLocales::config(Json::Value const&) + [0x20] PC:[0x0040a0dc] (0x0040a074--0x0040a10f) ILocales::instance() + [0x68] PC:[0x0001eb84] (0x0001e470--0x000202b7) main + [0x714] PC:[0x403a8834] (0x403a8720--0x403a8940) __libc_start_main + [0x114] PC:[0x000283e8] (0x000283bc--0x0002841b) _start + [0x2c] =========================== TRACE END =================================== Tried all possible firmwares, older ones will let sonia still to run, so can login as admin admin, but no web interface, can't see on configtool etc. Newer ones stopping sonia straightaway when "can't copy the langauge to user" Share this post Link to post Share on other sites
AKalm 0 Posted April 28, 2017 I have an IPC-HDW4300C so I'll test it out on there a little later tonight. The service that does the upgrade varies from firmware to firmware. Some version block firmware by language or compatibility, but ultimately it can all be corrected quite easily if you make a mistake. ConfigTool on port 3800 is the simplest way to load firmware and will work even if the web UI is down. I will be working on a list of firmware and a compatible camera list to facilitate the process. ~ # logView -r all 1 user name:admin password:14:24:50|: 14:24:51|[Manager] info CLocalClient::CLocalClient(0x0x13381c8)>>>>>> 14:24:51|[Manager] debug CLocalClient::login() successful! username = admin admin$language -r14:24:56|[AmbaVideo] mt9t002 register 0x3180[0xA089]! 14:24:56|[crypt] LANGUAGE: copy_to_user 14:24:56|[libpdi] SimpChinese 14:24:56|[Manager] trace Crypt Language is: SimpChinese Wondering why it can't copy any language to user? Might be that part corrupted? Tried all possible firmwares and solutions found online but still the same.. Anyone has an idea? Pasted the result already above, and the result below is with a newer firmware (20141205): 01:22:17|warn Src/Comm/Alarm.cpp:706 not support pir alarm. 01:22:17|[Manager] warn CCommonConfigManager::getConfig AlarmOut is Json::nullValue! 01:22:17|[Manager] trace CConsole::registerCmd had been register!! 01:22:17|[Manager] trace CConsole::registerCmd had been register!! 01:22:17|[Manager] info CLdapUserManager::initialize() tye login times is 3 01:22:17|[Manager] trace CConsole::registerCmd had been register!! 01:22:17|[Manager] trace CLog::attachFilter 01:22:17|[crypt] LANGUAGE: copy_to_user 01:22:17|[libpdi] 01:22:17|[Manager] error Src/Locales.cpp:140 system has no supportLanguages. ====================== assert failed ========================== Time : Mon May 22 01:22:17 2000 =========================== TRACE START =================================== Tid:956, Exception type : SIGSEGV 01:22:17|[libInfra] debug ThreadBody Enter name = Console, id = 968, prior = N1, PC:[0x00701574] (0x007014f8--0x0070158f) Unknown PC:[0x40373e70] (0x40373e68--0x40373e7f) __default_rt_sa_restorer_v2 + [0x0] PC:[0x403a69e4] (0x403a69d4--0x403a6bdc) fputs + [0x10] PC:[0x007015d0] (0x007015a0--0x0070166b) Unknown PC:[0x004e42a8] (0x004e4178--0x004e45c7) Unknown PC:[0x004d203c] (0x004d1fdc--0x004d203f) Unknown PC:[0x004d229c] (0x004d2234--0x004d22cf) Unknown PC:[0x0001f9dc] (0x0001f1bc--0x000216a7) Unknown PC:[0x4035a834] (0x4035a720--0x4035a940) __libc_start_main + [0x114] PC:[0x0002b47c] (0x0002b450--0x0002b4af) Unknown =========================== TRACE END =================================== Share this post Link to post Share on other sites