[Q] adb devices (via USB) shows as offline - Epic 4G Q&A, Help & Troubleshooting

New device. Odin works, USB storage works, TCP adb works, charging works. Have the latest drivers, which worked fine on the previous device (new device is a closed box warranty replacement). Device shows up in adb devices as "device", but adb freezes when attempting to push or shell. On super rare occasion, I get a shell prompt, but adb freezes immediately. Oftentimes, it shows up as "offline" instead. Have tested numerous cables, numerous USB ports. Reinstalled drivers, reflashed device in odin, reinstalled adb, redownloaded oneclick. Nothing works. Already went through other threads covering the same topic for numerous other devices. What am I overlooking?

Oneclick does not work anymore, not for Gingerbread. Other than that....try and let Windows find and install the drivers from Windows Update.
Sent from my SPH-D700 using xda premium

Meant the tweaked adb in oneclick. I tried to remove the drivers, and let windows search through update, but still no dice. The phone shows up in device manager, is recognized by odin for download mode, and windows as a storage device. However, adb still won't recognize it other than in an offline state.

Sorry if this is a stupid question but you have USB debugging on right?
Sent from my SPH-D700 using xda premium

Launch ddms.bat from \android-sdk-windows\tools
See if the DDMS application recognizes the device there. If not, then you need to enable USB-debugging and/or try different USB ports (but you said you did the latter already). I found that I must use USB ports directly attached to the motherboard for doing anything with my phone.

@kenny: Yup, USB debugging is enabled.
@nikon120: There's no tool dir, but there is platform-tools. There's no ddms in it.

wingbat said:
@kenny: Yup, USB debugging is enabled.
@nikon120: There's no tool dir, but there is platform-tools. There's no ddms in it.
Click to expand...
Click to collapse
Hmm, then I gather you don't have the SDK installed. I was just on SDK revision 10 and the folder was there. I also just uninstalled revision 10 and my older JDK installation to do a fresh install of the latest JDK and Android SDK. The tools folder is in this latest install too.

If odin works, just odin cwm 5.0.2.7, then flash su.zip which roots you.
Sent from my SPH-D700 using Tapatalk 2

nikon120 said:
Hmm, then I gather you don't have the SDK installed. I was just on SDK revision 10 and the folder was there. I also just uninstalled revision 10 and my older JDK installation to do a fresh install of the latest JDK and Android SDK. The tools folder is in this latest install too.
Click to expand...
Click to collapse
My apologies. "tools" was marked as hidden, and not showing during "dir" in command prompt. I did locate and launch ddms.bat. It shows the device as online, but unresponsive. If I close it, and kill-server, and relaunch, it shows the device as offline.
xboxfanj, I already have CWM flashed, and the device rooted, via Odin. What I'm trying to do is use shell/push.

wingbat said:
My apologies. "tools" was marked as hidden, and not showing during "dir" in command prompt. I did locate and launch ddms.bat. It shows the device as online, but unresponsive. If I close it, and kill-server, and relaunch, it shows the device as offline.
xboxfanj, I already have CWM flashed, and the device rooted, via Odin. What I'm trying to do is use shell/push.
Click to expand...
Click to collapse
Oh I see. Reinstall the drivers from samsungs website.
Sent from my GT-P7510 using Tapatalk 2

Why not use adb from the sdk?
Sent from my SPH-D700 using Tapatalk 2

MДЯCЦSДИT said:
Why not use adb from the sdk?
Click to expand...
Click to collapse
I did, it didn't work.

wingbat said:
I did, it didn't work.
Click to expand...
Click to collapse
That's why I inquired whether or not DDMS was recognizing your phone or not. Your reply was that it showed as offline, and that is a good indication as to why adb isn't working for you.
Outside of the phone not having USB debugging enabled, the only other reason I can think of your cause is device drivers for the phone. You said you've already reinstalled the phone drivers and no difference, so you may want to try on another computer or maybe a virtual machine.

1)Unplug the usb and plug it back again.
2)Go to the Settings -> Applications -> Development of your device and uncheck the USB debugging mode and then check it again back!
3)Restart the adb on your PC. adb kill-server and then adb start-server
4)Restart your device and try again.

Related

simple question about adb driver installation

