Where did MIUI optimization go in HyperOS?
In MIUI, the switch was called Turn on MIUI optimization and sat near the end of Developer options. In HyperOS it was renamed system optimization and hidden, so many people can't find it anymore.
To look for it, first turn on Developer options: open Settings → About phone and tap the OS version several times until the phone says you're a developer. Then open Settings → Additional settings → Developer options and scroll to the bottom. On many HyperOS builds the switch simply isn't shown, and that's fine.
What MIUI optimization does, and what it doesn't
It controls some of Xiaomi's changes to standard Android behavior, and it lives in Developer options because it's meant for people who build and test apps. Xiaomi doesn't document exactly what it covers.
It isn't a notification setting and it isn't a battery setting. Autostart, the per-app battery option and the freezing of background apps are all managed elsewhere, and turning this switch off isn't a supported way to change them.
Should you turn off MIUI optimization to fix notifications?
No. It isn't a notification fix, and changing a hidden developer setting can change other things in ways that are hard to trace. If you already turned it off and something behaves oddly, turn it back on.
The same goes for ADB commands copied from forums. Some of them switch off parts of the system, and a later update can undo them. You don't need them to fix late notifications.
What actually fixes late notifications
- Turn on Autostart for chat, email and work apps: Settings → Apps → Permissions → Background autostart.
- Keep the phone in Balanced mode: Settings → Battery → Current mode.
- Check the app may notify you: Settings → Notifications & status bar → App notifications.
- Keep the apps that deliver your messages, especially Google Play services, off Xiaomi's freeze list. Settings can't do this for Google Play services, which is where HyperKeep comes in.
Setting an app to No restrictions also keeps it unfrozen, but it lets the app run freely in the background, and the battery cost adds up with every app you set.
A safer fix for China ROM phones: HyperKeep
Freezing hits China ROM phones hardest: imported Xiaomi phones, China-only models like the Redmi K series, and phones with a flashed China ROM. HyperKeep is a free app made for exactly these phones. It needs no root, no Shizuku, no ADB and no Developer options.
It changes exactly one Xiaomi setting: the list of apps HyperOS never freezes. It keeps every entry Xiaomi put there, backs up the original and can restore it. When Xiaomi drops your apps from that list, HyperKeep puts them back in about 2 seconds.
HyperKeep sleeps until it's needed. Android wakes it only when Xiaomi changes its list, and each fix takes a few milliseconds. Only HyperKeep needs No restrictions, so all your other apps can stay on Battery saver (recommended). Download HyperKeep.
To check your ROM, open Settings → About phone and look at the HyperOS version. If the letters near the end contain "CN" (like OS4.0.6.0.XPKCNXM), it's the China ROM. HyperKeep supports HyperOS 1 to 4; older MIUI isn't supported.