2 Commits
Author SHA1 Message Date
xyzuniverse cc97d6e55b rodin: Sync with DT changes
Change-Id: I73430a27abaaec179b42ef594daaaa7c8e2d160b
Signed-off-by: Ido <dev.xyzuniverse@gmail.com>
2026-09-24 15:42:07 +02:00
xyzuniverse 33353fc448 rodin: Sync with tree changes
* 52673ea rodin: Switch to source-built chipinfo init
* 5d8528e rodin: Switch back to prebuilt C2
* fa40e0c rodin: Fixup mnld
* e35bf22 rodin: Re-configure prebuilt keymint stack
* cdeb721 rodin: Import prebuilt frameworks displayservice
* 1f9cf66 rodin: Drop unused prebuilt speaker calibration

Change-Id: I1b441c13bdb2a727d82e941ada11e40f4d1cac84
Signed-off-by: Ido <dev.xyzuniverse@gmail.com>
2026-09-20 22:23:35 +02:00
42 changed files with 615 additions and 452 deletions

No files matched your search

+515 -395
View File
File diff suppressed because it is too large. Load diff
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
View File
@@ -1,31 +0,0 @@
#!/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
BIN
View File
Binary file not shown.
+52
View File
@@ -0,0 +1,52 @@
# Dolby Vision Display Management Configuration File
# Path : ./vendor/etc/dolby_vision.cfg
# Date : 09/03/2024
# Display : OLED 6.7 inch 1220x2712
# Brand Model Number: Xiaomi O10 rodin 2412DRT0AC
#Configuration Start
[Display]
ID = 0
Width = 1220
Height = 2712
[Global]
ReferenceDarkPicModeIndex = 2
IDK_Version = SW_4.5.2
DMSwVersion = 4.0
DeviceModelName = NULL
DefaultOutputFormat = YUV
Tmax = 1250
Tmin = 0.0001
TPrimaries = 0.68 0.32 0.265 0.69 0.15 0.06 0.3127 0.329
TEOTF = POWER
Tgamma = 2.3
BLUPwm = 83 131 175 216 255
BLULight = 295.2 477.8 686.2 944.5 1250
BLULightMin = 0.0001 0.0001 0.0001 0.0001 0.0001
Ambient = 3
TSurroundReflection = 0.5
TScreenReflection = 0.0005
ALDelayMilliSec = 50
ALResponseFall = 0.04
ALResponseRise = 0.2
ALOperationalRate = 50
TFrontLux = 1000
TFrontLuxScale = 1
[PictureMode = 0]
PictureModeName = Dolby Vision Bright
DBrightness = 0.3
[PictureMode = 1]
PictureModeName = Dolby Vision Vivid
DBrightness = 0.3
[PictureMode = 2]
PictureModeName = Dolby Vision Dark
SupportsDM3 = 1
Ambient = 0
#Configuration End
-7
View File
@@ -1,7 +0,0 @@
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}
@@ -0,0 +1,6 @@
service vendor.dolby.media.c2-service-vision /vendor/bin/hw/vendor.dolby.media.c2-service-vision
class hal
user mediacodec
group camera mediadrm drmrpc
ioprio rt 4
writepid /dev/cpuset/foreground/tasks
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<permissions>
<feature name="com.mediatek.hardware.vow.gva.tflite"/>
</permissions>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<permissions>
<feature name="com.mediatek.hardware.vow.2e2k"/>
</permissions>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<permissions>
<feature name="com.mediatek.hardware.vow_dsp.riscv"/>
</permissions>
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.
+27 -19
View File
@@ -495,6 +495,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/rodin/proprietary/vendor/etc/dolby/dax-default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-default.xml \
vendor/xiaomi/rodin/proprietary/vendor/etc/dolby/dax-fs19xx-spatializer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-fs19xx-spatializer.xml \
vendor/xiaomi/rodin/proprietary/vendor/etc/dolby/dax-fs19xx.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-fs19xx.xml \
vendor/xiaomi/rodin/proprietary/vendor/etc/dolby_vision.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/dolby_vision.cfg \
vendor/xiaomi/rodin/proprietary/vendor/etc/ecc_list.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list.xml \
vendor/xiaomi/rodin/proprietary/vendor/etc/ecc_list_preference.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list_preference.xml \
vendor/xiaomi/rodin/proprietary/vendor/etc/elliptic_sensor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/elliptic_sensor.xml \
@@ -534,7 +535,6 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/rodin/proprietary/vendor/etc/init/android.hardware.tetheroffload-V1-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.tetheroffload-V1-service.rc \
vendor/xiaomi/rodin/proprietary/vendor/etc/init/arm.mali.platform-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/arm.mali.platform-mediatek.rc \
vendor/xiaomi/rodin/proprietary/vendor/etc/init/camerahalserver.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/camerahalserver.rc \
vendor/xiaomi/rodin/proprietary/vendor/etc/init/chipinfo_init.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/chipinfo_init.rc \
vendor/xiaomi/rodin/proprietary/vendor/etc/init/dms-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/dms-service.rc \
vendor/xiaomi/rodin/proprietary/vendor/etc/init/fuelgauged_init.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/fuelgauged_init.rc \
vendor/xiaomi/rodin/proprietary/vendor/etc/init/fuelgauged_nvram_init.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/fuelgauged_nvram_init.rc \
@@ -559,6 +559,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/rodin/proprietary/vendor/etc/init/tee-supplicant.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/tee-supplicant.rc \
vendor/xiaomi/rodin/proprietary/vendor/etc/init/touch_boost.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/touch_boost.rc \
vendor/xiaomi/rodin/proprietary/vendor/etc/init/vendor.dolby.media.c2-default-service-dax.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.dolby.media.c2-default-service-dax.rc \
vendor/xiaomi/rodin/proprietary/vendor/etc/init/vendor.dolby.media.c2-service-vision.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.dolby.media.c2-service-vision.rc \
vendor/xiaomi/rodin/proprietary/vendor/etc/init/vendor.mediatek.hardware.mmagent-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.mmagent-service.rc \
vendor/xiaomi/rodin/proprietary/vendor/etc/init/vendor.mediatek.hardware.mmlpq@V1-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.mmlpq@V1-service.rc \
vendor/xiaomi/rodin/proprietary/vendor/etc/init/vendor.mediatek.hardware.mms-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.mms-service.rc \
@@ -660,6 +661,9 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/rodin/proprietary/vendor/etc/nnapi_powerhal.json:$(TARGET_COPY_OUT_VENDOR)/etc/nnapi_powerhal.json \
vendor/xiaomi/rodin/proprietary/vendor/etc/permissions/android.hardware.identity_credential.mitee.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.identity_credential.mitee.xml \
vendor/xiaomi/rodin/proprietary/vendor/etc/permissions/camera_extensions.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/camera_extensions.xml \
vendor/xiaomi/rodin/proprietary/vendor/etc/permissions/com.mediatek.hardware.vow.gva.tflite.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.mediatek.hardware.vow.gva.tflite.xml \
vendor/xiaomi/rodin/proprietary/vendor/etc/permissions/com.mediatek.hardware.vow.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.mediatek.hardware.vow.xml \
vendor/xiaomi/rodin/proprietary/vendor/etc/permissions/com.mediatek.hardware.vow_dsp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.mediatek.hardware.vow_dsp.xml \
vendor/xiaomi/rodin/proprietary/vendor/etc/pq_flag.xml:$(TARGET_COPY_OUT_VENDOR)/etc/pq_flag.xml \
vendor/xiaomi/rodin/proprietary/vendor/etc/sensor_diag.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/sensor_diag.cfg \
vendor/xiaomi/rodin/proprietary/vendor/etc/slp_conf:$(TARGET_COPY_OUT_VENDOR)/etc/slp_conf \
@@ -808,9 +812,14 @@ PRODUCT_PACKAGES += \
av-audio-types-aidl-V3-ndk \
APUWareApusysAidlServer \
APUWareUtilsAidlServer \
android.frameworks.displayservice@1.0 \
android.hardware.audio.core-impl-mediatek \
android.hardware.bluetooth.audio-impl-mediatek \
android.hardware.security.keymint-V3-ndk-v35 \
c2.dolby.client \
c2.dolby.hevc.dec \
c2.dolby.hevc.sec.dec \
c2.dolby.store \
com.xiaomi.camdfx \
com.xiaomi.immunesystem.bigdata \
com.xiaomi.immunesystem.bigdata2 \
@@ -967,6 +976,7 @@ PRODUCT_PACKAGES += \
libcom.xiaomi.signaltrigger \
libcomposer_ext \
libconnfem \
libcppcose_rkp_prebuilt \
libcustom_nvram \
libcvsd_mtk \
libdapparamstorage \
@@ -977,6 +987,9 @@ PRODUCT_PACKAGES += \
libdlbdsservice \
libdlbpreg \
libdmshal \
libdolbydecoderprocessor \
libdolbyeglcore \
libdolbyottcameracontrol \
libecoengine \
libfeature.hdr10 \
libfeaturepolicy \
@@ -1012,6 +1025,8 @@ PRODUCT_PACKAGES += \
libjpeg-alpha_vendor \
libjpegdecoder_rodin \
libjpegencoder_rodin \
libkeymint_V3 \
libkeymint_remote_prov_support_V3 \
libladder \
libmbrainSDKv \
libmcve \
@@ -1409,7 +1424,7 @@ PRODUCT_PACKAGES += \
libmmagent \
libmml \
libmmlpqImpl \
libmnl \
libmnld \
libmtk_mali_utils \
libmtkcam.atmseventmgr \
libmtkcam.debugwrapper \
@@ -1896,14 +1911,14 @@ PRODUCT_PACKAGES += \
JVFactoryTest \
goodix_sz_rodin \
camerax-vendor-extensions \
androidx.camera.extensions.impl \
com.android.hotwordenrollment.common.util \
mediatek-ims-base \
mediatek-ims-common \
mediatek-ims-extension-plugin \
mediatek-telecom-common \
mediatek-telephony-base \
mediatek-telephony-common \
androidx.camera.extensions.impl \
com.android.hotwordenrollment.common.util \
mediatek-ims-extension-plugin \
CommandService.xml \
android.hardware.audio.effect.service-aidl.xml \
android.hardware.audio.service-aidl.mediatek.xml \
@@ -1946,7 +1961,6 @@ PRODUCT_PACKAGES += \
cameratest \
ccci_mdinit \
ccci_rpcd \
chipinfo \
conninfra_loader \
displayfeature \
fuelgauged \
@@ -1966,6 +1980,7 @@ PRODUCT_PACKAGES += \
tetheroffloadservice \
vendor.dolby.dms.service \
vendor.dolby.media.c2-default-service-dax \
vendor.dolby.media.c2-service-vision \
vendor.mediatek.hardware.gnss-service \
vendor.mediatek.hardware.gpuserv-service \
vendor.mediatek.hardware.mmagent-service \
@@ -1993,14 +2008,7 @@ PRODUCT_PACKAGES += \
wmt_launcher \
wmt_loader \
android.hardware.audio.parameter_parser.service \
spkcal \
spkcal_88263s \
spkcal_88263s_m16 \
spkcal_88263s_m9 \
spkcal_88263s_n12 \
spkcal_88263s_n12a \
spkcal_88263s_o10 \
spkcal_tfa \
vtservice \
fidoca_mitee \
vendor.xiaomi.hw.touchfeature-service \
@@ -2297,7 +2305,7 @@ PRODUCT_PACKAGES += \
vendor_lib64_libmmagent_so \
vendor_lib64_libmml_so \
vendor_lib64_libmmlpqImpl_so \
vendor_lib64_libmnl_so \
vendor_lib64_libmnld_so \
vendor_lib64_libmtk_mali_utils_so \
vendor_lib64_libmtkcam_atmseventmgr_so \
vendor_lib64_libmtkcam_debugwrapper_so \
@@ -2472,8 +2480,8 @@ PRODUCT_PACKAGES += \
PRODUCT_BOOT_JARS += \
camerax-vendor-extensions \
mediatek-ims-base \
mediatek-ims-common \
mediatek-telecom-common \
mediatek-telephony-base \
mediatek-telephony-common
system_ext:mediatek-ims-base \
system_ext:mediatek-ims-common \
system_ext:mediatek-telecom-common \
system_ext:mediatek-telephony-base \
system_ext:mediatek-telephony-common