beyond1lte: Build audio HAL from source
Change-Id: Ib72963bd58196478e87b6acd29adc64c31133b0a
diff --git a/extract-files.sh b/extract-files.sh
index 77ece17..9b544ba 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.exynos9820.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 38e94db..421d343 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -1,17 +1,13 @@
# Proprietary files - from Samsung package version G973FXXSGHWA3, unless pinned
## Audio
-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_SamsungRec_07010.so
--vendor/lib/hw/audio.primary.exynos9820.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