d1: Build audio HAL from source
Change-Id: Ib72963bd58196478e87b6acd29adc64c31133b0a
diff --git a/extract-files.sh b/extract-files.sh
index 43c495d..c2545dd 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -11,11 +11,6 @@
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}"
diff --git a/proprietary-files.txt b/proprietary-files.txt
index d727810..e9f12d0 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -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