Setup MK808 (Android 4.2) for development on Windows 7 (also probably works on XP)

posted in: Android, MK808 | 0

Just thought I’d post how I managed to setup my Android MK808 for development.

  • Downloaded and installed latest ADK from Google
  • Downloaded and installed latest JRE
  • On MK808In settingsIn Developer options select “USB debugging” (note this setting will be remembered even after a reboot)
    In USB, select “Connect to PC” (Note this setting doesn’t get remembered after a reboot so need to be set each time the MK808 is power cycled etc)
  • On the PC, the USB device for the MK808 should be recognised however Windows won’t be able to find a matching driver and the generic drivers supplied as part of the ADT don’t get recognised as valid drivers if you manually browse to them.The trick is to add the USB ID’s of the MK808 into the inf file for the generic USB drivers (provided by Google)
  • First you need to get the USB ID’s by opening the device manager, selecting the MK808, then under Properties then  Details , select Hardware ID’s and copy the 2 lines.e.g.
  • In the ADK folder, naviagte to sdk\extras\google\usb_driverThen open android_winusb.inf and find the block of text that starts with [Google.NTx86] and add 2 new lines at the beginning (actually you can put this anywhere in this section for the MK808 as shown below
    %SingleAdbInterface%        = USB_Install, USB\VID_2207&PID_0006
    %CompositeAdbInterface%     = USB_Install, USB\VID_2207&PID_0006&REV_0222

    Note. If youe VID’s etc are not the same as mine, use the VID’s etc that you copied from your MK808

    Also update the 64bit section of the file (This may not be necessary if you are using 32 bit system)


    %SingleAdbInterface%        = USB_Install, USB\VID_2207&PID_0006
    %CompositeAdbInterface%     = USB_Install, USB\VID_2207&PID_0006&REV_0222

    Save the file 😉

  • Update the hidden adb_usb.ini
    Open the command line and typeecho 0x2207 >> “%USERPROFILE%\.android\adb_usb.ini”(You can edit this file and add the device ID to the file, however the .android folder will normally be hidden, so the command line option is probably simpler)
  • In the device manager, select Update Driver for the MK808 and browser to the the ADK folder which contains the driver, and press OK.Windows should now tell you that it can install the driver but its not signed (or words to that effect). Press the button to accept and the driver should be installed.

You can check whether ADB has recognised the MK808 by using the command prompt (CMD), and CD to the ADK  \sdk\platform-tools, and run

adb devices

This should start the deamon and show the device ID

If no devices are shown, double check that USB debugging is enabled on the MK808 (in settings Developer options)

In Eclipse, if you Run a project, it should immediately deploy and run the app to the MK808