You can set up a Sideload Staging bundle for devices using the Generic OEM Service. This procedure does not support Advanced Staging.
Procedure
- Get the enrollment credentials.
- Create a Staging bundle in the console.
- Download the Sideload Staging Package.
- Unzip the Sideload Staging Package file and copy the 'credentials.bin' file inside the enrollment folder. Save this file for later.
- Collect the necessary files for the device.
- Get the latest Hub APK.
- Get the OEM Service APK for your device.
For more information, see Platform OEM Service, Android Provisioning.
- Get the credentials.bin from the preceding step.
- Place all these files in a folder on your PC.
- Create your auto-enroll BAT file.
- 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
- 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.
- Using a text editor, add the following lines (change the filenames and storage locations based on your own configuration).
- Auto-enroll the device.
- Connect the device to Wi-Fi.
- Connect the device to the PC through an ADB connection.
- Run the autoenroll_OEM.bat file.