Ensure your computer can fully "see" the device in Fastboot mode. Run as Admin: Always right-click XiaoMiFlash.exe and select Run as Administrator
If the timeout persists, your phone’s Fastboot partition may be corrupted. Try: mi flash tool timeout error top