rodin: Sync with device tree changes

Change-Id: I6eadb0df9be66c549ba98ddb6f0324467bf94122
Signed-off-by: Ido <dev.xyzuniverse@gmail.com>
This commit is contained in:
2026-07-04 01:19:05 +02:00
parent a01727a42b
commit a6da4c65b0
192 changed files with 1630 additions and 583 deletions
+668 -76
View File
@@ -13,7 +13,7 @@ soong_namespace {
} }
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "av-audio-types-aidl-V1-ndk", name: "av-audio-types-aidl-V3-ndk",
owner: "xiaomi", owner: "xiaomi",
strip: { strip: {
none: true, none: true,
@@ -21,11 +21,11 @@ cc_prebuilt_library_shared {
target: { target: {
android_arm64: { android_arm64: {
srcs: [ srcs: [
"proprietary/system/lib64/av-audio-types-aidl-V1-ndk.so", "proprietary/system/lib64/av-audio-types-aidl-V3-ndk.so",
], ],
shared_libs: [ shared_libs: [
"libbinder_ndk", "libbinder_ndk",
"android.hardware.audio.core-V2-ndk", "android.hardware.audio.core-V3-ndk",
"libc++", "libc++",
"libc", "libc",
"libm", "libm",
@@ -58,7 +58,7 @@ cc_prebuilt_library_shared {
"libfmq", "libfmq",
"libbinder_ndk", "libbinder_ndk",
"libdmabufheap", "libdmabufheap",
"vendor.mediatek.hardware.apuware.apusys-V5-ndk", "vendor.mediatek.hardware.apuware.apusys-V5-ndk-vendor",
"libc++", "libc++",
"libc", "libc",
"libm", "libm",
@@ -93,7 +93,7 @@ cc_prebuilt_library_shared {
"libdmabufheap", "libdmabufheap",
"libgralloc_extra", "libgralloc_extra",
"libnativewindow", "libnativewindow",
"vendor.mediatek.hardware.apuware.utils-V1-ndk", "vendor.mediatek.hardware.apuware.utils-V1-ndk-vendor",
"libc++", "libc++",
"libc", "libc",
"libm", "libm",
@@ -1797,7 +1797,7 @@ cc_prebuilt_library_shared {
shared_libs: [ shared_libs: [
"libbinder_ndk", "libbinder_ndk",
"libfmq", "libfmq",
"vendor.mediatek.hardware.videotelephony-V1-ndk", "vendor.mediatek.hardware.videotelephony-V1-ndk-vendor",
"libc", "libc",
"libutils", "libutils",
"libcutils", "libcutils",
@@ -4987,6 +4987,42 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "libcom.xiaomi.ionutils",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libcom.xiaomi.ionutils.so",
],
shared_libs: [
"libc++",
"libcutils",
"liblog",
"libsync",
"libhidlbase",
"libhidltransport",
"libui",
"libcamera_metadata",
"libutils",
"libdmabufheap",
"libnativewindow",
"libprocessgroup",
"libcom.xiaomi.debug",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libcom.xiaomi.metadatautils", name: "libcom.xiaomi.metadatautils",
owner: "xiaomi", owner: "xiaomi",
@@ -6679,8 +6715,6 @@ cc_prebuilt_library_shared {
"proprietary/vendor/lib64/libmialgoengine.so", "proprietary/vendor/lib64/libmialgoengine.so",
], ],
shared_libs: [ shared_libs: [
"libprocessgroup_shim",
"libbinder_shim",
"libc++", "libc++",
"libcutils", "libcutils",
"liblog", "liblog",
@@ -28239,7 +28273,8 @@ cc_prebuilt_library_shared {
} }
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.videotelephony-V1-ndk", name: "vendor.mediatek.hardware.videotelephony-V1-ndk-vendor",
stem: "vendor.mediatek.hardware.videotelephony-V1-ndk",
owner: "xiaomi", owner: "xiaomi",
strip: { strip: {
none: true, none: true,
@@ -29141,6 +29176,255 @@ cc_prebuilt_library_shared {
system_ext_specific: true, system_ext_specific: true,
} }
cc_prebuilt_library_shared {
name: "libcomutils",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libcomutils.so",
],
shared_libs: [
"libcutils",
"libstagefright_foundation",
"libutils",
"libstagefright",
"libmedia",
"liblog",
"libhidlbase",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libimsma",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libimsma.so",
],
shared_libs: [
"libbinder",
"libcutils",
"libgui",
"libmedia",
"libstagefright",
"libstagefright_foundation",
"libui",
"libutils",
"libsink-mtk",
"libsource",
"libvcodec_cap",
"libimsma_rtp",
"libcomutils",
"liblog",
"libsignal",
"libnetd_client",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libimsma_adapt",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libimsma_adapt.so",
],
shared_libs: [
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libimsma_rtp",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libimsma_rtp.so",
],
shared_libs: [
"libbinder",
"libmedia",
"libutils",
"libcutils",
"libstagefright",
"libstagefright_foundation",
"libimsma_socketwrapper",
"libvcodec_cap",
"libimsma_adapt",
"liblog",
"libsignal",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libimsma_socketwrapper",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libimsma_socketwrapper.so",
],
shared_libs: [
"libbinder",
"libmedia",
"libutils",
"libcutils",
"libstagefright",
"libstagefright_foundation",
"libnetd_client",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libmtk_vt_service",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libmtk_vt_service.so",
],
shared_libs: [
"libandroid_runtime",
"libbinder",
"libutils",
"libcutils",
"libnativehelper",
"libui",
"libgui",
"libmedia",
"libbase",
"libfmq",
"libbinder_ndk",
"vendor.mediatek.hardware.videotelephony@1.0",
"vendor.mediatek.hardware.videotelephony-V1-ndk",
"libhidlbase",
"libhidltransport",
"libimsma",
"libsource",
"libimsma_rtp",
"libvt_avsync",
"libstagefright_foundation",
"libvcodec_cap",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libmtk_vt_wrapper",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libmtk_vt_wrapper.so",
],
shared_libs: [
"libandroid_runtime",
"libbinder",
"libutils",
"libcutils",
"libnativehelper",
"libfmq",
"libbinder_ndk",
"vendor.mediatek.hardware.videotelephony@1.0",
"vendor.mediatek.hardware.videotelephony-V1-ndk",
"libhidlbase",
"libhidltransport",
"libui",
"libgui",
"libmedia",
"libvcodec_cap",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libmvpu_cic_ci_compiler.mtk", name: "libmvpu_cic_ci_compiler.mtk",
owner: "xiaomi", owner: "xiaomi",
@@ -29836,6 +30120,113 @@ cc_prebuilt_library_shared {
system_ext_specific: true, system_ext_specific: true,
} }
cc_prebuilt_library_shared {
name: "libsignal",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libsignal.so",
],
shared_libs: [
"libcutils",
"libutils",
"libstagefright_foundation",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libsink-mtk",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libsink-mtk.so",
],
shared_libs: [
"libaudioclient_shim",
"libbinder",
"libcutils",
"libgui",
"libmedia",
"libstagefright",
"libstagefright_foundation",
"libui",
"libutils",
"libcomutils",
"libvcodec_cap",
"libvt_avsync",
"liblog",
"libmedia_omx",
"libaudioclient",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libsource",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libsource.so",
],
shared_libs: [
"libbinder",
"libcutils",
"libgui",
"libmedia",
"libstagefright",
"libstagefright_foundation",
"libmedia_omx",
"libui",
"libutils",
"libcamera_client",
"libcomutils",
"libvcodec_cap",
"liblog",
"libsignal",
"libhardware",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libtfa98xx_cal", name: "libtfa98xx_cal",
owner: "xiaomi", owner: "xiaomi",
@@ -29875,10 +30266,98 @@ cc_prebuilt_library_shared {
"proprietary/system_ext/lib64/libtflite_mtk.mtk.so", "proprietary/system_ext/lib64/libtflite_mtk.mtk.so",
], ],
shared_libs: [ shared_libs: [
"libdl",
"liblog", "liblog",
"libruy",
"libtextclassifier_hash",
"libnativewindow", "libnativewindow",
"libEGL",
"libGLESv2",
"libm",
"libc",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libvcodec_cap",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libvcodec_cap.so",
],
shared_libs: [
"libui",
"libcutils",
"libutils",
"libbinder",
"libexpat",
"liblog",
"libvcodec_capenc",
"libstagefright_omx_utils",
"libstagefright_foundation",
"libion",
"android.hardware.graphics.bufferqueue@2.0",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libvcodec_capenc",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libvcodec_capenc.so",
],
shared_libs: [
"liblog",
"libion",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libvt_avsync",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libvt_avsync.so",
],
shared_libs: [
"libbinder",
"libutils",
"libcutils",
"liblog",
"libc++", "libc++",
"libc", "libc",
"libm", "libm",
@@ -30194,6 +30673,61 @@ cc_prebuilt_library_shared {
system_ext_specific: true, system_ext_specific: true,
} }
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.videotelephony-V1-ndk",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/vendor.mediatek.hardware.videotelephony-V1-ndk.so",
],
shared_libs: [
"libbinder_ndk",
"android.hardware.common-V2-ndk",
"android.hardware.common.fmq-V1-ndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.videotelephony@1.0",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/vendor.mediatek.hardware.videotelephony@1.0.so",
],
shared_libs: [
"libhidlbase",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "anc.hal", name: "anc.hal",
owner: "xiaomi", owner: "xiaomi",
@@ -30424,7 +30958,6 @@ cc_prebuilt_library_shared {
"proprietary/odm/lib64/camera/plugins/capture/com.xiaomi.plugin.depurple.so", "proprietary/odm/lib64/camera/plugins/capture/com.xiaomi.plugin.depurple.so",
], ],
shared_libs: [ shared_libs: [
"libbinder_shim",
"libcutils", "libcutils",
"liblog", "liblog",
"libutils", "libutils",
@@ -30459,6 +30992,7 @@ cc_prebuilt_library_shared {
"proprietary/odm/lib64/camera/plugins/capture/com.xiaomi.plugin.filter.so", "proprietary/odm/lib64/camera/plugins/capture/com.xiaomi.plugin.filter.so",
], ],
shared_libs: [ shared_libs: [
"libprocessgroup_shim",
"libbinder_shim", "libbinder_shim",
"libcutils", "libcutils",
"liblog", "liblog",
@@ -31132,6 +31666,7 @@ cc_prebuilt_library_shared {
"libGLESv2", "libGLESv2",
"libnativewindow", "libnativewindow",
"libminikin.xiaomi", "libminikin.xiaomi",
"libcom.xiaomi.ionutils",
"libMiPhotoFilter", "libMiPhotoFilter",
"libc++", "libc++",
"libc", "libc",
@@ -31146,42 +31681,6 @@ cc_prebuilt_library_shared {
device_specific: true, device_specific: true,
} }
cc_prebuilt_library_shared {
name: "com.xiaomi.plugin.heifedit",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/odm/lib64/camera/plugins/com.xiaomi.plugin.heifedit.so",
],
shared_libs: [
"libcutils",
"liblog",
"libutils",
"libcamera_metadata",
"libcom.xiaomi.pluginutils",
"libcom.xiaomi.metadatautils",
"libcom.xiaomi.debug",
"com.xiaomi.camdfx",
"libcameraheif",
"libexif",
"libimage_io",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
relative_install_path: "camera/plugins",
prefer: true,
device_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "com.xiaomi.plugin.hwjpeg", name: "com.xiaomi.plugin.hwjpeg",
owner: "xiaomi", owner: "xiaomi",
@@ -32351,6 +32850,7 @@ cc_prebuilt_library_shared {
"proprietary/odm/lib64/libMiPhotoFilter.so", "proprietary/odm/lib64/libMiPhotoFilter.so",
], ],
shared_libs: [ shared_libs: [
"libbinder_shim",
"liblog", "liblog",
"libGLESv3", "libGLESv3",
"libEGL", "libEGL",
@@ -32923,30 +33423,6 @@ cc_prebuilt_library_shared {
device_specific: true, device_specific: true,
} }
cc_prebuilt_library_shared {
name: "libcameraheif",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/odm/lib64/libcameraheif.so",
],
shared_libs: [
"libm",
"libc++_shared",
"libdl",
"libc",
],
},
},
compile_multilib: "64",
prefer: true,
device_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libclient2slpi.notifier", name: "libclient2slpi.notifier",
owner: "xiaomi", owner: "xiaomi",
@@ -34101,7 +34577,6 @@ cc_prebuilt_library_shared {
"proprietary/odm/lib64/libmorpho_Depurple.so", "proprietary/odm/lib64/libmorpho_Depurple.so",
], ],
shared_libs: [ shared_libs: [
"libbinder_shim",
"liblog", "liblog",
"libdl", "libdl",
"libc", "libc",
@@ -34785,6 +35260,42 @@ android_app_import {
product_specific: true, product_specific: true,
} }
android_app_import {
name: "ImsService",
owner: "xiaomi",
apk: "proprietary/system_ext/priv-app/ImsService/ImsService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import {
name: "MtkGbaService",
owner: "xiaomi",
apk: "proprietary/system_ext/priv-app/MtkGbaService/MtkGbaService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import {
name: "MtkTelephonyAssist",
owner: "xiaomi",
apk: "proprietary/system_ext/priv-app/MtkTelephonyAssist/MtkTelephonyAssist.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import { android_app_import {
name: "JVFactoryTest", name: "JVFactoryTest",
owner: "xiaomi", owner: "xiaomi",
@@ -34815,6 +35326,46 @@ dex_import {
], ],
} }
dex_import {
name: "mediatek-ims-base",
owner: "xiaomi",
jars: [
"proprietary/system/framework/mediatek-ims-base.jar",
],
}
dex_import {
name: "mediatek-ims-common",
owner: "xiaomi",
jars: [
"proprietary/system/framework/mediatek-ims-common.jar",
],
}
dex_import {
name: "mediatek-telecom-common",
owner: "xiaomi",
jars: [
"proprietary/system/framework/mediatek-telecom-common.jar",
],
}
dex_import {
name: "mediatek-telephony-base",
owner: "xiaomi",
jars: [
"proprietary/system/framework/mediatek-telephony-base.jar",
],
}
dex_import {
name: "mediatek-telephony-common",
owner: "xiaomi",
jars: [
"proprietary/system/framework/mediatek-telephony-common.jar",
],
}
dex_import { dex_import {
name: "androidx.camera.extensions.impl", name: "androidx.camera.extensions.impl",
owner: "xiaomi", owner: "xiaomi",
@@ -34833,6 +35384,15 @@ dex_import {
system_ext_specific: true, system_ext_specific: true,
} }
dex_import {
name: "mediatek-ims-extension-plugin",
owner: "xiaomi",
jars: [
"proprietary/system_ext/framework/mediatek-ims-extension-plugin.jar",
],
system_ext_specific: true,
}
prebuilt_etc_xml { prebuilt_etc_xml {
name: "CommandService.xml", name: "CommandService.xml",
owner: "xiaomi", owner: "xiaomi",
@@ -36313,7 +36873,7 @@ cc_prebuilt_binary {
"liblog", "liblog",
"libbase", "libbase",
"libfmq", "libfmq",
"vendor.mediatek.hardware.videotelephony-V1-ndk", "vendor.mediatek.hardware.videotelephony-V1-ndk-vendor",
"vendor.mediatek.hardware.videotelephony-impl", "vendor.mediatek.hardware.videotelephony-impl",
"libbinder_ndk", "libbinder_ndk",
"libc++", "libc++",
@@ -36805,10 +37365,13 @@ cc_prebuilt_binary {
"proprietary/system_ext/bin/hw/android.hardware.audio.parameter_parser.service", "proprietary/system_ext/bin/hw/android.hardware.audio.parameter_parser.service",
], ],
shared_libs: [ shared_libs: [
"av-audio-types-aidl-V1-ndk", "android.hardware.audio.core-V3-ndk",
"android.hardware.audio.core-V2-ndk", "av-audio-types-aidl-V3-ndk",
"libbase", "libbase",
"libbinder_ndk", "libbinder_ndk",
"libmedia_helper",
"libmediautils",
"libutils",
"libc++", "libc++",
"libc", "libc",
"libm", "libm",
@@ -37086,6 +37649,35 @@ cc_prebuilt_binary {
system_ext_specific: true, system_ext_specific: true,
} }
cc_prebuilt_binary {
name: "vtservice",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/bin/vtservice",
],
shared_libs: [
"libbinder",
"libutils",
"libcutils",
"liblog",
"libmtk_vt_service",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_binary { cc_prebuilt_binary {
name: "fidoca_mitee", name: "fidoca_mitee",
owner: "xiaomi", owner: "xiaomi",
+20 -20
View File
@@ -6,26 +6,26 @@ LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),rodin) ifeq ($(TARGET_DEVICE),rodin)
$(call add-radio-file-sha1-checked,radio/apusys.img,d122de71e9d5770ffb1f19dcdcfc7cac4ab93804) $(call add-radio-file-sha1-checked,radio/apusys.img,c348b87e396e27cb2a99934886c2bed6398451c0)
$(call add-radio-file-sha1-checked,radio/audio_dsp.img,b3b722b02ae54218572d95fef27dfe9ea1ae745b) $(call add-radio-file-sha1-checked,radio/audio_dsp.img,2fe9da981630c8ece7658d46fc0bcc5e42ac3543)
$(call add-radio-file-sha1-checked,radio/ccu.img,fc658b9ca0f9b7a2915f089c9b3730829f26048e) $(call add-radio-file-sha1-checked,radio/ccu.img,dc3646bf00d9a686498314ef7a28614a1e7f6b17)
$(call add-radio-file-sha1-checked,radio/connsys_bt.img,45fdc90bc36ab40a6e9fe6ad76a5df22eeee3721) $(call add-radio-file-sha1-checked,radio/connsys_bt.img,61f2adfb2ac7810ce4459d1a1888d1afed383582)
$(call add-radio-file-sha1-checked,radio/connsys_gnss.img,be3a65e41d0a3873d415f1e476c3b00c27068997) $(call add-radio-file-sha1-checked,radio/connsys_gnss.img,5038f805c8dfaacdf9dc722afd8a2067428add6e)
$(call add-radio-file-sha1-checked,radio/connsys_wifi.img,7e72e0b97c294d6486a1f135104fae7b44481c93) $(call add-radio-file-sha1-checked,radio/connsys_wifi.img,9e51ff970c2937debf5a75c1205125dc91811d4f)
$(call add-radio-file-sha1-checked,radio/dpm.img,8da703d50e6be1656d008732193c7bc220142d0d) $(call add-radio-file-sha1-checked,radio/dpm.img,72b64df491665ebaffb22244f234cb3cd7c61db3)
$(call add-radio-file-sha1-checked,radio/gpueb.img,aa0095045a8823ba8492c87577fdc9dbb90050c9) $(call add-radio-file-sha1-checked,radio/gpueb.img,f521d1f083fecc3ff41b0ae3bd8f404bf57165df)
$(call add-radio-file-sha1-checked,radio/gz.img,a189e91728204e83e6f8a54c71d6c7a175853ff7) $(call add-radio-file-sha1-checked,radio/gz.img,bd5ef2ee03fedee555e6f2c6f7ce9f2c8ed95e14)
$(call add-radio-file-sha1-checked,radio/lk.img,4a35f0c7882a254820b0694a5e3e98af9e7edd31) $(call add-radio-file-sha1-checked,radio/lk.img,4646383b49a4f44661c9597b7dc589cc92b4f229)
$(call add-radio-file-sha1-checked,radio/mcf_ota.img,516bcd1362c73e23df6c727db0779ab904af13e3) $(call add-radio-file-sha1-checked,radio/mcf_ota.img,6fbd06c64109b15912ba83ec9ae54f8e41fbb644)
$(call add-radio-file-sha1-checked,radio/mcupm.img,708d7eccbad12c5000f27c5f81ae9b71a5d9ee18) $(call add-radio-file-sha1-checked,radio/mcupm.img,f87b41fef305ad522b2e3d6ac5e4fe236fcc652e)
$(call add-radio-file-sha1-checked,radio/modem.img,c0bbb1053425f6ce787cc7da6b6a88becc1f1a19) $(call add-radio-file-sha1-checked,radio/modem.img,1bec11db445bfe19faa342190ca6015d9f86fa90)
$(call add-radio-file-sha1-checked,radio/mvpu_algo.img,4e4a8fd940d25799607b81cc8cedcea23103fb30) $(call add-radio-file-sha1-checked,radio/mvpu_algo.img,9225fcde35c9b487431df302352ccbe148386a7b)
$(call add-radio-file-sha1-checked,radio/pi_img.img,d23bd957a691ebd2605ba005e093e205c243e3c0) $(call add-radio-file-sha1-checked,radio/pi_img.img,7d4fcc123db83cba150b8b1a3177428cd4babc53)
$(call add-radio-file-sha1-checked,radio/preloader_raw.img,9eabb9b69659841723c53de3a1d2626707772e5a) $(call add-radio-file-sha1-checked,radio/preloader_raw.img,9eabb9b69659841723c53de3a1d2626707772e5a)
$(call add-radio-file-sha1-checked,radio/scp.img,36c19ec2d7993f92a0304735a3d61c073cc61998) $(call add-radio-file-sha1-checked,radio/scp.img,9cef378d425f57c80fae86fdae55e848b3168ed6)
$(call add-radio-file-sha1-checked,radio/spmfw.img,0a71e6f38de01378693164eb171c3812cdd40cab) $(call add-radio-file-sha1-checked,radio/spmfw.img,3fa3f8107b43de34bf3762f514300aa14c2480b1)
$(call add-radio-file-sha1-checked,radio/sspm.img,d5665c654876deb49078404015028e0b62a43886) $(call add-radio-file-sha1-checked,radio/sspm.img,877173786b5ae65991d05f2123872c4cf353ea25)
$(call add-radio-file-sha1-checked,radio/tee.img,c0c2127b9741f7518f4641ae51fe575a55d8f38c) $(call add-radio-file-sha1-checked,radio/tee.img,8aa1ffcf92e4b53287cbb66d761f737dff8e0d74)
$(call add-radio-file-sha1-checked,radio/vcp.img,0914367d1b78afae26bbb014f173f740ea672059) $(call add-radio-file-sha1-checked,radio/vcp.img,7ef0391701e9c484d6766c21d2eb2f7143287a77)
endif endif
@@ -35,7 +35,10 @@
"name": "protect_list", "name": "protect_list",
"config": [ "config": [
"com.tencent.mobileqq", "com.tencent.mobileqq",
"com.ss.android.lark.kami" "com.ss.android.lark.kami",
"com.miui.home",
"com.miui.gallery",
"com.mi.android.globallauncher"
] ]
}, },
{ {
@@ -1,236 +0,0 @@
{
"CameraReclaim": {
"ReclaimActions": {
"kill_once": {
"psi_monitor": [
{
"enable": true,
"kill_level": 0,
"trigger": {
"free": "0:204800",
"cache": "0:2048000",
"some_mem_psi": "1:-1"
}
},
{
"enable": true,
"kill_level": 0,
"trigger": {
"some_mem_psi": "10:-1"
}
}
]
},
"kill_target": {
"miuicam_activity_start_event":[
{
"enable": false,
"free_target": "409600",
"target": "2048000",
"kill_level": 0,
"trigger":{
"availablemem": "0:-1"
}
}
],
"miuicam_open_event":[
{
"enable": true,
"free_target": "409600",
"target": "2048000",
"kill_level": 0,
"trigger": {
"availablemem": "0:2048000"
}
}
],
"miuicam_capture_event": [
{
"enable": false,
"free_target": "204800",
"target": "1536000",
"kill_level": 0,
"trigger": {
"availablemem": "0:1228800"
}
}
],
"miuicam_video_switch_event":[
{
"enable": false,
"free_target": "204800",
"target": "1536000",
"kill_level": 0,
"trigger":{
"availablemem": "0:-1"
}
}
],
"3rdcam_open_event":[
{
"enable": true,
"free_target": "307200",
"target": "1536000",
"kill_level": 0,
"trigger": {
"availablemem": "0:1536000"
}
}
],
"3rdcam_activity_start_event":[
{
"enable": false,
"free_target": "307200",
"target": "1536000",
"kill_level": 0,
"trigger": {
"availablemem": "0:-1"
}
}
]
},
"reclaim_once": {
"3rdcam_open_event": [
{
"cpu_psi_target": 50,
"enable": false,
"target": "307200",
"trigger": {
"cache": "2048000:-1",
"cpu_psi": "0:40",
"free": "0:307200"
}
}
],
"psi_monitor": [
{
"enable": false,
"target": 204800,
"cpu_psi_target": 50,
"trigger": {
"free": "0:204800",
"cache": "2048000:-1"
}
}
],
"60frames_arrived_event": [
{
"enable": false,
"target": 512000,
"cpu_psi_target": 40,
"trigger": {
"free": "0:512000",
"cache": "1024000:-1"
}
}
],
"3rdcam_activity_start_event":[
{
"enable": false,
"target": 307200,
"cpu_psi_target": 40,
"trigger": {
"free": "0:307200",
"cache": "1024000:-1"
}
}
],
"miuicam_activity_start_event":[
{
"enable": false,
"target": 204800,
"cpu_psi_target": 40,
"trigger":{
"free": "0:204800",
"cache": "2048000:-1"
}
}
],
"miuicam_capture_event":[
{
"enable": false,
"target": 204800,
"cpu_psi_target": 40,
"trigger":{
"free": "0:204800",
"availablemem": "2048000:-1"
}
}
],
"miuicam_activity_zoom_event":[
{
"enable": false,
"target": "307200",
"cpu_psi_target": 40,
"trigger":{
"free": "0:204800",
"cache": "2048000:-1"
}
}
],
"live_motion_psi_monitor":[
{
"enable": false,
"target": "512000",
"cpu_psi_target": 55,
"trigger": {
"free": "0:512000",
"cache": "1024000:-1"
}
}
],
"200M_psi_monitor":[
{
"enable": false,
"target": "512000",
"cpu_psi_target": 55,
"trigger": {
"free": "0:512000",
"cache": "1024000:-1"
}
}
]
}
},
"killonce_configs" : [
{
"name": "kill_policy",
"config": {
"oom_level": {
"51200": 0,
"89600": 100,
"204800": 200,
"256000": 251,
"384000": 700,
"393216": 702,
"460800": 800
},
"some_psi": {
"40": 50,
"30": 51,
"26": 101,
"22": 251,
"18": 701,
"14": 702,
"12": 800,
"10": 900
},
"drop_threshold": {
"51": 0,
"101": 2,
"251": 2,
"701": 3,
"702": 4,
"800": 5,
"900": 6
},
"deepkill_policy" : {
"200": 4,
"101": 16,
"50": 32
}
}
}
]
}
}
@@ -220,6 +220,10 @@
"NodeName": "com.xiaomi.plugin.hwjpeg", "NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance1" "NodeInstance": "JpegInstance1"
}, },
{
"NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance2"
},
{ {
"NodeName": "com.xiaomi.plugin.virtual", "NodeName": "com.xiaomi.plugin.virtual",
"NodeInstance": "virtualInstance0", "NodeInstance": "virtualInstance0",
@@ -663,6 +667,28 @@
"NodeInstance": "jpegrAggrInstance" "NodeInstance": "jpegrAggrInstance"
} }
}, },
{
"SrcPort": {
"PortId": 5,
"NodeInstance": "WatermarkInstance0"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "JpegInstance2",
"PortFormat": "YUV420_NV12"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "JpegInstance2",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 8,
"NodeInstance": "jpegrAggrInstance"
}
},
{ {
"SrcPort": { "SrcPort": {
"PortId": 1, "PortId": 1,
@@ -113,6 +113,10 @@
{ {
"NodeName": "com.xiaomi.plugin.hwjpeg", "NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance1" "NodeInstance": "JpegInstance1"
},
{
"NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance2"
} }
] ]
}, },
@@ -286,6 +290,28 @@
"NodeInstance": "jpegrAggrInstance" "NodeInstance": "jpegrAggrInstance"
} }
}, },
{
"SrcPort": {
"PortId": 5,
"NodeInstance": "WatermarkInstance0"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "JpegInstance2",
"PortFormat": "YUV420_NV12"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "JpegInstance2",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 8,
"NodeInstance": "jpegrAggrInstance"
}
},
{ {
"SrcPort": { "SrcPort": {
"PortId": 1, "PortId": 1,
@@ -209,6 +209,47 @@
"NodePropertyValue": 4 "NodePropertyValue": 4
} }
] ]
},
{
"NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance1"
},
{
"NodeName": "com.xiaomi.plugin.virtual",
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"NodeProperty":[
{
"NodePropertyName":"NodeMask",
"NodePropertyValue":512
}
]
},
{
"NodeName": "com.xiaomi.plugin.gainmapPostProc",
"NodeInstance": "GainMapPostProcInstanceSharp",
"NodeProperty":[
{
"NodePropertyName":"NodeMask",
"NodePropertyValue":128,
"__comment__":"CUSTOMSIZE_MODE"
},
{
"NodePropertyName":"pluginMode",
"NodePropertyValue":1,
"__comment__":"disable watermark"
}
]
},
{
"NodeName": "com.xiaomi.plugin.jpegrAggr",
"NodeInstance": "jpegrAggrInstanceSharp",
"NodeProperty":[
{
"NodePropertyName":"pluginMode",
"NodePropertyValue":5,
"__comment__":"DISABLE_WARTERMARK|NO_DEBUG"
}
]
} }
] ]
}, },
@@ -423,6 +464,50 @@
"NodeInstance": "HeifEditInstance" "NodeInstance": "HeifEditInstance"
} }
}, },
{
"SrcPort": {
"PortId": 5,
"NodeInstance": "WatermarkInstance0"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "YUV420_NV12"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "jpegrAggrInstanceSharp"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "jpegrAggrInstanceSharp",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 8,
"NodeInstance": "jpegrAggrInstance"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 8,
"NodeInstance": "HeifEditInstance"
}
},
{ {
"SrcPort": { "SrcPort": {
"PortId": 1, "PortId": 1,
@@ -596,6 +681,18 @@
"NodeInstance": "MovieEffectInstanceGainmap", "NodeInstance": "MovieEffectInstanceGainmap",
"PortFormat": "Y8" "PortFormat": "Y8"
}, },
"DstPort": {
"PortId": 0,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
},
"DstPort": { "DstPort": {
"PortId": 4, "PortId": 4,
"NodeInstance": "WatermarkInstance0", "NodeInstance": "WatermarkInstance0",
@@ -650,6 +747,30 @@
"ChildSrcNodePortId":0, "ChildSrcNodePortId":0,
"ChildSrcNode":"virtualInstanceSdk" "ChildSrcNode":"virtualInstanceSdk"
} }
},
{
"SrcPort": {
"PortId": 1,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "GainMapPostProcInstanceSharp",
"PortFormat": "Y8"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "GainMapPostProcInstanceSharp",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 2,
"NodeInstance": "jpegrAggrInstanceSharp",
"PortFormat": "BLOB"
}
} }
] ]
} }
@@ -118,6 +118,10 @@
"NodeName": "com.xiaomi.plugin.hwjpeg", "NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance" "NodeInstance": "JpegInstance"
}, },
{
"NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance1"
},
{ {
"NodeName": "com.xiaomi.plugin.virtual", "NodeName": "com.xiaomi.plugin.virtual",
"NodeInstance": "virtualInstanceBssToGainmap", "NodeInstance": "virtualInstanceBssToGainmap",
@@ -191,6 +195,43 @@
"NodePropertyValue":128 "NodePropertyValue":128
} }
] ]
},
{
"NodeName": "com.xiaomi.plugin.virtual",
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"NodeProperty":[
{
"NodePropertyName":"NodeMask",
"NodePropertyValue":512
}
]
},
{
"NodeName": "com.xiaomi.plugin.gainmapPostProc",
"NodeInstance": "GainMapPostProcInstanceSharp",
"NodeProperty":[
{
"NodePropertyName":"NodeMask",
"NodePropertyValue":128,
"__comment__":"CUSTOMSIZE_MODE"
},
{
"NodePropertyName":"pluginMode",
"NodePropertyValue":1,
"__comment__":"disable watermark"
}
]
},
{
"NodeName": "com.xiaomi.plugin.jpegrAggr",
"NodeInstance": "jpegrAggrInstanceSharp",
"NodeProperty":[
{
"NodePropertyName":"pluginMode",
"NodePropertyValue":5,
"__comment__":"DISABLE_WARTERMARK|NO_DEBUG"
}
]
} }
] ]
}, },
@@ -399,6 +440,39 @@
"NodeInstance": "jpegrAggrInstance" "NodeInstance": "jpegrAggrInstance"
} }
}, },
{
"SrcPort": {
"PortId": 5,
"NodeInstance": "WatermarkInstance0"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "YUV420_NV12"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "jpegrAggrInstanceSharp"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "jpegrAggrInstanceSharp",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 8,
"NodeInstance": "jpegrAggrInstance"
}
},
{ {
"SrcPort": { "SrcPort": {
"PortId": 1, "PortId": 1,
@@ -536,6 +610,18 @@
"NodeInstance": "MovieEffectInstanceGainmap", "NodeInstance": "MovieEffectInstanceGainmap",
"PortFormat": "Y8" "PortFormat": "Y8"
}, },
"DstPort": {
"PortId": 0,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
},
"DstPort": { "DstPort": {
"PortId": 4, "PortId": 4,
"NodeInstance": "WatermarkInstance0", "NodeInstance": "WatermarkInstance0",
@@ -578,6 +664,30 @@
"ChildSrcNodePortId":0, "ChildSrcNodePortId":0,
"ChildSrcNode":"virtualInstanceSdk" "ChildSrcNode":"virtualInstanceSdk"
} }
},
{
"SrcPort": {
"PortId": 1,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "GainMapPostProcInstanceSharp",
"PortFormat": "Y8"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "GainMapPostProcInstanceSharp",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 2,
"NodeInstance": "jpegrAggrInstanceSharp",
"PortFormat": "BLOB"
}
} }
] ]
} }
@@ -199,6 +199,10 @@
{ {
"NodeName": "com.xiaomi.plugin.hwjpeg", "NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance" "NodeInstance": "JpegInstance"
},
{
"NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance1"
} }
] ]
}, },
@@ -393,6 +397,28 @@
"NodeInstance": "jpegrAggrInstance" "NodeInstance": "jpegrAggrInstance"
} }
}, },
{
"SrcPort": {
"PortId": 5,
"NodeInstance": "WatermarkInstance0"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "YUV420_NV12"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 8,
"NodeInstance": "jpegrAggrInstance"
}
},
{ {
"SrcPort": { "SrcPort": {
"PortId": 1, "PortId": 1,
@@ -103,6 +103,10 @@
"NodeName": "com.xiaomi.plugin.hwjpeg", "NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance" "NodeInstance": "JpegInstance"
}, },
{
"NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance1"
},
{ {
"NodeName": "com.xiaomi.plugin.virtual", "NodeName": "com.xiaomi.plugin.virtual",
"NodeInstance": "virtualInstanceBssToGainmap", "NodeInstance": "virtualInstanceBssToGainmap",
@@ -172,6 +176,43 @@
"NodePropertyValue":128 "NodePropertyValue":128
} }
] ]
},
{
"NodeName": "com.xiaomi.plugin.virtual",
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"NodeProperty":[
{
"NodePropertyName":"NodeMask",
"NodePropertyValue":512
}
]
},
{
"NodeName": "com.xiaomi.plugin.gainmapPostProc",
"NodeInstance": "GainMapPostProcInstanceSharp",
"NodeProperty":[
{
"NodePropertyName":"NodeMask",
"NodePropertyValue":128,
"__comment__":"CUSTOMSIZE_MODE"
},
{
"NodePropertyName":"pluginMode",
"NodePropertyValue":1,
"__comment__":"disable watermark"
}
]
},
{
"NodeName": "com.xiaomi.plugin.jpegrAggr",
"NodeInstance": "jpegrAggrInstanceSharp",
"NodeProperty":[
{
"NodePropertyName":"pluginMode",
"NodePropertyValue":5,
"__comment__":"DISABLE_WARTERMARK|NO_DEBUG"
}
]
} }
] ]
}, },
@@ -379,6 +420,39 @@
"NodeInstance": "jpegrAggrInstance" "NodeInstance": "jpegrAggrInstance"
} }
}, },
{
"SrcPort": {
"PortId": 5,
"NodeInstance": "WatermarkInstance0"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "YUV420_NV12"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "jpegrAggrInstanceSharp"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "jpegrAggrInstanceSharp",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 8,
"NodeInstance": "jpegrAggrInstance"
}
},
{ {
"SrcPort": { "SrcPort": {
"PortId": 1, "PortId": 1,
@@ -496,6 +570,18 @@
"NodeInstance": "LdcInstance", "NodeInstance": "LdcInstance",
"PortFormat": "Y8" "PortFormat": "Y8"
}, },
"DstPort": {
"PortId": 0,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
},
"DstPort": { "DstPort": {
"PortId": 4, "PortId": 4,
"NodeInstance": "WatermarkInstance0", "NodeInstance": "WatermarkInstance0",
@@ -549,6 +635,30 @@
"PortId": 1, "PortId": 1,
"NodeInstance": "SinkBuffer1" "NodeInstance": "SinkBuffer1"
} }
},
{
"SrcPort": {
"PortId": 1,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "GainMapPostProcInstanceSharp",
"PortFormat": "Y8"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "GainMapPostProcInstanceSharp",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 2,
"NodeInstance": "jpegrAggrInstanceSharp",
"PortFormat": "BLOB"
}
} }
] ]
} }
@@ -61,6 +61,10 @@
{ {
"NodeName": "com.xiaomi.plugin.hwjpeg", "NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance" "NodeInstance": "JpegInstance"
},
{
"NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance1"
} }
] ]
}, },
@@ -178,6 +182,28 @@
"NodeInstance": "jpegrAggrInstance" "NodeInstance": "jpegrAggrInstance"
} }
}, },
{
"SrcPort": {
"PortId": 5,
"NodeInstance": "WatermarkInstance0"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "YUV420_NV12"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 8,
"NodeInstance": "jpegrAggrInstance"
}
},
{ {
"SrcPort": { "SrcPort": {
"PortId": 1, "PortId": 1,
@@ -266,7 +266,7 @@ HAL_DATASPACE_V0_JFIF = 146931712, // ((STANDARD_BT601_625 | TRANSFER_SMPTE_170
"0": 1, // {Photographer_SIMPLE, "B2YRawUpPhotographer"}, "0": 1, // {Photographer_SIMPLE, "B2YRawUpPhotographer"},
"1": [5,3], // {Photographer_HDR, "HdrPhotographer"}, "1": [5,3], // {Photographer_HDR, "HdrPhotographer"},
"2": 4, // {Photographer_SR, "SrPhotographer"}, "2": 4, // {Photographer_SR, "SrPhotographer"},
"3": 4, // {Photographer_SN, "SupernightPhotographer"}, "3": 5, // {Photographer_SN, "SupernightPhotographer"},
"4": 0, // {Photographer_BURST, "BurstPhotographer"}, "4": 0, // {Photographer_BURST, "BurstPhotographer"},
"5": 5, // {Photographer_HDRSR, "SrHdrPhotographer"}, "5": 5, // {Photographer_HDRSR, "SrHdrPhotographer"},
"6": 3, // {Photographer_FUSION, "FusionPhotographer"}, "6": 3, // {Photographer_FUSION, "FusionPhotographer"},
@@ -279,7 +279,7 @@ HAL_DATASPACE_V0_JFIF = 146931712, // ((STANDARD_BT601_625 | TRANSFER_SMPTE_170
"13": [6,2], // {Photographer_BOKEH_SE, "SEBokehPhotographer"}, "13": [6,2], // {Photographer_BOKEH_SE, "SEBokehPhotographer"},
"14": [4,2], // {Photographer_BOKEH_MD_SN, "SEBokehPhotographer"}, "14": [4,2], // {Photographer_BOKEH_MD_SN, "SEBokehPhotographer"},
"15": 6, // {Photographer_BOKEH_MD_HDR, "HdrBokehPhotographer"}, "15": 6, // {Photographer_BOKEH_MD_HDR, "HdrBokehPhotographer"},
"16": [6,4], // {Photographer_BOKEH_MIHAL_MFNR, "MihalMfnrDualBokehPhotographer"}, "16": [8,4], // {Photographer_BOKEH_MIHAL_MFNR, "MihalMfnrDualBokehPhotographer"},
"17": 2, // {Photographer_BOKEH_VENDOR_MFNR, "VendorMfnrDualBokehPhotographer"}, "17": 2, // {Photographer_BOKEH_VENDOR_MFNR, "VendorMfnrDualBokehPhotographer"},
"18": 1, // {Photographer_SINGLE_BOKEH_MIHAL_MFNR, "MihalMFNRPhotographer"}, "18": 1, // {Photographer_SINGLE_BOKEH_MIHAL_MFNR, "MihalMFNRPhotographer"},
"19": 1, // {Photographer_SINGLE_BOKEH_VENDOR_MFNR, "SinglePhotographer"}, "19": 1, // {Photographer_SINGLE_BOKEH_VENDOR_MFNR, "SinglePhotographer"},
@@ -106,6 +106,10 @@
"NodeName": "com.xiaomi.plugin.hwjpeg", "NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance" "NodeInstance": "JpegInstance"
}, },
{
"NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance1"
},
{ {
"NodeName": "com.xiaomi.plugin.virtual", "NodeName": "com.xiaomi.plugin.virtual",
"NodeInstance": "virtualInstanceRawToGainmap", "NodeInstance": "virtualInstanceRawToGainmap",
@@ -155,6 +159,43 @@
"NodePropertyValue":128 "NodePropertyValue":128
} }
] ]
},
{
"NodeName": "com.xiaomi.plugin.virtual",
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"NodeProperty":[
{
"NodePropertyName":"NodeMask",
"NodePropertyValue":512
}
]
},
{
"NodeName": "com.xiaomi.plugin.gainmapPostProc",
"NodeInstance": "GainMapPostProcInstanceSharp",
"NodeProperty":[
{
"NodePropertyName":"NodeMask",
"NodePropertyValue":128,
"__comment__":"CUSTOMSIZE_MODE"
},
{
"NodePropertyName":"pluginMode",
"NodePropertyValue":1,
"__comment__":"disable watermark"
}
]
},
{
"NodeName": "com.xiaomi.plugin.jpegrAggr",
"NodeInstance": "jpegrAggrInstanceSharp",
"NodeProperty":[
{
"NodePropertyName":"pluginMode",
"NodePropertyValue":5,
"__comment__":"DISABLE_WARTERMARK|NO_DEBUG"
}
]
} }
] ]
}, },
@@ -320,6 +361,39 @@
"NodeInstance": "jpegrAggrInstance" "NodeInstance": "jpegrAggrInstance"
} }
}, },
{
"SrcPort": {
"PortId": 5,
"NodeInstance": "WatermarkInstance0"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "YUV420_NV12"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "jpegrAggrInstanceSharp"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "jpegrAggrInstanceSharp",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 8,
"NodeInstance": "jpegrAggrInstance"
}
},
{ {
"SrcPort": { "SrcPort": {
"PortId": 1, "PortId": 1,
@@ -427,6 +501,18 @@
"NodeInstance": "MovieEffectInstanceGainmap", "NodeInstance": "MovieEffectInstanceGainmap",
"PortFormat": "Y8" "PortFormat": "Y8"
}, },
"DstPort": {
"PortId": 0,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
},
"DstPort": { "DstPort": {
"PortId": 4, "PortId": 4,
"NodeInstance": "WatermarkInstance0", "NodeInstance": "WatermarkInstance0",
@@ -469,6 +555,30 @@
"ChildSrcNodePortId":0, "ChildSrcNodePortId":0,
"ChildSrcNode":"virtualInstanceSdk" "ChildSrcNode":"virtualInstanceSdk"
} }
},
{
"SrcPort": {
"PortId": 1,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "GainMapPostProcInstanceSharp",
"PortFormat": "Y8"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "GainMapPostProcInstanceSharp",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 2,
"NodeInstance": "jpegrAggrInstanceSharp",
"PortFormat": "BLOB"
}
} }
] ]
} }
@@ -334,6 +334,10 @@
"NodeName": "com.xiaomi.plugin.hwjpeg", "NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance" "NodeInstance": "JpegInstance"
}, },
{
"NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance1"
},
{ {
"NodeName": "com.xiaomi.plugin.mideflicker", "NodeName": "com.xiaomi.plugin.mideflicker",
"NodeInstance": "MiDeflickerInstance", "NodeInstance": "MiDeflickerInstance",
@@ -343,6 +347,43 @@
"NodePropertyValue":1 "NodePropertyValue":1
} }
] ]
},
{
"NodeName": "com.xiaomi.plugin.virtual",
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"NodeProperty":[
{
"NodePropertyName":"NodeMask",
"NodePropertyValue":512
}
]
},
{
"NodeName": "com.xiaomi.plugin.gainmapPostProc",
"NodeInstance": "GainMapPostProcInstanceSharp",
"NodeProperty":[
{
"NodePropertyName":"NodeMask",
"NodePropertyValue":128,
"__comment__":"CUSTOMSIZE_MODE"
},
{
"NodePropertyName":"pluginMode",
"NodePropertyValue":1,
"__comment__":"disable watermark"
}
]
},
{
"NodeName": "com.xiaomi.plugin.jpegrAggr",
"NodeInstance": "jpegrAggrInstanceSharp",
"NodeProperty":[
{
"NodePropertyName":"pluginMode",
"NodePropertyValue":5,
"__comment__":"DISABLE_WARTERMARK|NO_DEBUG"
}
]
} }
] ]
}, },
@@ -818,6 +859,50 @@
"NodeInstance": "HeifEditInstance" "NodeInstance": "HeifEditInstance"
} }
}, },
{
"SrcPort": {
"PortId": 5,
"NodeInstance": "WatermarkInstance0"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "YUV420_NV12"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "jpegrAggrInstanceSharp"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "jpegrAggrInstanceSharp",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 8,
"NodeInstance": "jpegrAggrInstance"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 8,
"NodeInstance": "HeifEditInstance"
}
},
{ {
"SrcPort": { "SrcPort": {
"PortId": 1, "PortId": 1,
@@ -1004,6 +1089,18 @@
"NodeInstance": "MovieEffectInstanceGainmap", "NodeInstance": "MovieEffectInstanceGainmap",
"PortFormat": "Y8" "PortFormat": "Y8"
}, },
"DstPort": {
"PortId": 0,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
},
"DstPort": { "DstPort": {
"PortId": 4, "PortId": 4,
"NodeInstance": "WatermarkInstance0", "NodeInstance": "WatermarkInstance0",
@@ -1058,6 +1155,30 @@
"ChildSrcNodePortId":0, "ChildSrcNodePortId":0,
"ChildSrcNode":"virtualInstanceSdk" "ChildSrcNode":"virtualInstanceSdk"
} }
},
{
"SrcPort": {
"PortId": 1,
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"PortFormat": "Y8"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "GainMapPostProcInstanceSharp",
"PortFormat": "Y8"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "GainMapPostProcInstanceSharp",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 2,
"NodeInstance": "jpegrAggrInstanceSharp",
"PortFormat": "BLOB"
}
} }
] ]
} }
@@ -175,6 +175,47 @@
{ {
"NodeName": "com.xiaomi.plugin.hwjpeg", "NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance" "NodeInstance": "JpegInstance"
},
{
"NodeName": "com.xiaomi.plugin.hwjpeg",
"NodeInstance": "JpegInstance1"
},
{
"NodeName": "com.xiaomi.plugin.virtual",
"NodeInstance": "virtualInstanceGainmapSplitForWatermark",
"NodeProperty":[
{
"NodePropertyName":"NodeMask",
"NodePropertyValue":512
}
]
},
{
"NodeName": "com.xiaomi.plugin.gainmapPostProc",
"NodeInstance": "GainMapPostProcInstanceSharp",
"NodeProperty":[
{
"NodePropertyName":"NodeMask",
"NodePropertyValue":128,
"__comment__":"CUSTOMSIZE_MODE"
},
{
"NodePropertyName":"pluginMode",
"NodePropertyValue":1,
"__comment__":"disable watermark"
}
]
},
{
"NodeName": "com.xiaomi.plugin.jpegrAggr",
"NodeInstance": "jpegrAggrInstanceSharp",
"NodeProperty":[
{
"NodePropertyName":"pluginMode",
"NodePropertyValue":5,
"__comment__":"DISABLE_WARTERMARK|NO_DEBUG"
}
]
} }
] ]
}, },
@@ -471,6 +512,50 @@
"NodeInstance": "HeifEditInstance" "NodeInstance": "HeifEditInstance"
} }
}, },
{
"SrcPort": {
"PortId": 5,
"NodeInstance": "WatermarkInstance0"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "YUV420_NV12"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 0,
"NodeInstance": "jpegrAggrInstanceSharp"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "jpegrAggrInstanceSharp",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 8,
"NodeInstance": "jpegrAggrInstance"
}
},
{
"SrcPort": {
"PortId": 0,
"NodeInstance": "JpegInstance1",
"PortFormat": "BLOB"
},
"DstPort": {
"PortId": 8,
"NodeInstance": "HeifEditInstance"
}
},
{ {
"SrcPort": { "SrcPort": {
"PortId": 1, "PortId": 1,
+2
View File
@@ -123,3 +123,5 @@ PRESENCE_CHECK_RETRY_COUNT=0
# 0x01, Remove mute techs from rf discover cmd # 0x01, Remove mute techs from rf discover cmd
MUTE_TECH_ROUTE_OPTION=0x01 MUTE_TECH_ROUTE_OPTION=0x01
######################################################################### #########################################################################
NFA_EE_ROUTE_DEBOUNCE_TIMER=0x00
+89 -212
View File
@@ -4,6 +4,7 @@
# Apr.21, 2022 - Merged from MW 13.03.00 by Jian # Apr.21, 2022 - Merged from MW 13.03.00 by Jian
# Mar.16, 2023 - SN220x MW 14.04.00 by Jian # Mar.16, 2023 - SN220x MW 14.04.00 by Jian
# July.12, 2024 - SN220x V5 MW 15.04.00 by Jian # July.12, 2024 - SN220x V5 MW 15.04.00 by Jian
# Apr.10, 2025 - Android16 bringup
############################################################################### ###############################################################################
# Application options # Application options
# Logging Levels # Logging Levels
@@ -35,12 +36,6 @@ ENABLE_VEN_TOGGLE=0x00
# Extension for Mifare reader enable # Extension for Mifare reader enable
MIFARE_READER_ENABLE=0x01 MIFARE_READER_ENABLE=0x01
###############################################################################
# Mifare Reader implementation
# 0: General implementation
# 1: Legacy implementation
LEGACY_MIFARE_READER=0
############################################################################### ###############################################################################
# File name for Firmware # File name for Firmware
NXP_FW_NAME="libsn220u_fw.so" NXP_FW_NAME="libsn220u_fw.so"
@@ -95,129 +90,48 @@ NXP_GUARD_TIMER_VALUE=0x0F
# UICC2 0x03 # UICC2 0x03
#NXP_DEFAULT_UICC2_SELECT=0x03 #NXP_DEFAULT_UICC2_SELECT=0x03
###############################################################################
# CE when Screen state is locked
# This setting is for DEFAULT_ROUTE,
# DEFAULT_DESFIRE_ROUTE and DEFAULT_MIFARE_CLT_ROUTE
# Disable 0x00
# Enable 0x01
NXP_CE_ROUTE_STRICT_DISABLE=0x01
###############################################################################
#SCR Read Tag Operation Timeout in secs
NXP_SWP_RD_TAG_OP_TIMEOUT=20
############################################################################### ###############################################################################
#Set the default AID route Location : #Set the default AID route Location :
#This settings will be used when application does not set this parameter #This settings will be used when application does not set this parameter
# host 0x00 # host 0x00
# eSE 0x01 # eSE 0xC0
# UICC 0x02 # UICC 0x80
# UICC2 0x03 # UICC2 0x81
# eUICC 0x05 DEFAULT_ROUTE=0xC0
# eUICC2 0x06
DEFAULT_ROUTE=0x01
############################################################################### ###############################################################################
#Set the ISODEP (Mifare Desfire) route Location : #Set the ISODEP (Mifare Desfire) route Location :
#This settings will be used when application does not set this parameter #This settings will be used when application does not set this parameter
# host 0x00 # host 0x00
# eSE 0x01 # eSE 0xC0
# UICC 0x02 # UICC 0x80
# UICC2 0x03 # UICC2 0x81
# eUICC 0x05 DEFAULT_ISODEP_ROUTE=0xC0
# eUICC2 0x06
DEFAULT_ISODEP_ROUTE=0x01
############################################################################### ###############################################################################
#Set the Mifare CLT route Location : #Set the Default Off Host route Location :
#This settings will be used when application does not set this parameter #This settings will be used when application does not set this parameter
# host 0x00 # host 0x00
# eSE 0x01 # eSE 0xC0
# UICC 0x02 # UICC 0x80
# UICC2 0x03 # UICC2 0x81
# eUICC 0x05 DEFAULT_OFFHOST_ROUTE=0xC0
# eUICC2 0x06
DEFAULT_MIFARE_CLT_ROUTE=0x01
############################################################################### ###############################################################################
#Set the Felica CLT route Location : #Set the Felica CLT route Location :
#This settings will be used when application does not set this parameter #This settings will be used when application does not set this parameter
# eSE 0x01 # eSE 0xC0
# UICC 0x02 # UICC 0x80
# UICC2 0x03 DEFAULT_NFCF_ROUTE=0xC0
DEFAULT_FELICA_CLT_ROUTE=0x01
###############################################################################
#Set the default AID Power state :
#This settings will be used when application does not set this parameter
# bit pos 0 = Switch On
# bit pos 1 = Switch Off
# bit pos 2 = Battery Off
# bit pos 3 = Screen off unlock
# bit pos 4 = Screen On lock
# bit pos 5 = Screen Off lock
DEFAULT_AID_PWR_STATE=0x3B
###############################################################################
#Set the Mifare Desfire Power state :
#This settings will be used when application does not set this parameter
# bit pos 0 = Switch On
# bit pos 1 = Switch Off
# bit pos 2 = Battery Off
# bit pos 3 = Screen off unlock
# bit pos 4 = Screen On lock
# bit pos 5 = Screen Off lock
DEFAULT_DESFIRE_PWR_STATE=0x3B
###############################################################################
#Set the Mifare CLT Power state :
#This settings will be used when application does not set this parameter
# bit pos 0 = Switch On
# bit pos 1 = Switch Off
# bit pos 2 = Battery Off
# bit pos 3 = Screen off unlock
# bit pos 4 = Screen On lock
# bit pos 5 = Screen Off lock
DEFAULT_MIFARE_CLT_PWR_STATE=0x3B
###############################################################################
#Set the Felica CLT Power state :
#This settings will be used when application does not set this parameter
# bit pos 0 = Switch On
# bit pos 1 = Switch Off
# bit pos 2 = Battery Off
# bit pos 3 = Screen off unlock
# bit pos 4 = Screen On lock
# bit pos 5 = Screen Off lock
DEFAULT_FELICA_CLT_PWR_STATE=0x3B
###############################################################################
#Set the T4TNfcee AID Power state :
#This settings will be used when application does not set this parameter
# bit pos 0 = Switch On
# bit pos 1 = Switch Off
# bit pos 2 = Battery Off
# bit pos 3 = Screen off unlock
# bit pos 4 = Screen On lock
# bit pos 5 = Screen Off lock
DEFAULT_T4TNFCEE_AID_POWER_STATE=0x3B
############################################################################### ###############################################################################
#Set the default Felica T3T System Code OffHost route Location : #Set the default Felica T3T System Code OffHost route Location :
#This settings will be used when application does not set this parameter #This settings will be used when application does not set this parameter
# host 0x00 # host 0x00
# eSE 0x01 # eSE 0xC0
# UICC 0x02 # UICC 0x80
# UICC2 0x03 # UICC2 0x81
DEFAULT_SYS_CODE_ROUTE=0x01 DEFAULT_SYS_CODE_ROUTE=0xC0
###############################################################################
# AID Matching platform options
# AID_MATCHING_L 0x01
# AID_MATCHING_K 0x02
#AID_MATCHING_PLATFORM=0x01
############################################################################### ###############################################################################
#CHINA_TIANJIN_RF_SETTING #CHINA_TIANJIN_RF_SETTING
@@ -246,13 +160,12 @@ NXP_FLASH_CONFIG=0x02
# Bail out mode # Bail out mode
# If set to 1, NFCC is using bail out mode for either Type A or Type B poll. # If set to 1, NFCC is using bail out mode for either Type A or Type B poll.
# Set this parameter value to 1 if Android Beam is enabled, else set to 0.
NFA_POLL_BAIL_OUT_MODE=0x01 NFA_POLL_BAIL_OUT_MODE=0x01
############################################################################### ###############################################################################
# White list of Hosts # Allow list of Hosts
# This values will be the Hosts(NFCEEs) in the HCI Network. # This values will be the Hosts(NFCEEs) in the HCI Network.
DEVICE_HOST_ALLOW_LIST={02,80,C0,C1,C2} DEVICE_HOST_ALLOW_LIST={02, 80, 81, C0}
############################################################################### ###############################################################################
# Choose the presence-check algorithm for type-4 tag. If not defined, the default value is 1. # Choose the presence-check algorithm for type-4 tag. If not defined, the default value is 1.
@@ -261,13 +174,6 @@ DEVICE_HOST_ALLOW_LIST={02,80,C0,C1,C2}
# 2 NFA_RW_PRES_CHK_ISO_DEP_NAK; Type - 4 tag protocol iso-dep nak presence check # 2 NFA_RW_PRES_CHK_ISO_DEP_NAK; Type - 4 tag protocol iso-dep nak presence check
# command is sent waiting for rsp and ntf. # command is sent waiting for rsp and ntf.
PRESENCE_CHECK_ALGORITHM=2 PRESENCE_CHECK_ALGORITHM=2
###############################################################################
# Options to Fallback to alternative route
# DH 0x01
# ESE 0x02
NXP_CHECK_DEFAULT_PROTO_SE_ID=0x01
############################################################################### ###############################################################################
# Vendor Specific Proprietary Protocol & Discovery Configuration # Vendor Specific Proprietary Protocol & Discovery Configuration
# Set to 0xFF if unsupported # Set to 0xFF if unsupported
@@ -280,6 +186,8 @@ NXP_CHECK_DEFAULT_PROTO_SE_ID=0x01
# byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO # byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO
# byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME # byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME
# byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME # byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME
# byte[9] CHINESE_TAG_ID
#NFA_PROPRIETARY_CFG={05, FF, FF, 06, 81, 80, 70, FF, FF, 8B}
NFA_PROPRIETARY_CFG={05, FF, FF, 06, 81, 80, FF, FF, FF} NFA_PROPRIETARY_CFG={05, FF, FF, 06, 81, 80, FF, FF, FF}
############################################################################### ###############################################################################
@@ -288,6 +196,7 @@ NFA_PROPRIETARY_CFG={05, FF, FF, 06, 81, 80, FF, FF, FF}
#Enable 0x01 #Enable 0x01
#Disable 0x00 #Disable 0x00
#NXP_CN_TRANSIT_BLK_NUM_CHECK_ENABLE=0x01 #NXP_CN_TRANSIT_BLK_NUM_CHECK_ENABLE=0x01
############################################################################### ###############################################################################
#NXP_MIFARE_MUTE_TO_RATS_ENABLE #NXP_MIFARE_MUTE_TO_RATS_ENABLE
#Enable/Disable Mute To RATS #Enable/Disable Mute To RATS
@@ -322,58 +231,27 @@ NFA_PROPRIETARY_CFG={05, FF, FF, 06, 81, 80, FF, FF, FF}
NXP_CORE_PROP_SYSTEM_DEBUG=0x0000 NXP_CORE_PROP_SYSTEM_DEBUG=0x0000
############################################################################### ###############################################################################
#Enable NXP NCI runtime parser library # Configure the NFC Extras to open and use a static pipe. If the value is
#Enable 0x01 # not set or set to 0, then the default is use a dynamic pipe based on a
#Disable 0x00 # destination gate (see NFA_HCI_DEFAULT_DEST_GATE). Note there is a value
NXP_NCI_PARSER_LIBRARY=0x00 # for each EE.
OFF_HOST_ESE_PIPE_ID=0x16
###############################################################################
# Timeout value in milliseconds for JCOP OS download to complete
OS_DOWNLOAD_TIMEOUT_VALUE=60000
###############################################################################
# Forcing HOST to listen for a selected protocol
# 0x00 : Disable Host Listen
# 0x01 : Enable Host to Listen (A) for ISO-DEP tech A
# 0x02 : Enable Host to Listen (B) for ISO-DEP tech B
# 0x04 : Enable Host to Listen (F) for T3T Tag Type Protocol tech F
# 0x07 : Enable Host to Listen (ABF)for ISO-DEP tech AB & T3T Tag Type Protocol tech F
HOST_LISTEN_TECH_MASK=0x07
###############################################################################
# Enable forward functionality
# Disable 0x00
# Enable 0x01 //Any positive value as per below bit configuration
# HOST power states when type A/B only UICC present
# bit pos 0 = Switch On
# bit pos 1 = Switch Off
# bit pos 2 = Battery Off
# bit pos 3 = Screen off unlock
# bit pos 4 = Screen On lock
# bit pos 5 = Screen Off lock
FORWARD_FUNCTIONALITY_ENABLE=0x01
############################################################################### ###############################################################################
# Configure the NFC Extras to open and use a static pipe. If the value is # Configure the NFC Extras to open and use a static pipe. If the value is
# not set or set to 0, then the default is use a dynamic pipe based on a # not set or set to 0, then the default is use a dynamic pipe based on a
# destination gate (see NFA_HCI_DEFAULT_DEST_GATE). Note there is a value # destination gate (see NFA_HCI_DEFAULT_DEST_GATE). Note there is a value
# for each EE (ESE/SIM1/SIM2/ESIM) # for each SIM1, SIM2 etc based on the number of SIM's supported.
OFF_HOST_ESE_PIPE_ID=0x16
OFF_HOST_SIM_PIPE_ID=0x0A OFF_HOST_SIM_PIPE_ID=0x0A
OFF_HOST_SIM2_PIPE_ID=0x23 OFF_HOST_SIM2_PIPE_ID=0x23
OFF_HOST_ESIM_PIPE_ID=0x2B
OFF_HOST_ESIM2_PIPE_ID=0x2F
############################################################################### ###############################################################################
#Set the Felica T3T System Code Power state : #Set the Felica T3T System Code Power state :
#This settings will be used when application does not set this parameter #This settings will be used when application does not set this parameter
#Update Power state as per NCI2.0 #Update Power state as per NCI2.0
#Note 0x00 set as per AndroidOne config value
DEFAULT_SYS_CODE_PWR_STATE=0x00 DEFAULT_SYS_CODE_PWR_STATE=0x00
###############################################################################
#Default Secure Element route id
DEFAULT_OFFHOST_ROUTE=0x02
############################################################################### ###############################################################################
#Maximum SMB transceive wait for response #Maximum SMB transceive wait for response
NXP_SMB_TRANSCEIVE_TIMEOUT=2000 NXP_SMB_TRANSCEIVE_TIMEOUT=2000
@@ -425,23 +303,21 @@ NXP_SET_CONFIG_ALWAYS=0x01
############################################################################### ###############################################################################
#OffHost ESE route location for MultiSE #OffHost ESE route location for MultiSE
#ESE = 01 #ESE = C0
OFFHOST_ROUTE_ESE={01} OFFHOST_ROUTE_ESE={C0}
############################################################################### ###############################################################################
#OffHost UICC route location for MultiSE #OffHost UICC route location for MultiSE
#UICC1 = 02 #UICC1 = 80
#UICC2 = 03 #UICC2 = 81
#EUICC = 05 OFFHOST_ROUTE_UICC={80:81}
#EUICC2 = 06
OFFHOST_ROUTE_UICC={02:03:05:06}
############################################################################### ###############################################################################
#T4T NFCEE ENABLE #To enable/disable T4T NDEF NFCEE feature
#bit pos 0 = T4T NFCEE Enable #bit pos 0 = T4T NFCEE Enable
#bit pos 6 = T4T NFCEE Contactless write enable #bit pos 6 = T4T NFCEE Contactless write enable
#bit pos 7 = Proprietary file enable #bit pos 7 = Proprietary file enable
NXP_T4T_NFCEE_ENABLE=0x01 T4T_NFCEE_ENABLE=0x00
############################################################################### ###############################################################################
#WLC mode #WLC mode
@@ -449,14 +325,6 @@ NXP_T4T_NFCEE_ENABLE=0x01
#0x01 = if WLC Application running in FW (autonomous mode) #0x01 = if WLC Application running in FW (autonomous mode)
NXP_WLC_MODE=0x01 NXP_WLC_MODE=0x01
###############################################################################
#CORE_SET_CONF_CMD to reset Prop Emvco Flag
NXP_PROP_RESET_EMVCO_CMD={20, 02, 05, 01, A0, 44, 01, 00}
###############################################################################
#Guard time in ms for the mPOS/SCR module to process the reader start/stop req
NXP_RDR_REQ_GUARD_TIME=0
############################################################################### ###############################################################################
#MW workaround to enable LPCD when EMVCO polling mode starts and disable #MW workaround to enable LPCD when EMVCO polling mode starts and disable
#while switching back to NFC Forum mode #while switching back to NFC Forum mode
@@ -474,29 +342,12 @@ NXP_RDR_DISABLE_ENABLE_LPCD=1
# 7 -> EMVCO Polling, DISC_IDLE = POWER_OFF, DISC DEACTIVATE = POWER_OFF # 7 -> EMVCO Polling, DISC_IDLE = POWER_OFF, DISC DEACTIVATE = POWER_OFF
NFA_CONFIG_FORMAT=1 NFA_CONFIG_FORMAT=1
################################################################################
# This will enable power state required for GSMA testing.
# When this is enabled , then default AID route power state is added with this power state
# If any aid with power state 0 is added, then this power state is used.
# bit pos 0 = Switch On
# bit pos 1 = Switch Off
# bit pos 2 = Battery Off
# bit pos 3 = Screen off unlock
# bit pos 4 = Screen On lock
# bit pos 5 = Screen Off lock
DEFUALT_GSMA_PWR_STATE=0x3B
################################################################################# #################################################################################
# Enable disconnect tag in screen off # Enable disconnect tag in screen off
# Disable 0x00 # Disable 0x00
# Enable 0x01 # Enable 0x01
NXP_DISCONNECT_TAG_IN_SCRN_OFF=0x01 NXP_DISCONNECT_TAG_IN_SCRN_OFF=0x01
#################################################################################
# Enable wait/delay if RF session is active.
# Disable 0x00
# Enable 0x01
NXP_CE_PRIORITY_ENABLED=0x00
################################################################################# #################################################################################
# Core configuration extensions # Core configuration extensions
# It includes # It includes
@@ -514,7 +365,7 @@ NXP_CE_PRIORITY_ENABLED=0x00
# SWP1A interface A0D4 # SWP1A interface A0D4
# DWP intf behavior config, SVDD Load activated by default if set to 0x31 A037 # DWP intf behavior config, SVDD Load activated by default if set to 0x31 A037
# Delay between EVT_END_OF_OPERATION and SE Deactivation set to 0x32(5ms) A113 # Delay between EVT_END_OF_OPERATION and SE Deactivation set to 0x32(5ms) A113
NXP_CORE_CONF_EXTN={ 20, 02, 51, 0F, NXP_CORE_CONF_EXTN={ 20, 02, 55, 10,
A0, EC, 01, 01, A0, EC, 01, 01,
A0, ED, 01, 01, A0, ED, 01, 01,
A0, 8E, 01, 01, A0, 8E, 01, 01,
@@ -528,8 +379,9 @@ NXP_CORE_CONF_EXTN={ 20, 02, 51, 0F,
A1, 1C, 01, 00, A1, 1C, 01, 00,
A1, 34, 01, 04, A1, 34, 01, 04,
A0, B8, 01, 00, A0, B8, 01, 00,
A0, 0A, 01, 20, A0, 0A, 01, 50,
A0, 80, 02, C2, 01 A0, 80, 02, C2, 01,
A1, 9F, 01, 01
} }
############################################################################### ###############################################################################
@@ -602,12 +454,6 @@ NXP_UICC_ETSI_SUPPORT=0
# Enable RF Restart for NFCEE recovery 1 # Enable RF Restart for NFCEE recovery 1
NXP_RESTART_RF_FOR_NFCEE_RECOVERY=1 NXP_RESTART_RF_FOR_NFCEE_RECOVERY=1
#################################################################################
# Enable or Disable the minimal FW recovery support.
# This logic will get enabled on early NFC hal boot.
# Disable NFCC RECOVERY support 0x00
# Enable NFCC RECOVERY support 0x01
NXP_NFCC_RECOVERY_SUPPORT=0x00
################################################################################# #################################################################################
# Secure Remote Digitization - Timeout of the FW tunneling in second # Secure Remote Digitization - Timeout of the FW tunneling in second
@@ -615,19 +461,6 @@ NXP_NFCC_RECOVERY_SUPPORT=0x00
# {2C, 01} 300s (5 min) max value # {2C, 01} 300s (5 min) max value
NXP_SRD_TIMEOUT={2C:01} NXP_SRD_TIMEOUT={2C:01}
#################################################################################
# Power data refresh duration in seconds.
# If this is configured, then power data will be refreshed from NFCC with
# configured duration.
# Power tracker feature will be disabled at run time if it is not configured
# or configured with value of zero.
#NXP_SYSTEM_POWER_TRACE_POLL_DURATION_SEC=30
#################################################################################
# Enable or Disable ULPDET support
# Enable 0x01
# Disable 0x00
#NXP_DEFAULT_ULPDET_MODE=0x01
###############################################################################
# Extended Field Detect Mode # Extended Field Detect Mode
# Enable with CMA Events 0x03 # Enable with CMA Events 0x03
# Enable without CMA events 0x01 # Enable without CMA events 0x01
@@ -636,9 +469,53 @@ NXP_SRD_TIMEOUT={2C:01}
# It will lead to mismatch of event's for profiles # It will lead to mismatch of event's for profiles
NXP_EXTENDED_FIELD_DETECT_MODE=0x03 NXP_EXTENDED_FIELD_DETECT_MODE=0x03
############################################################################### ###############################################################################
# Forcing HOST to listen for a selected protocol
# 0x00 : Disable Host Listen
# 0x01 : Enable Host to Listen (A) for ISO-DEP tech A
# 0x02 : Enable Host to Listen (B) for ISO-DEP tech B
# 0x04 : Enable Host to Listen (F) for T3T Tag Type Protocol tech F
# 0x07 : Enable Host to Listen (ABF)for ISO-DEP tech AB & T3T Tag Type Protocol tech F
HOST_LISTEN_TECH_MASK=0x07
###############################################################################
# Deactivate notification wait time out in seconds used in ETSI Reader mode
# 0 - Infinite wait
NXP_DM_DISC_NTF_TIMEOUT=0
###############################################################################
#SCR Read Tag Operation Timeout in secs
NXP_SWP_RD_TAG_OP_TIMEOUT=20
###############################################################################
#Guard time in ms for the mPOS/SCR module to process the reader start/stop req
NXP_RDR_REQ_GUARD_TIME=20
###############################################################################
#CORE_SET_CONF_CMD to reset Prop Emvco Flag
NXP_PROP_RESET_EMVCO_CMD={20, 02, 05, 01, A0, 44, 01, 00}
###############################################################################
# Auth cmd timeout in millisecond.
# The timeout value are multiplied by 10ms and can be changed individually.
# byte[0] START_AUTH_CMD timeout
# byte[1] TRANSCEIVE_CMD1 timeout
# byte[2] TRANSCEIVE_CMD2 timeout
# byte[3] default CMD timeout
NXP_AUTH_TIMEOUT_CFG={03, 0A , 64 , 03}
###############################################################################
# Power data refresh duration in seconds.
# If this is configured, then power data will be refreshed from NFCC with
# configured duration.
# Power tracker feature will be disabled at run time if it is not configured
# or configured with value of zero.
#NXP_SYSTEM_POWER_TRACE_POLL_DURATION_SEC=30
#################################################################################
#################################################################################
# Observe mode required notifications based on below type # Observe mode required notifications based on below type
# All events CMA + Modulation Events 0x00 # All events CMA + Modulation Events 0x00
# Only Modulation events 0x01 # Only Modulation events 0x01
# Only CMA Events 0x02 # Only CMA Events 0x02
NXP_OBSERVE_MODE_REQ_NOTIFICATION_TYPE=0x02 NXP_OBSERVE_MODE_REQ_NOTIFICATION_TYPE=0x02
############################################################################### #################################################################################
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.
@@ -5,6 +5,7 @@ libapuwarexrp_v2.mtk.so
libapuwareutils.mtk.so libapuwareutils.mtk.so
libapuwareutils_v2.mtk.so libapuwareutils_v2.mtk.so
libapuwarehmp.mtk.so libapuwarehmp.mtk.so
libapuwareaiste.mtk.so
libneuron_graph_delegate.mtk.so libneuron_graph_delegate.mtk.so
libneuronusdk_adapter.mtk.so libneuronusdk_adapter.mtk.so
libtflite_mtk.mtk.so libtflite_mtk.mtk.so
@@ -24,3 +25,14 @@ libmvpu_pattern_25_pub.mtk.so
libmvpuop25_mtk_cv.mtk.so libmvpuop25_mtk_cv.mtk.so
libmvpuop25_mtk_nn.mtk.so libmvpuop25_mtk_nn.mtk.so
libmvpu_config.mtk.so libmvpu_config.mtk.so
libmvpu_engine_30.mtk.so
libmvpu_pattern_30.mtk.so
libmvpu_cic_ci_compiler_30.mtk.so
libmvpu_runtime_30.mtk.so
libmvpu_clc_30_mvpu_debuginfo.mtk.so
libmvpu_clc_30_mvpu_elf.mtk.so
libmvpu_clc_30_mvpu_utility.mtk.so
libneuronservice_adapter.mtk.so
libneuron_sys_util.mtk.so
libmvpuop30_mtk_nn.mtk.so
libneuronusdk_adapter.9.mtk.so
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,4 @@
# MIUI ADD: Audio_DecoupledMtk
service audio_parameter_parser_service /system_ext/bin/hw/android.hardware.audio.parameter_parser.service service audio_parameter_parser_service /system_ext/bin/hw/android.hardware.audio.parameter_parser.service
class core class core
user audioserver user audioserver
@@ -5,3 +6,4 @@ service audio_parameter_parser_service /system_ext/bin/hw/android.hardware.audio
rlimit rtprio 10 10 rlimit rtprio 10 10
ioprio rt 4 ioprio rt 4
task_profiles ProcessCapacityHigh HighPerformance task_profiles ProcessCapacityHigh HighPerformance
# END Audio_DecoupledMtk
@@ -0,0 +1,15 @@
# VTService .rc configure
service vtservice /system_ext/bin/vtservice
class main
user system
group system camera graphics inet net_admin net_raw media sdcard_rw radio sdcard_r media_rw
capabilities NET_ADMIN NET_RAW
ioprio rt 4
disabled
on property:persist.vendor.vilte_support=1
start vtservice
on property:persist.vendor.viwifi_support=1
start vtservice
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that must exist on all GMS devices. -->
<config>
<allow-ignore-location-settings package="com.mediatek.ims" attributionTag="*" />
</config>
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.

Some files were not shown because too many files have changed in this diff Show More