From e37c3ee6fc964f401e0838747d4dcedfa64ebbb1 Mon Sep 17 00:00:00 2001 From: Daiane Angolini Date: Mon, 14 Sep 2026 16:46:53 -0300 Subject: [PATCH] android-tools: recommend the USB gadget modules adbd needs Recommend libcomposite and usb_f_fs from the adbd package. adbd needs both loaded: android-gadget-setup modprobes the first, and the second comes in via request_module when the ffs function is created. Nothing in an image pulls them in, so adbd fails to start on kernels that build them as modules. A kernel with gadget support built in ships no kernel-module packages, which recommendations tolerate. Assisted-by: Claude Code:claude-opus-5 Signed-off-by: Daiane Angolini Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb b/meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb index 761c98f5d7..623dfa7717 100644 --- a/meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb +++ b/meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb @@ -228,6 +228,7 @@ do_install:append:class-native() { PACKAGES =+ "${PN}-adbd" RDEPENDS:${PN}:class-target = "android-tools-conf-configfs 7zip android-libboringssl" RDEPENDS:${PN}-adbd += "${PN}" +RRECOMMENDS:${PN}-adbd += "kernel-module-libcomposite kernel-module-usb-f-fs" PRIVATE_LIBS:${PN} = "liblog.so.0 libbase.so.0 libcutils.so.0" inherit useradd