klee: Sync with DT changes

Change-Id: I9f97dc26acf35fd8eeb0fa1bd612ef7c000f49ac
Signed-off-by: kylieeXD <khayloaftck@gmail.com>
This commit is contained in:
kylieeXD committed 2026-10-26 12:24:06 +00:00
1 parent 95ec322f7d
commit 39917b496e
28 files changed
+169 -17

No files matched your search

+122
View File
@@ -8044,6 +8044,86 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libjc_keymint.nxp",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libjc_keymint.nxp.so",
],
shared_libs: [
"libkeymint_shim",
"android.hardware.security.rkp-V3-ndk",
"android.hardware.security.secureclock-V1-ndk",
"android.hardware.security.sharedsecret-V1-ndk",
"lib_android_keymaster_keymint_utils-v36",
"libbase-v36",
"libbinder",
"libcppbor",
"libkeymaster_portable",
"libkeymaster_messages",
"libsoft_attestation_cert",
"liblog",
"libcrypto",
"libcutils",
"libutils",
"libjc_keymint_transport.nxp",
"libbinder_ndk",
"libmemunreachable",
"android.hardware.security.keymint-V3-ndk-v36",
"android.hardware.secure_element-V1-ndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libjc_keymint_transport.nxp",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libjc_keymint_transport.nxp.so",
],
shared_libs: [
"libkeymint_shim",
"android.hardware.security.keymint-V3-ndk-v36",
"android.se.omapi-V1-ndk",
"android.hardware.secure_element-V1-ndk",
"libbase-v36",
"liblog",
"libcutils",
"libutils",
"libhardware",
"libhardware_legacy",
"libhidlbase",
"libbinder_ndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libjpeg-alpha-oal_vendor",
owner: "xiaomi",
@@ -39419,6 +39499,48 @@ cc_prebuilt_binary {
soc_specific: true,
}
cc_prebuilt_binary {
name: "android.hardware.security.keymint-service.strongbox.nxp",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/android.hardware.security.keymint-service.strongbox.nxp",
],
shared_libs: [
"libkeymint_shim",
"android.hardware.security.rkp-V3-ndk",
"android.hardware.security.sharedsecret-V1-ndk",
"lib_android_keymaster_keymint_utils-v36",
"android.se.omapi-V1-ndk",
"libbase-v36",
"libbinder_ndk",
"libcppbor",
"libcrypto",
"libkeymaster_portable",
"libjc_keymint.nxp",
"libjc_keymint_transport.nxp",
"liblog",
"libutils",
"libhidlbase",
"android.hardware.security.keymint-V3-ndk-v36",
"android.hardware.secure_element-V1-ndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary {
name: "android.hardware.security.keymint@3.0-service.mitee",
owner: "xiaomi",
+17 -17
View File
@@ -6,27 +6,27 @@ LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),klee)
$(call add-radio-file-sha1-checked,radio/apusys.img,5a3c6354f3f7569297ab70a7892b98a0850ec3ee)
$(call add-radio-file-sha1-checked,radio/audio_dsp.img,70222bd8f6ab17b074e4c232e8cb2a459a47f363)
$(call add-radio-file-sha1-checked,radio/ccu.img,17613beb9aa5664d080737edad04b7b916285fbf)
$(call add-radio-file-sha1-checked,radio/connsys_bt.img,f85604f7382a7f81aef3c2bc35ee417ae8157935)
$(call add-radio-file-sha1-checked,radio/connsys_gnss.img,b34970d21b91e8df69cd0375aa0def701e3f96d5)
$(call add-radio-file-sha1-checked,radio/connsys_wifi.img,48938bca651f63fa89e8cd9874014287ee0078e1)
$(call add-radio-file-sha1-checked,radio/dpm.img,4638f7e79932842218c42d20233f6ce3adb1428b)
$(call add-radio-file-sha1-checked,radio/gpueb.img,4376fc04595aef9dc1b8cba02dfc343066056088)
$(call add-radio-file-sha1-checked,radio/gz.img,63b828122ddbc2feb959e2400c01e8863f38798f)
$(call add-radio-file-sha1-checked,radio/apusys.img,4f604a09f40e451101982665f70d4f7c98c77518)
$(call add-radio-file-sha1-checked,radio/audio_dsp.img,0c7eb8b8380fd3c466f64344abd9dae0a64bc852)
$(call add-radio-file-sha1-checked,radio/ccu.img,3e7c6d237a4233ecbd72163664f8b6bc700e2090)
$(call add-radio-file-sha1-checked,radio/connsys_bt.img,7babe218777f01a4445d032bbd08ffe3c62f5855)
$(call add-radio-file-sha1-checked,radio/connsys_gnss.img,a5dc7a9a34fd2f31f5a3e9ca6307c4e7408df6bd)
$(call add-radio-file-sha1-checked,radio/connsys_wifi.img,49d4e0525252a8c688f8553adf4662bf77a1245c)
$(call add-radio-file-sha1-checked,radio/dpm.img,8f1897943c289fa86b189c4fc22ce7e0d1b10304)
$(call add-radio-file-sha1-checked,radio/gpueb.img,755c52047d8b254ea74ec2f78c885895b2e4543e)
$(call add-radio-file-sha1-checked,radio/gz.img,3cfda24bca968c0e5a51cb206dc64c2ac9173b0a)
$(call add-radio-file-sha1-checked,radio/lk.img,8daa12bb697144e3e08e5af9cb29f94e66b174af)
$(call add-radio-file-sha1-checked,radio/logo.img,3be6266df215b2caa139f5ab20be2a2ed5ed816d)
$(call add-radio-file-sha1-checked,radio/mcf_ota.img,dab58a013fa6c325b70d7fa0386e1733d63a1296)
$(call add-radio-file-sha1-checked,radio/mcupm.img,f92fff8a793528207174fa88e58d0d9cc9b83bfb)
$(call add-radio-file-sha1-checked,radio/modem.img,1827481baca37b53b6d06c41979ab9d4fcd48d21)
$(call add-radio-file-sha1-checked,radio/mvpu_algo.img,e1e219e2d6de9211f8ac5e3ee1793513284b432b)
$(call add-radio-file-sha1-checked,radio/pi_img.img,f99bd71528031a8f6c89656d12b226f732810064)
$(call add-radio-file-sha1-checked,radio/mcupm.img,6b213b6ee51f5cdc291b5c48f37eeda5ac820681)
$(call add-radio-file-sha1-checked,radio/modem.img,35302da1c059ba80c9ad753385813049478c0a59)
$(call add-radio-file-sha1-checked,radio/mvpu_algo.img,abdfffece3012cf734a2e37ecd48da0b3f618d36)
$(call add-radio-file-sha1-checked,radio/pi_img.img,06cebd2f0d9fb9ea4604d5e8981421ac5f276039)
$(call add-radio-file-sha1-checked,radio/preloader_raw.img,58b36a1e257e4e4362b39b825ab673f1c9dd77fd)
$(call add-radio-file-sha1-checked,radio/scp.img,fe0e8beffd43c05cdb99e15acbdfbc21f0f27b1a)
$(call add-radio-file-sha1-checked,radio/spmfw.img,a7da4d1eb341ec55006b3f5ef2f347267d10e7ba)
$(call add-radio-file-sha1-checked,radio/sspm.img,08bfe1e3750f2f9d625d5231d7f13b7a7b93d277)
$(call add-radio-file-sha1-checked,radio/tee.img,58114c171cc388f75d195e69d85e4a6e51717c02)
$(call add-radio-file-sha1-checked,radio/vcp.img,31e7740d123690161ec08cf4270acbc369a99582)
$(call add-radio-file-sha1-checked,radio/spmfw.img,2b5405d6cb2be6c5f6fdc9c55b485cef7e6e2876)
$(call add-radio-file-sha1-checked,radio/sspm.img,d5a1cf25e0b72fd6ed2282bb35d6bfa45b37fdac)
$(call add-radio-file-sha1-checked,radio/tee.img,9826abf470bd0ba90d8c4fae4d21db921a387480)
$(call add-radio-file-sha1-checked,radio/vcp.img,26a886d43a35485c199cf6782b8f76df0953f679)
endif
+5
View File
@@ -608,6 +608,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.identity@5.0-service.mitee.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.identity@5.0-service.mitee.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.neuralnetworks-shim-service-mtk.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.neuralnetworks-shim-service-mtk.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.secure_element@1.2-service-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.secure_element@1.2-service-mediatek.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.security.keymint-service.strongbox.nxp.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.security.keymint-service.strongbox.nxp.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.security.keymint.mitee@3.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.security.keymint.mitee@3.0-service.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.tetheroffload-V1-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.tetheroffload-V1-service.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/camerahalserver.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/camerahalserver.rc \
@@ -736,6 +737,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/klee/proprietary/vendor/etc/nnapi_powerhal.json:$(TARGET_COPY_OUT_VENDOR)/etc/nnapi_powerhal.json \
vendor/xiaomi/klee/proprietary/vendor/etc/p10_36_02_0a_dsc_vdo_dbi.bin:$(TARGET_COPY_OUT_VENDOR)/etc/p10_36_02_0a_dsc_vdo_dbi.bin \
vendor/xiaomi/klee/proprietary/vendor/etc/p10_42_02_0b_dsc_vdo_dbi.bin:$(TARGET_COPY_OUT_VENDOR)/etc/p10_42_02_0b_dsc_vdo_dbi.bin \
vendor/xiaomi/klee/proprietary/vendor/etc/permissions/android.hardware.hardware_keystore.jc-strongbox-keymint.nxp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.hardware_keystore.jc-strongbox-keymint.nxp.xml \
vendor/xiaomi/klee/proprietary/vendor/etc/permissions/android.hardware.identity_credential.mitee.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.identity_credential.mitee.xml \
vendor/xiaomi/klee/proprietary/vendor/etc/permissions/camera_extensions.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/camera_extensions.xml \
vendor/xiaomi/klee/proprietary/vendor/etc/permissions/com.mediatek.hardware.vow.gva.tflite.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.mediatek.hardware.vow.gva.tflite.xml \
@@ -1365,6 +1367,8 @@ PRODUCT_PACKAGES += \
libion_mtk \
libion_ulit \
libipsec_ims_shr \
libjc_keymint.nxp \
libjc_keymint_transport.nxp \
libjpeg-alpha-oal_vendor \
libjpeg-alpha_vendor \
libjpegdecoder_klee \
@@ -2362,6 +2366,7 @@ PRODUCT_PACKAGES += \
android.hardware.identity-service.mitee@5.0 \
android.hardware.neuralnetworks-shim-service-mtk \
android.hardware.secure_element@1.2-service-mediatek \
android.hardware.security.keymint-service.strongbox.nxp \
android.hardware.security.keymint@3.0-service.mitee \
android.hardware.graphics.allocator-V2-service-mediatek.mt6899 \
camerahalserver \
Binary file not shown.
@@ -0,0 +1,8 @@
service vendor.keymint-strongbox /vendor/bin/hw/android.hardware.security.keymint-service.strongbox.nxp
class early_hal
user 2901
capabilities SYS_ADMIN SYS_NICE WAKE_ALARM
on property:ese_manager.status=running
stop vendor.keymint-strongbox
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Feature for devices with Keymaster in StrongBox. -->
<permissions>
<feature name="android.hardware.strongbox_keystore" version="300"/>
<feature name="android.hardware.keystore.app_attest_key" />
</permissions>
Binary file not shown.
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
View File
File mode changed.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
View File
File mode changed.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.
Executable → Regular
BIN
View File
Binary file not shown.