From d8cd3676ef0c091eb4f43a3578164045a12e1c92 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Wed, 20 Nov 2024 16:48:58 -0500 Subject: [PATCH] kane: Decommonize Audio/RIL/libhwjpeg Change-Id: I157bf03c688db1a092d4e5290cb37d14671e52f2 --- extract-files.sh | 7 +++++++ proprietary-files.txt | 47 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index 68dbfcf..cedb712 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -8,6 +8,13 @@ function blob_fixup() { case "${1}" in + # Missing libaudioproxy symbols + vendor/lib/libaudioproxy.so) + [ "$2" = "" ] && return 0 + for LIBAUDIOPROXY_SHIM in $(grep -L "libaudioproxy_shim.so" "${2}"); do + "${PATCHELF}" --add-needed "libaudioproxy_shim.so" "${LIBAUDIOPROXY_SHIM}" + done + ;; # Missing libutils symbols vendor/lib*/sensors.chub.so|vendor/lib*/hw/sensors.kane_sprout.so) [ "$2" = "" ] && return 0 diff --git a/proprietary-files.txt b/proprietary-files.txt index d176101..6f8e7fa 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1,10 +1,24 @@ ## Device proprietary files - from motorola/kane_retail/kane_sprout:11/RSAS31.Q1-48-36-20/0a92a9:user/release-keys, unless pinned +## Audio +vendor/bin/main_abox +vendor/etc/ap_gain_mmul.bin +vendor/etc/dolby/dax-default.xml +vendor/lib/hw/audio.primary.exynos9610.so +vendor/lib/libalsautils_sec.so +vendor/lib/libaudioproxy.so +vendor/lib/libdapparamstorage.so +vendor/lib/libmotaudioutils.so +vendor/lib/libunshorten.so +vendor/lib64/libdapparamstorage.so + ## Camera vendor/lib/hw/camera.exynos9610.so vendor/lib/libexynoscamera3.so +vendor/lib/libhwjpeg.so vendor/lib64/hw/camera.exynos9610.so vendor/lib64/libexynoscamera3.so +vendor/lib64/libhwjpeg.so ## Firmware vendor/firmware/fimc_is_lib.bin @@ -37,7 +51,40 @@ vendor/lib64/hw/sensors.kane_sprout.so vendor/lib64/sensors.chub.so ## RIL +vendor/bin/cbd +vendor/bin/hw/rild_exynos +vendor/etc/sim_configuration.xml +vendor/lib/libaudio-ril.so vendor/lib/libril_sitril.so +vendor/lib/libsitril-audio.so +vendor/lib/libsitril-client.so +vendor/lib/libsitril-gps.so +vendor/lib/libsitril-ims.so +vendor/lib/libsitril-nr.so +vendor/lib/libsitril-psensor.so +vendor/lib/libsitril-sar.so +vendor/lib/libsitril-se.so +vendor/lib/libsitril-wlan.so vendor/lib/libsitril.so|dbd7d863f3e3bc68c81b8fd1623dda181f5dc99b +vendor/lib/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.so +vendor/lib/vendor.samsung_slsi.telephony.hardware.radio@1.0.so +vendor/lib/vendor.samsung_slsi.telephony.hardware.radio@1.1.so +vendor/lib/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so +vendor/lib/vendor.samsung_slsi.telephony.hardware.radioExternal@1.1.so +vendor/lib64/libadropbox.so vendor/lib64/libril_sitril.so +vendor/lib64/libsitril-audio.so +vendor/lib64/libsitril-client.so +vendor/lib64/libsitril-gps.so +vendor/lib64/libsitril-ims.so +vendor/lib64/libsitril-nr.so +vendor/lib64/libsitril-psensor.so +vendor/lib64/libsitril-sar.so +vendor/lib64/libsitril-se.so +vendor/lib64/libsitril-wlan.so vendor/lib64/libsitril.so|fc3cc9eb897136f617cb96787204321c015aeef5 +vendor/lib64/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.so +vendor/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.0.so +vendor/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.1.so +vendor/lib64/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so +vendor/lib64/vendor.samsung_slsi.telephony.hardware.radioExternal@1.1.so -- 2.20.1