From 43e7d375bc68f66183665fd7b4e540c24b242070 Mon Sep 17 00:00:00 2001 From: Simon1511 Date: Sun, 20 Feb 2022 14:07:14 +0100 Subject: [PATCH] a52q: Update rootdir to S Change-Id: I905744ccba604d3edd1b2b3dc674c4ed93c1a680 --- rootdir/etc/init.a52q.rc | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/rootdir/etc/init.a52q.rc b/rootdir/etc/init.a52q.rc index 53b3319..9ef789d 100644 --- a/rootdir/etc/init.a52q.rc +++ b/rootdir/etc/init.a52q.rc @@ -86,20 +86,29 @@ on boot chmod 0664 /dev/cpuset/moderate/tasks chmod 0664 /dev/cpuset/moderate/cpus +# Permissions for booster + chown root system /sys/class/kgsl/kgsl-3d0/min_pwrlevel + chown root system /sys/class/kgsl/kgsl-3d0/max_pwrlevel + chown root system /sys/class/kgsl/kgsl-3d0/gpu_available_frequencies + chown radio system /sys/power/cpufreq_min_limit + chown radio system /sys/power/cpufreq_max_limit + chown radio system /sys/power/cpufreq_table + chown root system /sys/class/devfreq/soc:qcom,cpu6-cpu-ddr-latfloor/min_freq + chown root system /sys/class/devfreq/soc:qcom,cpu6-cpu-ddr-latfloor/max_freq + chown root system /dev/cpuset/restricted/cpus + chmod 0664 /sys/class/kgsl/kgsl-3d0/min_pwrlevel + chmod 0664 /sys/class/kgsl/kgsl-3d0/max_pwrlevel + chmod 0664 /sys/class/kgsl/kgsl-3d0/gpu_available_frequencies + chmod 0664 /sys/power/cpufreq_min_limit + chmod 0664 /sys/power/cpufreq_max_limit + chmod 0444 /sys/power/cpufreq_table + chmod 0664 /dev/cpuset/restricted/cpus + chmod 0664 /sys/class/devfreq/soc:qcom,cpu6-cpu-ddr-latfloor/min_freq + write /dev/cpuset/restricted/cpus 0-7 + # SSWAP write /proc/sys/vm/swappiness 130 -# SQZR -on property:sys.boot_completed=1 - swapon_all /vendor/etc/fstab.sqzr - -on property:sys.sysctl.zram_balance_ratio=* - write /sys/module/zram/parameters/zram_balance_ratio ${sys.sysctl.zram_balance_ratio} - on post-fs-data # MST/NFC Switch chmod 0660 /dev/mst_ctrl - -# SSU (Samsung SIM Unlock) -on property:ro.boot.carrierid=MXO - setprop ssu.support 1