d1: Build audio HAL from source

Change-Id: Ib72963bd58196478e87b6acd29adc64c31133b0a
This commit is contained in:
Tim Zimmermann
2023-10-20 07:36:53 +02:00
parent f1f67e2630
commit 42cd29c6d9
2 changed files with 3 additions and 18 deletions

View File

@@ -11,11 +11,6 @@ function blob_fixup() {
vendor/lib*/libsec-ril*.so)
"${PATCHELF}" --replace-needed libril.so libril-samsung.so "${2}"
;;
vendor/lib/hw/audio.primary.exynos9825.so)
"${PATCHELF}" --remove-needed libaudio_soundtrigger.so "${2}"
"${PATCHELF}" --add-needed libshim_audioparams.so "${2}"
sed -i 's/str_parms_get_str/str_parms_get_mod/g' "${2}"
;;
vendor/lib64/libexynoscamera3.so)
xxd -p "${2}" | sed "s/8b022036/1f2003d5/g" | xxd -r -p > "${2}".patched
mv "${2}".patched "${2}"

View File

@@ -1,23 +1,13 @@
# Proprietary files - from Samsung package version N970FXXS8HWA1, unless pinned
## Audio
vendor/etc/LVACFS_Calibration.dat
vendor/etc/LVACFS_Configuration.txt
vendor/etc/LVACFS_ControlParams.txt
vendor/etc/dolby/dax-default.xml
vendor/etc/floating_feature.xml
vendor/etc/mixer_gains.xml
vendor/etc/mixer_paths.xml
-vendor/lib/libaudioproxy.so
-vendor/lib/librecordalive.so
-vendor/lib/lib_lvacfs.so
-vendor/lib/lib_SamsungRec_08020.so
-vendor/lib/vendor.samsung.hardware.bluetooth.a2dp@1.0.so
-vendor/lib/vendor.samsung_slsi.hardware.ExynosA2DPOffload@3.0.so
-vendor/lib/hw/audio.primary.exynos9825.so
-vendor/lib/soundfx/libaudioeffectoffload.so
## Audio - Dolby Atmos
vendor/etc/dolby/dax-default.xml
-vendor/lib/soundfx/libswdap.so
-vendor/lib64/soundfx/libaudioeffectoffload.so
## Audio Firmware
vendor/firmware/APBargeIn_AUDIO_SLSI.bin