deadpool: Decommonize TEE
authorNolen Johnson <johnsonnolen@gmail.com>
Wed, 9 Oct 2024 21:34:29 +0000 (17:34 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Thu, 10 Oct 2024 19:41:20 +0000 (15:41 -0400)
Change-Id: Ic2dffaa76ab5f5435fac781975ef17ebf114d4ee

extract-files.sh
proprietary-files.txt

index 59ff7db11963dc9f766d36e4a48c38deba5d3598..f919c5427e908df0ff4a34429ddcf3f64c8e06c4 100755 (executable)
@@ -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
index 638ffe2250a8b88bd7ec940583ec38d8f63f5d84..27b58615eea6f215df3e913d23f4e517479da77d 100644 (file)
@@ -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