It's the same procedure, you just boot a different initramfs the 1st time, to do the backup.

What version you install doesn't really matter, as you can always sysupgrade afterwards.

You got all the 23.05 URLs posted in the wiki, it's pretty convenient.

Can you point me to the right initramfs for the backup process? I've already downloaded the files for 23.05.5, so I'll go for 23.05.5 and update to 24.10.0 afterwards but for now I'll wait until I fully understand the backup process. Maybe the backup files can help me or someone else in the future...

Updated the backup section with the stock initramfs.

2 Likes

Thanks! So first of all I do need to boot the stock initramfs with mtk_uartboot via mtk_uartboot -s COM3 --aarch64 -p mt7986-ram-ddr4-bl2.bin -f openwrt-23.05.5-mediatek-filogic-zyxel_ex5601-t0-stock-initramfs-kernel.bin ?

Please bare with me. Let me try...

  1. Serial connected: mtk_uartboot -s COM3 --aarch64 -p mt7986-ram-ddr4-bl2.bin -f openwrt-23.05.5-mediatek-filogic-zyxel_ex5601-t0-stock-initramfs-kernel.bin
  2. Switch on T-56
  3. Copy mtd0-7 to /tmp via the given commands using the serial connection or ssh and use WinSCP to copy them over to my PC.
  4. Switch off T-56?
  5. Start over with mtk_uartboot and follow the guide in wiki?: mtk_uartboot -s COM3 --aarch64 -p mt7986-ram-ddr4-bl2.bin -f openwrt-23.05.5-mediatek-filogic-zyxel_ex5601-t0-ubootmod-bl31-uboot.fip

If number 1-3 is correct please tell me what to do after. Do I need to switch the device off after I did the backup via stock initramfs or can I just follow the wiki steps without shutting it down?

I don't think this will work. You need to load a FIP first and from there boot the stock initramfs kernel.

This is how i do it . People probably have different methods.

Put openwrt-23.05.5-mediatek-filogic-zyxel_ex5601-t0-stock-initramfs-kernel.bin on a FAT32 formatted USB drive and plug it in your router.

./mtk_uartboot -p bl2-mt7986-ddr4-ram.bin --aarch64 -f openwrt-23.05.5-mediatek-filogic-zyxel_ex5601-t0-ubootmod-bl31-uboot.fip

After logging in the serial console you will see it outputting errors that it can't get the ubootmod recovery firmware. Ignore thise and hit CTRL + C to abort it.

This will bring you to the U-boot console.
there are my next steps:

usb start
fatls usb 0:1 
fatload usb 0:1 0x46000000 openwrt-23.05.5-mediatek-filogic-zyxel_ex5601-t0-stock-initramfs-kernel.bin
bootm

Now you will ahve booted into the stock initramfs kernel and can make your backups.

1 Like

Putty and Winscp a match made in heaven.

I'm finally back at the Odido firmware again. I'm glad i've been a Windows user all my life and not Linux . I think i'm hallucinating terminal after so many hours busy figuring everything out on my own with help from @nvl , thanks again.
without any decent interface :stuck_out_tongue:

I just couldn't get back to the Odido Firmware anymore, even with backup files. Eventually i just erased everything from the NAND and wrote everything back one by one on a custom FIP i build.

Since Odido and Zyxel are bringing out an update soon, i will do them a favor by continuing where i left off and that's showing how to get root shell without serial console soon.

1 Like

Ok, I'll give a try via USB stick. Just to make sure, after I booted the stock initramfs via USB and used the backup commands I'm able to use WinSCP to copy over the mtd backup files to my PC, correct?
And I'm still unsure how to proceed after I used stock initramfs to save the stock firmware... So after I saved the stock firmware what's the next step? Shut down the device and start over with all the steps in the wiki to install OpenWrt?

Yes..

Yes.

No luck for me today, my serial Adapter seems be faulty or maybe it's the cable idk.
Only TXD is blinking on the adapter after the T-56 is powered ON and I don't see anything in PuTTY or hterm. The T-56 is booting fine, after the boot process I can access the Zyxel GUI via browser.


Edit: NEVERMIND, I'm stupid! Found the following post (Adding OpenWrt support for Zyxel EX5601-T0 - #325 by InjectMeneer) and realised that I had my Serial Adapter connected in the wrong way!! TX from Router goes to RX on Serial and RX from Router goes to TX on Serial.
I hope that I had at least had the jumper set correctly on S1+3V3 for 3.3V but I guess it's correct since I do get an output.

