Questions tagged [adbd]

adbd is the Android Debug Bridge demon which manages communication between a computer and an Android device (or emulator instance). This tag is appropriate for problems with getting the demons to run. Problems with using the adb client program should go under the [adb] tag.

There are two demons of this name: one runs on every Android device with developer mode enabled (and in the Android emulator), and the other runs on Linux, macOS or Windows machines being used for development, or with adb installed for non-development purposes.

The two demons communicate over USB by default, but can be told to communicate over Wi-Fi, or any other TCP/IP channel that is available.

The computer-side demons aren't identical, since they run on significantly different operating systems, but they provide the same facilities to the adb client program.

3 questions
1
vote
1 answer

Is it possible to programmatically start/stop adb daemon running on a smartphone?

If I understand the answers give here correctly, whenever I use an adb command on my computer connected to a smartphone, the reason it does anything is because there is a background process adbd, the adb daemon, running on the smartphone. Everything…
user13267
  • 6,871
  • 28
  • 80
  • 138
0
votes
0 answers

Problem with adb root on Samsung Galaxy A04e on Android 12

I rooted a new Samsung Galaxy A04e on Android 12 using Magisk. I can "adb shell" and su to root no problem. But when I try to do an "adb root" then I get the "production device" issue that others have reported. The problem is that adbd cannot run as…
Garby
  • 1
  • 1
0
votes
1 answer

How to build Android's adb from source code?

I'm trying to build Android's adb from source code, which I downloaded from here. I tried to use NDK21 and its ndk-build, but got this error Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-16. Android NDK: Trying…
Olja Muravjova
  • 117
  • 1
  • 7