Check ON USB debugging (Security settings)* in Developer options of Android settings, which is specific for Xiaomi devices. After switching it ON, reboot Android and use FRep2 Precision Mode Setup Tool.
*USB debugging (Security settings) may require signing in Mi account.