ADB + HOX + Android 4.4 - HTC One X

I have problems get running adb on Android 4.4 (CM11)
i have installed aktuall Android SDK and HTC Driver, but i dont get a notification on HOX to accept the PC.
Im on Windows 8.1
And yes i have enabled USB debugging. is there someone, where this combination will work?
thanks

cyber8607 said:
I have problems get running adb on Android 4.4 (CM11)
i have installed aktuall Android SDK and HTC Driver, but i dont get a notification on HOX to accept the PC.
Im on Windows 8.1
And yes i have enabled USB debugging. is there someone, where this combination will work?
thanks
Click to expand...
Click to collapse
Got it working with a guide on CM10.2 thread:
Disconnect cable
On phone:
Settings -> Storage
Press Menu button -> USB computer connection
Select MTP
On PC (command prompt):
adb kill-server
adb devices
Connect cable

Do you activated in dev settings usb debugging you can enable dev settings with going to settings/about and tap 7x fast on build number, it's not activated so you need to activate it at first
Gesendet von meinem HTC One X mit Tapatalk

Quite interesting but ADB seems to come on when your device is turned off and then connected to the PC (As described in this XDA thread), I'm on a CM10.2 based SentinelROMv5 and it worked when I tested it.

Adb works fine on kitkat...I tried all kitkat roms which are available for hox and all had working adb
Gesendet von meinem HTC One X mit Tapatalk

First check your adb version, it must be 1.0.31, I am not sure about the number, it should be similar, not 1.0.27 or something order. You type adb version to do it. And then open device manager in Windows, check whether you have Adb devices recognized. Windows sucks at recognising Android, you can have exclamation mark on the phone which is not recognized or Windows had recognized the phone as something else. If it is not correctly recognized, you should manually install the driver which is inside sdk folder. It is not easy to work with android on Windows, by using a Mac or a Linux you eliminate a lot of pain.
Sent from my One X using Tapatalk

Just a small tip:
You can use the 'ADB over network' option, which uses wifi instead - works great for me when I develop apps

If you still have problems..I have 8.1 too,and had kikat roms,delete all other HTC drivers,and then connect your phone again..8.1 will automatically install correct drivers

Related

[Q] HTC One X Cyanogen 10.1

Hi Guys
Ive installed Cyanogen 10.1 on m HTC One X all went fine no issues with install etc. However since I have installed im unable to get my PC to identify my htc one x for an ADB connection. I have updated all software from SDK Manager its no longer asking for downloads however the device is never found by ADB. I used the all in one toolkit to root and install the rom but this is now coming up with the same error. I have read that some phone need an edited driver once updated to cyanogen 10.1 does anyone have the modified inf file for the one X all i can find is one for the Samsung which doesnt work I already give it a shot .
Any help appriciated as i spend a good few hours trying to work this one out last night.
You have to enable USB debugging and allow ADB in developer options... Both are by default disabled on CyanogenMod
desmond1303 said:
You have to enable USB debugging and allow ADB in developer options... Both are by default disabled on CyanogenMod
Click to expand...
Click to collapse
Hi Mate
Thanks for the responce sorry should have said I have already enabled Developer Options within Cyanogen and have enabled usb debugging and the new one required for 4.2 which is ADB over network but ADB still still error no device found. Its seem to be something to do with the driver as I originally used the HTC drivers to flash and now I have a generic rom i.e. not one configured by HTC the PC doesnt appear to correctly identify the device. I have reinstalled the drivers a numbr of times and have also tried using the Google driver but my PC states this is not correct for the device and refuses to install it.
Well... I have the stock HTC drivers and they work for every single rom I have tried yet, weather AOSP or Sense...
Have you tired a different PC ?
You given adb root access in dev options?
Sent from my HTC One X using xda app-developers app
treebill said:
You given adb root access in dev options?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Hi Mate
Thought I had enabled all the options but possibly found the issue. I had enabled USB debugging and ADB over network but hadnt amended the root access to have apps and ADB enabled. Im in work at the mo so cant test but will def check this out as soon as I get in later. Hopefully that will sort it thanks for the assist guys will report back later to cofnirm either way.
Hi Guys
Sorry same issue I have enabled the root access for ADB aswell as apps now my PC is identifying the phone have tried adb when phone installed as My HTC and also installed with HTC Android Interface however adb still isnt detecting my phone when connected. Any Ideas would be great
does fastboot work ?
if you type in fastboot devices wile in fastboot usb mode, what does it say ?
desmond1303 said:
does fastboot work ?
if you type in fastboot devices wile in fastboot usb mode, what does it say ?
Click to expand...
Click to collapse
Yeah seems ok shows
Phone Name Fastboot
Im sure its a driver thing as ive been installing drivers manually and now i can get the phone to read in adb but it errors as offline like
Phone Name offline

