Pages: [1]   Go Down
Author Topic: USB to Android without ADK  (Read 1099 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
God Member
*****
Karma: 0
Posts: 593
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
« Last Edit: January 29, 2012, 10:39:55 pm by frank26080115 » Logged

Freelance engineer, consultant, contractor. Graduated from UW in 2013.

Offline Offline
Full Member
***
Karma: 1
Posts: 158
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The protocol is already reverse engineered:
http://code.google.com/p/microbridge/

My related topic:
http://arduino.cc/forum/index.php/topic,97645.0.html
Logged

0
Offline Offline
God Member
*****
Karma: 0
Posts: 593
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks, that might actually work
Logged

Freelance engineer, consultant, contractor. Graduated from UW in 2013.

Pages: [1]   Go Up
Jump to: