In MIUI (an Android ROM), there is an option in developer settings called MIUI optimization. When this option is enabled, an app can't be installed via USB (i.e. from Android Studio).

What is the purpose of this option? And if this option is disabled, will it negatively impact the phone's performance?


2 Answers 2


According to this thread, this feature (Turn On MIUI Optimization)

enables a plethora of MIUI based settings & optimizations as per the guidelines set by the MIUI developers.

It helps to load the app and the app data in parallel reducing load times and ensuring a slicker user experience.

However, this setting can sometimes cause a variety of issues on non-MIUI based apps such as Google Apps & Apps from Google Playstore. Users have recommended disabling the feature if you rely on Google Play Store for apps & services or use Global Stable or Global Beta MIUI ROMs.

Here is a summary of observable changes when this feature is turned on or off:

With the MIUI Optimization Enabled, some users reported the following issues

  • Cannot set third-party launcher like Nova, Apex or Google Now launcher.
  • Wallpaper cannot be set using in-built options via custom launchers.
  • Occasional lags, stutters or freezes while scrolling web-pages & long lists.
  • Custom apps set as default restore to default MIUI apps on reboot. (Only on MIUI China ROMs)
  • Cannot set accessibility services on reboot.
  • Background apps cannot sync data.
  • Music players stop playing after sometime.
  • UI Animations are not synced properly.

After turning off MIUI optimization

  • Above issues may get solved.
  • Settings → Data Usage → Graph changes to AOSP style.
  • Settings → Battery & Performance → Battery Use → Graph changes to AOSP style.
  • Settings → Installed Apps → All → Documents → It will not be disabled after every reboot.
  • Settings → Additional Settings → Buttons → Settings may get reset.
  • No OTA update notifications. Enable it to receive the OTA updates.
  • Is it better for global rom (MIUI) to turn the MIUI Optimization off?
    – DAF
    Commented May 13, 2018 at 9:25
  • @DAF While I haven't face really big issues with the option turned on, I still feel there is no big harm to have it turned on, it is enabled by default out of the box by the manufacturer, so I prefer that it remains on, and would recommend the same, besides it aids in some useful enhancements of MIUI Commented May 14, 2018 at 18:42
  • But as explained it can have bad side effects with some Google services or if using Greenify in non root mode. Commented May 20, 2018 at 14:55
  • - Toggling the option will instantly reset all apps permissions to the default. - Reset the display DPI to the default value 392dpi
    – Seff
    Commented Apr 26, 2020 at 6:46
  • Turning off "MIUI optimization" will also make the option to have multiple user accounts available again.
    – pfrenssen
    Commented Apr 26, 2020 at 10:29

In addition to @xavier_fakerat's answer, note that the "MIUI Optimizations" prevent the installers of various applications from launching correctly even on the phone itself, rather than over-USB. If you get unexpected "Installation failed" messages (not taking about Google Play Store; I never use that) - it might be a conflict between the installer and the MIUI optimization mechanism.

You must log in to answer this question.

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