1. Home
  2. OEM
  3. Zebra
  4. How to enable Remote Touch Event Injection in SureMDM

How to enable Remote Touch Event Injection in SureMDM

KB ID: 42G2304267
Views: 1071

One of the most impressive features SureMDM offers is a remote touch feature, which allows IT administrators to remotely connect to end-user devices for troubleshooting and maintenance.

Purpose

The purpose of this knowledge article is to provide a guide on how to enable remote touch event injection in SureMDM.

Prerequisites

  • Zebra devices should be over Oreo 8.1.0 and running a minimum of MX 8.3.

Steps

Step 1: Enroll your device into the SureMDM console

1. Log in to the SureMDM console.

2. Enroll your device into SureMDM using the Android Enterprise Dedicated Device mode. Please click here for details.

Step 2: Create and Install a job for the latest OEM Agent

1. On the SureMDM console, navigate to Jobs.

2. Click New Job and select Android as the platform.

3. Select Install Application and click on Add.

4. Click the upload icon and upload the latest OEM Agent APK.

5. Click OK.

6. Name and Save the job.

7. Select the enrolled device and Apply the job.

Step 3: Create and Apply the Run Script for Remote Touch Event Injection

1. Navigate to the Jobs tab of the SureMDM Console.

2. Select New Job and select Android as the platform.

3. Select Run Script.

4. Name the Job and enter the following script.

a. Run Script for devices running an OS below Android 10 (Applicable from MX8.3 till MX10.2.)

am broadcast -a com.gears42.enterpriseagent.zebra_sdk -e script zebra(<wap-provisioningdoc><characteristic version='8.3' type='AccessMgr'><parm name='OperationMode' value='1' /><parm name='ServiceAccessAction' value='1' /><parm name='ServiceIdentifier' value='com.zebra.eventinjectionservice' /></characteristic><characteristic version='8.3' type='AccessMgr'><parm name='OperationMode' value='1' /><parm name='ServiceAccessAction' value='4' /><parm name='ServiceIdentifier' value='com.zebra.eventinjectionservice' /><parm name='CallerPackageName' value='com.gears42.oemagent' /><parm name='CallerSignature' value='MIICfzCCAeigAwIBAgIETru3cTANBgkqhkiG9w0BAQUFADCBgzELMAkGA1UEBhMCOTExEjAQBgNVBAgTCUthcm5hdGFrYTESMBAGA1UEBxMJQmFuZ2Fsb3JlMSEwHwYDVQQKExg0MkdlYXJzIE1vYmlsaXR5IFN5c3RlbXMxETAPBgNVBAsTCFByb2R1Y3RzMRYwFAYDVQQDEw1QcmFrYXNoIEd1cHRhMB4XDTExMTExMDExMzcyMVoXDTM2MTEwMzExMzcyMVowgYMxCzAJBgNVBAYTAjkxMRIwEAYDVQQIEwlLYXJuYXRha2ExEjAQBgNVBAcTCUJhbmdhbG9yZTEhMB8GA1UEChMYNDJHZWFycyBNb2JpbGl0eSBTeXN0ZW1zMREwDwYDVQQLEwhQcm9kdWN0czEWMBQGA1UEAxMNUHJha2FzaCBHdXB0YTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAhOEIxgkwh4un5OI1ET40lUSnKDIyi22snV+qFTQWSq19b6ztfgznzSjqocLsLn8Yb0OEbujtZcD7NApGxZrpue/51VG4CZrCUOfHSNagEHN4rN/lXT1a0vEhKnDUb3xcj1CC5XIkE9EF2jQh00WyTpiXIef45DmIUIxxV9Qa5AsCAwEAATANBgkqhkiG9w0BAQUFAAOBgQBjoVAKXHjbAo/M8O7NV5tu78L4q4yXwzDuha815Y6osSkVT3NKLl561zOxw7XmGmT5XyXvuTXGqTV2aRGMRXwZn2DsE8YLX8AAzIeiwwd7pGVDfdtkzxLVptoS8OWQN7KL6b/6htlWjdoAoh95NPS8aELoL2DWhG+YJq0I5aDzxA==' /></characteristic></wap-provisioningdoc>) com.gears42.oemagent

b. Run script command for devices with OS Android 10 and above( Applicable from MX 10.2 and above)