I was reading some instruction from htcevohacks.com. Since i didn't decide to root or not yet, i just want to install those sdk and driver on my pc. sdk part is easy, and i installed it successfully. But adb driver part is tricky.
I followed instruction, turn on "USB debugging" in the settings, and reboot phone into recovery mode, plugged usb cable. However, the device manager of windows 7 didn't find any adb devices, then i tried refresh, still no lucky at all. what should I do to find adb device then update driver? or i have to root first b4 installing adb driver?
Install HTC Sync, then reboot your computer
JvIo55iBl3r said:
I was reading some instruction from htcevohacks.com. Since i didn't decide to root or not yet, i just want to install those sdk and driver on my pc. sdk part is easy, and i installed it successfully. But adb driver part is tricky.
I followed instruction, turn on "USB debugging" in the settings, and reboot phone into recovery mode, plugged usb cable. However, the device manager of windows 7 didn't find any adb devices, then i tried refresh, still no lucky at all. what should I do to find adb device then update driver? or i have to root first b4 installing adb driver?
Click to expand...
Click to collapse
I did, actually. As a matter of fact, i do have that sync icon in my task bar
I am not sure, but i was wondering if the adb driver is necessary to be installed?
Yeah the HTC Sync.exe will have the drivers. Check your hardware configuration to make sure it's installed right then in the folder with adb installed use the command prompt to go: adb devices -> You should see a device with numbers. then you correctly installed it
adseguy said:
Yeah the HTC Sync.exe will have the drivers. Check your hardware configuration to make sure it's installed right then in the folder with adb installed use the command prompt to go: adb devices -> You should see a device with numbers. then you correctly installed it
Click to expand...
Click to collapse
the problem right now is the device manager cannot even find any "other device" with question mark(when i plug the phone, which is under recovery mode, by usb cable)
JvIo55iBl3r said:
the problem right now is the device manager cannot even find any "other device" with question mark(when i plug the phone, which is under recovery mode, by usb cable)
Click to expand...
Click to collapse
this should definitely be in the Q&A board, not the developers board.
since you've already installed htc sync, the drivers should already be properly installed on your system.
ive only ran win xp and vista, not familiar with win 7, but if its designed the same, having no question marks, sounds like all connected devices have drivers properly installed ...
how do you know your adb drivers aren't installed? have you tried using adb? if so, what error does adb show?
Exit HTC sync first on your computer so it is not running or just uninstall it. It should find it after that.
joeykrim said:
this should definitely be in the Q&A board, not the developers board.
Click to expand...
Click to collapse
Sorry about that, will do next time
joeykrim said:
since you've already installed htc sync, the drivers should already be properly installed on your system.
ive only ran win xp and vista, not familiar with win 7, but if its designed the same, having no question marks, sounds like all connected devices have drivers properly installed ...
how do you know your adb drivers aren't installed? have you tried using adb? if so, what error does adb show?
Click to expand...
Click to collapse
i tried command "adb device", i got some serial number, does that mean adb driver has been successfully installed on my pc, and work properly?
JvIo55iBl3r said:
Sorry about that, will do next time
i tried command "adb device", i got some serial number, does that mean adb driver has been successfully installed on my pc, and work properly?
Click to expand...
Click to collapse
any help? anyone?

using adb with galaxy nexus

