Friday, 2026-07-10

*** n2klb_ is now known as n2klb01:06
T42<elros34> so you didn't, remove that hidl_compat dir you have created and follow had-hot: git clone hidl_compate repository. Make sure you use right branch. Next simply build it like you are building hybris-hal so make audio.hidl_compat.default05:32
T42<Mattia990> Thank you!08:24
T42<Mattia990> I succesfully built that library by cloning this https://github.com/Halium/android_vendor_halium_hardware/tree/halium-10.0 (there isn't halium-11 branch so i built it with halium-10)08:24
T42<Mattia990> Then following hadk hot i created the systemctl unit and tried again with pulseaudio. At the beginning it said there were a lot of missing libraries, so i copied them into /odm/lib64 and finally nothing, i have the error "Failed to handle SIGBUS."08:24
T42<Mattia990> Here i put everything i did: https://paste.opensuse.org/pastes/9e3d658d0f82 (re @elros34: so you didn't, remov...)08:24
T42<Mattia990> And modifying the arm_droid_card_custom.pa like this the output is slightly different08:28
T42<Mattia990> https://paste.opensuse.org/pastes/f7c68b621a6408:28
sharks@mal, are you around? I'm deep in the connman / ofono wormhole and frankly over my head, wondering if you (or anyone else) can help at all.09:54
sharks`dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.ConnectionManager.GetProperties` seems okay except "attached" is false.09:54
sharks`dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.ConnectionManager.GetContexts` spits out correct values for internet, MMS and IMS for my carrier09:54
sharks`gdbus call --system --dest org.ofono --object-path / --method org.ofono.Manager.GetModems` says I'm powered, online, got sms, gprs, net, everything seems fine09:54
sharksbut `journalctl -b | grep ofono` comes up completely empty.09:55
sharksI have no idea why it seems like everything is right yet connman can't talk.09:55
sharksAs a reminder this is SFOS 5.1 & Lineage 22.2 on Xperia 10 IV09:55
sharksI should probably note that this extends to mms and volte as well. Ofono is working to some extent as SMS works fine, but everything else is not getting configured properly somewhere and I don't know why. I can't test regular calls as I exist in the wrong part of the world for that. I'm VoLTE or nothing.10:17
sharksOutput of running connmand manually -> https://paste.opensuse.org/pastes/c4c850f9827610:41
T42<Mattia990> I see some errors in logcat, maybe there is still something wrong i did: https://paste.opensuse.org/pastes/aca95a4e593b (re @Mattia990: And modifying the ar...)11:04
T42<elros34> remove all libs  you have copied and custom config and get strace. Did you mask and stop pulseaudio service just in case? what about disabled_service changes?12:46
T42<Mattia990> I have removed all the libs i added. Also following the hadk hot i removed the previously disabled service vendor.audio-hal android.hardware.audio.service_DISABLED14:49
T42<Mattia990> I have the mount for the wrapper hidl still active and masked pulseaudio14:49
T42<Mattia990> This is what i get: https://paste.opensuse.org/pastes/cd24407070c7 (re @elros34: remove all libs  you...)14:49
T42<nikita_kraev> OMG I HAVE DISPLAY YESSSSS15:34
malwhat was the fix?15:34
T42<nikita_kraev> libhybris commit I've checked out is broken around TLS, test_hwcomposer just succeeded after rebuilding libhybris. I'll post the proper write up a little later (and maybe a PR as well), want to double check things first15:36
malwhich libhybris version did you have?15:37
malwhich android base?15:37
T42<nikita_kraev> i was using your pr-testing branch with A16. packaging repo: f78b6a0; submodule - 033edcd15:39
malhmm15:39
T42<nikita_kraev> I suspect the 3cc1626 is the culprit, but i'll get back to you on this15:39
malthat has been working fine on jolla phone15:40
T42<nightishaman> Really? That could be my problem too (re @nikita_kraev: libhybris commit I'v...)15:49
malstarted to wonder one thing15:49
malcould it be that tls-padding is needed when using that15:50
T42<nikita_kraev> it is exactly around the padding, yeah, one moment, i am pulling the git diff15:50
malgithub.com/mer-hybris/tls-padding and then this file https://github.com/mer-hybris/s19mps-droid-configs/blob/master/sparse/etc/ld.so.preload15:50
malhttps://github.com/mer-hybris/tls-padding for easier opening the link15:51
mal@nightishaman do you also use that pr-testing branch?15:51
T42<nightishaman> yes15:52
maltry building and installing that tls-padding package and then add the needed file15:52
T42<nikita_kraev> https://gist.github.com/nikita-kraev/0e5128a8689ee8dc43c6a9163c19e29415:52
T42<nikita_kraev> 15:52
T42<nikita_kraev> This is the fix that did it15:52
malok, would be interesting to know if that tls-padding library helps also15:53
T42<nightishaman> I forgot how to add repos15:53
T42<nikita_kraev> it's build_packages.sh —mw=<repo link>15:53
T42<nikita_kraev> i still need to try starting lipstick, will report back. I will also try the tls-padding lib after this! :)15:54
T42<nightishaman> ill just extract the new stuff in place to keep minimer15:55
T42<nightishaman> It’s gonna take a while for me. I got medication induced Parkinson’s. My hands are shaking. Hope it goes away till next weekend.15:56
T42<nightishaman> https://pastebin.com/yJUjV1Pt16:11
malyou probably didn't add some mount entries to https://github.com/mlehtima/droid-hal-fp5/blob/master/droid-hal-fp5.spec#L25 not sure why you override those ones anyway16:38
maland adding journald.conf should not be done, not going to be easy to do that16:39
T42<nightishaman> i removed them16:47
T42<nightishaman> but libtls-padding.so doesnt exist16:48
T42<nightishaman> for some reason, it didnt get compiled in even tho i did build_packages.sh —mw=LIBTLS_URL16:51
T42<nightishaman> then i did rpm/dhd/helpers/build_packages.sh --configs and rpm/dhd/helpers/build_packages.sh --mic16:52
T42<nikita_kraev> also, FMI - how do we specify that libtls-padding.so should be LD_PRELOAD'ed? just adding that to the rpm doesn't seem to be enough or?16:52
T42<nightishaman> https://github.com/mer-hybris/s19mps-droid-configs/blob/master/sparse/etc/ld.so.preload16:53
T42<nightishaman> as sparse16:53
T42<nikita_kraev> aaah thanks!16:53
T42<nightishaman> ~ # find . -name "libtls-padding.so" 0 results16:54
T42<nightishaman> i did continue and probably got kernel panic17:01
T42<addr2vio> are there published kernel sources for the new jolla phone yet?17:02
malnot yet17:22
T42<nightishaman> mal: any idea what i did wrong that libtls didnt compile?17:27
T42<nightishaman> or at least its missing17:27
malcheck $ANDROID_ROOT/droid-local-repo/$DEVICE/ for it, did you add it to patterns if you built a new image for testing? probably would have been easier to test the changes on device first before building new image17:28
malhttps://github.com/mer-hybris/s19mps-droid-configs/blob/master/patterns/patterns-sailfish-device-adaptation-s19mps.inc#L49 this is how it's done on an official device17:29
T42<nightishaman> perhaps i forgot the pattern17:32
T42<nightishaman> yeah wouldve been easier17:32
T42<nightishaman> My hands give up tho. Can’t continue17:35
T42<elros34> @Mattia990 so I do not see any crash, Use strace -f next time. Audio doesn't work? Nothing in logcat?17:57
T42<nightishaman> No idea what I did but the full image rebuild fucked trusty. After droid-hal-init starts, kernel panic with trusty18:24

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