Diagnosing USB Driver and ADB issues in Windows - Nexus 5 Q&A, Help & Troubleshooting
Are you getting errors like "device not found" or "device offline" while trying to run ADB commands? Here's a quick way to troubleshoot your problem on Windows.
Steps
1. Ensure USB Debugging is enabled in Developer Options.
2. Verify current Google USB Driver is installed and that Device Manager is using that driver.
3. Update to latest version of ADB.
1. Ensure USB Debugging is enabled in Developer Options.
Enable Developer Options by going to Settings -> About Phone and tapping on "Build Number" multiple repeated times. You will be greeted with "You are a developer."
Now, under Settings -> Developer Options, ensure you check the box for "USB debugging."
2. Verify current Google USB Driver is installed and Device Manager is using that driver.
You may skip this step if Device Manager lists your phone as "Android Phone -> Android Composite ADB Interface." If it does not, this is likely your root cause.
Go to the Google USB Driver page and download the latest driver directly from Google. Extract the zip file to a folder you know and will remember in the future.
Open up Device Manger in Windows with your Nexus 5 connected. Whatever your Nexus 5 is currently detected as, right click on it and select Properties. Then, in the Driver tab, hit "Uninstall." If available, select "Delete the driver software for this device." and hit "OK." It will remove the old drivers.
Restart your computer.
After restarting, reconnect your Nexus 5. It should be recognized as an unknown device in the Device Manager. (If it isn't, try the previous driver deletion steps again.)
Right click on the unknown Nexus 5 device, choose Properties, and in the Driver tab again select "Update driver." Browse your computer manually by putting in the path to the new Google USB Drivers you unzipped to a folder of your choice in the beginning of this step. Choose next and your drivers should install! You'll know everything completed successfully when you see the phone listed under "Android Phone -> Android Composite ADB Interface" in Device Manager.
This is the most finicky process, so don't be afraid to reboot your computer a time or two and repeat these steps if they don't work on the first try.
3. Update to latest version of ADB.
This is a crucial step. The new version of ADB is required to work with the "USB debugging authorizations" setting.
Perhaps you know how to update ADB, in which case, just do it. However, here's a detailed manual approach to download JUST the adb suite from the SDK:
Go to the Google Android SDK website and choose "Use An Existing IDE" and click the "Download the SDK Tools for Windows." This will allow you to download only an 80 MB file rather than the whole 400 MB suite.
Install the SDK tools exe to a folder of your choosing.
Run SDK Manager and uncheck everything except for "Android SDK Platform-tools." This is the ADB and Fastboot bundle. Install that.
Navigate to your SDK Path as indicated at the top of your Android SDK Manager window. You will now see a freshly downloaded platform-tools folder containing ADB.exe, Fastboot.exe, and a host of other files. That folder is now your updated, portable ADB tools folder. You can move it anywhere you like as long as you run ADB from a command prompt window set to that directory.
After you've followed these procedures, running "ADB Devices" should trigger a prompt on your device to accept the RSA fingerprint of your computer. Accept it, and now all should be working as intended!
Questions? Ask below!
Crowd-sourced solutions.
Windows 8 Diagnosis
Yorus said:
The following worked for me, since all of the suggestions mentioned here didn't work for me:
If you use a Windows 8.1 enterprise N or KN edition, install the Microsoft Media Feature Pack :
http://support.microsoft.com/kb/2929699/en
Sounds too simple to be true but work instantly for me.
Hope it works you some of the people here looking for a solution
Click to expand...
Click to collapse
Setting up ADB and Fastboot commands to work from ANY path (credit to original author in quote).
Chromium_ said:
Setup, Preparation and Prerequisites
ADB and Fastboot Installation
Download the full Android SDK here (scroll to the bottom of the page>DOWNLOAD FOR OTHER PLATFORMS>SDK Tools Only) or get a slimmed version containing only the essential components here (Thanks @El Daddy)
Extract the zip and place the android-sdk-windows folder on the root of your hard drive. (the path should be like this: C:\android-sdk-windows)
**If you chose to download the slimmed sdk skip to step 5**
Only if you downloaded the full sdk: Go into the folder and run SDK Manager.exe. Install the following packages (there are a total of 4 packages):
- Tools > Android SDK Tools, Android SDK Platform-tools
- Extras > Android Support Library, Google USB Driver
Only if you downloaded the full sdk: Go back into the android-sdk-windows directory, and you should see a new folder named platform-tools. If not, repeat the step above.
Open a command prompt window and run "sysdm.cpl" (without the quotes) and a new window should popup. Go to the Advanced tab > Environmental Variables
Now focus your attention to the System variables box (the lower box). Scroll down and look for the Path variable > highlight it > click Edit > go all the way to the end of the Variable value text box, and paste the following entry:
Code:
;C:\android-sdk-windows\platform-tools
(OR WHATEVER PLATFORM-TOOLS DIRECTORY YOU PICKED)
Click OK then close all of the System Properties windows
You should now be able to use adb/fastboot commands no matter what location your command prompt is in. To confirm that it is indeed working, open a command prompt window and enter "adb version" (without the quotes). If it displays "Android Debug Bridge version x.x.xx" it is working. If it is gives an error saying that adb is not a recognized command, it has not been successful. Carefully repeat the steps above if this is the case.
Click to expand...
Click to collapse
The importance of being careful with your command choices.
MkVsTheWorld said:
"Be sure to use the CORRECT adb/fastboot commands, double-check the path on all commands, and double-check the existence of each file you are working with."
I hate to admit this, but I couldn't figure out why nothing was appearing in the device list when I did "adb devices", while the phone was in Fastboot. I did everything from A-Z and tore my hair out for 30 minutes until it hit me, my phone's in Fastboot. I've been messing with Android for 3+ years and made a newbie mistake lol.
Click to expand...
Click to collapse
Fixing MTP device not showing up after installing ADB drivers.
dbareis said:
I'm not sure what happened but on my WINDOWS 7 (64 bit) OS I had to modify "%WINDIR%\inf\wpdmtp.inf" as shown here: "http://forum.xda-developers.com/showpost.php?p=37930602&postcount=937". I then uninstall the device and drivers and performed a hardware scan to get it to work. I also added a "...PID_4EE2&MI_01" line but I am not positive that was required.
Hope that helps someone.
Click to expand...
Click to collapse
Whyzor said:
You should also mention what worked for me in post #16 (& confirmed by a few others in other threads). That is to toggle Settings - Storage - USB Connection type from Camera to Mass storage & also the debugging mode on & off.
Click to expand...
Click to collapse
Ashcunak said:
Op might wanna tack this onto the bottom of the main post as a last resort for folks to "start over" and be sure they have no old drivers installed.
http://www.nirsoft.net/utils/usb_devices_view.html
i had to use this program (right click run as admin if permissions are set) to remove EVERY single android related driver in order to get mine working.. turns out i had so many old ones in my system and some i couldn't remove from the device manager, the buttons wouldn't become click able..
Click to expand...
Click to collapse
CrazyIvan said:
I've tried everything and cannot get the authorization prompt to pop up on my Nexus5 so when I run adb devices the phone shows up as "unauthorized". Any suggestions? This is with updated sdk and USB drivers. Device manager shows phone as "Android Phone->Android Composite ADB Interface" and "Portable Device->Nexus 5". Tried toggling between MTP/PTP, USB Debugging on/off, stopping and starting the adb server (latest version 1.0.31).
Thanks in advance!
EDIT: Finally got the ba$tard! Run this for some adb debug logging:
adb kill-server
set ADB_TRACE=all
adb nodaemon server
Go and look back at the output from the start for any errors. In my case it couldn't mkdir in c:\users\administrator, which for me doesn't exist. I changed the Windows environment variable "ANDROID_SDK_HOME" to point to "C:\users\<my account dir>", closed the DOS window, re-ran the commands and I got prompted for the permission on my phone. Yee ha! Now I can fire up hello world with the SDK on my phone. Praise be to Google search for turning up this thread that told me about the debug logging.
Click to expand...
Click to collapse
SonicAngel said:
I just rooted my N5 (using the guide on this forum so I had no other drivers other than Google's SDK) and after unlocking my bootloader windows did not recognize my phone so I couldn't go further. Upon checking device manager I saw something called "AOSP on Hammerhead", a quick online search found a lot of very complicated answers (uninstall all drivers, restart, install adb drivers was one example).
Instead of all that I just right clicked "AOSP on Hammerhead", chose Update Driver, manually choose driver, went to "Android bootloader", chose the default driver from "Google inc" manually and that for some reason worked.
I figured this might help someone since the other solutions I found really were very long.
Click to expand...
Click to collapse
Questions? Ask below!
MaxRabbit said:
Reserved.
Questions? Ask below!
Click to expand...
Click to collapse
Hey man, thanks for the tutorial, I seem to still have trouble with this. Followed all the steps, even reset the device, to no avail. Anyone else having issues?
KTT16 said:
Hey man, thanks for the tutorial, I seem to still have trouble with this. Followed all the steps, even reset the device, to no avail. Anyone else having issues?
Click to expand...
Click to collapse
You're welcome! What shows up in your Device Manager now?
MaxRabbit said:
You're welcome! What shows up in your Device Manager now?
Click to expand...
Click to collapse
Hey thanks for the quick reply! I got it to work finally via: http://forum.xda-developers.com/showthread.php?t=2507905
Great tips and tutorial though..so stoked to have this phone!
KTT16 said:
Hey thanks for the quick reply! I got it to work finally via: http://forum.xda-developers.com/showthread.php?t=2507905
Great tips and tutorial though..so stoked to have this phone!
Click to expand...
Click to collapse
What step exactly did you take that fixed it?
MaxRabbit said:
What step exactly did you take that fixed it?
Click to expand...
Click to collapse
Open a command prompt window and run "sysdm.cpl" (without the quotes) and a new window should popup. Go to the Advanced tab > Environmental Variables
Now focus your attention to the System variables box (the lower box). Scroll down and look for the Path variable > highlight it > click Edit > go all the way to the end of the Variable value text box, and paste the following entry:
Code:
;C:\android-sdk-windows\platform-tools
Click OK then close all of the System Properties windows
You should now be able to use adb/fastboot commands no matter what location your command prompt is in. To confirm that it is indeed working, open a command prompt window and enter "adb version" (without the quotes). If it displays "Android Debug Bridge version x.x.xx" it is working. If it is gives an error saying that adb is not a recognized command, it has not been successful. Carefully repeat the steps above if this is the case.
KTT16 said:
Open a command prompt window and run "sysdm.cpl" (without the quotes) and a new window should popup. Go to the Advanced tab > Environmental Variables
Now focus your attention to the System variables box (the lower box). Scroll down and look for the Path variable > highlight it > click Edit > go all the way to the end of the Variable value text box, and paste the following entry:
Code:
;C:\android-sdk-windows\platform-tools
Click OK then close all of the System Properties windows
You should now be able to use adb/fastboot commands no matter what location your command prompt is in. To confirm that it is indeed working, open a command prompt window and enter "adb version" (without the quotes). If it displays "Android Debug Bridge version x.x.xx" it is working. If it is gives an error saying that adb is not a recognized command, it has not been successful. Carefully repeat the steps above if this is the case.
Click to expand...
Click to collapse
Ahh, your problem with my instructions then were that you weren't running ADB from inside the platform-tools folder
Definitely! I seriously got frustrated for a second and forgot how to read!
Sent from my Nexus 5 using XDA Premium 4 mobile app
Not showing up as removable storage
Hi, maybe you can help me.
Last night I unlocked my N5 using CF-Root, and flashed TWRP using Flashify. However, when I plug my N5 into my home computer it doesn't ever show up under 'My Computer' with other removable storage devices. It is present in the device manager under 'Android Phone -> Google Nexus ADB Interface'.
I've tried restrarting my computer, uninstalling the drivers and reinstalling them. Developer mode is enabled and if I switch from MTP to PTP then is shows up under removable storage, but I only have access to the DCIM folder. Switching back to MTP makes it disappear.
On my work computer it shows up correctly no problem.
My personal computer has had multiple installations of WugFresh Root toolkit and ADB/SDK files for my previous Galaxy Nexus and Nexus 7 but I uninstalled most of that before setting up the N5.
Thanks!
JonnyRock said:
Hi, maybe you can help me.
Last night I unlocked my N5 using CF-Root, and flashed TWRP using Flashify. However, when I plug my N5 into my home computer it doesn't ever show up under 'My Computer' with other removable storage devices. It is present in the device manager under 'Android Phone -> Google Nexus ADB Interface'.
I've tried restrarting my computer, uninstalling the drivers and reinstalling them. Developer mode is enabled and if I switch from MTP to PTP then is shows up under removable storage, but I only have access to the DCIM folder. Switching back to MTP makes it disappear.
On my work computer it shows up correctly no problem.
My personal computer has had multiple installations of WugFresh Root toolkit and ADB/SDK files for my previous Galaxy Nexus and Nexus 7 but I uninstalled most of that before setting up the N5.
Thanks!
Click to expand...
Click to collapse
same issue on my side...I canot use MTP only PTP...I also tryed new drivers from SDK but has not solved the problem
Alex
JonnyRock said:
Hi, maybe you can help me.
Last night I unlocked my N5 using CF-Root, and flashed TWRP using Flashify. However, when I plug my N5 into my home computer it doesn't ever show up under 'My Computer' with other removable storage devices. It is present in the device manager under 'Android Phone -> Google Nexus ADB Interface'.
I've tried restrarting my computer, uninstalling the drivers and reinstalling them. Developer mode is enabled and if I switch from MTP to PTP then is shows up under removable storage, but I only have access to the DCIM folder. Switching back to MTP makes it disappear.
On my work computer it shows up correctly no problem.
My personal computer has had multiple installations of WugFresh Root toolkit and ADB/SDK files for my previous Galaxy Nexus and Nexus 7 but I uninstalled most of that before setting up the N5.
Thanks!
Click to expand...
Click to collapse
This is a really strange problem :-/ what does it show up as when you are in device manager on your work computer?
MaxRabbit said:
This is a really strange problem :-/ what does it show up as when you are in device manager on your work computer?
Click to expand...
Click to collapse
It shows up as a 'Portable Device' -> 'Portable Media Player' (I was thinking it was a 'Device with Removable Storage').
I have full access to the internal file folders here at work.
Here's a suggestion for something to add to the OP.
"Be sure to use the CORRECT adb/fastboot commands, double-check the path on all commands, and double-check the existence of each file you are working with."
I hate to admit this, but I couldn't figure out why nothing was appearing in the device list when I did "adb devices", while the phone was in Fastboot. I did everything from A-Z and tore my hair out for 30 minutes until it hit me, my phone's in Fastboot. I've been messing with Android for 3+ years and made a newbie mistake lol.
Sent from my Nexus 5 using Tapatalk
JonnyRock said:
Hi, maybe you can help me.
Last night I unlocked my N5 using CF-Root, and flashed TWRP using Flashify. However, when I plug my N5 into my home computer it doesn't ever show up under 'My Computer' with other removable storage devices. It is present in the device manager under 'Android Phone -> Google Nexus ADB Interface'.
I've tried restrarting my computer, uninstalling the drivers and reinstalling them. Developer mode is enabled and if I switch from MTP to PTP then is shows up under removable storage, but I only have access to the DCIM folder. Switching back to MTP makes it disappear.
On my work computer it shows up correctly no problem.
My personal computer has had multiple installations of WugFresh Root toolkit and ADB/SDK files for my previous Galaxy Nexus and Nexus 7 but I uninstalled most of that before setting up the N5.
Thanks!
Click to expand...
Click to collapse
I have the same problem and done the same exact things u did. any help?
I'm having no luck with unlocking bootloader of my Nexus 5 today. I've unlocked previous Android devices fine, but this one for some reason it's not detecting it in USB drivers. It shows as Other devices -> Nexus 5 in device manager, but when I select update driver & navigate to the dir where Android SDK/extras/google/usb_driver
Windows was unable to install your Nexus 5
Windows could not find driver software for your device.
I updated the OTA that came right away earlier, maybe this caused the Windows USB drivers to not work match the updated OTA build? Is there a way to ensure that old windows driver is uninstalled? I can only select 'uninstall', but not the 'remove old driver files' some docs mention. Also when I connect my Nexus 4 it's fine, and enabling debugging mode prompts for to allow the security fingerprint of the PC. But this prompt doesn't appear on Nexus 5, not sure if it's supposed to happen AFTER the PC is able to communicate with the N5 or not, which is the step that I'm stuck on. Tried it on another Windows 7 system and same problem.
UPDATE: Well my Nexus 4 worked fine along with adb until a few minutes ago, after toggling the Debugging Mode on the phone, it's not recognized on Windows now either. So definitely think it's a Windows 7 or Google USB Driver issue. Any pointers on how to start over (without reinstalling Windows) would be appreciated.
UPDATE 2: For future reference, I got around my Windows driver issue by going into Nexus - Settings - Storage - USB computer connection, toggle to Camera (PTP) and Media device (MTP), that reinitialized windows to recognize it in Device Manager again. Stupid Windows.
aluxzen said:
same issue on my side...I canot use MTP only PTP...I also tryed new drivers from SDK but has not solved the problem
Alex
Click to expand...
Click to collapse
I'm not sure what happened but on my WINDOWS 7 (64 bit) OS I had to modify "%WINDIR%\inf\wpdmtp.inf" as shown here: "http://forum.xda-developers.com/showpost.php?p=37930602&postcount=937". I then uninstall the device and drivers and performed a hardware scan to get it to work. I also added a "...PID_4EE2&MI_01" line but I am not positive that was required.
Hope that helps someone.
Whyzor said:
UPDATE 2: For future reference, I got around my Windows driver issue by going into Nexus - Settings - Storage - USB computer connection, toggle to Camera (PTP) and Media device (MTP), that reinitialized windows to recognize it in Device Manager again. Stupid Windows.
Click to expand...
Click to collapse
That... Thankyou for that info.
I was able to get ADB to work but was not able to get the device to popup as a storage device. That fixed it. Thanks!
I'm not sure what happened but on my WINDOWS 7 (64 bit) OS I had to modify "%WINDIR%\inf\wpdmtp.inf" as shown here: "http://forum.xda-developers.com/show...&postcount=937".
Click to expand...
Click to collapse
Thanks, that link was really helpful! I struggled with the correct detection before (seems I had some old drivers for my last phone on that windows installation...)
Whyzor said:
I'm having no luck with unlocking bootloader of my Nexus 5 today. I've unlocked previous Android devices fine, but this one for some reason it's not detecting it in USB drivers. It shows as Other devices -> Nexus 5 in device manager, but when I select update driver & navigate to the dir where Android SDK/extras/google/usb_driver
Windows was unable to install your Nexus 5
Windows could not find driver software for your device.
I updated the OTA that came right away earlier, maybe this caused the Windows USB drivers to not work match the updated OTA build? Is there a way to ensure that old windows driver is uninstalled? I can only select 'uninstall', but not the 'remove old driver files' some docs mention. Also when I connect my Nexus 4 it's fine, and enabling debugging mode prompts for to allow the security fingerprint of the PC. But this prompt doesn't appear on Nexus 5, not sure if it's supposed to happen AFTER the PC is able to communicate with the N5 or not, which is the step that I'm stuck on. Tried it on another Windows 7 system and same problem.
UPDATE: Well my Nexus 4 worked fine along with adb until a few minutes ago, after toggling the Debugging Mode on the phone, it's not recognized on Windows now either. So definitely think it's a Windows 7 or Google USB Driver issue. Any pointers on how to start over (without reinstalling Windows) would be appreciated.
UPDATE 2: For future reference, I got around my Windows driver issue by going into Nexus - Settings - Storage - USB computer connection, toggle to Camera (PTP) and Media device (MTP), that reinitialized windows to recognize it in Device Manager again. Stupid Windows.
Click to expand...
Click to collapse
Thank you for sharing your solution.
Related
[GUIDE] adb for your gtab (windows)
hello all, i had some small trouble setting up adb for my viewsonic gtab, so once i figured it out i thought i'd share. so far, this is confirmed working only on windows 7 32 and 64 bit. vista should be the same, but i'm not sure, i'll keep you posted. EDIT: we've confirmed these steps for at least vista 32 and xp 32-bit. there shouldn't be any differences between the 32 and 64 bit systems as far as the instructions go. most of my information comes from nvidia's tegra site, here. that's a pretty technical-minded page though, so i wanted to condense it. make sure usb debugging is turned on for your tablet (settings -> applications -> development -> usb debugging) 1. open your device manager (right click My Computer -> Manage -> Device Manager) if you haven't done anything to set up drivers yet, skip to step 4. 2. find your gtab. depending on your previous attempts, this may be under "Android Phone" at the top (Android ADB Interface, make sure it's your tab and not your phone), or under "Universal Serial Bus controllers" on the bottom (called Android somethingorother. should be at the top of the list.) 3. uninstall it. right click, uninstall. check the box that asks you if you want to delete driver software. i didn't need to use usbdeview to uninstall the drivers, but if you're running into issues on this step try it. usbdeview must be run as administrator, thanks droidjunkie. it looks like most people should just skip right to usbdeview to uninstall any old drivers. like i said, i didn't have any issues using windows' "delete driver software" option, but apparently i was just lucky. rcgabriel recommends usbdeview, and he knows stuff. 4. unplug, and plug your tablet back in. now your device should be under "Other Devices" near the middle (will have a yellow exclamation icon, called NVIDIA harmony). good. 5. hopefully you have the android sdk installed. if you don't, go find a generic guide on setting up adb and then come back. when you have the sdk installed, you need to run "SDK Setup.exe" from where you installed it and use it to download and install the usb drivers (currently r8). 6. open the "usb_driver" folder in your sdk directory. right click "android_winusb.inf" and open it with notepad or your favorite text editor. 7. under the "[Google.NTx86]" section, paste the following: Code: ;NVIDIA Tegra %SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000 %CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01 save the file and exit. 8. go back into device manager. right click your tablet, select update driver, and click "browse my computer...", then "let me pick...", then "next", then "have disk" if you're confused on this step, check this post. 9. browse to your android sdk, under the usb_driver folder, and select the "android_winusb.inf" file. 10. of the three choices, the bottom should say "Android Composite ADB Interface". choose it. click next, and allow the driver to install even though you get a big scary red warning. 11. open a command prompt, preferably in the tools directory of your sdk. type the following: Code: echo 0x955 > "%USERPROFILE%\.android\adb_usb.ini" and hit enter. it will just return a new prompt line. 12. test it out. Code: adb kill-server adb devices you should see your device's serial number. all is well. congrats. let me know if i should add or clarify anything here. thanks!
Just in case anyone doesn't know what ADB is: http://developer.android.com/guide/developing/tools/adb.html Thank you so much! Great info!
this is great! thanks for the concise writeup
I had trouble too. I was unable to get uninstall device to work and put the device under Other devices. I was advised to use usbdeview from pershoot. I used this program to remove the device and was able to get it moved to Other devices in Device Manager. HTH
Thanks for all the tips, everyone, but I've been trying for days to be able to connect my gtab to use as a device for installing/debugging my apps. I too am running Eclipse using the emulators to date. I've tried the steps outlined by iammuze, as well as others that are slightly varied, but to no avail. I am running Vista SP2. My Gtab has been rooted, running ClockworkMod, and TnTLite 2.2. I also updated the Google USB package, rev 4 via the SDK/AVD Manager after attempting to use the rev 3 usb package. Should any of these be reason why I cannot connect my gtab to Eclipse via ADB? I'm totally frustrated...If anyone has any other suggestions, please forward them on! Thanks in advance.
THANK YOU!!! after trying many different guides this one worked...other then the fact that I had to right click usbdeview and click "run as administrator" in order to delete the driver it keep installing when i would plug in my tab. I am on windows 7 32 bit, for anyone else having problems getting adb working that is using windows 7.
Thanks I am finally connected via adb.
rlapela said: Thanks for all the tips, everyone, but I've been trying for days to be able to connect my gtab to use as a device for installing/debugging my apps. I too am running Eclipse using the emulators to date. I've tried the steps outlined by iammuze, as well as others that are slightly varied, but to no avail. I am running Vista SP2. My Gtab has been rooted, running ClockworkMod, and TnTLite 2.2. I also updated the Google USB package, rev 4 via the SDK/AVD Manager after attempting to use the rev 3 usb package. Should any of these be reason why I cannot connect my gtab to Eclipse via ADB? I'm totally frustrated...If anyone has any other suggestions, please forward them on! Thanks in advance. Click to expand... Click to collapse I had the same experience on Windows 7 that you are having now. Like you, I tried following all the instructions similar to the ones listed above plus advice from other forums and still could not get it to work. I was finally able to get mine working after I discovered Windows still had some drivers from previous failed attempts stored in its system files. These old drivers were interfering with the proper installation of the new usb driver. To get rid of the old drivers completely, do a file search for the file named android_winusb.inf in your Windows/System32/DriverStore. If your search results show several file folders with the same driver, try to delete each of the those folders completely. After those folders are deleted, you can do a clean install following iammuze's instructions. NOTE: To delete those folders you will have to change the folder permissions. It won't be easy to do, because Windows doesn't like having its system files messed with. Unfortunately, I can't give you exact instructions on this, because I don't currently have a Vista machine.
rlapela said: Should any of these be reason why I cannot connect my gtab to Eclipse via ADB? I'm totally frustrated...If anyone has any other suggestions, please forward them on! Click to expand... Click to collapse where does your gtab show up under device manager?
Thanks, it worked great! ADB screen shots! Look at this mess I have crammed onto one page.
[UPDATE: Problem solved: I had two versions of adb in my PATH and the old version (1.0.20) was being executed instead of the new version (1.0.26). Apparently the old adb silently fails and returns no devices when used in conjunction with the current drivers. I worked this out by accident. But if you're looking for ideas, there are lots in the ADB for Dummies thread: http://forum.xda-developers.com/showthread.php?t=502010 ] Hi All I've been banging my head against this for hours with no luck. I can't get adb to recognise my gTablet. Here's what I've done: I'm on WinXP. gTablet is running zTab Clean 3.0 - I've downloaded the latest ADB USB drivers using the Android tools (driver verion 4.0, December 12 2010). - I've made the modifications to android_winusb.inf noted above. - USB Debugging is enabled on the gTab - adb_usb.ini contains a single line containing: 0x955 I've followed various instructions and the driver install ~seems~ to go ok, but adb doesn't work. Windows Device Manager lists the following devices which are associated with NVIDIA Harmony: Android Phone > Android Composite ADB Interface Universal Serial Bus controllers > USB Composite Device Universal Serial Bus controllers > USB Mass Storage Device USBDeview lists three devices: NVIDIA Harmony NVIDIA Tegra 2 USB Device NVIDIA Harmony USB Mass Storage Device NVIDIA Harmony Android Composite ADB Interface The first is listed as connected. The others aren't. When run adb i get this: > adb kill-server > adb devices * daemon not running. starting it now * * daemon started successfully * List of devices attached No devices are listed. I have tried many combinations of uninstalling these devices (with Device Manager and with USBDeview). When I reconnect I get prompted to install drivers. I have tried installing at this point, cancelling and then installing in Device Manager, not cancelling so the Plug and Play window stays open and uninstalling with device manager. None of this has worked. Also the device drivers seem to linger on my machine as they seem to auto-reinstall even after I have uninstalled them (I've also tried the suggestion of searching and deleting the .inf and .dlls from C:\Windows -- that didn't work out either). I have also been careful to make sure adb is not running when I change the drivers. I have tried rebooting the computer and the gTablet after various installs. The only way I can get the gTablet to appear in "Other devices" is to plug the device in (the PnP window pops up, I leave it open and ignore it). Then I delete the drivers in USBDeview. Then I unplug and replug the gTablet. Now there is one device in "Other devices": NVIDIA Harmony. Problem is, if I right-click "Update driver..." it won't let me install from the Android .inf, it says "The specified location does not provide information about your hardware." and forces me to install "USB Composite device". Once that's installed, two more NVIDIA Harmony devices appear in "Other devices". The first requires me to install "USB Mass Storage Device" (once again won't accept the .inf). The third does allow me to install "Android Composite ADB Interface". That gets me to the point where the drivers are loaded as listed above. But adb still lists no devices. When I first started trying to set this up I had old drivers for the original HTC android phone installed. I deleted these with USBDeview. I think that's all the information I have. Please let me know if you have any suggestions, I'd love to get this working. Thanks!
A real plus would be screenshots, I'm getting a little confused at the device manager window, especially the part where it's supposed to give you the option "let me pick" > "have disk" > locate the .inf > choose the last of the three choices I'm not getting any of those windows/options. Also, when I uninstall it, unplug the gTab, and plug it back in, it just re-installs the default Tegra driver. Any help? Right now my device is showing up under "Disk Drives" as "NVIDIA Tegra 2 USB Device", and then also under "Portable Devices" as "G:\" EDIT: Fixed! (Sorta) I found another forum that told me that in Device Manager, select "Add Legacy Hardware" from the "Action" menu. After going through there, I was able to complete the steps you told me to. If anybody's having the same problem I had before, I am using Windows 7 64-bit, so that may be part of the problem? I'm not sure. But it's installed now and in Device Manager it's under the "Android Phone" section as "Android Composite ADB Interface". However this raises a new problem, it has a yellow triangle with an exclamation mark over the icon, and it comes up with the error "Error code 10: Device cannot start". Any help?
you edited the .inf file to contain the three lines specified, and selected the modified driver when adding the driver, correct? i'll try to add some screenshots for the dev manager section
after right clicking your gtab in device manager and selecting "update driver software" you should follow these steps to get going on win7 64-bit http://dl.dropbox.com/u/5541925/drivergtab.png
Hi, FYI, one thing to be careful of: In the thread where there's info about adding the 3 lines to the .inf, there's also a full .inf file. If you try to use the full .inf file, note that it has references to various DLLs, which may, or may not match the DLLs in the driver install directory, so, if you use that full .inf from the thread, you have to adjust those DLL references to the ones for the DLLs you actually have on your machine. In my case, I found it easier to just add the 3 lines to the .inf that came when I installed the USB driver files from the Android development website, which then worked. Just an FYI... Jim
iammuze said: after right clicking your gtab in device manager and selecting "update driver software" you should follow these steps to get going on win7 64-bit http://dl.dropbox.com/u/5541925/drivergtab.png Click to expand... Click to collapse THIS IS PIVOTAL... This is where I had the hang up. Make sure that you are looking at iammuze's pic here, especially the 2nd image. by default most of us are used to just pointing to the correct directory where we DO have the modified .ini and it grabbed the wrong one. You HAVE to select 'let me pick' Thank you iammuze for pointing this out. I think that's where most get lost. It haunted me for weeks as I was just 'skinning' through directions and missed this important step!
Just a quick suggestion - instead of trying to hunt around and fix drivers that are already installed and broken, I highly suggest using USB Deview (http://www.nirsoft.net/utils/usb_devices_view.html) which lets you nuke out the old drivers easily on a Windows Vista/7 machine. I had old ADB drivers from my Nexus One sitting around, and I was unable to uninstall stuff with Device Manager. Just run USBDeview **as administrator** if you are on Windows Vista/7 and you can uninstall old drivers for USB devices with a single click (in this case, just nuke any old Harmony drivers or other ADB drivers). Then the next time you plug in your G Tab, you should be able to select the proper drivers as suggested in the first post.
doesn't work So i have also been trying for days and can't get it working right. Running Windows Vista, have ADB installed, and can connect to other Android devices. I have setup the android_winusb.inf properly, but when I connect my device it shows up in Device Manager as a Portable Device->Tegra. I have uninstalled the tablet and every other android device using usbdeview as admin I have searched and destroyed all other usb.inf files. i am running VEGAn-1.0.5B No matter what happens, as soon as I plug in the tablet it immediately installs it as a Tegra Portable. any help is appreciated!
that's very odd, i haven't seen that device description before. it doesn't sound like a vista issue... do you have another computer with vista on it anywhere that you can plug your gtab into? just to see what it reports to dev manager on a super clean system.
Old drivers were conflicting from previous installation attempts for me as well. All is working well once USBDeview was finally able to uninstall the device, however, it took multiple attempts and reboots for it to actually remove them. All is well now, and my Device is connected to the ADB. Thanks Everyone!
[Q] ADB No devices show
I installed the correct drivers, and PDANet WAS pushed to my phone via ADB. but when I do a "adb devices" none show. Device manager see's the device correctly and I uninstalled and reinstalled the drivers 3 times. USB debugging is on also.I'm on windows 7 x64. Any solution?
easy way to set up fastboot and adb http://forum.xda-developers.com/showthread.php?t=1474895
tylerwatt12 said: I installed the correct drivers, and PDANet WAS pushed to my phone via ADB. but when I do a "adb devices" none show. Device manager see's the device correctly and I uninstalled and reinstalled the drivers 3 times. USB debugging is on also.I'm on windows 7 x64. Any solution? Click to expand... Click to collapse Make sure ur phone is in fastboot mode. Turn off power vol up then check Sent from my Nexus S using Tapatalk
Did you set your environment variables to show the path located to your sdk folder? If not, then you need to be in the folder where adb is located in your command prompt. Go to the Control Panel, and select the System Properties (Windows XP) or System (Windows Vista/7). Select the Advanced settings; Windows XP: Click on the Advanced tab.Windows Vista/7: Click on Advanced system settings on the left. Click on Environment Variables. Under the "System variable" section, you will look for "Path". Double-click on it. In the "Variable values" section, add at the very end the location of the tools & package-tools folder, with a semicolon separating these two paths from the rest, e.g. %SystemRoot%;C:\android-sdk-windows\platform-tools;C:\android-sdk-windows\tools. That is taken from the cyanogen wiki on how to set up adb and android sdk. http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK Hope this helps.
Can't get One S USB driver installed!
I've tried the following: 1) Installing HTC Sync Manager and HTC Sync (the older version of Sync Manager) 2) Installing the drivers included with hasoon's All-in-One Toolkit. Neither works. Both methods result in a device labeled "E:" showing up under "Portable Devices" in Device Manager, but adb devices shows no devices, and if I choose on the phone to use it as a disk drive, it does not show up under My Computer. I previously had a Galaxy Nexus and I had the adb usb drivers installed for that. The only thing I can think of is that the computer is somehow still defaulting to those drivers instead of using the HTC drivers, but I don't know how to solve that problem, if that is even the problem. Any advice would be greatly appreciated! Oh, and I also had the android-sdk installed for my Galaxy Nexus. Any chance that completely uninstalling it would help?
I had the same problem but i just figured out how to make my PC to see the HTC One S (My Windows 7 is in Italian, so I don't know the exact translation for the links) Start -> Right click on Computer -> Manage -> Devices -> Select the HTC Android Phone USB Device you will have in "DVD/CD-ROM", right click on it and "Deactivate" it, then you have to right click the other HTC Android Phone USB Device you will have under "Disc units" or something like that and right click it, then "Software update" (I repeat, I don't know how the buttons will be in English since I'm on Italian windows, but it'd be similar) and select the second button "Search driver software in my computer" then again the button below "Choose manually" and then just click on "Disc unit" and finally "Next" and it should work... Hope it helped!
chrikenn said: I've tried the following: 1) Installing HTC Sync Manager and HTC Sync (the older version of Sync Manager) 2) Installing the drivers included with hasoon's All-in-One Toolkit. Neither works. Both methods result in a device labeled "E:" showing up under "Portable Devices" in Device Manager, but adb devices shows no devices, and if I choose on the phone to use it as a disk drive, it does not show up under My Computer. I previously had a Galaxy Nexus and I had the adb usb drivers installed for that. The only thing I can think of is that the computer is somehow still defaulting to those drivers instead of using the HTC drivers, but I don't know how to solve that problem, if that is even the problem. Any advice would be greatly appreciated! Oh, and I also had the android-sdk installed for my Galaxy Nexus. Any chance that completely uninstalling it would help? Click to expand... Click to collapse Try this first: Install drivers on you PC, as you have done. Also don't forget to enable "Debugging mode" in settings. After that, when you connect phone to PC, don't select anyhing, leave it at default of "just charging". If after the above it still won't work, then you will have to: 1) Uninstall the drivers that you installed from the toolkit. 2) You will need to change how windows handles installation of drivers, once the device is connected. a) Right click on "Computer", then properties. b) From the left, click on Advances System Settings c) Click on Hardware tab. d) Click on the second button "Device Installation Settings" e) If you have "Yes..." selected, select "No" instead. f) Now select "Install driver from Win Update if it is not found on my computer and save! 3) Restart you PC 4) Go to the Hasoon's All-in-One Toolkit folder and install HTC drivers again. Just make sure your phone isn't connected at this time. 5) After intallation is done, just connect you phone. Make sure "debbuging icon" is present on the phones notification bar and that is it, you don't need to enable usb storage mode. Hope it helps.
[Q] Windows drivers for Nabi2
I've read a couple dozen of the pages from http://forum.xda-developers.com/showthread.php?t=1905674&page=95 titled Nabi2 root and Gapps install Click to expand... Click to collapse . Using Win7 x64. Nabi2 version: 1.9.37 recently updated. Can't post to above thread because this is my first post (restricted to "General" forums). In "Jmz Nabi Recovery Installer" window it is always stuck in the "If stuck here drivers are not installed" step. Prior to installing "PdaNet for Android" from http://junefabrics.com/index.php, I had 2 devices in Control Panel under "Other devices" with a yellow '!'. One of the looked like the Nabi device. The other is named "MTP". After installing PdaNet, only MTP remains with the yellow exclamation point. What should the Nabi look like in the Control Panel if its properly configured with a driver and where would it be? And what is MTP? Apparently I'm still having a driver/connection problem from adb. USB Debugging is on in the Nabi.
Put the nabi in 'fastboot' mode Open a CMD Prompt and browse to the 'files' folder within 'jmzrootpackage' Then type: adb.exe fastboot devices It should return a value (fastboot working and drivers are installed) Let me know how it goes.
Put the nabi in 'fastboot' mode Open a CMD Prompt and browse to the 'files' folder within 'jmzrootpackage' Then type: adb.exe Click to expand... Click to collapse Part of this command is missing right? Without input parms it just outputs the "uses" message. fastboot devices Click to expand... Click to collapse Unfortunately this returned nothing for me. I'm glad you responded. Other suggestions?
Here is how i done it using Windows 8 x64 I done 3 nabi2's this way but had a lot of trouble first so here is what worked for me: Sadly, i don't have any nabi2 with me now to explain exactly how i done it 1) First boot the Nabi2 normally and turn off usb debugging. 2) When fully booted connect USB cable. 3) Check device manager and drivers should be installed. 4) Unplug USB cable and turn on USB Debugging and Unknown Sources. 5) Reconnect USB Cable. 6) Drivers should install. 7) Install PDA Net on Laptop/PC 8) Select Samsung device from option screen when installing. 9) Wait for install to complete and drivers to install 10) Shut down Nabi2 11) Boot Nabi in fastboot (Hold + and Power buttons) 12) Select fastboot protocol 13) Here i seen Windows 8 take about 60 seconds installing fastboot drivers To make sure fastboot drivers are installed i went to this thread Code: http://forum.xda-developers.com/showthread.php?t=1590800 and download ADB (save it to C:\SDK\platform-tools) and read over the helpful instructions in the thread. Open command Prompt Type the following (shown in RED) in the CMD window the opened: cd\ cd C:\SDK\platform-tools adb.exe (a list of options should be listed) fastboot devices (it should list a number after you enter this) If number displayed then you are good to go. Reboot Nabi2 and wait to complete Go to the location you saved jmzrootpackage Go to files folder inside jmzrootpackage Double click install.bat Follow on screen prompts ( I took option 1) TWRP recovery installs I had trouble installing GAPPS.zip with an error being displayed about unable to mount /data I copied GAPPS.zip to a SD Card and inserted to Nabi2 i install zip from EXT-SD Card even though it gives a load of errors about not able to mount /data Wipe Cache/Dalvik Reboot Nabi2 Go to daddy/mommy mode and you should have Google Apps installed. Any problems let me know.
I'm using Windows 7 x64. Your instructions with selecting "Samsung" for PdaNet install appears to have done something right. So maybe I'm a little closer. It completed the PdaNet install successfully and when I reconnect the Nabi I see a message popup on Windows saying PdaNet connected something. (It was too quick.) So maybe I'm not doing the "Fastboot" portion correctly. On Nabi hold <Power> and <Vol+> down at same time to turn it on. Resulting Menu: Boot Normally Fastboot Protocol Recovery Kernel Forced Recovery Use <Vol-> to move the selected item. Moved selected item down to "Fastboot Protocol". Use <Vol+> to "enter" selected item. New Menu: Bootloader Continue Reboot-bootloader Reboot Poweroff Selected "Continue", and entered(<Vol+>). At this point the Nabi boots up. On PC in adminstrator mode for command window and with ALL anti-virus security turned off: > adb.exe kill-server > adb.exe start-server * daemon not running. starting it now on port 5037 * * daemon started successfully * > fastboot.exe devices Nothing. (sigh)
After looking at Victoria Antonio's youtube of this process I'm convinced the driver install is still not correct. Somehow it gets mucked up when I use PdaNet. Not sure how or why. To make this picture clearer I posted some screen shots on my website: http <colon, 2 forward slashes>skippyvondrake.com I hope someone can tell me how to unmuck what I've mucked.
skippyV said: Selected "Continue", and entered(<Vol+>).) Click to expand... Click to collapse Don't press Continue on the Nabi after selecting fastboot protocol After selecting fastboot protocol leave it. skippyV said: > fastboot.exe devices Click to expand... Click to collapse The command is: fastboot devices not fastboot.exe devices
Thanks for telling me about when I'm in fastboot mode. I DO get a device number when in fastboot mode and from 'fastboot devices' But adb still cannot "see" the device. All commands using adb result in: error: device not found Regardless of what mode the Nabi is in.
SOLVED I finally decided to try this with a different computer. Same OS and architecture. But this computer didn't have various android development "kits" installed previously. And it worked without a hitch. The youtube by Victoria Antonio pointed out a few nuances I didn't know. And you helped too, BBKGTTDi, so giving you "thank you" points. Chow!
Glad you got it work SkippyV I just need to figure out now, when i download a game to the Nabi2 from the playstore, how to get it so show in the kids mode
BBKGTTDi said: Glad you got it work SkippyV I just need to figure out now, when i download a game to the Nabi2 from the playstore, how to get it so show in the kids mode Click to expand... Click to collapse When I get there - if I figure it out - I'll send you a private email sense that would be a different "thread'. There are other nuances I've noticed too...
show game in Nabi mode after rooting @BBKGTTDi, I thought there would be a way to send private messages/emails on this forum - but I don't see it. I ran into the same problem after rooting the Nabi. The "Add Apps" app doesn't work as its supposed to. It worked prior to rooting. It does list the newly installed apps, but selecting them for Nabi-Mode, rebooting, and they aren't there. Only visible in Mommy/Daddy mode. So if you figure it out please let me know!
The "Add Apps" app is working correctly now. Don't know what happened before. I must be getting "Nabi-ed out". Let me know if you're still having troubles.
skippyV said: I'm using Windows 7 x64. Your instructions with selecting "Samsung" for PdaNet install appears to have done something right. So maybe I'm a little closer. It completed the PdaNet install successfully and when I reconnect the Nabi I see a message popup on Windows saying PdaNet connected something. (It was too quick.) So maybe I'm not doing the "Fastboot" portion correctly. On Nabi hold <Power> and <Vol+> down at same time to turn it on. Resulting Menu: Boot Normally Fastboot Protocol Recovery Kernel Forced Recovery Use <Vol-> to move the selected item. Moved selected item down to "Fastboot Protocol". Use <Vol+> to "enter" selected item. New Menu: Bootloader Continue Reboot-bootloader Reboot Poweroff Selected "Continue", and entered(<Vol+>). At this point the Nabi boots up. On PC in adminstrator mode for command window and with ALL anti-virus security turned off: > adb.exe kill-server > adb.exe start-server * daemon not running. starting it now on port 5037 * * daemon started successfully * > fastboot.exe devices Nothing. (sigh) Click to expand... Click to collapse I ve got the same problem using windows xp, 7 or 8.1 after OTA update to jellybean. Any ideas of what is going on?
arvati said: I ve got the same problem using windows xp, 7 or 8.1 after OTA update to jellybean. Any ideas of what is going on? Click to expand... Click to collapse I did have those problems last year. Still think they were driver related. I use mehtuus's package now. He has a useful install script. http://forum.xda-developers.com/showthread.php?t=2172843 And when I want to use adb in "manual" mode I just launch a command prompt from his 'adb' directory (package is named 'mn2ri-v1.5.0-beta2.zip'). Try playing with his installer. And see if anything is displayed using: Code: adb devices
Thanks skippyV. I got it in fastboot last week with ubuntu and installed TWRP sucessfully.
Need Help with ADB
I have read many guides about setting up and using ADB, I am using an older computer with windows xp sp3. I just got my first nexus device which is a nexus 5, in device manager the phone shows up as " samsung android phone" and then "google nexus adb interface". I have tried uninstalling and then reinstalling the drivers using many different ones found on xda. I have the android sdk installed and adb seems to be working, at least when I type in "adb version" the version number comes up, but when I type "adb devices" nothing comes up as attached devices. This is really frustrating me, as I have have been trying to get this working for days now.i have already uninstalled every other android related driver using USBDeview. If anyone could please help me with this I would greatly appreciate it. I'm almost to the point go giving up! Could the problem be because I rooted the phone before getting all this setup? I ask this because when I try to update the driver in device manager it always shows driver type as clockwork mod no matter what driver I try to use
Did you enable ADB via Dev Options on the phone?
theesotericone said: Did you enable ADB via Dev Options on the phone? Click to expand... Click to collapse Do you mean USB debugging, yes I have that enabled
Go to device manager select your phone (samsung device or whatever it's showing!!) and right click and select "Update Driver Software". On the next screen, select "Browse my computer for driver software" and set the path to : C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver" I have used C:\Program Files (x86) because that's the place in which I have installed the SDK. Put a tick mark on "Include subfolders" and then hit Next... Your device drivers will be installed again and adb will be working! PS: Please make sure you have the latest android sdk and usb_driver downloaded from SDK manager!!