[Verizon Samsung Galaxy S7 Questions & Answers] rootuser420:
Hey everyone, I'm currently rooted on my g930v (verizon s7) and i was wondering how i can optimize the performance of it to the best of my powers.

I rooted using the eng boot method, since i dont believe there's a more stable method out rn (i could be wrong) but I've tried modifying my cpu and other things, and used tools such as lspeed but they dont seem to help in any way or just decrease battery quicker.

I did flash some "tweaks" when i rooted, they're called "s7startup" and "master.sh" and it applies some settings to the govenor and cpu speeds on boot i assume, but when i try to adjust the cpu settings it doesnt seem like it works, or rather it just reverts back to the default.

This is what that script looks like:

#!/system/bin/sh

### Samsung Galaxy S7 / S7 Edge Qualcomm performance fixes and tweaks

### psouza4 . version 4 . 2016-07-11

### Notes: Most of these values were taken from the stock PE1 image (Verizon's version).

### These changes can be made to a live system without requiring a reboot.

### I haven't thoroughly investigated what every setting does, I'm literally just

### resetting them to the original values prior to root (with one exception noted below).

# Throttling

echo 1> /sys/module/msm_core/parameters/disabled

echo 0> /sys/module/msm_core/parameters/polling_interval

echo N> /sys/module/msm_thermal/parameters/enabled

echo 0> /sys/module/msm_thermal/vdd_restriction/enabled

# EXCEPTION: this is the only customized value here, stock is 80

echo 85> /sys/module/msm_core/parameters/throttling_temp

# Correct frequencies and governors

echo ondemand> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo ondemand> /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor

echo 1593600> /sys/devices/system/cpu/cpufreq/cpufreq_limit/little_max_freq

echo 307200> /sys/devices/system/cpu/cpufreq/cpufreq_limit/little_min_freq

echo 2150400> /sys/devices/system/cpu/cpufreq/cpufreq_limit/big_max_freq

echo 307200> /sys/devices/system/cpu/cpufreq/cpufreq_limit/big_min_freq

# A whole bunch of CPU tweaks

#echo 1478400> /sys/power/cpufreq_max_limit

echo 1593600> /sys/power/cpufreq_max_limit

mkdir -p /sys/devices/system/cpu/cpu0/cpufreq/ondemand/

echo 19000> /sys/devices/system/cpu/cpu0/cpufreq/ondemand/above_hispeed_delay

echo 0> /sys/devices/system/cpu/cpu0/cpufreq/ondemand/align_windows

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

echo 80000> /sys/devices/system/cpu/cpu0/cpufreq/ondemand/boostpulse_duration

echo 1> /sys/devices/system/cpu/cpu0/cpufreq/ondemand/fast_ramp_down

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

echo 960000> /sys/devices/system/cpu/cpu0/cpufreq/ondemand/hispeed_freq

echo 1> /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_hispeed_on_notif

echo 1> /sys/devices/system/cpu/cpu0/cpufreq/ondemand/io_is_busy

echo 19000> /sys/devices/system/cpu/cpu0/cpufreq/ondemand/max_freq_hysteresis

echo 19000> /sys/devices/system/cpu/cpu0/cpufreq/ondemand/min_sample_time

echo 80> /sys/devices/system/cpu/cpu0/cpufreq/ondemand/target_loads

echo 20000> /sys/devices/system/cpu/cpu0/cpufreq/ondemand/timer_rate

echo 80000> /sys/devices/system/cpu/cpu0/cpufreq/ondemand/timer_slack

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

echo 1> /sys/devices/system/cpu/cpu0/cpufreq/ondemand/use_sched_load

echo ondemand> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo 1593600> /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo 307200> /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

mkdir -p /sys/devices/system/cpu/cpu2/cpufreq/ondemand/

echo '19000 1400000:39000 1700000:19000'> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/above_hispeed_delay

echo 0> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/align_windows

echo 0> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/boost

echo 80000> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/boostpulse_duration

echo 1> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/fast_ramp_down

echo 90> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/go_hispeed_load

echo 1248000> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/hispeed_freq

echo 1> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/ignore_hispeed_on_notif

echo 1> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/io_is_busy

echo 19000> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/max_freq_hysteresis

echo 19000> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/min_sample_time

echo '85 1500000:90 1800000:70'> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/target_loads

echo 20000> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/timer_rate

echo 80000> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/timer_slack

echo 1> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/use_migration_notif

echo 1> /sys/devices/system/cpu/cpu2/cpufreq/ondemand/use_sched_load

echo ondemand> /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor

echo 2150400> /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq

echo 307200> /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq

# Reset other settings as well

echo 71061504> /sys/module/dm_bufio/parameters/max_cache_size_bytes

echo 40079360> /sys/module/dm_bufio/parameters/peak_allocated_bytes

echo 1022> /sys/module/fuse/parameters/max_user_bgreq

echo 1022> /sys/module/fuse/parameters/max_user_congthresh

echo N> /sys/module/lpm_levels/parameters/sleep_disabled

# Reset IPv4

echo 1048576> /sys/kernel/ipv4/tcp_rmem_def

echo 2097120> /sys/kernel/ipv4/tcp_rmem_max

echo 524288> /sys/kernel/ipv4/tcp_rmem_min

echo 4194240> /sys/kernel/ipv4/tcp_wmem_max

exit 0

I've tried flashing various roms and kernels from xda here, but they all resulted in bootloops even when i followed the instructions EXACTLY.

So basically are there any things im missing that i can do to overall improve the performance and battery of my phone? Usually I use it to play games like summoners war and dokkan battle, and other times i just use it to browse the internet, but i'm trying to make it as snappy as possible without a big battery drain.

Also my system is r/o could that be the problem? And if so is it safe and possible to make it r/w?

I'd appreciate any help i can get on this, Thanks!