what does our phone have to be in to use adb? ive never used it before but want to to obtain root without unlocking the bootloader and losing my info. is it rebooted in adx mode? just turned on normally? off?
thanks!
You cannot root without unlocking the bootloader! To access adb you need to be in OS and have debugging enabled under Developer options in the settings.
RTContent said:
You cannot root without unlocking the bootloader! To access adb you need to be in OS and have debugging enabled under Developer options in the settings.
Click to expand...
Click to collapse
i was directed here
http://forum.xda-developers.com/showpost.php?p=23290676&postcount=1
for a workaround to rooting without unlocking the bootloader
Wow, I must have missed that news. Apologies! Have you tried replying in that thread then?
RTContent said:
Wow, I must have missed that news. Apologies! Have you tried replying in that thread then?
Click to expand...
Click to collapse
you already answered my question to be in the OS with debugging enabled! thanks!
You could re-lock the bootloader though if you ever wish to unroot your phone...
my computer wont allow me to recognize my gnexus using adb. im following these steps - http://droidmodderx.com/galaxynexus/how-to-set-up-the-sdk-for-galaxy-nexus
and i know i have already installed the dirvers previously, but when i use the cmd prompt, my computer does not find my device whatsovever. tried uninstalling it from device manager, but it just reinstalled it when i plugged it in with the MTP drivers already on my computer.
does anyone have any suggestions? i did remember to leave usb debugging on.
thanks!
after rebooting, i tried this in cmd
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Josh Bucher>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
************** offline
C:\Users\Josh Bucher>adb devices
List of devices attached
C:\Users\Josh Bucher>
so it looks like it detected it as offline, then it doesnt. any thoughts? i **ed my phones serial #
ive managed to get the toolkit to install fastboot drivers, but ADB drivers still are not installed and adb does not recognize my phone. fastboot does see it but adb doesnt. ive uninstalled all the drivers and tried the nexus toolkit, pdanet and manual installation but for some reason, i cannot get it to install adb drivers or even recognize that it is an option. does anyone have any suggestions?
joshtb86 said:
ive managed to get the toolkit to install fastboot drivers, but ADB drivers still are not installed and adb does not recognize my phone. fastboot does see it but adb doesnt. ive uninstalled all the drivers and tried the nexus toolkit, pdanet and manual installation but for some reason, i cannot get it to install adb drivers or even recognize that it is an option. does anyone have any suggestions?
Click to expand...
Click to collapse
So there's nothing listed if you input :
adb devices
You are connected via usb with debugging enabled?
Edit: could you also open up device manager in windows and have a look if the device is listed
Sent from my Galaxy Nexus using Tapatalk
RTContent said:
So there's nothing listed if you input :
adb devices
You are connected via usb with debugging enabled?
Edit: could you also open up device manager in windows and have a look if the device is listed
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
usb is enabled.
nothing is listed under ADB, but there is my serial number listed under fastboot. I uninstalled all drivers the toolkit and the SDK. I am going to try the toolkit again now that everything is been uninstalled. The device will be listed in Windows but usually without the ADB driver listed, however the fastboot driver is listed.
now that I tried using the toolkit,
I still had the same problem with no ADB but fastboot was the listed. Then I went to uninstall the drivers through the toolkit and I got an error message saying that they remove failed three times and that no device was removed. However the device still exists under portable devices in the device manager. I am going to uninstall the toolkit after removing the drivers and remove all the drivers from the device manager and then try using just the SDK to route the phone.
after using the toolkit, I am now getting Samsung ADB interface driver installed on my computer. However the toolkit cannot access or realize that ADB is connecting to my phone. I do have USB debuggingenabled. I might try using the SDK to manuallyto connect to it.
fixed the problem. i plugged my phone in directly to the computer instead of through a usb splitter. got it rooted via this post
http://androidforums.com/verizon-ga...oot-un-root-without-unlocking-bootloader.html
thanks for everyoines help! everyone is tahnked!
joshtb86 said:
fixed the problem. i plugged my phone in directly to the computer instead of through a usb splitter. got it rooted via this post
http://androidforums.com/verizon-ga...oot-un-root-without-unlocking-bootloader.html
Glad you got it fixed. If I knew I could have told you the usb hub would have been the problem (they always are)
thanks for everyoines help! everyone is tahnked!
Click to expand...
Click to collapse
Sent from my Galaxy Nexus using Tapatalk

AT&T S3 not seen by ADB

