You can set up a Sideload Staging bundle for devices using the Generic OEM Service. This procedure is not supportive of Advanced Staging.

Step 1 - Get the Enrollment Credentials

  1. Create a Staging bundle in the console.
  2. Download the Sideload Staging Package.
  3. Unzip the Sideload Staging Package file and copy the 'credentials.bin' file inside the enrollment folder. Save this file for later.

Step 2 - Collect the Necessary Files for the Device

  1. Get the latest Agent APK.
  2. Get the OEM Service APK for your device. For more information, see Platform OEM Service Overview.
  3. Get the credentials.bin from the preceding Step 1, number 3.
  4. Place all these files in a folder on your PC.

Step 3 - Create Your Auto-Enroll BAT File

  1. Using a text editor, add the following lines (change the filenames and storage locations based on your own configuration).

    adb push credentials.bin /sdcard/credentials.bin
                            adb install OEMService.apk
                            adb shell am start -a android.intent.action.MAIN -n com.airwatch.admin.awoem.[OEM_NAME]/com.airwatch.admin.awoem.PlatformOEMActivity
                            -e hideui true
    *If you are using POEM v3.2 or higher, use this intent instead:
                            adb shell am start -a com.airwatch.START_AIRWATCH_SERVICE
    adb install Agent.apk
                            adb shell am start -a android.intent.action.MAIN -n com.airwatch.androidagent/com.airwatch.agent.ui.activity.SplashActivity
                            -e hideui true
                            adb shell am broadcast -a com.airwatch.agent.action.IMPORT_CREDENTIAL_XML -e file
                            /sdcard/credentials.bin --user 0
                            adb shell am broadcast -a com.airwatch.agent.action.AUTO_ENROLL --user 0
  2. Save the file as autoenroll_OEM.bat in the same directory as the other files.

    *On Mac, it must be an SH file and run in Terminal.

Step 4 - Auto-Enroll the Device

  1. Connect the device to Wifi.
  2. Connect the device to the PC via an ADB connection.
  3. Run the autoenroll_OEM.bat file.