phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.4k stars 660 forks source link

Quad speaker not working {Galaxy Tab A 10.5) SM-T590 #953

Open MrHomebrew opened 4 years ago

MrHomebrew commented 4 years ago

Quad speaker is currently not working {Galaxy Tab A 10.5) SM-T590.

I tried enabling stereo audio mode in PHH settings but that did not do the trick. Any direction on how to possibly fix this issue would be greatly appreciated in adding full compatibility to the device I mentioned above.

MrHomebrew commented 4 years ago

The issue is present on both PHH 9 and 10 builds along with Lineage and many others branched from this.

phhusson commented 4 years ago

FWIW Stereo speaker is broken for all Samsung devices except Oreo vendor

MrHomebrew commented 4 years ago

FWIW Stereo speaker is broken for all Samsung devices except Oreo vendor

The device originally shipped with Oreo and was updated to pie officially, fallowed by lineage.

Any idea how to resolve this issue to enable all 4 speakers?

lsswizard commented 3 years ago

any update on this yet ?

jegoco commented 3 years ago

Maybe you could flash the vendor file from the stock 8.1 rom?

lsswizard commented 3 years ago

still not fixed on this tablet

UDPSendToFailed commented 2 years ago

A partial fix is available here: https://github.com/UDPSendToFailed/android_device_samsung_gta2xlwifi/commit/96560d14ef054558924a470c047c38a6032dec3d

However it's still not working properly, the sound quality is unusable, it's distorted and crackling.

As far as I can tell from the logs, on the stock ROM the whole thing is configured by two effect libraries, called lib_SoundBooster_TDM_ver100.so and lib_SoundBooster_ver900.so.

image image

These libraries seem to be loaded by /system/lib/libcorefx.so which depends on various other things, so it's deeply integrated with OneUI.

I've tried several methods to make them load on AOSP but haven't had any success so far. Ideas are welcome.