From 17dd593d734b25ee60de7d1cfb10a427fe6da5a2 Mon Sep 17 00:00:00 2001 From: Roker2 Date: Mon, 21 Dec 2020 18:18:57 +0100 Subject: shinano-common: Add sony_effect configs and patch audio HAL to load it from vendor Change-Id: Ib6cf5a087b98890fb01d69f63d73887c4e38d5f8 --- extract-files.sh | 3 +++ proprietary-files.txt | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index 55de6d3..daffaaa 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -31,6 +31,9 @@ function blob_fixup() { ;; vendor/lib/hw/audio.primary.msm8974.so) sed -i "s|/system/etc/mixer_paths.xml|/vendor/etc/mixer_paths.xml|g" "${2}" + sed -i "s|/system/etc/sony_effect/|/vendor/etc/sony_effect/|g" "${2}" + sed -i "s|/system/etc/tfa98xx/|/vendor/etc/tfa98xx/|g" "${2}" + sed -i "s|/system/lib/soundfx/|/vendor/lib/soundfx/|g" "${2}" ;; vendor/lib/libaudioroute.so) sed -i "s|/system/etc/mixer_paths.xml|/vendor/etc/mixer_paths.xml|g" "${2}" diff --git a/proprietary-files.txt b/proprietary-files.txt index 80c79c6..237fcee 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -19,6 +19,14 @@ vendor/lib/libaudcal.so lib/hw/audio.primary.msm8974.so:vendor/lib/hw/audio.primary.msm8974.so lib/libaudioroute.so:vendor/lib/libaudioroute.so +# Audio sony effect +etc/sony_effect/clearphase_sp_param.bin:vendor/etc/sony_effect/clearphase_sp_param.bin +etc/sony_effect/effect_params.data:vendor/etc/sony_effect/effect_params.data +etc/sony_effect/sforce_param_arm.bin:vendor/etc/sony_effect/sforce_param_arm.bin +etc/sony_effect/sforce_param_qdsp.bin:vendor/etc/sony_effect/sforce_param_qdsp.bin +etc/sony_effect/xloud_param_arm.bin:vendor/etc/sony_effect/xloud_param_arm.bin +etc/sony_effect/xloud_param_qdsp.bin:vendor/etc/sony_effect/xloud_param_qdsp.bin + # Bluetooth aptX - from Motorola Moto Z NCLS25.86-11-4-6-5 vendor/lib/libaptX_encoder.so|b03772672144d4b750a5672c2922aded93bb0512 -- cgit v1.2.3