[Mi 3 Android Development] OutSideR_2k14:
My settings :

#OutSideR

setprop ctl.stop mpdecision;stop mpdecision

chmod 644 /sys/devices/system/cpu/cpu0/online

echo '1' > /sys/devices/system/cpu/cpu0/online

chmod 444 /sys/devices/system/cpu/cpu0/online

chmod 644 /sys/devices/system/cpu/cpu1/online

echo '1' > /sys/devices/system/cpu/cpu1/online

chmod 444 /sys/devices/system/cpu/cpu1/online

chmod 644 /sys/devices/system/cpu/cpu2/online

echo '1' > /sys/devices/system/cpu/cpu2/online

chmod 444 /sys/devices/system/cpu/cpu2/online

chmod 644 /sys/devices/system/cpu/cpu3/online

echo '1' > /sys/devices/system/cpu/cpu3/online

chmod 444 /sys/devices/system/cpu/cpu3/online

echo '1' > /sys/android_touch/sweep2wake

echo '1024' > /sys/block/mmcblk0/queue/read_ahead_kb

echo '0' > /proc/sys/vm/swappiness

echo '128' > /proc/sys/kernel/random/read_wakeup_threshold

echo '256' > /proc/sys/kernel/random/write_wakeup_threshold

echo '102' > /sys/vibrator/pwmvalue

echo '0:960000' > /sys/module/cpu_boost/parameters/input_boost_freq

echo '1:960000' > /sys/module/cpu_boost/parameters/input_boost_freq

echo '2:960000' > /sys/module/cpu_boost/parameters/input_boost_freq

echo '3:960000' > /sys/module/cpu_boost/parameters/input_boost_freq

chmod 644 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo '2457600' > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

chmod 644 /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

echo '2457600' > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

chmod 444 /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

echo '1' > /sys/devices/system/cpu/cpu2/online

chmod 644 /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq

echo '2457600' > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq

chmod 444 /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq

echo '0' > /sys/devices/system/cpu/cpu2/online

echo '1' > /sys/devices/system/cpu/cpu3/online

chmod 644 /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

echo '2457600' > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

chmod 444 /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

echo '0' > /sys/devices/system/cpu/cpu3/online

echo '1497600' > /sys/module/cpu_boost/parameters/sync_threshold

echo '722' > /sys/module/lazyplug/parameters/cpu_nr_run_threshold

echo '1' > /sys/kernel/msm_mpdecision/conf/enabled

echo '4' > /sys/kernel/msm_mpdecision/conf/max_cpus

echo '2' > /sys/kernel/msm_mpdecision/conf/max_cpus_online_susp

echo '422400' > /sys/kernel/msm_mpdecision/conf/idle_freq

echo '0' > /sys/kernel/msm_mpdecision/conf/startdelay

echo '1' > /sys/module/msm_thermal/core_control/enabled

echo '1' > /sys/module/msm_thermal/vdd_restriction/enabled

echo '578000000' > /sys/class/kgsl/kgsl-3d0/max_gpuclk

echo 'msm-adreno-tz' > /sys/class/kgsl/kgsl-3d0/devfreq/governor

echo 'Y' > /sys/module/adreno_idler/parameters/adreno_idler_active

echo '40' > /sys/module/adreno_idler/parameters/adreno_idler_downdifferential

echo '24' > /sys/module/adreno_idler/parameters/adreno_idler_idlewait

echo '7000' > /sys/module/adreno_idler/parameters/adreno_idler_idleworkload

echo '1' > /sys/kernel/fast_charge/force_fast_charge

echo '1' > /sys/block/mmcblk0/queue/rq_affinity

echo '0' > /sys/kernel/sched/gentle_fair_sleepers

echo '0 0 4294967295' > /sys/kernel/sound_control_3/gpl_speaker_gain

echo '0 0' > /sys/kernel/sound_control_3/gpl_speaker_gain

echo '0' > /sys/devices/virtual/misc/soundcontrol/speaker_boost

echo '0 4294967295' > /sys/kernel/sound_control_3/gpl_cam_mic_gain

echo '0' > /sys/kernel/sound_control_3/gpl_cam_mic_gain

echo '1' > /sys/kernel/msm_mpdecision/conf/min_cpus

echo '100' > /sys/kernel/msm_mpdecision/conf/delay

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

echo '4' > /sys/module/lazyplug/parameters/nr_possible_cores

echo '38 38 4294967219' > /sys/kernel/sound_control_3/gpl_headphone_pa_gain

echo '38 38' > /sys/kernel/sound_control_3/gpl_headphone_pa_gain

echo '0' > /sys/kernel/sound_control_3/gpl_sound_control_locked

echo '0' > /sys/kernel/sound_control_3/gpl_sound_control_rec_locked

echo 'sioplus' > /sys/block/mmcblk0/queue/scheduler

echo '1' > /sys/kernel/sched/arch_power

echo 'Y' > /sys/module/wakeup/parameters/enable_si_ws

echo 'Y' > /sys/module/wakeup/parameters/enable_wlan_rx_wake_ws

echo 'Y' > /sys/module/wakeup/parameters/enable_wlan_ctrl_wake_ws

echo 'Y' > /sys/module/wakeup/parameters/enable_wlan_wake_ws

echo 'Y' > /sys/module/wakeup/parameters/enable_bluesleep_ws

chmod 644 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

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

chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

chmod 644 /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

echo 'interactive' > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

chmod 444 /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

echo '1' > /sys/devices/system/cpu/cpu2/online

chmod 644 /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor

echo 'interactive' > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor

chmod 444 /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor

echo '0' > /sys/devices/system/cpu/cpu2/online

echo '1' > /sys/devices/system/cpu/cpu3/online

chmod 644 /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

echo 'interactive' > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

chmod 444 /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

echo '0' > /sys/devices/system/cpu/cpu3/online

echo '0' > /sys/devices/system/cpu/sched_mc_power_savings

chmod 644 /sys/module/workqueue/parameters/power_efficient

echo 'Y' > /sys/module/workqueue/parameters/power_efficient

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

echo '20' > /sys/module/cpu_boost/parameters/boost_ms

chmod 644 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo '268800' > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

chmod 644 /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

echo '268800' > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

chmod 444 /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

chmod 644 /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq

echo '268800' > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq

chmod 444 /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq

echo '1' > /sys/devices/system/cpu/cpu3/online

chmod 644 /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq

echo '268800' > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq

chmod 444 /sys/devices/system/cpu/cpu3

You need to copy this to "system/etc/init.qcom.post_boot.sh