Ok... i've gone through the steps in the one thread to get the phone rooted and everything without tripping the flash counter. At least the rooting with ODIN part. Been trying to flash CWM Touch for it, but for the life of me can't get the S3 to enter debugging mode over USB so that it can be seen by ADB to do so. I have Debugging over USB checked in the settings on the phone, i've rebooted the phone several times... it just never seems to enter debugging mode (or at least not like on my old Atrix 4G, where it actually told you in the notification bar that debugging was enabled).
It doesn't say debugging enabled. Do you have Kies installed? If so make sure it isn't running. Plug in the phone and type adb devices. If detected adb will report a serial number.
gunnyman said:
It doesn't say debugging enabled. Do you have Kies installed? If so make sure it isn't running. Plug in the phone and type adb devices. If detected adb will report a serial number.
Click to expand...
Click to collapse
I had installed Kies... tried hooking it up, still wouldn't list in ADB. uninstalled Kies, but kept the drivers installed. And i only mentioned the idea of it saying Debugging enabled when you connect the USB cable because my Atrix 4G said that every time from the get-go.
Also odd.... looked into the SuperUser app... and the log shows several allowed access attempts from "shell"... yet never seemed that way in ADB.
I had the same problem... try going in to the "services" settings and update the driver to Android ADB composite. Other than that, my suggestion is to make sure Kies finds the drivers for both Camera mode and USB mode by toggling the selection while plugged in to Kies.
Sent from my SGH-I747M using xda app-developers app
Your last resort would be to remove the drivers and reinstall them... Don't install Kies...
Or do you think i might have better luck in Ubuntu? Have that installed on my desktop as well.
edit: well... that's odd. booted into Ubuntu, installed the linux Android SDK and everything, got everything set up. opened the terminal, and just checked the devices without being in the ADB Shell... and a device showed up. launched the adb shell... checked devices again... nothing showed up, as on Windows. Figured what the hell, and did the command to install the recovery, and it worked.
elementaldragon said:
Or do you think i might have better luck in Ubuntu? Have that installed on my desktop as well.
Click to expand...
Click to collapse
It seems to be a driver issue, kies interfering, or a component is missing, or all of that, so I'd start your windows driver and software over fresh...
Uninstall Kies
Uninstall the drivers
Reboot
Install the drivers
Install the Java JDK (64bit has never worked for me, even though the drivers are 64bit)
Install the Android SDK
Use the Android SDK to get the Platform Tools and the Google USB Driver
than adb devices should show a phone
---------- Post added at 11:25 AM ---------- Previous post was at 11:24 AM ----------
elementaldragon said:
edit: well... that's odd. booted into Ubuntu, installed the linux Android SDK and everything, got everything set up. opened the terminal, and just checked the devices without being in the ADB Shell... and a device showed up. launched the adb shell... checked devices again... nothing showed up, as on Windows. Figured what the hell, and did the command to install the recovery, and it worked.
Click to expand...
Click to collapse
sometimes ADB Devices returns nothing for me, but theres a phone there, it would say nothing connected or to some effect if it didn't find anything...
Yea... every time i entered "adb devices" in the Windows command prompt, it always said "List of detected devices" or whatever it says, but nothing would be there, and if i tried the command to install the recovery it would say it was not a valid directory or whatever. Didn't show up on Ubuntu either, but it still worked...
EDIT/UPDATE: I was using a USB 3.0 port which apparently ADB didn't like (though ODIN rooting on that USB port worked fine...). I switched to another USB port and suddenly it worked!
Sorry to resurrect an old thread but I guess it's better than creating a new one for the same purpose...
Doesn't seem like this was resolved and I haven't been able to get my S3 to connect to ADB. I'm running Windows 7 Ultimate 64 Bit.
I had this driver already installed:
ATT_I747_GSIII_Samsung_USB_Driver_v1_4_6_0
I enabled USB debugging and it wouldn't connect. I installed Kies, still wouldn't connect. I uninstalled the driver and Kies and rebooted. Reinstalled "ATT_I747_GSIII_Samsung_USB_Driver_v1_4_6_0", installed the Google USB driver, still won't connect.
I'm still not sure if I'm supposed to see any sort of notification in my bar showing that USB debugging mode has been executed but I'm definitely not getting anything like that.
Code:
D:\APPS\ANDROID\android-sdk-windows\platform-tools>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
891b0876 offline
D:\APPS\ANDROID\android-sdk-windows\platform-tools>adb devices
List of devices attached
Yea, when i finally was able to use ADB to push a recovery onto my S3, it never actually showed up if i checked the devices in ADB Shell. Well... it DID, but not if i already typed the SU command before "adb devices".
hey guys
i have same problem i wanna adb my galaxy s3 rogers (att) i am trying to do the root no tripping flash counter so i got to the adb shell part
i dont know what else to do to make my computer recognize my phone ??
i installed sdk and extract/installed it in the c:\android folder of my comp i let sdk installed all the things it needs to took a while
so whats left? i have my phone usb connected to comp and debuging on i type adb shell it says adb is not recognized internal or external command???
do i need to have somthing open on the phone b4 openning command?
pleaaase help lol
thanks
You need to navigate to the folder where adb is actually located (platform-tools)
You don't have to use adb, you can use the same commands on terminal emulator

trouble rooting

