Search code examples
androidusbadbprotocolswinusb

Android ADB USB Interface Types


A previous post mentions when you install a USB driver on windows a pop-up shows three options of interface types. While looking into the inf file there are three interfaces:

SingleAdbInterface          = "Android ADB Interface"
CompositeAdbInterface       = "Android Composite ADB Interface"
SingleBootLoaderInterface   = "Android Bootloader Interface"

Are there any documents or descriptions of the protocols or features on these interface?


Solution

  • In Windows ADB uses the generic WINUSB driver. The adb binary handles the protocol all by itself.

    The official documentation can be found at: https://android.googlesource.com/platform/system/adb/+/master/OVERVIEW.TXT https://android.googlesource.com/platform/system/adb/+/master/SERVICES.TXT https://android.googlesource.com/platform/system/adb/+/master/protocol.txt