[Q] ADB Stopped Working in Windows 7 - General Questions and Answers

Hey all,
Was going to post this in the Android section but I figured this is more of a Windows issue, so if I misplaced this I'm sorry.
A couple of days ago my ADB stopped working. I have tried connecting with both my GNex and my TF700, over wired ADB and ADBWireless. With wired it sees not devices and in wireless I get "can not connect to xxx.xxx.xx.x".
I thought that maybe my SDK was out of date so I did update it (a few packages did update) but still no luck. The only thing I can think of that has changed is I did receive a Windows update a few days back.
Has anyone else experienced anything like this? Anyone have any ideas?
Thanks in advance,
Blake

Update java too. Alt ctrl delete and kill ALL runned adb next run your program.
Sent from my SK17i using xda app-developers app

thanks too

Related

[Q] Total Noob in Need of Lots of Help :(

I just got my SNS yesterday and it's my first android phone (was previously using an LG cookie) First thing I did was try to root it, and I seemingly succeeded, or so I thought. It looks like it's rooted and the superuser apps there but I can't install apps using any of the guides I find or even update to 2.3.2 (keep getting and error 7 msg). When I try to install using APKInstaller it tells me it can't find the device, which I think is the problem.
I think the problem is that someway or another windows 7 64 bit stopped recognizing my phone as a Nexus S and now recognizes it as a portable device in device manager (There's also an Android Phone, with an Android Composite ADB interface) I used the SDK to install all the updates available including the google usb driver rev. 4. I tried updating the Portable device driver using the google usb driver but windows keeps it as a WPD Filesystem Volume Driver. Also I noticed when I checked to see if adb gave me a serial number for the phone using the cmd prompt commands in the rooting guides it comes up blank.
I used usbdeview to delete everything seemingly related to Android, but everytime I reconnect the phone it, installs the drivers for the portable device.
I need help to make windows recognize the phone as a nexus s again so I can update and install apps and games etc. If anybody out there can help i'll really appreciate it. Explain the steps to me as if you were talking to a child, leaving nothing out plz. Thanks for any assistance.
I live outside the US (no android market) and would hate to think I messed up and expense phone purchase in just one day
Not quite sure where to start. But my intuition tells me its the Windows 7 64-bit and drivers that's not playing along. You might want to google if other users are having trouble with W7 64-bit with Android drivers. Otherwise, find another computer and repeat the steps. If not, flash a custom ROM to see if that eliminates the problem. You haven't damaged your phone. Don't worry.
just install directly from android market website
Sent from my Nexus S using XDA App
I assume you mean instal the update from the market (which I can't do because I don't have wifi)?
I managed to get the adb to list a device number after I installed java x32 & x64 bit. I still can't install apps or get the update to work, but I'll try unrooting and then rerooting my phone as see how that goes.
Oh, I haven't done the initial sign into gmail thing yet in case that makes any difference
Edit: god I feel stupid. I didn't realize that I had to upgrade from 2.3 to 2.3.1 and then to 2.3.2. I did that an everything upgrade without any problems. Now just got to figure out how to install apk's and I'm golden
Edit 2: Ok, I figured everything out and now i'm up to date with updates and I can install apps and games. Oh Happy Day Thx for all the help

[Q] HELP can't connect to PdaNet

Ok so I hope someone can help. My issue is this. When I try to connect to PdaNet I get this message "please kill Android Debug Bridge (adb.exe)" . I use my device to tether, and really need this working. Yes, I can tether wirelessly. But it eats a lot of battery. What do I need to do? Also, if I'm turning something off, how do I tun it back on if I need it later?
Adb start-server and kill-server I think it is. It won't hurt anything to turn it off.
Usually when you use an adb command it says server is out of date... killing (for me anyway)
What rom are you running? I'm pretty sure wired tether works on Evervolv right in the Wireless and Networks menu.
Sent from my HTC Speedy (Gonzalez)
Thanks for the quick reply. I'm using the Stock Sence Rom. Just typed it in. It says " 'adb' is not recognized as an internalor external command, operable program or batch file" . I forgot do I have to type something in before I type adb? Or to get to adb before I can turn it off?
prboy1969 said:
Thanks for the quick reply. I'm using the Stock Sence Rom. Just typed it in. It says " 'adb' is not recognized as an internalor external command, operable program or batch file" . I forgot do I have to type something in before I type adb? Or to get to adb before I can turn it off?
Click to expand...
Click to collapse
Go to the Android SDK and navigate to tools or platform-tools (depending on which version you have, probably the latter) and open up a terminal (command prompt) in that location. The commands might not be exact, I get them confused from time to time
Hope that helps.
Sent from my HTC Speedy (Gonzalez)
Can you got to task manager, find adb.exe and end process? That's what used to do when I got that error.
Sent from my PG06100 using XDA Premium App
Thanks. Will try that now.
Shifted from neverland using XDA Premium App
To tether 4g by usb, I use wired tether for root users. To tether 3g, I use the hacked mod by nfinitefx. No external program on your pc needed for linux or win 7 (just a driver needed for xp)
Sent from my PG06100 using XDA App
Well after much BS, and a lot of help from all you guys. I got it figured out. Seems adb exe. turns on automtically everytimeI connectmy phone . Well what I had to do is connect, then open task manager and end adb exe . Only thing isnow I can't seem to restart adb . But I got PdaNet working, even on 4G.
I downloaded the android sdk and eclipse. Over pdanet w/ no prob.
But when I tried to download packages from the repo adb.exe interfered with the pdanet connection..if I killthe process.eclipse just restarts adb. So I'm having trouble getting the packages
---------- Post added at 03:29 PM ---------- Previous post was at 03:22 PM ----------
I ended up deleting adb.exe downloaded the packages and restored adb from the recycle bin
trusmokah said:
I downloaded the android sdk and eclipse. Over pdanet w/ no prob.
But when I tried to download packages from the repo adb.exe interfered with the pdanet connection..if I killthe process.eclipse just restarts adb. So I'm having trouble getting the packages
---------- Post added at 03:29 PM ---------- Previous post was at 03:22 PM ----------
I ended up deleting adb.exe downloaded the packages and restored adb from the recycle bin
Click to expand...
Click to collapse
Putting this out there for anyone who had the same problem that I had; When I would end-task ADB.exe, it would instantly restart.
The fix for me was that I had to first end-task "droidexplorer" which was a running task even when Droid Explorer was not running. After that, I could end adb.exe
Why are you using pdanet? CM7 has built in wireless tethering.. just doesn't make "sense".
Check the date on the OP . March of this year .
I have used pdanet successfully but I only need it every once in a while. Recently when I tried to start it i could not get adb.exe to stop. yes, i used the task manager.
has anything changed?
PDANET and ADB
I have used pdanet for years. worked fine on my eris, and was working on my rezound up until a month or so ago. now i have constant problem with adb.exe restarting.
tried killing it with task manager, then plugging phone in. pdanet connect for a second, but it looks like as soon as adb kicks on i no longer have internet access, though i am still connected. shows no kb action from the phone.
anyone with any thoughts? need help.
stuck on updating pdaNet updating on your phone
Hi,
I was wondering if anyone has a fix for this. I tried to install pdanet on my computer but it was giving me an error when i connected my phone. I then uninstalled the current version of pdanet and used an older version. That also did not work. So I am back at square one trying to install the current version again but now I am stuck at the installation screen that says "updating pda on your phone". What can I do now?
Thanks
This forum is really old. When I teathered with this device I used https://play.google.com/store/apps/details?id=com.googlecode.android.wifi.tether Its easier to use than pdanet. Unless you're not rooted.
Chad The Pathfinder said:
This forum is really old. When I teathered with this device I used https://play.google.com/store/apps/details?id=com.googlecode.android.wifi.tether Its easier to use than pdanet. Unless you're not rooted.
Click to expand...
Click to collapse
yes, but my phone gets stuck in a bootloop on a rom that I installed. So now I cannot do much of anything except get into recovery mode.
Well when I get into a bootloop the only thing to do is a full wipe and start over. Sorry.
Chad The Pathfinder said:
Well when I get into a bootloop the only thing to do is a full wipe and start over. Sorry.
Click to expand...
Click to collapse
Yea, I'm trying to do that. I need to know how to do that. Could you help me out?
http://forum.xda-developers.com/showthread.php?t=1266885

[Q] adb error using shift root and recovery

Help! When I try to root my evo shift with gui shift root and recovery all I get is an adb error message. I have installed htc sync on my laptop. I also cannot connect to sync. These problems may be related? I am running windows vista.
sounds like the drivers may not have installed... Where did you get the version of sync you installed? You're best bet is to use the one off the sdcard. I've had an occasion or two also where things got messed up, and I uninstalled it all and reinstalled. (under programs and features you'll find HTC sync and driver installer, remove both and reinstall if necessary)
I installed it off the sd card and have did the install/ uninstall at least 5 times. still no luck.
i had same error but i just did mine maually. theres a video now for manually rotting it. if you fllow the steps you will root your shift
candler72 said:
I installed it off the sd card and have did the install/ uninstall at least 5 times. still no luck.
Click to expand...
Click to collapse
I'm in the same boat no matter what I do it my shift won't connect to sync and when I run adb devices it kicks a blank line then right back to platform-tools I'm running Vista myself and messed with it for hours and no luck I'm mad because I have rooted my shifts already and don't know what went wrong with the drivers sync or my pc this sucks as I need to be able to adb to help test some things
Sent from my PG06100 using Tapatalk
You do have adb debugging on right... the only other thing I could think of.
Yes I do have debugging on.
have you tried getting sync from htc's website to be sure?
If I'm correct the old version of syn from sprints website was giving me problems loading the drivers. I used the newest version from htc website and voila I was good to go. U may want to try that. I just re rooted earlier use the gui and it worked like a charm
Sent from my PG06100 using Tapatalk
I have the sync from htc website. I still get error running adb try again. Ive used the same usb cord and ports with my archos pad and have no trouble transfering files.
What exactly does the error message say? And with what command?
Sent from my PG06100 using XDA App
Error running and. Try again
Sent from my PG06100 using XDA App
Adb
Sent from my PG06100 using XDA App
Maybe it's your sdk that is messed up... Maybe try downloading and installing again.
Sent from my PG06100 using XDA App
Ive got temp root now with visionary. And have it set to reroot when i turn my phone off/on. I have wireless tether (non adhoc) which is what I was wanting to tether my archos 101. I still can't connect to sync. Wondering if its a vistas issue?
danaff37 said:
What exactly does the error message say? And with what command?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
I dunno what the other guys error is but I know on mine if I go to device manager there is an error code 37 with my HTC on my Vista pc.....I can cd to my c:\Android\Android-sdk\platform-tools
But when I hit add devices it kicks back and empty line after it starts the Damon on whatever then right back out to platform tools...it does the same thing with every sync I install, plus my phone can't find sync on my pc at all even if its open...and help would be really appreciated
Sent from my PG06100 using Tapatalk
candler72 said:
I have the sync from htc website. I still get error running adb try again. Ive used the same usb cord and ports with my archos pad and have no trouble transfering files.
Click to expand...
Click to collapse
I'm having the "error running adb try again" problem as well. Unfortunately when I try to run adb from the cmd prompt its output goes to a popup cmd prompt window which disappears before I can read it. My guess however is that it's blank like yours.
I'm convinced I've done everything they way I'm supposed to. Has anyone yet gotten the htc drivers to work under vista?
I had this same issue with ADB..all I did was, while connected via usb, uncheck debugging and then recheck. Clicked root again and it worked.
Sigh, there was a adb update. Install the new version from the sdk, delete the one in shiftrr, copy the new one in, close adb with task manager, then run as you were trying to do before. That fixed it for me.
And make sure when you install the recovery, not to use the one it comes with, it doesn't support the newer roms we have on the shift now. If you want to flash current ones, use clockwork 5.0.2.0, our twrp (recommended)

[Q] MTP driver issue

Ok i just picked up my 32gb wifi only xoom. whenever i try to install the drivers it finds the files it needs but produces the following error, "A service installation section in this INF is invalid", WTF do i do tried uninstalling the drivers and anything i can think of ive rooted numerous phones before. is this a problem with the xoom itself and should i take it back?
josephparlangeli said:
Ok i just picked up my 32gb wifi only xoom. whenever i try to install the drivers it finds the files it needs but produces the following error, "A service installation section in this INF is invalid", WTF do i do tried uninstalling the drivers and anything i can think of ive rooted numerous phones before. is this a problem with the xoom itself and should i take it back?
Click to expand...
Click to collapse
check to make sure you have windows media 11 or higher on your computer. I had that issue. Running XP I had an issue but Win 7 it installed easily..
This is what I used
Motorola_End_User_Driver_Installation_5.1.0_32bit.msi
MotoHelper_2.0.49_Driver_5.0.0.exe
Windows Media 11
Also search around on google lots of people have had this issue and thats how I found my answer.. Also xoomforums.com is a good site for answers as well
OK so I installed wmp11 and it will recognize my xoom thanks for the tip. however now I cannot get ADB to work my device is there I have every sdk ever made down loaded and I have the moto USB driver mentioned installed but I can't get into a ADB to save my life.
Sent from my Xoom using XDA Premium App
Try un/check/ usb debuging, don't remember witch is correct...
Had this problem with adb...
Sent from my Xoom using XDA Premium App
makokoko said:
Try un/check/ usb debuging, don't remember witch is correct...
Had this problem with adb...
Sent from my Xoom using XDA Premium App
Click to expand...
Click to collapse
usb debugging needs to be checked in order for the adb to work.

[Q] Can't recognize device - Nexus 7 (ADB)

Greetings everyone!
I author mobile applications using Titanium SDK + Titanium Studio for Android. This morning, while trying to compile the latest APK of one of my projects, I encountered an error from the console indicating that ADB can't see my device. Here is the error:*"[TRACE] adb devices returned 0 devices/emulators"
I wondered if it was an issue with Titanium itself, so I ran ADB directly from the terminal and ran the following command:
zettageeklatform-tools$ ./adb devices
This returned no devices in the list. I SHOULD be seeing a Nexus 7, as that is what is connected to the system right now. I've tried two different cables, and checked the Android settings to verify that USB debugging IS enabled.
The system used to develop the mobile applications is: Mac Mini (i5 / 8GB ram / Mac OS X V 10.7.5)
I'm using the latest Android SDK (adt-bundle-mac-x86_64.zip) available from the Android development website.
I've tried rebooting both the Mac, and the Nexus 7. I've also done a factory-reset on the Nexus 7, and re-enabled USB debugging from the settings. I'm still encoutering the same problems.
Note that this worked fine a few weeks ago, so I'm not sure what's changed. Any advice would be very much appreciated!
Thanks,
ZettaGeek
Try using PDAnet drivers. They mostly fix these problems.
ak700 said:
Try using PDAnet drivers. They mostly fix these problems.
Click to expand...
Click to collapse
I'll try this right now, and post my results shortly. Thanks for your help so far! I hope we can get this working... :fingers-crossed:

Categories

Resources