[Q] HTC One X Driver for Android 4.2.2

Hi Guys
Do a require a specific driver for the new 4.2.2 system. I have updated my phone to run Cyanogenmod 10.1 and had some issues originally getting adb etc to identify the phone. I have since got past this and now get an unauthorised error in adb. This is normal the issue im having is that my phone does not prompt me when I connect it to my PC. I should be getting a whitelist prompt to confirm I authorise the Pc to run ADB commands.
Has anyone else had this rather than the expected whitelist prompt im getting the little android bloke asking do I want to copy files via usb. Im just trying to work out what I need to do to get my phone to prompt me when I connect via ADB. I have already enabled ROOT access to Apps and ADB, Enabled USB debugging etc
Any help would be appreciated I have tried a number of drivers but only ever get asked to copy file via usb.
Appsdroid said:
Hi Guys
Do a require a specific driver for the new 4.2.2 system. I have updated my phone to run Cyanogenmod 10.1 and had some issues originally getting adb etc to identify the phone. I have since got past this and now get an unauthorised error in adb. This is normal the issue im having is that my phone does not prompt me when I connect it to my PC. I should be getting a whitelist prompt to confirm I authorise the Pc to run ADB commands.
Has anyone else had this rather than the expected whitelist prompt im getting the little android bloke asking do I want to copy files via usb. Im just trying to work out what I need to do to get my phone to prompt me when I connect via ADB. I have already enabled ROOT access to Apps and ADB, Enabled USB debugging etc
Any help would be appreciated I have tried a number of drivers but only ever get asked to copy file via usb.
Click to expand...
Click to collapse
Do you have HTC Sync Manager?
Also, in Device manager does your Drivers have Errors (Yellow Triangle)?
Wilks3y said:
Do you have HTC Sync Manager?
Also, in Device manager does your Drivers have Errors (Yellow Triangle)?
Click to expand...
Click to collapse
Hi Mate
I have tried with HTC Sync on and again after uninstalling it both result in the same issue usb prompt rather than ADB fingerprint prompt. No in Device Manager both of the connections for the device identify and install correctly. One with the phone and another stating something like Android Interface device not on my PC at the mo to confirm the exact name but its something like
My HTC
Android Interface Device or possibly android ADB interface
Appsdroid said:
Hi Mate
I have tried with HTC Sync on and again after uninstalling it both result in the same issue usb prompt rather than ADB fingerprint prompt. No in Device Manager both of the connections for the device identify and install correctly. One with the phone and another stating something like Android Interface device not on my PC at the mo to confirm the exact name but its something like
My HTC
Android Interface Device or possibly android ADB interface
Click to expand...
Click to collapse
Hmm Very strange.
Try:
http://forum.xda-developers.com/showthread.php?t=2217396
Or if not try hasoons Root Toolkit, im sure that installs some drivers too. Hasoons got my ADB working.
Finally, to find ADB device, are you opening command prompt in Platform-tools folder?
Wilks3y said:
Hmm Very strange.
Try:
http://forum.xda-developers.com/showthread.php?t=2217396
Or if not try hasoons Root Toolkit, im sure that installs some drivers too. Hasoons got my ADB working.
Finally, to find ADB device, are you opening command prompt in Platform-tools folder?
Click to expand...
Click to collapse
Nice one cheers mate will try these drivers when I get home later. I was originally using Hasoons toolkit which is what flashed the recovery and new rom but once I updated to 4.2.2 the toolkit stopped. It was coming up as device offline. I have managed to get it working by overwritting the old ADB and fastboot files with the new ones for 4.2.2. The ones the toolkit comes with is 4.1 so was erroring as it didnt know to carry out the fingerprint check.
Yes mate I have tried various methods I have accessed the android\android-sdk\platform-tools folder and run ADB from there this identifies the phone but states its not authorised. I tried using the toolkit with the new ADB and fastboot but get the same.
Im just missing the ADB prompt on my phone for usb debugging just cant for the life of me identify why im getting the copy files from usb prompt rather than the adb fingerprint prompt. Im sure its drivers so am hopeful the ones on the link will fix it. Fingers crossed
I was having issues with adb not finding my device. These drivers worked for me...
crshd said:
I was having issues with adb not finding my device. These drivers worked for me...
Click to expand...
Click to collapse
Nice one mate will try these ones when I get in to on way home now hopeful one of the driver links sorts out the prompt for me will update later thanks guys
Sent from my HTC One X using xda app-developers app
Cheers All removed all drivers for htc one x then downloaded the 4.2 versions from the link
http://forum.xda-developers.com/show....php?t=2217396
once reinstalled adb gave unauthorised error again but then put the prompt up on the phone. So possible the 4.2 contains the info for requesting permission as i havent changed anything other than the drivers adb and fastboot have been the same since i started. Anyway cheers all
confusion about installing driver
crshd said:
I was having issues with adb not finding my device. These drivers worked for me...
Click to expand...
Click to collapse
bro i download your driver but how to install it. my htc one x just start in fastboot mode. i want to unlock bootloader but without adb i am helpless
If you have Windows 7,8,8.1 just enable automatic update and let windows install correct drivers
Sent from my HTC One X using Tapatalk 2

