Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes
Hello!
I have custom build hmdm-android. I increase versionCode and versionName and make new build. After installing the new apk version HMDM Launcher(Agent) from backend server, the Agent does not start automatically (you can start it manually). Device owner rights is set.

The com.hmdm.emuilauncherrestarter application is installed and running.
LogCat:
E Failure starting process com.hmdm.launcher
java.lang.SecurityException: Package com.hmdm.launcher is currently frozen!
at com.android.server.pm.PackageManagerService.checkPackageStartable(PackageManagerService.java:4493)
at com.android.server.am.ProcessList.startProcessLocked(ProcessList.java:1455)
at com.android.server.am.ProcessList.startProcessLocked(ProcessList.java:1851)
at com.android.server.am.ProcessList.startProcessLocked(ProcessList.java:1963)
at com.android.server.am.ActivityManagerService.startProcessLocked(ActivityManagerService.java:3041)
at com.android.server.am.ActivityManagerService$LocalService.startProcess(ActivityManagerService.java:18499)
at com.android.server.wm.-$$Lambda$qMFJUmfG50ZSjk7Tac67xBia0d4.accept(Unknown Source:29)
at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:353)
at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:195)
at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:86)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.os.HandlerThread.run(HandlerThread.java:67)
at com.android.server.ServiceThread.run(ServiceThread.java:44)

Please help me
by (120 points)

1 Answer

0 votes
To restart Headwind MDM launcher after updating, we use the "Launcher Restarter" app (package ID: com.hmdm.emuilauncherrestarter).

Make sure this application is included in your configuration, and the "Launcher Restarter" app is installed.

Here's the related error description: https://stackoverflow.com/questions/47643030/android-security-exception-package-is-frozen  Probably this could help you resolving the issue.
by (36.6k points)
...