I'm having trouble. I'm using this tutorial
http://forum.xda-developers.com/showpost.php?p=23229558&postcount=1
(if there is a better one I'm all ears), and the first command line step, where you plug in the phone and open up the command window within the designated file path and type "adb reboot bootloader", this is what I get:
* daemon not running. starting it now on port 5037 *
*daemon started successfully *
error: device offline
Any suggestions on what i'm doing wrong? Is it a driver issue?
A few things to try in no particular order: Try a different USB port. Try a different USB cable. Try typing the command adb start-server
I am not sure if the adb AIO thing installs the newer versions of adb. If it uses outdated versions, this could potentially be a problem as well. The SDK will install the newer versions.
cupfulloflol said:
A few things to try in no particular order: Try a different USB port. Try a different USB cable. Try typing the command adb start-server
I am not sure if the adb AIO thing installs the newer versions of adb. If it uses outdated versions, this could potentially be a problem as well. The SDK will install the newer versions.
Click to expand...
Click to collapse
/Yeah I didn't use the AIO app, I used the first method of downloading it from here http://developer.android.com/sdk/index.html
I've tried different ports and the start server command with no luck either......
If you are on windows it sounds like a driver issue.
Sent from my Galaxy Nexus
Indeed, this is most likely the issue. While the Android SDK package should have installed the latest drivers try this:
Run the SDK manager and make sure you're completely up to date.
You also need Android debugging enabled to be able to use adb and fastboot if you're doing it whilst logged on to the OS.
If you still have issues, I might be able to guide you through manually installing adb and fastboot drivers
Sent from my Galaxy Nexus using Tapatalk 2
iLeopard said:
Indeed, this is most likely the issue. While the Android SDK package should have installed the latest drivers try this:
Run the SDK manager and make sure you're completely up to date.
You also need Android debugging enabled to be able to use adb and fastboot if you're doing it whilst logged on to the OS.
If you still have issues, I might be able to guide you through manually installing adb and fastboot drivers
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
That's what I'm thinking, gotta be a driver issue. I'm using windows 7, and I uninstalled all drivers and got the drivers straight from the samsung website but who knows. I'll be at work tomorrow and will be working on it again there. Is it ok if I PM you tomorrow and we can go from there? I really appreciate your help!!!!
vballrkc said:
That's what I'm thinking, gotta be a driver issue. I'm using windows 7, and I uninstalled all drivers and got the drivers straight from the samsung website but who knows. I'll be at work tomorrow and will be working on it again there. Is it ok if I PM you tomorrow and we can go from there? I really appreciate your help!!!!
Click to expand...
Click to collapse
Yes that would be fine
Sent from my Galaxy Nexus using Tapatalk 2

ADB Drivers

I don't see any other threads, so is it just me struggling to install working ADB drivers?
The zip file I found in another thread made out like it was installed, but apparently not...
Any tips?
Windows 7/8? The drivers that I posted in the dev thread should work.
If you're on Windows 8 though, you'll have to reboot in that insecure driver installation mode thing.
Sent from my HTCONE using Tapatalk
Win 7 64 bit. I think I'm using the right ones, don't quite understand why it can't be seen
It shows up in Device Manager in which ever of the 3 ones I try, but when I try 'adb devices' nothing shows.
AndyCr15 said:
Win 7 64 bit. I think I'm using the right ones, don't quite understand why it can't be seen
It shows up in Device Manager in which ever of the 3 ones I try, but when I try 'adb devices' nothing shows.
Click to expand...
Click to collapse
You try "ADB Composite Device" or something along those lines? When you run that one it should be good.
When you download the zip, you should just extract the whole thing. Then after that I find the driver manually instead of having it search the folders. Are you selecting the android_winusb.inf for the driver?
I'm on the same OS for my main desktop and I do a lot of my work with the N1 on there using those drivers. Are you using normal command prompt in the platform-tools folder? I don't use anything other than command prompt for adb, so I'm not sure about those picking it up.
Sorry if that isn't any help, but I'm not sure what would stop it from picking it up after you use those drivers.
the other threads zip file works fine with my win 64. Are you going through a usb hub? That can mess it up
Sent from my N1 using XDA Premium 4 mobile app
No, no hub. Yep, doing all as I should. I'll try a different cable and different port though.
Linux
ADB not working on Ubuntu 13.10. No issue with fastboot. When I do ADB devices, it doesn't return anything at all aside from "List of devices attached" with a blank space underneath.
Curiously, even after enabling USB debugging I am never given the RSA popup asking me to confirm access. I'm guessing the two are related but even after revoking previous confirmations via the Developer Menu, I still can't get it to pop up.
mybrotherischad said:
ADB not working on Ubuntu 13.10. No issue with fastboot. When I do ADB devices, it doesn't return anything at all aside from "List of devices attached" with a blank space underneath.
Curiously, even after enabling USB debugging I am never given the RSA popup asking me to confirm access. I'm guessing the two are related but even after revoking previous confirmations via the Developer Menu, I still can't get it to pop up.
Click to expand...
Click to collapse
I recently got this going on Ubuntu 12 on VIrtualBox.
I have to start the adb server as root to get it working, i.e sudo adb start-server,
before I do 'adb devices'.
Also if you use VIrtualBox don't forget to add the usb filter for adb mode too.
ChodTheWacko said:
I recently got this going on Ubuntu 12 on VIrtualBox.
I have to start the adb server as root to get it working, i.e sudo adb start-server,
before I do 'adb devices'.
Also if you use VIrtualBox don't forget to add the usb filter for adb mode too.
Click to expand...
Click to collapse
Running natively. No luck doing it as root.

Categories

Resources