I am trying to install v17.01.4 factory.bin image [1] on my ZyXEL NBG6716 box running latest(?) stock firmware V1.00(AAKG.11)C0 via the user interface (firmware upgrade / upload image) but it fails with error message:
"Wrong Project Name Wrong firmware image header!"
I have also copied the image to the router and tested it with the same tool as the upgrade page will end up using, file is good but not accepted:
% md5sum lede-17.01.4-ar71xx-nand-nbg6716-squashfs-factory.bin
c4662339f5a4a870d78b701b4226aab6 lede-17.01.4-ar71xx-nand-nbg6716-squashfs-factory.bin
% scp lede-17.01.4-ar71xx-nand-nbg6716-squashfs-factory.bin root@192.168.1.1:/tmp/rootfs
root@NBG6716:/tmp# md5sum rootfs
c4662339f5a4a870d78b701b4226aab6 rootfs
root@NBG6716:/tmp# fw_upgrade fw_check
Wrong Project Name
Wrong firmware image header!
OpenWRT page [2] suggest flashing the factory image to mtd7 but that fw_upgrade
would try rip the image into two parts (no idea how) and flash them as:
flash_eraseall /dev/mtd6 > /tmp/fwup_log
nandwrite -mp /dev/mtd6 /tmp/fw_header >> /tmp/fwup_log
flash_eraseall /dev/mtd7 >> /tmp/fwup_log
nandwrite -mp /dev/mtd7 /tmp/fw_img >> /tmp/fwup_log
where mtd6 is header and mtd7 is rootfs in the system.
Any advice how to proceed?