summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalimochoAz <calimochoazucarado@gmail.com>2012-02-24 16:22:57 +0100
committerKalimochoAz <calimochoazucarado@gmail.com>2012-02-24 16:22:57 +0100
commit2eccd9babeaa2491e92e86283f05857bbf14693e (patch)
treef37c9bd9c3c036fdc60a55c7dfd421a7f71bf9eb
parent1bd9e0bc1560984ba757811ea06ceeed1b711c88 (diff)
downloaddevice_samsung_crespo-2eccd9babeaa2491e92e86283f05857bbf14693e.zip
device_samsung_crespo-2eccd9babeaa2491e92e86283f05857bbf14693e.tar.gz
device_samsung_crespo-2eccd9babeaa2491e92e86283f05857bbf14693e.tar.bz2
Start device with ondemand governor as default
Change-Id: I9a5ce7aaa4a5861b5f69267b6873088d40b4279d
-rwxr-xr-xinit.herring.rc14
1 files changed, 1 insertions, 13 deletions
diff --git a/init.herring.rc b/init.herring.rc
index ef4facc..f96b476 100755
--- a/init.herring.rc
+++ b/init.herring.rc
@@ -19,18 +19,6 @@ on boot
# phone
setprop ro.telephony.call_ring.multiple 0
-# allow lulzactive to be externally controled
- chown root system /sys/devices/system/cpu/cpufreq/lulzactive/inc_cpu_load
- chown root system /sys/devices/system/cpu/cpufreq/lulzactive/pump_up_step
- chown root system /sys/devices/system/cpu/cpufreq/lulzactive/pump_down_step
- chown root system /sys/devices/system/cpu/cpufreq/lulzactive/up_sample_time
- chown root system /sys/devices/system/cpu/cpufreq/lulzactive/down_sample_time
- chmod 0666 system /sys/devices/system/cpu/cpufreq/lulzactive/inc_cpu_load
- chmod 0666 system /sys/devices/system/cpu/cpufreq/lulzactive/pump_up_step
- chmod 0666 system /sys/devices/system/cpu/cpufreq/lulzactive/pump_down_step
- chmod 0666 system /sys/devices/system/cpu/cpufreq/lulzactive/up_sample_time
- chmod 0666 system /sys/devices/system/cpu/cpufreq/lulzactive/down_sample_time
-
# change permission for uart_switch
chown radio radio /sys/class/sec/uart_switch/UART_SEL/value
chmod 660 /sys/class/sec/uart_switch/UART_SEL/value
@@ -42,7 +30,7 @@ on boot
chmod 660 /sys/class/sec/gps/GPS_PWR_EN/value
# cpufreq, set ondemand governor
- write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor lulzactive
+ write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand
on fs
mkdir /efs 0775 radio radio