2 Commits
Author SHA1 Message Date
probaero 0e63674b44 rosemary: Sync with DT 2026-12-02 13:32:39 +07:00
probaero de398d1042 rosemary: Sync with DT 2026-10-28 07:45:43 +00:00
57 changed files with 447 additions and 610 deletions

No files matched your search

+367 -556
View File
File diff suppressed because it is too large. Load diff
Binary file not shown.
@@ -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.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Vendored Executable
BIN
View File
Binary file not shown.
Binary file not shown.
@@ -1,7 +0,0 @@
service android-hardware-media-c2-hal-1-2 /vendor/bin/hw/android.hardware.media.c2@1.2-mediatek
class hal
user mediacodec
group camera drmrpc mediadrm media_rw sdcard_rw media system audio inet net_bt net_bt_admin net_bw_acct sdcard_r
ioprio rt 4
task_profiles ProcessCapacityHigh HighPerformance
+15
View File
@@ -0,0 +1,15 @@
#
## WFCA related services (Begin)
#
service wfca /vendor/bin/wfca
class core
socket wfca stream 660 root system
socket wfca_rds stream 660 root system
user root
group system log inet radio net_admin root wakelock
#
## WFCA related services (End)
#
+42
View File
@@ -0,0 +1,42 @@
on post-fs-data
exec rm -f /data/vendor/ipsec/wo
mkdir /data/vendor/ipsec 0770 system system
mkdir /data/vendor/ipsec/wo 0770 system system
mkdir /dev/vendor/net/ 0770 system system
chown system /data/vendor/ipsec/wo_apn.conf
chown system /data/vendor/ipsec/charon.ctl
chown system /data/vendor/ipsec/charon.pid
chown system /data/vendor/ipsec/starter.charon.pid
chmod 770 /data/vendor/ipsec/wo_apn.conf
chmod 770 /data/vendor/ipsec/charon.ctl
chmod 770 /data/vendor/ipsec/charon.pid
chmod 770 /data/vendor/ipsec/starter.charon.pid
on property:vendor.volte_md_status=ready && property:persist.vendor.mtk_wfc_support=1
start vendor.epdg_wod
on property:vendor.volte_md_status=reset
stop vendor.epdg_wod
on property:vendor.volte_md_status=stop
stop vendor.epdg_wod
on property:vendor.volte_md_status=flightmode
stop vendor.epdg_wod
on property:vendor.volte_md_status=exception
stop vendor.epdg_wod
# Trigger TRM when wod restart
on property:ro.vendor.md_apps.load_type=user && property:init.svc.vendor.epdg_wod=restarting
setprop vendor.ril.mux.report.case 2
setprop vendor.ril.muxreport 1
service vendor.epdg_wod /vendor/bin/epdg_wod
class late_start
socket wod_action stream 660 system system
socket wod_sim stream 660 system system
user system
group system shell log inet radio net_admin
capabilities NET_RAW NET_ADMIN WAKE_ALARM CHOWN KILL NET_BIND_SERVICE
disabled
-4
View File
@@ -1,4 +0,0 @@
service wlan_assistant /vendor/bin/wlan_assistant
class main
user wifi
group system gps inet
@@ -1,11 +0,0 @@
<manifest version="1.0" type="device">
<hal>
<name>android.hardware.media.c2</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IComponentStore</name>
<instance>default</instance>
</interface>
</hal>
</manifest>
Binary file not shown.
Binary file not shown.
BIN
View File
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.
+18 -32
View File
@@ -8,6 +8,7 @@ PRODUCT_SOONG_NAMESPACES += \
PRODUCT_COPY_FILES += \
vendor/xiaomi/rosemary/proprietary/system_ext/etc/init/init.vtservice.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/init.vtservice.rc \
vendor/xiaomi/rosemary/proprietary/system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/com.android.hotwordenrollment.common.util.xml \
vendor/xiaomi/rosemary/proprietary/system_ext/etc/sysconfig/com.mediatek.ims.config.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/sysconfig/com.mediatek.ims.config.xml \
vendor/xiaomi/rosemary/proprietary/vendor/etc/.tp/.ht120.mtc:$(TARGET_COPY_OUT_VENDOR)/etc/.tp/.ht120.mtc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/.tp/.thermal_policy_08:$(TARGET_COPY_OUT_VENDOR)/etc/.tp/.thermal_policy_08 \
vendor/xiaomi/rosemary/proprietary/vendor/etc/.tp/thermal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/.tp/thermal.conf \
@@ -191,7 +192,6 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/android.hardware.gnss-service.mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gnss-service.mediatek.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/android.hardware.graphics.allocator@4.0-service-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.graphics.allocator@4.0-service-mediatek.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/android.hardware.keymaster@4.1-service.beanpod.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.keymaster@4.1-service.beanpod.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/android.hardware.media.c2@1.2-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.media.c2@1.2-mediatek.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/camerahalserver.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/camerahalserver.rc \
@@ -213,8 +213,10 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/init.volte_stack.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.volte_stack.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/init.volte_ua.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.volte_ua.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/init.vtservice_hidl.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.vtservice_hidl.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/init.wfca.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wfca.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/init.wlan_drv.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlan_drv.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/init.wmt_drv.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wmt_drv.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/init.wod.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wod.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/init.xcap.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.xcap.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/ipsec_mon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/ipsec_mon.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/lbs_hidl_service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/lbs_hidl_service.rc \
@@ -234,7 +236,6 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/vendor.mediatek.hardware.pq@2.2-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.pq@2.2-service.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/vendor.microtrust.hardware.soter@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.microtrust.hardware.soter@1.0-service.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/vpud.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vpud.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/wlan_assistant.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/wlan_assistant.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/ipsec/ipsec.conf:$(TARGET_COPY_OUT_VENDOR)/etc/ipsec/ipsec.conf \
vendor/xiaomi/rosemary/proprietary/vendor/etc/ipsec/ipsec.d/cacerts/DigiCertGlobalRootCA.crt:$(TARGET_COPY_OUT_VENDOR)/etc/ipsec/ipsec.d/cacerts/DigiCertGlobalRootCA.crt \
vendor/xiaomi/rosemary/proprietary/vendor/etc/ipsec/ipsec.d/cacerts/DigiCertGlobalRootG2.crt:$(TARGET_COPY_OUT_VENDOR)/etc/ipsec/ipsec.d/cacerts/DigiCertGlobalRootG2.crt \
@@ -562,7 +563,6 @@ PRODUCT_PACKAGES += \
consumerir.mt6785 \
vendor.mediatek.hardware.nvram@1.1-impl \
libJpgEncPipe \
libaedv \
libapmonitor_vendor \
libapu_mdw \
libapusys \
@@ -583,7 +583,6 @@ PRODUCT_PACKAGES += \
libipsec_ims_shr \
libjpeg-alpha-oal_vendor \
libjpeg-alpha_vendor \
libladder \
libmsbc_mtk \
libmtcloader \
libmtkcutils \
@@ -605,6 +604,7 @@ PRODUCT_PACKAGES += \
libvpu \
libvpu5 \
libwapi \
libwo \
meta_wifi_data \
libmtk_drvb \
vendor.mediatek.hardware.apmonitor@2.0 \
@@ -1309,7 +1309,7 @@ PRODUCT_PACKAGES += \
libfeatureiodrv_mem \
libfft_vendor \
libforkexecwrap \
libformatter \
libformatter_mtk \
libgamehdr \
libged \
libgf_ca \
@@ -1346,7 +1346,7 @@ PRODUCT_PACKAGES += \
libmmagent \
libmml \
libmnetlink_v104 \
libmnl \
libmnl_mtk \
libmp3dec_mtk \
libmpbase \
libmsnr \
@@ -1468,7 +1468,6 @@ PRODUCT_PACKAGES += \
libvidhance \
libwa_dof \
libwa_rtdof \
libwifi-hal-mtk \
libwifitest \
libwpfa \
libwvhidl \
@@ -1517,7 +1516,6 @@ PRODUCT_PACKAGES += \
vendor.mediatek.hardware.engineermode@1.3 \
vendor.mediatek.hardware.keymaster_attestation@1.0 \
vendor.mediatek.hardware.keymaster_attestation@1.1 \
vendor.mediatek.hardware.lbs@1.0 \
vendor.mediatek.hardware.mmagent@1.0 \
vendor.mediatek.hardware.mmagent@1.1 \
vendor.mediatek.hardware.mms@1.0 \
@@ -1527,9 +1525,6 @@ PRODUCT_PACKAGES += \
vendor.mediatek.hardware.mms@1.4 \
vendor.mediatek.hardware.mms@1.5 \
vendor.mediatek.hardware.mms@1.6 \
vendor.mediatek.hardware.mtkradioex@2.0 \
vendor.mediatek.hardware.mtkradioex@3.0 \
vendor.mediatek.hardware.netdagent@1.0 \
vendor.mediatek.hardware.power@2.0 \
vendor.mediatek.hardware.pq@2.0 \
vendor.mediatek.hardware.pq@2.1 \
@@ -1550,39 +1545,36 @@ PRODUCT_PACKAGES += \
vendor.mediatek.hardware.videotelephony@1.0_vendor \
vendor.microtrust.hardware.soter@1.0 \
wechat.beanpod \
libmtk_vt_wrapper \
libvcodec_cap \
libvcodec_capenc \
vendor.mediatek.hardware.videotelephony-V1-ndk \
vendor.mediatek.hardware.videotelephony@1.0 \
libcomutils \
libimsma \
libimsma_adapt \
libimsma_rtp \
libimsma_socketwrapper \
libmtk_vt_service \
libmtk_vt_wrapper \
libsignal \
libsink-mtk \
libsource \
libvcodec_cap \
libvcodec_capenc \
libvt_avsync \
vendor.mediatek.hardware.videotelephony-V1-ndk \
vendor.mediatek.hardware.videotelephony@1.0 \
ImsService \
MtkGbaService \
HotwordEnrollmentOKGoogleCORTEXM4 \
HotwordEnrollmentXGoogleCORTEXM4 \
ImsService \
MtkGbaService \
MtkTelephonyAssist \
mediatek-ims-base \
mediatek-ims-common \
mediatek-ims-extension-plugin \
mediatek-telecom-common \
mediatek-telephony-base \
mediatek-telephony-common \
com.android.hotwordenrollment.common.util \
mediatek-ims-extension-plugin \
android.hardware.neuralnetworks@1.3-service-mtk-dsp-gpu.xml \
gnss-mtk.xml \
gnss@2.1-service-mtk.xml \
lbs_hidl_service@1.0.xml \
manifest_android.hardware.drm@1.4-service.widevine.xml \
manifest_hwcomposer.xml \
manifest_media_c2_V1_1_default.xml \
SoterProvisioningTool \
batterysecret \
bip \
@@ -1592,6 +1584,7 @@ PRODUCT_PACKAGES += \
ccci_rpcd \
charon \
consumerird \
epdg_wod \
fuelgauged \
fuelgauged_nvram \
gsm0710muxd \
@@ -1599,7 +1592,6 @@ PRODUCT_PACKAGES += \
android.hardware.gnss-service.mediatek \
android.hardware.graphics.allocator@4.0-service-mediatek \
android.hardware.keymaster@4.1-service.beanpod \
android.hardware.media.c2@1.2-mediatek-64b \
android.hardware.neuralnetworks@1.3-service-mtk-neuron \
android.hardware.secure_element@1.2-service-mediatek \
camerahalserver \
@@ -1626,7 +1618,6 @@ PRODUCT_PACKAGES += \
nv_routing \
nvram_daemon \
rt5512_calibration \
rttv \
starter \
stroke \
teei_daemon \
@@ -1639,14 +1630,13 @@ PRODUCT_PACKAGES += \
volte_stack \
volte_ua \
vpud \
wlan_assistant \
wfca \
wmt_launcher \
wmt_loader \
xcap \
vtservice
PRODUCT_PACKAGES += \
vendor_bin_hw_android_hardware_media_c2@1_2-mediatek \
vendor_lib_libmtk_drvb_so \
vendor_lib64_hw_vulkan_mt6785_so \
vendor_lib64_hw_gatekeeper_default_so \
@@ -1660,8 +1650,4 @@ PRODUCT_PACKAGES += \
PRODUCT_BOOT_JARS += \
mediatek-ims-base \
mediatek-ims-common \
mediatek-ims-extension-plugin \
mediatek-telecom-common \
mediatek-telephony-base \
mediatek-telephony-common
mediatek-telephony-base