Add module template files

Current AOSP keybox can be found at:
https://cs.android.com/android/platform/superproject/main/+/main:device/generic/trusty/keymaster_soft_wrapped_attestation_keys.xml

However, the support of parsing private keys in iecs format is not implemented yet.
This commit is contained in:
JingMatrix
2025-11-26 00:19:05 +01:00
parent c017c9b0ab
commit 0894b44166
7 changed files with 252 additions and 0 deletions
Executable
+15
View File
@@ -0,0 +1,15 @@
#!/system/bin/sh
MODDIR=$1
# Determine classpath
if [ -f "$MODDIR/classes.dex" ]; then
CLASSPATH="$MODDIR/classes.dex"
elif [ -f "$MODDIR/service.apk" ]; then
CLASSPATH="$MODDIR/service.apk"
else
echo "Error: Neither classes.dex nor service.apk found in $MODDIR"
exit 1
fi
exec /system/bin/app_process -Djava.class.path="$CLASSPATH" "$MODDIR" --nice-name=TEESimulator org.matrix.TEESimulator.App