OS: Android JB.
HW Platform 1: sama5d31-ek (ATMEL ARM)
HW Platform 2: TI-Sitara SK
Enable USB debugging for android at android Linux command prompt.
Usually USB debugging for android is enabled through Settings > Developer option > USB debugging.
How can the same thing be achieved on a Headless Android Application? Since there is no user input from the touch screen what is the process to switch on the same feature at Android Linux command prompt.
The following links give some suggestions as to how it can be done but was not able to successfully achieve the objective.
HW Platform 1: sama5D31-ek (Atmel ARM) board has two USB/Serial input from android Linux can be accessed. From one USB/Serial port the adb shell can be executed when the USB debugging is enabled. The access provides root privileges.
The other USB/Serial access point pretty much for debugging, and has very limited privileges.