[ONE General] coloured_chalk:
My profile

Hi guys, I want to share my profile. First of all, BIG thanks to [MENTION=4633983]nikhil18[/MENTION] and [MENTION=5165039]Setting.Out[/MENTION] !

But before, DISCLAIMER. Please don't blame me if it don't fits your need, or have broken your phone, or anything. This profile works perfectly for my needs, and it can not work for yours.

I'm open to answer questions about settings, or for critics/discussion of the profile. Welcome :)

Intro:

Why I made my own? Because often, battery profiles are locking down maximal CPU and GPU frequency, and that slows down device a bit. And performance profiles are holding CPU frequency at high level, without real need to.

I wanted to have a performant device, which will not lag, and don't stay on high frequencies with idle load at the same time. I made one, then tested it. Now I'm walking with it around 1 week, and really it's very nice to me.

I'm running Lightning Kernel v53 with Sultan's Marshmallow build.

Actions, for which I optimized for: all animations speeds in DevSettings set to 0.2x. About 80% of the time using device I'm reading articles in Feedly and Chrome.

With lowest brightness and WiFi 7.8% battery is consumed per hour according to BBS (ran about ~65min), looking memes at 9GAG. This is my personal record :laugh:

This is not magic profile that will boost and save battery automatically, user should optimize ROM first.

See battery stats after 2H SOT and night: http://imgur.com/a/fS4O6. May be System is sucking some juice though...

Okay, this is facts about profile:

- Max frequency is not lowered on CPU, as well as GPU

- it stays under low frequencies all the time, ramping it up only on real need - same for GPU and CPU

- Turns off CPU Cores to prevent staying ON with idle load

- touch boost provides smooth scroll, without staying on boost frequency with idle load

- CPU Scheduler is smartmax-eps, CPU Hotplug is MCM, GPU scheduler is simple_ondemand. Schedulers ignore IO load.

- IO Scheduler is Maple, read ahead set to 128kb, IO stats set to OFF

- LMK is a bit permissive

- Tuned VM options, make it a bit more IO bound

- FSync is ON. It provides no noticeable boost in my case, but you can brick ROM just with one freeze. That's not good!

Other settings untouched AFAIK.

And:

- Undervolt is not included (commented out in the script), do it for yourself. Mine is -80 global (-125 for 268 MGHz with step of 5). I have PVS 8, Speed 3

Note:

- If device lags while scrolling, increase Input Boost Interval (default is 30ms). Increase it by step of 10, until you experience smooth scroll.

- If you experience long wakeups after undervolt, then voltage is too way low. Make it higher.

Profile screenshots: https://drive.google.com/open?id=0B8Hf_zh-EAEUTVpaLVB1czFxa1k

I'm really sorry for Russian language at screenshots. I've set forced english in KA settings, but it renders RU anyway.

Installation:

There is two types of distribution.

Set set delay in KA settings to some value to prevent F*CKUP. Mine is 40 seconds.

First:

Like in the first post of current thread. Instructions are same.

Profile.sh file: https://gist.github.com/ColCh/e9fe6b1cf787da9bc7ed673dc9c2230e#file-profile-sh

Second. Profile method described by [MENTION=5165039]Setting.Out[/MENTION] in this post. Direct link to post.

Screenshot of profiles list: http://imgur.com/a/aCxIX

Profiles.json file: https://gist.github.com/ColCh/e9fe6b1cf787da9bc7ed673dc9c2230e#file-profiles-json

WHICH PROFILES TO RUN:

Other, Hotplug, GPU, Smartmax

. Others can be safely removed.

Personally, I don't apply CPU options and voltage on boot, to prevent bootloops.