Can I use the Epic 4G in accessory mode and connect to a Arduino ADK board?
I have tried several ways and can't seem to find a solution.
I've tried the stock sprint rom and cyanogenmod 9.0
Do you mean USB Host Mode? If so, there's a specially-modded kernel for ICS you can flash that handles USB Host Mode. Read about it here. Haven't tried it, but is supposed to be compatible with CM9.
No, not host mode.
I'd like to use it as USB accessory mode.
The host is the Arduino ADK board, which implements USB Host.
I'm able to use my stock Galaxy S3 as accessory mode, but not the Epic 4G.
I was looking inside the passion release version for Nexus One and I can see the jar file com.android.future.usb.accessory.jar is inside the framework folder, but I can't see it on the CM9 for Epic 4G.
Maybe it is just not available for this phone