[Sony Xperia E3] wurstherpes:
Now works fine...

#!/system/bin/sh

# SDCardSpeedFix

echo "768" > /sys/devices/virtual/bdi/179:0/read_aheady_kb;

# Governor

echo "pegasusq" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor;

echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/up_threshold;

echo "10" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/down_differential;

echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/io_is_busy;

echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/sampling_down_factor;

echo "20000" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/sampling_rate;

echo "100" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/freq_step;

echo "5" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/cpu_up_rate;

echo "20" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/cpu_down_rate;

echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/freq_for_responsiveness;

echo "85" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/up_threshold;

echo "10" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/down_differential;

echo "1" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/io_is_busy;

echo "1" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/sampling_down_factor;

echo "20000" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/sampling_rate;

echo "100" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/freq_step;

echo "5" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/cpu_up_rate;

echo "20" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/cpu_down_rate;

echo "100000" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/freq_for_responsiveness;

echo "85" > /sys/devices/system/cpu/cpu2/cpufreq/pegasusq/up_threshold;

echo "10" > /sys/devices/system/cpu/cpu2/cpufreq/pegasusq/down_differential;

echo "1" > /sys/devices/system/cpu/cpu2/cpufreq/pegasusq/io_is_busy;

echo "1" > /sys/devices/system/cpu/cpu2/cpufreq/pegasusq/sampling_down_factor;

echo "20000" > /sys/devices/system/cpu/cpu2/cpufreq/pegasusq/sampling_rate;

echo "100" > /sys/devices/system/cpu/cpu2/cpufreq/pegasusq/freq_step;

echo "5" > /sys/devices/system/cpu/cpu2/cpufreq/pegasusq/cpu_up_rate;

echo "20" > /sys/devices/system/cpu/cpu2/cpufreq/pegasusq/cpu_down_rate;

echo "100000" > /sys/devices/system/cpu/cpu2/cpufreq/pegasusq/freq_for_responsiveness;

echo "85" > /sys/devices/system/cpu/cpu3/cpufreq/pegasusq/up_threshold;

echo "10" > /sys/devices/system/cpu/cpu3/cpufreq/pegasusq/down_differential;

echo "1" > /sys/devices/system/cpu/cpu3/cpufreq/pegasusq/io_is_busy;

echo "1" > /sys/devices/system/cpu/cpu3/cpufreq/pegasusq/sampling_down_factor;

echo "20000" > /sys/devices/system/cpu/cpu3/cpufreq/pegasusq/sampling_rate;

echo "100" > /sys/devices/system/cpu/cpu3/cpufreq/pegasusq/freq_step;

echo "5" > /sys/devices/system/cpu/cpu3/cpufreq/pegasusq/cpu_up_rate;

echo "20" > /sys/devices/system/cpu/cpu3/cpufreq/pegasusq/cpu_down_rate;

echo "100000" > /sys/devices/system/cpu/cpu3/cpufreq/pegasusq/freq_for_responsiveness;

echo "85" > /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold;

echo "10" > /sys/devices/system/cpu/cpufreq/pegasusq/down_differential;

echo "1" > /sys/devices/system/cpu/cpufreq/pegasusq/io_is_busy;

echo "1" > /sys/devices/system/cpu/cpufreq/pegasusq/sampling_down_factor;

echo "20000" > /sys/devices/system/cpu/cpufreq/pegasusq/sampling_rate;

echo "100" > /sys/devices/system/cpu/cpufreq/pegasusq/freq_step;

echo "5" > /sys/devices/system/cpu/cpufreq/pegasusq/cpu_up_rate;

echo "20" > /sys/devices/system/cpu/cpufreq/pegasusq/cpu_down_rate;

echo "100000" > /sys/devices/system/cpu/cpufreq/pegasusq/freq_for_responsiveness;

# Internet Tweaks

echo "0" > /proc/sys/net/ipv4/tcp_timestamps;

echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse;

echo "1" > /proc/sys/net/ipv4/tcp_sack;

echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;

echo "1" > /proc/sys/net/ipv4/tcp_window_scaling;

echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes;

echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl;

echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout;

echo "404480" > /proc/sys/net/core/wmem_max;

echo "404480" > /proc/sys/net/core/rmem_max;

echo "256960" > /proc/sys/net/core/rmem_default;

echo "256960" > /proc/sys/net/core/wmem_default;

echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem;

echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem;

# Misc Kernel Tweaks

echo "8" > /proc/sys/vm/page-cluster;

echo "64000" > /proc/sys/kernel/msgmni;

echo "64000" > /proc/sys/kernel/msgmax;

echo "10" > /proc/sys/fs/lease-break-time;

echo "500,512000,64,2048" > /proc/sys/kernel/sem;

# Remove logger

rm /dev/log/main