Monday, 2026-05-11

nightishamani've had to change 5 repositories because lineageos uses the prebuilt kernel and I had to make some modifications to make the kernel build00:31
nightishamanhttps://github.com/maltesermailo?tab=repositories00:32
T42<roundedrectangle> @b100dian Tried, but got an error about TLS_SLOT_ART_THREAD_SELF macro seemingly being empty after patching in art/runtime/thread-current-inl.h (full log: https://justpaste.it/jwpwh). It seems like in hybris-17.1 this file was patched by making it return nullptr (https://github.com/mer-hybris/hybris-patches/blob/hybris-17.1/art/0001-hybris-Silence-some-build-errors-to-let-the-systemim.patch). That patch doesn't exist anymore in hybri07:17
Mister_Magistermal: Hiii there's one more bug to squash, remember when I mentioned that screen doesn't wake up when you connect it to charging? Well it also doesn't wake up when there's notification or when there's an alarm :/ Any idea who (which software) could be responsible for that?07:30
T42<elros34> @roundedrectangle maybe nothing, ignore error and move on. You will see later whether you should have anything in that directory => something will fail07:32
T42<roundedrectangle> @elros34 thanks, I'll try that07:39
T42<adampigg> @Mister_Magister mce is what handles the screen isnt it07:40
Mister_Magisterthat'd be my first thought07:41
T42<adampigg> possibly along ngfd and dbus ?07:41
T42<adampigg> well, ngfd for notifications, and usb-moded for usb ... all talking to mce07:42
T42<adampigg> try enabling mce logs07:42
Mister_MagisterI'm just describing all cases to mal because he might see past the mce and individual programs because also you cannot turn on the screen during call07:42
Mister_Magisterwhich seems like is all collectively from the same root issue07:42
Mister_Magisterwhat that root issue is i'm not sure07:43
T42<adampigg> did you sort youre volte issues? i quite enjoyed the thorough writeup yeterday07:43
T42<adampigg> seems like you should doc the api mismatch07:43
Mister_Magisteralmost, it's in iphone mode, you cannot reject a call07:44
Mister_Magisteryou can pick up and cancel it but you cannot reject incomming call07:44
Mister_Magisteryeah i'll start from looking at mce07:46
Mister_Magisteralso I feel like anyone else porting recent phone will sooner or later encounter usb issue since i encountered it on 2 separate vendors so here it is traveller https://github.com/VerdandiTeam/usb-state-notifier07:47
Mister_Magisternow i just need to write host and enable power delivery if there's usb connection with no charging07:48
T42<adampigg> nice (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>als...)07:51
T42<adampigg> @Mister_Magister you could maybe add lines like this to handle signals https://github.com/piggz/harbour-amazfish/blob/master/daemon/src/harbour-amazfish-daemon.cpp#L9107:52
Mister_Magisteralso something that's been nagging me is that when you disconnect the charger there's no "Unplug the charger which nobody does" notification07:52
Mister_Magister@adampigg what for though07:53
T42<adampigg> be more daemon :)07:53
Mister_Magistereh it works xd07:54
Mister_Magisterand my op6 woke up in my cupboard because i forgot to disable alarm after switching to miami07:58
Mister_MagisterI think i'll try 1.2 interface again but with -2 and see how it goes, maybe I'll be able to reject a call09:17
Mister_Magisterhuh11:42
Mister_Magister@adampigg i restarted mce and it fixed itself11:42
Mister_Magisterwhich points me to the same issue as there was with status led11:42
Mister_Magistereverything is a module, so first mce started then led loaded and mce didn't write to it anymore11:42
Mister_Magisterbut after restarting mce it would work just fine11:42
Mister_Magisterhmm can i delay mce start AFTER modules-load…11:43
T42<adampigg> yes, add a file to /etc/systemd/system/mce.service.d/... (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>hmm...)11:44
Mister_Magisterye ye i know i know don'tcha worry11:44
Mister_Magisteryeap it works flawlessly now11:46
Mister_Magisternow i wonder if that fixes in-call screen blanking too11:47
Mister_Magisteris there config somewhere where I can turn up the system sounds volume? without hw_volume=0 it was full volume but with hw_volume=0 it's bit too quiet12:01
T42<adampigg> with hw_volume=0, it should use the user defined volume right?12:12
Mister_Magisterno12:12
Mister_Magistersystem sounds don't follow user volume at all12:12
Mister_Magisteron like any of my devices12:12
Mister_Magistertry it yourself, keyboard sounds don't change volume12:13
T42<adampigg> true12:15
malnot quite sure what defines that volume12:17
T42<Mister_Magister> yes adam that's correct (re @adampigg: Odd issue i just not...)12:17
T42<adampigg> ha, over a hear ago12:18
T42<adampigg> i told you ngfd earlier12:18
Mister_Magisterye i know but ngfd is fine it's running just fine12:18
T42<adampigg> what version are you running? for 5.0 builds, i was having to build a later version of ngfd12:20
T42<adampigg> plugin12:20
Mister_Magisterjust what's default in repos12:21
Mister_Magisterworks fine on all of my devices12:21
Mister_Magisteron 5.012:21
Mister_Magisterby the way my port count is now 712:21
Mister_Magisterlike actively maintained12:21
T42<adampigg> 8 ... but im not counting :D12:22
T42<adampigg> no, 912:22
Mister_Magisteractively maintained?12:22
T42<adampigg> yeah12:22
Mister_Magisterhuh good job12:22
Mister_MagisterBUT! i also have 10 apps actively maintained :D12:23
Mister_Magisteri remember looking at one device that customized like button vibration duration and I can't find it now12:23
T42<adampigg> i was looking at the version history for Amazfish, and was shocked that it goes back over 7 years!12:23
Mister_Magisterare you sure ngfd is what emits keyboard sounds?12:24
Mister_Magister@adampigg those are rookie numbers12:24
Mister_Magistermy microtube is 8 years old… well 7 and a half12:26
Mister_Magisterye i stopped ngfd and keyboard still makes same sounds12:27
Mister_Magistermaybe jusa would know12:28
T42<adampigg> @Mister_Magister12:28
T42<adampigg> https://t.me/sailfishos_porters/18351512:28
Mister_Magisteryeah but no12:28
Mister_Magisteri stopped ngfd and keyboard didn't go 100% volume12:28
Mister_Magistercould be this https://github.com/sailfishos/ngfd/blob/master/data/plugins.d/50-profile.ini12:32
T42<edp_17> Question. I've built droid-hal for SFOS 5.0.0.68. Can I use the already built rpms for building 5.0.0.77 or I should rebuild all local packages again with a newer submodules etc?12:43
malyou can use the same droid-hal packages12:43
T42<edp_17> Thanks mal.12:43
malthose bugfix releases are so small that it doesn't matter12:44
T42<edp_17> Thanks. Is 0.77 the latest?12:44
malyes12:45
T42<edp_17> Thanks. Once more question. I remember there were a few versions since 0.67, Should I rebuild all of those or can I just go straight from 0.68 to 0.77?12:46
Mister_Magisteryes go straight12:49
malno need to build all12:49
Mister_Magistermal: any tips on how can I debug lack of second back camera?12:51
maldid you test that camera2 branch I linked yesterday?12:52
Mister_Magisterno i did not switch to camera2 at all, i wanted to try to get the second back camera on camera1 api so that i have video recording for users12:53
Mister_Magisterso… any tips? xd12:55
malwell video recording should work in that branch, at least it did some time ago12:56
Mister_Magisterhuh okay12:56
Mister_Magisteri shall switch then12:56
Mister_Magisteri would love to have insane camera quality improvement12:57
T42<edp_17> Thanks mal and @Mister_Magister.13:03
Mister_Magistermal: sorry but i don't see your link to camera2 branch13:13
Mister_Magisterdid you mean this? https://github.com/n2klb/droidmedia/commits/camera2-capture13:14
malyes13:15
Mister_Magisterso that droidmedia and which gst-droid?13:16
Mister_Magisteror do i not have to touch gst-droid13:16
Mister_Magistermal: can i disable sharpening and denoising on your camera2 branch?13:19
malyou can always fork it13:20
malneed to think about those13:20
Mister_Magisterthey should be disabled by default on all devices ever made13:20
Mister_Magisterthey're purely evil and ruin photos13:20
malok13:22
T42<edp_17> It seems something has changed since 0.68 because I am getting this when running the mic: https://paste.ubuntu.com/p/4xJr2BJfX7/13:23
malwe added some search engines, I assume you have manually added those in your droid-config repo?13:24
T42<edp_17> Yes, a while ago. I'm removing them and rebuilding droid-config and retry.13:25
Mister_MagisterYEAH my browser randomly started binging and i'm like stop it13:25
Mister_Magistermal: correction it's noise reduction and edge detection, rest is per-device quirks13:27
Mister_Magisteror edge enhancement13:28
Mister_Magisterwhatever it's called13:28
malok13:29
malI'll do some testing13:29
Mister_Magisterwould you be so kind as to show a place where i can hardcode set them to off? it's in droidmediacamera2.cpp i take it, but probably some initialization function?13:31
Mister_Magisterdroid_media_camera_connect perhaps13:32
Mister_Magisteri added them in update_request13:38
Mister_Magisterwe shall see13:38
Mister_Magisteruhhh mal this droidmedia doesn't build https://paste.opensuse.org/pastes/66b8635696d913:38
malprobably missing a15/a16 changes13:42
malwhich still haven't been merged13:42
Mister_Magisteroh so the android15 branch?13:43
malyeah, rebase on top of that13:43
Mister_Magistersure thing boss13:43
Mister_Magister11 thousand of objects to build… sweet xd13:54
Mister_Magistermal: do i just use master gst-droid?14:39
Mister_Magistermal: so advanced camera lists 3 cameras now but none of them work i think it fails to initialize or smth, same with jolla's camera14:44
malwhich gst-droid do you use now?14:44
malnot sure if all of the recent changes in gst-droid work in 5.014:45
Mister_Magisterjust the stnadard one in the repo14:45
Mister_Magisteri asked which one i should use14:45
Mister_Magisterso like which version what branch what commit do i use? :P14:45
Mister_Magisterwhich fork? xd14:46
malit's possible that branch doesn't work without changes in a15/1614:46
Mister_Magisterbut i did rebase14:46
Mister_Magisteras you said14:46
Mister_Magisternow it built fine14:46
malyeah, but not sure if it has ever been tested in those bases yet14:47
Mister_Magisterwell it is being tested now xd14:48
malI probably should test on jolla phone14:48
Mister_Magisterso do i need like master gst-droid?14:48
malprobably no14:48
Mister_Magisteroh14:48
Mister_Magisterye can confirm it doesn't work with master gst-droid either14:49
Mister_Magisterso how do we go about debugging why does it fail to initialize CameraBin error: "Could not initialize supporting library."14:50
Mister_Magistergst_debug14:50
Mister_Magistererror: error opening camera14:51
malwhat do you see in logcat14:53
Mister_MagisteropenCamera: connect camera device failed: Status(-8, EX_SERVICE_SPECIFIC): '6: connectDeviceImpl:2380: Camera disabled by device policy'14:53
Mister_Magisteri can just patch out the if can't i?14:56
Mister_Magistermal: https://cs.android.com/android/platform/superproject/+/android-latest-release:frameworks/base/services/core/java/com/android/server/camera/CameraServiceProxy.java;l=889?q=isCameraDisabled15:01
T42<adampigg> seems like you could patch that out and rebuild hybris-hal15:04
Mister_Magister@adampigg thats what im thinking, well not hybris-hal but droidmedia no?15:04
Mister_Magisterunless cameraservice is not from droidmedia15:04
T42<adampigg> yeah .. -the android side-15:04
Mister_Magisteroh15:05
Mister_Magisterso I can't rebuild cameraservice15:05
malit seems some changes are needed to droidmedia15:06
malI'll have a look later15:07
Mister_Magistero715:07
malheh, I had that already in a local branch for jolla c215:09
Mister_Magisteryou nasty, .patch please?15:09
malneeds cleanup, it has some unrelated changes15:09
maland might need fixing for different bases15:13
Mister_Magisterso i have to wait hm15:15
mala bit yeah, in the middle of some work stuff at the moment15:15
Mister_Magisterno worries15:16
Mister_MagisterI also bothered @TheKit and he might implement dial tone for me :315:16
Mister_Magisterwith your instructions15:16
Mister_Magisterits in same indication area i was playing around yesterday i just idk where to go from there15:16
malringback tone is simple, just a boolean in one binder indication15:20
Mister_Magisterto you, to me, what you just said makes no sense15:21
Mister_Magisterwhat binder indication?15:21
T42<NotKit> so QtiIMS indicates the system should play ringback tone?15:21
malhttps://gitlab.com/ubports/development/core/hybris-support/ofono-binder-plugin-ext-qti/-/blob/main/src/qti_radio_ext_types.h?ref_type=heads#L63515:23
malyes15:23
Mister_Magisterno i know about that15:23
Mister_Magisterlike i said i added even case for it in 1.0 interface15:23
Mister_Magisterjust idk what to do from there15:23
Mister_Magisterlike what do i do with that indication15:24
Mister_Magisterlike you add case here https://gitlab.com/ubports/development/core/hybris-support/ofono-binder-plugin-ext-qti/-/blob/main/src/qti_radio_ext.c?ref_type=heads#L56015:24
Mister_Magisterand idk what next15:25
malhttps://github.com/mer-hybris/ofono-binder-plugin/commit/7804af7dfd776ddf40d771cfa6ceebd2783cfb8c15:28
T42<NotKit> probably just need to forward that boolean value as that binder_ext signal or callback function15:29
Mister_Magistermal: sure but i have 0 clue how that relates at all15:29
malso similar to ring_handler probably15:29
malhttps://gitlab.com/ubports/development/core/hybris-support/ofono-binder-plugin-ext-qti/-/blob/main/src/qti_ims_call.c?ref_type=heads#L47015:29
Mister_Magisterand what do i do in the handler xd15:30
malit's callback as shown in the commit I linked15:30
malcheck what that ring_handler does and then use it as a base15:31
Mister_MagisterOHHHHHHH15:32
Mister_MagisterWAIT15:32
Mister_Magisterthis https://gitlab.com/ubports/development/core/hybris-support/ofono-binder-plugin-ext-qti/-/blob/main/src/qti_ims_call.c?ref_type=heads#L7715:32
Mister_Magisteris this https://github.com/mer-hybris/ofono-binder-plugin/commit/7804af7dfd776ddf40d771cfa6ceebd2783cfb8c#diff-5e354745f27344640da999af7f66d9be371a1b1cfd6b2e00a5c924ec3b1ada0dR6015:33
Mister_Magisterwait hold on15:33
Mister_Magisterneurons are connecting15:33
Mister_Magisterstand by15:33
Mister_Magistermal: how does this look https://github.com/VerdandiTeam/ofono-binder-plugin-ext-qti/commit/164fcfa85486bc7be85d537c195f18c1086bb31515:41
Mister_Magisterdid I miss somethign15:42
Mister_MagisterI did15:44
T42<adampigg> shouldnt a dial-tone include the required number/tone?15:45
T42<adampigg> no, thats the key tone15:45
T42<adampigg> ignore me15:45
Mister_Magister error: 'BinderExtCallInterface' {aka 'struct binder_ext_call_interface'} has no member named 'add_ringback_tone_handler'; did you mean 'add_ring_handler'?15:46
Mister_Magister:(15:46
Mister_Magisterdo I need newer ofono-binder-plugin?15:47
malyou are missing that it's a boolean15:47
T42<adampigg> looks like it15:47
Mister_Magistermal: uhhh15:48
Mister_Magisteri did not see boolean or any value at all15:48
malqti_ims_call_signals entry should be make to take one boolean15:48
maland adjust the handle accordingly15:48
mal*handler15:48
Mister_Magisterinstead of G_TYPE_NONE15:49
malwhere is the parsing of the binder indication?15:49
Mister_Magisterthere isn't one15:49
Mister_Magisterlook i have no idea what I'm doing xd15:49
malI said the binder indication is a boolean which tells whether to start of stop it15:49
Mister_Magistergotcha15:50
mali.e. the binder message contains one boolean15:50
Mister_Magisteryeye gotcha15:50
malyou can see in SIGNAL_CALL_SUPP_SVC_NOTIFY_NAME how it takes one pointer so you do similar but a boolean15:51
Mister_Magisterokay15:51
Mister_Magistermal: I so much have no idea what I'm doing that it would go beyond your wildest imagination xd16:02
Mister_Magisteranyway here's new commit https://github.com/VerdandiTeam/ofono-binder-plugin-ext-qti/commit/d2720da2aaf8a3e12ee334d206a4e89429dbbb1516:03
Mister_Magisternow i'm beyond confused16:06
Mister_Magisteroh16:07
Mister_Magisterofc bool doesn't exist16:07
Mister_Magisterwhat is it like gbool or smth16:07
Mister_Magistergboolean ofc16:07
mala better naming for the boolean in the handlers is for example "start"16:09
malor "play"16:09
Mister_Magisterbrother i'm just trying thing16:09
Mister_Magisteri have 0 idea of what i'm doing so i'm just trying anything16:10
Mister_Magister i'll worry about semantics when it works16:10
Mister_Magisterwhoa it built16:10
Mister_MagisterWHOA16:10
Mister_MagisterIT WORKS16:13
Mister_MagisterAAAAAAAa16:13
Mister_Magistermal: thanks!16:13
Mister_Magistera ton16:13
Mister_Magisternow i have to figure out why i can't reject a call16:14
Mister_Magisteron 1.2 with -2 on indication id i also can't refuse a call16:18
Mister_Magisterbut also, the screen doesn't go off during call16:18
Mister_Magisternow i got opposite problem xd16:19
Mister_Magisternow why in the world would I not be able to refuse a call hmm16:20
Mister_Magisterideas welcome16:20
Mister_Magistermal: any suggestions? there's like no logs whatsoever in ofono when i press button to reject a call16:24
malyou mean rejecting an incoming call?16:29
Mister_Magisteryes16:29
Mister_Magisteri can cancel the call once it's on going or cancel dialing16:29
Mister_Magisterbut i cannot reject incoming call16:29
Mister_Magisterit is technically called hangup in ofono16:31
malyou implemented the hangup in the plugin?16:32
Mister_Magisterno16:33
Mister_Magisterbut it works on other devices with that plugin16:33
malsome devices might be different16:33
Mister_MagisterHence I'm trying this cheeky thing https://github.com/VerdandiTeam/ofono-binder-plugin-ext-qti/commit/5c6a92d39883f54fc6fc7175f08013e770c3027f16:33
malalso the excluded code is not even using BINDER_EXT_CALL_HANGUP_REASON which is just wrong16:34
Mister_Magisterxdd16:34
malone of the binder parameters can contain for example user reject when rejecting a call, normal is sent in other cases16:35
Mister_MagisterI'd fix that if i knew what i'm doing16:35
Mister_Magisterohh ims:Hanging up return 916:41
Mister_Magisterbut it did not hang up at all16:41
Mister_Magistermal: is it because it's incorrectly implemented?16:42
malprobably16:45
Mister_Magisterugh16:45
Mister_MagisterI can't fix it then :/16:46
Mister_Magisterman I can't wait for camera2 api to work16:58
Mister_Magisterso excited16:59
Mister_Magisteroh mal idk if i mentioned but on camera2 api all 3 cameras are present and accounted for17:01
Mister_Magistermeanwhile i can maybe look into OTG17:04
Mister_MagisterI don't get it, now that mce works fine, proximity sensor during call doesn't work at all, even though it works fine in CSD17:14
Mister_Magisterfrom "I cannot unblank the screen" to "i cannot blank the screen"17:14
Mister_Magistereugh17:14
Mister_Magisterand removing on_demand doesn't help17:14
Mister_Magisterit doesn't react to proximity at all17:16
Mister_Magisterlike nothing in the logs17:17
nightishamanSo, the LineageOS build uses prebuilt kernels and nothing is done for building the kernel myself. I currently have a problem that a header that is exported by a module isn't available to libhwc2 because the module wasn't built yet or the module header install doesn't get called. Before I spend hours digging through the build system trying to17:25
nightishamanactivate modules header install before other stuff, does someone know how to do that?17:25
malwhich header is that?17:28
nightishamandrm/samsung_drm.h17:35
nightishamanits in private/google-modules/.../include/uapi/drm/17:36
nightishaman./private/google-modules/display/samsung/include/uapi/drm/samsung_drm.h17:39
nightishamanI used a link file to link it to the kernel headers now, but I wanna do it as cleanly as possible17:39
T42<mettska111> back again with my pdx225-trial18:14
T42<mettska111> this fails: rpm/dhd/helpers/build_packages.sh --mw18:14
T42<mettska111> I dont understand where the correct error is, perhaps this is it18:14
T42<mettska111> make[2]: *** [Makefile:537: libgralloc_la-gralloc.lo] Error 118:14
T42<mettska111> https://paste.opensuse.org/pastes/944789f0947818:15
T42<elros34> if you are not sure then paste full: '* Check /home/sail/hadk/external/libhybris.log for full log. '18:42
T42<mettska111> https://paste.opensuse.org/pastes/d631325be27218:52
nightishamanokay, so for some reason, the kernel headers get included in the build for libhwc and override epoll_event struct to have the wrong structure.19:18

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