;/*++
;
;Abstract:
;    Installation inf for the Android USB Bulk device
;
;--*/

[Version]
Signature   =  "$WINDOWS NT$"
Class       =  USB
ClassGuid   =  {F72FE0D4-CBCB-407d-8814-9ED673D0DD6B}
Provider    =  %GOOG%
DriverVer   =  06/25/2009,1.0.0010.00001
CatalogFile =  androidusb.cat

; ================= Class section =====================

[ClassInstall32]
Addreg=AndroidUsbClassReg

[AndroidUsbClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5

[DestinationDirs]
DefaultDestDir = 12

; ================= Device section =====================

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

[Google]
;WCDMA Handset
%ZTE_KernelDebugInterface%     = androidusb.Dev, USB\VID_19D2&PID_1350&MI_04
%ZTE_CompositeAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1351&MI_01
%ZTE_SingleAdbInterface%       = androidusb.Dev, USB\VID_19D2&PID_1352
%ZTE_CompositeAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1354&MI_02
;EVDO Handset
%ZTE_CT_KernelDebugInterface%  = androidusb.Dev, USB\VID_19D2&PID_1360&MI_04
%ZTE_CT_CompositeAdbInterface% = androidusb.Dev, USB\VID_19D2&PID_1361&MI_01
%ZTE_CT_SingleAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1362
%ZTE_CT_CompositeAdbInterface% = androidusb.Dev, USB\VID_19D2&PID_1363&MI_02
%ZTE_CT_CompositeAdbInterface% = androidusb.Dev, USB\VID_19D2&PID_1366&MI_04
; PC29CU
%ZTE_CompositeAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1364&MI_03
%ZTE_CompositeAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1373&MI_02
;U960
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0228&MI_02
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0229&MI_03
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0230&MI_03
;V11
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0241
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0245&MI_01
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0247&MI_03
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0248&MI_01
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0249&MI_01


[Google.NTx86]
;WCDMA Handset
%ZTE_KernelDebugInterface%     = androidusb.Dev, USB\VID_19D2&PID_1350&MI_04
%ZTE_CompositeAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1351&MI_01
%ZTE_SingleAdbInterface%       = androidusb.Dev, USB\VID_19D2&PID_1352
%ZTE_CompositeAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1354&MI_02
;EVDO Handset
%ZTE_CT_KernelDebugInterface%  = androidusb.Dev, USB\VID_19D2&PID_1360&MI_04
%ZTE_CT_CompositeAdbInterface% = androidusb.Dev, USB\VID_19D2&PID_1361&MI_01
%ZTE_CT_SingleAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1362
%ZTE_CT_CompositeAdbInterface% = androidusb.Dev, USB\VID_19D2&PID_1363&MI_02
%ZTE_CT_CompositeAdbInterface% = androidusb.Dev, USB\VID_19D2&PID_1366&MI_04
; PC29CU
%ZTE_CompositeAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1364&MI_03
%ZTE_CompositeAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1373&MI_02
;U960
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0228&MI_02
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0229&MI_03
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0230&MI_03
;V11
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0241
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0245&MI_01
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0247&MI_03
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0248&MI_01
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0249&MI_01

[Google.NTamd64]
;WCDMA Handset
%ZTE_KernelDebugInterface%     = androidusb.Dev, USB\VID_19D2&PID_1350&MI_04
%ZTE_CompositeAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1351&MI_01
%ZTE_SingleAdbInterface%       = androidusb.Dev, USB\VID_19D2&PID_1352
%ZTE_CompositeAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1354&MI_02
;EVDO Handset
%ZTE_CT_KernelDebugInterface%  = androidusb.Dev, USB\VID_19D2&PID_1360&MI_04
%ZTE_CT_CompositeAdbInterface% = androidusb.Dev, USB\VID_19D2&PID_1361&MI_01
%ZTE_CT_SingleAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1362
%ZTE_CT_CompositeAdbInterface% = androidusb.Dev, USB\VID_19D2&PID_1363&MI_02
%ZTE_CT_CompositeAdbInterface% = androidusb.Dev, USB\VID_19D2&PID_1366&MI_04
; PC29CU
%ZTE_CompositeAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1364&MI_03
%ZTE_CompositeAdbInterface%    = androidusb.Dev, USB\VID_19D2&PID_1373&MI_02
;U960
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0228&MI_02
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0229&MI_03
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0230&MI_03
;V11
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0241
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0245&MI_01
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0247&MI_03
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0248&MI_01
%ZTE_HandsetAdbInterface%      = androidusb.Dev, USB\VID_19D2&PID_0249&MI_01

[androidusb.Dev.NT]
CopyFiles=androidusb.Files.Ext

[androidusb.Dev.NT.Services]
Addservice = androidusb, 0x00000002, androidusb.AddService

[androidusb.AddService]
DisplayName    = %androidusb.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\androidusb.sys
AddReg         = androidusb.AddReg
LoadOrderGroup = Base

[androidusb.AddReg]
HKR,"Parameters","MaximumTransferSize",0x10001,4096
HKR,"Parameters","DebugLevel",0x10001,2
HKR, Parameters\Wdf, VerboseOn,       0x00010001, 1
HKR, Parameters\Wdf, VerifierOn,      0x00010001, 1
HKR, Parameters\Wdf, DbgBreakOnError, 0x00010001, 1

[androidusb.Files.Ext]
androidusb.sys

[SourceDisksNames.x86]
; diskid = description[, [tagfile] [, <unused>, subdir]]
1 = %Disk_Description%,,,\i386

[SourceDisksNames.amd64]
; diskid = description[, [tagfile] [, <unused>, subdir]]
1 = %Disk_Description%,,,\amd64

[SourceDisksFiles]
androidusb.sys = 1

;-------------- WDF Coinstaller installation
[DestinationDirs]
CoInstaller_CopyFiles = 11

[androidusb.Dev.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
wdfcoinstaller01005.dll

[SourceDisksFiles]
wdfcoinstaller01005.dll=1 ; make sure the number matches with SourceDisksNames

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "wdfcoinstaller01005.dll,WdfCoInstaller"

[androidusb.Dev.NT.Wdf]
KmdfService = androidusb, androidusb_wdfsect

[androidusb_wdfsect]
KmdfLibraryVersion = 1.5

;---------------------------------------------------------------;

[Strings]
GOOG            = "Google, Inc"
MfgName         = "Google, Inc"
Disk_Description= "ADB Interface Installation Disk"
androidusb.SvcDesc = "ADB Interface Driver"
ClassName       = "ADB Interface"

ZTE_CompositeAdbInterface    = "ZTE Composite ADB Interface"
ZTE_SingleAdbInterface       = "ZTE Single ADB Interface"
ZTE_KernelDebugInterface     = "ZTE Kernel Debug Interface"
ZTE_CT_CompositeAdbInterface = "CT_ZTE_3GPhone Composite ADB Interface"
ZTE_CT_SingleAdbInterface    = "CT_ZTE_3GPhone Single ADB Interface"
ZTE_CT_KernelDebugInterface  = "CT_ZTE_3GPhone Kernel Debug Interface"
ZTE_HandsetAdbInterface      = "ZTE Handset ADB Interface"





