Problem
Xiaomi device sometimes fail to connect to the mobile repair solution.
Cause
This might happen because the Xiaomi device needs to have additional settings enabled for the establishing the connection.
Resolution
Make sure to enable the "unknown sources" option in the device. Settings→ Additional settings→ Privacy → unknown sources.(This path may vary from device to device/ os version)
Also make sure to enable the "USB debugging" and "install via USB" option.
In some Xiaomi devices to enable "install via USB" settings, the user needs to sign in to the Mi account.