Adb not recognizing device on linux

Did anyone manage to get adb recognize the g3 on Linux and if how?
I'm using ubuntu gnome 14.04, udev rules are set up (including the 1004 vendor id). The device probably shows up at dmesg, but adb doesn't recognize it, also checked if Windows (as much as i hate it) works and there adb shows the device.
Mtp is working fine, just debugging doesn't, even the pop up to trust the pc isn't showing up.
Gesendet von meinem LG-D855 mit Tapatalk
Edit: I also tired to add the line
Code:
0x1004
to the adb_usb.ini within .android, but it didn't work out.
Edit2:
I've now also tried to add the udev rules with the proper product ids, still no sucess ...
Try in PTP mode, it worked for me in OS X
anod said:
Try in PTP mode, it worked for me in OS X
Click to expand...
Click to collapse
Damn it, why haven't i thought of that, tinkered around at the system, but missed that, works now, thanks

[Q] Unable to connect M9 to Windows PC

Got a weird one - got the M9, able to connect it at work and on a laptop but not the computer I've got ADB and everything on.
Phone simply does not recognize as a USB drive, I get that it's looking for "Android phone" but it never shows as a device. (MTP, ADB, etc) Suggesting where the HTC drivers I just downloaded results in me getting that they're not what it's looking for.
This is a computer that has worked for my EVO 4G, 3D, 4G LTE, One m7, m8 along with being fine with a host of other devices.
I've uninstalled and reinstalled everything I know to do but no ADB, no MTP. Not a recognizable device to windows other than being "Android Phone" with no drivers findable.
Some things I've done:
Installed HTC Sync
Deleted HTC Sync
installed HTC drivers pack
removed
Bang head on keyboard
Plug into different USB ports
Change cable
Just one computer, the one that I've used with no problem for ages, wants to be a punk
Have you tried enabling USB debugging?
-settings
-about
-software information
-more
-tap build number 7 times
Then go back to settings and enter developer options and check USB debugging
NotSatan said:
Have you tried enabling USB debugging?
-settings
-about
-software information
-more
-tap build number 7 times
Then go back to settings and enter developer options and check USB debugging
Click to expand...
Click to collapse
Yup. I just get "Android Phone" as an unrecognized device. I've also set to Disk Drive, MTP, debugging on and off.
Just plugged in the M8, same issue... so it's something that's not M9 specific...
Well that's as far as my expertise goes haha.
mildlydisturbed said:
Got a weird one - got the M9, able to connect it at work and on a laptop but not the computer I've got ADB and everything on.
Phone simply does not recognize as a USB drive, I get that it's looking for "Android phone" but it never shows as a device. (MTP, ADB, etc) Suggesting where the HTC drivers I just downloaded results in me getting that they're not what it's looking for.
This is a computer that has worked for my EVO 4G, 3D, 4G LTE, One m7, m8 along with being fine with a host of other devices.
I've uninstalled and reinstalled everything I know to do but no ADB, no MTP. Not a recognizable device to windows other than being "Android Phone" with no drivers findable.
Some things I've done:
Installed HTC Sync
Deleted HTC Sync
installed HTC drivers pack
removed
Bang head on keyboard
Plug into different USB ports
Change cable
Just one computer, the one that I've used with no problem for ages, wants to be a punk
Click to expand...
Click to collapse
Was this resolved? Having this same issue...
It looks like you are just trying to get ADB?
* Make sure USB debugging is enabled (I know you said it is).
* Make sure your computer is not blacklisted on your phone from making connections to ADB.
* Make sure any htc sync or driver package is totally removed.
* Make sure your keyboard still works enough after the head banging. You will only need a mouse, enter, space, a, b, c, d, e, i, s and v to complete the following; but more is always better just in case you need an h or something.
Look in Device Manager. Is it an unknown device (is there a yellow exclamation mark or something next to it)?
Try deleting the driver that it's using - like actually choose to delete the driver software from your machine, not just remove the device.
Once you're totally clean and the phone shows up with a yellow !, try update driver -> let me choose -> have disk -> your android sdk's extras/google-usb-driver .inf.
Pick one of the ADB ones, not sure if it'll be composite or the other one, then test with
Code:
adb devices
in your cmd window.
If it shows up, cool. If not try the other ADB usb driver from the inf...
xfinrodx said:
It looks like you are just trying to get ADB?
* Make sure USB debugging is enabled (I know you said it is).
* Make sure your computer is not blacklisted on your phone from making connections to ADB.
* Make sure any htc sync or driver package is totally removed.
* Make sure your keyboard still works enough after the head banging. You will only need a mouse, enter, space, a, b, c, d, e, i, s and v to complete the following; but more is always better just in case you need an h or something.
Look in Device Manager. Is it an unknown device (is there a yellow exclamation mark or something next to it)?
Try deleting the driver that it's using - like actually choose to delete the driver software from your machine, not just remove the device.
Once you're totally clean and the phone shows up with a yellow !, try update driver -> let me choose -> have disk -> your android sdk's extras/google-usb-driver .inf.
Pick one of the ADB ones, not sure if it'll be composite or the other one, then test with
Code:
adb devices
in your cmd window.
If it shows up, cool. If not try the other ADB usb driver from the inf...
Click to expand...
Click to collapse
Thanks. I tried this and nothing helped. Finding the device from ADB devices isn't the issue. It is that the SD card does not show up in Windows Explorer. Other than taking the SD card out and using a micro SD card adapter for my PC, I cannot transfer files via USB. See attached image. The MTP is the issue. Why doesn't HTC Sync/Drivers from HTC.com fix this? -_-;
Oh, I'm sorry I misunderstood your need. Well if adb works yes can always push/pull... Which version of Windows are you on? Is it possibly a 32/64 bit driver issue? I'm reaching here, HTC sync should cure whatever ails you... I hate MTP.
xfinrodx said:
Oh, I'm sorry I misunderstood your need. Well if adb works yes can always push/pull... Which version of Windows are you on? Is it possibly a 32/64 bit driver issue? I'm reaching here, HTC sync should cure whatever ails you... I hate MTP.
Click to expand...
Click to collapse
Windows 7, yea it's probably a64 bit problem.
typhoonikan said:
Was this resolved? Having this same issue...
Click to expand...
Click to collapse
Resolved after I updated to windows 10
mildlydisturbed said:
Resolved after I updated to windows 10
Click to expand...
Click to collapse
Not for me. Would love a solution.
Bump. Help? So annoying.
typhoonikan said:
Bump. Help? So annoying.
Click to expand...
Click to collapse
I' having the same issue. M9 not recognized as an MTP device on Win 10 64 bit. Running CM 12.1. Adb works, and the device shows up in Device Manager as "MTP USB Device" under "Portable Devices" section. Right clicking gives only propertied and scan for h/w change option, there is no option to update device driver. Phone shows up as HTC M9 under "Unspecified" category in "Devices and Printers".
My Lg G2 runs CM12.1 as well and works fine as mtp device. (Adb works too). I have been trying everything to get M9 working, but failed.
EDIT
Solved the issue trying random things! The issue was the xposed module "Xposed Media Scanner Optimizer" which was preventing MTP mode by not allowing media scanner to run.
droidphile said:
I' having the same issue. M9 not recognized as an MTP device on Win 10 64 bit. Running CM 12.1. Adb works, and the device shows up in Device Manager as "MTP USB Device" under "Portable Devices" section. Right clicking gives only propertied and scan for h/w change option, there is no option to update device driver. Phone shows up as HTC M9 under "Unspecified" category in "Devices and Printers".
My Lg G2 runs CM12.1 as well and works fine as mtp device. (Adb works too). I have been trying everything to get M9 working, but failed.
EDIT
Solved the issue trying random things! The issue was the xposed module "Xposed Media Scanner Optimizer" which was preventing MTP mode by not allowing media scanner to run.
Click to expand...
Click to collapse
I do not have that module installed, so that can't be what is keeping Windows from noticing my phone as a storage device.
Also, if i hadn't mentioned it before, I am able to see my device with adb devices in the command prompt.
typhoonikan said:
I do not have that module installed, so that can't be what is keeping Windows from noticing my phone as a storage device.
Also, if i hadn't mentioned it before, I am able to see my device with adb devices in the command prompt.
Click to expand...
Click to collapse
Most likely it is a driver conflict or missing drivers. Uninstall all portable device drivers and start again.
I wish I stole my HTC M9.
typhoonikan said:
I do not have that module installed, so that can't be what is keeping Windows from noticing my phone as a storage device.
Also, if i hadn't mentioned it before, I am able to see my device with adb devices in the command prompt.
Click to expand...
Click to collapse
I have the same issue, nothing! MTP device driver is not present...adb works but MTP nothing.
Please, someone check if the win 10 installed is N version? maybe is this the problem, maybe....
Thanks
Something to try. Connect your phone to the PC, then go into device manager and look for portable devices. The phone should be listed there and most likely you will see a yellow triangle on it. Click on it and choose to uninstall. After it uninstalls, unplug the phone from the PC and then plug it back in. Allow it to fully re-install before doing anything.
DeeZZ_NuuZZ said:
install another theme from themes Manager which is dark, or has dark Keyboard. the easiest way
Click to expand...
Click to collapse
Nope. I've played with device manager for over an hour at a time. Windows doesn't like m9.
Well, my understanding is that the driver used for mtp for Android devices is the same driver that is used for Windows Media Player. When you connect your phone to the PC and open Windows Media Player, is the phone listed there? If not, then you may have something interfering with media scanner. Have you tried starting the M9 in safe mode and then connecting to the PC?
Weird. You must bring it to store to fix

