I’ve tried to use adb in a toolbox container (just install it via
dnf install android-tools etc. inside of the container), but it seems it is too isolated from the host, because while it can detect a device, it cannot get a permission. Even in Android’s recovery and with sudo in the container it only shows this:
$ sudo adb devices List of devices attached * daemon not running; starting now at tcp:5037 * daemon started successfully 4e1d2a26 no permissions; see [http://developer.android.com/tools/device.html]
So should I just give up and layer it on the host instead, or (how) can I make it work inside of the container?