[AKT] Advanced Kernel Tweaks v1.6 FINAL | Insane Battery & Performance(SD820/1|OP3/T)

Which tweak do you use or prefer?

  • GhostPepper

    Votes: 312 21.6%
  • HawkTail

    Votes: 50 3.5%
  • HawkPepper

    Votes: 142 9.8%
  • Kestrel

    Votes: 21 1.5%
  • FairPark

    Votes: 130 9.0%
  • Fusion_B_Delta

    Votes: 53 3.7%
  • Fusion_Speed

    Votes: 56 3.9%
  • Cold_Fusion

    Votes: 25 1.7%
  • Shotgun

    Votes: 83 5.8%
  • Project Zhana

    Votes: 685 47.5%

  • Total voters
    1,442

Mostafa Wael

Recognized Contributor
Jan 11, 2013
6,106
5,564
0
22
Gotham
Compatible with OnePlus 3?
-> Hell yeah!
Compatible with OnePlus 3T, other S820/S821 equipped phones?
-> Uhm,..maybe. We are not directly supporting those phones (yet) but since they share the same SoC (maybe S821 having diff clock steps), it can be effective to a great extent.
Compatible with Nexus 6P, any other phones with SoCs other than S820/S821?
-> Hell NO!

That's the key to this project. Very simple I am guessing :)
 
Last edited:

Asiier

Senior Member
Nov 23, 2014
541
1,989
133
Miller's Planet
hi all,

question.. do i need to always activate using terminal every time i reboot? anyway to auto apply the settings? thanks
If you use init.d emulation with apps like KA it shouldn't be necesary, although I still recommend to reapply them since init.d can be messy sometimes

I think what he meant is that there are a few errors when trying to apply profiles while using Sultan's CM13.
Code:
--------------------------------------------------------
Applying Project X.A.N.A (Battery variant) v4.0
Advanced Kernel Settings
--------------------------------------------------------
Author: Asiier
Settings By: Asiier
Device: One Plus 3
Codename: Project X.A.N.A (BT)
Build Status: Stable
Last Updated: 01/01/2017
For more information go to the XDA theard
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Checking Android version...
Android Marshmallow 6.0.1 detected!
MM detected... Applying proper settings
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Applying settings to LITTLE Cluster...
====================================================
Do not underclock!!! Set the clock speed to max and re-run the script.
====================================================
Applying settings to BIG Cluster
====================================================
Do not underclock!!! Set the clock speed to max and re-run the script.
====================================================
==========================================
Checking ROM...
CM Based ROM detected
Applying appropriate values.
Enabling Input Boost at 556 MHz for the LITTLE cluster and at 0 MHz for the BIG Cluster
chmod: /sys/module/cpu_boost/parameters/input_boost_freq: No such file or directory
PX_battery[184]: can't create /sys/module/cpu_boost/parameters/input_boost_freq: No such file or directory
chmod: /sys/module/cpu_boost/parameters/boost_ms: No such file or directory
PX_battery[184]: can't create /sys/module/cpu_boost/parameters/boost_ms: No such file or directory
chmod: /sys/module/cpu_boost/parameters/input_boost_ms: No such file or directory
PX_battery[184]: can't create /sys/module/cpu_boost/parameters/input_boost_ms: No such file or directory
==========================================
Disabling TouchBoost
*Not supported for your current Kernel*
Disabling BCL and Removing Perfd
PX_battery[197]: can't create /sys/devices/soc/soc:qcom,bcl/mode: Permission denied
Disabling Aggressive CPU Thermal Throttling
PX_battery[200]: can't create /sys/module/msm_thermal/core_control/enabled: No such file or directory
PX_battery[201]: can't create /sys/module/msm_thermal/parameters/enabled: No such file or directory
Tweaking HMP Scheduler for correcting BIG Cluster utilization
==========================================
Tweaking other various Settings
·I/O Values
ZEN not avalible, setting CFQ instead...
Changing SDA block I/O scheduler

Changing SDB block I/O scheduler

Changing SDC block I/O scheduler

Changing SDD block I/O scheduler

Changing SDE block I/O scheduler

·Memory Values
·TCP Values
westwood reno
GPU Underclocking
------------------------------------------------------------
Project X.A.N.A v4.0 Successfully Applied!
You may now tweak them further
using EXKM or Kernel Adiutor
------------------------------------------------------------

 Done,  this will be automatically closed...
