[Galaxy S II Android Development] thunderteaser:
Are you having success in limiting the CPU steps for darkness in 8.35? I've set 8 steps, but CPU Spy still shows me 16 frequencies (if you set max 1600 and min 100, of course), and they're still being used!

Was this fixed in 8.38? I need a stable kernel, that's why I haven't tried the latest one.

P.S.: Thank you so much for your efforts, dori! :highfive:

P.P.S.: Here's my STweaks profile, just in case...

boot_boost=1200000

wakeup_boost=0

scaling_max_freq=1000000

scaling_max_freq_oc=1200000

scaling_min_freq=200000

GENTLE_FAIR_SLEEPERS=off

ARCH_POWER=on

enable_mask=3

enable_mask_sleep=3

busfreq_up_threshold=75

scaling_max_suspend_freq=800000

scaling_min_suspend_freq=200000

standby_freq=200000

cpu_voltage_switch=on

CPUVOLT1=1400

CPUVOLT2=1375

CPUVOLT3=1300

CPUVOLT4=1275

CPUVOLT5=1250

CPUVOLT6=1175

CPUVOLT7=1150

CPUVOLT8=1075

CPUVOLT9=1050

CPUVOLT10=1000

CPUVOLT11=975

CPUVOLT12=950

CPUVOLT13=925

CPUVOLT14=925

CPUVOLT15=925

CPUVOLT16=900

scaling_governor=darkness

up_threshold=70

up_threshold_at_min_freq=60

sampling_rate=60000

sampling_down_factor=1

freq_step=20

down_differential=5

freq_for_responsiveness=500000

down_threshold=30

cpu_up_rate=10

cpu_down_rate=5

inc_cpu_load_at_min_freq=60

inc_cpu_load=80

dec_cpu_load=80

freq_for_responsiveness_max=1000000

freq_step_at_min_freq=20

freq_up_brake_at_min_freq=50

freq_up_brake=30

freq_step_dec=20

freq_step_dec_at_max_freq=10

up_sf_step=10

down_sf_step=10

hotplug_enable=1

hotplug_freq_fst=500000

hotplug_freq_snd=200000

up_load=65

down_load=30

force_freqs_step=3

sampling_down_max_mom=0

sampling_down_mom_sens=50

up_threshold_hp_fst=68

down_threshold_hp_fst=55

smooth_up=75

freq_limit=0

fast_scaling=0

early_demand=0

grad_up_threshold=50

disable_hotplug=0

scaling_governor_sleep=darkness

up_threshold_sleep=70

up_threshold_at_min_freq_sleep=60

sampling_rate_sleep=80000

sampling_down_factor_sleep=1

freq_step_sleep=20

down_differential_sleep=5

freq_for_responsiveness_sleep=300000

down_threshold_sleep=30

cpu_up_rate_sleep=40

cpu_down_rate_sleep=40

inc_cpu_load_at_min_freq_sleep=60

inc_cpu_load_sleep=80

dec_cpu_load_sleep=80

freq_for_responsiveness_max_sleep=400000

freq_step_at_min_freq_sleep=20

freq_up_brake_at_min_freq_sleep=50

freq_up_brake_sleep=30

freq_step_dec_sleep=10

freq_step_dec_at_max_freq_sleep=10

up_sf_step_sleep=25

down_sf_step_sleep=25

hotplug_freq_fst_sleep=500000

hotplug_freq_snd_sleep=200000

up_load_sleep=65

down_load_sleep=30

sampling_down_max_mom_sleep=0

sampling_down_mom_sens_sleep=50

up_threshold_hp_fst_sleep=68

down_threshold_hp_fst_sleep=55

smooth_up_sleep=100

freq_limit_sleep=0

fast_scaling_sleep=0

early_demand_sleep=0

grad_up_threshold_sleep=50

disable_hotplug_sleep=0

cortexbrain_read_ahead_kb=1024

scheduler=deadline

sleep_scheduler=noop

auto_oom=on

oom_config_screen_on=default

oom_config_screen_off=default

dirty_background_ratio=35

dirty_ratio=70

zramtweaks=4

swappiness=0

cortexbrain_uksm_control=off

mali_use_vpll=off

mali_gpu_utilization_timeout=500

GPUFREQ1=108

GPUFREQ2=160

GPUFREQ3=160

GPUFREQ4=200

GPUFREQ5=267

GPUVOLT1=900

GPUVOLT2=900

GPUVOLT3=900

GPUVOLT4=950

GPUVOLT5=1000

GPUTHRESHOLD1UP=80

GPUTHRESHOLD2DOWN=60

GPUTHRESHOLD2UP=80

GPUTHRESHOLD3DOWN=60

GPUTHRESHOLD3UP=80

GPUTHRESHOLD4DOWN=60

GPUTHRESHOLD4UP=80

GPUTHRESHOLD5DOWN=60

min_bl=30

min_gamma=1

max_gamma=23

power_reduce=on

user_cb=127

user_cr=127

mdniemod=on

user_gamma_adjust=0

fbearlysuspend_delay0=50

pwm_val=75

tsp_slide2wake=off

mdnie_shortcut_enabled=off

negative_tweak=1

gesture_tweak=off

TOUCHSCREEN1=50

TOUCHSCREEN2=40

TOUCHSCREEN3=12

TOUCHSCREEN4=53

TOUCHSCREEN5=38

TOUCHSCREEN6=47

TOUCHSCREEN7=50

TOUCHSCREEN8=12

TOUCHSCREEN9=42

TOUCHSCREEN10=47

jb_sound_fix=off

soundgasm_hp=3

sound_volume1=0

sound_volume4=0

sound_volume2=0

sound_volume3=0

notification_enabled=on

bln_switch=0

notification_timeout=0

led_timeout_ms=1000

blnww=on

led_fadeout=on

led_on_touch=off

touchkey_brightness=2850

dyn_brightness=off

crontab=off

cron_drop_cache=off

ad_block_update=off

cron_db_optimizing=off

cron_clear_app_cache=off

cron_fix_permissions=off

cron_zipalign=off

gpsregion=No_GPS_Zone_changes

usb_mode=default

auto_mount_sd=on

chargecurrent1=650

chargecurrent2=650

chargecurrent3=450

default_stats=off

init_d=off

logger=off

install_root=off

cortexbrain_background_process=1

android_logger=disabled

cortexbrain_auto_tweak_mobile=off

cortexbrain_auto_tweak_mobile_sleep_delay=30

cortexbrain_auto_tweak_wifi=off

cortexbrain_auto_tweak_wifi_sleep_delay=30

cortexbrain_firewall=on

cortexbrain_tcp=on

cortexbrain_tcp_ram=off

cortexbrain_ipv6=off

cortexbrain_cpu=on

cortexbrain_memory=on

cortexbrain_battery=on

cortexbrain_eco=off

cortexbrain_eco_level=5

cortexbrain_system=on

cortexbrain_kernel_tweaks=on

cortexbrain_io=on

usbserial_module=off

usbnet_module=off

cifs_module=off

eds_module=off

defaultrom=0