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 |
Thaodan | Official way would be easier for you. | 06:02 |
Thaodan | There shouldn't be much against adding halium later down the line. | 06:02 |
T42 | <Verevka86> it would be interesting to test the halium method | 06:04 |
T42 | <Spidey24Z> hi | 12:13 |
T42 | <Spidey24Z> when i add Requires: sailfish-devicelock-fpd patterns-sailfish-device-adaptation i got this error https://hastebin.com/hefequnuti.apache | 12: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> Yes | 12:56 |
Thaodan | do you have hw-common in the ks? | 12:57 |
Thaodan | something 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.apache | 12:59 |
Thaodan | You have the wrong repo | 12:59 |
Thaodan | Use jolla hw-commmon not community obs hw-common | 13: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 |
mal | both should be there usually | 13: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.aarch64 | 13:12 |
dr_gogeta86 | hi | 13:58 |
T42 | <Spidey24Z> can i set custom LD_PRELOAD value to pulseaudio? | 14:03 |
*** Ischwitch is now known as Ingvix | 14:05 | |
T42 | <Spidey24Z> need help with audio https://hastebin.com/adokivupuy.yaml | 18:17 |
mal | what 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 |
mal | hmm, 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 try | 18:30 |
T42 | <Spidey24Z> it didn't help (re @SailfishFreenodeIRCBridgeBot: <mal>hmm, you could ...) | 18:46 |
mal | maybe check strace what it tries to load | 18:51 |
T42 | <Spidey24Z> strace pulseaudio ? | 18:52 |
mal | yes, remember to add all needed parameters, check the service file and also check environment files mentioned in service, remember to run as defaultuser | 18:56 |
T42 | <Spidey24Z> su -l defaultuser -c "strace /usr/bin/pulseaudio --daemonize=no -n --file=/etc/pulse/arm_droid_default.pa" | 18:57 |
mal | why would you use su, just ssh in as defaultuser | 18:57 |
T42 | <Spidey24Z> okay | 18:57 |
T42 | <Spidey24Z> https://gist.github.com/aymanrgab/40dcb25ad540213840c863c086a9c5d7 | 19: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-bit | 19:39 |
T42 | <Spidey24Z> 😕 | 19:39 |
mal | which lib exactly does it fail to load without any library hacks? | 19:49 |
T42 | <Spidey24Z> Nothing but it load from lib64 | 19:50 |
mal | and those are not working? | 19:51 |
T42 | <Spidey24Z> Yes | 19: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 works | 19: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 Ingvix | 20:01 | |
mal | would symlinking that compat lib help? to libexec | 20:08 |
T42 | <elros34> looks like custom wrapper, it's not loaded by default by pulseaudio-modules-droid | 20:11 |
mal | yeah, but I mean making a symlink with different name like that bind mounting in ubports | 20:11 |
mal | as audio.primary.default.so | 20:12 |
mal | assuming the file is there | 20:12 |
mal | the source file | 20: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 all | 20: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 found | 20: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 bases | 20: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.so | 20:25 |
T42 | <Spidey24Z> ./system_root/system/lib/libaudiohal.so | 20:25 |
T42 | <Spidey24Z> ./system/lib/libaudiohal.so | 20:25 |
T42 | <elros34> so you know how tu use strace, figure out why it can't be found | 20:25 |
T42 | <elros34> btw /system_root/system is actually /system so you do not have to post same results twice | 20: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/!