Getting debugging drivers working on Windows 7 - myTouch 3G, Magic General

Hello
I have a stock Vodaphone Magic and I'm looking to root it, but to do this I need to get adb to see it, which I'm having problems with.
When I plugged it in first to charge it used window's default drivers for the SD card etc. Trying to update the drivers with the ones included in the SDK dosn't seem to work as Windows says that they're less recent.
Also, I can't see any sort of "ADB" section in the device manager, even with USB debugging turned on in the phone.
Any help? I'd really like to root my phone so I can use WPA Enterprise!
Edit: Already read the wiki page, no help.

I remember having this problem when I first set up the Android SDK.
However in my device manager I did have a device, it wasn't called Android or Magic or anything similar. From what I remember it was a bunch of random letters and numbers.
From there I right clicked it, went to Properties, Update Driver and then pointed it to the directory with the drivers.
Thats how I did it in Windows 7, if that doesn't work for you then I'm not sure sorry.

Hi,
I recently had the same problem as you. The first time you plug in your phone sometimes Windows will assign USB drivers to the device instead of the ADB interface. To correct this, I uninstalled the drivers and pointed the computer to the ADB files as the new drivers. After those install it should be labelled correctly and work.

Related

ADB does not find device

Hi all,
I've searched the forums (honestly), but I can't find an answer to my problem.
I have a Vodafone branded 32B phone.
I installed the AndroidSDK as supposed to, added the path, made the phone root, booted into the recovery console using fastboot and flashed my phone with different operating systems... but during all this time I hever got ADB to work.
Whatever I do, adb never finds the phone. Fastboot works and finds it, when it's in fastboot mode, but ADB never. So, I can't permanently install the recovery console nor do any of the other funky stuff.
ADB doesn't work when the phone is in fastboot mode nor normally operating. I have USB Debugging turned on. The phone works normally and I can access the SDCard just fine.
Any help?
Suggestion.
Look into purchasing a G1 to be kept as a spare and used for development. That's what I've done with my G1. GParted is within most recovery images nowadays, therefore you can do most anything there, well...important functions that is. Keep that in mind.
You might need to uninstall the driver that recognizes your phone, then manually install the updated driver.
Reignzone said:
You might need to uninstall the driver that recognizes your phone, then manually install the updated driver.
Click to expand...
Click to collapse
that's what i had to do to get it to recognise my phone.
i'm pretty sure the driver came with SDK. either way i've attached the one i used.
go into device manager and update the driver it's currently using with the attached one.
Incorrect driver.
It should be the 1st driver listed in the Android SDK file.
As far as I know, you could also choose to push ADB to your system32 file folder under the C: drive in your computer. That is if you're using a Windows machine.
just a thought
Are you on windows or linux? If you're in ubuntu try sudo adb ... the default unprivilaged user doesnt automatically have access to the device.
If you're in Windows I would uninstall the Android Phone device in device manager and reboot with the phone disconnected. Then connect it and install the usb driver from the sdk when prompted. Might also pay to download the sdk again.
Install HTC Sync
Another known way to fix the issue is to download and install HTC Sync http://www.htc.com/au/SupportViewNews.aspx?dl_id=573&news_id=169
This seems to install the correct drivers
For more info check the Wiki:
http://wiki.xda-developers.com/index.php?pagename=HTC_Sapphire_Hacking#sec02
Hey Guys,
Forgot to mention I'm on Windows Vista 64 bits.
That last suggestion did the trick. I went to the site and downloaded the HTCDriverUpdate_Vista_64bits.exe, and within seconds I had an ADB connection.
Thanks for your help!

HTC Legend USB drivers

I got an HTC Legend that is branded to Vodafone. Trying to debrand it and following the Unlockr instructions--but the first thing to do is to set up android adb and load the windows drivers. I found the Windows drivers it did not work. I then found online a guy with advice on the two lines you need to add to the inf file--but it still does not work. I am on windows XP and getting frustrated because it looked like it copied over some driver files but it still is not recognizing the Legend.
Next I tried it on a mac but could not even find the USB drivers for mac. Google has now separated the inf file from the adb download. So the phone does not install itself automatically. So when i type "ADB devices" I don't get my phone serial number. So I am stuck. Any advice on how to do it with the Legend? All suggestions gratefully accepted.
Thanks
Jeff in Cali.
ferry99 said:
I got an HTC Legend that is branded to Vodafone. Trying to debrand it and following the Unlockr instructions--but the first thing to do is to set up android adb and load the windows drivers. I found the Windows drivers it did not work. I then found online a guy with advice on the two lines you need to add to the inf file--but it still does not work. I am on windows XP and getting frustrated because it looked like it copied over some driver files but it still is not recognizing the Legend.
Next I tried it on a mac but could not even find the USB drivers for mac. Google has now separated the inf file from the adb download. So the phone does not install itself automatically. So when i type "ADB devices" I don't get my phone serial number. So I am stuck. Any advice on how to do it with the Legend? All suggestions gratefully accepted.
Thanks
Jeff in Cali.
Click to expand...
Click to collapse
if your trying to use the android drivers you have to add a htc legend section into the drivers .inf file when you download the android sdk run the setup and only accept the driver then edit the .inf with your legend hardware ids and then it installs perfectly, this method works on both xp and win7
driving me nuts
could you show me how to do this please?
pics would be nice.
i'm also struggling to get my legend detected by any OS (XP, 7 x64, ubuntu x86).
doesn't seam to matter what i use (htc sync 2.0.33, PDAnet, drivers from websites - i've tried them all) i just can't get them to install and recognise my legend.
the thing i find a little worrying is that linux wont even pick up my legend in disk drive mode.
Hi, if you have installed htc sync it also installs the usb drivers.
after you install, unplug usb cable from phone, reboot computer.
after computer reboot plug in usb, hardware wizard shoud find a whole heap of new devices "android phone, adb. etc... on phone go into htc sync mode, more devices should be detected too. if none of these things happen you may have a usb device conflict with other usb devices connected (I had problems with a vodadfone wireless broadband dongle conflicting with other usb devices).
I have a legend with HBOOT 1.01 and i followed a guide on here
[guide] how to root HBOOT 1.01
I followed most of the steps (I didn't restore the backed up misc_backup.img) and the only problem i had was after i downgraded from froyo i needed extra drivers which are called "android 1.0". other than that I had no real issues that a reboot of computer didn't fix.
Hope this helps

Android Drivers

I have the SDK for windows installed and have the drivers downloaded but they can not install. Even with my phone plugged in, i have tried all 3 different usb settings and currently have debugging turned on.
NOTE: The driver im trying to install is the adb driver.
Also this may be my first android phone but i do know my way inside and out on a computer
farquep,
I'm an Android newbie myself, but I don't think you need those SDK drivers. I tried installing them, and they weren't working for me, either.
I'm not sure if you're trying to root/enable sideloading on your phone, but I found that the drivers included with HTC Sync seemed to get me where I needed to be as far as THAT effort goes.
If you're just trying to hook up your phone to your PC, and expecting to be able to access it like a removable drive, I'm pretty sure you'll be unable to do that until you go through the rooting/sideload enabling process. I never had any luck with it UNTIL I rooted my phone, and I'm pretty sure that's by AT&T's design.
Regards,
Corporate Dog
You need to modify the .inf file for the driver to include your device/vendor code manually or just do what I did which is easier and install HTC sync won't hurt anything you don't have to use it. It will modify the file for you. Or you could have someone upload there modified file. At any rate the problem is the USB plug and play system that does not recognize your device. It only recognizes a handful of devices and the ARIA is not one of them. Good Luck.

Installing Universal Naked Drivers

so I got the latest Universal Naked Drivers 0.73 zip file, extraced it to its own folder on my desktop, and then I opened device manager, went to Other Devices>Nexus 4, right clicked, uninstalled, restarted my laptop and nexus 4, and then opened device manager again, and this time clicked on Update Drivers for nexus 4, and when I select browse files on my computer, then I click that folder, which has two sub folders in it, one for AMD64 and then i386, and there is also some other files in the main folder, outside the subfolders, called androidwinusba64 and androidwinusb86, as well as two more called android_apxusb and android_winusb.
But When i click on the main folder so it searched through that and the two subfolders, it keeps saying it's not finding any drivers for my device, and i've tried clicking on each of the sub folders, and neither of those make it work either. I've done what every guide has shown me, which I've installed drives hundreds of times in my 27years of life, and I have never had a problem before. Especially not with Android devices. I can't get my brand new 16gb nexus 4 that i just got yesterday (got it while I wait for Tmobile to get the Nex5 in stock, and then I am switching them out) to show up under my computer as a media device so I can actually drop files onto it. I dont get what the issue is here. I know that the 4.3 update (which I updated to last night when i first powered on my phone and activated it) cause some driver issues from what i've read, but supposedly they have been fixed or whatever, and this Naked Driver is supposed to help as well. But getting them installed first would work better lol. everytime I plug the phone in, it tries to install the drivers itself, but it keeps failing for some reason. Any thoughts on how to proceed ?
It's ADB driver, you need to enable USB Debugging. If you are using Windows 8, reboot it into advance mode and disable driver signature checking.
eksasol said:
It's ADB driver, you need to enable USB Debugging. If you are using Windows 8, reboot it into advance mode and disable driver signature checking.
Click to expand...
Click to collapse
i already know all that lol I've been modding for quite a few years, so I know all about USB debugging, thanks tho. That's definitely not the problem. I can get the phone to work with ADB no problem, but I can't get it to show up as a media device like its supposed to when i have that selected in the USB mode options.
Oh, and I am sorry, I shoulda clarified, I am on Win 7. I already read about the Windows 8 thing tho. Which I got a copy of Win8, so I do plan on upgrading soon, check it out see what its like. But I just gto a new copy of Ubuntu, so I've been playing around with that a lot lately.
Anyone ? I have tried so many different things and Just can't get it to work, bout to chuck my laptop out the window lol
I can't speak for the naked drivers as I have never used them, but the ones that come with the SDK work fine with Win 7 on Android 4.3 (Copy and pasting files with Windows Explorer, adb, fastboot, etc.).
Did you resolve your issue? If not you should try to run "Usb Tree View" and make sure your phone internal USB switch is set to PDA and not MODEM or BOTH etc. I don't know how that works for the Nex4 but its a thing to look at.

[Q] USB Issues with Windows 8.1

put in a new SSD and got Windows 8.1, did a fresh install on a new hard-drive, everything's been working great, My nexus 4 has worked with with ADB./Fastboot and I've been able to transfer files to and from it in MTP mode. Been like that for about 4 days until about 3 hours ago, I had Windows Explorer crash, had to run Task Manager, end the process, and then manually restart explorer.exe My device was plugged in when this happened, and afterwards, I noticed that I could no longer see my Nexus 4 under the Devices & Drives section of "This Computer" (My Computer had a better ring to it lol) First I tried rebooting both my laptop and my Nexus 4, then I tried uninstalled the drivers, rebooting, re-installing, and then rebooting again. Did that like 4 times now, each time re-downloading the drivers, and doing an MD5 hash to create a Checksum, and checking them each time. Also to no avail. ADB shows my device serial number when i enter : ADB Devices, but says it's unauthorized, so if I try anything like: ADB Reboot Bootloader, it says Device is not authorized.
So ! I don't understand wtf is going on. Was working fine before. The drivers are up to date, I just flashed the Official OTA image, and was on the leaked image prior to that. Then earlier this evening I switched to the newest version of the Nexus 5 Port, and everything was still working fine, hadn't made any changes in a couple hours before this happened. When I install the drivers, It acts like it worked. Instead of saying "NEXUS 4" under Other Devices in my Device Manager, it says Composite ADB Interface under Android Devices and MTP under Portable Devices. Sometimes tho the MTP entry will still show the Yellow Exclamation Point. But goes away. Don't know whats up with that either.
Also, it wont let me install drivers unless I am in MTP mode, which Usually you can install them regardless (tho I never tried in Camera mode, I am just assuming about that one) Usually I install drivers without MTP or Camera modes checked, but now if I try it, it says that Windows Cant find the Drivers, even tho I am obviously browsing for them myself and selecting them. And just now I tried updating instead of re-installing them, and it keeps saying that Windows has determined they are the most up to date.
So I am out of I ideas. I even updated windows media player cause that's what fixed my issue on Day 1 of running Windows 8.1 when it wouldn't recognize it at all. So I don't know. Sorry for the long post but I wanted to make sure I got everything in there so hopefully someone can narrow down what the issue is. Cause I've been at it for 3 hours, haven't slept yet, my Nexus 5 gets here today, and I need to get this fixed before I sell it to my buddy. Its brand new, only 15 days old.*
Any thoughts ?*
First, connect your Nexus 4 and use Device Manager to uninstall both MTP and ADB devices, make sure to check the box to delete the driver files as well. Then uninstall any other usb or adb drivers for other Android devices.
Then disable USB Debugging on the phone and get MTP to work first, Windows should be able to install it automatically.
For ADB, Windows 8 will not allow to install unsigned driver. To install unsigned driver, reboot Windows 8 into Advanced startup and press F7 at the menu to disable driver signature (Google it if you don't know how). Although you could install Google USB driver which is signed I think, I recommend using Universal Naked Driver (link in sig.)
ADB Devices, but says it's unauthorized
Click to expand...
Click to collapse
You need to authorize it from your phone, when you connect your phone to the PC with USB Debugging turned on, a toast message on the phone will ask you to authorize the device.
eksasol said:
First, connect your Nexus 4 and use Device Manager to uninstall both MTP and ADB devices, make sure to check the box to delete the driver files as well. Then uninstall any other usb or adb drivers for other Android devices.
Then disable USB Debugging on the phone and get MTP to work first, Windows should be able to install it automatically.
For ADB, Windows 8 will not allow to install unsigned driver. To install unsigned driver, reboot Windows 8 into Advanced startup and press F7 at the menu to disable driver signature (Google it if you don't know how). Although you could install Google USB driver which is signed I think, I recommend using Universal Naked Driver (link in sig.)
You need to authorize it from your phone, when you connect your phone to the PC with USB Debugging turned on, a toast message on the phone will ask you to authorize the device.
Click to expand...
Click to collapse
ok I am gonna try that now. And as far as the part about my phone being unauthorized. I already knew about the notification that pops up, i was waiting for it to happen. Never did tho. Maybe it will happen after I do the rest of what you said. thanks, i will post my results in a min
no matter what i do, i cant get MTP working. When i uninstall the ADB entry in Device Manager it gives me the check-box option for removing drivers as well, but not on MTP. And now it wont even give me the option to uninstall, update, or anything at all, even tho I uninstalled it already so it should at least give me the option to install drivers. Even tho it's showing up in Device Manager as a Portable device, if I look in Printers and Devices, it shows up as unspecified device. Disabled USB Debugging, and all that. it says its working but it wont show up in My Computer>Devices and Drives still. For some reason ever once in awhile it will pop up with the Yellow Exclamation Point tho, only for a brief second tho. other then that, its shows it like it's running correctly. Also, nothing pops up saying that windows is installing drivers when i plug it in. Which in Win 7, XP, etc, it always did. Does this not happen in Windows 8.1 ?
Also, under Driver Details, which is the only option it lets me click on MTP, it says the drivers are from 2006 lol
Update - Just reinstalled the drivers for ADB and enabled USB Debugging, and everything is still saying its working even tho its not. But when I take my phone out of MTP mode it shows up in device manager under "Other Devices" as Nexus4, with a Yellow Exclamation, and it gives me the option to update drivers, so i tried, but it says Windows Can't find my driver. This is very frustrating.
Had this problem aswell, which was caused by the N version of Windows 8 versions.
These versions dont have Windows Media Player istalled, which is needed for MTP to work.
So to fix your problem you need to download that latest Windows Media Player (WMP) from microsoft and install that.
I dont have the N version, I have WMP installed, i mentioend your fix in the OP. Had to update it, and it worked. It was working fine for the last few days, then it stopped working suddenly
double post, sorry. dont know why that happened.
Vouch. Since I use win8.1 (no n version) Mtp doesnt work. I tried all known drivers, disabled driver signature and so on. The only working combination for me is Usb Debugging + PTP. Then I use file manager to cut the files. Airdroid would be an alternative as well.
update - SOLVED * Kind of.....I say kind of cause I still don't know what caused it but apparently Flashing to the Nexus 5 Port fixed the issue lol. I am assuming something pertaining to the way USB connectivity is controlled by Android got corrupted, and a fresh install was in order. Whatever it was, it worked and i am back in business. thanks to all those who attempted to help.
Sent From My Nexus 4 via XDA Premium 4

Categories

Resources