Saturday, 2026-09-05

*** n2klb_ is now known as n2klb01:32
sharks[m]What is the best way to add files to /vendor given it is read only?07:52
sharks[m]Ah, nevermind, found what I need. Thanks to Nagara! https://github.com/sailfishos-sony-nagara/droid-config-sony-nagara/blob/main/sparse/usr/lib/systemd/system/overlays.service07:55
sharks[m]Okay, I got fingerprint working but it's a real hack. I've extracted some binaries from the stock A14 firmware and jammed them into sparse, then I use an overlay to mount them back into /vendor on boot and add the vintf manifests etc.09:20
sharks[m]Worst of all, droid-hal-version failed to build because it saw those .so files and couldn't find all the dependencies for them at build time, so I had to work around that with %global __requires_exclude ^(lib.*\\.so.*)$ in my droid-configs spec file.09:20
sharks[m]So, it's working now but there must be a better way. Can anyone offer any insight?09:21
T42<adampigg> i have done the same in the past :D09:29
sharks[m]Heh, I'm not sure if that means it is acceptable or if it is still dodgy despite the fact that it's been done in the past!09:38
T42<adampigg> probably both :)09:47
sharks[m]Good to know. I'll see if anyone else has any other opinions, but if not I guess I'll just ship it like that then09:47
sharks[m]Thanks piggz09:47
sharks[m]Far out, nevermind. Somehow I've killed pulseaudio with those changes10:26
sharks[m]Yep, using Nagara's overlays script kills pulseaudio. Damn.10:30
sharks[m]That looked like it was going to be so handy10:30
T42<the_hiktor> @elros34, jtrace64 ? Am i supposed to have it like a binary somewhere?10:38
T42<elros34> no, you need to download it manually10:54
T42<the_hiktor> Ok11:17
*** sskras is now known as `11:36
*** ` is now known as ````11:45
*** ```` is now known as sskras11:47
*** sskras is now known as ````11:49
*** ```` is now known as sskras11:52
*** sskras is now known as ````11:53
*** ```` is now known as sskras11:56
T42<the_hiktor> i added selinux stubs before trying jtrace i think it looks different12:18
T42<the_hiktor> https://paste.opensuse.org/pastes/6dd5082ee6c512:18
T42<elros34> hwservicemanager can't access it , maybe copy it to odm12:29
sharks[m]Okay, my audio problem was I was overlaying too many subdirectories and I didn't strictly need to be, so I've got that fixed. But boot times have gone way up and ofono is failing at boot requiring a manual restart. Once you've booted and done that though, the system seems fine and audio, fingerprint, and ofono are all working. I'll run it like this for a day or two while I try to figure out why ofono won't come up on its own12:39
T42<the_hiktor> @elros34 can i copy libselinux_stubs.so to /odm/lib64 ?12:41
T42<elros34> reading it more maybe you can't. I12:44
T42<elros34> nstead for example /product/lib612:44
sharks[m]It also appears I can only register one finger at a time. As soon as I register another, the first is no longer recognised.12:45
T42<Herrie1982> @adampigg Any interest in a forward ported ofono 2.19?12:46
T42<Herrie1982> Have it up and running here on LuneOS, seems to behave, but would need wider testing12:48
T42<the_hiktor> @elros34 doesn't look different13:01
T42<the_hiktor> https://paste.opensuse.org/pastes/06639f6109b613:01
T42<elros34> it still search in /usr/libexec, are you sure you changed the path in rc file?13:03
T42<the_hiktor> sorry no i was trying to do it on phone to test it first13:09
T42<elros34> sure, do it on phone13:11
T42<elros34> no point in rebuilding everything for one line change13:12
T42<the_hiktor> https://paste.opensuse.org/pastes/dd1700e9629e13:29
T42<the_hiktor> now i dont know what to look for but i see that it needs libnativehelper.so13:29
T42<the_hiktor> i thought that patches did something about it13:30
T42<the_hiktor> new logs with symlinks13:42
T42<the_hiktor> https://paste.opensuse.org/pastes/eff56a14146313:42
T42<the_hiktor> hell yeah got gui14:00
T42<the_hiktor> looks like i was missing vndservicemanager.rc 🙂14:02
T42<elros34> oh man you are stuborn, I would give up. Can you show logcat just for comparision?14:08
mal@the_hiktor how was vndservicemanager.rc missing? you mean modified version?14:19
malyou still needed that to be modified?14:19
T42<the_hiktor> here's logcat14:22
T42<the_hiktor> https://paste.opensuse.org/pastes/21c5f860d66214:22
malwhat is that process 210714:23
T42<the_hiktor> i added it to /usr/libexec/droid-hybris/system/etc/init/ in phone and modefied it to look in /odm/lib6414:23
malwhat was it missing earlier? I mean what is in /odm that is needed?14:24
T42<the_hiktor> libselinux_stubs.so14:25
T42<the_hiktor> pid 2107 is  defaultu /usr/lib64/../libexec/gstreamer-1.0/gst-plugin-scanner -l /usr/libexec/mapplauncherd/booster-qt514:25
malwhy would vndservicemanager need selinux stubs14:26
T42<the_hiktor> idk14:26
malare you sure selinux was correctly setup?14:26
T42<the_hiktor> do you mean adding real selinux files ?14:28
mallooks like your config repo has the symlinks replaced so that should be fine, just to be sure you don't have any selinux disabling in kernel commandline?14:29
T42<the_hiktor> i dont remember lemme check it14:30
T42<elros34> sure he doesn't have it correct but it was so long time ago I forgot details. It was something about selinux breaking journalctl or something14:32
malyeah, I remember someone had that odd issue14:34
T42<the_hiktor> https://paste.opensuse.org/pastes/edfe1fbfee4914:48
T42<the_hiktor> looks like i have to copy libselinux_stubs.so to /odm/lib64 else it will keep looking for it15:06
T42<the_hiktor> even in /product/lib64 i should have  libselinux_stubs.so15:35
T42<adampigg> With sfos features added? (re @Herrie1982: @adampigg Any intere...)15:37
T42<Herrie1982> Yup I had Claude Fable forward port everything, did some sanity check testing on a MTK with 2 sims and verified what I could verify, seems stable and decent enough (re @adampigg: With sfos features a...)15:38
T42<elros34> @the_hiktor unlikely you need it in all 3 locations. It all depends on what do you set in LD_PRELOAD and what path is allowed by linker. There should be common place for all 3 servicemanagers15:41
T42<adampigg> Worth testing on pp (re @Herrie1982: Yup I had Claude Fab...)16:22
T42<Herrie1982> pp uses a different fork, no? I forward ported the one used on Android devices17:26
T42<the_hiktor> @elros3417:58
T42<the_hiktor> @elros34 can i change the allowed path by linker ?18:11
T42<elros34> not easily, AFAIk they are generated at runtime18:12
T42<the_hiktor> isn't vndservicemanager.rc supposed to make libselinux_stubs.so exist  where i set it to ?18:23
T42<elros34> not sure I follow. In custom vndservicemanager.rc you set LD_PRELOAD with path to where you have libselinux_stubs.so file18:29
T42<elros34> IIRC libselinux_stubs.so is installed by droid-hal18:31
T42<the_hiktor> i set it to odm/lib6418:35
T42<the_hiktor> while allowed paths are default_library_paths="/odm/lib64:/vendor/lib64:/vendor/lib64/hw:/vendor/lib64/egl", permitted_paths="/odm:/vendor:/system/vendor18:35
T42<the_hiktor> but it only exist where i set it in hwservicemanager.rc18:36
T42<the_hiktor> which have different allowed paths18:40
T42<adampigg> PP uses ofono upstream ... is your work upstream + sfos parts? (re @Herrie1982: pp uses a different ...)20:52

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