Installing OpenWrt on my Xiaomi AX3200 began with a lie.
Before I could write a firmware image, I had to persuade the router that it was negotiating a mesh with another Xiaomi router. That unlocked a special network mode, which unlocked command injection, which unlocked Telnet and SSH, which finally made replacing the operating system possible.
The flash took seconds. Getting safely to the flash command was the project.