Dahua IPC unbricking / recovery over serial UART and TFTP

simonchan

n3wb
Joined
Jul 22, 2019
Messages
8
Reaction score
0
Location
United States
I don't know. Did you tell use the USB port to connect pc RS232 for DVR?
 

Wael

Young grasshopper
Joined
May 9, 2019
Messages
32
Reaction score
17
Location
California
I haven't attempted any of this stuff yet. Just trying to read up and get educated before I attempt. I have a few questions if someone would be kind enough to help me out:
What TFTP Server application do you folks recommend?
Are there any specific IP settings for that TFTP server?
In Putty, under the "Basic Options" tab, what IP and port settings should be here?

Thanks!!
 

Wael

Young grasshopper
Joined
May 9, 2019
Messages
32
Reaction score
17
Location
California
Sorry couple more questions:
When I launch TFTPD32, I get an error (screenshot attached)
What would be the proper settings for TFTPD32 (also screenshot attached)

Thank you!
 

Attachments

iTuneDVR

Getting the hang of it
Joined
Aug 23, 2014
Messages
461
Reaction score
56
Location
www.iTuneDVR.ru
You can use tftpd64 too.
Close your antivirus, firewall.
Be shure that your PC is work well with normal file system.
Try run as Administrator your tftpd application
 
Last edited:

Wael

Young grasshopper
Joined
May 9, 2019
Messages
32
Reaction score
17
Location
California
Thank you kind sir! I got it working. I just had to reboot my computer because previously I had another TFTP server running that was already binding to port 69 I think. Possibly that application caused this conflict.

Under "server interfaces", do I have to put my computer IP here or just leave it as is?
 

Wael

Young grasshopper
Joined
May 9, 2019
Messages
32
Reaction score
17
Location
California
Ok another question. Sorry this might be a dumb question.
I take it that using this method of unbricking, there is no ethernet connection to the camera during the process. Basically all communications are via serial.
Is this correct?
 

iTuneDVR

Getting the hang of it
Joined
Aug 23, 2014
Messages
461
Reaction score
56
Location
www.iTuneDVR.ru
No.
You operate your ipc via serial, put command to get some data from LAN if it connected & work (of course need setup 1st adresses)

Of course you can upload some data via Serial at Hyper Terminal program, but it longer & not this time i think.
 

element

n3wb
Joined
Jun 13, 2015
Messages
6
Reaction score
0
I've done a Firmware Update to my
Dahua IPC-HUM8230P
I don't know if I took the the right firmware I'm not sure,

Since I've updatet I coudn't do any changes in the configuration.
The Cam does a reboot then.
It does also a reboot every 5 to 10 minutes.
So far I've confiigures a serial connection with a ft232rl usb to seriel conector and aftr many tries I got a connection.
I changed ip address and run a tftp server and could load files down but I got this message
Code:
>run dr
Using ambarella mac device
Download Filename 'romfs-x.squashfs.img'.
Downloading: #################################################################
         #################################################################
         #################################################################
         ###############################################################
  ## file size: 0 Bytes,        times: 3s,      speed: 358.4 KiB/s
done
Bytes transferred = 1310784 (140040 hex)
[ERR0002:]The img header be changed!
I've googeled the message and found this:
Dahua IPC EASY unbricking / recovery over TFTP
I think the problem is that the new firmware installed a new bootloader that doesn't allow firmwaredowngrades.
Please tell me how do I et the older firmware to my cam
 

surv8tor

n3wb
Joined
Dec 17, 2018
Messages
7
Reaction score
3
Location
federal way
yes, you managed to update your bootloader that now checks for signing before writing an image to the flash. I dont think you have a path forward, unless you manage to read the whole partition from another camera, upload it to a tftp server and then try to see if your bootloader still has the flash subsytem write command still enabled and go that route. Another option is to find the correct firmware for the camera which is compatible with the new signing verification (like v2.800 or something).
 

element

n3wb
Joined
Jun 13, 2015
Messages
6
Reaction score
0
thats a bit unsatisfying, I don't think someone will read out his complete partition, so I'll have to wait for a new Firmware, thanks for answering
 

hidroela

Young grasshopper
Joined
Nov 15, 2015
Messages
39
Reaction score
6

Attachments

Last edited:
Top