sm6375-common: Introduce a stub blair-post-boot script

This will be used to tune some parameters in the device. Only run
this script after proprietary kernel post-boot has run, so that
these changes are not overriden by the same.

Change-Id: Ibcef27a2813870c62d54c9d762eae9e03da677ad
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
This commit is contained in:
Vaisakh Murali 2024-07-21 12:56:42 +05:30 committed by Anand S
parent 58e6a56f51
commit bd8cf89c2f
No known key found for this signature in database
GPG key ID: 3B2983FA448B3D61
3 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#
# Copyright (C) 2023 StatiXOS
# SPDX-License-Identifier: Apache-2.0
#
# Custom tuning for Blair SoC

View file

@ -162,3 +162,13 @@ on property:init.svc.vendor.per_mgr=running
on property:sys.shutdown.requested=*
stop vendor.per_proxy
service blair-post-boot /vendor/bin/sh /vendor/bin/init.blair.post_boot.sh
class late_start
user root
group root system wakelock graphics
disabled
oneshot
on property:vendor.post_boot.parsed=1
start blair-post-boot

View file

@ -61,6 +61,9 @@
# IFAA
/(vendor|system/vendor)/bin/hw/vendor\.zui\.hardware\.ifaa@1\.0-service u:object_r:hal_ifaa_default_exec:s0
# Init
/vendor/bin/init.blair.post_boot.sh u:object_r:vendor_qti_init_shell_exec:s0
# Label read_ahead_kb in /data partition
/sys/devices/platform/soc/1d84000.ufshc/host0/target0:0:0/0:0:0:0/block/sda/queue/read_ahead_kb u:object_r:vendor_sysfs_scsi_host:s0