Google has specs for the Nexus debug cable:
USB debug cable design documents: Eagle schematics and PCB, gerber files, and BOM for a debug cable
for the headset serial port found on most Nexus devices.
https://android.googlesource.com/device/google/debugcable/+/master
