2018-02-19 12:44:06 8 Comments

In MIUI (an Android ROM) there is an option in developer settings called MIUI optimization, what is the use of this option.When this option is enabled an app can't be installed via USB (i.e. from android studio). If this option is disabled, does the performance of phone decrease?

enter image description here


@einpoklum 2020-06-20 18:58:36

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.

@xavier_fakerat 2018-04-27 19:02:11

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 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 recommeneded disabling the feature if you rely on Google Playstore 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.

@DAF 2018-05-13 09:25:22

Is it better for global rom (MIUI) to turn the MIUI Optimization off?

@xavier_fakerat 2018-05-14 18:42:03

@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

@xavier_fakerat 2018-05-20 14:55:57

But as explained it can have bad side effects with some Google services or if using Greenify in non root mode.

@Seff 2020-04-26 06:46:42

- Toggling the option will instantly reset all apps permissions to the default. - Reset the display DPI to the default value 392dpi

@pfrenssen 2020-04-26 10:29:03

Turning off "MIUI optimization" will also make the option to have multiple user accounts available again.

@android developer 2020-05-22 21:46:07

According to SAI, this option (which is turned on by default BTW) also prevents it from installing split APK files, and it's true. It also claims that it will be fixed on MIUI 20.2.20. Any idea where I can read about this?

Related Questions

Sponsored Content

5 Answered Questions

[SOLVED] Enable "Install via USB" without creating MI Account

2 Answered Questions

[SOLVED] How to update Android System WebView on MIUI

1 Answered Questions

[SOLVED] App installing takes a long time in a Work Profile

1 Answered Questions

[SOLVED] The device is temporarily restricted

2 Answered Questions

Sponsored Content