USB debugging STILL needed ?

mikereidis

Well-known member
Nov 30, 2011
72
1
0
Do we STILL have to enable USB debugging to get Android Auto working ?

I usually have USB debugging turned on so I didn't notice much, but my stock and factory reset-ed Nexus 7 2013 seemed to require it.

This seems pretty silly if still true 3 months after first AA release. Are there hundreds of people who can't get AA working because they don't know this ?

Hmmm, it's working now with USB debugging OFF. Maybe it's just needed for first start ?

For anyone who doesn't know how: Go to System Settings-> About and tap on Build Number 7 times.

When it says developer mode is enabled go to System Settings-> Developer Options and enable USB debugging.
 
I have now seen this problem with my own Headunit app, and I think I know why now.

My theory is that it happens on Pioneer HU because it runs Android and has the same issue my app does: the HU needs USB access permission to a specific device stored in a file. With my app, the Android USB permission prompts set it up; with Pioneer it's likely automatic as far as the user is concerned.

When I run "adb shell dumpsys usb" on my Nexus 7 2013 it includes this info:

Device preferences:
DeviceFilter[mVendorId=6353,mProductId=11520,mClass=0,mSubclass =0,mProtocol=0,mManufacturerName=HTC,mProductName= Android Phone,mSerialNumber=FA46RWM22264]: ca.yyx.hu
DeviceFilter[mVendorId=6353,mProductId=20199,mClass=0,mSubclass =0,mProtocol=0,mManufacturerName=Android gr8rFiV8US03C03C00,mProductName=Android,mSerialNum ber=HT4A1JT00958]: ca.yyx.hu
DeviceFilter[mVendorId=2101,mProductId=34050,mClass=0,mSubclass =0,mProtocol=0,mManufacturerName=Action Star,mProductName=USB HID,mSerialNumber=null]: ca.yyx.hu
DeviceFilter[mVendorId=6353,mProductId=11521,mClass=0,mSubclass =0,mProtocol=0,mManufacturerName=Android gr8rFiV8US03C03C00,mProductName=Android,mSerialNum ber=HT4A1JT00958]: ca.yyx.hu
DeviceFilter[mVendorId=2101,mProductId=34049,mClass=0,mSubclass =0,mProtocol=0,mManufacturerName=Action Star,mProductName=USB HID,mSerialNumber=null]: ca.yyx.hu
DeviceFilter[mVendorId=2996,mProductId=3877,mClass=0,mSubclass= 0,mProtocol=0,mManufacturerName=HTC,mProductName=A ndroid Phone,mSerialNumber=FA46RWM22264]: ca.yyx.hu

Some of the above is for parts of a USB powered hub (which is something I probably have to fix).

The other parts set up Android to automatically start my app when the specified devices are plugged in.


This problem could probably be solved with root on the HU I think.
 

Forum statistics

Threads
954,286
Messages
6,961,202
Members
3,162,978
Latest member
AGameVR