olegos2 / mobox

2.36k stars 100 forks source link

No Audio on Samsung S23 #333

Open OmkarVedpathak opened 3 months ago

OmkarVedpathak commented 3 months ago

Device: Samsung S23 Processor: snapdragon 8 gen 2 for galaxy GPU: Adreno 740

I installed the One UI 6.1 update, and now the audio is not working in MOBOX. Also, the Samsung keyboard no longer works in MOBOX. Previously, it worked before the Android update pushed by Samsung.

I have performed a clean install four times now, but that did not help.

How to reproduce: On the S23, update the phone to One UI 6.1 and open MOBOX. You will notice that there is no audio now.

Arsalvean commented 3 months ago

Same problem on my s23 ultra..no audio..🥲

OmkarVedpathak commented 3 months ago

Keyboard starts working after enabling the Termux X11 accessibility setting for key interception.

However, the audio driver is broken on the S23.

Deniss23ultra commented 3 months ago

Im have same problem with my s23 ultra

Deniss23ultra commented 3 months ago

Do you think someone will start solving it? And that it can be solved at all?

OmkarVedpathak commented 3 months ago

I don't know, but we mostly just need a different audio driver.

OmkarVedpathak commented 3 months ago

Found temporary fixed /data/data/com.termux/files/usr/etc/pulse/default.pa need to modify this file. "#load module - aaudio-sink" in the last line edit it and remove # form line. and use winecfg to configure audio and test audio. be aware that aaudio seems to be unstable, as reported somewhere

Reference https://github.com/olegos2/mobox/issues/60#issuecomment-1872467478

gtaforever00 commented 1 month ago

Adding this here for anyone in the future. Another solution is to add this to the front of the pulse audio command. This should fix pulse audio.

File: /data/data/com.termux/files/usr/glibc/opt/scripts/start-tfm

Before:

pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1

After:

LD_PRELOAD=/system/lib64/libskcodec.so pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1