Hi all!
I've two Zyxel USG110 firewalls. One of them has recently died after the firmware upgrade - it doesn't boot anymore, so I attached the console cable to see what's going on. From the logs I can see that it has problems with mounting the partition and it reboots after the "kernel panic" error. Reloading the firmware didn't help. My prediction was that the flash chip was bad, so I took the thing apart.
I've located the flash chip, which is soldered to a seperate PCB module together with the flash controller. The module can be easily removed so I tried to replace it with the one from my other firewall device, which still works and it worked without problems!
I've easily removed old flash chip from the PCB module using the hot air gun and ordered a replacement flash chip Samsung K9F4G08U0D-SCB0.
I don't have much experiences with Flash chips, so my question here is:
will it work if I just simply replace old flash chip with the new one (assuming that flash controller is ok)? Will the flash controller self-initialize the new flash chip or do I have to program it before I solder it on the flash PCB board?
If I need to program it, then I probably need a NAND Flash programmer and read the content of the flash from the working module and write it to the new flash chip. Would that work?
p.s. The device is out of warranty, so I have nothing to lose. I've tried my luck with Zyxel support and they don't offer a spare flash PCB or repair.
TODO LISTCurrent status:
-
DONE: waiting for new flash chip to arrive
-
DONE: desolder bad flash chip from PCB module
-
IN PROGRESS: solder a new flash chip to PCB module (out of solder wire, waiting for new one to arrive
)
-
DONE: try to attach an USB-Connector from the PC-ATX mainboard to the firewall and use an usb flash drive instead of PCB flash module: boot is stuck at "Recovering partition" (tried ext2, ext3 partition type)
-
DONE: prepare a USB A to duPont pin adaptor cable
-
DONE: try to read image from the working PCB module using USB A to duPont cable (determine partition type, ...):
Successfully cloned image from working eUSB flash module-
IN PROGRESS: try to boot from an usb flash drive with cloned image. Try to fake(clone) the Vendor ID (VID) and Product ID (PID) of the USB stick
-
TBD: try to add power switch to the PCB module, then boot firewall with the good module and hot-swap module with the bad one
-
TBD: if fixing old module fails, try to use a replacement eUSB module (e.g.
https://www.swissbit.com/de/usb-produkte/).