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.AutoStartManagementActivitycom.miui.securitycenter/com.miui.permcenter.autostart.AutoStartManagementActivityNewThe 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.HiddenAppsConfigActivityThe 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:
The CLI/GUI grant Doze whitelist, standby bucket and background appops
automatically, then open each screen above for you to confirm.
↑ Back to top
CLI:
python3 adb/dkma.py com.your.appGUI:
python3 gui/server.pyRoot:
sh root/dkma-root.sh com.your.app