A
A
Artem Sorokin2013-07-17 23:19:06
Android
Artem Sorokin, 2013-07-17 23:19:06

Can't connect HTC Sensation to computer (for ADB)?

I took up the issue of connecting my device to a computer to debug an application from Eclipse.
However, there is no way to do this.
The phone has custom firmware - Cyanogenmod 10 Android 4.1.2 . Debug mode enabled.
When connected to USB, a window pops up saying “USB connection is established” and at the bottom is the “Enable USB storage” button (if you click on it, a removable disk will appear in Windows).
Further more. It doesn't matter whether you press this button or not, charging will go on, there will be two devices in the system: the HTC Disk Device and the Sensation Other Device.
For the Sensation device, I tried to install Google's usb_driver, but Windows says that this is an inappropriate driver and refuses to install it.
As a result, it turns out that Eclipse does not see my phone.
Help me figure it out, please :) Otherwise, this is the second attempt to start working with Android, I don’t want to bury it again)

Answer the question

In order to leave comments, you need to log in

5 answer(s)
N
nochkin, 2013-07-17
@nochkin

You need to enable the mode for debugging:
Settings - Developer Options - USB debugging.
You can check after switching on like this:

adb devices

Should show connected phone.
PS: The driver must be installed.

S
sheknitrtch, 2013-07-18
@sheknitrtch

You may need to install a device driver. The official way to do this is to download the HTC Sync utility . It allows you to synchronize your phone book, calendar, browser bookmarks with Windows. And besides this unnecessary functionality, it installs the phone driver into the system.
I don't know where to get drivers separately from HTC Sync. Might be worth a googling. Here are my HTC Hero drivers , but I don't guarantee they will work with Sensation.

@
@ntkt, 2013-07-18
_

If I remember correctly, android can connect to computer either as MTP or PTP or USB Storage.
ADB works correctly, and also the correct firewood is installed when connected in only one case out of these three .
Try.
google:htc sensation mtp adb
google:htc sensation ptp adb
and so on.
Somehow it happened to me on gypsy mode. Worked according to the above scenario.

V
VoidVolker, 2013-07-18
@VoidVolker

In Cyanogenmod, by default, usb works in mass storage mode, and not in MTP. Use the USB Switcher to switch between these modes .

I
IchBinJames, 2013-07-18
@IchBinJames

There may be a problem with the kernel. I installed the kernel from Sultan on 4.2.2 from albinoman. So adb did not work with him, I had to roll back to stock.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question