From 12a4b9a0463ebfb3717908a148659cf9517b31b5 Mon Sep 17 00:00:00 2001 From: theangelofdead01 <9635187+theangelofdead01@users.noreply.github.com> Date: Sat, 27 Aug 2022 11:42:44 -0500 Subject: [PATCH] sdm710-common: init: 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: onettboots Signed-off-by: SageOfD6Path --- rootdir/etc/init.qcom.rc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index b434de5..662a8c1 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -30,6 +30,11 @@ import /vendor/etc/init/hw/init.msm.usb.configfs.rc import /vendor/etc/init/hw/init.target.rc on early-init + + # Remove some data cache + rm /data/resource-cache + rm /data/system/package_cache + mount debugfs debugfs /sys/kernel/debug chmod 0755 /sys/kernel/debug