| *** n2klb_ is now known as n2klb | 01: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.default | 05: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 different | 08:28 |
| T42 | <Mattia990> https://paste.opensuse.org/pastes/f7c68b621a64 | 08: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 carrier | 09: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 fine | 09:54 |
| sharks | but `journalctl -b | grep ofono` comes up completely empty. | 09:55 |
| sharks | I have no idea why it seems like everything is right yet connman can't talk. | 09:55 |
| sharks | As a reminder this is SFOS 5.1 & Lineage 22.2 on Xperia 10 IV | 09:55 |
| sharks | I 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 |
| sharks | Output of running connmand manually -> https://paste.opensuse.org/pastes/c4c850f98276 | 10: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_DISABLED | 14:49 |
| T42 | <Mattia990> I have the mount for the wrapper hidl still active and masked pulseaudio | 14: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 YESSSSS | 15:34 |
| mal | what 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 first | 15:36 |
| mal | which libhybris version did you have? | 15:37 |
| mal | which android base? | 15:37 |
| T42 | <nikita_kraev> i was using your pr-testing branch with A16. packaging repo: f78b6a0; submodule - 033edcd | 15:39 |
| mal | hmm | 15:39 |
| T42 | <nikita_kraev> I suspect the 3cc1626 is the culprit, but i'll get back to you on this | 15:39 |
| mal | that has been working fine on jolla phone | 15:40 |
| T42 | <nightishaman> Really? That could be my problem too (re @nikita_kraev: libhybris commit I'v...) | 15:49 |
| mal | started to wonder one thing | 15:49 |
| mal | could it be that tls-padding is needed when using that | 15:50 |
| T42 | <nikita_kraev> it is exactly around the padding, yeah, one moment, i am pulling the git diff | 15:50 |
| mal | github.com/mer-hybris/tls-padding and then this file https://github.com/mer-hybris/s19mps-droid-configs/blob/master/sparse/etc/ld.so.preload | 15:50 |
| mal | https://github.com/mer-hybris/tls-padding for easier opening the link | 15:51 |
| mal | @nightishaman do you also use that pr-testing branch? | 15:51 |
| T42 | <nightishaman> yes | 15:52 |
| mal | try building and installing that tls-padding package and then add the needed file | 15:52 |
| T42 | <nikita_kraev> https://gist.github.com/nikita-kraev/0e5128a8689ee8dc43c6a9163c19e294 | 15:52 |
| T42 | <nikita_kraev> | 15:52 |
| T42 | <nikita_kraev> This is the fix that did it | 15:52 |
| mal | ok, would be interesting to know if that tls-padding library helps also | 15:53 |
| T42 | <nightishaman> I forgot how to add repos | 15: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 minimer | 15: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/yJUjV1Pt | 16:11 |
| mal | you 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 anyway | 16:38 |
| mal | and adding journald.conf should not be done, not going to be easy to do that | 16:39 |
| T42 | <nightishaman> i removed them | 16:47 |
| T42 | <nightishaman> but libtls-padding.so doesnt exist | 16:48 |
| T42 | <nightishaman> for some reason, it didnt get compiled in even tho i did build_packages.sh —mw=LIBTLS_URL | 16:51 |
| T42 | <nightishaman> then i did rpm/dhd/helpers/build_packages.sh --configs and rpm/dhd/helpers/build_packages.sh --mic | 16: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.preload | 16:53 |
| T42 | <nightishaman> as sparse | 16:53 |
| T42 | <nikita_kraev> aaah thanks! | 16:53 |
| T42 | <nightishaman> ~ # find . -name "libtls-padding.so" 0 results | 16:54 |
| T42 | <nightishaman> i did continue and probably got kernel panic | 17:01 |
| T42 | <addr2vio> are there published kernel sources for the new jolla phone yet? | 17:02 |
| mal | not yet | 17:22 |
| T42 | <nightishaman> mal: any idea what i did wrong that libtls didnt compile? | 17:27 |
| T42 | <nightishaman> or at least its missing | 17:27 |
| mal | check $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 image | 17:28 |
| mal | https://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 device | 17:29 |
| T42 | <nightishaman> perhaps i forgot the pattern | 17:32 |
| T42 | <nightishaman> yeah wouldve been easier | 17:32 |
| T42 | <nightishaman> My hands give up tho. Can’t continue | 17: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 trusty | 18:24 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!