| *** n2klb_ is now known as n2klb | 01: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 filesystem | 06: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 case | 07:33 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/6d23666d66d5 | 07:34 |
| *** Ischwitch is now known as Ingvix | 10: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 work | 11: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/2bd927659b1f | 11: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/7e9a8c38dc68 | 11: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_Magister | thaaank you mal | 13:28 |
| Mister_Magister | the context invalidation probably will be another fat set of PRs :/ | 13:29 |
| Mister_Magister | on the bright side it might help sfos in general | 13: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 starts | 14:32 |
| T42 | <the_hiktor> But dmesg showing the device is still connected | 14:33 |
| T42 | <the_hiktor> What i mean is telnet disconnects | 14: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 startup | 14:38 |
| T42 | <the_hiktor> Yeah masked already | 14:41 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/78405ea70de3 | 14: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 usb0 | 14:47 |
| T42 | <the_hiktor> i don't use connman | 14:59 |
| T42 | <adampigg> connman on the phone | 14:59 |
| Mister_Magister | you don't realise but you do | 14:59 |
| T42 | <the_hiktor> oh my bad | 14:59 |
| Mister_Magister | @abranson i selected opus with max effort and its doing 6th review of the fix xddd | 15:00 |
| T42 | <the_hiktor> @adampigg do you mean UnmanagedInterfaces=usb0 ?? | 15:12 |
| T42 | <adampigg> No, DontBringDownAtStartup=usb0 | 15:13 |
| mal | https://github.com/mlehtima/droid-config-fp5/blob/master/sparse/etc/connman/main.conf.d/10-fp5.conf | 15:16 |
| mal | the last line is separate thing to control wpa3 support | 15:16 |
| T42 | <the_hiktor> am i supposed to this at all | 15:17 |
| T42 | <the_hiktor> cause month ago it was fine | 15:17 |
| mal | which interface are does the device use? run on device "ifconfig -a" | 15:18 |
| mal | what did you change to cause it to break? | 15:18 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/56e6346e4649 | 15:20 |
| T42 | <the_hiktor> changed nothing iirc | 15:20 |
| mal | ok, you use rndis0 so that file I linked is not needed | 15:20 |
| mal | show your config repo | 15:21 |
| mal | or at least show usb-moded configuration file you have | 15:22 |
| T42 | <the_hiktor> https://github.com/GloboPatro/droid-config-surya | 15:22 |
| mal | so you have no usb-moded configuration, I wonder if the default values work for you | 15:26 |
| mal | try adding file /etc/usb-moded/usb-moded-surya.ini with the following content | 15:27 |
| mal | [configfs] | 15:27 |
| mal | gadget_conf_directory = configs/c.1 | 15:27 |
| mal | I assume your port is the usual community style build? | 15:28 |
| mal | or is it? | 15:28 |
| mal | you can check that /config/usb_gadget/g1/configs/ folder on device | 15:29 |
| T42 | <adampigg> mal: he already said usb-moded is currently masked | 15:29 |
| mal | oh | 15:29 |
| mal | so it breaks even in that case? | 15:29 |
| T42 | <adampigg> apparently | 15:30 |
| T42 | <adampigg> unless DHI is also maked | 15:30 |
| mal | wait | 15:30 |
| T42 | <the_hiktor> DHI masked | 15:30 |
| mal | https://github.com/GloboPatro/droid-config-surya/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/disabled_services.rc | 15:30 |
| mal | that is empty file so it ends up running the android usb services, maybe those do some funny things? | 15:31 |
| mal | why is that file empty? it overwrites the default file from submodule | 15:31 |
| T42 | <the_hiktor> dont have any idea | 15:32 |
| mal | which android base? | 15:32 |
| T42 | <the_hiktor> 11 | 15:32 |
| mal | on 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.rc | 15:33 |
| mal | and see if anything changes | 15:33 |
| T42 | <the_hiktor> ok 👍 | 15:34 |
| T42 | <abranson> Mister_Magister: But are you keeping up with what it's doing? | 15:40 |
| Mister_Magister | 20% | 15:40 |
| T42 | <abranson> good progress! :D | 15:40 |
| Mister_Magister | I don't comprehend this codebase but i undersand rougly where the error is | 15:40 |
| Mister_Magister | when you turn screen off the context is invalidated and that doesn't get propagated to gstreamer | 15:40 |
| T42 | <abranson> hopefully it doesn't end up like a butcher's dustbin | 15:40 |
| Mister_Magister | so like rooouuuughly i get the concept | 15: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 not | 15:45 |
| Mister_Magister | expect the patches today mostlikely | 15:47 |
| Mister_Magister | @abranson now reading patch files, it does look promising | 15:52 |
| Mister_Magister | yeah looks quite clean, once it removes 5 kilometers of comments that it loves to add | 15:57 |
| Mister_Magister | it came out quite simple in the end | 16:01 |
| T42 | <the_hiktor> ok things looks nice thx 🥹 | 16:02 |
| T42 | <the_hiktor> but still got no gui | 16: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 journal | 16:35 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/36dd3d1f012c | 16:35 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/671d213a6cc0 | 16:35 |
| T42 | <the_hiktor> logcat spamming about mixing copies of libbinder | 16:36 |
| T42 | <abranson> Mister_Magister: sounds good! | 16:59 |
| mal | that "mixing copies of libbinder" seems familiar | 17: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 apexes | 17:10 |
| mal | @the_hiktor kill the process vndservicemanager, it should restart automatically | 17:10 |
| Mister_Magister | @abranson https://github.com/sailfishos/gst-plugins-base/pull/16 https://github.com/sailfishos/gst-plugins-good/pull/15 Please have mercy | 17:13 |
| Mister_Magister | it looks sensible and clean to my eye | 17:14 |
| T42 | <the_hiktor> mal: https://paste.opensuse.org/pastes/d87b06401877 | 17:15 |
| mal | at which timestamp did vndservicemanager restart? | 17:16 |
| T42 | <the_hiktor> didnt monitor that sry lemme try again | 17:17 |
| Mister_Magister | tbh i'm tempted to announce the qmlglsink stuff on forums but i'll hold off a bit xd | 17:19 |
| Mister_Magister | mal: since you are merging this stuff, what's the ETA for this landing in sfos? | 17:28 |
| Mister_Magister | 5.3? | 17:29 |
| mal | 5.3 | 17:30 |
| Mister_Magister | dang… okay | 17:30 |
| Mister_Magister | thanks | 17:31 |
| Mister_Magister | hopefully 5.3 is right around the corner! :D | 17:31 |
| mal | 5.2 is in release candidate state, well releases for JP already so no big changes there | 17:31 |
| Mister_Magister | yeah i know but i was hoping for it to land as minor release xd no biggie | 17:32 |
| Mister_Magister | i'm happy it got merged at all | 17:32 |
| Mister_Magister | now just to get the qtwayland merged and the blanking fix | 17:33 |
| Mister_Magister | i 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 xd | 17:34 |
| T42 | <abranson> have you tried giving your claude access to a device, so it can probe what's happening? | 17:42 |
| Mister_Magister | it did | 17:42 |
| Mister_Magister | it did that a lot | 17:42 |
| Mister_Magister | sorry the answer is yes | 17:43 |
| Mister_Magister | is 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 xd | 17: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 crazy | 17:46 |
| Mister_Magister | now its even triggering rebuilds on obs and installing packages on device xd | 17:46 |
| T42 | <the_hiktor> mal: from the begining of the paste is when i killed vndservicemanager , i think it restarted at line 321 | 17:48 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/50e86964dc4f | 17:48 |
| Mister_Magister | (i hope there's no issue) | 17:51 |
| T42 | <abranson> it's really good at that sort of thing | 17:58 |
| Mister_Magister | yeah | 17: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 OBS | 17:58 |
| Mister_Magister | yes | 17:58 |
| T42 | <abranson> I'm looking and it seems a bit convoluted. a few weird things. | 17:58 |
| Mister_Magister | in the -good repo i presume | 17: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_Magister | i seriously doubt that | 17:59 |
| Mister_Magister | i asked it if the fix could be in different place like 4 times xd | 18: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 there | 18:16 |
| T42 | <the_hiktor> this is what's inside | 18:20 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/f66820586dae | 18: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.so | 18: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 SUBTITLES | 18:56 |
| Mister_Magister | I love it | 18:56 |
| T42 | <the_hiktor> mal: ok done | 19: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 decoder | 19:13 |
| mal | @the_hiktor no, for the failing minimediaservice | 19:20 |
| mal | Mister_Magister: ok, the capabilities handling is droidmedia is not that great | 19:20 |
| Mister_Magister | just repoting :) Can't watch most of anime like that :D | 19:23 |
| Mister_Magister | there was a bug that after seeking video was stuttering but it was purely bug in my app's seeking | 19:42 |
| T42 | <the_hiktor> mal: i dont think i see droidmediaservice in logs anymore | 19:49 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/6720c4c65bd6 | 19:55 |
| mal | just one minimediaservice message but no failure anymore | 20:03 |
| T42 | <the_hiktor> what am i supposed to look for regarding gui ? | 20:20 |
| mal | well the reason for UI not working is that libbinder issue | 20:20 |
| mal | main reason at least | 20:21 |
| mal | where in the device do you have libbinder.so files? | 20:21 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/1fc41b712e4b | 20:22 |
| mal | I 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 |
| mal | sorry to /usr/libexec/droid-hybris/system/etc/init/ | 20:27 |
| mal | show the file after modification so I can verify it looks ok | 20: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 |
| mal | yes | 20:39 |
| mal | I suspect there is some issue with linkerconfig so we'll try to work around it | 20:40 |
| T42 | <the_hiktor> nice, i remember elros talking about some workarounds instead of fixing that patch and no one bothers in fixing it | 20:42 |
| mal | the issue is mainly in certain android bases, you are using the unlucky android base | 20:43 |
| T42 | <the_hiktor> ok, is this right ? | 20:49 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/acd3dbcef546 | 20:49 |
| mal | yes, seems ok | 20:51 |
| mal | now reboot and see if any improvement happens, check logcat for any libbinder things | 20:52 |
| T42 | <the_hiktor> okey logcat seems nice no more libbinder 😁 | 21:01 |
| mal | any messages about something waiting for something | 21:02 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/aa27f37f372a | 21:04 |
| T42 | <the_hiktor> yea ServiceManager: Waiting for service 'display.qservice' on '/dev/vndbinder'... | 21:04 |
| T42 | <the_hiktor> and some more | 21:05 |
| mal | it seems like something is not starting | 21:07 |
| mal | ok, 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 exists | 21:12 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/07710f3d16b4 | 21:44 |
| T42 | <the_hiktor> i dont think there's difference | 21:47 |
| Mister_Magister | enabled assrenderer in gst-plugins-bad and now i can finally, truly and fully watch anime xd | 21:52 |
| mal | @the_hiktor https://github.com/sailfish-on-karatep/karatep-patches/tree/hybris-18.1/system/core | 22:07 |
| mal | add those two latter patches, I assume you have first one | 22:07 |
| mal | found that here https://github.com/sailfish-on-karatep/karatep-port/blob/main/docs/rca/vndservicemanager-libbinder.md?plain=1 | 22:08 |
| mal | better formatting https://github.com/sailfish-on-karatep/karatep-port/blob/main/docs/rca/vndservicemanager-libbinder.md | 22:08 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!