bricked Device, never detected (usb/adb etc)

Hi everyone,
I was running CM 14.2 or something, which keept crashing so I decided to try PureNexus 7.1.2, which I didn't install with google apps so it was useless (no WIFI no Bluetooth & there wasn't an option to tick to connect to the PC). I went to the Recovery menu to use a USB Stick via OTG to unzip google apps to make it work. But I could not access external storage. I wiped everything (cache/Delvik/factory reset) telling myself adb would work later.
It didn't. This happend a week ago i've tried at least a dozen tutorials but still I don't find anything working in my case.
I followed tutorials showing how to install the correct driver through the Manager, but this one won't show "other devices" in which is meant to appear my device.
I tried the different ports on the computer and I know my cable is ok because the Nexus charges from it. I tried changing things with permissions and things as indicated on MS Q&A website.
I tried the GUI version of ADB : did not find the device. I will try to do these same processes from another computer but I doubt this will change anything, so....
Please help, I'm freaking desperate.
Thanks for your attention.
Samoth
Edit : I'm sorry if I wasn't clear : since I wiped everything the damn thing won't boot.
Moreover, when it did boot I didn't have access to developer options since i did not install the ROM correctly.
Edit 2 : The cable was not right AND the right port of my computer doesn't want to recognise the device, eventhough it works great for anything else.
I couldn't get back to stock Android because of... Opengapps already installed eventhough i wiped everything off.
I figured I'd give it a last try reinstalling CM but newer, worked perfectly.
Thanks for everyone helping me !
Try this: go to developers options. There is a point USB config. Change from mtp to RNDIS and back. Probably the device will be recognised by your PC.
I have the same problem with the nexus 7 and a s5mini running a 7.1.2 rom
Gesendet von meinem SM-G800F mit Tapatalk
HirogenX said:
Try this: go to developers options. There is a point USB config. Change from mtp to RNDIS and back. Probably the device will be recognised by your PC.
I have the same problem with the nexus 7 and a s5mini running a 7.1.2 rom
Gesendet von meinem SM-G800F mit Tapatalk
Click to expand...
Click to collapse
Hello, maybe I wasn't clear I edited the post. Go to developer options means you can boot, and I can't :crying:
Thanks for your answer though ! have a nice day.
Ah, ok. Sorry!
Gesendet von meinem SM-G800F mit Tapatalk
SamothXV said:
I know my cable is ok because the Nexus charges from it.
Click to expand...
Click to collapse
I've heard this before... https://forum.xda-developers.com/nexus-7-2013/nexus-7-2013-qa/help-resetting-to-stock-flo-q-t3693110
So, don't worry about developer/adb and do the following:
- boot in fastboot mode (when off press power+vol.dn)
- connect it to your PC
- check if N7 registers on PC
- if not, try another cable and solutions from the linked thread
- if yes, install new CM14.1 or https://developers.google.com/android/images
:good:
k23m said:
I've heard this before... https://forum.xda-developers.com/nexus-7-2013/nexus-7-2013-qa/help-resetting-to-stock-flo-q-t3693110
So, don't worry about developer/adb and do the following:
- boot in fastboot mode (when off press power+vol.dn)
- connect it to your PC
- check if N7 registers on PC
- if not, try another cable and solutions from the linked thread
- if yes, install new CM14.1 or https://developers.google.com/android/images
:good:
Click to expand...
Click to collapse
I changed my cable and now it connects fine, I first tried to install pureNexus : boots up but it's black screen with notification saying an app keeps crashing.
Then I did try to follow instructions on your link but the scripts don't seem to work : says "waiting fo any device" and doesn't do anything eventhough adb has detected the device. (I'm using mac os here)
I also tried on windows but I still have to figure out how to make adb work, i'll keep you updated.
thanks for your answer man !

Categories

Resources