[Q] ADB: Device offline - Android Q&A, Help & Troubleshooting

Hello,
I'm trying to build my own ROM (CyanogemMod) unfortunately, the command adb devices returns the device name but says its offline.
I don't think it's directly caused by the phone because the same command under Windows is working fine. (see attached pic)
So I tried every USB port (2.0 or 3.0), restarted the VM, the Phone, kill then start the adb server, but the issue remains.
I desperately need your help
Thank you
--
My "building" machine is running under Linux x64 (Ubuntu 12.10) through VMware 9.x

Related

Newbie needs help with adb

Hi.
I'm trying to make some custom native software for android but I need some help getting started.
What I have done so far is getting a HTC Hero, GSM version.
Flashed a custom rooted ROM. update-hero-generic-2.73.405.38-rooted-signed.zip
Installed the sdk and ndk on Windows.
Downloaded and built the open source android project in a VMWare ubuntu image.
What I'm trying to do now is to get ADB talking to my Hero.
I have USB debugging on in the applications->development menu on in the Hero.
When I attach the phone to my XP PC it detects it and asks for drivers, I point it to drivers in android-sdk-windows\usb_driver, windows won't load them because they do not match the hardware.
I can install the driver manually but eventhough the device manager lists it as working (android phone with android composite ADB interface) adb cant find it.
adb devices just give me an empty list.
I tried this on a Windows 7 box and it seemed to work there, is there something special I need to do to get it working on XP?
Installing HTC Sync (drivers included) should resolve.
Thanks!
I actualy tried that before posting but it did not seem to work.
I now tried it again and this time I manually installed the driver in the HTC directory and now it works.

[Q] ADB on Windows Vista 32-bit

Well I decided to install ADB on my home laptop that is running Windows Vista, and when I connect to the device with "adb shell" and execute "ls" I am getting the filenames with a strange characters like:
Code:
←[
I.e.
←[1;34mcache←[0m
Of course linux has no issues given the right TERM settings.
Any pointers on how to make it look normal on Windows?

[Q] Electrify, ADB, and Windows 8

I'm trying to get adb to detect my Electrify on Windows 8, it would seem rooting and/or installing ROMs is impossible without adb, I have my phone plugged in and all the drivers installed except one "Motorola ADB Interface" of course. The manual driver installer errors out on "Cannot detect Operating System" is there anyway around this, either forcing the driver in, or not using ADB to root?
Use a linux live cd and install the android sdk, or use something like vmware, or try to extract the driver and force it to install in device manager, or dual boot an os that isnt in beta...
Sent from my MB855
The linux live cd should actually work I didnt think about that
I found this
http://forum.xda-developers.com/showthread.php?t=741824
It says its for use with HTC phones but could it possibly work with mine?
Its a year and a half old
Will the driver for my phone be installed/available?
I would post this there but its kind of a dead thread
If you have a spare thumb drive of 4gb or larger laying around you can do a persistent install of ubuntu (or just about any other distro) using LinuxLive USB Creator, which can be found here: http://www.linuxliveusb.com/
If you're not very familiar with linux, persistence is like having your linux operating system on a thumb drive with the advantage over a live cd being that any changes you make (such as installations or saved files) are not lost upon shutdown. So you could install the android sdk (which is all you should need) and then whenever you needed it you could just boot from your thumb drive. If you need help setting up (such as installing the sdk and setting the path and what not) let me know.
-devx

adb.exe 1.0.26 vs. 1.0.29: Cannot connect

Hi,
i have the latest android sdk installed on my pc. If i try to connect my new Yuandao N101 tablet it is not recognized by adb.exe devices. adb.exe is version 1.0.29.
If i kill the adb service and start adb 1.0.26 from SuperOnClick rooter it recognizes the device and rooting works without problems.
As device driver for adb i am using the one included in PDAnet.
I tried to exchange the adb.exe in the android sdk with the 1.0.26 version. After this eclipse/adb recognize the device and are able to install apk files and start them. But after this the connection breaks. Seems that current sdk is unable to work with adb 1.0.26.
Any idea how i can make it for adb 1.0.29 to work with my tablet?
Best regards, Udo
Hi,
no one an idea? I tried a lot today but still am unable to get the yuandao n101 to work with adb 1.0.29. It just did not recognize the tablet.
With adb 1.0.26 everything seems fine - but i have to use the current android sdk. Someon an alternative driver out there?
BTW: I am using Windows Vista x64
Ciao, Udo
Thanks so much for posting this.
likal said:
Thanks so much for posting this.
Click to expand...
Click to collapse
I have the exact same problem with a YuanDao N90FHD in win7 x86. it gets detected in adb 1.0.26 but not in 1.0.29. any solutions? (also tried instaling htc sync but no luck)

ZTE Phone not detected by linux

I'm trying to sort a bricked phone my ZTE Nubia z5s mini, I've installed linux mint to try and debug the issue but its not detecting my phone where as when in windows it does through adb.
I've installed the ADB & Fastboot packages for linux but it still does not show up on the list of devices, does anyone know how to get linux to detect the phone? am I missing linux drivers for this phone over where windows fills in the gaps because I have no drivers other than the Google USB driver installed for the phone on windows.
try this out, if you can't get that to work let me know.
Audiomad said:
I'm trying to sort a bricked phone my ZTE Nubia z5s mini, I've installed linux mint to try and debug the issue but its not detecting my phone where as when in windows it does through adb.
I've installed the ADB & Fastboot packages for linux but it still does not show up on the list of devices, does anyone know how to get linux to detect the phone? am I missing linux drivers for this phone over where windows fills in the gaps because I have no drivers other than the Google USB driver installed for the phone on windows.
Click to expand...
Click to collapse
ok if you can get to the cd part at all........ open terminal
sudo mkdir /media/<username>/sr1
sudo mount /dev/sr1 / /media/<username>/sr1
Go into the cd drive that was just mounted, copy the USB drivers from the Linux folder. Extract the drivers, now back to terminal and navigate to the folder you unpacked and enter
sudo ./install
command not found

Categories

Resources