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

Untitled

By: a guest on Jun 26th, 2010  |  syntax: None  |  size: 4.06 KB  |  views: 247  |  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.NTx86   = androidwinusb86.cat
  11. CatalogFile.NTamd64 = androidwinusba64.cat
  12.  
  13. ;
  14. ; This section seems to be required for WinUsb driver installation.
  15. ; If this section is removed the installer will report an error
  16. ; "Required section not found in INF file".
  17. ;
  18. [ClassInstall32]
  19. Addreg = AndroidWinUsbClassReg
  20.  
  21. [AndroidWinUsbClassReg]
  22. HKR,,,0,%ClassName%
  23. HKR,,Icon,,-1
  24.  
  25. [Manufacturer]
  26. %ProviderName% = Google, NTx86, NTamd64
  27.  
  28. [Google.NTx86]
  29. ; HTC Droid Eris
  30. %SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C98
  31. %CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C98&MI_01
  32.  
  33. ; HTC Dream
  34. %SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C01
  35. %CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
  36. %SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
  37. ; HTC Magic
  38. %CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
  39. ;
  40. ;Moto Sholes
  41. %SingleAdbInterface%        = USB_Install, USB\VID_22B8&PID_41DB
  42. %CompositeAdbInterface%     = USB_Install, USB\VID_22B8&PID_41DB&MI_01
  43. ;
  44. ;Google NexusOne
  45. %SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
  46. %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01
  47. %SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11
  48. %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E12&MI_01
  49.  
  50. [Google.NTamd64]
  51. ; HTC Droid Eris
  52. %SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C98
  53. %CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C98&MI_01
  54.  
  55. ; HTC Dream
  56. %SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C01
  57. %CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
  58. %SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
  59. ; HTC Magic
  60. %CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
  61. ;
  62. ;Moto Sholes
  63. %SingleAdbInterface%        = USB_Install, USB\VID_22B8&PID_41DB
  64. %CompositeAdbInterface%     = USB_Install, USB\VID_22B8&PID_41DB&MI_01
  65. ;
  66. ;Google NexusOne
  67. %SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
  68. %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01
  69. %SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11
  70. %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E12&MI_01
  71.  
  72. [USB_Install]
  73. Include = winusb.inf
  74. Needs   = WINUSB.NT
  75.  
  76. [USB_Install.Services]
  77. Include     = winusb.inf
  78. AddService  = WinUSB,0x00000002,WinUSB_ServiceInstall
  79.  
  80. [WinUSB_ServiceInstall]
  81. DisplayName     = %WinUSB_SvcDesc%
  82. ServiceType     = 1
  83. StartType       = 3
  84. ErrorControl    = 1
  85. ServiceBinary   = %12%\WinUSB.sys
  86.  
  87. [USB_Install.Wdf]
  88. KmdfService = WINUSB, WinUSB_Install
  89.  
  90. [WinUSB_Install]
  91. KmdfLibraryVersion  = 1.7
  92.  
  93. [USB_Install.HW]
  94. AddReg  = Dev_AddReg
  95.  
  96. [Dev_AddReg]
  97. HKR,,DeviceInterfaceGUIDs,0x10000,"{F72FE0D4-CBCB-407d-8814-9ED673D0DD6B}"
  98.  
  99. [USB_Install.CoInstallers]
  100. AddReg    = CoInstallers_AddReg
  101. CopyFiles = CoInstallers_CopyFiles
  102.  
  103. [CoInstallers_AddReg]
  104. HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01007.dll,WdfCoInstaller","WinUSBCoInstaller.dll"
  105.  
  106. [CoInstallers_CopyFiles]
  107. WinUSBCoInstaller.dll
  108. WdfCoInstaller01007.dll
  109.  
  110. [DestinationDirs]
  111. CoInstallers_CopyFiles=11
  112.  
  113. [SourceDisksNames]
  114. 1 = %DISK_NAME%,,,\i386
  115. 2 = %DISK_NAME%,,,\amd64
  116.  
  117. [SourceDisksFiles.x86]
  118. WinUSBCoInstaller.dll  = 1
  119. WdfCoInstaller01007.dll = 1
  120.  
  121. [SourceDisksFiles.amd64]
  122. WinUSBCoInstaller.dll  = 2
  123. WdfCoInstaller01007.dll = 2
  124.  
  125. [Strings]
  126. ProviderName                = "Google, Inc."
  127. SingleAdbInterface          = "Android ADB Interface"
  128. CompositeAdbInterface       = "Android Composite ADB Interface"
  129. SingleBootLoaderInterface   = "Android Bootloader Interface"
  130. WinUSB_SvcDesc              = "Android USB Driver"
  131. DISK_NAME                   = "Android WinUsb installation disk"
  132. ClassName                   = "Android Phone"