Anyway putty is finally showing an output and I was able to interrupt the boot process! Let's see if I'm able to backup the odido firmware now. :sweat_smile:

Edit 2: It took a good hour to backup the odido firmware, especially mtd5-7 can take a long time to copy into /tmp. Installing OpenWrt 23.05.5 and upgrading to 24.10.0 was a breeze and only took a couple minutes. Everything is up and running now.
@thehybrid1337 I followed your USB stick route and it worked very well! Thanks again.

When the stock firmware backup was done I did the following steps after I fed the initramfs image via TFTP:

cd /tmp
opkg install kmod-mtd-rw_5.15.167+git-20160214-2_aarch64_cortex-a53.ipk
insmod mtd-rw.ko i_want_a_brick=1
ubidetach -p /dev/mtd5; ubiformat /dev/mtd5 -y; ubiattach -p /dev/mtd5
ubimkvol /dev/ubi0 -n 0 -N ubootenv -s 128KiB
ubimkvol /dev/ubi0 -n 1 -N ubootenv2 -s 128KiB
ubimkvol /dev/ubi0 -n 2 -N recovery -s 10MiB
ubiupdatevol /dev/ubi0_2 openwrt-mediatek-filogic-zyxel_ex5601-t0-ubootmod-initramfs-recovery.itb
mtd write openwrt-mediatek-filogic-zyxel_ex5601-t0-ubootmod-preloader.bin bl2
mtd write openwrt-mediatek-filogic-zyxel_ex5601-t0-ubootmod-bl31-uboot.fip fip
sysupgrade -n openwrt-mediatek-filogic-zyxel_ex5601-t0-ubootmod-squashfs-sysupgrade.itb
3 Likes

Since there is no heatsink in T-56, does anybody know the exact heatsink sizes and maybe share there experience with cooling the device.

No need, well not for me. I monitored temperature while doing moderate loads with Cake enabled. Temp never went above 38c. Maybe in a hotter environment and pushing close to 1 Gbps with Cake it might go to like 60 or something but that's still more than fine when tjmax is 100+. My Asus RT-AX86U Pro was like 60c idle...

2 Likes

Sorry don't shoot me for my stupid question, for a DUMB AP i wan't to move the WAN port to br-lan.

Do i have to check the adapter AND the switch? (The wiki saids: 'Enable both ADAPTERS')

Just put all the lans and eth1. Eth0 is not needed, it is the interface switch for all the lans

I think the guide on the wiki refers to devices that only have 2 interfaces

2 Likes

I had set up mine also as an bridged Access Point since i'm running OPNSense as my modem/router. you don't have to add eth1.
Just the lan ports and eth0.
And remove the wan interfaces.
Also i had disabled dnsmasq, dhcp, firewall, odhcpd, and gave it a static address as 192.168.1.2 and put default gateway and dns servers as 192.168.1.1(actual router)

1 Like

So i just wanted to say that 1st ive basically switched 1 partition to stock zyxel firmware which works suprisingly good. Im running ver 3.2, does somwone know if their is any newer one out?

I will still be busy with the odido firmware becsuse i heard people are having problems with the supervisor pass changing and the ssh access getting revoked, and they want more functions and menu's available. I think i can manage this.

I will also post a method that works consistenly to go from openwrt ubootmod back to stock zyxel firmware.
I think people will appreciate this.

P.S.

I think everyones messing up the stock backups, but will get into this later.

3 Likes

Ive gotten myself a ex7501-b0 or T-75 Odido.

Its 1 wan port 10 gig and 1 lan port 10 gig.
Im curious how similair they will be as i have not unboxed it yet

Hi, guys, I have a problem and maybe you can help me.
I have a no-brand ex5601-t0 and (my fault) didn't backup all the partitions.
I've backed up only the first four, and got stuck at mtd5 (more than 400MB).
Install openwrt 24.10 with mtk_uartboot but now don't know how to restore stock partition layout (want both stock with root access + openwrt).
Can you please point me to the right direction?
Thank you

hardware? processor? internal photos?
Please create a new thread for this. I hope it doesn't have a Broadcom processor.

B0 are Broadcom…. Don’t waste any time

1 Like