I try to install an app from Android Studio on Xiaomi Mi Max via USB.

The debug mode is on, but when I try to switch the 'Install over USB' enabled, I get 'The device is temporarily restricted' message.

Core version is 3.10.84, Android version is 7.0, MIUI version is 8 Global 7.7.20.


1 Answer 1


Finally, I got a workaround - the Wi-Fi has to be turned off and then the installation over USB works as expected.

  • Thank you!! I really do not understand why that is needed, security feature?
    – Tano
    Oct 3, 2017 at 14:30
  • Welcome, yes, it looks like some SELinux restriction.
    – Bord81
    Oct 3, 2017 at 15:03
  • 1
    First I had to create the annoying MI account, then it demanded I insert a SIM to allow install over USB, now this... Unbelievably ill-conceived phone.
    – LaserJesus
    Nov 18, 2017 at 2:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .