Keep-alive guide

Huawei / Honor (EMUI / MagicOS)

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

Protect the app / App launch

Switch this app to “Manage manually,” then enable Auto-launch, Secondary launch and Run in background.

Developer: settings screen(s) opened
com.huawei.systemmanager/.startupmgr.ui.StartupNormalAppListActivity
com.huawei.systemmanager/.optimize.process.ProtectActivity
com.huawei.systemmanager/.optimize.bootstart.BootStartActivity
The tools try these in order and fall back to the app's info page.
2

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