Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HP TouchPad USB driving on Android

Can I do app development on HP TouchPad running CyanogenMod 9?

I have an HP TouchPad with CyanogenMod 9 installed and am trying to build to the device from Eclipse. The IDE does not appear to recognize the device at all though. Is the problem with the driver? Where can I find it?

like image 894
DooManfess Avatar asked Feb 24 '12 06:02

DooManfess


1 Answers

The steps on how to do it are documented in Issue 663: Windows 7 x64 USB connection doesn't work for file management or Android development.

Just in case that link disappears, here's the breakdown:

1) Turn on MTP, which is disabled by default

By going to Settings -> Storage -> Menu (Upper right hand corner) -> USB computer connection -> Media Device (MTP).

2) Adding an HP Touchpad reference in android_winusb.inf

Edit the android_winusb.inf file included with the Google USB Drivers and add:

; HP TouchPad
%SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_6860&REV_0227&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_6860&MI_01

after the last lines of the [Google.NTx86] and [Google.NTamd64] sections.

3) Updated the drivers in Device Manager

Right click the unknown cm_tenderloin device in Device Manager, tell it to update drivers, and point it to C:\android-sdk-windows\extras\google\usb_driver.

4) At that point ADB should recognize the device but in an offline state which does't allow Eclipse to run my app on the cmtouchpad. So...

5) Reboot the cmtouchpad at which point ADB should hopefully recognize it as a device in "device" state.

like image 52
softwarequestioneer Avatar answered Oct 30 '22 19:10

softwarequestioneer