[G4 Q&A, Help & Troubleshooting] ObiDanKenobi:
Ha ha, that was a good one. I will lay out some steps, but you have to do the dirty work yourself:

First and foremost you have to have a linux (virtual) machine. Using that machine you will be able to

1. extract the system.img from your phone

2. you have to mount the img on the linux file system,

3. you copy the /system/init.qcom.post_boot.sh to your machine (or you edit in place with Linux)

4. at the end of the file you put the following code

# Added modifications by Dan

#

# IO for device and msd

# (switch to cfq sched, set read ahead

echo 256 > /sys/block/mmcblk0/bdi/read_ahead_kb

echo "cfq" > /sys/block/mmcblk0/queue/scheduler

echo 16 > /sys/block/mmcblk0/queue/iosched/back_seek_max

echo 512 > /sys/block/mmcblk1/bdi/read_ahead_kb

echo "cfq" > /sys/block/mmcblk1/queue/scheduler

echo 16 > /sys/block/mmcblk1/queue/iosched/back_seek_max

# Tuning Transmission Control Protocols.

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

echo 1 > /proc/sys/net/ipv4/tcp_timestamps

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

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

#echo interactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay

echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/align_windows

echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/boost

echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse_duration

echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load

echo 1248000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq

echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis

echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time

echo 85 600000:70 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads

echo 480000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate

echo 480000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_slack

echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif

echo 0> /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load

echo 384000 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq

#echo > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor interactive

echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay

echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/align_windows

echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/boost

echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/boostpulse_duration

echo 95 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load

echo 1824000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq

echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/max_freq_hysteresis

echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time

#echo 633600 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq

echo 90 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads

echo 240000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate

echo 480000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_slack

echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_migration_notif

echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_sched_load

# Adjust input parameters

echo 1 > /sys/module/cpu_boost/parameters/input_boost_enabled

echo 0:600000 1:600000 2:600000 3:600000 4:0 5:0 > /sys/module/cpu_boost/parameters/input_boost_freq

echo 0 > /sys/module/cpu_boost/parameters/boost_ms

echo 40 > /sys/module/cpu_boost/parameters/input_boost_ms

echo 0 > /sys/module/msm_performance/parameters/touchboost

5. you copy the file back (or you save if you edited in place).

6. you unmount the image from your linux system

7. you copy the system.img to your internal sd on the phone

8. you push the system.img the phone using send_command

9. profit.

that's it. As you can see there is not much to it