Devices with Google Mobility Services (GMS) are becoming increasingly popular in the Enterprise space, these are devices which have Google’s proprietary suite of applications and services built in and can provide your enterprise deployment with a powerful foundation on which to build your line of business applications and workflow.  Exactly why an enterprise would choose GMS over non-GMS (also called the Android Open Source Project, AOSP) is outside the scope of this blog: you might wish to deploy “managed” Android devices, you may be swayed by the additional protection offered by Play Protect or your applications might simply require Google Maps and enhanced location precision but whatever your reasons, the prerequisite assumption is you have chosen a deployment incorporating GMS devices.


Although GMS incorporates an ever expanding range of features, some of the most popular features are listed below:

  • Google Play Services APIs including:
    • Firebase Cloud Messaging
    • Fused Location API
    • Geocoding API
    • Google Maps API
    • Google Cast API
  • Google Play Store
  • Google Play Protect
  • Google Chrome (& safe browsing)
  • Gmail
  • Voice recognition


Having chosen GMS devices, many customers find they wish to selectively block certain functionality and applications; this blog aims to inform the administrator exactly how functionality can be selectively disabled and the implications of doing so.


Why disable GMS features at all?


GMS features as an overall suite are extremely powerful, so much so that arguably a consumer smartphone is not fit for purpose without them.  As we see Google increasingly concentrate on the Enterprise market, more and more enterprise functionality will make its way into play services: for example the managed play store or support for managing purpose-built devices.


You may wish to selectively disable GMS features to:

  • Prevent automatic application updates from the Play Store
  • Prevent the user from accessing specific applications e.g. the News app
  • Control whether your devices location is visible to Google e.g. by disabling the fused location API
  • Prevent some ‘Share’ options being displayed to the user e.g. prevent sharing to Drive to avoid the user copying off sensitive data
  • Prevent access to Google+ as it is not relevant to the employee’s work.

And many other use cases


How to disable GMS features


There are 3 steps to disabling GMS features:

  1. Determine which packages represent the features you wish to disable
  2. Disable these packages using the MX App Manager; as with any Zebra ‘manager’ this can be called by stage now during device configuration or at runtime through our EMDK API.
  3. Restart the device


Determining which packages to disable


Unfortunately there is not a public reference on which Android packages are included in GMS devices and the functionality of each, there will therefore unfortunately be some degree of trial and error to determine which packages require disabling. To add to this, the packages which comprise a GMS build vary from desert to desert so you may need separate configurations for each desert if your deployment contains different android versions.


To aid in the ‘trial and error’ I have put together an application which lists all the system apps installed on your Zebra device and allows you to disable or enable them: , there is also the ability to define your own set of applications / package names and for more information see the readme:


disable system apps application.png


To determine which packages are installed on your device you can run the following command with your device connected to adb:


adb shell "pm list packages -f"


You can of course combine this with grep for a more concise output:


adb shell "pm list packages -f | grep"


You will get an output something like this (obtained from my TC51 GMS):


package:/system/priv-app/BTPairingUtility/BTPairingUtility.apk=com.symbol.btapp package:/data/app/ package:/system/app/SampleExtAuthService/SampleExtAuthService.apk=com.qualcomm.qti.auth.sampleextauthservice package:/system/priv-app/com.symbol.mxmf.csp.wifi/com.symbol.mxmf.csp.wifi.apk=com.symbol.mxmf.csp.wifi package:/system/priv-app/AppGallery/AppGallery.apk=com.rhomobile.appgallery package:/system/priv-app/com.symbol.mxmf/com.symbol.mxmf.apk=com.symbol.mxmf package:/system/priv-app/TelephonyProvider/ package:/system/priv-app/com.symbol.mxmf.csp.usbmgr/com.symbol.mxmf.csp.usbmgr.apk=com.symbol.mxmf.csp.usbmgr package:/data/app/com.afwsamples.testdpc-1/base.apk=com.afwsamples.testdpc package:/data/app/ package:/system/priv-app/CalendarProvider/ package:/data/app/com.zebra.datawedgeexerciser-1/base.apk=com.zebra.datawedgeexerciser package:/system/priv-app/com.symbol.mxmf.csp.xmlmgr/com.symbol.mxmf.csp.xmlmgr.apk=com.symbol.mxmf.csp.xmlmgr package:/system/priv-app/MediaProvider/ package:/system/priv-app/GoogleOneTimeInitializer/ package:/system/app/ModemTestMode/ModemTestMode.apk=com.qualcomm.qti.modemtestmode package:/system/priv-app/com.symbol.mxmf.csp.wirelessmgr/com.symbol.mxmf.csp.wirelessmgr.apk=com.symbol.mxmf.csp.wirelessmgr package:/system/app/shutdownlistener/shutdownlistener.apk=com.qualcomm.shutdownlistner package:/system/priv-app/WallpaperCropper/ package:/system/priv-app/CNEService/CNEService.apk=com.quicinc.cne.CNEService e.t.c.


