MXCONFIG - FAILED

Solved

Hi,

We have an issue that my stagenow mdm xml does not want to install on my TC21 devices from Zebra.

The message in the logs : custom log (Mxconfig failed: /sdcard/CFG-TC21_TAV.xml) and Error sending message (Error sending DEVICE_SCRIPT_MSG (General communication error))

error

I created the xml with the stagenow software (latest version 5.6.0.1028) and with the right MX version selected : 11.3

Device specifications :

Device Kind : Android Enterprise
Device Family : Android Plus
OS Version : 11
Agent Version : 15.1.5.1049
Plugin Version : 1.6.0.102
Android API Level : 30
Remote Control Version : 1.20.1.120
OEM Version : 11-20-18.00-RG-U02-STD-HEL-04
Supported APIs : RC Virtual Display, Work Managed Device, Android Zebra EMDK, Android Plus 1.6
Android Security Patch Level : 2022-04-01
MX Version : 11.3.0.2
 
Mobicontrol package:
 
Destination : %sdcard%\
Post install script : 
 
sleep 2
mxconfig /sdcard/CFG-TC21_TAV.xml
 
Please advice
 
Best regards,
3 years ago
Android
ANSWERS
SD
Sander Devos
3 years ago

SOLVED :

In my case the stagenow client should be visible on the TC21 zebra before the mxconfig would be applied succesfull. 

So i had to add a pre-install script in the package: enable_system_app com.zebra.devicemanager

And then do the trick to install the mxconfig : 

Copy the file into the download folder : %sdcard%\Download\

post-install :

sleep 2

mxconfig /sdcard/download/YOURFILE.xml

(https://soti.net/mc/help/v15.0/en/scriptcmds/reference/androidplus.html)

Solution
MD
Matt Dermody Diamond Contributor
3 years ago

I think you should still look into your ZTE configuration. I highly recommend that you have the DPC extras set up to leave all system apps enabled at the point of enrollment. The devices are going to be in a very unusual state with many of the Zebra apps and services that you're not even aware of set to disabled. The devices will perform more optimally if the system apps are left enabled from the point of enrollment. 

SD
Sander Devos
3 years ago

sorry for the delay, but this automaticly gone with the zero touch enrollment procedure.

MD
Matt Dermody Diamond Contributor
3 years ago

Have you tried scanning the StageNow barcode on a sample device to confirm that it can be set successfully there? If the barcode doesn't work in StageNow then the XML won't work in SOTI. 

My guess is that you're trying to apply an MX setting on the TC21 that the device is not eligible for. As value tier devices Zebra has purposefully limited the capability of the TC21, including limiting what MX configurations are available. You can see this documented on their TechDocs website: https://techdocs.zebra.com/mx/tc2x/

SD
Sander Devos
3 years ago

Hi Matt,

Just to know but how can we scan that barcode ? I need the stagenow client on the zebra devices ? But as they are Zero Touch enrolled that application is not on the phone anymore. I don't find any .apk to install it manually.

Please advice

Thanks 

JP
John Phillips
3 years ago

I would use the StageNow application and generate a bin file, then transfer that to the TC21 device. The StageNow application should already be on the TC21 device, so you could just remote into it and open StageNow, then select the bin file. If there is something wrong with the XML, StageNow will give you some type of error message. I also use the mxconfig command for our TC21 devices and I know MobiControl will show a error if one small thing goes wrong, even though it applied part of the configuration. I found it easier to break everything up such as TimeSettings.xml, WiFiSetting.xml etc. This makes the process so much easier to troubleshoot if something goes wrong. 

SD
Sander Devos
3 years ago

Hi John, it looks like when the device is zero touched unrolled that the StageNow client app is disappeared on the device. I can't find the specific .APK file to install it back on that device. Could you help with that ? I can't find it even in ALL applications.. 

UPDATE : i found this article : https://supportcommunity.zebra.com/s/article/Enable-StageNow-Application-in-Android-Devices?language=en_US

enable_system_app com.symbol.tool.stagenow works on Android 10 but not on Android 11 So i have to figure it out why this is happening

MD
Matt Dermody Diamond Contributor
3 years ago
SD
Sander Devos
3 years ago