Shizuku on Xiaomi (MIUI & HyperOS): Keep It Running
Xiaomi, Redmi and POCO phones need three settings to keep Shizuku alive: allow autostart, set no battery restrictions, and lock it in recent apps. MIUI and its successor HyperOS are among the most aggressive at killing background services, which is why Shizuku “keeps stopping” on Xiaomi more than any other brand. Apply all three and it stays running.
Grab v13.6.0 from the download page and see the activation guide for the basics; this page is the Xiaomi-specific layer.
Activate Shizuku on Xiaomi
- Enable Developer options — Settings → About phone → tap OS version (or MIUI version) seven times.
- Use wireless debugging (Android 11+) to skip the Mi-account requirement that USB debugging imposes. Turn it on in Developer options and pair with Shizuku.
- Tap Start in Shizuku. For USB activation, sign into a Mi account, enable USB debugging and Install via USB, then run the ADB command from a PC.
The three settings that keep Shizuku alive
- Allow autostart: Security app → Permissions → Autostart → enable Shizuku.
- No battery restrictions: Settings → Apps → Manage apps → Shizuku → Battery saver → No restrictions.
- Lock in recents: open recent apps, swipe down on the Shizuku card (or long-press it) and tap the lock icon so MIUI will not clear it.
On MIUI/HyperOS these settings work together. Autostart alone is not enough if battery saver is still throttling the app, and battery settings alone will not stop the recent-apps cleaner. Set all three and reboot once.
If Shizuku still dies on Xiaomi
- Confirm you are on the GitHub build (v13.6.0), not the frozen Play version — see the troubleshooting guide.
- Disable any third-party or built-in “memory cleaner” / “boost” feature that force-closes background apps.
- As a last resort, test with MIUI optimization toggled off in Developer options — but expect other side effects and turn it back on if it does not help.
MIUI vs HyperOS: what changed
HyperOS is Xiaomi’s newer operating system (2024 onward) that replaces MIUI on Xiaomi, Redmi and POCO phones. For Shizuku the behaviour is identical: both kill background services aggressively, and both expose the same Autostart and battery-saver controls. A few menu labels moved, but the three settings above apply to both.
USB debugging and the Mi account requirement
Xiaomi gates USB debugging behind a signed-in Mi account and an extra “Install via USB” permission, which can take a few minutes to enable. Wireless debugging has no such requirement, so it is the fastest path to Shizuku on any Xiaomi, Redmi or POCO device.
If you must use USB: sign into a Mi account, enable USB debugging and Install via USB (both under Developer options / Security settings), connect, and run the ADB start command. Expect a one-time Mi-cloud verification the first time.
Turn off the memory cleaner
MIUI and HyperOS ship a built-in cleaner and one-tap “boost” that force-close background apps. Disable aggressive cleaning under Settings → Apps, and avoid third-party “booster” apps entirely — they are the second most common reason Shizuku dies on Xiaomi, after autostart being switched off.