Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes
Our devices do not have a camera and we cannot use QR code to install Headwind MDM.

They can be connected to adb.

Please help us to optimize the setup flow. We do not want to enter the server URL and device ID on each device.
ago by (45.4k points)

1 Answer

0 votes

Here's the setup flow including adb. We presume adb is already activated (here is how to turn on developer mode and connect the device to the host by adb).

1. Open the list of configurations in the Headwind MDM web panel, choose the configuration for your devices, click the QR code icon, choose the device number assignment strategy (IMEI or serial number), then click "Generate JSON".

2. Save the JSON as init.json on your computer.

3. Download the APK file of the MDM agent to your computer (hmdm-x.xx-os.apk)

4. Connect the device to the computer by usb

5. Run the commands (they could be merged into a script):

adb install hmdm-x.xx-os.apk

adb shell dpm set-device-owner com.hmdm.launcher/.AdminReceiver

adb push init.json /storage/emulated/0/Android/data/com.hmdm.launcher/files/init.json

adb shell am start com.hmdm.launcher

6. To complete the setup, grant the permissions requested by the Headwind MDM launcher.

ago by (45.4k points)
...