How to make Zebra TC26 device sync time regularly

Hi, some of our Zebra TC26 mobile android devices are getting out of time sync.

I created a MobiControl package that enables Network Time and sets military time to 24 hours. When the package installs, it works fine.

But then at some time some of the devices have seemingly by themselves removed the "Use network time" again, and some of them are 6-8 hours out of time sync. I don't know how.

It seems though, if I manually force the package to run again, they will get the "Use network time" once again, and imediatedly be in sync again. 

So what I did was, to go to my time sync profile and try to set it to run at a schedule two times a week. But as far as I can see in the logs on some of the devices, nothing happened this morning. It does not seem like the job was started.

Devices are running android 10.

Tried to insert som images here in .png or .jpg, but it fails to upload them.

Regards Jarl

4 years ago
SOTI MobiControl
ANSWERS
RC
Raymond Chan Diamond Contributor
4 years ago

Is your device enrolled with Android+ or Android-Enterprise device agent?  What are the version and build numbers of the device agent?   If it is using an AE device agent, is there any Zebra AE plug-in installed?

What did you mean by 'MobiControl package that enables Network Time and sets military time to 24 hours."?  An apk in a .pcg package? Or an empty package with no .apk but with MobiControl script?  If you are using MC script, what script command(s) exactly did you include?

JG
Jarl Glensholm
4 years ago

Hi Raymond,

They are enrolled with Android+ agent. The Agent Version is 14.5.3 Build 1017.

I believe the plugin is this: RC+ (1.18.2.100). If not, can you tell me how to check it?

I mean that I created a profile in StageNow which I exported to .xml and then imported to a .pcg package. :

This is the .xml:

<wap-provisioningdoc>
<characteristic version="6.0" type="Clock">
<parm name="AutoTimeZone" value="false" />
<parm name="AutoTime" value="true" />
<characteristic type="AutoTimeDetails">
<parm name="SyncInterval" value="00:30:00" />
</characteristic>
<parm name="MilitaryTime" value="1" />
</characteristic>
</wap-provisioningdoc>

/Jarl

IS
Ian Stuart
4 years ago

Android + can be managed through SOTI itself - go to Advanced Configurations of the OU of the devices in question and set the Time settings there.

RC
Raymond Chan Diamond Contributor
4 years ago

I see what you meant now.  Using your mentioned .xml file with Zebra Stagenow, you have extra control on parameters such as "AutoTimeZone", "MilitaryTime", etc. on top of using autotime feature with configurable re-sync interval.  If the configurations do not seem to be stable and need reconfiguration from time to time, the problem likely stems from the device firmware and you probably need to consult support team from Zebra.

However, if you only want the device to be time-synced regularly with particular corporate server or to an NTP/SNTP time server, you can use the "Time Sychronization" Advanced-Configurations policy of Soti MobiControl, provided that your device is using either a relevant OEM-specific Android+ device agent, or a generic Android-Enteprise device agent with OEM-specific AE-plugin installed.

From Soti Android agent download webpage, the latest Zebra Android+ device agent version is v14.5.1 build 1074.  So, unless you get your  Zebra v14.5.3 build 1017 device agent directly from Soti support team, otherwise, your device is likely to be enrolled with an v14.5.3 Android Enterprise device agent.  You can confirm this by checking that the "Active MDM API"  field associated with your enrolled device includes the item "Work Managed Device"

The RC+ (1.18.2.100) item is not the AE plug-in version.   Depending on your MobiControl server version, you might need to download the plug-in .apk/.pcg  from https://docs.soti.net/mobicontrolagentdownloads/ and have it deployed to your device with an Android profile policy.

A final alternative for Zebra Android-Entperise devices is to use Zebra OEMConfig app deployed from managed Google Play store.  As shown in the following screenshot, there are all your required configuration parameters supported when configured from MobiControl web-console.

JG
Jarl Glensholm
4 years ago

We tried to upgrade the oem firmware on a Zebra TC26 device from 10-12-13.00-QG-U17-STD-HEL-04 to 10-16-10.00-QG-U90-STD-HEL-04.

That didn't solve the issue. We've opened a case with Zebra and asked how come the "Use network time" feature can suddenly be turned off by itself.

Yes, our devices are indeed enrolled with an v14.5.3 Android Enterprise device agent. And YES, I have now confirmed that the Active MDM API includes the item "Work Manged Device". 

Anyway, we decided to try out the other method of Time Sync that you guys proposed here - the Advanced Configuration. So we are testing to see if that works right now. We tested it on 1 device first, and it seemed that nothing happened the first minutes, but then I noticed that the device had an available Mobicontrol Agent update. So i let it update from 14.5.3.1017 to 14.5.4.1016. Then right after that, the time was in sync. I have configured the Advanced Configuration - Time Sync now on the MobiControl Folder that holds our production environment devices. And they all have this Mobicontrol agent upgrade available as well. So I will upgrade the agents this evening, and then we will wait for our users to report back if it has worked.