Debrick Mi Router 4A Gigabit

Hi Everyone, i have a problem with my Mi Router 4A Gigabit
So the problem occurs when i tried to Revert back to stock firmware (MiWiFi) using Hoddy debrick method, at first, it success and i can re-flash another openwrt firmware, after that i tried to revert back again to stock firmware and the problem occurs, and i think my router is bootlooping because i can ping 192.168.31.1 and the wifi signal appear, but when i tried to access 192.168.31.1 it doesn't appear anything on my browser, it says connection interupted. i also tried to use serial port to see what's happening and the result there's a line says an error :

Fri Jun 28 11:32:22 CST 2019 boot_check[3475]: ERROR: KEY SERVICE FAILED: EXITCODE=1;ESP=1;LIMIT=65;CMD=/etc/rc.d/S21sysapihttpd;ARG=boot;
Fri Jun 28 11:32:22 CST 2019 boot_check[3475]: ERROR: 1 KEY SERVICE FAILED.
Fri Jun 28 11:32:22 CST 2019 boot_check[3475]: Try rebooting system to recover.
[   31.160000] MT7612E cleanup
[   31.160000] ipaccount: ifname [apclii0] event[6]
[   31.160000] *hwnat unreg dev ******* unset dev[apclii0]:14
[   31.220000] ipaccount: ifname [apclii0] event[17]
[   31.220000] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=wl0!
[   31.230000] ipaccount: ifname [wl0] event[9]
[   31.260000] br-lan: port 3(wl0) entered disabled state
[   31.270000] ipaccount: ifname [wl0] event[2]
[   31.270000] *hwnat unreg dev ******* unset dev[wl0]:9
[   31.280000] device wl0 left promiscuous mode
[   31.280000] br-lan: port 3(wl0) entered disabled state
[   31.290000] ipaccount: ifname [wl0] event[6]
[   31.350000] ipaccount: ifname [wl0] event[17]
[   31.350000] Restarting system.
[   31.360000] wdg reset
[   31.360000] try_freeze_spic: waiting bbu spic to calm down.
[   31.360000] try_freeze_spic: GPIOMODE=0x000405A8
[   31.370000] try_freeze_spic: set spi pin to gpio mode.
[   31.370000] try_freeze_spic: GPIOMODE=0x000505A8
[   31.450000] jffs2: Unknown node type for REF_PRISTINE node at 0x000a706c: 0x0000
[   31.510000] jffs2: Unknown node type for REF_PRISTINE node at 0x000a7110: 0x0000
[   31.680000] jffs2: Unknown node type for REF_PRISTINE node at 0x000a7210: 0x0000
[   31.890000] normal reset

my question is, how to flash stock or openwrt firmware via serial ttl? thank you
sorry for my bad english

I now have same exact issue. Did you find any solution?

You can use MiWiFi repair tool to load stock firmware.