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

IMPORTANT: Please notify the team about your question by filling in the form on the contact page. Otherwise, we may miss your question!

0 votes
There are certain Android properties that either require ADB access every time the phone is rebooted or require root to set permanently.  One example is service.adb.tcp.port.  Normally, to set that property, you either need a rooted phone and to run "setprop service.adb.tcp.port 5555" or plug in the phone and run "adb tcpip on" each time.

Can Headwind push that a system level property like that to the phone via the APK?  If so, how would I configure that?

1 Answer

0 votes

Headwind MDM doesn't use root and therefore cannot change most of Android system properties (including service.adb.tcp.port). 

If you're familiar with Android Studio, you can develop a simple app which does what you need, see for details: https://stackoverflow.com/questions/49249590/how-to-run-adb-command-programmatically-on-rooted-android-device  

If you need it for production usage, such app can be pushed to all your phones using Headwind MDM, because Headwind MDM can be installed on rooted phones without problem.

by (6.4k points)