;
; Android WinUsb driver installation.
;
[Version]
Signature           = "$Windows NT$"
Class               = AndroidUsbDeviceClass
ClassGuid           = {3F966BD9-FA04-4ec5-991C-D326973B5128}
Provider            = %ProviderName%
DriverVer           = 01/14/2012,1.02.01.00
CatalogFile.NTx86   = hw_goadb86.cat
CatalogFile.NTamd64 = hw_goadb64.cat

;
; This section seems to be required for WinUsb driver installation.
; If this section is removed the installer will report an error
; "Required section not found in INF file".
;
[ClassInstall32]
Addreg = AndroidWinUsbClassReg

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

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

[Google.NTx86]
; HTC Dream
%SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C01
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
; HTC Magic
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
;
;Moto Sholes
%SingleAdbInterface%        = USB_Install, USB\VID_22B8&PID_41DB
%CompositeAdbInterface%     = USB_Install, USB\VID_22B8&PID_41DB&MI_01
;
;Google NexusOne
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E12&MI_01
;
;Huawei Ideos
%HWADBNAME%                 = USB_Install, USB\VID_12D1&PID_1035&MI_03
%HWTMOADBNAME%              = USB_Install, USB\VID_12D1&PID_1034&MI_03
%CompositeAdbInterface%     = USB_Install, USB\VID_12D1&PID_1038&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_12D1&PID_1050&MI_02
%HWADBNAME%                 = USB_Install, USB\VID_12D1&PID_1052&MI_01
%HWADBNAME%                 = USB_Install, USB\VID_12D1&PID_1054&MI_01
%HWADBNAME%                 = USB_Install, USB\VID_12D1&PID_1056&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_12D1&PID_103A
%HWADBNAME%                 = USB_Install, USB\VID_18D1&PID_2D01&MI_01
; For Fastboot
%HWFASTBOOT%                = USB_Install, USB\VID_18D1&PID_D00D
;slim
%HWADBNAME_SLIM%            = USB_Install, USB\VID_12D1&PID_360E&MI_01
%HWADBNAME_SLIM%            = USB_Install, USB\VID_12D1&PID_3610&MI_01
%HWADBNAME_SLIM%            = USB_Install, USB\VID_12D1&PID_3613&MI_01
%HWADBNAME_SLIM%            = USB_Install, USB\VID_12D1&PID_3616&MI_02
%HWADBNAME_SLIM%            = USB_Install, USB\VID_12D1&PID_3617&MI_02
%HWADBNAME_SLIM%            = USB_Install, USB\VID_12D1&PID_3619&MI_01
;mediapad
%HWADBNAME_PRO%             = USB_Install, USB\VID_12D1&PID_360A&MI_01
%HWADBNAME_PRO%             = USB_Install, USB\VID_12D1&PID_360F&MI_01
%HWADBNAME_PRO%             = USB_Install, USB\VID_12D1&PID_3614&MI_01
%HWADBNAME_PRO%             = USB_Install, USB\VID_12D1&PID_3618&MI_02
;for window logo test
%HWLOGOTEST%                = USB_Install, USB\VID_12D1&PID_1033&MI_03
%HWTMOLOGOTEST%             = USB_Install, USB\VID_12D1&PID_1032&MI_03
%HWSLIMLOGOTEST%            = USB_Install, USB\VID_12D1&PID_36DD

