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

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGuid={F72FE0D4-CBCB-407d-8814-9ED673D0DD6B}
Provider=%GOOG%
DriverVer=05/01/2012,1.0.0010.00007
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]
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1404&MI_06
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1431&MI_03
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1402&MI_04
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_05c6&PID_9025&MI_01
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_05c6&PID_902D&MI_03
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1432&MI_04
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1510&MI_03
%USBADB.DeviceDescVdf%  = androidusb.Dev, USB\VID_19D2&PID_1084&MI_06
%USBADB.DeviceDescGern%  = androidusb.Dev, USB\VID_19D2&PID_1275&MI_04
%USBADB.DeviceDesc1436%   = androidusb.Dev, USB\VID_19D2&PID_1436&MI_05

[Google.NTx86]
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1404&MI_06
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1431&MI_03
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1402&MI_04
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_05c6&PID_9025&MI_01
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_05c6&PID_902D&MI_03
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1432&MI_04
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1510&MI_03
%USBADB.DeviceDescVdf%  = androidusb.Dev, USB\VID_19D2&PID_1084&MI_06
%USBADB.DeviceDescGern%  = androidusb.Dev, USB\VID_19D2&PID_1275&MI_04
%USBADB.DeviceDesc1436%   = androidusb.Dev, USB\VID_19D2&PID_1436&MI_05

[Google.NTamd64]
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1404&MI_06
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1431&MI_03
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1402&MI_04
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_05c6&PID_9025&MI_01
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_05c6&PID_902D&MI_03
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1432&MI_04
%USBADB.DeviceDescGern% = androidusb.Dev, USB\VID_19D2&PID_1510&MI_03
%USBADB.DeviceDescVdf%  = androidusb.Dev, USB\VID_19D2&PID_1084&MI_06
%USBADB.DeviceDescGern%  = androidusb.Dev, USB\VID_19D2&PID_1275&MI_04
%USBADB.DeviceDesc1436%   = androidusb.Dev, USB\VID_19D2&PID_1436&MI_05

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

[MBBDriverGuid.AddReg]
HKR,,"MBBDriverGuid",0x00010000,"MBB{12523B0D-F2A8-4DC3-90A3-4C426C06E8DE}"

[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]
1=%Disk_Description%,,,

[SourceDisksFiles.x86]
androidusb.sys = 1,"\x86"

[SourceDisksFiles.amd64]
androidusb.sys = 1,"\x64"

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

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

[CoInstaller_CopyFiles]
wdfcoinstaller01005.dll

[SourceDisksFiles.x86]
wdfcoinstaller01005.dll=1,"\x86"

[SourceDisksFiles.amd64]
wdfcoinstaller01005.dll=1,"\x64"

[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"
USBADB.DeviceDescGern   = "ZTE Composite ADB Interface"
USBADB.DeviceDesc1436    = "ZTE MF831 ADB"
USBADB.DeviceDescVdf   = "Vodafone Mobile Broadband ADB Port (ZTE)" 
