Argon V2 Script for Android

Hello,

is there a way to include the script in Android?
I found a script but it only controls the fan:

#!/system/bin/sh
sleeptime=120
while true
do
cputemp=$(cat /sys/class/thermal/thermal_zone0/temp)
if [ $cputemp -lt 55000 ]; then
fanspeed=“0x00”
elif [ $cputemp -ge 55000 -a $cputemp -lt 60000 ]; then
fanspeed=“0x10”
elif [ $cputemp -ge 60000 -a $cputemp -lt 65000 ]; then
fanspeed=“0x32”
elif [ $cputemp -ge 65000 ]; then
fanspeed=“0x64”
fi
i2cget -y 1 0x01a $fanspeed
if [ $cputemp -ge 60000 ]; then
[[ -f /sdcard/Fancontrol/fanlog.txt ]] && echo $(date +"%d-%m-%y %H:%M:%S") $cputemp $fanspeed >> /sdcard/Fancontrol/fanlog.txt
fi
sleep $sleeptime
done

Is there a script that supports the fan, IR and power function?

Hey,
sorry to be so late on this topic. But has anyone figured this out? Been wanting to run LineageOS but I can’t seem to figure out how to run the fan script. Not having much luck using Google.