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 May 13th, 2011  |  syntax: None  |  size: 4.08 KB  |  views: 665  |  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           = 12/06/2010,4.0.0000.00000
  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 Dream
  30. %SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C01
  31. %CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
  32. %SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
  33. ; HTC Magic
  34. %CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
  35. ;
  36. ;Moto Sholes
  37. %SingleAdbInterface%        = USB_Install, USB\VID_22B8&PID_41DB
  38. %CompositeAdbInterface%     = USB_Install, USB\VID_22B8&PID_41DB&MI_01
  39. ;
  40. ;Google NexusOne
  41. %SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
  42. %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01
  43. %SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11
  44. %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E12&MI_01
  45. %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E22&MI_01
  46. ;
  47. ;Samsung GT-P7510
  48. %SingleAdbInterface%        = USB_Install, USB\VID_04E8&PID_685E
  49. %CompositeAdbInterface%     = USB_Install, USB\VID_04E8&PID_685E&MI_02
  50.  
  51. [Google.NTamd64]
  52. ; HTC Dream
  53. %SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C01
  54. %CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
  55. %SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
  56. ; HTC Magic
  57. %CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
  58. ;
  59. ;Moto Sholes
  60. %SingleAdbInterface%        = USB_Install, USB\VID_22B8&PID_41DB
  61. %CompositeAdbInterface%     = USB_Install, USB\VID_22B8&PID_41DB&MI_01
  62. ;
  63. ;Google NexusOne
  64. %SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
  65. %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01
  66. %SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11
  67. %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E12&MI_01
  68. %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E22&MI_01
  69. ;
  70. ;Samsung GT-P7510
  71. %SingleAdbInterface%        = USB_Install, USB\VID_04E8&PID_685E
  72. %CompositeAdbInterface%     = USB_Install, USB\VID_04E8&PID_685E&MI_02
  73.  
  74. [USB_Install]
  75. Include = winusb.inf
  76. Needs   = WINUSB.NT
  77.  
  78. [USB_Install.Services]
  79. Include     = winusb.inf
  80. AddService  = WinUSB,0x00000002,WinUSB_ServiceInstall
  81.  
  82. [WinUSB_ServiceInstall]
  83. DisplayName     = %WinUSB_SvcDesc%
  84. ServiceType     = 1
  85. StartType       = 3
  86. ErrorControl    = 1
  87. ServiceBinary   = %12%\WinUSB.sys
  88.  
  89. [USB_Install.Wdf]
  90. KmdfService = WINUSB, WinUSB_Install
  91.  
  92. [WinUSB_Install]
  93. KmdfLibraryVersion  = 1.9
  94.  
  95. [USB_Install.HW]
  96. AddReg  = Dev_AddReg
  97.  
  98. [Dev_AddReg]
  99. HKR,,DeviceInterfaceGUIDs,0x10000,"{F72FE0D4-CBCB-407d-8814-9ED673D0DD6B}"
  100.  
  101. [USB_Install.CoInstallers]
  102. AddReg    = CoInstallers_AddReg
  103. CopyFiles = CoInstallers_CopyFiles
  104.  
  105. [CoInstallers_AddReg]
  106. HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"
  107.  
  108. [CoInstallers_CopyFiles]
  109. WinUSBCoInstaller2.dll
  110. WdfCoInstaller01009.dll
  111.  
  112. [DestinationDirs]
  113. CoInstallers_CopyFiles=11
  114.  
  115. [SourceDisksNames]
  116. 1 = %DISK_NAME%,,,\i386
  117. 2 = %DISK_NAME%,,,\amd64
  118.  
  119. [SourceDisksFiles.x86]
  120. WinUSBCoInstaller2.dll  = 1
  121. WdfCoInstaller01009.dll = 1
  122.  
  123. [SourceDisksFiles.amd64]
  124. WinUSBCoInstaller2.dll  = 2
  125. WdfCoInstaller01009.dll = 2
  126.  
  127. [Strings]
  128. ProviderName                = "Google, Inc."
  129. SingleAdbInterface          = "Android ADB Interface"
  130. CompositeAdbInterface       = "Android Composite ADB Interface"
  131. SingleBootLoaderInterface   = "Android Bootloader Interface"
  132. WinUSB_SvcDesc              = "Android USB Driver"
  133. DISK_NAME                   = "Android WinUsb installation disk"
  134. ClassName                   = "Android Phone"