Compare commits
3
Commits
16.2
..
b1e1c098c6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1e1c098c6 | ||
|
|
a61b6fd7ac | ||
|
|
4c7d15345f |
No files matched your search
+54
-11
@@ -2186,6 +2186,36 @@ cc_prebuilt_library_shared {
|
|||||||
soc_specific: true,
|
soc_specific: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_library_shared {
|
||||||
|
name: "audio.r_submix.mt6785",
|
||||||
|
owner: "xiaomi",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
target: {
|
||||||
|
android_arm: {
|
||||||
|
srcs: [
|
||||||
|
"proprietary/vendor/lib/hw/audio.r_submix.mt6785.so",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"liblog",
|
||||||
|
"libcutils",
|
||||||
|
"libmedia_helper",
|
||||||
|
"libutils",
|
||||||
|
"libnbaio_mono",
|
||||||
|
"libc++",
|
||||||
|
"libc",
|
||||||
|
"libm",
|
||||||
|
"libdl",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "32",
|
||||||
|
relative_install_path: "hw",
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
cc_prebuilt_library_shared {
|
cc_prebuilt_library_shared {
|
||||||
name: "sound_trigger.primary.default",
|
name: "sound_trigger.primary.default",
|
||||||
owner: "xiaomi",
|
owner: "xiaomi",
|
||||||
@@ -29056,17 +29086,6 @@ android_app_import {
|
|||||||
privileged: true,
|
privileged: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
android_app_import {
|
|
||||||
name: "MtkGbaService",
|
|
||||||
owner: "xiaomi",
|
|
||||||
apk: "proprietary/system/priv-app/MtkGbaService/MtkGbaService.apk",
|
|
||||||
certificate: "platform",
|
|
||||||
dex_preopt: {
|
|
||||||
enabled: false,
|
|
||||||
},
|
|
||||||
privileged: true,
|
|
||||||
}
|
|
||||||
|
|
||||||
android_app_import {
|
android_app_import {
|
||||||
name: "HotwordEnrollmentOKGoogleCORTEXM4",
|
name: "HotwordEnrollmentOKGoogleCORTEXM4",
|
||||||
owner: "xiaomi",
|
owner: "xiaomi",
|
||||||
@@ -29091,6 +29110,22 @@ android_app_import {
|
|||||||
product_specific: true,
|
product_specific: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dex_import {
|
||||||
|
name: "mediatek-common",
|
||||||
|
owner: "xiaomi",
|
||||||
|
jars: [
|
||||||
|
"proprietary/system/framework/mediatek-common.jar",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
|
dex_import {
|
||||||
|
name: "mediatek-framework",
|
||||||
|
owner: "xiaomi",
|
||||||
|
jars: [
|
||||||
|
"proprietary/system/framework/mediatek-framework.jar",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
dex_import {
|
dex_import {
|
||||||
name: "mediatek-ims-base",
|
name: "mediatek-ims-base",
|
||||||
owner: "xiaomi",
|
owner: "xiaomi",
|
||||||
@@ -29436,6 +29471,14 @@ cc_prebuilt_binary {
|
|||||||
soc_specific: true,
|
soc_specific: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sh_binary {
|
||||||
|
name: "chipinfo",
|
||||||
|
owner: "xiaomi",
|
||||||
|
src: "proprietary/vendor/bin/chipinfo",
|
||||||
|
filename: "chipinfo",
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
cc_prebuilt_binary {
|
cc_prebuilt_binary {
|
||||||
name: "consumerird",
|
name: "consumerird",
|
||||||
owner: "xiaomi",
|
owner: "xiaomi",
|
||||||
|
|||||||
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.
+31
@@ -0,0 +1,31 @@
|
|||||||
|
#!/vendor/bin/sh
|
||||||
|
|
||||||
|
default_fact_prop=$(getprop ro.soc.manufacturer)
|
||||||
|
|
||||||
|
if [ "$default_fact_prop" == "" ]; then
|
||||||
|
fact_val=$(cat /sys/devices/soc0/family)
|
||||||
|
/vendor/bin/setprop ro.vendor.soc.manufacturer ${fact_val}
|
||||||
|
fi
|
||||||
|
|
||||||
|
default_soc_prop=$(getprop ro.soc.model)
|
||||||
|
|
||||||
|
if [ "$default_soc_prop" == "" ]; then
|
||||||
|
soc_val=$(cat /sys/devices/soc0/soc_id)
|
||||||
|
/vendor/bin/setprop ro.vendor.soc.model ${soc_val}
|
||||||
|
else
|
||||||
|
soc_val="$default_soc_prop"
|
||||||
|
fi
|
||||||
|
|
||||||
|
soc_ext_val=$(cat /proc/device-tree/model-external-name 2>/dev/null)
|
||||||
|
if [ -z "$soc_ext_val" ]; then
|
||||||
|
soc_ext_val=${soc_val}
|
||||||
|
fi
|
||||||
|
/vendor/bin/setprop ro.vendor.soc.model.external_name ${soc_ext_val}
|
||||||
|
|
||||||
|
soc_part_val=$(cat /proc/device-tree/model-part-name 2>/dev/null)
|
||||||
|
if [ -z "$soc_part_val" ]; then
|
||||||
|
soc_part_val=${soc_val}
|
||||||
|
fi
|
||||||
|
/vendor/bin/setprop ro.vendor.soc.model.part_name ${soc_part_val}
|
||||||
|
|
||||||
|
/vendor/bin/setprop ro.vendor.soc.model_ready 1
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
on early-init
|
||||||
|
exec_background - system system -- /vendor/bin/chipinfo
|
||||||
|
|
||||||
|
on post-fs-data
|
||||||
|
wait_for_prop ro.vendor.soc.model_ready 1
|
||||||
|
setprop ro.soc.model ${ro.vendor.soc.model}
|
||||||
|
setprop ro.soc.manufacturer ${ro.vendor.soc.manufacturer}
|
||||||
Binary file not shown.
+5
-9
@@ -195,6 +195,7 @@ PRODUCT_COPY_FILES += \
|
|||||||
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/android.hardware.neuralnetworks@1.3-service-mtk-neuron.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.neuralnetworks@1.3-service-mtk-neuron.rc \
|
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/android.hardware.neuralnetworks@1.3-service-mtk-neuron.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.neuralnetworks@1.3-service-mtk-neuron.rc \
|
||||||
vendor/xiaomi/rosemary/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/rosemary/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/rosemary/proprietary/vendor/etc/init/camerahalserver.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/camerahalserver.rc \
|
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/camerahalserver.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/camerahalserver.rc \
|
||||||
|
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/chipinfo_init.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/chipinfo_init.rc \
|
||||||
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/fuelgauged_init.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/fuelgauged_init.rc \
|
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/fuelgauged_init.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/fuelgauged_init.rc \
|
||||||
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/fuelgauged_nvram_init.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/fuelgauged_nvram_init.rc \
|
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/fuelgauged_nvram_init.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/fuelgauged_nvram_init.rc \
|
||||||
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/gsm0710muxd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/gsm0710muxd.rc \
|
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/gsm0710muxd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/gsm0710muxd.rc \
|
||||||
@@ -612,6 +613,7 @@ PRODUCT_PACKAGES += \
|
|||||||
vendor.mediatek.hardware.nvram@1.0 \
|
vendor.mediatek.hardware.nvram@1.0 \
|
||||||
vendor.mediatek.hardware.nvram@1.1 \
|
vendor.mediatek.hardware.nvram@1.1 \
|
||||||
audio.primary.mt6785 \
|
audio.primary.mt6785 \
|
||||||
|
audio.r_submix.mt6785 \
|
||||||
sound_trigger.primary.default \
|
sound_trigger.primary.default \
|
||||||
libHEVCdec_sa.ca7.android \
|
libHEVCdec_sa.ca7.android \
|
||||||
libMtkSpeechEnh \
|
libMtkSpeechEnh \
|
||||||
@@ -1566,9 +1568,10 @@ PRODUCT_PACKAGES += \
|
|||||||
vendor.mediatek.hardware.videotelephony-V1-ndk \
|
vendor.mediatek.hardware.videotelephony-V1-ndk \
|
||||||
vendor.mediatek.hardware.videotelephony@1.0 \
|
vendor.mediatek.hardware.videotelephony@1.0 \
|
||||||
ImsService \
|
ImsService \
|
||||||
MtkGbaService \
|
|
||||||
HotwordEnrollmentOKGoogleCORTEXM4 \
|
HotwordEnrollmentOKGoogleCORTEXM4 \
|
||||||
HotwordEnrollmentXGoogleCORTEXM4 \
|
HotwordEnrollmentXGoogleCORTEXM4 \
|
||||||
|
mediatek-common \
|
||||||
|
mediatek-framework \
|
||||||
mediatek-ims-base \
|
mediatek-ims-base \
|
||||||
mediatek-ims-common \
|
mediatek-ims-common \
|
||||||
mediatek-ims-extension-plugin \
|
mediatek-ims-extension-plugin \
|
||||||
@@ -1591,6 +1594,7 @@ PRODUCT_PACKAGES += \
|
|||||||
ccci_mdinit \
|
ccci_mdinit \
|
||||||
ccci_rpcd \
|
ccci_rpcd \
|
||||||
charon \
|
charon \
|
||||||
|
chipinfo \
|
||||||
consumerird \
|
consumerird \
|
||||||
fuelgauged \
|
fuelgauged \
|
||||||
fuelgauged_nvram \
|
fuelgauged_nvram \
|
||||||
@@ -1657,11 +1661,3 @@ PRODUCT_PACKAGES += \
|
|||||||
vendor_lib64_libneuron_runtime_so \
|
vendor_lib64_libneuron_runtime_so \
|
||||||
vendor_lib64_libnir_neon_driver_so \
|
vendor_lib64_libnir_neon_driver_so \
|
||||||
vendor_lib64_libpq_prot_so
|
vendor_lib64_libpq_prot_so
|
||||||
|
|
||||||
PRODUCT_BOOT_JARS += \
|
|
||||||
mediatek-ims-base \
|
|
||||||
mediatek-ims-common \
|
|
||||||
mediatek-ims-extension-plugin \
|
|
||||||
mediatek-telecom-common \
|
|
||||||
mediatek-telephony-base \
|
|
||||||
mediatek-telephony-common
|
|
||||||
Reference in new issue
Block a user