26

I have been debugging on an HTC Desire for which I had the ADB drivers. Now I have been forced to debugging on an HTC Smartphones, but I can't find the driver anywhere. The standard HTC driver that used with my desire (Running Android 2.2) does not get recognized as the right driver for the HTC Smartphones (running Android ICS).

What are the other options that I have to enable launching and USB debugging on the HTC Smartphones through Eclipse Helios ?

Community
  • 1
  • 1
Heshan Perera
  • 4,592
  • 8
  • 44
  • 57

11 Answers11

34

Use HTCSync Version: 3.3.21. It has USB driver also. I installed it and after that I could debug my application. Read its help here.

Enjoy!

Bob
  • 22,810
  • 38
  • 143
  • 225
  • This should work. Maybe his version is out of date. What also sometimes happens is that Windows installs the wrong driver. For that you can go into the Device Manager in Windows, choose to update the driver for the device, and select different ones. – Lance Nanek Jun 13 '12 at 22:14
  • 2
    just the tip for people who was stuck on this problem: Enable your mobile phone in Sync Mode. Don't forget to enable USB Debugging mode on. Just connect your device with PC, and in Eclipse, you can find your device in Devices View. – kitokid Aug 17 '12 at 07:53
  • kitokid, where is devices view? On my machine, I see an 'Android Virtual Device Manager', but I don't see anything else. – Ciaran Gallagher Nov 07 '12 at 20:30
  • 3
    Note that the "HTC Driver" does not install on Windows 8 (and doesn't tell you). For these systems, you need to force the driver installation using the instructions [below](http://stackoverflow.com/a/13327665/588306). – Deanna Nov 11 '12 at 01:02
  • @Deanna Thanks for completing the answer :) – Bob Nov 11 '12 at 05:56
  • 1
    Please provide one for Mac as well :-( – Adil Malik Oct 14 '13 at 11:14
  • @Deanna the HTC driver from HTCSync 3.1.24.5 DID work for me on windows 8.1. I guess they fixed it. – James Aug 22 '14 at 14:43
19

HTC Sync is a damn bloatware.

The latest naked drivers seem to be maintained in this XDA thread.

Vaiden
  • 15,728
  • 7
  • 61
  • 91
13

You can force windows to use the standard Google ADB driver by selecting "Browse my computer for driver software", browsing to the Google USB driver folder, then "Let me pick from a list of drivers on my computer". This should then let you choose "Android ADB Interface" as the driver for your non Google phone.

Once installed, this works with ADB and Eclipse development as normal.

Deanna
  • 23,876
  • 7
  • 71
  • 156
  • 2
    This worked great! I just selected ADB Composite Device v 4.x.x.x, accepted the "might not work" warning, and presto! No downloads necessary. – escape-llc Apr 28 '13 at 23:56
  • Once it worked and then it failed, installed [this driver](http://download.androiddrivers.net/file/HTC/HTCDriver_4.10.0.001.msi) to solve the issue. – Abhijeet Mar 23 '16 at 06:24
11

Here's how you can do it without HTC Sync bloatware:

  1. Download HTC sync from http://www.htc.com/au/support/content.aspx?id=6196

  2. Start the setup

  3. The setup will report that some other components need to be installed first.

    If you look at the list, you'll see that the driver is part of it.

  4. Press "OK", this will install the driver, some DOS boxes will flash up.

  5. The actual HTC sync setup starts. Abort the installation.

  6. Have fun! No reboot was required for me. I didn't even have to re-plug the device.

Tested on Windows 7 64bit.

Stefan
  • 4,187
  • 1
  • 32
  • 38
  • 2
    probably the easiest way to ensure you've got the latest drivers and it works like a charm ( I'm using the SDK drivers at home, with no problems, but I don't wanna deal with Android SDK on my work computer and this way there are only new drivers installed ). You have to sit there and watch it say installing driver then cancel, but that should be a few seconds. If you miss it I saw above that you can uninstall HTC Sync and the driver will stay. – LostNomad311 Jan 09 '14 at 16:07
  • 1
    Thanks, this worked for me on windows 8.1 64 bit. – James Aug 22 '14 at 14:34
  • This! It worked great on Windows 7 64bit. I previously tried downloading just the drivers from various other sites, and all i ended up doing was breaking every other adb driver I had installed as well as the HTC one :)) But this works great, thanks! – Dan Manastireanu Sep 17 '15 at 14:31
4

I installed the Google Windows USB ADB Driver from here

by following the procedure for the Nook Simple Touch. That procedure, found is here

have you paste the following lines into two places in the adt-bundle-windows-x86\sdk\extras\google\usb_driver\android_winusb.inf file:

; HTC One X
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0CED
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0CED&MI_01

Then I had to kill the ADB server and restart it.

Lokesh Mehra
  • 545
  • 6
  • 16
Blaketh
  • 41
  • 1
1

To reduce one confusion.

As mentioned above in the answers For Windows 7 64-bit I used the following link: http://androiddrivers.net/htc-android-drivers/download-htc-one-x-64-bit-windows-drivers/

Though when you extract the files the driver is contained within Vista_x64 folder. This is confusing but it installs perfectly fine under Windows 7. I can now easily debug my application on HTC-One X.

Steps for installing the driver: 1. Right Click on Computer -> Properties 2. Click Device Manager in the Left hand pane 3. Find your HTC Device under USB Devices or Android USB Devices. 4. Right Click -> Update Driver 5. Locate the extracted directory containing the driver i.e "HTC_Driver_64\HTCDriver\Driver Files\Vista_x64" 6. Click Next and install the driver.

user_CC
  • 4,686
  • 3
  • 20
  • 15
1

For those of you who don't want to install the HTC bloatware, I extracted the USB driver from the package and hosted it on my website a while back, I hope it helps anyone who may still be struggling.

windows 7/8 htc android usb driver

Hoss
  • 400
  • 3
  • 8
0

Though when you extract the files the driver is contained within Vista_x64 folder. This is confusing but it installs perfectly fine under Windows 7. I can now easily debug my application on HTC-One X.

0

I couldn't find the driver-only for download anywhere. I connected the device and it asked to install the HTC Sync Manager, which installed the driver. But, the Sync Manager was conflicting with ADB - it kept shutting it down for some reason. So, I uninstalled the sync manager. That left the drivers in place. After re-connecting the device, adb worked.

anar
  • 599
  • 1
  • 4
  • 9
0

the people who are facing the problem in connecting their htc phone with eclipse. they must install HTC-SYNC from the htc site. htc sync also include the usb debugging driver in it.

Here's the link: http://www.htc.com/au/support/content.aspx?id=6196

Jk1
  • 11,233
  • 9
  • 54
  • 64
zuhaib
  • 11
0

I've installed HTC sync Manager this and it recognized the phone.

http://www.htc.com/us/support/software/htc-sync-manager.aspx

Some
  • 1