Related
Ok, I've just upgraded to windows 7. I was pretty psyched about the whole thing, and my computer seems like a whole new machine, coming from XP 32 bit.
So one thing I'm attempting to get adb to work with my phone. Heres my first problem - right off the bat, my computer doesnt recognize my phone as anything but an unknown device. YES I'VE TRIED DEBUGGING, DISK DRIVE, ETC., but nothing works.
I go to device manager, all I see is unknown device. Ok fine. I download the adb files that allow you to download the Android 2.1 thing and usb drivers. Still nothing works. I go to device manager, try to update the drivers for said "unkown device" and i get a message "the drivers are the newest up to date" or something. I try downloading the 64-bit HTC Hero drivers, same thing. I download and install HTC Sync, same thing.
I get this message when I plug the phone in...
"USB Device not recognized
One of the usb devices attached to this computer has malfunctioned, and Windows does not recognize it. For assistance in solving this problem, click this message"
So my question is, how do i get my computer to recognize my phone, even as storage device??
jasongthang said:
Ok, I've just upgraded to windows 7. I was pretty psyched about the whole thing, and my computer seems like a whole new machine, coming from XP 32 bit.
So one thing I'm attempting to get adb to work with my phone. Heres my first problem - right off the bat, my computer doesnt recognize my phone as anything but an unknown device. YES I'VE TRIED DEBUGGING, DISK DRIVE, ETC., but nothing works.
I go to device manager, all I see is unknown device. Ok fine. I download the adb files that allow you to download the Android 2.1 thing and usb drivers. Still nothing works. I go to device manager, try to update the drivers for said "unkown device" and i get a message "the drivers are the newest up to date" or something. I try downloading the 64-bit HTC Hero drivers, same thing. I download and install HTC Sync, same thing.
I get this message when I plug the phone in...
"USB Device not recognized
One of the usb devices attached to this computer has malfunctioned, and Windows does not recognize it. For assistance in solving this problem, click this message"
So my question is, how do i get my computer to recognize my phone, even as storage device??
Click to expand...
Click to collapse
try uninstalling htc sync and using a different usb port. does that work?
And to address how to get it to recognize as a drive, when you plug it in you should be presented with options where you can make it a disk drive. Or pull down your notification bar and change the type.
elegantai said:
And to address how to get it to recognize as a drive, when you plug it in you should be presented with options where you can make it a disk drive. Or pull down your notification bar and change the type.
Click to expand...
Click to collapse
On the phone yes, I can select a different type. On my computer, I just get that unknown device message.
And out of the blue I just tried a different USB port, and now it works as a storage device.
Did you restart the computer after installing the drivers? Sometimes mine gets a little goofy like that.
jasongthang said:
On the phone yes, I can select a different type. On my computer, I just get that unknown device message.
And out of the blue I just tried a different USB port, and now it works as a storage device.
Click to expand...
Click to collapse
i had that issue with one of my usb ports too. i think sometimes a bank of usb ports are used as basically a usb hub, and the evo doesn't like that, from what i understand.
Reboot comp, reboot EVO. Connect 'em, and then go into Device Manager, uninstall the "unknown device" (EVO), and then have it scan for new devices. Now, when it says scanning for drivers (or something to that effect) look for an advanced or "skip checking Windows Update for drivers" option. Then navigate to the ADB drivers in the Android SDK and tell it to use those. Make sure you have USB Debugging turned on, and EVO's set for "Charging Only".
If that still doesn't work, then there's an incompatibility with your computer's USB controller and Win7.
drmacinyasha said:
Reboot comp, reboot EVO. Connect 'em, and then go into Device Manager, uninstall the "unknown device" (EVO), and then have it scan for new devices. Now, when it says scanning for drivers (or something to that effect) look for an advanced or "skip checking Windows Update for drivers" option. Then navigate to the ADB drivers in the Android SDK and tell it to use those. Make sure you have USB Debugging turned on, and EVO's set for "Charging Only".
If that still doesn't work, then there's an incompatibility with your computer's USB controller and Win7.
Click to expand...
Click to collapse
lol, I did all that a few times, but im sure its not an incompatibility issue. probably just a skipped step somewhere.
jasongthang said:
lol, I did all that a few times, but im sure its not an incompatibility issue. probably just a skipped step somewhere.
Click to expand...
Click to collapse
If your computer is old enough, incompatibility is a possibility. See if there's other ports you can use, like on a different side of the case. Also, what brand computer?
--Swyped from my EVO using XDA App.
drmacinyasha said:
If your computer is old enough, incompatibility is a possibility. See if there's other ports you can use, like on a different side of the case. Also, what brand computer?
--Swyped from my EVO using XDA App.
Click to expand...
Click to collapse
stop! lol its fine. it works. i guess i should have stated that i've been on these forums for quite a while, and have flashed and rooted a few different phones using this computer, but with xp.
i just switched to windows 7, and of course lost all my drivers, and everything I had saved would have to be switched to 64-bit. I just couldnt get anything to work, but it seems to work now.
and I dont know what brand necessarily this computer is. i built it. I do have a dell keyboard though.
For some odd reason, I lost adb functionality (i.e. any adb command issued receives "error: device not found"). I looked in Device Manager and noticed that MyHTC was gone! I looked at my phone and USB debugging was enabled and in charge only. I could put it in USB Drive mode and the PC would recognize it as a USB Mass Storage Device so that I could exchange and view files but no adb.
I searched and searched on this issue for hours and installed over a half a dozen "androidusb.inf" driver files several times over. Every install generated the Code 10 error where Device Manager was lacking some information from the driver file and could not start the device. I reinstalled HTC Sync and gave that a try...nothing. Downloaded USBDeview and uninstalled all HTC drivers including the HTC Android USB Device and tried again to no avail. WTF?! What else am I supposed to do?
Well, in a "what the hell, let's give it a try" kind of moment, I decided to toggle the USB debugging off and then back on (and yes, it was checked and on the whole time). WORKS!!! WHAT THE CRAP?!! MyHTC is back in Device Manager and everything is back to normal. I'm glad but irritated!
I share this story in hopes that if someone else stumbles on this problem, they will not have to go through the same headache as I did. Just thought this was odd considering how many times I have plugged and unplugged and never had any problems with adb.
Toggle USB Debugging....so simple. *rolleyes*
Same Issue
I've got the same issue on my EVO 4G. Just installed the latest CM7 and now it tell me device not recognized. If I manually install the drivers it gives me the same code 10. I can't bring up the phone as a storage device and toggling the debugging is not working. Any ideas?
SillyJay said:
I've got the same issue on my EVO 4G. Just installed the latest CM7 and now it tell me device not recognized. If I manually install the drivers it gives me the same code 10. I can't bring up the phone as a storage device and toggling the debugging is not working. Any ideas?
Click to expand...
Click to collapse
You installed the hboot drivers correctly?
Boot into recovery, with usb debugging enabled, connect to pc, it should install the drivers.
Still the same
Even when I reboot into recovery it still gives me "USB Device not recognized." I previously had MikFroyo on my phone with no problems. I'm at a loss.
SillyJay said:
Even when I reboot into recovery it still gives me "USB Device not recognized." I previously had MikFroyo on my phone with no problems. I'm at a loss.
Click to expand...
Click to collapse
You most likely have a bad cable, do you have another one you can try?
Possibility
Not at the moment but that may explain it. Still seems weird for it to just go out right as I change to CM7, but still a possibility. I am going to run and grab my other cable. Thanks for the advice.
No Luck
The new USB cable didn't fix the problem. Also, in device manager, even with the driver installed its labeled as "unknown device."
If I boot into hboot the computer recognizes it.
**update: After rebooting from the hboot, my phone is recognized by the computer however, a disk drive is not coming up in "my computer." I have USB storage turned on but Im not getting anything.**
Any help would be much appreciated!
Sad Day
Apparently the Micro USB port on the bottom of my phone is going bad... I talked with some other people who've had the same problem. HTC knows that the ports aren't very sturdy as well. Well... sad day for me.
Also if you're getting the notice from windows saying that you your device will run faster in a 2.0 usb port and you know the port is 2.0 ... chances are your port is going bad as well.
*****UPDATE*****
Flashed to MikFroyo and none of the above stated problems. I would venture that it was CM7 but apparently everyone else is able to use it so who knows.
I used to be able to
1. Plug my phone in via USB (unmounted - meaning "charge only")
2. Open up a command prompt and navigate to the correct folder.
3. Type "adb devices"
4. Receive a long string of characters that indicated that adb recognized the device.
Now this only happens for me if the phone is in recovery already. For example:
Code:
C:\android-sdk-windows\tools>adb devices
List of devices attached
HT05SHL05247 recovery
Things I've tried:
* Re-installed SDK
* Re-installed HTC Sync
* Manually re-installed drivers for phone
It is interesting to note that when the phone is on and plugged in, Device Manager sees it as a disk drive no matter if the phone is mounted as a disk drive or not. Strange.
Everything worked fine until I went on vacation. Now it's messed up!
The question is: how do I get adb to recognize my phone again?
is usb debugging still on?
when you plug in the USB cable do you get the screen to select
charge only, HTC Sync Disk drive etc..
if not go to "Settings" -> "Connect to PC"
and turn on "Ask Me"
I had a bad USB port, would only charge could not get any PC connection to work until phone was replaced, works now
Bill
Thanks for the responses.
mdwoods said:
is usb debugging still on?
Click to expand...
Click to collapse
Yes, I checked and USB Debugging is selected.
btedeski said:
when you plug in the USB cable do you get the screen to select
charge only, HTC Sync Disk drive etc..
if not go to "Settings" -> "Connect to PC"
and turn on "Ask Me"
I had a bad USB port, would only charge could not get any PC connection to work until phone was replaced, works now
Bill
Click to expand...
Click to collapse
Yup, when I plug it in I get the pop-up asking me what kind of connection I want.
Any other ideas?
Still nothing! I'm going to be selfish and bump in case a fresh pair of eyes can help me solve this.
Something similar happened to me. I tried many things over and over again. I changed kernals, roms, reinstalled drivers, etc. Eventually, I just reformatted my computer and it worked. I don't know why reinstalling the drivers wouldn't work when reformatting did. I honestly have no idea, but that reformat did the trick for me.
ADB not working when booted is a somewhat commonly-reported problem with King's kernels. Try flashing the stock kernel and see if it starts working again. Also, wipe your caches in the future before flashing a new kernel. This seems to prevent a lot of issues.
I has this same problem. I believe I wrote a thread about it. When I toggled USB debugging off and then back on, that is what solved the problem. Believe me, I went through hours of reinstalls of multiple androidusb.inf drivers plus HTC Sync among others. It wasn't until a "what the hell, let's give it a try" moment that I toggled USB debugging off/on. Like you, I had it on the whole time. Still don't know what caused the mishap but this is what fixed it for me.
Sent from my PC36100 using XDA App
Thanks for the last two ideas. I love Fresh ROM, but have been having major issues with it lately, and this must have been tied into it. I installed Baked Snack with the custom baked snack "speed" kernel and the issue went away (along with all my other issues). Yay.
I don't doubt that toggling the USB Tethering check box would have fixed it, though. And that's just funny. Sad and funny.
Sprockethead said:
I don't doubt that toggling the USB Tethering check box would have fixed it, though. And that's just funny. Sad and funny.
Click to expand...
Click to collapse
Actually, I found an answer to that question. I am experimenting with Andromadus CM10 on a HTC Desire Z and this is what happens:
The mobile phone declares what USB device it is. You can look at this on the linux computer you have connected it with:
Code:
lsusb -v -d 0bb4:0c91
The string after "-d" is what you get from a plain lsusb command. The important part of the output of that command is
Code:
bInterfaceClass 255 Vendor Specific Class
"adb devices" only shows the phone if this 255 is present.
With the phone in fastboot and recovery, I always could see the 255 on my linux box. Normally booted, I sometimes had it, sometimes not.
If I had it the device was called "HTC Vision", if I didn't have it, it was a "HTC Desire / Desire HD / Hero (Charge Mode)"
Toggling "USB Debugging" actually helped me to make it a "HTC Desire" and get adb over USB working.
i had notice there is alot similar post to this problem but none really solved it. so i start this thread to make it more specific
1) once connected to pc, my wildfire automatically charge
2) no pop-up or option on the top to slide down to select either htc sync, mount as sd card, etc
3) tried reboot, mount unmount card, untick usd debugging, changed other rom, but still not working.
4) if connected to pc still automatically charging even if i change "default connection type" to disk drive, or usb tethering
5) i tick "ask me" so i can choose the connection type when connect to pc, but when connected to pc, nothing. just charging.
i'm rooted, using hg hybrid v3 (problem was there before i flash HG rom). it used to work before. i dont recalled when was the last time it start to behave like this. all this time i thought i set the connection default to charging, but when i want to transfer songs, only then i realised this problem. i m not sure which custom rom might cause this problem (if it does) because i had flash more than 10 roms
i have same problem with cm7
I haven't try to format my sd card. because when I connect without sd card, still no connect option. if my card is malfunction/the main problem, then my phone should work fine n show the connect option after I remove the card, right? (I do have connection option on the setting. what I meant no connection option is the pop up conection menu+connection option on the top bar. changing the connection on the setting change nothing)
I too have this prob but never questioned this as i never use htc sync. But if u really wanna use it try this i'm not sure it may work or not but mostly its due to driver problem:
1.Connect your device in htc sync mode.
2.Uninstall or Remove all drivers of htc and also htc sync.
3.Disconnect your device and Restart your pc.
4.Reinstall htc sync and connect your device in htc sync mode.
5.It'll install fresh drivers for your device and if asked to restart then do it else run htc sync.
If you are running vista or later try to run htc sync in administrator mode.
I'm not sure this method work but there's no problem on trying it. Reply your result after doin above steps
I also think the problem might related to my driver but I remember that when I first connect to my pc, there will be pop up menu, and my phone automatically recognized as "disk drive" (I m not install HTC driver yet. infact ,I install the driver after my phone connected to my pc through disk drive connection since the driver located on the SD card). nway, I"ll try your method and post the result later.
I just notice this might not work..the problem is I cannot change the connection. even if I did, it doesn't change the connection. it just charging.. as if I put it on default "charging" as it connect. but I will try later anyway
When i connect my phone the debugging icon shows up and my pc makes the noise but doesnt let me choose mass storage (running cm7). it shows up on my pc on drive f: but when i click it just says please insert a disc into removable storage F:
xynok, did u tried untick the usb debugging? go to setting, application, development, untick usb debugging. u still lucky at least it prompt u something if u connect to pc, mine nothing. its like I plug it to the socket wall not pc
anakhanjing said:
xynok, did u tried untick the usb debugging? go to setting, application, development, untick usb debugging. u still lucky at least it prompt u something if u connect to pc, mine nothing. its like I plug it to the socket wall not pc
Click to expand...
Click to collapse
yeah i tried that
lokeshramesh said:
I too have this prob but never questioned this as i never use htc sync. But if u really wanna use it try this i'm not sure it may work or not but mostly its due to driver problem:
1.Connect your device in htc sync mode.
2.Uninstall or Remove all drivers of htc and also htc sync.
3.Disconnect your device and Restart your pc.
4.Reinstall htc sync and connect your device in htc sync mode.
5.It'll install fresh drivers for your device and if asked to restart then do it else run htc sync.
If you are running vista or later try to run htc sync in administrator mode.
I'm not sure this method work but there's no problem on trying it. Reply your result after doin above steps
Click to expand...
Click to collapse
not working..
try this if u r using sense roms . Also try this for AOSP roms, if there is an option(i dont know about AOSP).
Go to Settings/Applications/Manage applications/All/
Then search for "Connect to PC". Actually in stock roms that was an app by htc. But there must be something similar to that in AOSP roms. Then open that and select, "Force stop" , "Clear data", "Clear cache".
I dont know for sure if that solves the issue or not. But have a try.
And by seeing this thread, actually i got a doubt, "can we synchronise the htc sync in AOSP custom roms". Since AOSP is nothing but removing the HTC crap. Can someone confirm this .......
bharatgaddameedi said:
try this if u r using sense roms . Also try this for AOSP roms, if there is an option(i dont know about AOSP).
Go to Settings/Applications/Manage applications/All/
Then search for "Connect to PC". Actually in stock roms that was an app by htc. But there must be something similar to that in AOSP roms. Then open that and select, "Force stop" , "Clear data", "Clear cache".
I dont know for sure if that solves the issue or not. But have a try.
And by seeing this thread, actually i got a doubt, "can we synchronise the htc sync in AOSP custom roms". Since AOSP is nothing but removing the HTC crap. Can someone confirm this .......
Click to expand...
Click to collapse
nope. still nothing. anyway since it had this problem, I had wipe my wildfire few times, n try different rom.. maybe it is because of faulty cable. but if the cable is the culprit, why it still charging? is it possible the cable is broken but still can charging?
anakhanjing said:
nope. still nothing. anyway since it had this problem, I had wipe my wildfire few times, n try different rom.. maybe it is because of faulty cable. but if the cable is the culprit, why it still charging? is it possible the cable is broken but still can charging?
Click to expand...
Click to collapse
Not telling that it should be, but definitely there is a possibility of a cable culprit.
The USB male/female end has 4 connections in which two connections are used for voltage and the remaining two connections are used for data transfer.
There might be a possibility that the data connection got broken with voltage connection retaining. Try with another cable (any USB v2 cable).
And one more thing, for having the disk drive option, nothing need to be installed in the pc. U need to install htc driver in the pc only if u want to use usb debugging , usb tethering.
[But at the wildfire end the cable has 5 connections and i dont know what the 5th one is for. mostly it will be a NO CONNECTION]
Now i got another idea to diagnose ur issue.
Well do u know of application "pdanet". It uses USB DEBUGGING feature to tether ur phone internet to PC. Actually usb debugging can be used both under charge mode and disk drive mode. What u can know on doing this is whether usb debugging through ur phone is working or not. U can diagnose the thing while checking with every app that uses usb debugging. So try it. Enable the usb debugging in phone first.
---Install pdanet desktop version and follow the setup instructions. It asks to connect ur phone during setup to install usb driver and also pdanet.apk to mobile. Connect ur phone with usb debugging enabled. I doubt whether desktop version installs or not because of ur issue. Mostly desktop version of pdanet will not install without a phone connected having usb debugging enabled. And if the desktop version is installed successfully, that means ur phone usb debugging is working. And if desktop version is installed successfully, that means it also installed the mobile version of pdanet.apk to ur phone (which says that data transfer is working). Then open the pdanet on phone and enable usb tether. Then open pdanet from desktop and connect. Then see whether u r able to access internet from pc.
---One more method is try to use ADB from android sdk. It also uses the usb debugging feature.
If adb and pdanet works, that means usb debugging feature on ur phone is working. If it is so, then it is mostly not a cable problem (as far as i know). And if they dont work there is a chance that it is a cable problem.
......................................................................................................................................................................................
And one more thing. If u have used a stock rom (freshly formatted), and faced the issue, then it is mostly not a software problem. Then it might be cable problem or some kind of problem in ur phone. Also check ur phone radio version. Thats all.
bharatgaddameedi, i cant install pdanet. it say android phone not detected. error =103. i think u were right. its hardware related problem but its look like not the cable. most probably its my wildfire usb jack. i test the cable with other mobile, its working (test it on nokia 5800). before i had this problem, sometime i use htc cable to transfer data for my 5800, and some time i used 5800 cable to transfer data for my wildfire. the difference between the two cable pin might damage my wildfire usb jack.. (u said htc cable got 5 pin, so i asume nokia got 4?)
anakhanjing said:
bharatgaddameedi, i cant install pdanet. it say android phone not detected. error =103. i think u were right. its hardware related problem but its look like not the cable. most probably its my wildfire usb jack. i test the cable with other mobile, its working (test it on nokia 5800). before i had this problem, sometime i use htc cable to transfer data for my 5800, and some time i used 5800 cable to transfer data for my wildfire. the difference between the two cable pin might damage my wildfire usb jack.. (u said htc cable got 5 pin, so i asume nokia got 4?)
Click to expand...
Click to collapse
So, pdanet not detecting the phone means usb debugging is also not working under charge mode. That should be phone hardware related problem like u have said about usb jack.
And No. All the micro USB version 2 cables will be the same. Its same for 5800 and wildfire. I use my previous 5233 cable to my wildfire even now.
The usb jack of wildfire may damage if u have used it in an improper way. Something like pressure on the cable when connected and so on...
So, its not something we can solve here. That should be given to service centre as far as i know
anakhanjing said:
the difference between the two cable pin might damage my wildfire usb jack.. (u said htc cable got 5 pin, so i asume nokia got 4?)
Click to expand...
Click to collapse
Can't be. I am using my N82's data cable for data transfers on my Wildfire from Day 1. The provided data cable is pretty much permanently attached to the wall charger.
I accept the fact that it might be hardware problem but there is one more thing I want to try. how about flashing stock rom from pc? flashing 2.1 is ok since it can be rooted again. I had flash stock rom but from the clockwork mod, not from pc, and the hboot is been remove for save flashing. I never try this before because all this time I thought that the problem was cause by custom rom, so I just need to find the right custom Rom.
How can u flash a stock Rom from pc when the usb is not functioning. RUU will not work.
Things get worse when basic things stop functioning.
Sent from my HTC Wildfire using XDA App
Did you try mounting your SD Card via Recovery? Reboot into Recovery > Advanced > Mount SDCard
I have had this phone for only two days now. My previous phone was an EVO. I got my Epic 4G Touch via a trade and there is one thing that I cant figure out... and feel quite silly asking the question.
When I plug the phone into my PC via USB, I do not get an option or prompt to choose whether to connect as a hard drive / charge only / or tether my internet connection like I did on my EVO. It seems that it only allows me to connect in charge only mode. I have been unable to find an option to choose to connect as a hard drive in the settings menu.
Any help with this solution will be greatly appreciated.
Thanks
Robert
Ok, enabling the USB debugging and then unplugging and plugging in the USB fired up those settings, but it did not find drivers for:
CDC Serial or SAMSUNG_Android... I am going to search the forum for that answer.
Settings>Wireless and Networks>USB Utilities. That's how you get to USB mode. But yes debugging mode also works. But once you plug your phone in the mtp mode should connect. You can also access media on PC that way and ur sd card is still accessible thru phone, unless you're actively syncing something then you get the sync screen.
Sent from my SPH-D710 using XDA App
for my phone as soon as i plug it in i get a notification at the top and i pull down the status bar and i can enable usb mass storage from their
Thanks for the reply folks. I had me EVO so long that I forgot about enabling debugging mode. I did that and I finally got the drop down menu to enable me to use the phone as a hard drive.
My issue now is that I cannot seem to get two drivers to install correctly. I read through many posts, both here and ones I found via google, that suggested that I install Kais from Samsung's website to fix the driver issue. I did that, and applied all of the updates to the program that were available, and I am still getting the error saying that those drivers did not install correctly. I can browse the SD card now that Kais Air is installed, but I am still having the driver issue in device manager.
I am not sure where these drivers can be obtained...
OnDutyTactical said:
Thanks for the reply folks. I had me EVO so long that I forgot about enabling debugging mode. I did that and I finally got the drop down menu to enable me to use the phone as a hard drive.
My issue now is that I cannot seem to get two drivers to install correctly. I read through many posts, both here and ones I found via google, that suggested that I install Kais from Samsung's website to fix the driver issue. I did that, and applied all of the updates to the program that were available, and I am still getting the error saying that those drivers did not install correctly. I can browse the SD card now that Kais Air is installed, but I am still having the driver issue in device manager.
I am not sure where these drivers can be obtained...
Click to expand...
Click to collapse
Other than Kies, your pc should install drivers upon connecting phone. I've had this happen before. I uninstalled the drivers I found via google, restarted my pc, reconnected my device and it immediately began downloading proper drivers. I was good to go from then on.
You may wanna try, once device is connected to pc to
-go to start menu
-computer, and see if your device is there