TechKnow

Author Topic: ** Unknown ADB Device ? Prepare your own ADB driver **  (Read 1838 times)

0 Members and 1 Guest are viewing this topic.

Offline HcH

  • TechKnow Owner, Ethical Hacker
  • Administrator
  • Uber Member
  • *****
  • Posts: 9936
  • Karma: +2284/-111
** Unknown ADB Device ? Prepare your own ADB driver **
« on: April 09, 2015, 08:58:44 AM »
Hello TechKnow members and visitors,

I'm getting lately a lot of requests of people for ADB drivers. Me myself also runs various times into the problem that no suitable driver is available for some device I connect to my computer.

Here's a little guide how you can add your device to an existing ADB driver.

Android ADB should be universally compatible, and usually it is!

You are probably receiving an error, that there was no driver found for the device you attempt to install. Windows recognizes your device based on hardware-id. We must retreive that hardware-id and tell Windows that the universal ADB driver is compatible with it:

1. Rightclick "My Computer" and click on "Manage". (or, Start \ Run \ Devmgmt.msc <enter>)
2. Rightclick the unknown device and click "Properties"
3. Open the last tab of the properties screen, "Details"
4. Click the "Device description" button to select Hardware Ids
5. What we are looking for looks like this: "USB\VID_18D1&PID_0D02&MI_01"
6. Download Google's latest ADB driver from this section on TechKnow
7. Open "android_winusb.inf"
8. Add your Device Id's, remember to add your device ids in both x86 and x64 sections of the inf file.

Code: (android_winusb.inf) [Select]
;
; Android WinUsb driver installation.
;
[Version]
Signature           = "$Windows NT$"
Class               = AndroidUsbDeviceClass
ClassGuid           = {3F966BD9-FA04-4ec5-991C-D326973B5128}
Provider            = %ProviderName%
DriverVer           = 06/06/2014,10.0.0000.00000
CatalogFile.NTx86   = androidwinusb86.cat
CatalogFile.NTamd64 = androidwinusba64.cat

[ClassInstall32]
Addreg = AndroidWinUsbClassReg

[AndroidWinUsbClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-1

[Manufacturer]
%ProviderName% = Google, NTx86, NTamd64

[Google.NTx86]

;Google Nexus One
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01

[Google.NTamd64]

;Google Nexus One
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01

HcH
« Last Edit: May 11, 2015, 11:35:06 AM by HardcoreHacker »