ADB intents - script commands
There is a sendintent script however if the agent is crashing then I'm not sure how you're going to be able to send any scripts to the device from SOTI. I guess you're more looking to send and intent to the agent itself rather than have the agent send an intent to another application, is that fair?
With all that said, if your agent is actually crashing I would treat that as a bug and investigate having the agent upgraded rather than trying to find a workaround.
No this was not what I was looking for.
We have devices which are offline (can't get them back online for different reasons). And when exiting the lockdown into admin mode, the agent crashes and we are thrown back into lockdown. This is some bug in the agent version.
Therefore we are looking for a way of for example connecting the device to a computer, run adb command and broadcast an intent to the device agent, then the agent takes the intent and make a script out of the data sent in the intent.
Like for example, notify kiosk off.
For now, these devices are quite bricked :) Since we are blocking factory reset as well we cannot start the device in recovery mode and use that.
But you have USB connectivity and ADB access while the devices are in this perpetual lockdown? Assuming you can use ADB and USB access isnt blocked, could you possibly try to do an ADB upgrade of the SOTI agent?
Otherwise, you could try to kill the agent completely with adb shell am force-stop <packagename>
Well we can kill the agent, but it restarts itself.
MobiControl is just too powerful in this case :)
Actually I might have found a way of fixing the devices with the adb command
adb shell pm clear net.soti.mobicontrol.elm.samsung