How can I revert back or factory reset TOZED ZLT S12 PRO

I installed OpenWrt firmware on my TOZED ZLT S12 PRO router and it was working without any problem. By mistake, I disabled the LAN port and Wi-Fi and saved the settings. Now I cannot access the router. I want to factory reset the router, but I tried several methods, and none of them worked. Is there any solution for this?

Firmware Version: OpenWrt SNAPSHOT r22578+25-3547862d86
Kernel Version: 5.15.107
Platform ramips/mt7621
Architecture MediaTek MT7621 ver:1 eco:3

If you're lucky, this already does the job:

Factory reset - Not working
Entering failsafe mode - Not working

Then you'll need serial port access.

That looks like some backyard build - is it OpenWrt from here?

Run tcpdump and check if failsafe packet is sent from LAN port - maybe all you need is static ip in LAN net.

Thanks I will try