Feedback for Xiaomi - disable MIUI optimisations

This issue has been tracked since 2022-01-10.

I find my launcher and my apps are not being killed anymore since I turned OFF MIUI Optimizations in the advanced Developers Options in the Settings.

petrnalevka wrote this answer on 2022-01-10

Hello @jddcef this is very interesting. Did not know there is such developer option, would you please share some screenshots? Is enabling developer options same on Xiaomi as on stock Android devices?

jddcef wrote this answer on 2022-01-10

Yeah it's been around for many years, but I didn't expect it would it make it better, because of the name. But it makes sense now that it is trying to over optimise the system by closing too many things.
Yes It's the standard way of clicking on Build setting in About a few times

petrnalevka wrote this answer on 2022-01-10

Would you please have a screenshot of the option in the developer settings? We will include it in the guides. Many thanks!

jddcef wrote this answer on 2022-01-10
petrnalevka wrote this answer on 2022-01-10

Big thanks, very much appreciated!

rl885 wrote this answer on 2022-01-11

Hello, would you be willing to send me the screenshots without the markings? I will add them to the guides. Thank you.

jddcef wrote this answer on 2022-01-19
jddcef wrote this answer on 2022-01-19

So, I must say, turning off the Optimizations causes:
The inter app memory to be better, e.g. I can have more apps open.
BUT, it causes the memory of a single app to be too little, i.e. inside the app I can't switch between tabs without a reload of the tab for example.
Also, accessing file permissions was a problem.

If I turn the optimisation on, then the inter app lifetime isn't good, but the currently running in app memory is normal. And file access issues went away too.

So there are tradeoffs.

I turned mine back on now. so turning it off and on again seem to have found a better middle ground on the system somehow.
My launcher is kept better in memory now after all that.

janosroden wrote this answer on 2022-01-19

The option is present in MIUI 11.0.3 (Redmi Note 5).

v2.mp4
rl885 wrote this answer on 2022-01-21

Hello, I have added the video as a gif - thank you for sharing it!

herrbrixter wrote this answer on 2022-02-20

Turning it off breaks some functionalities. It can't upload files. I opened my Gmail app and wanted to attach a photo as an attachment. I can browse the photos and select it but it never got attached.

jddcef wrote this answer on 2022-02-20

Turning it off breaks some functionalities. It can't upload files. I opened my Gmail app and wanted to attach a photo as an attachment. I can browse the photos and select it but it never got attached.

Yes, it does mess up with uploads and file permissions somehow.
I had good results by turning it off and then putting it back on. It seemed to have shaken loose some settings that improved my overall memory management.
But leaving it off is a bit too extreme and messes with the in app memory management while improving interapp performance. Dunno which is worse, but both are irriting. let's hope they add something good in future in terms of an update to fix memory management and not be so aggressive.

hawtdayum wrote this answer on 2022-03-25

"Turn on MIUI optimizations" is gone in MIUI 13 (android 12)

More Details About Repo
Owner Name urbandroid-team
Repo Name dont-kill-my-app
Full Name urbandroid-team/dont-kill-my-app
Language JavaScript
Created Date 2018-12-19
Updated Date 2022-12-08
Star Count 904
Watcher Count 82
Fork Count 681
Issue Count 212

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date