[Nexus 6P General] .hEiMDaLL.:
[PROFILE]ÆSIR Governor Tweaks by .HEIMDALL. (2016/02/27)

ÆSIR Governor Tweaks by .HEIMDALL.

This profile is was based on DarkSpice by @xSilas43, the excellent guide by @soniCron, the work of @Alcolawl, @flar2, @Corndude and all the others I forgot to mention

SYNOPSIS

This post needs an update (planned for 2016/03/01).

Update delayed. Quite busy atm.

Please be patient. All information you need is noted below!

These profiles are made to be very battery friendly with great responsiveness/snappyness!

They are originally for the Nexus 6P, but there is a 5X Version available, too. I can't guarantee it performs the same as on the 6P, because I don't own that device to test it.

So I'm relying on your feedback there.

HEIMDALL: interactive / interactive

VIDAR: interactive / elementalx

LOKI: elementalx / interactive

Some stats: (HEIMDALL v3 - outdated since 27.02.2016

battery friendly and snappy

Idle: 384/384

Input Boost: 600MHz (Cluster 1) 40ms

Music Playback: average @ 384/384 (tested in Amazon Prime Music and PowerAmp with V4A enabled)

YouTube Playback: average @ 600-672/384

Moderate Scrolling: average @ 600-672 (tested in Tapatalk, NovaLauncher, Xposed installer, GMail)

Typing: average @ 600-672/384 (tested in WhatsApp, AOSP Messaging, Google Messaging)

Detailed comparison-table (Stock, HEIMDALL v3, GhostPepper 1.1, DarkSpiceR7.5, ButterFly):

(based on my personal usage habits - yours might differ!)

Why yet-another-other-... governor profile!?

Yeah, you are right, why another one? There are already a few really good ones out there. I used GhostPepper for a long time and switched to DarkSpice some time ago.

Both were nearly perfect for my usage pattern and I got good SOT times and performance (I preferred DarkSpice a little). Well, "nearly perfect" isn't "perfect" you might say, and that's why I tried to optimize the profiles to fit my (personal) needs.

But what about speeeeed?!

Those profiles should be very responsive without compromising your battery life too much. But I'd suggest you just try it...

;)

SUPPORTED DEVICES

I wrote this profiles for the Nexus 6P (SnapDragon™ 810) - tested with PureNexus and ElementalX Kernel.

A version for the Nexus 5X (SnapDragon™ 808) is available since v2. I tried to keep it as close as possible to my original 6P profile, but giving attention to the HexaCore Design of the 808.

I can't test the 5X Version because I don't own that device. I'm relying on your feedback for that device.

This should probably work on other devices with the same SoC (SnapDragon™ 810/808), as long as ROM and kernel support the settings.

LOKI and VIDAR are ElementalX governor profiles ONLY!!!

DO NOT USE THEM WITH A KERNEL THAT DOESN'T HAVE ELEMENTALX BUILT IN!

DOWNLOAD

The newest version of HEIMDALL is v4 (2016/02/27)

The newest version of LOKI is v1 (2016/02/27)

The newest version of VIDAR is v1 (2016/02/27)

You can download the profiles from here.

Feel free to test this profile. Would be great if you could

report back and share your findings

about performance and battery usage.

I'm gonna try to tweak this a little more while using it.

ATTENTION:

Because of the Dual-Cluster InputBoost make sure inputboost is enabled and input_boost_freq and input_boost_ms are set (apply on boot for all!!!)

WHEN YOU SWITCH BETWEEN MY (or any other) PROFILES IN EXKM YOU NEED TO APPLY THEM TWICE!!!

Because of a bug(?) in EXKM, changing the governor and values at the same time could prevent the values from being applied.

To apply the profiles successfully you MUST

1. go back to CPU after applying the profile for the first time

2. reopen Governor-Options and load the profile again.

3. all values should be set now.

Changelog

HEIMDALL v1 (2016/02/20)

Initial Version (based on DarkSpiceBeta/R6)

HEIMDALL v1.1 (2016/02/20)

tweaked above_highspeed_delay and timer_rate for battery

HEIMDALL v2 (2016/02/21)

tweaked above_highspeed_delay, timer_rate, go_highspeed_freq (Cluster 2), ...

added Nexus 5X Version (testing is up to you, I don't own that device)

HEIMDALL v3 (2016/02/22)

added IO Scheduler and Read ahead values

added commands to activate all available cores

added input_boost_enabled=1

added termal control settings to profiles

tweaked min_sample_time, target_loads, timer_rate, above_hispeed_delay

"beautified" .sh Script

set input boost for 5X to 672MHz as it seems to use the same voltage as 600MHz - please let me know if im wrong

synchronized .sh and profile settings

HEIMDALL v4 (2016/02/27)

fixed errors in .sh files

fixed frequencies

added max_freq_hysteresis

tweak go_hispeed_load, hispeed_freq, target_loads, timer_rate, min_sample_time, above_hispeed_delay

introduced dual-cluster inputboost

LOKI v1 (2016/02/27)

initial release

Cluster 1 with elementalx governor

based on HEIMDALL v4 settings for Cluster 2

VIDAR v1 (2016/02/27)

initial release

Cluster 2 with elementalx governor

based on HEIMDALL v4 settings for Cluster 1

HOW TO INSTALL?

A. Using EXKM (if you have problems with this one, use the .sh file - suggested!)

the file without extension is the actual EXKM profile. Download it and place it under /storage/emulated/0/ElementalX/gov_profiles/

open EXKM

go to CPU -> Governor-Options

load the profile you downloaded

click "apply on boot"

make sure touchboost is off (apply on boot!!!)

make sure min CPU freq ist set to 384MHz for Cluster 2 (apply on boot!!!)

make sure inputboost is enabled, input_boost_freq and input_boost_ms are set (apply on boot for all!!!)

DONE!

you only need to load the profile once (for one cluster, doesn't matter if little or big). All other values get set automatically.

B. Using a terminal/shell (suggested)

download the .sh file

use your favorite root file-manager or terminal emulator to run the .sh file under su (root) context.

Check the values in EXKM (or any other supported kernel management app)

make sure touchboost is off (apply on boot!!!)

make sure min CPU freq ist set to 384MHz on both Clusters (apply on boot!!!)

make sure inputboost is enabled, input_boost_freq and input_boost_ms are set (apply on boot for all!!!)

DONE!

You can save the profile using EXKM to change it to your liking

(remember: EXKM doesn't save all settings of this profile, so if you change something and reflash your ROM, you need to run the .sh again before applying your changed profile)

ATTENTION AGAIN:

Because of the Dual-Cluster InputBoost make sure inputboost is enabled and input_boost_freq and input_boost_ms are set (apply on boot for all!!!)

WHEN YOU SWITCH BETWEEN MY (or any other) PROFILES IN EXKM YOU NEED TO APPLY THEM TWICE!!!

Because of a bug(?) in EXKM, changing the governor and values at the same time could prevent the values from being applied.

To apply the profiles successfully you MUST

1. go back to CPU after applying the profile for the first time

2. reopen Governor-Options and load the profile again.

3. all values should be set now.

The "I tried your profile, but ..."-section

At first, this is just a profile (tweaks) for the interactive governor. If you expierience any unexpected fc, reboots, massive stuttering/lagging, etc, this script/profile ist most likely not responsible for that.

My phone uses still to much battery

Have you disabled touchboost?

Set brightness to a lower level.

Use a dark / black theme

Don't play games all day ;)

Get rid of unnecessary (background-)apps

Try another profile

Check the links in my signature, there might be something that helps you.

My phone is lagging

Get rid of unnecessary (background-)apps

Try a different IO-Scheduler

Try another profile

Check the links in my signature, there might be something that helps you.

Screenshots

5 minutes idle time with screen on. DarkSpiceR6 compared to HEIMDALL v1.1

CPU frequency and usage stats (updated regularly)