Livesuit win XP usbdrv.inf

Started by GlenEnglish, August 20, 2013, 08:53:44 AM

Previous topic - Next topic

GlenEnglish

Hi
Does anyone have a working LIVESUIT winusb.inf file they have working for XP? For the A10S board ?

I am attempting to update the NAND using LIVESUIT.

I have tried several different drivers, the closest I can find (after modifying the INF file for
VID 18D1 and PID 0003 & M01 loads as an "Android Composite ADB Interface". This loads OK but of course it is not what livesuit is looking for.

If I modify the livesuit INF to use the VID and PID then the driver will not load properly (and livesuit will of course not recognise it exists.

ideas or tips please

with thanks. (2 x INF files below)

Modified Livesuit usbdrv.inf
;-------------------------------------------------------------------------------
;
; USBDRV.Inf - install information file for windows XP
;
; scott 2009-02-23 9:51:03
;
;-------------------------------------------------------------------------------


[Version]
Signature="$Windows NT$"      ;Signature="$CHICAGO$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%USBDRV%
LayoutFile=layout.inf
DriverVer=13/11/2008,1.0.1.0

[DestinationDirs]            ;Îļþ¸´ÖÆĿ¼
DefaultDestDir=12            ;%windir%\system32\drivers

[Manufacturer]
%USBDRV%=USBDRV               ;µ÷ÓÃmodel½Ú

[USBDRV]                  ;model½Ú¿ªÊ¼
%USB\VID_18d1&PID_0003&MI_01.DeviceDesc%=USBDRV.Dev, USB\VID_18d1&PID_0003&MI_01

[USBDRV.Dev.NT]               ;DDinstall½Ú¿ªÊ¼
CopyFiles=USBDRV.Files.Ext      ;µ÷ÓÃCopyFiles½Ú
CopyFiles=USBDRV.Files.Inf      ;µ÷ÓÃCopyFiles½Ú
AddReg=LaunchRegSection         ;µ÷ÓÃAddReg½Ú

[USBDRV.Files.Ext]            ;CopyFiles½Ú¿ªÊ¼
USBDrv.sys

[USBDRV.Files.Inf]            ;CopyFiles½Ú¿ªÊ¼
USBDrv.inf

[LaunchRegSection]            ;AddReg½Ú¿ªÊ¼
HKR, "Parameters","Coordinates",FLG_ADDREG_TYPE_DWORD,0

[USBDRV.Dev.NT.Services]      ;DDInstall.Service½Ú¿ªÊ¼
AddService=usbUDisc,2,USBDRV_Service_Inst

[USBDRV_Service_Inst]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\USBDrv.sys

[Strings]
USBDRV="USB Devices"
USB\VID_18d1&PID_0003&MI_01.DeviceDesc="USB Device(VID_18d1_PID_0003&MI_01)"


Modified google driver:

;
; Android WinUsb driver installation.
;
[Version]
Signature           = "$Windows NT$"
Class               = AndroidUsbDeviceClass
ClassGuid           = {3F966BD9-FA04-4ec5-991C-D326973B5128}
Provider            = %ProviderName%
DriverVer           = 08/11/2009,2.0.0010.00002
CatalogFile.NTx86   = androidwinusb86.cat
CatalogFile.NTamd64 = androidwinusba64.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]
;A10S
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0003
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0003&MI_01

; 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

[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

[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

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

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

[Strings]
ProviderName                = "Google, Inc."
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"


LubOlimex

Hey GlenEnglish,

We have several people using Windows XP over here and they work ok with LiveSuit. Maybe try the previous version - LiveSuit v1.7 if you have tried 1.9 before.

Make sure you enter bootloader mode correctly.

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex