2xx2 5.4.0 to 5.3.0 downgrader

Discussion in 'Hikvision' started by Enabler, Jul 11, 2016.

Share This Page

  1. acirasa

    acirasa n3wb

    Joined:
    Jan 13, 2017
    Messages:
    4
    Likes Received:
    0
    Hi @Enabler, can you send me the "2xx2 5.4.0 to 5.3.0 downgrader"? I want to try that method.
    Thank you.
     
  2. up2date.cyborg

    up2date.cyborg n3wb

    Joined:
    Jan 15, 2017
    Messages:
    10
    Likes Received:
    2
    @Enabler could you send me the tool too! I really need it, or can you give me the code, I'm a C++ developper, I did a tool to modify the digicap.dav file headers but with no luck, I don't understand what are some fields in the header just before the version number.
    Thanks!
     
  3. Rinat

    Rinat n3wb

    Joined:
    Mar 15, 2017
    Messages:
    5
    Likes Received:
    0
    I apreciate if somebody could send me "2xx2 5.4.0 to 5.3.0 downgrader? too. Thanks a lot in advance.
     
  4. tototititoto

    tototititoto n3wb

    Joined:
    Apr 9, 2017
    Messages:
    3
    Likes Received:
    0
    I would be glad to have this downgrader too, last resort for me, spent hours,nothing working, so the bin has never been that close for my cam
     
  5. alastairstevenson

    alastairstevenson Known around here

    Joined:
    Oct 28, 2014
    Messages:
    6,550
    Likes Received:
    1,616
    Location:
    Scotland
  6. tototititoto

    tototititoto n3wb

    Joined:
    Apr 9, 2017
    Messages:
    3
    Likes Received:
    0
    Ok, I have a 2CD-2032F-IW. It was running probably 5.3.0. I didn't know about chinese or us or european version, and did try to update to 5.4.0. Stupid idea!!! . So after spending a lot of time, I know I have the chinese version.Now if I try to tftp 5.3.0, it says success for firmware update, but just SADP working , version 4.8.0. When tftp updating to 5.4.0, SADP not working anymore, and I see with wireshark that it is rebooting on 192.0.0.64 every 30s or so. I can still tftp back to 5.3.0 and go back to a state where SADP is fine, and running 4.8.0. So at this point, I guess the bootloader is for 5.4.0 but there is no such chinese version of this firmware. I'm looking for a way to downgrade the bootloader, to be able to apply again the 5.3.0 chinese version.
     
  7. Defender666

    Defender666 Getting the hang of it

    Joined:
    Dec 19, 2015
    Messages:
    172
    Likes Received:
    22
    if it shipped with 5.30 apply the chinese 5.3.0 then downgrade this with the 5.3.0 downgrader firmware.
     
  8. tototititoto

    tototititoto n3wb

    Joined:
    Apr 9, 2017
    Messages:
    3
    Likes Received:
    0
    nope, this is not as simple as that. It looks like upgrading to 5.4.0 does modify the bootloader, and then reverting back to the stock firmware is not an option anymore
     
  9. Defender666

    Defender666 Getting the hang of it

    Joined:
    Dec 19, 2015
    Messages:
    172
    Likes Received:
    22
    Did you try? It looks like cleaning one MD Device will enable to downgrade...
     
  10. alastairstevenson

    alastairstevenson Known around here

    Joined:
    Oct 28, 2014
    Messages:
    6,550
    Likes Received:
    1,616
    Location:
    Scotland
    If you're up for an experiment, with no guarantee of success, but has been OK on a couple of cameras, check your conversations.
     
  11. up2date.cyborg

    up2date.cyborg n3wb

    Joined:
    Jan 15, 2017
    Messages:
    10
    Likes Received:
    2
    Hello @alastairstevenson, I am opened to experiments too.
    I have a DS-2CD2132F-IWS (not chinese), I upgraded to V5.4.0 build 160530, and no way to downgrade to 5.3.0.
    I contacted French support, they simply told me we cannot help you....
    My problem is that after some hours, the RTSP stream is cut, HTTP too, camera LED IR is working but it doesn't respond even to ping.
    That's why I want to downgrade. This camera is unusable and cost me 200 euros.
    I know c++, I know network, can use wireshark etc, if you could help me this would be great.
    This is my last resort too.
     
  12. alastairstevenson

    alastairstevenson Known around here

    Joined:
    Oct 28, 2014
    Messages:
    6,550
    Likes Received:
    1,616
    Location:
    Scotland
    The firmware writes it's version number into a 0x40 byte segment at the start of mtdblock1 - and periodically re-writes that (possibly from the version value held in the sqlite3 configuration tables, but I'm not sure) if you modify it to try to circumvent the downgrade block.
    But I have found that, depending on the date / version of the bootloader/update program, a downgrade works OK via the tftp method.
    So that is easy enough to try.
    If you check your conversations - I'll send you a link to some V5.3.0 EN/ML firmware that might just work.
    Also as an experiment (I've not played much with this), @montecrypto hikpack tool has an option to change the firmware header version and date.
    [MCR] Hikvision packer/unpacker for 5.3.x and newer firmware
     
  13. up2date.cyborg

    up2date.cyborg n3wb

    Joined:
    Jan 15, 2017
    Messages:
    10
    Likes Received:
    2
    I've just seen hikvision released a firmware v5.4.5 compatible with my DS-2CD2132F-IWS, I'll try it and see if RTSP and WEB and ping keep alive after many hours.
    this model is in the compatibility list now (in 5.4.0 document it was not in the list... the 2M pixels and 4M yes, but this 3M pixels no, don't know the reason).
    DOWNLOAD PORTAL
     
  14. up2date.cyborg

    up2date.cyborg n3wb

    Joined:
    Jan 15, 2017
    Messages:
    10
    Likes Received:
    2
    After 36 hours running, I think I can say that my DS-2CD2132F-IWS is running well with firmware 5.4.5 (DOWNLOAD PORTAL).
    I won't have to find a way to go back to 5.3.0 anymore.
    RTSP WEB ping etc are still alive.
     
    alastairstevenson likes this.
  15. Beebie

    Beebie n3wb

    Joined:
    May 19, 2017
    Messages:
    6
    Likes Received:
    0
    I have a DS-2CD2132F-IWS (Original, no CN model) to, upgraded it to 5.4.5, and the network disconnects are back (tried 5.4 before with the same result)!
    Just after a few hours, after an power cycle the errors start and the camera is not responding anymore.
    The downgrade from 5.4.0 to 5.3.0 I did with the "2xx2 5.4.0 to 5.3.0 downgrader” from Enabler, but now I’m looking for the downgrader again…. Deleted the previous one!
    Could somebody send me the "2xx2 5.4.0 to 5.3.0 downgrader” from Enabler?
     
  16. alastairstevenson

    alastairstevenson Known around here

    Joined:
    Oct 28, 2014
    Messages:
    6,550
    Likes Received:
    1,616
    Location:
    Scotland
    Is the camera connected via WiFi?
    If so, that may be the underlying cause of the problem. Do you have the chance to use a wired connection temporarily as an experiment to see what difference it makes?
     
  17. Beebie

    Beebie n3wb

    Joined:
    May 19, 2017
    Messages:
    6
    Likes Received:
    0
    Hi Alistair, the camera is using a wired connection, wifi is not configured.
     
  18. Beebie

    Beebie n3wb

    Joined:
    May 19, 2017
    Messages:
    6
    Likes Received:
    0
    With the previous post of enabler of the downgrader i went from the 5.4.0 version to 5.3.0 and the camera was stable again, now with de 5.4.5 the problems are back
     
  19. alastairstevenson

    alastairstevenson Known around here

    Joined:
    Oct 28, 2014
    Messages:
    6,550
    Likes Received:
    1,616
    Location:
    Scotland
    Oh, OK. That would have been a possible fix.
    How are the cables?
    5.4.5 seems to be stable. Though 5.4.0 had some quirks.
    Does your switch / router have any port statistics / error counts?
     
  20. Beebie

    Beebie n3wb

    Joined:
    May 19, 2017
    Messages:
    6
    Likes Received:
    0
    Hi, Looked on my switch, no errors on the statistics of the port the camera is connected on... but i will test with wireshark if i can find anything!
     
  21. alastairstevenson

    alastairstevenson Known around here

    Joined:
    Oct 28, 2014
    Messages:
    6,550
    Likes Received:
    1,616
    Location:
    Scotland
    I suspect that it may depend on the version of the 'updater' program inside the camera, but despite the 'unrollback' feature that aims to block downgrading from 5.4.0 and higher, I was able to use the tftp updater to move up and down the versions 5.3.0 <--> 5.4.5 with no problems on several R0 cameras.
    It might be worth trying.
    Tool and instructions here if you don't already have it : Custom Firmware Downgrader 5.3.0 Chinese to 5.2.5 English
     
  22. bbsc

    bbsc n3wb

    Joined:
    Aug 26, 2016
    Messages:
    5
    Likes Received:
    2
    I'm in the same boat.
    DS-2CD2132F-IS (original CCWR), wired connection, 5.3.3 is rock solid. Working for months, no network errors, processes power loss just excellent.
    The camera writes video to the internal micro SD and photos to external ftp.

    But 5.4.0, 5.4.5, 5.4.41 is a real problem.
    The camera reports "Network disconnected" every 3-5 min. and becomes completely unreachable within an hour.
    Tftp downgrade is impossible, the "downgrader" works well.
    I still have it, let me know where to send it if you're still interested.
     
  23. ced105

    ced105 n3wb

    Joined:
    Apr 16, 2017
    Messages:
    7
    Likes Received:
    4
    Hello,
    I also want to have the file, thanks to @Enabler
     
  24. bbsc

    bbsc n3wb

    Joined:
    Aug 26, 2016
    Messages:
    5
    Likes Received:
    2
    ced105, Beebie, sent you a link.
    I assume that you are warned about the risk.

    Please, remember not to do factory reset with this firmware.
    Apply the downgrader, then a normal firmware and only then do a factory reset.
     
    Last edited: May 22, 2017
    Beebie likes this.
  25. up2date.cyborg

    up2date.cyborg n3wb

    Joined:
    Jan 15, 2017
    Messages:
    10
    Likes Received:
    2
    could be nice to have the downgrader too, but I've to say that my camera is running fine with 5.4.5 since last post, wifi disabled
     
  26. Beebie

    Beebie n3wb

    Joined:
    May 19, 2017
    Messages:
    6
    Likes Received:
    0
    After playing with the network setting, UPNP disable and dns server change my camera is stable now for a few day's.
    Before the web interface of the camera stopped working after an few hours.
    I see lots of "Network Disconnected" alerts in de log (every 5 to 6 min) but this is not affecting the connections to the camera.

    bbsc, can you send me the link for the downgrader again, i did't receive any mail or link.
     
  27. bbsc

    bbsc n3wb

    Joined:
    Aug 26, 2016
    Messages:
    5
    Likes Received:
    2
    Looks like the camera with 5.4.5 cannot live without something jerking it constantly via network.

    I've made a cron job for my router to ping camera's IP every minune. No network errors for several hours. No constant DHCP queries. Camera worked just fine.

    Then I've removed this cron job, so the router stopped to ping camera's IP. And see constant DHCP queries and network errors again.

    Ok, I've had enough experiments for the moment. Reverting to 5.3.3.
    Any advices how to disable this "useful" feature of 5.4.x are much appreciated.
     
  28. up2date.cyborg

    up2date.cyborg n3wb

    Joined:
    Jan 15, 2017
    Messages:
    10
    Likes Received:
    2
    @Beebie I forgot to say I have upnp disabled too
     
  29. Beebie

    Beebie n3wb

    Joined:
    May 19, 2017
    Messages:
    6
    Likes Received:
    0
    Went back to 5.3, the 5.4 and 5.4.5 firmwares are not stable on a 2CD2132F. Lots of network errors and after hours/day's the web interface stops working.
    The camera keeps recording (On SD) but only after an reboot the web interface is working again!
     
  30. bbsc

    bbsc n3wb

    Joined:
    Aug 26, 2016
    Messages:
    5
    Likes Received:
    2
    I've also tried two versions of 5.4.41 with the same result.