!#suremdm 
zebra(<wap-provisioningdoc><characteristic version="10.1" type="AccessMgr"><parm name="OperationMode" value="1" /><parm name="ServiceAccessAction" value="1" /><parm name="ServiceIdentifier" value="com.zebra.eventinjectionservice" /></characteristic><characteristic version="10.1" type="AccessMgr"><parm name="OperationMode" value="1" /><parm name="ServiceAccessAction" value="4" /><parm name="ServiceIdentifier" value="com.zebra.eventinjectionservice" /><parm name="CallerPackageName" value="com.gears42.oemagent" /><parm name="CallerSignature" value="MIICfzCCAeigAwIBAgIETru3cTANBgkqhkiG9w0BAQUFADCBgzELMAkGA1UEBhMCOTExEjAQBgNVBAgTCUthcm5hdGFrYTESMBAGA1UEBxMJQmFuZ2Fsb3JlMSEwHwYDVQQKExg0MkdlYXJzIE1vYmlsaXR5IFN5c3RlbXMxETAPBgNVBAsTCFByb2R1Y3RzMRYwFAYDVQQDEw1QcmFrYXNoIEd1cHRhMB4XDTExMTExMDExMzcyMVoXDTM2MTEwMzExMzcyMVowgYMxCzAJBgNVBAYTAjkxMRIwEAYDVQQIEwlLYXJuYXRha2ExEjAQBgNVBAcTCUJhbmdhbG9yZTEhMB8GA1UEChMYNDJHZWFycyBNb2JpbGl0eSBTeXN0ZW1zMREwDwYDVQQLEwhQcm9kdWN0czEWMBQGA1UEAxMNUHJha2FzaCBHdXB0YTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAhOEIxgkwh4un5OI1ET40lUSnKDIyi22snV+qFTQWSq19b6ztfgznzSjqocLsLn8Yb0OEbujtZcD7NApGxZrpue/51VG4CZrCUOfHSNagEHN4rN/lXT1a0vEhKnDUb3xcj1CC5XIkE9EF2jQh00WyTpiXIef45DmIUIxxV9Qa5AsCAwEAATANBgkqhkiG9w0BAQUFAAOBgQBjoVAKXHjbAo/M8O7NV5tu78L4q4yXwzDuha815Y6osSkVT3NKLl561zOxw7XmGmT5XyXvuTXGqTV2aRGMRXwZn2DsE8YLX8AAzIeiwwd7pGVDfdtkzxLVptoS8OWQN7KL6b/6htlWjdoAoh95NPS8aELoL2DWhG+YJq0I5aDzxA==" /></characteristic></wap-provisioningdoc>)

c. Run Script command for devices to auto-grant remote support silently 

(Note: It will work only with OEM1.21 and MX>10.1)

!#suremdm
zebra(<wap-provisioningdoc><characteristic version="10.1" type="AccessMgr"><parm name="ServiceAccessAction" value="1" /><parm name="ServiceIdentifier" value="com.zebra.remotedisplayservice" /></characteristic><characteristic version="10.1" type="AccessMgr"><parm name="ServiceAccessAction" value="4" /><parm name="ServiceIdentifier" value="com.zebra.remotedisplayservice" /><parm name="CallerPackageName" value="com.gears42.oemagent" /><parm name="CallerSignature" value="MIICfzCCAeigAwIBAgIETru3cTANBgkqhkiG9w0BAQUFADCBgzELMAkGA1UEBhMCOTExEjAQBgNVBAgTCUthcm5hdGFrYTESMBAGA1UEBxMJQmFuZ2Fsb3JlMSEwHwYDVQQKExg0MkdlYXJzIE1vYmlsaXR5IFN5c3RlbXMxETAPBgNVBAsTCFByb2R1Y3RzMRYwFAYDVQQDEw1QcmFrYXNoIEd1cHRhMB4XDTExMTExMDExMzcyMVoXDTM2MTEwMzExMzcyMVowgYMxCzAJBgNVBAYTAjkxMRIwEAYDVQQIEwlLYXJuYXRha2ExEjAQBgNVBAcTCUJhbmdhbG9yZTEhMB8GA1UEChMYNDJHZWFycyBNb2JpbGl0eSBTeXN0ZW1zMREwDwYDVQQLEwhQcm9kdWN0czEWMBQGA1UEAxMNUHJha2FzaCBHdXB0YTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAhOEIxgkwh4un5OI1ET40lUSnKDIyi22snV+qFTQWSq19b6ztfgznzSjqocLsLn8Yb0OEbujtZcD7NApGxZrpue/51VG4CZrCUOfHSNagEHN4rN/lXT1a0vEhKnDUb3xcj1CC5XIkE9EF2jQh00WyTpiXIef45DmIUIxxV9Qa5AsCAwEAATANBgkqhkiG9w0BAQUFAAOBgQBjoVAKXHjbAo/M8O7NV5tu78L4q4yXwzDuha815Y6osSkVT3NKLl561zOxw7XmGmT5XyXvuTXGqTV2aRGMRXwZn2DsE8YLX8AAzIeiwwd7pGVDfdtkzxLVptoS8OWQN7KL6b/6htlWjdoAoh95NPS8aELoL2DWhG+YJq0I5aDzxA==" /></characteristic></wap-provisioningdoc>)

The newly created job will be listed in the Jobs List section. 

7. Go back to the Home tab and select the Android device(s) or group(s) and click Apply to launch the Apply Job/Profile To Device prompt.

8. In the Apply Job/Profile To Device prompt, select the job and click Apply.

Need more help? CONTACT US 

Was this helpful?
YesNo
Updated: January 2024

Related Articles