Tuesday, 2026-09-15

*** n2klb_ is now known as n2klb01:21
jmerono_hi! i'm trying to do my first sfos port and i'm stuck building the droid-hal-device packages: mb2 isn't even seeing the spec file ($ANDROID_ROOT/.mb2/spec, failing with an ENOENT right at the start), even though it exists and with proper rights. i am using an external disk setup (two drives with a btrfs RAID as my $ANDROID_ROOT), but i don't see how that'd be the problem. would love some guidance to know what to chec11:55
sharks[m]I have done all my porting on external disks over USB3. It causes very long android-side build times and chews up all my memory and swap space in the process. 0/10 would not reccommend, although it does not sound like that is the problem in your case at this stage.12:04
jmerono_sharks[m]: i mean, it for sure wasn't optimal but it wasn't terrible in my case :/12:21
T42<elros34> @jmerono_ definitely the problem is external drive, you need to mount it correctly12:21
T42<elros34> I do not remember  commands but you should be able to find it in channel logs search12:25
maljmerono_: I have this kind of thing in .hadk file: sudo mount --bind /parentroot/path_to_external_storage/ "$HOME/some_path"13:13
T42<TeodorBGStanilov> /notes13:55
T42<TeodorBGStanilov> Can someone help me find dfe neo13:56
jmerono_mal: i'll try that out, thanks! not knowing how to do it initially, i did something similar but by editing sdk-chroot and ubu-chroot to mount it to the same external storage path on the chroot, but i'll change it to that and see how it goes14:00
jmerono_what confuses me though is that i was able to do every step prior to this with that patch i mentioned (and i can stat the file on the platform SDK shell) :/14:01
T42<the_hiktor> what iam supposed to do if some kernel module doesnt get built ?14:38
T42<the_hiktor> im trying to fix fm radio14:39
T42<the_hiktor> followed the faq14:39
T42<Mister_Magister> does your phone even have fm radio14:40
T42<the_hiktor> yea14:40
T42<Mister_Magister> and you verified that it does?14:41
T42<the_hiktor> on sfos ?14:41
T42<the_hiktor> or android14:41
T42<Mister_Magister> on android14:41
T42<the_hiktor> yeah on android it does14:42
T42<Mister_Magister> and it worked for you i take it?14:42
T42<the_hiktor> wdym14:44
T42<the_hiktor> it was working on android14:44
T42<Mister_Magister> when you had the android base installed that you use for porting, did you plug in the headphones and verified yourself that it is in fact working or you just read somewhere that it works on android and acting off of that?14:44
mal@the_hiktor try starting jolla-mediaplayer app as defaultuser from terminal to make sure one sandboxing issue doesn't cause the failure14:52
jmerono_hi again! after getting further by changing how my storage is mounted to the chroots, i just realized the HAL build i did before lacks a /root directory at out/target/product/kugo/root and i'm confused. is there any step enabling that that i missed or did i do something terribly wrong? (i'm quite new to this, i'm sorry...)15:55
T42<elros34> IIRC it can be empty on some android versions17:02
T42<the_hiktor> @Mister_Magister yeah i tested it before and i double checked when you asked18:40
T42<the_hiktor> mal: https://paste.opensuse.org/pastes/a02a6a3f910018:41
T42<Mister_Magister> Okay so you enabled IRIS_RADIO i assume and the stuff and now kernel doesn't build?18:41
T42<the_hiktor> it does build normally18:42
T42<the_hiktor> it doesn't show errors when building18:43
T42<the_hiktor> but i can't find newly build kernel modules18:43
T42<Mister_Magister> and you built them as module and stuff?18:43
T42<the_hiktor> even if included within kernel18:43
T42<the_hiktor> yea18:43
T42<Mister_Magister> find out -iname \*iris\*18:43
T42<the_hiktor> nothing18:44
T42<Mister_Magister> dang18:44
T42<Mister_Magister> kernel sauce?18:45
T42<Mister_Magister> did you actually check those flags exist? zgrep IRIS /proc/config.gz  on da phon18:45
T42<the_hiktor> https://github.com/GloboPatro/android_kernel_xiaomi_surya/tree/hybris-18.118:47
T42<the_hiktor> nothing on phone18:47
T42<Mister_Magister> so you don't have IRIS available so no wonder it doesn't build :)18:48
T42<the_hiktor> i didnt push em yet18:48
T42<the_hiktor> i can show you local18:48
T42<Mister_Magister> wait do you have link to the instructions?18:49
T42<the_hiktor> you mean faq ?18:49
T42<Mister_Magister> sure18:50
T42<the_hiktor> https://github.com/mer-hybris/hadk-faq#fm-radio18:50
Mister_Magisterhttps://github.com/search?q=repo%3AGloboPatro%2Fandroid_kernel_xiaomi_surya+CONFIG_RADIO_IRIS&type=code18:50
Mister_Magisterit literally doesn't exist in kernel xd18:50
T42<the_hiktor> fuck18:50
Mister_Magisterso mal probably has better idea18:51
Mister_Magisterso you have radio option in sfos mediaplayer right?18:51
T42<the_hiktor> yeah18:52
Mister_Magisterdid you do this? https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/etc/pulse/xpolicy.conf.d/fmradio.conf18:52
Mister_Magisterliek the symlink18:52
malbut what driver is the device using?18:52
malgrep FM from kernel config18:53
T42<Mister_Magister> in github search i didn't see much but we both know how reliable that is18:54
malyeah, nothing in https://github.com/GloboPatro/android_kernel_xiaomi_surya/blob/lineage-18.1/arch/arm64/configs/surya_defconfig18:54
maldoes the device have some hal library or binder interface for it18:55
T42<the_hiktor> yea tried fmradio.conf symlink18:59
T42<the_hiktor> regarding driver i think its wcnss18:59
T42<the_hiktor> not sure i read it somewhere18:59
T42<the_hiktor> is binder-list output good ?19:01
T42<the_hiktor> nvm here19:05
T42<the_hiktor> https://paste.opensuse.org/pastes/21751ee581ca19:05
T42<Mister_Magister> there's no fm xd19:10
T42<elros34> maybe on hwbinder19:10
T42<elros34> ah it's default so on /dev/binder19:12
T42<elros34> I seams to have vendor.qti.hardware.fm@1.0::IFmHci/default on hwbinder but I guess there is no plugin for it19:14
T42<the_hiktor> what options do i have :)19:19
T42<the_hiktor> nice luck i have i guess19:21
T42<elros34> find / -name *fm*19:22
T42<the_hiktor> here https://paste.opensuse.org/pastes/db854465ff1819:23
malis there something about broadcast radio in binder-list, either in hwbinder or binder19:27
malah, you have it19:27
malsorry, missed the earlier message19:27
T42<elros34> he doesn't. at least I do not see it19:28
malbut check if you have android.hardware.broadcastradio in hwbinder or binder?19:28
T42<the_hiktor> https://paste.opensuse.org/pastes/f46e0594056319:28
malnot in binder either?19:28
T42<the_hiktor> https://paste.opensuse.org/pastes/bdadeaa09e6e19:29
maldoes this return anything : find /*/lib64/hw -name '*radio*'19:34

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!