Files
agnos-builder/userspace/root/usr/comma/init.qcom.sh
T
Adeeb Shihadeh 30c393bf2c simple qcom init (#569)
* start merging the qcom init

* remove duplicate adsp crap

* ipa

* rm chgrp-diag

* remove ab_mount.sh

* rm wlan_daemon

* rm more unused

* usb cleanup

* rm sfsconifg

* rm more usb junk

* rm getslotsuffix

* lil more
2026-05-01 19:35:32 -07:00

24 lines
622 B
Bash
Executable File

#!/bin/bash
# centralized qualcomm init
# *************************
# don't restart whole SoC on subsystem crash
for i in {0..7}; do
echo "related" | sudo tee /sys/bus/msm_subsys/devices/subsys${i}/restart_level
done
# raise scaling_max so policy=performance can reach the BOOST top step
echo 2649600 | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
echo 2649600 | sudo tee /sys/devices/system/cpu/cpufreq/policy4/scaling_max_freq
# boot wifi
echo 1 | sudo tee /sys/kernel/boot_wlan/boot_wlan
/usr/bin/irsc_util /etc/sec_config
# cdsp
echo 1 > /sys/kernel/boot_cdsp/boot
# ipa
echo 1 > /dev/ipa