diff --git a/extract-files.sh b/extract-files.sh index 8f3945d..166b30b 100644 --- a/extract-files.sh +++ b/extract-files.sh @@ -14,6 +14,9 @@ function blob_fixup() { vendor/etc/camera/pureShot_parameter.xml|vendor/etc/camera/pureView_parameter.xml) sed -i 's/=\([0-9]\+\)>/="\1">/g' "${2}" ;; + vendor/lib64/hw/audio.primary.taro-zeus.so) + "${PATCHELF_0_17_2}" --set-soname "audio.primary.taro-zeus.so" "${2}" + ;; vendor/lib64/hw/fingerprint.goodix_fod.default.so) "${PATCHELF_0_17_2}" --set-soname "fingerprint.goodix_fod.default.so" "${2}" ;; @@ -23,6 +26,9 @@ function blob_fixup() { vendor/lib64/libcamximageformatutils.so) "${PATCHELF_0_17_2}" --replace-needed "vendor.qti.hardware.display.config-V2-ndk_platform.so" "vendor.qti.hardware.display.config-V2-ndk.so" "${2}" ;; + vendor/lib64/libkaraokepal.so) + "${PATCHELF_0_17_2}" --replace-needed "audio.primary.taro.so" "audio.primary.taro-zeus.so" "${2}" + ;; vendor/lib64/libSnpeCpu.so) "${PATCHELF_0_17_2}" --set-soname "libSnpeCpu.so" "${2}" ;; diff --git a/properties/vendor.prop b/properties/vendor.prop index 7d488b4..7ea2bf1 100644 --- a/properties/vendor.prop +++ b/properties/vendor.prop @@ -1,3 +1,6 @@ +# Audio +ro.hardware.audio.primary=taro-zeus + # Sensors ro.vendor.sensors.notifier.light_sensors.primary=5,33171089 ro.vendor.sensors.xiaomi.udfps=true diff --git a/proprietary-files.txt b/proprietary-files.txt index 13994a9..dcbf999 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -111,7 +111,7 @@ vendor/lib64/libmisight.so vendor/etc/models/acd/event.eai vendor/etc/models/acd/music.eai vendor/etc/models/acd/speech.eai -vendor/lib64/hw/audio.primary.taro.so +vendor/lib64/hw/audio.primary.taro.so:vendor/lib64/hw/audio.primary.taro-zeus.so vendor/lib64/hw/gyro_fusion_interface.so vendor/lib64/libadm.so vendor/lib64/libadsprpc.so