diff --git a/extract-files.sh b/extract-files.sh index 5530908..8428477 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -61,8 +61,13 @@ function blob_fixup { vendor/bin/hw/android.hardware.lights-service.mediatek) "$PATCHELF" --replace-needed "android.hardware.light-V1-ndk_platform.so" "android.hardware.light-V1-ndk.so" "$2" ;; - vendor/lib/hw/audio.primary.mt6789.so) - ;& + vendor/lib*/libspeech_enh_lib.so|\ + vendor/lib64/libwifi-hal-mtk.so|\ + vendor/lib*/hw/power.mt6789.so|\ + vendor/lib*/hw/sound_trigger.primary.mt6789.so|\ + vendor/lib64/libnir_neon_driver_ndk.mtk.vndk.so) + "${PATCHELF}" --set-soname "$(basename "${1}")" "${2}" + ;; vendor/lib64/hw/audio.primary.mt6789.so) "${PATCHELF}" --replace-needed "libutils.so" "libutils-v31.so" "${2}" ;; diff --git a/proprietary-files.txt b/proprietary-files.txt index 6fa564d..ea4e3b9 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -2740,12 +2740,15 @@ vendor/etc/init/bootperf.rc vendor/etc/init/init.fpsgo.rc vendor/etc/init/vendor.mediatek.hardware.mtkpower@1.0-init.rc vendor/etc/init/vendor.mediatek.hardware.mtkpower@1.0-service.rc +-vendor/etc/vintf/manifest/power-default.xml:vendor/etc/vintf/manifest/power-mtk.xml +vendor/lib/hw/power.default.so:vendor/lib/hw/power.mt6789.so vendor/lib/hw/vendor.mediatek.hardware.mtkpower@1.2-impl.so vendor/lib/libperfctl_vendor.so vendor/lib/libpower_timer.so vendor/lib/libpowerhal.so vendor/lib/libpowerhalwrap_vendor.so vendor/lib/vendor.mediatek.hardware.power@2.0.so +vendor/lib64/hw/power.default.so:vendor/lib64/hw/power.mt6789.so vendor/lib64/hw/vendor.mediatek.hardware.mtkpower@1.2-impl.so vendor/lib64/libperfctl_vendor.so vendor/lib64/libpower_timer.so @@ -2868,8 +2871,8 @@ vendor/bin/hw/android.hardware.secure_element@1.2-service-mediatek vendor/etc/init/android.hardware.secure_element@1.2-service-mediatek.rc # Soundtrigger -vendor/lib/hw/sound_trigger.primary.default.so -vendor/lib64/hw/sound_trigger.primary.default.so +-vendor/lib/hw/sound_trigger.primary.default.so:vendor/lib/hw/sound_trigger.primary.mt6789.so: +-vendor/lib64/hw/sound_trigger.primary.default.so:vendor/lib64/hw/sound_trigger.primary.mt6789.so # Sensors vendor/lib/libfile_op.so