carleewang / cm9-msm8960

Automatically exported from code.google.com/p/cm9-msm8960
0 stars 0 forks source link

USB Debugging does not function (HTC One X) #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. User enables USB debugging (Settings > Developer Options > Sets slider to on)
2. User plugs in USB to a computer
3. On Windows, device is detected as "HTC MTP Device"

What is the expected output? What do you see instead?
No device is listed when running the command "adb devices"

What version of the product are you using? On what operating system?
CM10 build 8/19 and Windows 7 x64.

Please provide any additional information below.
Tested on Windows 7 x64. adb must be used through the network by using "adb 
connect <ip of device>". This is also most likely related to USB Mass Storage 
not functioning unless a generic mass storage driver is forced via Device 
Manager.

Original issue reported on code.google.com by fin...@gmail.com on 20 Aug 2012 at 3:22

GoogleCodeExporter commented 9 years ago
You must select an USB Android ADB Interface driver for ADB to work. This was 
noted in the forum thread. Will leave this issue open until I isolate the 
driver and put it in the OP of the forum thread.

Original comment by h8r...@gmail.com on 21 Aug 2012 at 9:36

GoogleCodeExporter commented 9 years ago

Original comment by h8r...@gmail.com on 22 Aug 2012 at 1:32

GoogleCodeExporter commented 9 years ago
I found this worked to get Win7 x64 to recognize the SD Card and ADB:
1.  Uninstall the driver completely from the system (HTC MTP Device).  This has 
to be done under the device properties.  This should force the system to see a 
new device called "One" without a driver, under "Other Devices" in the Device 
Manager.  
2.  Install HTC Sync from http://www.htc.com/www/software/htc-sync/.  Once 
installed, it has to update to the latest version.  This is needed to install 
all additional drivers for SD Card access.
3.  Latest HTC Drivers will be listed under C:\Program Files (x86)\HTC\HTC 
Driver\Driver Files 
4.  For ADB access, go to 
http://onexroot.com/one-x-root/how-to-unlock-bootloader-and-root-att-htc-one-xht
c-one-xl/ and download appropriate drivers for your Windows flavor.  These are 
the ADB drivers.  I only tested out the 64-bit drivers though as all my 
machines are 64-bit.
5.  Download the zip, and extract.  Remember the location of the files.  Go 
into Device Manger, find "One" under "Other Devices" and Update Driver 
Software.  Point to the new directory you made and install.  The One X will now 
be listed in Device Manager as "My HTC" under "Android USB Devices"
6.  To verify ADB, open a CMD prompt, point to Android directory and type in 
"adb devices".  Your beautiful HTC One X should be listed.

I hope you understand this and that it helps.  I did the best I could at 
explaining it.  Thanks for all your hard work.

Original comment by bald...@gmail.com on 22 Aug 2012 at 4:03

GoogleCodeExporter commented 9 years ago

Original comment by h8r...@gmail.com on 23 Aug 2012 at 12:10