From df1e376e6fdb400e2b12a89a97560fcf644e52de Mon Sep 17 00:00:00 2001 From: theangelofdead01 <9635187+theangelofdead01@users.noreply.github.com> Date: Sun, 26 May 2024 07:51:21 +0000 Subject: [PATCH] stone: rootdir: Remove some data cache fix some string issues on dirty flash update ROM zips Signed-off-by: saikiran2001 Signed-off-by: aswin7469 Signed-off-by: Arijit78 --- rootdir/etc/init.qcom.rc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index f283a0e..7ba089d 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -30,20 +30,24 @@ import /vendor/etc/init/hw/init.target.rc import /vendor/etc/init/hw/init.xiaomi.rc on early-init - # create symlink for vendor mount points + #create symlink for vendor mount points symlink /vendor/firmware_mnt /firmware symlink /vendor/bt_firmware /bt_firmware symlink /vendor/dsp /dsp - # Change ownership of sysfs power control node + #Change ownership of sysfs power control node chown system graphics /sys/class/drm/card0/device/power/control + # Remove some data cache + rm /data/resource-cache + rm /data/system/package_cache + #Disable UFS clock scaling write /sys/bus/platform/devices/1d84000.ufshc/clkscale_enable 0 chown root system /dev/kmsg chmod 0620 /dev/kmsg - # Load WIGIG platform driver + #Load WIGIG platform driver exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules msm_11ad_proxy on init