Those users who don't have source code of their AOSP image, can build this project in Android Studio.
- Get your ROM's platform keys, prepare the keystore file 'platform.jks' and store it in the app/keystore directory
- Update the Const.java as appropriate and build the 'Release' variant
- Preinstall the Provision APK into your ROM in the /system_ext/priv-app directory
- Place the permission file com.android.provision.xml in the /system_ext/etc/permissions directory
- Preinstall Headwind MDM APK into your ROM in the /system/app directory
At first start, your devices should be provisioned with Headwind MDM.