Kill Application and Wipe Application on Android Enterprise

JW
Johan W
Posten Logistik AB (PostNord)

Hi

Do SOTI intend to include the functionality to kill a running application and also do a wipe application data on a Android Enterprise DO enrolled device?

6 years ago
Android
ANSWERS
MD
Matt Dermody Diamond Contributor
6 years ago

Neither of those scripts seem to work on any of the AEDO Zebra Android devices I've tested with, even with the OEM specific plugin installed. I think the scripting documentation needs to be updated to differentiate between what is supported on Android+ vs. Android Enterprise.

M
MartinsKl
6 years ago (edited 6 years ago)

have you tried using StageNow MX8 option for AppMgr and selecting "Clear Application cache"?

LN

I think Matt has a point here, we should be able to know what's supported without trial and error.

Too many differences in behavior that should be documented.

E
Eddie
6 years ago

I cannot believe we have lost to ability to use kill_application.  It has made my, and our Service Desk's job that little bit harder if our in-house app decides to go off the deep end.

ST
Shawn T
6 years ago
When deploying packages that update either the app itself or a settings file it is required the the application not be running. How are others accomplishing this? This is pretty basic functionality that will prevent moving to AE if given a choice. With the new round of driver's devices deployed witOreo were don't have the option to stay on android +. Any help is appreciated Shawn
RC
Rob Case
6 years ago

I'm experiencing the same issues here!  I have an open case with Zebra and SOTI as kill_application is extremely important when pushing new software configuration settings out.

Also, I discovered execute_shell doesn't work with the Android Enterprise device agent.

My suggestion would be to open a case with SOTI and Zebra to show the importance of these commands to us admins.

MD
Matt Dermody Diamond Contributor
6 years ago

Agreed!

I get the sense that Google is really pushing their weight around and forcing companies like Zebra and SOTI to comply to AE and push people in that direction. I get frustrated by statements that DO is more capable than DA when there are plenty of scenarios just like this where that argument falls apart. I'm sure DO can eventually get there but at this point I feel significantly more empowered as an admin using DA than using DO. 

SS
Support Staff Account
6 years ago (edited 6 years ago)

Hello Johan, 

Thank you for requesting a response from SOTI Support Staff.

I tend to agree with the overall theme of this post that the scripts to kill applications and wipe the application data have been an important part of administering Android devices for some time now.  

Unfortunately as you may already be aware,  what is permitted and what gets omitted in AE scripting capabilities in the new OS Versions is not up to SOTI.  As Google is very important partner of ours, feel free to let us know by creating a case and requesting to have these features returned VIA a feature request as Rob Case has suggested.  That way the necessary stakeholders are made aware of the scope and importance of these features and any others that are depreciated regardless of their popularity.

Feel free to E-mail Support@soti.net to create a case as we may have an alternate method of accomplishing your requirements such as using cmd prompt or some other way of accomplishing your task, and if not possible then at least a feature request can be filed from your case. 

With regards to a separate AE scripting section that make a lot of sense as DA/DO continues to experience growth in popularity. 

This is something I can request to have updated in our help file on your behalf.

Hopefully this helps some. 

Cheers,

MD
Matt Dermody Diamond Contributor
6 years ago
RC
Rob Case
6 years ago
MD
Matt Dermody Diamond Contributor
6 years ago

The latest AE agent is actually 14.1.0 and I just tried to use kill_application with it and it still doesn't work. 

The latest AE agent is actually 14.1.0 and I just tried to use kill_application with it and it still doesn't work. 

This is STILL true today 9.5.2020! What's up devs?! Will we see this working? If so, when?

MD
Matt Dermody Diamond Contributor
5 years ago

reset /s is the new kill_application and uninstall/ reinstall is the new wipe_application 😕

reset /s is the new kill_application and uninstall/ reinstall is the new wipe_application 😕

Wow. That's extremely unfortunate. It's frustrating that Google seems to be holding back on this basic functionality. Thank you guys for the update. 

RC
Rob Case
5 years ago

