Go Down

Topic: USB to Android without ADK (Read 1 time) previous topic - next topic

frank26080115

Jan 30, 2012, 04:24 am Last Edit: Jan 30, 2012, 04:39 am by frank26080115 Reason: 1
My problem is that I don't think my phone (Samsung Infuse 4G) has "Android Open Accessory" support, I tried to compile and run some test code but it throws a "stub" runtime exception whenever UsbManager is used. It's running an unofficial CM7 port with Android 2.3.7

Anyways, I'm not asking you what the problem with my code is. My real question is, do I really need "Open Accessory" support?

What if I made my USB host pretend to be an ADB server and just keep USB debugging enabled? In theory, I should be able to get shell access this way, plus a lot more other misc functionality.

Has this method been explored before? Is it feasible?

I can use a software USB sniffer to reverse engineer the USB debug protocol if I need to. But is there any resources out there with regards to how ADB communicates through USB?
Freelance engineer, consultant, contractor. Graduated from UW in 2013.


frank26080115

thanks, that might actually work
Freelance engineer, consultant, contractor. Graduated from UW in 2013.

Go Up