Android ADB device offline - General Questions and Answers

Hi All,
Am porting android ICS on smdkc110.
When i connect the device to host[ubuntu 12.04] in adb am getting the device serial number as 0123456789 and status is offline.
I have tried
adb kill-server
adb start-server
restarted the host
but none of them worked

Related

[Q] adb devices not listing my device

I cant able to use the adb. It's not listing my mobile.
Even though, I've enabled my USB Debugging, It's not listing my device.
Last day it worked well.
Any idea guys? I'm still struggling with this problem.
That's problem in the driver and the custom ROM. I myself solved he problem.
Well
swordfish said:
Well
Click to expand...
Click to collapse
if device is not shown in adb then there will be some possibilties like
you haven't properly installed the driver or older version of drivers
or you haven't have all the binaries files to run adb command
or previous adb server was not killed
to prevent that
install updated drivers,check whether you have all binary files
and for killing adb server try these commands
adb kill-server
adb start-server
adb devices
hit thanks if helped

[Q] ADB command hang out

Hi All,
I am a newbie here. I issue following "adb shell getprop" adb command to retrieve device properties. This just hang out no output printed on the terminal or no prompt appears.
I then kill it at send "adb shell getprop ro.build.version.release" but it also just hang out.
I am working on ubuntu12.04. adb devices list one device which is connected.
Please help, how can I read device properties from adb (such as OS, model, manufacturer etc..)
My device is not rooted.
Many thanks!
IUA

[Q] (linux) adb posting unknown and no device

Hi (nevermind, I am using a different tablet for this project)
I am using a laptop running from a USB with Ubuntu installed from a ubuntu mini ISO. The tablet is a rooted Ematic 7" egd170
I am trying to install ubuntu touch/for tablets onto my spare android tablet but have ran into an issue. Everytime I try connecting the tablet to the ubuntu laptop I get these errors with adb
Code:
[email protected]:~$ adb devices
List of devices attached
[email protected]:~$ adb get-state
unknown
[email protected]:~$ adb get-serialno
unknown
[email protected]:~$ adb remount
error: device not found
error: device not found
[email protected]:~$ adb usb
error: device not found
error: device not found
However, the laptop mounts the tablet fine. The tablet never prompts for USB debugging so I think that is the issue.
I have tried changing the storage settings back and forth, changing it from debug and back, killing adb and restarting it with the tablet plugged in, none of it worked.
My nexus 7 shows up fine with adb devices though. And it prompts right away for usb debugging with this laptop.
Any ideas?

Samsung SM?T230NU 5.0- ADB Shows Unauthorized Device

adb shows Unauthorized device on custom ROM for SM-231
I successfully rooted my SM-230NU and installed the custom ROM provided in this post
http://forum.xda-developers.com/tab-4/development/rom-android-5-0-lollipop-material-t3061873
However, when I connect the device using USB to my Mac and try "adb devices" I get "unauthorized" beside the device ID. I have already tried the following:
a. on the Mac: adb kill-server followed by adb start-server
b. on the Mac: Deleted the ~/.android/adbkey and ~/.android/adbkey.pub
c. on Device: Revoked the USB debugging access to all computers (on the device) and also via terminal emulator app verified that on the device /data/misc/adb/ directory is empty
d. on PC: Repeated all the above on a Windows 7 machine (still shows "unauthorized" beside the device ID)
e. Changed multiple cables and tried the same cable with other devices and they are all detected as valid devices.
Unless I get the device to be recognized I am not able to install some apks using adb install. Any help will be highly appreciated.

ADB not recognizing Pixel on ubuntu 16.10

Pixel just updated to 7.1.2 build 47K, running adb devices is not showing any phone connected. I am able to view and transfer files through the file manager, but none of the adb commands will work. My other older androids will display fine. Any ideas?
I have usb debugging enabled and connection type set to file transfer. Tried 2 different usb ports on ubuntu 16.10. It's the google store version for what it's worth.
adb version: Android Debug Bridge version 1.0.32
lsusb: Bus 002 Device 012: ID 1xxx:4xxx Google Inc. Nexus 4 (debug)
Sorry if there is another post for this, I searched and did not find an answer to this on my own.
@bdre
try to run adb as root
Code:
adb kill-server
sudo adb start-server
sudo adb devices
:good:
Geeks Empire said:
@bdre
try to run adb as root
Code:
adb kill-server
sudo adb start-server
sudo adb devices
:good:
Click to expand...
Click to collapse
so turned out to be just a bad usb cable...
the one that came with the phone of course did not work

Categories

Resources