[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] lordodin912:
V5.7

Changes from 5.6 -

*Spectrum Support - thanks again to [MENTION=5044876]acuicultor[/MENTION] for his Radioactive kernel for OP3 and [MENTION=5051294]frap129[/MENTION] for spectrum! (only changes I made to the init.spectrum.rc settings (from acuicultors Radioactive kernel) are, removed adreno idler lines and changed max freq to 2150.)

*Updated blu_active gov - thanks to [MENTION=3873953]eng.stk[/MENTION]

*Updated Conservative and Ondemand (Despair as well to fix compile) to use cache tunables - thanks to [MENTION=4684315]flar2[/MENTION]

*Added Dynamic Interactive and dancedance govs.

*Boost 'cpubw' on screen wake-up - This makes our DDR bus

use its maximum bandwidth when the screen is turned on, boost duration to 5000 ms. - thanks to [MENTION=4800121]Sultanxda[/MENTION] and [MENTION=2376110]dorimanx[/MENTION]

*...no more lag in sound....

*Plenty more misc changes, all thanks to [MENTION=3292224]franciscofranco[/MENTION], and everyone/anyone else I forgot to mention......

Links:

Asgard_H830_v5.7_20C

Asgard_H830_v5.7_20F

Enjoy

- Spectrum current settings by acuicultors - minus adreno idler -

# Balance (default profile)

on property:persist.spectrum.profile=0

write /proc/sys/kernel/sched_boost 1

write /sys/module/cpu_boost/parameters/input_boost_freq "0:1036800 2:1036800"

write /sys/module/cpu_boost/parameters/input_boost_ms 500

write /sys/module/cpu_boost/parameters/input_boost_enabled 0

write /sys/class/kgsl/kgsl-3d0/default_pwrlevel 7

write /sys/class/kgsl/kgsl-3d0/devfreq/governor msm-adreno-tz

write /sys/class/kgsl/kgsl-3d0/devfreq/adrenoboost 0

write /sys/block/dm-0/queue/scheduler "cfq"

write /sys/block/dm-1/queue/scheduler "cfq"

write /sys/block/sda/queue/scheduler "cfq"

write /sys/block/sde/queue/scheduler "cfq"

write /sys/block/dm-0/queue/read_ahead_kb 128

write /sys/block/dm-1/queue/read_ahead_kb 128

write /sys/block/sda/queue/read_ahead_kb 128

write /sys/block/sde/queue/read_ahead_kb 128

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "dyninteractive"

write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "dyninteractive"

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 307200

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1593600

write /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq 307200

write /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq 2150000

# Performance

on property:persist.spectrum.profile=1

write /proc/sys/kernel/sched_boost 1

write /sys/module/cpu_boost/parameters/input_boost_freq "0:1286400 2:1286400"

write /sys/module/cpu_boost/parameters/input_boost_ms 500

write /sys/module/cpu_boost/parameters/input_boost_enabled 1

write /sys/class/kgsl/kgsl-3d0/default_pwrlevel 6

write /sys/class/kgsl/kgsl-3d0/devfreq/governor msm-adreno-tz

write /sys/class/kgsl/kgsl-3d0/devfreq/adrenoboost 0

write /sys/block/dm-0/queue/scheduler "cfq"

write /sys/block/dm-1/queue/scheduler "cfq"

write /sys/block/sda/queue/scheduler "cfq"

write /sys/block/sde/queue/scheduler "cfq"

write /sys/block/dm-0/queue/read_ahead_kb 128

write /sys/block/dm-1/queue/read_ahead_kb 128

write /sys/block/sda/queue/read_ahead_kb 128

write /sys/block/sde/queue/read_ahead_kb 128

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "blu_active"

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/above_hispeed_delay 20000

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/go_hispeed_load 90

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/timer_rate 20000

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/hispeed_freq 960000

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/io_is_busy 1

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/align_windows 1

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/target_loads 80

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/min_sample_time 40000

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/timer_slack 20000

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/fastlane 1

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/fastlane_threshold 30