[Google.NTamd64]
; HTC Dream
%SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C01
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
; HTC Magic
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
;
;Moto Sholes
%SingleAdbInterface%        = USB_Install, USB\VID_22B8&PID_41DB
%CompositeAdbInterface%     = USB_Install, USB\VID_22B8&PID_41DB&MI_01
;
;Google NexusOne
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E12&MI_01
;
;Huawei Ideos
%HWADBNAME%                 = USB_Install, USB\VID_12D1&PID_1035&MI_03
%HWTMOADBNAME%              = USB_Install, USB\VID_12D1&PID_1034&MI_03
%CompositeAdbInterface%     = USB_Install, USB\VID_12D1&PID_1038&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_12D1&PID_1050&MI_02
%HWADBNAME%                 = USB_Install, USB\VID_12D1&PID_1052&MI_01
%HWADBNAME%                 = USB_Install, USB\VID_12D1&PID_1054&MI_01
%HWADBNAME%                 = USB_Install, USB\VID_12D1&PID_1056&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_12D1&PID_103A
%HWADBNAME%                 = USB_Install, USB\VID_18D1&PID_2D01&MI_01
; For Fastboot
%HWFASTBOOT%                = USB_Install, USB\VID_18D1&PID_D00D
;slim
%HWADBNAME_SLIM%            = USB_Install, USB\VID_12D1&PID_360E&MI_01
%HWADBNAME_SLIM%            = USB_Install, USB\VID_12D1&PID_3610&MI_01
%HWADBNAME_SLIM%            = USB_Install, USB\VID_12D1&PID_3613&MI_01
%HWADBNAME_SLIM%            = USB_Install, USB\VID_12D1&PID_3616&MI_02
%HWADBNAME_SLIM%            = USB_Install, USB\VID_12D1&PID_3617&MI_02
%HWADBNAME_SLIM%            = USB_Install, USB\VID_12D1&PID_3619&MI_01
;mediapad
%HWADBNAME_PRO%             = USB_Install, USB\VID_12D1&PID_360A&MI_01
%HWADBNAME_PRO%             = USB_Install, USB\VID_12D1&PID_360F&MI_01
%HWADBNAME_PRO%             = USB_Install, USB\VID_12D1&PID_3614&MI_01
%HWADBNAME_PRO%             = USB_Install, USB\VID_12D1&PID_3618&MI_02
;for window logo test
%HWLOGOTEST%                = USB_Install, USB\VID_12D1&PID_1033&MI_03
%HWTMOLOGOTEST%             = USB_Install, USB\VID_12D1&PID_1032&MI_03
%HWSLIMLOGOTEST%            = USB_Install, USB\VID_12D1&PID_36DD


[USB_Install]
Include = winusb.inf
Needs   = WINUSB.NT

[USB_Install.Services]
Include     = winusb.inf
AddService  = WinUSB,0x00000002,WinUSB_ServiceInstall

[WinUSB_ServiceInstall]
DisplayName     = %WinUSB_SvcDesc%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WinUSB.sys

[USB_Install.Wdf]
KmdfService = WINUSB, WinUSB_Install

[WinUSB_Install]
KmdfLibraryVersion  = 1.7

[USB_Install.HW]
AddReg  = Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{F72FE0D4-CBCB-407d-8814-9ED673D0DD6B}"

[USB_Install.CoInstallers]
AddReg    = CoInstallers_AddReg
CopyFiles = CoInstallers_CopyFiles

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01007.dll,WdfCoInstaller","WinUSBCoInstaller.dll"

[CoInstallers_CopyFiles]
WinUSBCoInstaller.dll
WdfCoInstaller01007.dll

[DestinationDirs]
CoInstallers_CopyFiles=11

[SourceDisksNames]
;1 = %DISK_NAME%,,,\i386
;2 = %DISK_NAME%,,,\amd64
1 = %DISK_NAME%,,,
2 = %DISK_NAME%,,,

[SourceDisksFiles.x86]
WinUSBCoInstaller.dll  = 1
WdfCoInstaller01007.dll = 1

[SourceDisksFiles.amd64]
WinUSBCoInstaller.dll  = 2
WdfCoInstaller01007.dll = 2

[Strings]
ProviderName              = "Huawei Incorporated"
SingleAdbInterface        = "Android ADB Interface"
CompositeAdbInterface     = "Android Composite ADB Interface"
SingleBootLoaderInterface = "Android Bootloader Interface"
WinUSB_SvcDesc            = "Android USB Driver"
DISK_NAME                 = "Android WinUsb installation disk"
ClassName                 = "Android Phone"
;
HWFASTBOOT                = "Android Sooner Single ADB Interface"
; Android Adapter 
HWADBNAME                 = "Android Adapter ADB Interface"
HWADBNAME_SLIM            = "Android ADB Interface"
HWADBNAME_PRO             = "Android ADB Interface"
; T-Mobile 3G Phone 
HWTMOADBNAME              = "T-Mobile 3G Phone ADB Interface"
HWLOGOTEST                = "Android Adapter ADB Interface (for Logo Test)"
HWTMOLOGOTEST             = "T-Mobile 3G Phone ADB Interface (for Logo Test)"
HWSLIMLOGOTEST            = "Android Single ADB Interface"
;
HUAWEI95                  = "Huawei HandSet - Sooner Single ADB Interface"
HUAWEI96                  = "Huawei HandSet - ADB Interface"
