Keep-alive guide
realme (realme UI / ColorOS)
realme
⚠️ These settings have no public API — you set
them once by hand (or fully automate with root). It takes about a minute.
1
Allow auto-launch
Allow this app to auto-launch in the Startup manager.
Developer: settings screen(s) opened
com.coloros.safecenter/.startupapp.StartupAppListActivitycom.coloros.safecenter/com.coloros.privacypermissionsentry.PermissionTopActivityThe 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:
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