I will attach the full output from my TC51 to the bottom of this blog.  The function of many of these packages will be self-explanatory, for example:

  • disables the Google+ application and the ability to Share to Google+
  • disables the fused location provider available through the Location Services API


And some may be less obvious, for example:

  • disables the ability to web search for a highlighted word outside of Chrome


Disable these packages using the MX App Manager


The MX app manager can be used to disable specific packages using the following profile:


<characteristic type="Profile">   <parm name="ProfileName" value="ApplicationManager"/>   <parm name="ModifiedDate" value="2017-01-25 08:07:34"/>   <parm name="TargetSystemVersion" value="6.0"/>   <characteristic type="AppMgr" version="4.4">     <parm name="emdk_name" value="AppManager"/>     <parm name="Action" value="DisableApplication"/>     <parm name="Package" value=""/>   </characteristic> </characteristic>


As mentioned earlier, you can initiate this profile as part of your device configuration (via StageNow) or at runtime using the EMDK.  If you are using the test application at then this functionality is part of that application.


Here is a before and after of disabling all GMS applications on my TC51 Marshmallow device:


All GMS packages enabled:


gms 1.pnggms 2.pnggms 3.pnggms 4.png


All GMS packages disabled:


aosp 1.pngaosp 2.png


There are 6 different types of applications installed on my device:

  • Applications which are part of GMS, these have disappeared between the screenshots above and include Chrome, Maps, Gmail etc.
  • Applications which are part of the standard Android AOSP continue to be present, e.g. File Browser, Gallery and Settings
  • Applications which are pre-loaded by Zebra as part of the Zebra BSP and provide value adds to Zebra users e.g. the Bluetooth pairing utility, StageNow.  These remain unaffected.
  • Applications I have developed myself and side-loaded to the device, with the common coffee cup icon remain unaffected.
  • Applications downloaded from the Google Play store, e.g. ZXing (Barcode Scanner): These remain on the device despite the play store itself being disabled but are no longer subject to being automatically updated.
  • Applications available from Zebra which have been post-loaded onto the device, e.g. Enterprise Browser remain unaffected.


Applications which rely on GMS services such as the fused location provider no longer report a fused position, as evidenced from this screenshot of my location API exerciser, with GMS services enabled (left) and GMS services disabled (right).


location gms.pnglocation aosp.png

Note: I have redacted some of the location precision for privacy.


Restart the device

Notice how Google Duo is available in the screenshot illustrating all the GMS packages being enabled, this is curious behaviour since Duo does not appear after a device restart on TC51.  Similarly, I have observed other strange behaviour immediately after enabling some packages e.g. the photos application failed to fully start.  For these reasons, I advise rebooting your device after making any changes to the enabled or disabled packages.


Other considerations

  • Enterprise Browser on Marshmallow will continue to work even after “” has been disabled.  I am surprised by this since EB depends on the system webview but this behaviour may change as the OS is updated to Nougat and ‘O’ where the webview is provided by the Chrome APK.
  • As far as I know the list of applications which are part of GMS for each OS flavour is proprietary information to Google so whilst it can be fairly straight forward to determine through trial and error, I cannot go into extensive detail in this blog.  If you require more detailed information on which GMS applications are on each OS flavour, work with your sales engineer who may be able to help.
  • Android’s Device Policy Manager API contains several methods related to enabling system apps.  This is complementary but separate from the enabling and disabling system apps discussed in this blog and is concerned with system apps disabled whilst provisioning an Android managed device.