I called SOTI support a while back and they stated the functionality works however the Zebra API is blocking it.  I requested them to contact Zebra to fix this.  That was some time ago and I have not heard back.  

Call and put a ticket in.  The more tickets/requests they receive may encourage them to finally fix this.

reset /s is the new kill_application and uninstall/ reinstall is the new wipe_application 😕

Wow. That's extremely unfortunate. It's frustrating that Google seems to be holding back on this basic functionality. Thank you guys for the update. 

MD
Matt Dermody Diamond Contributor
5 years ago

I guess you could use MX then instead? Not as clean and easy as the wipeapplication scripting but this could still work?

Hello gentleman,

I received the following from SOTI just recently:



Hello <X>,

Hope you are doing well.

I called on the contact no. <###> but unfortunately, couldn't reach you. 

I would like to inform you that killing an application requires elevated privileges that's why the script kill_application is not working on Zebra AE devices. In the case of Zebra devices, you won’t be able to since Zebra no longer signs our Plugin that enables our AE agent to do things (like killing apps) that require elevated privileges.

Unfortunately I am unsure if Zebra is working on this from their side, I will however push forward a feature request from our side to see if we can implement a similar feature in a newer agent release but there is no definite time frame as such.

I apologize for the inconvenience caused , if any. Please let me know if we can archive the case with your permission or if you have any queries/concerns.

Thank you for choosing SOTI.



Just a heads up, they are saying it's in Zebra's power to change this, not SOTI's.

ST
Shawn T
5 years ago

Hello,

I can confirm that this is a Zebra issue and not SOTI. Using the same script below works on a Honeywell device and not on Zebra.

Both devices have the Modify System Settings permission allowed. Zebra device TC52 (Android 8 or 10) Honeywell CK65 (Android 9).

kill_application com.android.chrome

Agent Version: 14.4.0.1028
Server Version: 15.2.0.4819

Zebra is attempting to be MDM neutral these days. 

 
 
RC
Rob Case
5 years ago

I reached out to Zebra and here is what they stated in regards to this:

"We did implement a feature that allows SOTI to stop an application from running, however its part of our Remote Control API’s (as per our discussion with SOTI that was originally preferred). We don’t have a Mx call to do this independent of the RC API’s.
The EMM needs to provide a UI or option to call the API we provided."

In other words, Zebra has already given Soti the API for this feature a few months ago. 
It is now a matter of the feature being built into the Soti console via OEMConfig."

MD
Matt Dermody Diamond Contributor
4 years ago
JD
John Doe
4 years ago

to give a little update on this, killapplication does not work on any devices for me.

the only thing working is wipeapplication and thats on honeywell devices running pie.

JW
Johan W
4 years ago

I can confirm that both kill_application and wipeapplication works perfectly on Honeywell devices. I mean Zebra is telling us that SOTI did not implement this and SOTI is telling us Zebra did not sign their functionalities. Can they collaborate instead?

MD
Matt Dermody Diamond Contributor
4 years ago

And they all say its "For Security Reasons" and we're left to deal with the consequences of losing these capabilities that were previously there. Zebra is apparently adding Kill Application support to their Remote Control API, but that doesn't help us from a scripting standpoint unless SOTI can interface with that through scripting as well.

JD
John Doe
4 years ago

Hi Johan,

may i ask on what agent, os and server version killapplication works for you?

JW
Johan W
4 years ago

Been trying on Android 7-9 and with agents from 14.4 and above. Also make sure you have the plugin installed

It's been a few months, did you ever find a solution?

RC
Rob Case
3 years ago

All,

Old thread here but SOTI recently released Android Enterprise 15.1 device agent to support Zebra kill_application command.  IT WORKS!  Sent a script manually via admin console and also via package.

Tested on a MC9300 running Oreo. 

Hope it works for everyone. 

Rob

RD

We have the same problem.

now created a workaround. (only you will kill all applications)

I created a stagenow Xpert mode script with AppMgr

action: clear recent apps list.

pushing this script via a package to the device and call it with:

mxconfig /sdcard/killApps.xml

not ideal but for us its working.

kr,

Robbert

Similar Discussions