Keep-alive guide

Xiaomi / Redmi / POCO (MIUI / HyperOS)

pocoredmixiaomi
⚠️ These settings have no public API — you set them once by hand (or fully automate with root). It takes about a minute.
1

Enable Autostart

Find this app in the Autostart list and turn its toggle ON. This is the single most important step.

Developer: settings screen(s) opened
com.miui.securitycenter/com.miui.permcenter.autostart.AutoStartManagementActivity
com.miui.securitycenter/com.miui.permcenter.autostart.AutoStartManagementActivityNew
The tools try these in order and fall back to the app's info page.
2

Set battery to “No restrictions”

Set this app’s battery mode to “No restrictions” (not “Battery saver”).

Developer: settings screen(s) opened
com.miui.powerkeeper/com.miui.powerkeeper.ui.HiddenAppsConfigActivity
The tools try these in order and fall back to the app's info page.
3

App info → allow background

Open Battery and choose “Unrestricted” / “Keep running after screen off.”

Developer: intent used
generic.app_details
Automate this brand:
CLI: python3 adb/dkma.py com.your.app
GUI: python3 gui/server.py
Root: sh root/dkma-root.sh com.your.app
The CLI/GUI grant Doze whitelist, standby bucket and background appops automatically, then open each screen above for you to confirm.
↑ Back to top