MobiLock can silently install/uninstall applications published from the Enterprise app store in devices that have Samsung Knox and LG Guard activated. However the recent update of MobiLock allows rooted devices to silently install/uninstall applications, if necessary permissions are granted to MobiLock.
When a device is rooted you can do the following activities on the device-
Unlocking the operating system so you can install non-Playstore apps
Overclock (or underclock) the processor
Update the OS
Replace the firmware
In other words, it’ll allow you to access the entire operating system and customize just about anything on your Android device.
What is silent installation and silent uninstallation of apps?
When an app is installed or uninstalled in a device from a web-based portal without user’s interaction, it is called as silent installation and uninstallation. The whole process happens in the background.
Features for the rooted devices
Silent installation/uninstallation of apps on rooted devices
This feature allows you to silently install/uninstall apps distributed/published from the MobiLock Enterprise app store on a rooted device, from the dashboard without the end-user’s involvement.
To enable silent installation/uninstallation on your rooted device, You either need to have a rooted device without any Root management tool or if you are using a Root Management tool then MobiLock Pro needs to be configured in the root management tool. We suggest using SuperSu as we have tested using that extensively. If you do not have a Root Management tool, that means all apps can directly use root privileges.
This feature is not possible on other normal devices due to Android security settings.
SuperSU is a root management app for rooted devices. This helps prevent unauthorized apps accessing Root features directly once the device is rooted.
For example: When you run an app that requests root approval, you will get a prompt dialog from SuperSU asking whether you want to allow the app or not on your rooted device.
Clear the third party Apps’ data on rooted devices
You can clear application data of the apps enabled on your rooted devices from the dashboard itself and on the devices that have Samsung knox and LG Guard activated as well. There are many cases when the Clear App data feature can be useful. For example: It becomes necessary to clear data of certain apps like in Hotels, after every guest checks-out or in a company, when an used device is given to a new user, this feature can be utilized to clear the existing app data.
Limitations for the rooted devices
SuperSU must be installed from playstore. (If You are using a Root Management tool, then we would suggest using SuperSu. Please read Step 2 “ Steps to Setup SuperSu for MobiLock Pro”)
SuperSU is tested and is compatible with MobiLock Pro. So it is recommended to install SuperSu from the playstore. Please use the latest version of SuperSU.
Access privilege must be given from dashboard
MobiLock should be given access privileges from the dashboard i.e it allows MobiLock Pro on the rooted devices and controls the silent install/uninstall and clear data on a rooted device. (This option is available in the Global setting on the dashboard.)
Please follow the steps given below to grant permission so that MobiLock Pro can access Root Privileges and perform silent install/uninstall or clear data.
Step 1 : To allow MobiLock Pro to access Root Privileges enable the Access Root Privileges option, as shown in the image below.
Goto Utilities → Global settings on dashboard
Note: Please note if this setting is ON and MobiLock Pro is not configured for SuperSu (Root Management tool) then a access dialog will be shown to the end users which might be confusing for them.
Step 2 : Steps to Setup SuperSu for MobiLock Pro For Fresh installations.
2.2 Install MobiLock Pro from Playstore and launch it once. (Need to login and exit MobiLock Pro to complete setup.)
2.3 Launch SuperSu
2.4 You would see MobiLock Pro has a # symbol next to it
2.5 Click on MobiLock Pro, as shown in the image below.
2.6 In the Access Column choose, “Grant” and in Notification column, choose “Disabled” and tap on Save.
2.7 You should see something like this after saving, as shown in the image below.
2.8 SuperSU has default setting that would remove whatever is done above on App upgrade. So technically the above settings will be removed if the MobiLock Pro app is upgraded. To avoid this enable the Re-Authentication setting, under “Settings” tab.
2.9 If permission is not given then SuperSu access permission dialog will be shown every time MobiLock Pro tries to access Root privileges.
Steps for Client which are upgrading
If already MobiLock Pro’s being used by end-users and SuperSU app is installed then depending upon the configuration of SuperSu, MobiLock Pro will get access.
In most cases SuperSu by default does not give access to upgraded apps so root features won’t work.
You would have to take remote access of the device and perform steps as described in Section 2.
A slightly riskier option is to allow SuperSu app but in invisible mode to end users and inform them to Grant permission when the dialog appears. However by this the end users would know that the device is rooted.
Step 3: Now, go to Enterprise store → My Apps on dashboard
3.1 Click on the application that you want to publish, as shown in the image below.
3.2 You can publish an app on the device(s), device profile(s) or device group(s). Please select your prefered choice and then click on “PUBLISH”button, as shown in the image below.
3.3 Now the application will be installed silently on the device, as shown in the image below.
You have silently installed the app!!
STEP 4 : Please follow the steps to silently uninstall an app from the dashboard.
4.1 Go to Enterprise store> My Apps on dashboard
4.2 Now select the app from the device(s), device profile(s) or device group(s) as per your prefered choice and then click on “UNINSTALL” shown in the image below.
4.3 Now the application is silently uninstalled on the device, as shown in the image below.
You have silently uninstalled the application!!
Clear App Data
Step 5 : Please follow the steps to Clear the third party apps data on rooted devices
5.1 Click on Utilities → Clear app data
5.2 Now select the rooted device(s), LG Guard or Samsung Knox enabled devices or device group(s) from the list and click on “NEXT”, as shown in the image below.
Note: Only rooted devices, LG Guard or Samsung Knox enabled devices and their apps will be shown in the list of Devices or Device groups.
5.3 Now, Select apps from which the data should be cleared and click on “Clear Data”, as shown in the image below.
5.4 Once you have done the above step, click on OK, as shown below.
You have successfully cleared the app data on the device!!
This update has made it simple to silently install/uninstall apps remotely on the rooted devices without the end-users involvement or interference in the device settings.