Wednesday, 2026-09-02

*** n2klb_ is now known as n2klb01:39
sharks[m]Crap, it looks like maybe Nagara just got lucky. They've got /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-rbs as part of their proprietary blobs already (from github.com/TheMuppets/proprietary_vendor_sony_sm8450-common/tree/lineage-23.2/proprietary/vendor/bin/hw)04:40
sharks[m]Hmmm the stock Android 14 firmware has an @2.1 interface, why doesn't TheMuppets have it? I wonder if I can shoehorn that into the filesystem06:18
T42<the_hiktor> Mister_Magister: could you look into my problem regarding usb after droid-hal-init start ??07:22
T42<the_hiktor> i got rid of /system/etc/init/hw/init.usb.rc and /vendor/etc/init/hw/init.qcom.usb.rc but that didn't help the case07:33
T42<the_hiktor> https://paste.opensuse.org/pastes/6d23666d66d507:34
*** Ischwitch is now known as Ingvix10:16
T42<b100dian> sharks: we extract proprietary files ourselves from xperifirm downloads. Pretty sure the proprietary txt can be extended to include that file or you can try bind mounting it over /vendor to see if it would work11:25
sharks[m]@b100dian currently trying to bind mount it and its dependencies, that has broken a lot of other things for some reason (WiFi, ofono, lots of spam about broken things in logcat, etc.) but fingerprint itself makes some progress: https://paste.opensuse.org/pastes/2bd927659b1f11:28
sharks[m]I used the A14 version of vendor.egistec.hardware.fingerprint@4.0.so in the above log which caused the "cannot locate symbol" issue. Put the A15 one back in and now have way more issues https://paste.opensuse.org/pastes/7e9a8c38dc6811:51
sharks[m]I guess my next step is to strace it? But I don't have a data usb cable with me at the minute and WiFi is dead while I have the fingerprint stuff mounted to /vendor with an overlayfs, so SSH is not currently possible. Will have to do more investigating in a few days when I am back home.11:53
Mister_Magisterthaaank you mal13:28
Mister_Magisterthe context invalidation probably will be another fat set of PRs :/13:29
Mister_Magisteron the bright side it might help sfos in general13:31
T42<adampigg> what issue are you having? (re @the_hiktor: i got rid of /system...)14:21
T42<the_hiktor> I lose connection after droid-hal-init starts14:32
T42<the_hiktor> But dmesg showing the device is still connected14:33
T42<the_hiktor> What i mean is telnet disconnects14:34
T42<adampigg> and youve tried masking usb-moded?14:36
T42<adampigg> also, is your device usb0 or rndis0?  do you have the correct settings in connman to not bring the device down on startup14:38
T42<the_hiktor> Yeah masked already14:41
T42<the_hiktor> https://paste.opensuse.org/pastes/78405ea70de314:44
T42<the_hiktor> masking droid-hal-init fix that 🫤14:45
T42<adampigg> seems like its using rndis as the driver, but the device is named usb0? try changing connman config to not bring down usb014:47
T42<the_hiktor> i don't use connman14:59
T42<adampigg> connman on the phone14:59
Mister_Magisteryou don't realise but you do14:59
T42<the_hiktor> oh my bad14:59
Mister_Magister@abranson i selected opus with max effort and its doing 6th review of the fix xddd15:00
T42<the_hiktor> @adampigg  do you mean UnmanagedInterfaces=usb0 ??15:12
T42<adampigg> No, DontBringDownAtStartup=usb015:13
malhttps://github.com/mlehtima/droid-config-fp5/blob/master/sparse/etc/connman/main.conf.d/10-fp5.conf15:16
malthe last line is separate thing to control wpa3 support15:16
T42<the_hiktor> am i supposed to this at all15:17
T42<the_hiktor> cause month ago it was fine15:17
malwhich interface are does the device use? run on device "ifconfig -a"15:18
malwhat did you change to cause it to break?15:18
T42<the_hiktor> https://paste.opensuse.org/pastes/56e6346e464915:20
T42<the_hiktor> changed nothing iirc15:20
malok, you use rndis0 so that file I linked is not needed15:20
malshow your config repo15:21
malor at least show usb-moded configuration file you have15:22
T42<the_hiktor> https://github.com/GloboPatro/droid-config-surya15:22
malso you have no usb-moded configuration, I wonder if the default values work for you15:26
maltry adding file /etc/usb-moded/usb-moded-surya.ini with the following content15:27
mal[configfs]15:27
malgadget_conf_directory = configs/c.115:27
malI assume your port is the usual community style build?15:28
malor is it?15:28
malyou can check that /config/usb_gadget/g1/configs/ folder on device15:29
T42<adampigg> mal: he already said usb-moded is currently masked15:29
maloh15:29
malso it breaks even in that case?15:29
T42<adampigg> apparently15:30
T42<adampigg> unless DHI is also maked15:30
malwait15:30
T42<the_hiktor> DHI masked15:30
malhttps://github.com/GloboPatro/droid-config-surya/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/disabled_services.rc15:30
malthat is empty file so it ends up running the android usb services, maybe those do some funny things?15:31
malwhy is that file empty? it overwrites the default file from submodule15:31
T42<the_hiktor> dont have any idea15:32
malwhich android base?15:32
T42<the_hiktor> 1115:32
malon device copy this https://raw.githubusercontent.com/mer-hybris/droid-hal-configs/refs/heads/master/sparse-11/usr/libexec/droid-hybris/system/etc/init/disabled_services.rc to /usr/libexec/droid-hybris/system/etc/init/disabled_services.rc15:33
maland see if anything changes15:33
T42<the_hiktor> ok 👍15:34
T42<abranson> Mister_Magister: But are you keeping up with what it's doing?15:40
Mister_Magister20%15:40
T42<abranson> good progress! :D15:40
Mister_MagisterI don't comprehend this codebase but i undersand rougly where the error is15:40
Mister_Magisterwhen you turn screen off the context is invalidated and that doesn't get propagated to gstreamer15:40
T42<abranson> hopefully it doesn't end up like a butcher's dustbin15:40
Mister_Magisterso like rooouuuughly i get the concept15:41
Mister_Magister@abranson it was doing some polling and when i saw polling I was like "can we not" and we in fact did not15:45
Mister_Magisterexpect the patches today mostlikely15:47
Mister_Magister@abranson now reading patch files, it does look promising15:52
Mister_Magisteryeah looks quite clean, once it removes 5 kilometers of comments that it loves to add15:57
Mister_Magisterit came out quite simple in the end16:01
T42<the_hiktor> ok things looks nice thx 🥹16:02
T42<the_hiktor> but still got no gui16:02
T42<adampigg> anything in journal about lipstick?16:07
T42<adampigg> or logcat?16:08
T42<the_hiktor> nothing mentions lipstick in logcat or  journal16:35
T42<the_hiktor> https://paste.opensuse.org/pastes/36dd3d1f012c16:35
T42<the_hiktor> https://paste.opensuse.org/pastes/671d213a6cc016:35
T42<the_hiktor> logcat spamming about mixing copies of libbinder16:36
T42<abranson> Mister_Magister: sounds good!16:59
malthat "mixing copies of libbinder" seems familiar17:07
T42<the_hiktor> i use https://raw.githubusercontent.com/sailfishos-on-sake/hybris-patches/refs/heads/hybris-18.1/system/core/0051-linkerconfig-switch-no-updatable-apex.patch for flattened apexes for not updatable apexes17:10
mal@the_hiktor kill the process vndservicemanager, it should restart automatically17:10
Mister_Magister@abranson https://github.com/sailfishos/gst-plugins-base/pull/16 https://github.com/sailfishos/gst-plugins-good/pull/15 Please have mercy17:13
Mister_Magisterit looks sensible and clean to my eye17:14
T42<the_hiktor> mal: https://paste.opensuse.org/pastes/d87b0640187717:15
malat which timestamp did vndservicemanager restart?17:16
T42<the_hiktor> didnt monitor that sry  lemme try again17:17
Mister_Magistertbh i'm tempted to announce the qmlglsink stuff on forums but i'll hold off a bit xd17:19
Mister_Magistermal: since you are merging this stuff, what's the ETA for this landing in sfos?17:28
Mister_Magister5.3?17:29
mal5.317:30
Mister_Magisterdang… okay17:30
Mister_Magisterthanks17:31
Mister_Magisterhopefully 5.3 is right around the corner! :D17:31
mal5.2 is in release candidate state, well releases for JP already so no big changes there17:31
Mister_Magisteryeah i know but i was hoping for it to land as minor release xd no biggie17:32
Mister_Magisteri'm happy it got merged at all17:32
Mister_Magisternow just to get the qtwayland merged and the blanking fix17:33
Mister_Magisteri have two guys testing it already and they're not even telling me if its working fine so i assume there's no issue because if there was issue they would complain xd17:34
T42<abranson> have you tried giving your claude access to a device, so it can probe what's happening?17:42
Mister_Magisterit did17:42
Mister_Magisterit did that a lot17:42
Mister_Magistersorry the answer is yes17:43
Mister_Magisteris there an issue?17:43
Mister_Magister@abranson its actually funny cause i even told it to launch picoplayer, click play via mpris, blank, unblank and unlock screen on its own because i'm this lazy xd17:44
Mister_Magister@abranson like the last finishing touches it broke the playback so it got the GST_DEBUG and figured why it broke all on its own, its kinda crazy17:46
Mister_Magisternow its even triggering rebuilds on obs and installing packages on device xd17:46
T42<the_hiktor> mal: from the begining of the paste is when i killed vndservicemanager , i think it restarted at line 32117:48
T42<the_hiktor> https://paste.opensuse.org/pastes/50e86964dc4f17:48
Mister_Magister(i hope there's no issue)17:51
T42<abranson> it's really good at that sort of thing17:58
Mister_Magisteryeah17:58
Mister_Magister@abranson so is the PR no good or you didn't have a look and just striking a conversation?17:58
T42<abranson> so you set it up with osc? i guess it knows how to work OBS17:58
Mister_Magisteryes17:58
T42<abranson> I'm looking and it seems a bit convoluted. a few weird things.17:58
Mister_Magisterin the -good repo i presume17:59
T42<abranson> but will have to look further. i have a feeling it's more complicated than it has to be because it might be in the wrong place?17:59
Mister_Magisteri seriously doubt that17:59
Mister_Magisteri asked it if the fix could be in different place like 4 times xd18:00
mal@the_hiktor does linkerconfig look ok if the device has it in /linkerconfig/18:06
T42<the_hiktor> how it should be looking like ?18:16
T42<the_hiktor> i only see ld.config.txt in there18:16
T42<the_hiktor> this is what's inside18:20
T42<the_hiktor> https://paste.opensuse.org/pastes/f66820586dae18:20
mal@the_hiktor please symlink libnativehelper.so similar way you have those other links in /odm/lib, check where the file is first. most likely the file is in /apex/com.android.art/lib/libnativehelper.so18:39
Mister_Magister@abranson I've rebuilt plugins-bad and ffmpeg to enable bluray/dvd subtitles and dts audio and now i can play direct dvd rip of stargate that I own as well as bluray rip of chernobyl series that i also own, WITH SUBTITLES18:56
Mister_MagisterI love it18:56
T42<the_hiktor> mal: ok done19:03
T42<the_hiktor> is  this for mixing copies of libbinder error ?19:04
Mister_Magister@abranson mal While i was at it i also found bug in gst-droid/droidmedia, it doesn't report that device cannot decode 10 bit h264 when it can't so it won't fall back to software decoder19:13
mal@the_hiktor no, for the failing minimediaservice19:20
malMister_Magister: ok, the capabilities handling is droidmedia is not that great19:20
Mister_Magisterjust repoting :) Can't watch most of anime like that :D19:23
Mister_Magisterthere was a bug that after seeking video was stuttering but it was purely bug in my app's seeking19:42
T42<the_hiktor> mal: i dont think i see droidmediaservice in logs anymore19:49
T42<the_hiktor> https://paste.opensuse.org/pastes/6720c4c65bd619:55
maljust one minimediaservice message but no failure anymore20:03
T42<the_hiktor> what am i supposed to look for regarding gui ?20:20
malwell the reason for UI not working is that libbinder issue20:20
malmain reason at least20:21
malwhere in the device do you have libbinder.so files?20:21
T42<the_hiktor> https://paste.opensuse.org/pastes/1fc41b712e4b20:22
malI think vndservicemanager.rc is in /system/etc/init/ ? or where ever that is, make a copy of it to /usr/libexec/droid-hybris/system/etc/ then add to the last line of the vndservicemanager definition this: "setenv LD_PRELOAD /apex/com.android.vndk.v30/lib64/libbinder.so"20:26
malsorry to /usr/libexec/droid-hybris/system/etc/init/20:27
malshow the file after modification so I can verify it looks ok20:27
mal@the_hiktor did you understand what you need to test?20:38
T42<the_hiktor> you want me to copy vndservicemanager.rc to that dir  then make some edits to it right ?20:39
malyes20:39
malI suspect there is some issue with linkerconfig so we'll try to work around it20:40
T42<the_hiktor> nice, i remember elros talking about some workarounds instead of fixing that patch and no one bothers in fixing it20:42
malthe issue is mainly in certain android bases, you are using the unlucky android base20:43
T42<the_hiktor> ok, is this right ?20:49
T42<the_hiktor> https://paste.opensuse.org/pastes/acd3dbcef54620:49
malyes, seems ok20:51
malnow reboot and see if any improvement happens, check logcat for any libbinder things20:52
T42<the_hiktor> okey logcat seems nice no more libbinder 😁21:01
malany messages about something waiting for something21:02
T42<the_hiktor> https://paste.opensuse.org/pastes/aa27f37f372a21:04
T42<the_hiktor> yea ServiceManager: Waiting for service 'display.qservice' on '/dev/vndbinder'...21:04
T42<the_hiktor> and some more21:05
malit seems like something is not starting21:07
malok, let's add one more symlink of /odm/lib64, for libstatssocket.so which should point to /apex/com.android.os.statsd/lib64/libstatssocket.so maybe also add to /odm/lib where it points to /apex/com.android.os.statsd/lib/libstatssocket.so check the target files that they exists21:12
T42<the_hiktor> https://paste.opensuse.org/pastes/07710f3d16b421:44
T42<the_hiktor> i dont think there's difference21:47
Mister_Magisterenabled assrenderer in gst-plugins-bad and now i can finally, truly and fully watch anime xd21:52
mal@the_hiktor https://github.com/sailfish-on-karatep/karatep-patches/tree/hybris-18.1/system/core22:07
maladd those two latter patches, I assume you have first one22:07
malfound that here https://github.com/sailfish-on-karatep/karatep-port/blob/main/docs/rca/vndservicemanager-libbinder.md?plain=122:08
malbetter formatting https://github.com/sailfish-on-karatep/karatep-port/blob/main/docs/rca/vndservicemanager-libbinder.md22:08

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