[ONE General] ZakariyyaaR:
AK 220 Profile - ZakR

I'll make this write-up relatively short. It's mainly aimed at those who liked my previous profiles. Initially it was going to be another extensive write-up where I explained why I tweaked each tunable to the value I changed it to, for a better understanding of those readers who are a little dumbfounded by the difference in custom settings as opposed to stock settings. I did not find another tweaker in my time spent on xda, going in depth in their explanations as I have done. I state this because I found it difficult looking at custom profiles and wondering,

"What the heck did he do that for?" which piqued my curiosity, subsequently making me do a bit of research.

At the end of it I'd have changed the value to my liking because I would have good knowledge of the tunable. My explanations were there with the purpose of telling you what the tunable does and how I've changed it to suit my needs. This meant that if you had disagreed with my tweaked tunable, you could have changed it to your preferences because you would have a little hindsight of the effect of your custom value.

To summarise, even though there are a few changes in the kernel tunables, I shall be making this post short and sweet with little or no explanation. However, if you're curious then shoot me a message/quote me in a post and I'll be sure to get back to you when time permits. Enjoy. (:

Every single device is different. No two devices in the world are truly the same. This profile includes undervolting as I like to venture.

My OnePlus One

Kernel Version: AK V220

UKM Version: UKM V3.8.1.7 Special Edition

ROM: Blisspop V3.1

Build date: 22nd April 2015

GAPPS: Banks Gapps for 5.1

GAPPS Compile date: 15th April 2015

Mods: Viper4Lollipop, Camera Next Mod V22, OPO Stereo sound V3 (thanks Abhi!)

PVS Bin: 4

Speed Bin: 3

Synapse settings

CPU

CPU Minimum Scaling Frequency (MSM Limiter)

CPU0 Minimum Frequency: 422MHz

CPU1 Minimum Frequency: 422MHz

CPU2 Minimum Frequency: 300MHz

CPU3 Minimum Frequency: 300MHz

<!--422MHz on CPU0 & CPU1 because it's a higher idle speed meaning reduced latency. I undervolted to bring the volts consumed by 422MHz equal to the number of volts eaten by 300MHz, thereby reducing latency with equal power consumption-->

CPU Maximum Scaling Frequency

Performance Orientated

CPU0 Maximum Frequency: 2457MHz

CPU1 Maximum Frequency: 2457MHz

CPU2 Maximum Frequency: 1728MHz

CPU3 Maximum Frequency: 1728MHz

<!--1728MHz on CPU2 & CPU3 because it's a lower-high frequency speed meaning reduced power consumption for daily usage. Remember, these are just maximum clock speeds. For better understanding I have attached screenshots from the BetterBatteryStats app. The CPU will not be running at these speeds constantly (unless under load). Want more power? Change CPU2 & CPU3 maximum frequency to 2457MHz-->

Battery Orientated

CPU0 Maximum Frequency: 1958MHz

CPU1 Maximum Frequency: 1958MHz

CPU2 Maximum Frequency: 1497MHz

CPU3 Maximum Frequency: 1497MHz

<!--Better battery life as there is reduced power consumption. Two cores to do tasks faster and two less-power-consuming cores to assist when needed-->

CPU Boost Driver

Performance Orientated

Stock settings

Battery Orientated

CPU0 Input Boost Frequency: 1728MHz

CPU1 Input Boost Frequency: 1728MHz

CPU2 Input Boost Frequency: 1497MHz

CPU3 Input Boost Frequency: 1497MHz

<!--CPU2 & CPU3 is lowered because if you're using the battery orientated settings for maximum frequency then you can't be having the touch input boost frequency higher (1728) than the maximum frequency (1497)-->

All other settings stock including CPU governor and governor tunables

Hotplug

MSM MP Decision

Enabled

Minimum number of CPUs online: 1

Maximum number of CPUs online: 4

Minimum number of CPUs online when screen is off: 2

Down lock duration: 400ms

<!--Just wanted CPU to go offline quicker if it wasn't needed-->

All other settings stock

Thermal

Enable Core Control: On

CPU Voltage

Global undevolt: -20mV

I/O

I/O: deadline

Read Ahead: 256

Add Random: Enabled

<!--For better responses from the system and in some cases added security-->

I/O stats: Disabled

All other settings stock

GPU

GPU Frequency Scaling

Minimum Frequency: 330MHz

Maximum Frequency: 389Mhz

<!--Better performance by reducing the frequency scaling steps. If there's load, scale up to 389MHz. If there's no load, scale down to 330MHz-->

GPU Governor: msn_adreno_tz

Gamma

Values

Contrast: 265

Saturation: 280

Value: 255

CABC Control: Off

All other settings are stock

Sound Control

All three boosts: +2

High Performance Mode: On

Memory

Z-Ram

Compression Algorithm: lz4

Virtual Memory

Drop Caches: Enabled

Extra Free Kilobytes: 24300

Laptop Mode: Enabled

All other settings are stock

Wake

None enabled

Misc

TCP Congestion Control: Westwood

Vibrator Intensity: 20

AC Charge Level: Default

USB Charge Level: Default

ADV

Krait-C Settings: C0-C3 Enabled

Kernel Samepage Merging: Disabled

Arch Power: Disabled

LMK

LMK Profile: Medium

Tools

SELinux status: Permissive

Optimise Databases on every flash

Your mileage may vary. Every device is different. This is my experience and opinions based on extensive research. If I've stated something incorrect or if you have feedback of any sort, please don't hesitate to correct me or tell me.

The Results

I've been using this profile for a day. Just started a fresh battery cycle i.e. Unplugged charger at 100% and used device to send messages, browse for a few minutes and type this write-up out (Took a little over 2 hours as seen by my screenshots (Unplug time - current battery)) for the benefit of a few users. Screenshots attached are of the current battery cycle.

2h and 9 minutes of SOT. Battery level: 79

4h and 31 minutes of SOT. Battery level: 50

The BetterBatteryStats screenshots show the period of time each CPU has been in a state/frequency. From the screenshots the following can be understood:

CPU State: Time Spent:Total Percentage

2.5GHz: 25 minutes: 8%

1.7GHz: 1 hour 25 minutes: 28%

422MHz: 2 hours 40 minutes: 52%

The above are the major frequencies. The others are 0%/1%.

If I have made any mistakes, once again, I reiterate that feel free to correct me. Thank you. Peace. (: