Compare commits

..
1 Commits
Author SHA1 Message Date
kylieeXD 6478ad1ac6 klee: Sync with DT changes
Change-Id: I6cc1a6449d36945c3d97259dbd57e44f61d57bf5
Signed-off-by: kylieeXD <khayloaftck@gmail.com>
2026-10-20 05:57:14 +00:00
96 changed files with 274 additions and 59 deletions

No files matched your search

+224 -36
View File
@@ -6,7 +6,7 @@ soong_namespace {
imports: [
"device/xiaomi/klee",
"hardware/mediatek",
"hardware/mediatek/libion_mtk",
"hardware/mediatek/libaedv",
"hardware/mediatek/libmtkperf_client",
"hardware/xiaomi",
],
@@ -171,7 +171,6 @@ cc_prebuilt_library_shared {
"proprietary/vendor/lib64/android.hardware.bluetooth.audio-impl-mediatek.so",
],
shared_libs: [
"vendor.mediatek.hardware.bluetooth.audio.xiaomi-ndk",
"android.hardware.bluetooth.audio-V4-ndk",
"libbase",
"libbinder_ndk",
@@ -179,7 +178,7 @@ cc_prebuilt_library_shared {
"libfmq",
"liblog",
"libbluetooth_audio_session_aidl_mtk",
"vendor.mediatek.hardware.bluetooth.audio-V3-ndk",
"vendor.mediatek.hardware.bluetooth.audio-V1-ndk",
"vendor.mediatek.hardware.bluetooth.audio@2.1",
"vendor.mediatek.hardware.bluetooth.audio@2.2",
"libc++",
@@ -1273,7 +1272,6 @@ cc_prebuilt_library_shared {
"proprietary/vendor/lib64/hw/audio.primary.mediatek.so",
],
shared_libs: [
"vendor.mediatek.hardware.bluetooth.audio.xiaomi-ndk",
"liblog",
"libcutils",
"libutils",
@@ -1306,7 +1304,7 @@ cc_prebuilt_library_shared {
"libhwbinder",
"vendor.mediatek.hardware.bluetooth.audio@2.1",
"vendor.mediatek.hardware.bluetooth.audio@2.2",
"vendor.mediatek.hardware.bluetooth.audio-V3-ndk",
"vendor.mediatek.hardware.bluetooth.audio-V1-ndk",
"android.hardware.bluetooth.audio-V4-ndk",
"android.hardware.audio.common@5.0",
"libtinycompress",
@@ -4147,7 +4145,6 @@ cc_prebuilt_library_shared {
"proprietary/vendor/lib64/libbluetooth_audio_session_aidl_mtk.so",
],
shared_libs: [
"vendor.mediatek.hardware.bluetooth.audio.xiaomi-ndk",
"android.hardware.bluetooth.audio-V4-ndk",
"android.hardware.bluetooth.audio@2.0",
"android.hardware.bluetooth.audio@2.1",
@@ -4156,7 +4153,7 @@ cc_prebuilt_library_shared {
"libbinder_ndk",
"libfmq",
"liblog",
"vendor.mediatek.hardware.bluetooth.audio-V3-ndk",
"vendor.mediatek.hardware.bluetooth.audio-V1-ndk",
"libhidlbase",
"libxml2",
"libflatbuffers-cpp",
@@ -7966,6 +7963,34 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libion_mtk",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libion_mtk.so",
],
shared_libs: [
"libion",
"liblog",
"libion_ulit",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libion_ulit",
owner: "xiaomi",
@@ -8227,6 +8252,33 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libladder",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libladder.so",
],
shared_libs: [
"libunwindstack",
"liblog",
"libbase",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libmbrainSDKv",
owner: "xiaomi",
@@ -13294,35 +13346,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libwifi-hal-mtk",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libwifi-hal-mtk.so",
],
shared_libs: [
"libbase",
"libcutils",
"liblog",
"libnl",
"libutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libwpfa",
owner: "xiaomi",
@@ -28610,6 +28633,34 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.bluetooth.audio-V1-ndk",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.mediatek.hardware.bluetooth.audio-V1-ndk.so",
],
shared_libs: [
"libbinder_ndk",
"android.hardware.common-V2-ndk",
"android.hardware.common.fmq-V1-ndk",
"android.hardware.audio.common-V3-ndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.camera.aovservice-V3-ndk",
owner: "xiaomi",
@@ -29118,6 +29169,34 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.lbs@1.0",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.mediatek.hardware.lbs@1.0.so",
],
shared_libs: [
"libhidlbase",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.mbrain-V6-ndk",
owner: "xiaomi",
@@ -29330,6 +29409,31 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.mtkpower-V1-ndk",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.mediatek.hardware.mtkpower-V1-ndk.so",
],
shared_libs: [
"libbinder_ndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.mtkradioex.assist-V2-ndk",
owner: "xiaomi",
@@ -29841,6 +29945,34 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.netdagent@1.0",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.mediatek.hardware.netdagent@1.0.so",
],
shared_libs: [
"libhidlbase",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.neuropilot.agent-V1-ndk",
owner: "xiaomi",
@@ -38386,6 +38518,16 @@ dex_import {
system_ext_specific: true,
}
dex_import {
name: "mediatek-telecom-common",
owner: "xiaomi",
jars: [
"proprietary/system_ext/framework/mediatek-telecom-common.jar",
],
system_ext_specific: true,
use_generic_config: true,
}
dex_import {
name: "mediatek-telephony-base",
owner: "xiaomi",
@@ -38396,6 +38538,16 @@ dex_import {
use_generic_config: true,
}
dex_import {
name: "mediatek-telephony-common",
owner: "xiaomi",
jars: [
"proprietary/system_ext/framework/mediatek-telephony-common.jar",
],
system_ext_specific: true,
use_generic_config: true,
}
prebuilt_etc_xml {
name: "CommandService.xml",
owner: "xiaomi",
@@ -38486,6 +38638,15 @@ prebuilt_etc_xml {
soc_specific: true,
}
prebuilt_etc_xml {
name: "bluetooth_audio_mtk.xml",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/bluetooth_audio_mtk.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "dms-service.xml",
owner: "xiaomi",
@@ -40240,6 +40401,33 @@ cc_prebuilt_binary {
soc_specific: true,
}
cc_prebuilt_binary {
name: "wlan_assistant",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/wlan_assistant",
],
shared_libs: [
"libc",
"liblog",
"libcutils",
"libnl",
"libc++",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
soc_specific: true,
}
cc_prebuilt_binary {
name: "wmt_launcher",
owner: "xiaomi",
+20 -20
View File
@@ -6,27 +6,27 @@ LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),klee)
$(call add-radio-file-sha1-checked,radio/apusys.img,61bb6aef9c412c7c64be61bed34b41875ebe8d51)
$(call add-radio-file-sha1-checked,radio/audio_dsp.img,e073973cc133e951da42223361828b99be2b08d9)
$(call add-radio-file-sha1-checked,radio/ccu.img,305014ec6856df2bfe083f411da62ec0b1a1338b)
$(call add-radio-file-sha1-checked,radio/connsys_bt.img,c117a7dc7c6f4aa4aaf01e2acbd28ca0ce83ce23)
$(call add-radio-file-sha1-checked,radio/connsys_gnss.img,a76d3440ef2d5a4b261dbfe17cca993dda94a04c)
$(call add-radio-file-sha1-checked,radio/connsys_wifi.img,b4b307eacf53f5ca594f727f50328d2055099a46)
$(call add-radio-file-sha1-checked,radio/dpm.img,3a8233c5f4ad8229846df7dda6669c549914778e)
$(call add-radio-file-sha1-checked,radio/gpueb.img,4125d35475f543824fdf9ca621188503d8135eb2)
$(call add-radio-file-sha1-checked,radio/gz.img,93616d922de040fe966b4c048acd933329ae5ead)
$(call add-radio-file-sha1-checked,radio/lk.img,ae951628080e601dca7eeb43fa253ace9a929677)
$(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/lk.img,8daa12bb697144e3e08e5af9cb29f94e66b174af)
$(call add-radio-file-sha1-checked,radio/logo.img,3be6266df215b2caa139f5ab20be2a2ed5ed816d)
$(call add-radio-file-sha1-checked,radio/mcf_ota.img,e1f2f059791ac58c7540e75c52e4edca3c1a72d2)
$(call add-radio-file-sha1-checked,radio/mcupm.img,1c1506efa22ef3161125a3a1baffa9ad1029bd38)
$(call add-radio-file-sha1-checked,radio/modem.img,4391906d29b0d33ede19f76b3031b432d8a247c0)
$(call add-radio-file-sha1-checked,radio/mvpu_algo.img,d3566534a02eafb4bde595ce4faa480566584e4b)
$(call add-radio-file-sha1-checked,radio/pi_img.img,e4599ce889a3fe2c8cc9600a1d129539e86357d5)
$(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/preloader_raw.img,58b36a1e257e4e4362b39b825ab673f1c9dd77fd)
$(call add-radio-file-sha1-checked,radio/scp.img,029fef230bc85187272b64b83e16cf78ce6eb44f)
$(call add-radio-file-sha1-checked,radio/spmfw.img,028e7c6048ec64313da5e8d860c27ae1c82b0e86)
$(call add-radio-file-sha1-checked,radio/sspm.img,3a58cf0bdca58c3b0edfd3c7f44dbebde85e0d67)
$(call add-radio-file-sha1-checked,radio/tee.img,f1a94ea3eec7d91ec804a927787d9ec39c690bbc)
$(call add-radio-file-sha1-checked,radio/vcp.img,477d82a1f5491671addadc19013cfabbab170467)
$(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)
endif
+14 -2
View File
@@ -640,6 +640,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/klee/proprietary/vendor/etc/init/vendor.mediatek.hardware.pq_aidl-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.pq_aidl-service.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/vendor.xiaomi.hardware.displayfeature_aidl-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.xiaomi.hardware.displayfeature_aidl-service.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/volte_clientapi_ua.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/volte_clientapi_ua.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/wlan_assistant.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/wlan_assistant.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/libnfc-nxp-pnscr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-pnscr.conf \
vendor/xiaomi/klee/proprietary/vendor/etc/mali_platform.config:$(TARGET_COPY_OUT_VENDOR)/etc/mali_platform.config \
vendor/xiaomi/klee/proprietary/vendor/etc/media_codecs_dolby_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_dolby_audio.xml \
@@ -1361,6 +1362,7 @@ PRODUCT_PACKAGES += \
libimagebuffer_wrapper \
libimgstream_sync \
libimgsys_osal \
libion_mtk \
libion_ulit \
libipsec_ims_shr \
libjpeg-alpha-oal_vendor \
@@ -1370,6 +1372,7 @@ PRODUCT_PACKAGES += \
libkeymint-v36 \
libkeymint_remote_prov_support-v36 \
libkeymint_support-v36 \
libladder \
libmbrainSDKv \
libmcve \
libmetatagwrapper \
@@ -1540,7 +1543,6 @@ PRODUCT_PACKAGES += \
libvow_ap_test_vaca_nn \
libvow_comp_test \
libvpu5 \
libwifi-hal-mtk \
libwpfa \
libwvkeybox \
libxlog \
@@ -1973,6 +1975,7 @@ PRODUCT_PACKAGES += \
vendor.mediatek.hardware.apuware.apusys-V5-ndk-vendor \
vendor.mediatek.hardware.apuware.utils-V1-ndk-vendor \
vendor.mediatek.hardware.apuware.utils@2.0-vendor \
vendor.mediatek.hardware.bluetooth.audio-V1-ndk \
vendor.mediatek.hardware.camera.aovservice-V3-ndk \
vendor.mediatek.hardware.camera.atms-V1-ndk \
vendor.mediatek.hardware.camera.atms@1.0 \
@@ -1992,6 +1995,7 @@ PRODUCT_PACKAGES += \
vendor.mediatek.hardware.gnss.batching-V1-ndk \
vendor.mediatek.hardware.gpuserv-V2-ndk \
vendor.mediatek.hardware.lbs-V1-ndk \
vendor.mediatek.hardware.lbs@1.0 \
vendor.mediatek.hardware.mbrain-V6-ndk \
vendor.mediatek.hardware.mdmonitor-V1-ndk \
vendor.mediatek.hardware.mdmonitor@1.0 \
@@ -2000,6 +2004,7 @@ PRODUCT_PACKAGES += \
vendor.mediatek.hardware.mmagent@1.1 \
vendor.mediatek.hardware.mmlpq-V3-ndk \
vendor.mediatek.hardware.mms-V1-ndk \
vendor.mediatek.hardware.mtkpower-V1-ndk \
vendor.mediatek.hardware.mtkradioex.assist-V2-ndk \
vendor.mediatek.hardware.mtkradioex.atci-V1-ndk \
vendor.mediatek.hardware.mtkradioex.cap-V1-ndk \
@@ -2019,6 +2024,7 @@ PRODUCT_PACKAGES += \
vendor.mediatek.hardware.mtkradioex.smartratswitch-V1-ndk \
vendor.mediatek.hardware.mtkradioex.voice-V1-ndk \
vendor.mediatek.hardware.netdagent-V1-ndk \
vendor.mediatek.hardware.netdagent@1.0 \
vendor.mediatek.hardware.neuropilot.agent-V1-ndk \
vendor.mediatek.hardware.neuropilot.agent@1.0 \
vendor.mediatek.hardware.neuropilot.agent@1.1 \
@@ -2299,7 +2305,9 @@ PRODUCT_PACKAGES += \
mediatek-ims-base \
mediatek-ims-common \
mediatek-ims-extension-plugin \
mediatek-telecom-common \
mediatek-telephony-base \
mediatek-telephony-common \
CommandService.xml \
android.hardware.audio.effect.service-aidl.xml \
android.hardware.audio.service-aidl.mediatek.xml \
@@ -2310,6 +2318,7 @@ PRODUCT_PACKAGES += \
android.hardware.security.secureclock-service.mitee.xml \
android.hardware.security.sharedsecret-service.mitee.xml \
android.hardware.tetheroffload-V1-service.xml \
bluetooth_audio_mtk.xml \
dms-service.xml \
gnss-mtk-default.xml \
gnss-mtk.xml \
@@ -2382,6 +2391,7 @@ PRODUCT_PACKAGES += \
touch_boost \
volte_clientapi_ua \
volte_rcs_ua \
wlan_assistant \
wmt_launcher \
wmt_loader \
spkcal_88263s_m9 \
@@ -2871,4 +2881,6 @@ PRODUCT_PACKAGES += \
PRODUCT_BOOT_JARS += \
system_ext:mediatek-ims-base \
system_ext:mediatek-ims-common \
system_ext:mediatek-telephony-base
system_ext:mediatek-telecom-common \
system_ext:mediatek-telephony-base \
system_ext:mediatek-telephony-common
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -23,7 +23,7 @@ on fs
chown system system /dev/rpmb0
chown system system /dev/mmcblk0rpmb
chown system system /dev/0:0:0:49476
chown root system /dev/ufs-bsg0
chown system system /dev/ufs-bsg0
# enable vendor.keymaster-4-0-mitee
enable vendor.keymint-mitee
start tee-supplicant
+4
View File
@@ -0,0 +1,4 @@
service wlan_assistant /vendor/bin/wlan_assistant
class main
user wifi
group system gps inet
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,11 @@
<!--
Input:
vendor/mediatek/proprietary/hardware/connectivity/bluetooth/bluetooth_audio/android_aidl/bluetooth_audio.xml
-->
<manifest version="8.0" type="device">
<hal format="aidl">
<name>android.hardware.bluetooth.audio</name>
<version>4</version>
<fqname>IBluetoothAudioProviderFactory/default</fqname>
</hal>
</manifest>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.
Regular → Executable
BIN
View File
Binary file not shown.