Oh and originally the scripts won't detect Sultan's CM13 as a CM-based ROM and therefore applies values for AOSP-based ROMs. This is because the scripts check for "userdebug" in the build.prop but Sultan's ROM is based off stable branches and has only a "user"-build.
Maybe you could edit the scripts to include Sultan's CM when checking whether it has to apply CM-based values or AOSP-based ones.


Are you using the stock kernel that comes with Sultan's ROM or are you using any custom kernel?
Well, those errors are a just minor thing of missing directories, nothing to worry about.

You have to worry about it's the Underclock thing, as the target_loads won't get applied unless you don't underclock

And I'll take into consideration changing things for Sultan's ROM

Can I use this script on Zuk Z2?
Yes, although I won't be as optimized as on the OP3

As long it's a phone with Snapdragon 820 you should be fine
 
Last edited:
  • Like
Reactions: leo4b

leo4b

Senior Member
Jan 16, 2012
89
7
0
Are you serious? Before you ask, so please read this thread from the beginning.
Yes, same SoC, thats why i asked for.

If you use init.d emulation with apps like KA it shouldn't be necesary, although I still recommend to reapply them since init.d can be messy sometimes



Well, those errors are a just minor thing of missing directories, nothing to worry about.

You have to worry about it's the Underclock thing, as the target_loads won't get applied unless you don't underclock

And I'll take into consideration changing things for Sultan's ROM



Yes, although I won't be as optimized as on the OP3

As long it's a phone with Snapdragon 820 you should be fine
Tks. Will try it :p
 

smk513

Senior Member
Aug 14, 2016
375
131
43
Seoul
currently using rom Sultan CM13.
Can I revert to the default kernel(Sultan CM13) value by clearing the AKT Init.d script and rebooting?
(because Disable Tweak AKT menu is set to the value of the EX kernel.)
 
Last edited:

lekronop

Member
Jul 30, 2016
41
15
8
Well, those errors are a just minor thing of missing directories, nothing to worry about.
You have to worry about it's the Underclock thing, as the target_loads won't get applied unless you don't underclock
And I'll take into consideration changing things for Sultan's ROM
I'm not using any of your scripts at the moment, just applied it once to generate a logfile to show you the errors. If I decide to switch back to Project XANA, I would of course remove the underclock before.
But nice to hear that these are only minor errors. I thought that these errors mean that the script can't set those values and therefore there are few original values left while the rest is modified by your script.
That's the reason I was not using AKT with Sultan's ROM although I really would like to..
 

1+3_FA

Senior Member
Nov 19, 2016
273
107
0
Huhu my beloved devs :D


Whats with an app of "AKT" (to solve The problem of re-scripting Akt after each reboot) which grants itself root permission after reboot and rescript in background ?

No idea of programming, just a suggestion :)
 

Squabl

Senior Member
Jun 21, 2014
297
125
0
Huhu my beloved devs :D


Whats with an app of "AKT" (to solve The problem of re-scripting Akt after each reboot) which grants itself root permission after reboot and rescript in background ?

No idea of programming, just a suggestion :)
Would it be possible to do it with Tasker at the moment? Could someone help to make the profile if it's possible? :)
 

Asiier

Senior Member
Nov 23, 2014
541
1,989
133
Miller's Planet
Huhu my beloved devs :D


Whats with an app of "AKT" (to solve The problem of re-scripting Akt after each reboot) which grants itself root permission after reboot and rescript in background ?

No idea of programming, just a suggestion :)
Would it be possible to do it with Tasker at the moment? Could someone help to make the profile if it's possible? :)

Pretty easy, actually with tasker the profile seems to be applied fine after boot.

Profile "AKT Boot" --> Add Event --> Device Boot --> Add new task "Boot" --> Add Action --> Code > Run Shell --> Command "sh /system/etc/init.d/99AKT" without the quotations marks --> Tick "Use Root"

Then make sure Tasker starts on boot and everything should work
 

Squabl

Senior Member
Jun 21, 2014
297
125
0
Pretty easy, actually with tasker the profile seems to be applied fine after boot.

Profile "AKT Boot" --> Add Event --> Device Boot --> Add new task "Boot" --> Add Action --> Code > Run Shell --> Command "sh /system/etc/init.d/99AKT" without the quotations marks --> Tick "Use Root"

Then make sure Tasker starts on boot and everything should work
Thank you very much! I followed your instructions and got it working. Thanks for the clear and easy to follow step by step manual! :)
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone