Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I can see my device in adb devices. It shows up as "offline". When it is "ready":

$ adb shell
$ su
# reboot

This would reboot my device. The exact problem is that my cellphone has been turning off on its own with no specific reason, so I was wondering if I could check the logcat to see the problem. I cannot start my device, I have to remove the battery and then start it, and when I do the log is empty... But my questions here are:

  • If adb can detect my device why can't it reboot it?
  • Why can't I turn on my android device from adb when I can reboot it?
  • What does offline mean: is it turned on or not? (when it isn't usually it doesn't even show in adb devices)
share|improve this question
    
what offline means to a device? –  hugemeow Nov 20 '12 at 12:05
    
@hugemeow That was the point of my question, but I did not get an answer... I still don't know what it is, but if you are getting this, there is something wrong. I flashed another ROM, and everything was OK again. I'm not sure what was causing it... –  jadkik94 Nov 20 '12 at 19:32
add comment

1 Answer

"adb: offline" reason is generally because of usb cable. If you are not using your stock cable, try with another microusb cable..

Also, while it shows offline, try this: (not everytime but sometimes it helps)

adb kill-server
adb start-server
share|improve this answer
    
i am using the stock cable, and it's working fine(when my phone is "normal"). it shows the name of my device as offline when i run adb devices, only when it's in that state where i don't know if it's off or not... it shows in adb as offline (which means it is not off as usual) and anything i do with it shows it is off completely (and i cannot turn it on)... i will try kill/start server when my phone gets back in that state. thanks –  jadkik94 Apr 8 '12 at 21:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.