| 6 Jan 2026 |
pentane | hope you didnt clutter your nix source tree by accident like i did the first time lol | 18:52:30 |
magic_rb | i did | 18:53:11 |
magic_rb | :P | 18:53:12 |
magic_rb | development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/commit.csv
29652:2018/03/02,a5e1dd544bb3b0bfd3dcdb9ae90ecf3c2ff003d3,platform/hardware/qcom/wlan,fake_FrKr6yqzTpCZes_RF73rLA@fakeemail.com,Building libwifi-hal-qcom with BOARD_VNDK_VERSION
frameworks/opt/net/wifi/libwifi_hal/Android.bp
166: defaults: ["libwifi-hal-qcom"],
hardware/qcom-caf/wlan/Android.bp
63: name: "libwifi-hal-qcom",
68: "//hardware/qcom-caf/wlan/qcwcn:libwifi-hal-qcom",
hardware/qcom-caf/wlan/qcwcn/wifi_hal/Android.bp
78: name: "libwifi-hal-qcom-defaults",
113: name: "libwifi-hal-qcom",
116: "libwifi-hal-qcom-defaults",
hardware/interfaces/wifi/aidl/default/wifi_legacy_hal_factory.cpp
124: * <path>/vendor/lib64/libwifi-hal-qcom.so</path>
hardware/qcom/wlan/legacy/qcwcn/wifi_hal/Android.bp
64: name: "libwifi-hal-qcom-defaults",
78: name: "libwifi-hal-qcom",
81: "libwifi-hal-qcom-defaults",
hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/Android.bp
70: name: "libwifi-hal-qcom-defaults",
89: name: "libwifi-hal-qcom",
92: "libwifi-hal-qcom-defaults",
hardware/qcom/wlan/Android.bp
58: name: "libwifi-hal-qcom",
63: "//hardware/qcom/wlan/wcn6740:libwifi-hal-qcom",
73: "//hardware/qcom/" + bsp_dir + "/wlan/qcwcn/wifi_hal:libwifi-hal-qcom",
85: "//hardware/qcom/wlan/legacy:libwifi-hal-qcom",
device/oneplus/sm8250-common/common.mk
378: libwifi-hal-qcom \
all of those exist in my lineaphene source tree | 18:57:05 |
magic_rb | i added hardware/interfaces but it didnt help | 18:57:14 |
magic_rb | issue might be that oneplus 8t from lineage is using 4.19 kernel | 18:59:44 |
magic_rb | maybe it doesnt like that? | 19:00:06 |
pentane | unlikely, the error message refers to an HAL which lives in userspace | 19:00:10 |
pentane | And afaict the error message means that Soong can't properly resolve the dep libwifi-hal-qcom which is required by libwifi_hal_vendor_impl_defaults, which means that it already happens on a build system level | 19:01:34 |
pentane | so it's unlikely that there's some kind of API incompatibility | 19:01:48 |
pentane | * | 19:01:53 |
pentane | * | 19:01:58 |
magic_rb | i was thinking maybe it checks somewhere | 19:02:20 |
magic_rb | the kernel | 19:02:21 |
magic_rb | but what i dont get | 19:02:27 |
magic_rb | Module "libwifi-hal-qcom" can be found in these namespaces: ["hardware/qcom-caf/wlan" "hardware/qcom-caf/wlan/qcwcn" "hardware/qcom/wlan" "hardware/qcom/wlan/legacy" "hardware/qcom/wlan/wcn6740"]
| 19:02:42 |
magic_rb | it clearly is available, but it doesnt select the one it should, which imo is hardware/qcom-caf/wlan/qcwcn | 19:03:01 |
pentane | huh, some Soong namespace fuckery going on? | 19:03:18 |
pentane | i'd recommend reading up on Soong in that case | 19:03:33 |
pentane | personally i never did that that thoroughly but just very superficially | 19:03:56 |
magic_rb | i think whats going on is that device description declares it wants qcom hal, but that can be based on those 5 listed modules | 19:04:04 |
magic_rb | and for some reason it doesnt select the one it should, but just errors out | 19:04:25 |
magic_rb | sorry, 5 namespaces | 19:04:45 |
pentane | oh and I'd recommend doing the trial and error work either with debugEnterEnv or without Nix in a standard git-repo checkout | 19:05:34 |
pentane | wouldve saved me lots of work if i had started doing that earlier 😅 | 19:06:07 |
magic_rb | :P | 19:06:14 |
pentane | back in the day, danielfullmer wrote in the docs that robotnix isn't intended to speed up normal AOSP development but rather to make it easier to redistribute working setups, and after wasting dozens of hours trial-and-erroring non-incremental, sandboxed robotnix builds, i wholeheartedly agree with that | 19:07:38 |
magic_rb | i got somewhere | 19:10:44 |
magic_rb | https://xdaforums.com/t/rom-14-oneplus-5-5t-aosp-for-oneplus-5-07-august-2024.4634505/post-89446115 | 19:10:56 |
magic_rb | this was the hint | 19:10:57 |