Permission Error when using mxconfig script command on Zebra TC51 devices
Are these devices enrolled as Android+ pr Android Enterprise? If Android+, can you verify that MobiControl agent is designated as a Device Administrator on these affected devices? Also, if you can confirm if the MX version used to build the XML file in StageNow is supported by the devices.
Please let me know if you have any questions.
Technical Support | SOTI Inc. |1.905.624.9828 | firstname.lastname@example.org | soti.net |
Thank you for your reply.
The devices are enrolled as Android+ and MobiControl is set as device admin.
I should've given you more background information
I was trying to install the current ZEBRA BSP and LifeGuard (Security patch) for Android 6.0.1..... the BSP file got installed but not the LifeGuard one. Both packages should've been installed, atleast that's what I configured in the StageNow XML file.
I was upgrading the devices from BSP 15.01.7 (MX v6.2) to BSP 21.04.1 (MX v6.3)
The LifeGuard update patched the devices to MX v7.2
I created the XML file with version 6.3. Now I'm even more confused because the BSP upgrade from Version 15 to 21 shouldn't have worked to begin with because the XML file was created with the version above the current supported one.
Unfortunately im currently not able to test this entire process again because all my TC51 device are on the same OS now. (Like I've said, a reboot of the device and running the mxconfig command again fixed the permission problem and the LifeGuard update got installed)
You cant have them both install at the same time, they will need to be installed separately in sequence. You also can use install_system_update script instead of mxconfig + XML file to execute Zebra Android OSUpdates.
Based on ZEBRA Tech Docs for StageNow it should be possible to have 2 or more OS .zip files install "at the same time" by using an .upl file.
No problem, you're welcome :)
I've reached out to our ZEBRA Account Manager for additional assistance. He will ask a technician to help me out with it.
Zebra said this is a known issue when it comes to upgrading OS via .upl file.
I also tried it with a StageNow barcode and left MobiControl completely out of it and pretty much got the same error or outcome --> only BSP gets installed and not the LifeGuard patches afterwards
A internal ticket has already been opened.
I hope to get more information about this soon.
I honestly would recommend decoupling them into separate packages. Otherwise, what happens when the next LG version comes out that you want to distribute to the devices? Do you recompile a new package with base OS + New LG version? That would lead to you unnecessarily performing a full OSUpdate every time you want to deliver a new LG update to the devices.
I totally agree with you. Zebra pretty much said the same thing.
But with that in mind, we actually tested what would happen, if you execute the full OS update + LG again after the OS update already took place....
The device went into recovery mode, checked for the current OS version and skipped the full OS update.
It's nice that it didn't execute the update unnecessarily but you still would have pushed down the OSUpdate ZIP file from SOTI to the device which might be 700MB-1GB of unnecessary network traffic.
You could use the app "OS Manager". It's specifically designed to automatically upgrade OS on Zebra Android devices. It basically replicates the user experience you have on Samsung and iPhone.
I've been through the process of upgrading OS and LifeGuard on Zebra Android devices many times, especially for devices being used in retail. The biggest issues I've seen are offline devices, devices with a low state of charge, devices in use, devices with low WiFi-coverage, distributing information to all users, etc.
So what OS Manager does, it automate the whole process. Users are asked if they want to install now or later. Pressing install now will install the update right away, install later will install the update around 11:30 PM. OS Manager have all kinds of safe guards, including checking state of charge, update-file integrity etc. You can also apply several updates at the same time if needed.
More information is also available on SOTI Marketplace.