Friday, 2022-09-02

T42<Dust_077> I'm planning on porting Sailfish for Pixel 3 and tips before starting. Do I have to follow Halium way or the official Sailfish way ?04:33
T42<Dust_077> Porting to Halium have benifit of having multiple OS right ?04:33
T42<Dust_077> Any Pixel 3 user ?04:34
T42<Dust_077> I'm planning on porting Sailfish for Pixel 3 and tips before starting ? (edited)04:34
T42<Dust_077> Is there a mainlining port guide for Sailfish OS ?04:55
ThaodanOfficial way would be easier for you.06:02
ThaodanThere shouldn't be much against adding halium later down the line.06:02
T42<Verevka86> it would be interesting to test the halium method06:04
T42<Spidey24Z> hi12:13
T42<Spidey24Z> when i add Requires: sailfish-devicelock-fpd patterns-sailfish-device-adaptation i got this error
T42<Spidey24Z> when i add Requires: sailfish-devicelock-fpd to patterns-sailfish-device-adaptation i got this error (edited)12:16
Thaodan@<Spidey24Z>: Did you build patterns?12:55
T42<Spidey24Z> Yes12:56
Thaodando you have hw-common in the ks?12:57
Thaodansomething like epo --name=adaptation-common-j8110- --baseurl=
Thaodan*something like repo --name=adaptation-common-j8110- --baseurl=
ThaodanYou have the wrong repo12:59
ThaodanUse jolla hw-commmon not community obs hw-common13:00
T42<Spidey24Z> this one repo --name=adaptation-community-common-a5y17lte- --baseurl= ?13:02
malboth should be there usually13:12
T42<Spidey24Z> maybe this is the issue Problem: the to be installed sailfish-devicelock-fpd-1.1.3-1.2.24.jolla.aarch64 conflicts with 'jolla-devicelock-plugin-encsfa' provided by the installed jolla-devicelock-plugin-encsfa-0.2.47-1.3.24.jolla.aarch6413:12
T42<Spidey24Z> can i set custom LD_PRELOAD value to pulseaudio?14:03
*** Ischwitch is now known as Ingvix14:05
T42<Spidey24Z> need help with audio
malwhat would you need to preload?18:19
T42<Spidey24Z> /vendor/lib i guess because it use 32 bit audio library AUDIOSERVER_MULTILIB := 32 (re @SailfishFreenodeIRCBridgeBot: <mal>what would you ...)18:21
malhmm, you could always at first try to symlink the file to somewhere like /usr/libexec/droid-hybris/system/lib64/18:23
T42<Spidey24Z> okay i'll try18:30
T42<Spidey24Z> it didn't help (re @SailfishFreenodeIRCBridgeBot: <mal>hmm, you could ...)18:46
malmaybe check strace what it tries to load18:51
T42<Spidey24Z> strace pulseaudio ?18:52
malyes, remember to add all needed parameters, check the service file and also check environment files mentioned in service, remember to run as defaultuser18:56
T42<Spidey24Z> su -l defaultuser -c "strace /usr/bin/pulseaudio --daemonize=no -n --file=/etc/pulse/"18:57
malwhy would you use su, just ssh in as defaultuser18:57
T42<Spidey24Z> okay18:57
T42<Spidey24Z> can i set env HYBRIS_LD_LIBRARY_PATH=/apex/ to pulse ?19:28
T42<Spidey24Z> W: [pulseaudio] pid.c: Stale PID file, overwriting.19:39
T42<Spidey24Z> "/system/lib/" is 32-bit instead of 64-bit19:39
T42<Spidey24Z> 😕19:39
malwhich lib exactly does it fail to load without any library hacks?19:49
T42<Spidey24Z> Nothing but it load from lib6419:50
maland those are not working?19:51
T42<Spidey24Z> Yes19:51
T42<Spidey24Z> on ubports i use this to get sound works19:54
T42<elros34> so have you tried same on sailfish? DId you mount to
*** Ischwitch is now known as Ingvix20:01
malwould symlinking that compat lib help? to libexec20:08
T42<elros34> looks like custom wrapper, it's not loaded by default by pulseaudio-modules-droid20:11
malyeah, but I mean making a symlink with different name like that bind mounting in ubports20:11
malas audio.primary.default.so20:12
malassuming the file is there20:12
malthe source file20:12
T42<elros34> @Spidey24Z then check /usr/libexec/droid-hybris/system/lib64/hw/ Is it symlink already? but this is minor issue if wrapper works at all20:14
T42<Spidey24Z> it make pulse crash (re @elros34: so have you tried sa...)20:16
T42<Spidey24Z> it's not exist but i link it from /vendor/lib/hw (re @elros34: @Spidey24Z then chec...)20:17
T42<elros34> library "" not found20:18
T42<Spidey24Z> /dev/mmcblk0p25 on /system/vendor/lib64/hw/ type ext4 (rw,noatime,seclabel,resgid=1065,data=ordered)20:19
T42<Spidey24Z> /dev/mmcblk0p25 on /system_root/system/vendor/lib64/hw/ type ext4 (rw,noatime,seclabel,resgid=1065,data=ordered) (re @elros34: library "libaudiohal...)20:19
T42<Spidey24Z> i link this one (re @elros34: so have you tried sa...)20:19
T42<elros34> so how is your paste about related to" not found error?20:20
T42<elros34> did you found in device?20:20
T42<Spidey24Z> [pulseaudio] droid-util.c: Failed to load audio hw module audio.primary : Invalid argument (22)20:21
T42<elros34> btw do you even use correct pulseaudio plugin? It's different for different android bases20:21
T42<Spidey24Z> i use jb2q hybris 17.1 (re @elros34: btw do you even use ...)20:22
T42<elros34> so again did you found missing in device?20:23
T42<Spidey24Z> / # find -name libaudiohal.so20:25
T42<Spidey24Z> ./system_root/system/lib/libaudiohal.so20:25
T42<Spidey24Z> ./system/lib/libaudiohal.so20:25
T42<elros34> so you know how tu use strace, figure out why it can't be found20:25
T42<elros34> btw /system_root/system is actually /system so you do not have to post same results twice20:26
T42<Spidey24Z> nothing not foumd (re @elros34: so you know how tu u...)20:27
T42<Spidey24Z> nothing not found (edited) (re @elros34: so you know how tu u...)20:27
T42<Spidey24Z> i know (re @elros34: btw /system_root/sys...)20:27

Generated by 2.17.1 by Marius Gedminas - find it at!