• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1android_winusb.inf file contained in this folder must be used to install
2WinUsb framework on customers machines. In order to build installation
3package that is compliant with android_winusb.inf, you need to create
4the following tree:
5
6Root of the installation folder must contain:
7  * File android_winusb.inf - Installation file
8  * File androidwinusb86.cat - Signed catalog for 32-bit package
9  * File androidwinusba64.cat - Signed catalog for AMD 64-bit package
10  * Subfolder i386 containing files for 32-bit installation:
11    * WdfCoInstaller01007.dll
12    * WinUSBCoInstaller.dll
13    * WUDFUpdate_01007.dll
14  * Subfolder amd64 containing files for AMD 64-bit installation:
15    * WdfCoInstaller01007.dll
16    * WinUSBCoInstaller.dll
17    * WUDFUpdate_01007.dll
18
19File contained in i386 and amd64 subfolders are Microsoft distributives needed
20to install WinUsb framework. These files can be obtained from WDK 'redist'
21folder, respectively to the OS: copy x86 files to i386 subfolder, and amd64
22files to amd64 subfolder.
23
24android_winusb.inf file can be modified in order to provide support for the
25devices that were not available when Android SDK was shipped. To do that,
26modify [Google.NTx86], [Google.NTamd64], and [Strings] sections of .inf
27file to add descriptions for new devices and interfaces. Note that when .inf
28file is modified, .cat files must be rebuilt and resigned in order to keep
29integrity of the installation. Failure to rebuild and resign .cat files will
30not break the installation, but it will cause security warnings (that can be
31dismissed) to pop up at the installation time.
32
33As an alternative to modification, android_winusb.inf file can be used as a
34template to create new .inf file for new devices. Note that you also need
35to build and sign new .cat files for that custom .inf file of yours.
36
37The simplest way to create .cat files would be using inf2cat.exe utility,
38available in WDK at bin\SelfSign folder. To use this utility you will need to
39create an installation folder a sdesribed at the beginning of this document,
40and run inf2cat.exe on .inf file at the root of installation folder.
41