Jump to content

  1. 0
  2. 0
  3. 0/5

Rate this Topic

- - - - -

[How-To]CM9 - adb interface on USB

  • Please log in to reply

OP hypnoce

hypnoce

Average Android

  • 2 posts

Posted 19 January 2012 - 03:20 AM #1

Hello all,

this is my first post on this forum.
After many searches on google and rootzwiki, I did not find a complete solution to enable USB debugging on the HP touch pad using CM9.

So let's begin :

1) Download and install Android SDK.

2) On your touchpad, go to Settings>Storage>clic on the three little dots on the top right edge of the screen>USB computer connection>Select Media device(MTP)

Wait for the drivers to get installed

3) Go into your device manager.
You should have this :
Posted Image

Browse your computer for driver>choose a driver from the list

Posted Image

Display all devices

Posted Image

Select from your computer android_winusb.inf that should be in <android sdk="">/extra/google/usb_driver

Posted Image

Select Android Composite ADB Interfcace (force installation if asked)

Now you should see your device using the command "adb devices".

sorry for my poor english (as you can see I'm french).

thanks

Edited by hypnoce, 19 January 2012 - 04:27 AM.

  • 6 Likes

diaz6091

diaz6091

Android Beginner

  • 4 posts

Posted 19 January 2012 - 08:35 AM #2

Thanks for the efforts! I am running XP, and can't seem to get it to work!
  • 0 Likes

jmayniac

jmayniac

Android Beginner

  • 30 posts

Posted 19 January 2012 - 11:01 AM #3

I just tried this and "adb devices" gives me a really long device name and says it is offline. Not sure what to do next.
  • 0 Likes

OP hypnoce

hypnoce

Average Android

  • 2 posts

Posted 20 January 2012 - 08:02 AM #4

@diaz6091 : not sure about windows XP. I'm running windows 7 64 bits. The thing is you have to point to android_winusb.inf and NOT let the windows try to guess. Maybe you can get the one from cyanogenmod :
http://github.com/gu1dry/android_winusb/zipball/master
It should not change anything since the touchpad is not referenced in that file.

@jmayniac : strange behavior. Maybe try Android ADB interface instead of Android Composite ADB Interface.
  • 0 Likes

touchmypad

touchmypad

Member

  • 11 posts

Posted 20 January 2012 - 04:24 PM #5

Thanks for the efforts! I am running XP, and can't seem to get it to work!


I got it works on my windows XP. what I did:
1. modify the file android-sdk-windows\usb_driver\android_winusb.inf
add the usb ids of hp touchpad to it to make it look like:
[Google.NTx86]
; 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
;
;HP Touchpad CM9
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_6860
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_6860&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
;
;HP Touchpad CM9
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_6860
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_6860&MI_01

then you can install/update the driver by point to the directory android-sdk-windows\usb_driver and it will install the drivers for you.

DISCLAIMER: I TOTALLY HAVE NO IDEA ABOUT WHAT I DID, IT JUST WORKED ON MY SYSTEM. I POST IT HERE HOPING IT IS HELPFUL TO YOU. I AM NOT RESPONSIBLE FOR ANY HARMS IT MIGHT CAUSE. USE IT AT YOUR OWN RISKS!
  • 3 Likes

jimmyz

jimmyz

Android Apprentice

  • 22 posts

Posted 30 January 2012 - 08:14 PM #6

I got it works on my windows XP. what I did:
1. modify the file android-sdk-windows\usb_driver\android_winusb.inf
add the usb ids of hp touchpad to it to make it look like:
[Google.NTx86]
; 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
;
;HP Touchpad CM9
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_6860
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_6860&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
;
;HP Touchpad CM9
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_6860
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_6860&MI_01

then you can install/update the driver by point to the directory android-sdk-windows\usb_driver and it will install the drivers for you.

DISCLAIMER: I TOTALLY HAVE NO IDEA ABOUT WHAT I DID, IT JUST WORKED ON MY SYSTEM. I POST IT HERE HOPING IT IS HELPFUL TO YOU. I AM NOT RESPONSIBLE FOR ANY HARMS IT MIGHT CAUSE. USE IT AT YOUR OWN RISKS!

Im going to try this right now- I have been waiting for a post like this!!!!!
EDIT- holy cow it works- I have ADB- the only strange thing is that MTP only works with android debugging turned off, in other words I can have ADB working or MTP working- its no big deal to toggle between the two on the fly- I attached my usb driver in case someone wants it

Attached Files


Edited by jimmyz, 31 January 2012 - 10:08 AM.

  • 2 Likes

Zach

Zach

Android Apprentice

Posted 29 February 2012 - 01:34 PM #7

Hello all,

this is my first post on this forum.
After many searches on google and rootzwiki, I did not find a complete solution to enable USB debugging on the HP touch pad using CM9.

So let's begin :

1) Download and install Android SDK.

2) On your touchpad, go to Settings>Storage>clic on the three little dots on the top right edge of the screen>USB computer connection>Select Media device(MTP)

Wait for the drivers to get installed

3) Go into your device manager.
You should have this :
Posted Image

Browse your computer for driver>choose a driver from the list

Posted Image

Display all devices

Posted Image

Select from your computer android_winusb.inf that should be in <android sdk="">/extra/google/usb_driver

Posted Image

Select Android Composite ADB Interfcace (force installation if asked)

Now you should see your device using the command "adb devices".

sorry for my poor english (as you can see I'm french).

thanks


Thank you for this, it worked very well, I can now see my touchpad in adb devices.

But in my device manager it does not list it as :Android Composite ADB Interface" Lists mine as "SAMSUNG Android Composite ADB Interface" So far has not been a problem, just wanted to double check and see if anyone else's is doing the same thing?
  • 0 Likes

Zach

Zach

Android Apprentice

Posted 02 March 2012 - 10:48 PM #8

?? Anyone have any input to my question above?
  • 0 Likes

alochet

alochet

Member

  • 15 posts

Posted 04 April 2012 - 10:20 AM #9

OK I successfully addes the adb driver, but its missing the mtp driver now

I need a way to access the entire root of the drive from windows explorer, I thought the adb drive would allow me to do that? Or is the adb driver for something else?
  • 0 Likes

andreasTP

andreasTP

Member

  • 26 posts

Posted 09 August 2012 - 03:26 PM #10

Thanks my friend, this post helped me install the ADB on my PC.
  • 0 Likes