Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Android ADB/USB Driver (generic)

By: a guest on Apr 8th, 2013  |  syntax: Properties  |  size: 2.37 KB  |  views: 223  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ;
  2. ; Android WinUsb driver installation.
  3. ;
  4. [Version]
  5. Signature           = "$Windows NT$"
  6. Class               = AndroidUsbDeviceClass
  7. ClassGuid           = {3F966BD9-FA04-4ec5-991C-D326973B5128}
  8. Provider            = %ProviderName%
  9. DriverVer           = 08/11/2009,2.0.0010.00002
  10. CatalogFile         = android.cat
  11.  
  12. ;
  13. ; This section seems to be required for WinUsb driver installation.
  14. ; If this section is removed the installer will report an error
  15. ; "Required section not found in INF file".
  16. ;
  17. [ClassInstall32]
  18. Addreg = AndroidWinUsbClassReg
  19.  
  20. [AndroidWinUsbClassReg]
  21. HKR,,,0,%ClassName%
  22. HKR,,Icon,,-1
  23.  
  24. [Manufacturer]
  25. %ProviderName% = Google, NTx86, NTamd64
  26.  
  27. [Google.NTx86]
  28. %CompositeAdbInterface%=USB_INSTALL, USB\Class_ff&SubClass_42
  29.  
  30. ; For AMD64 and later
  31. [Google.NTamd64]
  32. %CompositeAdbInterface%=USB_INSTALL, USB\Class_ff&SubClass_42
  33.  
  34. [USB_Install]
  35. Include = winusb.inf
  36. Needs   = WINUSB.NT
  37.  
  38. [USB_Install.Services]
  39. Include     = winusb.inf
  40. AddService  = WinUSB,0x00000002,WinUSB_ServiceInstall
  41.  
  42. [WinUSB_ServiceInstall]
  43. DisplayName     = %WinUSB_SvcDesc%
  44. ServiceType     = 1
  45. StartType       = 3
  46. ErrorControl    = 1
  47. ServiceBinary   = %12%\WinUSB.sys
  48.  
  49. [USB_Install.Wdf]
  50. KmdfService = WINUSB, WinUSB_Install
  51.  
  52. [WinUSB_Install]
  53. KmdfLibraryVersion  = 1.7
  54.  
  55. [USB_Install.HW]
  56. AddReg  = Dev_AddReg
  57.  
  58. [Dev_AddReg]
  59. HKR,,DeviceInterfaceGUIDs,0x10000,"{F72FE0D4-CBCB-407D-8814-9ED673D0DD6B}"
  60.  
  61. [USB_Install.ntx86.CoInstallers]
  62. AddReg    = CoInstallers_AddReg
  63. CopyFiles = CoInstallers_CopyFiles
  64.  
  65. [CoInstallers_AddReg]
  66. HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01007.dll,WdfCoInstaller","WinUSBCoInstaller.dll"
  67.  
  68. [CoInstallers_CopyFiles]
  69. WinUSBCoInstaller.dll
  70. WdfCoInstaller01007.dll
  71.  
  72. [DestinationDirs]
  73. CoInstallers_CopyFiles=11
  74.  
  75. [SourceDisksNames]
  76. 1 = %DISK_NAME%,,,\i386
  77. 2 = %DISK_NAME%,,,\amd64
  78.  
  79. [SourceDisksFiles.x86]
  80. WinUSBCoInstaller.dll  = 1
  81. WdfCoInstaller01007.dll = 1
  82.  
  83. [SourceDisksFiles.amd64]
  84. ;WinUSBCoInstaller.dll  = 2
  85. ;WdfCoInstaller01007.dll = 2
  86.  
  87. [Strings]
  88. ProviderName                = "Google USB"
  89. SingleAdbInterface          = "Android ADB Interface"
  90. CompositeAdbInterface       = "Android ADB Interface"
  91. SingleBootLoaderInterface   = "Android Bootloader Interface"
  92. WinUSB_SvcDesc              = "Android USB Driver"
  93. DISK_NAME                   = "Android WinUsb installation disk"
  94. ClassName                   = "Android Device"