peridot: Update from OS2.0.204.0.VNPMIXM

Change-Id: If415b02d35ebaac70f396a41bf42a248d44b56a9
This commit is contained in:
AdarshGrewal
2025-09-23 13:10:12 +05:30
parent c50677a47f
commit 8cd5068db5
1419 changed files with 13042 additions and 14951 deletions
@@ -1,6 +0,0 @@
service gnss_service /vendor/bin/hw/android.hardware.gnss-aidl-service-qti
interface aidl android.hardware.gnss.IGnss/default
interface aidl vendor.qti.gnss.ILocAidlGnss/default
class hal
user gps
group system gps radio vendor_qti_diag vendor_ssgtzd
+29 -2
View File
@@ -55,6 +55,10 @@ on early-init
write /proc/sys/kernel/firmware_config/force_sysfs_fallback 1
on init
start vendor-early_eth
start memory-boot
on post-fs
wait_for_prop vendor.all.modules.ready 1
@@ -88,14 +92,22 @@ on boot && property:ro.boot.ramdump=enable
chown root system /dev/block/sda33
chmod 0660 /dev/block/sda33
on boot && property:ro.boot.ramdump=enable && property:ro.build.product=chenfeng
on boot && property:ro.boot.ramdump=enable && property:ro.product.device=chenfeng
chown root system /dev/block/sda31
chmod 0660 /dev/block/sda31
on boot && property:ro.boot.ramdump=enable && property:ro.build.product=peridot
on boot && property:ro.boot.ramdump=enable && property:ro.product.device=peridot
chown root system /dev/block/sda31
chmod 0660 /dev/block/sda31
on boot && property:ro.boot.ramdump=enable && property:ro.product.device=amethyst
chown root system /dev/block/sda32
chmod 0660 /dev/block/sda32
on boot && property:ro.boot.ramdump=enable && property:ro.product.device=aurora
chown root system /dev/block/sda36
chmod 0660 /dev/block/sda36
on boot
# Allow access to dload sysfs node
chown root system /sys/kernel/dload/emmc_dload
@@ -177,6 +189,13 @@ service kernel-post-boot /vendor/bin/sh /vendor/bin/init.kernel.post_boot.sh
disabled
oneshot
service memory-boot /vendor/bin/sh /vendor/bin/init.kernel.post_boot-memory.sh
class core
user root
group root
disabled
oneshot
on property:sys.boot_completed=1
write /dev/kmsg "Boot completed "
#Reset read ahead for dm-0, dm-1 and dm-2 to 512kb
@@ -221,3 +240,11 @@ service load_dlkm /vendor/bin/load_dlkm
stdio_to_kmsg
seclabel u:r:vendor_modprobe:s0
oneshot
service vendor-early_eth /vendor/bin/sh /vendor/bin/early_eth.sh
user net_admin
group system inet net_admin
capabilities NET_ADMIN
disabled
oneshot
timeout_period 2
+2
View File
@@ -1,3 +1,5 @@
on post-fs-data
#sensors log dir
mkdir /data/vendor/ins 0764 gps system
#aon dum dir
mkdir /data/vendor/aon 0764 system system
+9 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# Copyright (c) 2024 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
@@ -33,8 +33,14 @@ on early-boot
chown system system /mnt/vendor/persist/sensors
chown system system /mnt/vendor/persist/sensors/sns.reg
chown system system /mnt/vendor/persist/sensors/sensors_list_new.txt
chmod 0644 /mnt/vendor/persist/sensors/sensors_list_new.txt
copy /mnt/vendor/persist/sensors/sensors_list_new.txt /mnt/vendor/persist/sensors/sensors_list.txt
chown system system /mnt/vendor/persist/sensors/sensors_list.txt
chmod 0644 /mnt/vendor/persist/sensors/sensors_list.txt
rm /mnt/vendor/persist/sensors/sensors_list_new.txt
chown system system /mnt/vendor/persist/sensors/sensors_list_bad.txt
chmod 0664 /mnt/vendor/persist/sensors/sensors_list_bad.txt
chown system system /mnt/vendor/persist/sensors/registry
chown system system /mnt/vendor/persist/sensors/registry/registry
chown system system /mnt/vendor/persist/sensors/registry/registry/sensors_registry
@@ -44,8 +50,10 @@ on early-boot
chown system system /mnt/vendor/persist/sensors/registry/config
chmod 0664 /mnt/vendor/persist/sensors/sensors_settings
chown system system /sys/kernel/boot_adsp/ssr
chmod 0777 /mnt/vendor/persist/sensors/acc_gyro_regdata.txt
on post-fs-data && property:ro.build.type=userdebug
#sensors log dir
mkdir /data/vendor/sensors 0777 system system
mkdir /data/vendor/sensors/scripts 0777 system system
mkdir /data/vendor/sensors/diag_cfg 0770 system system
+2
View File
@@ -42,3 +42,5 @@ on property:persist.vendor.radio.diag_log_trriger=sensor
on property:persist.vendor.radio.close_wenkong=yes
stop mi_thermald
on property:ro.vendor.oem.ctacode=*
setprop ro.ril.oem.ctacode ${ro.vendor.oem.ctacode}
@@ -1,38 +0,0 @@
# Copyright (c) 2023 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
service vendor.camera-provider /vendor/bin/hw/vendor.qti.camera.provider-service_64
interface aidl android.hardware.camera.provider.ICameraProvider/vendor_qti/0
interface aidl vendor.qti.hardware.camera.offlinecamera.IOfflineCameraService/default
interface aidl vendor.xiaomi.hardware.quickcamera.IQuickCameraService/default
interface aidl vendor.qti.hardware.camera.aon.IAONService/default
interface vendor.qti.hardware.camera.postproc@1.0::IPostProcService camerapostprocservice
interface vendor.qti.hardware.camera.aon@1.0::IAONService aoncameraservice
interface vendor.qti.hardware.camera.aon@1.1::IAONService aoncameraservice
interface vendor.qti.hardware.camera.aon@1.2::IAONService aoncameraservice
interface vendor.qti.hardware.camera.aon@1.3::IAONService aoncameraservice
interface vendor.qti.hardware.camera.aon@1.4::IAONService aoncameraservice
interface vendor.xiaomi.hardware.bgservice@1.0::IBGService default
interface aidl vendor.xiaomi.hardware.aon.IAlwaysOn/miaonservicehal
interface aidl vendor.xiaomi.hardware.aidlbgservice.IBGService/default
class hal
user cameraserver
group system audio camera input drmrpc oem_2907 oem_2912 wakelock
ioprio rt 4
capabilities SYS_NICE BLOCK_SUSPEND IPC_LOCK
task_profiles CameraServiceCapacity CameraServicePerformance CameraProcessProviderMemcg
# MIUI ADD : Performance_MemoryEnhance
writepid /sys/kernel/reserve_pool/pid
# END Performance_MemoryEnhance
on boot
chown cameraserver camera /sys/module/camera/parameters/cam_event_inject
chmod 0664 /sys/kernel/reserve_pool/config
chmod 0666 /sys/power/wake_lock
chmod 0666 /sys/power/wake_unlock
chmod u+xwr /data/vendor/camera
chown camera camera /data/vendor/camera/hook.db
chmod u+xwr /data/vendor/camera/hook.db
setprop persist.vendor.camera.firstBoot 1
setprop persist.vendor.camera.immunesystem.protection.switch true
@@ -150,6 +150,7 @@ on boot
chown system system /sys/bus/coresight/devices/coresight-swao-csr/timestamp
chmod 660 /sys/bus/coresight/devices/coresight-swao-csr/timestamp
write /sys/bus/coresight/devices/coresight-stm/traceid 0x10
setprop persist.logd.diag.newlocation 1
#avoid the fifo error
on early-boot && property:persist.logd.diag.bootup=* && property:persist.logd.diag.modemlog=*
@@ -25,4 +25,12 @@ on post-fs-data
chmod 0664 /sys/class/mi_display/disp-DSI-1/brightness_clone
chown system system /sys/class/mi_display/disp-DSI-1/max_brightness_clone
chmod 0664 /sys/class/mi_display/disp-DSI-1/max_brightness_clone
# display backlight sysfs node for ddsi and dp
chown system system /sys/class/backlight/panel2-backlight/brightness
chown system system /sys/class/backlight/panel2-backlight/max_brightness
chown system system /sys/class/backlight/panel3-backlight/brightness
chown system system /sys/class/backlight/panel3-backlight/max_brightness
chown system system /sys/class/backlight/DP1-backlight/brightness
chown system system /sys/class/backlight/DP1-backlight/max_brightness
chown system system /sys/class/backlight/DP2-backlight/brightness
chown system system /sys/class/backlight/DP2-backlight/max_brightness
@@ -3,4 +3,6 @@ service vendor-qti-media-c2-hal-1-0 /vendor/bin/hw/vendor.qti.media.c2@1.0-servi
user mediacodec
group mediadrm camera drmrpc system
ioprio rt 4
writepid /dev/cpuset/foreground/tasks
writepid /dev/cpuset/foreground/tasks
# write pid to file for VideoRecovery
writepid /data/vendor/video/videohalPid
+2 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# Copyright (c) 2019, 2024 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
@@ -37,4 +37,5 @@ service vendor.sensors.qti /vendor/bin/sensors.qti
service vendor-sensor-sh /vendor/bin/init.qcom.sensors.sh
class late_start
user root
group system
oneshot
@@ -21,6 +21,7 @@ on boot
on post-fs-data
chown system system /sys/class/drm/card0-DSI-1/mipi_reg
chmod 664 /sys/class/drm/card0-DSI-1/mipi_reg
chmod 0666 /sys/kernel/tracing/events/sde/tracing_mark_write/enable
service displayfeature /vendor/bin/displayfeature
class late_start
+3
View File
@@ -15,3 +15,6 @@ service vendor.vppservice /vendor/bin/vppservice
# start only when requested (uncomment below to disable service at boot)
# disabled
# write pid to file for VideoRecovery
writepid /data/vendor/video/vppservicePid