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 https://hastebin.com/hefequnuti.apache12:16
T42<Spidey24Z> when i add Requires: sailfish-devicelock-fpd to patterns-sailfish-device-adaptation i got this error https://hastebin.com/hefequnuti.apache (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-4.4.0.68 --baseurl=https://releases.jolla.com/releases/4.4.0.68/jolla-hw/adaptation-common/aarch64/12:57
Thaodan*something like repo --name=adaptation-common-j8110-4.4.0.68 --baseurl=https://releases.jolla.com/releases/4.4.0.68/jolla-hw/adaptation-common/aarch64/12:58
T42<Spidey24Z> https://hastebin.com/zapecojegi.apache12:59
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-4.4.0.68 --baseurl=https://repo.sailfishos.org/obs/nemo:/devel:/hw:/common/sailfish_latest_aarch64/ ?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
dr_gogeta86hi13:58
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 https://hastebin.com/adokivupuy.yaml18:17
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/arm_droid_default.pa"18:57
malwhy would you use su, just ssh in as defaultuser18:57
T42<Spidey24Z> okay18:57
T42<Spidey24Z> https://gist.github.com/aymanrgab/40dcb25ad540213840c863c086a9c5d719:26
T42<Spidey24Z> can i set env HYBRIS_LD_LIBRARY_PATH=/apex/com.android.runtime/lib:/system/lib:/vendor/lib to pulse ?19:28
T42<Spidey24Z> W: [pulseaudio] pid.c: Stale PID file, overwriting.19:39
T42<Spidey24Z> "/system/lib/libhardware.so" 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 https://gitlab.com/ubports/porting/community-ports/android10/samsung-galaxy-s10/samsung-exynos9820/-/commit/862515b70696e5d25c5ab1a6a51f84c491f77eca to get sound works19:54
T42<elros34> so have you tried same on sailfish? DId you mount audio.hidl_compat.default.so to audio.primary.default.so?20:01
*** 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/audio.primary.default.so. Is it symlink already? but this is minor issue if wrapper works at all20:14
T42<Spidey24Z> it make pulse crash https://hastebin.com/royigiluyo.yaml (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 "libaudiohal.so" not found20:18
T42<Spidey24Z> /dev/mmcblk0p25 on /system/vendor/lib64/hw/audio.primary.default.so type ext4 (rw,noatime,seclabel,resgid=1065,data=ordered)20:19
T42<Spidey24Z> /dev/mmcblk0p25 on /system_root/system/vendor/lib64/hw/audio.primary.default.so 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 audio.primary.default.so related to libaudiohal.so" not found error?20:20
T42<elros34> did you found libaudiohal.so 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 libaudiohal.so 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 irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!