!UUYziobKGGxpovWyAN:nixos.org

Robotnix

245 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix76 Servers

Load older messages


SenderMessageTime
6 Jan 2026
@cyclopentane:aidoskyneen.eupentanehope you didnt clutter your nix source tree by accident like i did the first time lol18:52:30
@magic_rb:matrix.redalder.orgmagic_rbi did18:53:11
@magic_rb:matrix.redalder.orgmagic_rb:P18:53:12
@magic_rb:matrix.redalder.orgmagic_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:matrix.redalder.orgmagic_rb i added hardware/interfaces but it didnt help 18:57:14
@magic_rb:matrix.redalder.orgmagic_rbissue might be that oneplus 8t from lineage is using 4.19 kernel18:59:44
@magic_rb:matrix.redalder.orgmagic_rbmaybe it doesnt like that?19:00:06
@cyclopentane:aidoskyneen.eupentaneunlikely, the error message refers to an HAL which lives in userspace19:00:10
@cyclopentane:aidoskyneen.eupentane 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
@cyclopentane:aidoskyneen.eupentaneso it's unlikely that there's some kind of API incompatibility19:01:48
@cyclopentane:aidoskyneen.eupentane * 19:01:53
@cyclopentane:aidoskyneen.eupentane * 19:01:58
@magic_rb:matrix.redalder.orgmagic_rbi was thinking maybe it checks somewhere19:02:20
@magic_rb:matrix.redalder.orgmagic_rbthe kernel19:02:21
@magic_rb:matrix.redalder.orgmagic_rbbut what i dont get19:02:27
@magic_rb:matrix.redalder.orgmagic_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:matrix.redalder.orgmagic_rb it clearly is available, but it doesnt select the one it should, which imo is hardware/qcom-caf/wlan/qcwcn 19:03:01
@cyclopentane:aidoskyneen.eupentanehuh, some Soong namespace fuckery going on?19:03:18
@cyclopentane:aidoskyneen.eupentanei'd recommend reading up on Soong in that case19:03:33
@cyclopentane:aidoskyneen.eupentanepersonally i never did that that thoroughly but just very superficially19:03:56
@magic_rb:matrix.redalder.orgmagic_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:matrix.redalder.orgmagic_rband for some reason it doesnt select the one it should, but just errors out19:04:25
@magic_rb:matrix.redalder.orgmagic_rbsorry, 5 namespaces19:04:45
@cyclopentane:aidoskyneen.eupentane 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
@cyclopentane:aidoskyneen.eupentanewouldve saved me lots of work if i had started doing that earlier 😅19:06:07
@magic_rb:matrix.redalder.orgmagic_rb:P19:06:14
@cyclopentane:aidoskyneen.eupentane 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:matrix.redalder.orgmagic_rbi got somewhere19:10:44
@magic_rb:matrix.redalder.orgmagic_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:matrix.redalder.orgmagic_rbthis was the hint19:10:57

Show newer messages


Back to Room ListRoom Version: 6