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

Procedure

  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.
  2. Collect the necessary files for the device.
    1. Get the latest Hub APK.
    2. Get the OEM Service APK for your device.
      For more information, see Platform OEM Service, Android Provisioning.
    3. Get the credentials.bin from the preceding step.
    4. Place all these files in a folder on your PC.
  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.
  4. Auto-enroll the device.
    1. Connect the device to Wi-Fi.
    2. Connect the device to the PC through an ADB connection.
    3. Run the autoenroll_OEM.bat file.