I'm no expert but I guess you have to enter failsafe-mode and configure the client mode (sta) through cli. To enter failsafe mode you have to press the reset as soon as the power led blinks (after a fresh boot) and release when it blinks faster. You need to set your computer ip address to <192.168.1.2>, your net mask to <255.255.255.0> and your gateway to <192.168.1.1>, unplug your ethernet cable and connect with the new settings. You'll need to ssh (cli) into the terminal (powershell admin mode if you're in windows), input mount_root, enter.. passwd to input a new password ... then modify your settings in /etc/config to get internet connectivity. Openwrt has lots of helpful guides. Here's one to start with https://openwrt.org/docs/guide-user/troubleshooting/failsafe_and_factory_reset
power cycle the router and as soon as the POWER LED starts blinking (slowly) keep the reset button pressed down until you see the same POWER LED start blinking rapidly. That's when you know you're in fail-safe mode. Once there, setup your lan port with <192.168.1.2> for ip address, netmask <255.255.255.0> and gateway <192.168.1.1>. Unplug the ethernet cable and connect it to LAN1. It should allow you to ssh into it afterwards. At least that's what I have been doing with all of my devices so far.
If you let the initramfs image boot normally, it will start up with default settings every time, because it starts a fresh copy in RAM every time never retrieving any settings from flash. You should be able to DHCP an IP from it and connect to 192.168.1.1. If the LED does something other than blink fast, then slow, then come on steady, or if you can't DHCP an IP, the router is bricked too badly to consider OpenWrt recovery mode.
Never run your ssh client as root, that is a security risk to your PC. Tell it you want to log in as root on the server with ssh email@example.com or ssh 192.168.1.1 -l root This does not require root privileges on the client machine.
Sorry for the delay in getting back and answering but I didn't have the time to try to recover the router.
Unfortunately the recovery process you mentioned wasn't enough to recover the router. I tried preaty much everything even flashing the original firmware through tftp in recovery mode from my mac (both with 192.168.1.1 and 192.168.31.1) and nothing.
Eventually, installed xiaomi recovery tool in a VM in bridge mode with the Ethernet adapter in my mac. After enabling the communication from the tool to the router in the Windows firewall of the VM it finally went through. Successfully flashed the original xiaomi firmware into the router.