├── .github ├── dependabot.yml └── workflows │ └── build.yml ├── .gitignore ├── .gitmodules ├── LICENSE ├── NOTICE ├── README.md ├── app ├── build.gradle.kts ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── cpp │ ├── CMakeLists.txt │ ├── binder_interceptor.cpp │ ├── compat │ │ ├── refbase_compat.cpp │ │ └── refbase_compat.h │ ├── external │ │ ├── AOSP │ │ │ ├── LICENSE │ │ │ └── include │ │ │ │ ├── android-base │ │ │ │ └── unique_fd.h │ │ │ │ ├── binder │ │ │ │ ├── Binder.h │ │ │ │ ├── BinderService.h │ │ │ │ ├── BpBinder.h │ │ │ │ ├── Common.h │ │ │ │ ├── Delegate.h │ │ │ │ ├── Enums.h │ │ │ │ ├── Functional.h │ │ │ │ ├── IBinder.h │ │ │ │ ├── IInterface.h │ │ │ │ ├── IMemory.h │ │ │ │ ├── IPCThreadState.h │ │ │ │ ├── IPermissionController.h │ │ │ │ ├── IResultReceiver.h │ │ │ │ ├── IServiceManager.h │ │ │ │ ├── IServiceManagerFFI.h │ │ │ │ ├── IServiceManagerUnitTestHelper.h │ │ │ │ ├── IShellCallback.h │ │ │ │ ├── LazyServiceRegistrar.h │ │ │ │ ├── MemoryBase.h │ │ │ │ ├── MemoryDealer.h │ │ │ │ ├── MemoryHeapBase.h │ │ │ │ ├── Parcel.h │ │ │ │ ├── ParcelFileDescriptor.h │ │ │ │ ├── Parcelable.h │ │ │ │ ├── ParcelableHolder.h │ │ │ │ ├── PermissionCache.h │ │ │ │ ├── PermissionController.h │ │ │ │ ├── PersistableBundle.h │ │ │ │ ├── ProcessState.h │ │ │ │ ├── RecordedTransaction.h │ │ │ │ ├── RpcCertificateFormat.h │ │ │ │ ├── RpcKeyFormat.h │ │ │ │ ├── RpcServer.h │ │ │ │ ├── RpcSession.h │ │ │ │ ├── RpcThreads.h │ │ │ │ ├── RpcTransport.h │ │ │ │ ├── RpcTransportRaw.h │ │ │ │ ├── SafeInterface.h │ │ │ │ ├── Stability.h │ │ │ │ ├── Status.h │ │ │ │ ├── TextOutput.h │ │ │ │ ├── Trace.h │ │ │ │ └── unique_fd.h │ │ │ │ └── utils │ │ │ │ ├── Errors.h │ │ │ │ ├── LightRefBase.h │ │ │ │ ├── RefBase.h │ │ │ │ ├── String16.h │ │ │ │ ├── String8.h │ │ │ │ ├── StrongPointer.h │ │ │ │ ├── TypeHelpers.h │ │ │ │ ├── Unicode.h │ │ │ │ ├── Vector.h │ │ │ │ └── VectorImpl.h │ │ └── linux-kernel │ │ │ └── include │ │ │ └── android │ │ │ └── binder.h │ ├── include │ │ ├── logging.hpp │ │ └── utils.hpp │ ├── inject │ │ ├── main.cpp │ │ └── utils.cpp │ └── stub │ │ ├── stub_binder.cpp │ │ └── stub_utils.cpp │ └── java │ └── org │ └── matrix │ └── TEESimulator │ ├── App.kt │ ├── attestation │ ├── AttestationBuilder.kt │ ├── AttestationConstants.kt │ ├── AttestationPatcher.kt │ ├── DeviceAttestationService.kt │ └── KeyMintAttestation.kt │ ├── config │ └── ConfigurationManager.kt │ ├── interception │ ├── core │ │ └── BinderInterceptor.kt │ └── keystore │ │ ├── AbstractKeystoreInterceptor.kt │ │ ├── InterceptorUtils.kt │ │ ├── Keystore2Interceptor.kt │ │ ├── KeystoreInterceptor.kt │ │ └── shim │ │ └── KeyMintSecurityLevelInterceptor.kt │ ├── logging │ ├── KeyMintParameterLogger.kt │ └── SystemLogger.kt │ ├── pki │ ├── CertificateGenerator.kt │ ├── CertificateHelper.kt │ ├── KeyBox.kt │ ├── KeyBoxManager.kt │ └── XmlParser.kt │ └── util │ ├── AndroidDeviceUtils.kt │ └── Extensions.kt ├── gradle.properties ├── gradle ├── libs.versions.toml └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── module ├── META-INF │ └── com │ │ └── google │ │ └── android │ │ ├── update-binary │ │ └── updater-script ├── changelog.md ├── customize.sh ├── daemon ├── keybox.xml ├── module.prop ├── sepolicy.rule ├── service.sh ├── target.txt └── update.json ├── settings.gradle.kts └── stub ├── build.gradle.kts └── src └── main ├── AndroidManifest.xml └── java └── android ├── app └── ActivityThread.java ├── content └── pm │ ├── BaseParceledListSlice.java │ ├── IPackageManager.java │ └── ParceledListSlice.java ├── hardware └── security │ └── keymint │ ├── Algorithm.java │ ├── Digest.java │ ├── EcCurve.java │ ├── KeyOrigin.java │ ├── KeyParameter.java │ ├── KeyParameterValue.java │ ├── KeyPurpose.java │ ├── SecurityLevel.java │ └── Tag.java ├── os ├── ServiceManager.java └── SystemProperties.java ├── security ├── Credentials.java ├── KeyStore.java ├── keystore │ ├── AndroidKeyStoreProvider.java │ └── IKeystoreService.java └── keystore2 │ └── AndroidKeyStoreProvider.java └── system └── keystore2 ├── Authorization.java ├── IKeystoreSecurityLevel.java ├── IKeystoreService.java ├── KeyDescriptor.java ├── KeyEntryResponse.java └── KeyMetadata.java /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | out 2 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/README.md -------------------------------------------------------------------------------- /app/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/build.gradle.kts -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/src/main/cpp/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/CMakeLists.txt -------------------------------------------------------------------------------- /app/src/main/cpp/binder_interceptor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/binder_interceptor.cpp -------------------------------------------------------------------------------- /app/src/main/cpp/compat/refbase_compat.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/compat/refbase_compat.cpp -------------------------------------------------------------------------------- /app/src/main/cpp/compat/refbase_compat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/compat/refbase_compat.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/LICENSE -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/android-base/unique_fd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/android-base/unique_fd.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/Binder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/Binder.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/BinderService.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/BinderService.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/BpBinder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/BpBinder.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/Common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/Common.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/Delegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/Delegate.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/Enums.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/Enums.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/Functional.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/Functional.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/IBinder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/IBinder.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/IInterface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/IInterface.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/IMemory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/IMemory.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/IPCThreadState.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/IPCThreadState.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/IPermissionController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/IPermissionController.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/IResultReceiver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/IResultReceiver.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/IServiceManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/IServiceManager.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/IServiceManagerFFI.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/IServiceManagerFFI.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/IServiceManagerUnitTestHelper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/IServiceManagerUnitTestHelper.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/IShellCallback.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/IShellCallback.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/LazyServiceRegistrar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/LazyServiceRegistrar.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/MemoryBase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/MemoryBase.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/MemoryDealer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/MemoryDealer.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/MemoryHeapBase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/MemoryHeapBase.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/Parcel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/Parcel.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/ParcelFileDescriptor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/ParcelFileDescriptor.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/Parcelable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/Parcelable.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/ParcelableHolder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/ParcelableHolder.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/PermissionCache.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/PermissionCache.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/PermissionController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/PermissionController.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/PersistableBundle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/PersistableBundle.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/ProcessState.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/ProcessState.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/RecordedTransaction.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/RecordedTransaction.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/RpcCertificateFormat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/RpcCertificateFormat.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/RpcKeyFormat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/RpcKeyFormat.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/RpcServer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/RpcServer.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/RpcSession.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/RpcSession.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/RpcThreads.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/RpcThreads.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/RpcTransport.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/RpcTransport.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/RpcTransportRaw.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/RpcTransportRaw.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/SafeInterface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/SafeInterface.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/Stability.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/Stability.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/Status.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/Status.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/TextOutput.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/TextOutput.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/Trace.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/Trace.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/binder/unique_fd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/binder/unique_fd.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/utils/Errors.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/utils/Errors.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/utils/LightRefBase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/utils/LightRefBase.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/utils/RefBase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/utils/RefBase.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/utils/String16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/utils/String16.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/utils/String8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/utils/String8.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/utils/StrongPointer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/utils/StrongPointer.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/utils/TypeHelpers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/utils/TypeHelpers.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/utils/Unicode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/utils/Unicode.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/utils/Vector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/utils/Vector.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/AOSP/include/utils/VectorImpl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/AOSP/include/utils/VectorImpl.h -------------------------------------------------------------------------------- /app/src/main/cpp/external/linux-kernel/include/android/binder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/external/linux-kernel/include/android/binder.h -------------------------------------------------------------------------------- /app/src/main/cpp/include/logging.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/include/logging.hpp -------------------------------------------------------------------------------- /app/src/main/cpp/include/utils.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/include/utils.hpp -------------------------------------------------------------------------------- /app/src/main/cpp/inject/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/inject/main.cpp -------------------------------------------------------------------------------- /app/src/main/cpp/inject/utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/inject/utils.cpp -------------------------------------------------------------------------------- /app/src/main/cpp/stub/stub_binder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/stub/stub_binder.cpp -------------------------------------------------------------------------------- /app/src/main/cpp/stub/stub_utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/cpp/stub/stub_utils.cpp -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/App.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/App.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/attestation/AttestationBuilder.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/attestation/AttestationBuilder.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/attestation/AttestationConstants.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/attestation/AttestationConstants.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/attestation/AttestationPatcher.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/attestation/AttestationPatcher.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/attestation/DeviceAttestationService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/attestation/DeviceAttestationService.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/attestation/KeyMintAttestation.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/attestation/KeyMintAttestation.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/config/ConfigurationManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/config/ConfigurationManager.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/interception/core/BinderInterceptor.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/interception/core/BinderInterceptor.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/interception/keystore/AbstractKeystoreInterceptor.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/interception/keystore/AbstractKeystoreInterceptor.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/interception/keystore/InterceptorUtils.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/interception/keystore/InterceptorUtils.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/interception/keystore/Keystore2Interceptor.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/interception/keystore/Keystore2Interceptor.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/interception/keystore/KeystoreInterceptor.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/interception/keystore/KeystoreInterceptor.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/interception/keystore/shim/KeyMintSecurityLevelInterceptor.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/interception/keystore/shim/KeyMintSecurityLevelInterceptor.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/logging/KeyMintParameterLogger.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/logging/KeyMintParameterLogger.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/logging/SystemLogger.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/logging/SystemLogger.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/pki/CertificateGenerator.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/pki/CertificateGenerator.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/pki/CertificateHelper.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/pki/CertificateHelper.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/pki/KeyBox.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/pki/KeyBox.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/pki/KeyBoxManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/pki/KeyBoxManager.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/pki/XmlParser.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/pki/XmlParser.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/util/AndroidDeviceUtils.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/util/AndroidDeviceUtils.kt -------------------------------------------------------------------------------- /app/src/main/java/org/matrix/TEESimulator/util/Extensions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/app/src/main/java/org/matrix/TEESimulator/util/Extensions.kt -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/libs.versions.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/gradle/libs.versions.toml -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/gradlew.bat -------------------------------------------------------------------------------- /module/META-INF/com/google/android/update-binary: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/module/META-INF/com/google/android/update-binary -------------------------------------------------------------------------------- /module/META-INF/com/google/android/updater-script: -------------------------------------------------------------------------------- 1 | #MAGISK 2 | -------------------------------------------------------------------------------- /module/changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/module/changelog.md -------------------------------------------------------------------------------- /module/customize.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/module/customize.sh -------------------------------------------------------------------------------- /module/daemon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/module/daemon -------------------------------------------------------------------------------- /module/keybox.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/module/keybox.xml -------------------------------------------------------------------------------- /module/module.prop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/module/module.prop -------------------------------------------------------------------------------- /module/sepolicy.rule: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/module/sepolicy.rule -------------------------------------------------------------------------------- /module/service.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/module/service.sh -------------------------------------------------------------------------------- /module/target.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/module/target.txt -------------------------------------------------------------------------------- /module/update.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/module/update.json -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/settings.gradle.kts -------------------------------------------------------------------------------- /stub/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/build.gradle.kts -------------------------------------------------------------------------------- /stub/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /stub/src/main/java/android/app/ActivityThread.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/app/ActivityThread.java -------------------------------------------------------------------------------- /stub/src/main/java/android/content/pm/BaseParceledListSlice.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/content/pm/BaseParceledListSlice.java -------------------------------------------------------------------------------- /stub/src/main/java/android/content/pm/IPackageManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/content/pm/IPackageManager.java -------------------------------------------------------------------------------- /stub/src/main/java/android/content/pm/ParceledListSlice.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/content/pm/ParceledListSlice.java -------------------------------------------------------------------------------- /stub/src/main/java/android/hardware/security/keymint/Algorithm.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/hardware/security/keymint/Algorithm.java -------------------------------------------------------------------------------- /stub/src/main/java/android/hardware/security/keymint/Digest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/hardware/security/keymint/Digest.java -------------------------------------------------------------------------------- /stub/src/main/java/android/hardware/security/keymint/EcCurve.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/hardware/security/keymint/EcCurve.java -------------------------------------------------------------------------------- /stub/src/main/java/android/hardware/security/keymint/KeyOrigin.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/hardware/security/keymint/KeyOrigin.java -------------------------------------------------------------------------------- /stub/src/main/java/android/hardware/security/keymint/KeyParameter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/hardware/security/keymint/KeyParameter.java -------------------------------------------------------------------------------- /stub/src/main/java/android/hardware/security/keymint/KeyParameterValue.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/hardware/security/keymint/KeyParameterValue.java -------------------------------------------------------------------------------- /stub/src/main/java/android/hardware/security/keymint/KeyPurpose.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/hardware/security/keymint/KeyPurpose.java -------------------------------------------------------------------------------- /stub/src/main/java/android/hardware/security/keymint/SecurityLevel.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/hardware/security/keymint/SecurityLevel.java -------------------------------------------------------------------------------- /stub/src/main/java/android/hardware/security/keymint/Tag.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/hardware/security/keymint/Tag.java -------------------------------------------------------------------------------- /stub/src/main/java/android/os/ServiceManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/os/ServiceManager.java -------------------------------------------------------------------------------- /stub/src/main/java/android/os/SystemProperties.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/os/SystemProperties.java -------------------------------------------------------------------------------- /stub/src/main/java/android/security/Credentials.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/security/Credentials.java -------------------------------------------------------------------------------- /stub/src/main/java/android/security/KeyStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/security/KeyStore.java -------------------------------------------------------------------------------- /stub/src/main/java/android/security/keystore/AndroidKeyStoreProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/security/keystore/AndroidKeyStoreProvider.java -------------------------------------------------------------------------------- /stub/src/main/java/android/security/keystore/IKeystoreService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/security/keystore/IKeystoreService.java -------------------------------------------------------------------------------- /stub/src/main/java/android/security/keystore2/AndroidKeyStoreProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/security/keystore2/AndroidKeyStoreProvider.java -------------------------------------------------------------------------------- /stub/src/main/java/android/system/keystore2/Authorization.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/system/keystore2/Authorization.java -------------------------------------------------------------------------------- /stub/src/main/java/android/system/keystore2/IKeystoreSecurityLevel.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/system/keystore2/IKeystoreSecurityLevel.java -------------------------------------------------------------------------------- /stub/src/main/java/android/system/keystore2/IKeystoreService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/system/keystore2/IKeystoreService.java -------------------------------------------------------------------------------- /stub/src/main/java/android/system/keystore2/KeyDescriptor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/system/keystore2/KeyDescriptor.java -------------------------------------------------------------------------------- /stub/src/main/java/android/system/keystore2/KeyEntryResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/system/keystore2/KeyEntryResponse.java -------------------------------------------------------------------------------- /stub/src/main/java/android/system/keystore2/KeyMetadata.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JingMatrix/TEESimulator/HEAD/stub/src/main/java/android/system/keystore2/KeyMetadata.java --------------------------------------------------------------------------------