Zebra Lifeguard OTA Update via Script

E
Eduard
wacker

Hello, is there a device script to execute a lifeguard OTA update if one is available?

2 years ago
Android
ANSWERS
RS
Rafael Schäfer
2 years ago

Not the OTA but via package + included script you can update your Zebra devices.
Sample (if filename is like shown and copied into the sdcard folder on the device from the package):

install_system_update /sdcard/02-52-21.00-OG-U09-STD.zip

If you have setup the Zebra FOTA in your system and on the devices you can use the command from the list of the device details "Upgrade Firmware" and choose which (newer) version you want to apply. But this can't be scheduled it will be executed as soon as the device gets this information from the server (normally very close to sending the command).

MD
Matt Dermody Diamond Contributor
2 years ago

I have found the implementation of Lifeguard OTA to be severely lacking in SOTI to the point of still using File Sync rules primarily for performing the updates. You can accomplish significantly more automation using a combination of File Sync Rules and Virtual Group filters than what you can accomplish with LifeGuard OTA in MobiControl at the moment. I ultimately want to be able to create a Lifeguard OTA Profile or Policy of sorts that lets me target a particular group of devices with a desired target Lifeguard level and let it automate the installations from there. Unfortunately the implementation at the moment is relatively manual and therefore not very useful. I think there may be some improvements coming soon but I'm not sure if they will replace the benefits offered by the File Sync rule approach.

RS
Rafael Schäfer
2 years ago

Yes, i can agree to that.
And especially the missing function of scheduling Zebra FOTA is a mess. But requested that to Soti already.
We also have seen some issues (wrong enrollment state provided from the device to Mobicontrol) to it but were able to fix this on most devices using following script:

wipeapplication com.zebra.commontransportlayer
wipeapplication com.zebra.enrollmentmgr

But as this seem to appear from time to time, it's still not working as it should be.
So, in current situation i also would prefer Matt's method or using packages (because of versioning and possibility to add filters to the profile instead of creating virtual groups).

M
MaikStrassmann
2 years ago

We have now implemented it in this way:
We have created a folder on the server where the latest version of the Lifeguard update is always stored.

In addition, an Update.xml file with the following content.

<wap-provisioningdoc>
  <characteristic version="10.1" type="PowerMgr">
    <parm name="ResetAction" value="8" />
    <characteristic type="file-details">
      <parm name="ZipFile" value="/sdcard/Download/LifeguardUpdates/Update.zip" />
    </characteristic>
  </characteristic>
</wap-provisioningdoc>

The content of the folder is synced to the devices every 6 hours.

And at the weekend, a task scheduler runs which starts different scripts for the installation. This checks which version the device has and whether there is theoretically a new version, either a major or minor release.

Roughly speaking. It's all quite strangely built but it runs quite well and without problems.

J
JEMOD@SOTI
2 years ago