[Nexus 4 Original Android Development] mrtur:
Hi,

1. Sorry for my English. I use Google Tranlsate.

2. Are these settings are OK?

#!/system/bin/sh
#
# Lioux
# Thanks to Lisan Xda
# Enable FQ Codel
#

# active fq_codel on the most used interfaces
tc qdisc add dev p2p0 root fq_codel
tc qdisc add dev rmnet0 root fq_codel
tc qdisc add dev wlan0 root fq_codel

# reduce txqueuelen to 0 until we have byte queue instead of a packet one
echo 0 > /sys/class/net/p2p0/tx_queue_len
echo 0 > /sys/class/net/rmnet0/tx_queue_len
echo 0 > /sys/class/net/wlan0/tx_queue_len

# suitable configuration to help reduce network latency
echo 2 > /proc/sys/net/ipv4/tcp_ecn
echo 1 > /proc/sys/net/ipv4/tcp_sack
echo 1 > /proc/sys/net/ipv4/tcp_dsack
echo 1 > /proc/sys/net/ipv4/tcp_low_latency
echo 1 > /proc/sys/net/ipv4/tcp_timestamps

echo 1 > /proc/sys/net/ipv4/route/flush
echo 1 > /proc/sys/net/ipv4/tcp_rfc1337
echo 0 > /proc/sys/net/ipv4/ip_no_pmtu_disc
echo 1 > /proc/sys/net/ipv4/tcp_fack
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
echo "4096 39000 187000" > /proc/sys/net/ipv4/tcp_rmem
echo "4096 39000 187000" > /proc/sys/net/ipv4/tcp_wmem
echo "187000 187000 187000" > /proc/sys/net/ipv4/tcp_mem
echo 1 > /proc/sys/net/ipv4/tcp_no_metrics_save
echo 1 > /proc/sys/net/ipv4/tcp_moderate_rcvbuf

#Set Min / Max Frequenz
FREQMIN=162000
echo "$FREQMIN" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "$FREQMIN" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo "$FREQMIN" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
echo "$FREQMIN" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq

#Set Governor
echo "intelliactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "intelliactive" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo "intelliactive" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo "intelliactive" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

# intelliactive Tweaks:

echo "15000" > /sys/devices/system/cpu/cpufreq/intelliactive/above_hispeed_delay
echo "1026000" > /sys/devices/system/cpu/cpufreq/intelliactive/hispeed_freq
echo "0" > /sys/devices/system/cpu/cpufreq/intelliactive/io_is_busy
echo "60000" > /sys/devices/system/cpu/cpufreq/intelliactive/min_sample_time
echo "75000" > /sys/devices/system/cpu/cpufreq/intelliactive/sampling_down_factor
echo "95 1134000:90" > /sys/devices/system/cpu/cpufreq/intelliactive/target_loads
echo "15000" > /sys/devices/system/cpu/cpufreq/intelliactive/timer_rate
echo "60000" > /sys/devices/system/cpu/cpufreq/intelliactive/timer_slack
echo "810000,810000,810000,810000" > /sys/devices/system/cpu/cpufreq/intelliactive/two_phase_freq

#System-Tweaks

echo "row" > /sys/block/mmcblk0/queue/scheduler
echo "1024" > /sys/block/mmcblk0/queue/read_ahead_kb

echo "1" > /sys/module/intelli_plug/parameters/intelli_plug_active

echo "0" > /sys/kernel/msm_mpdecision/conf/boost_enabled
echo "0" > /sys/kernel/msm_mpdecision/conf/enabled
echo "0" > /sys/kernel/msm_mpdecision/conf/scroff_single_core

# tcp congestion control

echo "cubic" > /proc/sys/net/ipv4/tcp_congestion_control

#!/system/bin/sh
#
# Lioux
# Thanks to Lisan Xda
# Enable FQ Codel
#

# active fq_codel on the most used interfaces
tc qdisc add dev p2p0 root fq_codel
tc qdisc add dev rmnet0 root fq_codel
tc qdisc add dev wlan0 root fq_codel

# reduce txqueuelen to 0 until we have byte queue instead of a packet one
echo 0 > /sys/class/net/p2p0/tx_queue_len
echo 0 > /sys/class/net/rmnet0/tx_queue_len
echo 0 > /sys/class/net/wlan0/tx_queue_len

# suitable configuration to help reduce network latency
echo 2 > /proc/sys/net/ipv4/tcp_ecn
echo 1 > /proc/sys/net/ipv4/tcp_sack
echo 1 > /proc/sys/net/ipv4/tcp_dsack
echo 1 > /proc/sys/net/ipv4/tcp_low_latency
echo 1 > /proc/sys/net/ipv4/tcp_timestamps

echo 1 > /proc/sys/net/ipv4/route/flush
echo 1 > /proc/sys/net/ipv4/tcp_rfc1337
echo 0 > /proc/sys/net/ipv4/ip_no_pmtu_disc
echo 1 > /proc/sys/net/ipv4/tcp_fack
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
echo "4096 39000 187000" > /proc/sys/net/ipv4/tcp_rmem
echo "4096 39000 187000" > /proc/sys/net/ipv4/tcp_wmem
echo "187000 187000 187000" > /proc/sys/net/ipv4/tcp_mem
echo 1 > /proc/sys/net/ipv4/tcp_no_metrics_save
echo 1 > /proc/sys/net/ipv4/tcp_moderate_rcvbuf

#Set Min / Max Frequenz
FREQMIN=162000
echo "$FREQMIN" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "$FREQMIN" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo "$FREQMIN" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
echo "$FREQMIN" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq

#Set Governor
echo "intelliactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "intelliactive" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo "intelliactive" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo "intelliactive" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

# intelliactive Tweaks:

echo "15000" > /sys/devices/system/cpu/cpufreq/intelliactive/above_hispeed_delay
echo "1026000" > /sys/devices/system/cpu/cpufreq/intelliactive/hispeed_freq
echo "0" > /sys/devices/system/cpu/cpufreq/intelliactive/io_is_busy
echo "60000" > /sys/devices/system/cpu/cpufreq/intelliactive/min_sample_time
echo "75000" > /sys/devices/system/cpu/cpufreq/intelliactive/sampling_down_factor
echo "95 1134000:90" > /sys/devices/system/cpu/cpufreq/intelliactive/target_loads
echo "15000" > /sys/devices/system/cpu/cpufreq/intelliactive/timer_rate
echo "60000" > /sys/devices/system/cpu/cpufreq/intelliactive/timer_slack
echo "810000,810000,810000,810000" > /sys/devices/system/cpu/cpufreq/intelliactive/two_phase_freq

#System-Tweaks

echo "row" > /sys/block/mmcblk0/queue/scheduler
echo "1024" > /sys/block/mmcblk0/queue/read_ahead_kb

echo "1" > /sys/module/intelli_plug/parameters/intelli_plug_active

echo "0" > /sys/kernel/msm_mpdecision/conf/boost_enabled
echo "0" > /sys/kernel/msm_mpdecision/conf/enabled
echo "0" > /sys/kernel/msm_mpdecision/conf/scroff_single_core

# tcp congestion control

echo "cubic" > /proc/sys/net/ipv4/tcp_congestion_control

3. What do I enter in 98fq_codel to reduce the CPU voltage of -25mV?