Purpose
When the admin enrolls the devices in Astrofarm for the remote testing, sometimes there can be a scenario where the device is not enrolling or is stuck at showing the status as unplugged. This could be due to the missing configurations within the device’s developer settings.
Prerequisite
- For some models, these settings may not be directly present under your device developer settings, you may need to search for this option on the device and find the above-mentioned settings to make the required changes.
- On some models, the USB debugging option will be present on both Security Settings and Developer Options. Make sure the settings are enabled in both locations.
- On Xiaomi/Redmi devices, make sure to turn off “MIUI optimization“.
Steps
- Enable the USB debugging option on the device and connect the device to the PC
The AstroFarm enrolment guide will provide the steps to enable USB debugging on the device https://knowledgebase.42gears.com/article/astrofarm-device-enrollment/ - Open the command prompt in the platform-tools location and enter the below command to make sure the device is connected well and listed under adb devices
- Go to the device System Settings and navigate to Developer Options
- Turn ON Install via USB under Developer Options
- Turn OFF Verify apps over USB under Developer Options
- Turn ON Disable Permission Monitoring under Developer Options
- Unplug & Replug the device to the contributor machine
After applying the above troubleshooting steps and enabling the required Developer Options, the device is successfully detected by AstroFarm, and the enrollment completes without issues. The device status changes from Unplugged to Connected.
Conclusion
Most AstroFarm enrollment issues are caused by missing or restricted Developer Options. Verifying USB debugging and related settings resolves the issue in most cases and ensures successful device enrollment.
Need more help? Here’s how to get help from our experts.