[Nexus 4 General] jsauder2:
Maybe someone can help me out here, but I'll start by saying I don't think this is an issue with the kernel...

I'm using Omni in multirom and it decides to change all the default kernel values. On boot, the governor is set to conservative, mpdecision is turned on, and a few other things. I thought I'd fix this by making a init.d script with the settings I want. The problem is that everything sets how I want it except for the cpu gov, which stays at conservative. Here's the script I'm using...

#!/system/bin/sh

#stop mpdecision
su
stop mpdecision

#set governor
echo "intellidemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "intellidemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo "intellidemand" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo "intellidemand" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

#cpu min/max
echo 192000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1350000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

#governor specifics
echo 1026000 > /sys/devices/system/cpu/cpufreq/intellidemand/boostfreq
echo 2500000 > /sys/devices/system/cpu/cpufreq/intellidemand/boosttime
echo 3 > /sys/devices/system/cpu/cpufreq/intellidemand/down_differential
echo 0 > /sys/devices/system/cpu/cpufreq/intellidemand/ignore_nice_load
echo 1 > /sys/devices/system/cpu/cpufreq/intellidemand/io_is_busy
echo 50 > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_active_load
echo 1350000 > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_active_max_freq
echo 1 > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_browser
echo 40 > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_inactive_load
echo 1026000 > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_inactive_max_freq
echo 1026000 > /sys/devices/system/cpu/cpufreq/intellidemand/optimal_freq
echo 0 > /sys/devices/system/cpu/cpufreq/intellidemand/powersave_bias
echo 1 > /sys/devices/system/cpu/cpufreq/intellidemand/sampling_down_factor
echo 15000 > /sys/devices/system/cpu/cpufreq/intellidemand/sampling_rate
echo 702000 > /sys/devices/system/cpu/cpufreq/intellidemand/sync_freq
echo 1350000 > /sys/devices/system/cpu/cpufreq/intellidemand/two_phase_freq
echo 90 > /sys/devices/system/cpu/cpufreq/intellidemand/up_threshold
echo 90 > /sys/devices/system/cpu/cpufreq/intellidemand/up_threshold_any_cpu_load
echo 90 > /sys/devices/system/cpu/cpufreq/intellidemand/up_threshold_multi_core

#gamma settings
echo 255 255 255 > /sys/devices/platform/kcal_ctrl.0/kcal
echo 208 0 119 119 0 0 0 119 7 2 > /sys/devices/platform/mipi_lgit.1537/kgamma_r
echo 366 0 119 119 0 0 0 119 7 2 > /sys/devices/platform/mipi_lgit.1537/kgamma_red
echo 210 0 119 119 0 0 0 119 7 2 > /sys/devices/platform/mipi_lgit.1537/kgamma_g
echo 366 0 119 119 0 0 0 119 7 2 > /sys/devices/platform/mipi_lgit.1537/kgamma_green
echo 212 0 119 119 0 0 0 119 7 2 > /sys/devices/platform/mipi_lgit.1537/kgamma_b
echo 366 0 119 119 0 0 0 119 7 2 > /sys/devices/platform/mipi_lgit.1537/kgamma_blue

Any ideas what I'm doing wrong? Like I mentioned, I know this isn't a kernel issue because the settings showing up aren't even the kernel default, so something in either the rom or multirom is changing that around, but I haven't found any answers in either of those threads. Just thought maybe someone smarter than me could help out. ;)