write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "blu_active"

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/above_hispeed_delay "20000 1400000:40000 1700000:20000 2100000:80000"

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/go_hispeed_load 90

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/timer_rate 20000

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/hispeed_freq 1228800

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/io_is_busy 1

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/align_windows 1

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/target_loads "85 1500000:90 1800000:70 2100000:95"

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/min_sample_time 40000

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/timer_slack 20000

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/fastlane 1

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/fastlane_threshold 30

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 307200

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1593600

write /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq 307200

write /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq 2150000

# Battery

on property:persist.spectrum.profile=2

write /proc/sys/kernel/sched_boost 0

write /sys/module/cpu_boost/parameters/input_boost_freq "0:1036800 2:1036800"

write /sys/module/cpu_boost/parameters/input_boost_ms 500

write /sys/module/cpu_boost/parameters/input_boost_enabled 0

write /sys/class/kgsl/kgsl-3d0/default_pwrlevel 7

write /sys/class/kgsl/kgsl-3d0/devfreq/governor powersave

write /sys/class/kgsl/kgsl-3d0/devfreq/adrenoboost 0

write /sys/block/dm-0/queue/scheduler "noop"

write /sys/block/dm-1/queue/scheduler "noop"

write /sys/block/sda/queue/scheduler "noop"

write /sys/block/sde/queue/scheduler "noop"

write /sys/block/dm-0/queue/read_ahead_kb 2048

write /sys/block/dm-1/queue/read_ahead_kb 2048

write /sys/block/sda/queue/read_ahead_kb 2048

write /sys/block/sde/queue/read_ahead_kb 2048

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "dyninteractive"

write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "dyninteractive"

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 307200

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1056000

write /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq 307200

write /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq 1056000

# Gaming

on property:persist.spectrum.profile=3

write /proc/sys/kernel/sched_boost 1

write /sys/module/cpu_boost/parameters/input_boost_freq "0:1286400 2:1286400"

write /sys/module/cpu_boost/parameters/input_boost_ms 500

write /sys/module/cpu_boost/parameters/input_boost_enabled 1

write /sys/class/kgsl/kgsl-3d0/default_pwrlevel 6

write /sys/class/kgsl/kgsl-3d0/devfreq/governor msm-adreno-tz

write /sys/class/kgsl/kgsl-3d0/devfreq/adrenoboost 3

write /sys/block/dm-0/queue/scheduler "cfq"

write /sys/block/dm-1/queue/scheduler "cfq"

write /sys/block/sda/queue/scheduler "cfq"

write /sys/block/sde/queue/scheduler "cfq"

write /sys/block/dm-0/queue/read_ahead_kb 128

write /sys/block/dm-1/queue/read_ahead_kb 128

write /sys/block/sda/queue/read_ahead_kb 128

write /sys/block/sde/queue/read_ahead_kb 128

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "blu_active"

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/above_hispeed_delay 20000

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/go_hispeed_load 90

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/timer_rate 20000

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/hispeed_freq 960000

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/io_is_busy 1

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/align_windows 1

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/target_loads 80

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/min_sample_time 40000

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/timer_slack 20000

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/fastlane 1

write /sys/devices/system/cpu/cpu0/cpufreq/blu_active/fastlane_threshold 30

write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "blu_active"

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/above_hispeed_delay "20000 1400000:40000 1700000:20000 2100000:80000"

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/go_hispeed_load 90

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/timer_rate 20000

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/hispeed_freq 1228800

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/io_is_busy 1

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/align_windows 1

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/target_loads "85 1500000:90 1800000:70 2100000:95"

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/min_sample_time 40000

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/timer_slack 20000

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/fastlane 1

write /sys/devices/system/cpu/cpu2/cpufreq/blu_active/fastlane_threshold 30

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 307200

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1593600

write /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq 307200

write /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq 2150000