Usage stats permission for MobiControl

Hi!

im running MC14.2.2 and trying to enroll honeywell TC50 android 6.0.1 with Android Enterprise and Work Managed Device.

after enrollment i get a warning message saying "please give usage stats permission" but the user cant enable it as the device is locked with a lockdown screen

can i from MobiControl send out a script or simular to enable MobiControl to have Usage stats permssion?

6 years ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
6 years ago

Based on my search on the web, I assume you are actually talking about Honeywell CT50 rather than TC50.  Though I do not have similar device on hand,  I also couldn't find any Honeywell utility program that supports special settings/customizations for Honeywell devices (similar to ZX on Zebra devices).  I can therefore conclude that it is very unlikely you can grant the "usage stats permission" by any ways other than doing it manually in the device's "Settings".

If you can get the non-html5 remote control session running, and you can afford 2-3 minutes PER on-line device, it is in principle possible to take a sequence of steps automatically to grant the usage stats permission  in lockdown mode with minimal risk that the device end-user can change other Settings parameters without you knowing in case that the remote-control session gets disrupted intentionally.

MI
Mikael, IDNET
6 years ago

yes, CT50, my mistake

a macro of steps could perhaps solve it but seems very unsecure and might fail if a user is pressing on the screen etc.

RC
Raymond Chan Diamond Contributor
6 years ago

I am checking with Soti to see if it is possible to grant the permission of the device agent itself with script.

RC
Raymond Chan Diamond Contributor
6 years ago

A reply from Soti support team and my own test seem to suggest that no script can currently be used to grant Usage stats permission for the Android Enterprise device agent itself.

AG
Allen Gulbrand
6 years ago

Try running this.

afw_set_permission_grant_state XXXX.XXXX.XXXX android.permission.USAGE_ACCESS_SETTINGS allow

Replace the XXXX.XXXX.XXXX with the agent application ID.

RC
Raymond Chan Diamond Contributor
6 years ago (edited 6 years ago)

Haven't I already said that my test showed the script command doesn't work for permission of the agent itself?   Have you yourself tried successfully setting any permission of a MobiControl device agent with the command?    If so,  please give more details.

N
Nathan
6 years ago

Has anybody had any luck with this yet?  My devices have been prompting for the "usage stats permission" as they have updated to the latest device agent (all Android Enterprise).  I have tried the script command mentioned in this thread with the package name net.soti.mobicontrol.androidwork and also tried the same with Astro File Manager, just to see if the problem lies in the MobiControl agent not being able to grant the permission to itself.  It seems as though afw_set_permission_grant_state isn't working.