2009年8月31日 星期一

How to Build Android USB Driver

 

  1. Please install Git
  2. Get the code from http://android.git.kernel.org/
  3. The site should be git://android.git.kernel.org/platform/development.git
  4. On your disk, you will find a folder named "\host\windows\usb\legacy\driver". This is the Android USB Driver.
  5. Please install WDK 6000, I have test to build the driver with WDK 7000, but there are some issues when building.
  6. Open the WDK build enviroment and Change the location into the folder, just press "build" will be ok!!

This is the picture after building.


If you try to build the driver with WDK 7000, You will find the error!! "link : error LNK1117: syntax error in option 'MAPINFO:LINES'"

I am sick of M$ to provide so suck WDK pack, so please build it with WDK 6000.



沒有留言: