[Q] ADB Issues - G2 and Desire Z Q&A, Help & Troubleshooting

So I am trying to root my G2, and following cyanogen's wiki with using adb, i am having an issue with permission. I am running OS X 10.6.5, using terminal I open adb, and can find my device but when i go to push anything it doesnt allow me to saying "Permission denied".
I also tried to on my Windows 7 Laptop and i am having issues when not being able to detect my phone, I read something about USB Drivers but I can't find the download.
Any help/suggestions would be great.

On your Mac, try:
Adb remount
Then push.
Sent from my CyanogenMod Vision

Also I believe you do not want to mount your sdcard.
Sent from my HTC Vision using XDA App

For the USB drivers for Win 7 (and other Windows versions), download the HTC Sync software from the support section of HTC's website. The drivers are included in there. I am putting together a guide on adb, it's over on the dev forum on the DZ side.
Sent from my HTC Desire Z

Related

ADB Drivers

Ive been trying for quite some time now trying to get the adb drivers installed and no luck ive search found drivers but windows 7 cant find the driver in the folder ive selected which has them im lost ive rooted my old mytouch without a problem someone please help
download the htc sync. i got my friends slide rooted on my computer, which is all set up for my incredible if not, use the adb drivers.
Sent from my Incredible using XDA App
just downloaded and it never installed the drivers it came up with an error saying the folders for drivers didnt exist and i checked the htc drivers folder and it was empty anyway someone can just post the drivers for me thanks
download PDANet it has the drivers in it
also make sure you devices is in debug mode...
Windows 7 32Bit
Windows 7 64 Bit
Edit*
Its not the direct driver but it worked just dandy for me on my win 7 64 bit... getting adb to recognize the device however took forever
Thanks ill give it try
Sent from my T-Mobile myTouch 3G Slide using XDA App

[Q] HTC G2 Drivers

I need the drivers to manually load on my comp for adb.
Does anyone know how i can get them or have them by any chance?
thanks...
I downloaded mine through Android SDK.
Go to "Android SDK and AVD Manager > Available Packages > Usb Driver package"
Sent from my T-Mobile G2 using Tapatalk
The regular android adb drivers don't work on all versions of windows. For example I know they don't work on windows 7 64 bit. Corylulu had this same problem and modified his drivers somehow, so now they work. They're on XDA somewhere.
Sent from my T-Mobile G2 using XDA App
Do a search.
If you install PDAnet you'll get all the drivers you need. Then just uninstall and keep the drivers.
+1
or google even reading is important...bricks are cheaper
ADB drivers
ddgarcia05 said:
Do a search.
If you install PDAnet you'll get all the drivers you need. Then just uninstall and keep the drivers.
Click to expand...
Click to collapse
Yes! this worked pefectly, TY!
Sorry to bring up an old thread, I installed PDA Net today to try to get this to work. So far no dice. I have also downloaded HTC_Driver_64 & HTC_Driver_32 and still there has been nothing that works. Could it be that these drivers do not work with CM-7.0.3-vision?
they work. no issue with roms.
try usbdeview and just uninstall all android drivers and be careful not to delete any drivers you specifically added for other things or else youll have to reinstall them. google that shizzle up "usbdeview" its also in cm wicky.
Sent from my HTC Vision using XDA Premium App
I should have mentioned that I am also on Windows 7 64 bit.
Since this last post I have been trying to update all of the drivers on this Sony VAIO VGN-CR190 laptop. Seems like I had some old drivers installed for the ports. Hopefully updating them will help the situation.
That usbdeview is a pretty cool program. I went and installed the x64 version, and did will see if it can help debug what the deal is with my USB connection. Thanks.
You can download HTC sync from here
That has the usb drivers and works on win7 x64
-Nipqer
Nipqer said:
You can download HTC sync from here
That has the usb drivers and works on win7 x64
-Nipqer
Click to expand...
Click to collapse
Thank you very much, that finally worked and I can now use AppInventor & Sync.
Saweet
Thanks for the help!! I installed the HTC Sync, followed the how to install instructions (found on the download link site), plugged my phone and then BANG! my pc installed the drivers.
In platform tools opened up cmd to test it out (did this by typing in "adb devices") BOOM! it recognized my device .
Disclaimer for the noobs: BANG and BOOM were written for the sole purporse of humorous effect and should not be interpreted as actual steps or file names.
how do i keep the drivers?sorry im new at this
trying to root my phone but htc synd dsnt recognise it.
ddgarcia05 said:
Do a search.
If you install PDAnet you'll get all the drivers you need. Then just uninstall and keep the drivers.
Click to expand...
Click to collapse
Uninstalling pdanet should keep the drivers, but if you follow the xda or cyanogen wiki you can download the proper ones from there. Otherwise strawmetals pdf guide will have the links too (many say his guide is the easiest to follow)
Sent from my HTC Vision using xda premium
Set your computer to dual-boot a Linux distro. You won't need the drivers, just a copy of 51-android.rules.

Issues Connecting To ADB

I'm having a problem that is affecting two different computers, both of them gives me a 'adb device not found' message and it won't list my G2 when I typed in 'adb devices', the only difference between them is that in my laptop it gives me a message that it couldn't successfully install 'ADB'(Windows 7 Home 64 Bit) while my older Windows XP SP3 desktop gives me no such message.
Before replying, please note that I have Checked USB debugging and have done everything in the ADB for dummies thread, which includes the adding the tools part to Path and I have reinstalled my drivers more than five times (with and without USBDeview), each time with a different method. I am not mounting my SD card. I have also tried the PDAnet method. I have modified the android_winusb.inf file and reinstalled it. Tried uninstalling my USB Root Hub's as suggested by another. I have updated my USB Driver in SDK to rev 4. There aren't any yellow checkmarks in my Device Manager, however I have noticed that I only have 'Android Phone' and the subcategory 'Android Composite ADB Interface', I've heard that I should see another category like 'ADB Device Driver'. I have tried to fix this problem for five hours to root my G2, any help would be appreciated very much.
Where did you get your drivers from ? In the guide at http://forum.xda-developers.com/showthread.php?t=865685 I suggest getting them from the HTC Sync software, not the SDK.
I walked a guy with Win 7 through this the other day, and it worked fine for him.
I know it sounds like a stupid question but is the adb.exe file in your tools folder? If not, try running an advance search and only in the titles search for "drivers". You should only get about 10 returns. The top one should have some files attached named tools. Download them and extract the files to your tools folder. Then try running the adb devices again, yesterday I had to do that cuz for some reason adb.exe wasn't there.
I second getting the drivers from HTC Sync and remember the desire z is the same a G2 so run the seach for desire z for htc sync.
Sent from my HTC Vision using XDA App
ddgarcia05 said:
Then try running the adb devices again, yesterday I had to do that cuz for some reason adb.exe wasn't there.
Click to expand...
Click to collapse
adb has been taken out of the latest version of the SDK "Starter" package (the 2.3 one). It used to be there in the 2.2 version. So now you have to run SDK Manager to install the platform-tools add-on, then you get adb. This is all in my updated adb guide
ddgarcia05 - I didn't have adb in my tools folder, however I don't believe that you need adb.exe in that folder, just in the 'platform-tools' folder or in the system-32 fodler. Thanks for trying.
steviewevie - Thank you so much! I found your adb for noobs thread and it seems that installing HTC Sync after uninstalling my previous drivers via USBDeview worked like a charm. I also didn't see that you had to add 'platform-tools' in the Path in the various other threads, so I did that too. +1 Thanks to your helpful thread!

[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

[Q] PC (HTC Sync) Won't install drivers

Hello,
I have a problem the my HTC One X and my (Windows 7 x64) Computer. It won't install the correct drivers to use ADB and to see it in Windows Explorer. I've tried everythingI can think of. I know there thousands of other threads like this, and I read many of them but none provide a solution for me :/. I'm sure my One X is not the problem, it's working fine, I have a laptop wich also runs Windows 7 x64 and it's all working fine on it. (It's a Lenovo Ideapad Z500, i7 version) What I've tried:
- 4 different USB Ports (I have tried 2 USB2 ports and 2 USB3 ports. No luck.
- Remove the device from system using Windows Device Manager -> Disconnect phone -> Install HTC Sync -> Reboot -> connect phone. Nothing happens, Windows reports no drivers can be found.
- Manually select drivers from the HTC Sync Installation folder. Windows tells me those aren't the correct drivers. (For me: C:\Program Files (x86)\HTC\HTC Driver\Driver Files\Win7_x64)
And yes, USB debugging is on, and I do accept HTC Sync Manager on my phone. I am running ARHD 31.0. My phone does connect OK in Fastboot mode, by the way. I can use Fastboot commands perfectly fine. (Flash boot/recovery image, clear cache etc etc)
I have no idea what to do to get it working, but maybe you guys do? Any tips/ideas?
Thanks in advance.
Had this problem last week. I solved it this way:
- Uninstalled HTC Sync + HTC Drivers
- Installed ADB Universal Drivers: http://drivers.softpedia.com/get/MOBILES/Clockworkmod/Clockworkmod-Universal-Android-ADB-Driver.shtml
- Rebooted PC
- Booted my HOX in bootloader
- went to fastboot
- connected usb cable between pc and hox
- went in recovery mod (latest cwm version)
- from there I was able to push adb commands from my pc
I basically did what is said on this page: http://news.softpedia.com/news/A-Clockworkmod-Universal-ADB-Driver-Is-Finally-Up-for-Grabs-343944.shtml
You can also use ADB over network if your phone boot properly and if your PC is on the same wifi network.
Thanks Alray for the tips but it doesn't install that driver either. Still a big ! in device manager named Android Phone. And I shouldn't need to push anything to the phone AFAIK, as I said it all works fine on the laptop, Including ADB!
What if u turn on 'automatically install from windows update' option and let the windows make the work.
Sent from my HTC One X using xda premium
convict_moody said:
What if u turn on 'automatically install from windows update' option and let the windows make the work.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
It says it can't find good drivers in Windows Update.
Did u enabled the option?
This morning I faced the same problem since I recovered my pc to windows 7 x64 ultimate. And fixed it through the option, when I come home ill take screenshots and post. Btw the options are in the bottom of the window where it says driver failed.
Sent from my HTC One X using xda premium
convict_moody said:
Did u enabled the option?
This morning I faced the same problem since I recovered my pc to windows 7 x64 ultimate. And fixed it through the option, when I come home ill take screenshots and post. Btw the options are in the bottom of the window where it says driver failed.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
All options I can find about downloading drivers from the internet are enabled. When I tell the PC to look online for drivers, it won't find anything.
EDIT:
Okay, I had the setup look thru the whole C drive looking for drivers, it reported it found one. But failed installing because files were missing..... !? That makes me think there's something corrupt in Windows/System32/Drivers or somewhere in those driver folders.
Try this Link I think it is helpfull, if didn't help I will but when I reach home.
http://windows.microsoft.com/en-us/...ivers-and-updates-for-your-hardware#section_2
Sent from my HTC One X using xda premium
convict_moody said:
Try this Link I think it is helpfull, if didn't help I will but when I reach home.
http://windows.microsoft.com/en-us/...ivers-and-updates-for-your-hardware#section_2
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Thanks for the link I was looking for something like that. But nothing works, I already had setup everything automatic updating and driver search thru windows update. It can't find any drivers.
Hey, I just wanted to chime in on this thread because I'm having precisely the same problem as Qubica.
I'm using Windows 7/64 and I've been using this laptop to manage/root/ADB several Android devices for as long as I've owned it.
I noticed last Friday that I could no longer mount my T-Mobile G2 either as a USB mass-storage device nor could I connect to it using ADB. This was the day after Windows Update installed a bunch of patches, and I had also installed the updated chipset drivers for my laptop a few days earlier.
I took a look at the device manager and this is what I saw:
(android_devmgmt.png)
Now, that's weird because I mount the storage card at least two times a month to move files around. So I did what seemed like the reasonable thing and Uninstalled the device altogether, and then installed the HTC Sync app to reinstall the drivers, as I had done originally. Unfortunately, the "Android Phone" non-detection of the device has persisted.
The installation logs from the HTC Sync app also indicates that the drivers were successfully installed, but the installer seems to quit about halfway through the process, so it's not at all clear that the installation logs are accurate.
Here's what the properties sheet of that device looks like:
(android_devmgmt_properties.png)
I've been following the advice I've read here and elsewhere: I've attempted to download several different versions of the HTC drivers from various locations and manually point Device Manager at the folders containing those drivers. I've extracted and executed the HTCDriver.exe installer separately from the HTC Sync installer. I've attempted to install generic ADB drivers from a number of locations, including Google and the Clockworkmod Universal ADB drivers.
Here's the result when I try to install the drivers (by pointing Windows at the correct location for the driver files) or if I allow Windows Update to search for the drivers:
(cant-find-android-driver.png)
So, this morning I tried the more drastic step of uninstalling all of the USB Root Hub devices and rebooting the laptop. When the computer came back, it did not automagically reload those generic drivers, but fortunately I was able to manually choose the generic (Standard USB Host Controller) -> USB Root Hub device from the list of options, and it worked---for getting the USB ports to function, but not the Android device.
I've also checked to make sure there were no software restriction policies in place in gpedit.msc that affected the installation of the drivers, and found none. I also poked around in the Registry in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\PnpLockdownFiles path and found no problems there with either permissions or settings.
I'm basically at my wit's end here; Windows is behaving like the driver installation is subject to a software restriction policy -- seemingly, actively preventing the driver from being installed -- but nothing shows up in the logs that would indicate that a policy is in place. The laptop can't mount the device, and I'm kind of stuck.
I guess I'll follow the thread for a while and see if anyone else has any suggestions. Thanks in advance to all that offer their help.
Amishrabbit said:
--Long post--
Click to expand...
Click to collapse
Hi, I've did everything you did execept for uninstalling the USB root hub and looking in the registry, I hope someone has a solution....
Anybody?
I prefer uninstalling the driver (Called unknown device, and it appears when I plug the device) from device manager, unplug your device then replug it again and wait for windows to get your driver.
Sent from my HTC One X using xda premium
convict_moody said:
I prefer uninstalling the driver (Called unknown device, and it appears when I plug the device) from device manager, unplug your device then replug it again and wait for windows to get your driver.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I tried that many times, the problem is, it doesn't get the driver when I plug it back in.
Do u have linux?
Sent from my HTC One X using xda premium
convict_moody said:
Do u have linux?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Not at the moment, but I can get it.
If you can't solve the drivers problem, install linux then install adb and fastboot packages from the sftware marketplace. That should help.
Sent from my HTC One X using xda premium
convict_moody said:
If you can't solve the drivers problem, install linux then install adb and fastboot packages from the sftware marketplace. That should help.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
But there must be a way to get it working, as it works PERFECT on my laptop. (Wich uses Microsoft drivers!)
Here's a screenshot][ of my laptop:
http://i.imgur.com/WCT2ku2.png
Try uninstalling the unknown device, and when the driver not found notification appears click on it and take a screenshot and post it here.
Sent from my HTC One X using xda premium
convict_moody said:
Try uninstalling the unknown device, and when the driver not found notification appears click on it and take a screenshot and post it here.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I'll have to do that tonight, I can't access my PC right now. But you mean the notification on bottom right corner? If I click on it a small window pops up saying "ANDROID PHONE: No drivers found" with a red cross.

Categories

Resources