From: Nolen Johnson Date: Wed, 9 Oct 2024 21:34:29 +0000 (-0400) Subject: deadpool: Decommonize TEE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1f4f3e43c4a992b14f24415633cfb46dd0a8f93d;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_askey_deadpool.git deadpool: Decommonize TEE Change-Id: Ic2dffaa76ab5f5435fac781975ef17ebf114d4ee --- diff --git a/extract-files.sh b/extract-files.sh index 59ff7db..f919c54 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -6,6 +6,24 @@ # SPDX-License-Identifier: Apache-2.0 # +function blob_fixup() { + case "${1}" in + vendor/etc/init/tee-supplicant.rc) + [ "$2" = "" ] && return 0 + sed -i 's#/vendor/lib/#/vendor/lib/modules/#g' "${2}" + ;; + *) + return 1 + ;; + esac + + return 0 +} + +function blob_fixup_dry() { + blob_fixup "$1" "" +} + # If we're being sourced by the common script that we called, # stop right here. No need to go down the rabbit hole. if [ "${BASH_SOURCE[0]}" != "${0}" ]; then diff --git a/proprietary-files.txt b/proprietary-files.txt index 638ffe2..27b5861 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -16,8 +16,32 @@ odm/etc/tvconfig/pq/pq_default.ini odm/lib/libHwAudio_dcvdec.so odm/lib/libHwAudio_dtshd.so -## TEE - SOC Specific +## OEM Lock +vendor/bin/hw/android.hardware.oemlock@1.0-service.droidlogic +vendor/etc/init/android.hardware.oemlock@1.0-service.droidlogic.rc +vendor/etc/vintf/manifest/android.hardware.oemlock@1.0-service.droidlogic.xml + +## Playready +vendor/bin/hw/android.hardware.drm@1.4-service.playready +vendor/etc/drm/playready/bgroupcert.dat +vendor/etc/drm/playready/zgpriv.dat +vendor/etc/drm/playready/zgpriv_protected.dat +vendor/etc/init/android.hardware.drm@1.4-service.playready.rc +vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.4-service.playready.xml +vendor/lib/libplayready.so +vendor/lib/libplayreadymediadrmplugin.so + +## TEE vendor/bin/hw/android.hardware.security.keymint-service.amlogic +vendor/bin/tee-supplicant +vendor/bin/tee_preload_fw +vendor/etc/init/android.hardware.security.keymint-service.amlogic.rc +vendor/etc/init/tee-supplicant.rc +vendor/etc/init/tee_preload_fw.rc +vendor/etc/permissions/android.hardware.hardware_keystore.amlogic.xml +vendor/etc/vintf/manifest/android.hardware.security.keymint-service.amlogic.xml +vendor/lib/libtee_load_video_fw.so +vendor/lib/libteec.so ## TEE Applets vendor/lib/teetz/2c1a33c0-44cc-11e5-bc3b-0002a5d5c51b.ta