stone: rootdir: Remove some data cache

fix some string issues on dirty flash update ROM zips

Signed-off-by: saikiran2001 <bjsaikiran@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
This commit is contained in:
theangelofdead01
2024-05-26 07:51:21 +00:00
committed by Arijit78
parent c831a2fcb4
commit df1e376e6f

View File

@@ -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