Friday, 2023-01-27

T42<edp_17> Okay here is what I've done:00:02
T42<edp_17> - built that audio.primary.default.so00:03
T42<edp_17> - copied onto device into /usr/libexec/droid-hybris/system/lib/hw/audio.hidl_compat.default.so00:03
T42<edp_17> - in /usr/libexec/droid-hybris/system/etc/init/disabled_services.rc commented out: service vendor.audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-service_HYBRIS_DISABLED00:04
T42<edp_17> - rebooted00:04
T42<edp_17> - bind mounted: mount -o bind /usr/libexec/droid-hybris/system/lib/hw/audio.hidl_compat.default.so /vendor/lib64/hw/audio.primary.default.so00:04
T42<edp_17> - then payed a music00:04
T42<edp_17> and the result00:04
T42<edp_17> still no sound :(00:04
T42<elros34> did you restart pulse audio after all this changes?00:05
T42<edp_17> No00:05
T42<elros34> so it still use old audio.primary not hidl_compat00:05
T42<edp_17> Now I did restart pulseaudio but didn't help.00:06
T42<edp_17> How do you know it still uses old audio.primary instead of hidl_compat?00:07
T42<elros34> how can it use hidl_compat without bind mount00:08
T42<elros34> you can always strace -e file or run pulseaudio in verbmose mode, maybe it's enough00:09
T42<edp_17> I''ve set verbose mode for pulseaudio. Journal: https://paste.ubuntu.com/p/7BdVz9kNRq/00:13
T42<edp_17> Is not it always sending the sound stream to a bt device? Even if there isn't attached one? That would explain why sound is played on BT headset and not on built-in speaker. Although, that should work with calls too, but in calls there is no sound on either speaker nor BT headset.00:21
T42<elros34> this ubuntu paste without proper raw view is killing me, will check tomorrow, somehow make sure this hidl_compat is really loaded. Goodnight00:28
T42<edp_17> Okay, thanks. Good night!00:33
T42<edp_17> Okay, now I have sound via the jack headset. :D00:42
T42<edp_17> The built-in speaker is still silent though.00:42
T42<elros34> try without quirks and confirm probably in logcat that hidl_compat is really used09:10
T42<edp_17> Greping logcat for audio.hidl_compat doesn't give me anything. However, audio started working only when I bind mounted those libs.09:39
T42<elros34> I would search for: https://github.com/Halium/android_vendor_halium_hardware/blob/halium-10.0/audio/audio_hw.cpp#L675 or one of these ALOGV debug messages but as you assume it's probably used.09:56
T42<edp_17> Oh, thanks, I'll do this.10:11
T42<edp_17> Oh well! :( Since I touched that /etc/pulse/arm_droid_card_custom.pa file audio stopped working through jack again.11:26
T42<rfasciani> I installed Thaodan Sailfish ported to Xperia 5, on the instructions it says to update to Android 11, which i did.12:05
T42<rfasciani> 12:05
T42<rfasciani> Checking the comments, someone also did, and faced same issues as im having now. I cant connect to wifi.12:05
T42<rfasciani> 12:05
T42<rfasciani> I will have to install A10 back on the device, and install Sailfish again?12:05
*** phlixi is now known as Guest257412:11
*** phlixi_ is now known as phlixi12:11
*** phlixi is now known as Guest257512:15
*** phlixi_ is now known as phlixi12:15
*** phlixi is now known as Guest257612:22
*** phlixi_ is now known as phlixi12:22
deathmist2jusa: would you mind reviewing https://github.com/mer-hybris/pulseaudio-modules-droid/pull/117?13:44
T42<rfasciani> Anyone? I truly need help to fix this! (re @rfasciani: I installed Thaodan ...)17:18
T42<rfasciani> https://irc.thaodan.de/.imgstore/f4f37ff8/file_4455.jpg17:18
malThaodan: check the recent messages here17:29
T42<rfasciani> Cheers. If someone can send me a good tutorial on how to go back to stock Android, or Android 10, i appreciate it. (re @SailfishFreenodeIRCBridgeBot: <mal>Thaodan: check ...)18:56
T42<abranson> You need the Emma tool from Sony20:27
Thaodanrfasciani: Yes go back to Android 1020:32
T42<rfasciani> Please Andrew, can you be more specific? Send me a link, a tutorial or something? I spent all day trying to fix this, I tried to download the firmware through XperiFirm, than use Flashtools, didnt work, my Win does not properly install the drivers downloaded directly from Sony.20:32
T42<rfasciani> 20:32
T42<rfasciani> I really need some light here, and i trully appreciate any help. (re @abranson: You need the Emma to...)20:32
T42<rfasciani> How? Have been trying all day long, the tutorials i found, did not work. (re @SailfishFreenodeIRCBridgeBot: <Thaodan>rfasciani: ...)20:33
ThaodanThe emma tutorial should  on zendek20:33
T42<abranson> Emma is much easier than xperifirm I think20:33
Thaodan*zendesk20:33
T42<abranson> https://jolla.zendesk.com/hc/en-us/articles/115004283713-Reverting-Xperia-device-to-Android-OS-and-reinstalling-Sailfish-OS-moved-to-Docs-20:34
T42<abranson> or rather https://docs.sailfishos.org/Support/Help_Articles/Reinstalling_Sailfish_OS/20:34
T42<rfasciani> Thank you very much, will have a look right away.20:35
ThaodanFlashing instruction for Xperia 10 II say A11 is safe, I should mention it's not for Xperia 1/5.20:36
Thaodanrfasciani abranson: https://github.com/SailfishOS-SonyXperia/bugs/issues/7620:41
Thaodanrfasciani: in case you have issues next time  open an issue on GitHub please20:42
T42<rfasciani> I believe that if you do not change this page:20:54
T42<rfasciani> 20:54
T42<rfasciani> https://forum.sailfishos.org/t/sailfish-os-for-sony-xperia-1-and-5/1266220:54
T42<rfasciani> 20:54
T42<rfasciani> That will keep happening. (re @SailfishFreenodeIRCBridgeBot: <Thaodan>rfasciani a...)20:54

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