[Galaxy S 4 i9505 Android Development] mikussj3:
My kernel settings - R5 - for battery life:

stweaks_boot_control=yes

scaling_max_freq_cpu0=1890000

scaling_max_freq_cpu1=1890000

scaling_max_freq_cpu2=1890000

scaling_max_freq_cpu3=1890000

scaling_min_freq_cpu0=384000

scaling_min_freq_cpu1=384000

scaling_min_freq_cpu2=384000

scaling_min_freq_cpu3=384000

gentle_fair_sleepers=on

arch_power=on

power_efficient=on

scaling_max_gps_freq=1890000

scaling_max_suspend_freq=1242000

scaling_max_oncall_freq=1350000

scaling_min_suspend_freq=384000

cpu_voltage_switch=on

CPUVOLT1=1150000

CPUVOLT2=1112500

CPUVOLT3=1075000

CPUVOLT4=1037500

CPUVOLT5=1000000

CPUVOLT6=975000

CPUVOLT7=962500

CPUVOLT8=950000

CPUVOLT9=925000

CPUVOLT10=900000

CPUVOLT11=887500

CPUVOLT12=875000

CPUVOLT13=875000

CPUVOLT14=875000

CPUVOLT15=875000

scaling_governor_cpu0=alucard

scaling_governor_cpu1=alucard

scaling_governor_cpu2=alucard

scaling_governor_cpu3=alucard

up_threshold=70

up_threshold_at_min_freq=60

sampling_rate=20000

sampling_down_factor=1

freq_step=30

down_differential=5

freq_for_responsiveness=486000

down_threshold=30

inc_cpu_load_at_min_freq=60

inc_cpu_load=70

dec_cpu_load_at_min_freq=60

dec_cpu_load=70

freq_for_responsiveness_max=1890000

freq_responsiveness=1134000

pump_inc_step_at_min_freq_1=2

pump_inc_step_at_min_freq_2=2

pump_inc_step_at_min_freq_3=2

pump_inc_step_at_min_freq_4=2

pump_inc_step_1=2

pump_inc_step_2=2

pump_inc_step_3=2

pump_inc_step_4=2

pump_dec_step_at_min_freq_1=2

pump_dec_step_at_min_freq_2=2

pump_dec_step_at_min_freq_3=2

pump_dec_step_at_min_freq_4=2

pump_dec_step_1=1

pump_dec_step_2=1

pump_dec_step_3=1

pump_dec_step_4=1

freq_step_at_min_freq=30

freq_up_brake_at_min_freq=20

freq_up_brake=20

freq_step_dec=10

freq_step_dec_at_max_freq=10

cpus_up_rate=1

cpus_down_rate=1

cpuhotplugging=3

hotplug_sampling_rate=50

hotplug_rate_1_1=1

hotplug_rate_2_0=1

hotplug_rate_2_1=2

hotplug_rate_3_0=2

hotplug_rate_3_1=2

hotplug_rate_4_0=2

hotplug_freq_1_1=1242000

hotplug_freq_2_0=810000

hotplug_freq_2_1=1242000

hotplug_freq_3_0=810000

hotplug_freq_3_1=1242000

hotplug_freq_4_0=810000

hotplug_load_1_1=60

hotplug_load_2_0=20

hotplug_load_2_1=60

hotplug_load_3_0=20

hotplug_load_3_1=60

hotplug_load_4_0=20

hotplug_rq_1_1=100

hotplug_rq_2_0=100

hotplug_rq_2_1=150

hotplug_rq_3_0=150

hotplug_rq_3_1=150

hotplug_rq_4_0=150

maxcoreslimit=4

maxcoreslimit_sleep=2

cpus_boosted=1

hotplug_suspend=always_active

min_cpus_online=1

max_cpus_online=4

msm_thermal=intelli_temp

core_control=1

core_mask=2

core_limit_temp_degC=70

limit_temp_degC=60

temp_hysteresis_degC=5

governor=ondemand

max_pwrlevel=0

min_pwrlevel=3

thermal_pwrlevel=0

gpu_voltage_switch=on

GPUVOLT3=1050000

GPUVOLT2=950000

GPUVOLT1=845000

input_boost_freq=1134000

input_boost_ms=50

min_input_interval=1050

nr_boost_cpus=4

intsd_read_ahead_kb=1024

extsd_read_ahead_kb=1024

mmc_mode=performance

internal_iosched=bfq

sd_iosched=bfq

auto_oom=on

enable_adaptive_lmk=on

vm_pressure_adaptive_start=85

vmpressure_file_min=78

enable_process_reclaim=on

pressure_max=80

oom_config_screen_on=aggressive

oom_config_screen_off=aggressive

lowmem_reserve=high_pressure

dirty_background_ratio=5

dirty_ratio=20

vfs_cache_pressure=100

swaptweaks=0

zramtweaks=0

swappiness=50

run=off

uksm_gov_on=medium

uksm_gov_sleep=quiet

sleep_millisecs=1000

crontab_switch=on

cron_drop_cache=off

cron_reset_systemui=off

cron_fstrim=off

cron_process_reclaim=on

cron_ram_release=on

ad_block_update=on

cron_db_optimizing=off

cron_clear_app_cache=off

led_lowpower_current=40

led_highpower_current=40

led_fade_in_time=1

led_fade_out_time=4

led_fade=on

led_fade_dt1=1

led_fade_dt2=1

led_fade_dt3=2

led_fade_dt4=3

gpl_headphone_gain=40

gpl_headphone_pa_gain=12

gpl_speaker_gain=40

gpl_hdmi_spkr_gain=40

gpl_mic_gain=40

gpl_cam_mic_gain=40

gpl_headset_mic_gain=40

force_fast_charge=2

use_mtp_during_fast_charge=1

screen_on_current_limit=1

ac_charge_level=1900

usb_charge_level=1000

tcp_congestion_control=westwood

selinux_control=off

logger=1

gpsfixer=off

gpsregion=No_GPS_Zone_changes

init_d=off

pwm_value=75

usb_mode=default

auto_mount_sd=on

usb_keyboard=disable

cortexbrain_background_process=1

cortexbrain_memory=on

cortexbrain_system=on

cortexbrain_kernel_tweaks=on

cortexbrain_cpu=on

cortexbrain_io=on

You can download from attached 'default.profile_backup.txt'

- delete '.txt' (after delete 'default.profile_backup')

- copy 'default.profile_backup' to sd card

- copy 'default.profile_backup' and set permissions 777 to data/.b--b (before turn on 'show hide files')

- open stweaks and change profiles to 'default profile' (if you use other than default)

- wait to restart stweaks.apk

- go to backup and restore and click 'restore now'

- wait to restart stweaks.apk

- done

few settings are not restored automatically, e.g. CPU Voltage Main Switch. You can set manualy.