

Furthermore adb shell returns error: device not found and adb get-state returns unknown. However adb devices still returns an empty list, and adb backup returns adb: unable to connect for backup. adb connect localhost:5038 returns connected to localhost:5038. When the daemon starts, it starts on port 5038 (when using ADB from my PC it starts on 5037).adb connect localhost returns unable to connect to localhost:5555.

(Checking afterwards using getprop returns nothing. getprop returns no entry named and setprop 5555 silently fails.adb tcpip 5555 returns error: device not found. Trying to restart adb(d) in TCP mode is unsuccessful (even though this was not necessary in the working situation).(However, in the working situation, I never got any RSA key verification prompt.) Turning 'USB Debugging' off and on in the Settings, as well as revoking access to previously authorized computers.adb kill-server + adb start-server about a hundred times, as well as stop adbd + start adbd.Searching Google and Stack Overflow, but most (if not all) results refer to a driver problem or any other problem involving a host computer.I am starting to wonder why this has worked on my HTC Desire in the first place. I have tried to perform the same actions on different devices (Asus PadFone 2 on 4.4.2, Samsung Galaxy Note GT-N7000 on 4.4.2, Sony Xperia S on 4.1.2.) but adb devices returns an empty list on all of them.

Using ADB from my PC with this phone is working perfectly, but this is not what I want. This was on an HTC Desire running Android 4.4.2, ADB version 1.0.31. I never bothered to check the devices previously, I just went straight to my adb command, because everything was working. Investigating using adb devices returns an empty list.

When I try that now, it returns adb: unable to connect for backup. I could use adb backup -f /sdcard/backup.ab in a terminal emulator and it would start to backup that package. As far as I know nothing changed since then (e.g. This was working perfectly a couple of days ago, but it suddenly stopped working. I am trying to use ADB on an Android device itself, so without any host computer.
