[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

Prattham

Senior Member
Sep 6, 2013
4,061
1,211
253
New Delhi
FreedomOS 1.7 (OOS 3.2.8) + Xposed Greenify powered by last ElementalX kernel boosted by GhostPepper 2.0. That active drain is insane tbh, spec that I'm using 2 sim cards. I could live with this battery on dual sim phone :)
Thanks for the scripts fellas and wish you all Happy new year!

http://imgur.com/a/GTDlr
Can you tell your Greenify settings

Sent from my OnePlus3 using XDA Labs
 

kash296

Senior Member
Sep 2, 2014
523
220
0
Bridgewater
That's the thing, I don't game or do any heavy work. 80% I'm browsing and the other 20% of the time I'm on YouTube.

---------- Post added at 09:00 PM ---------- Previous post was at 08:58 PM ----------


Can you tell me step by step what you do to apply ghostpepper? Maybe something is creating a problem
If you used the AKT script i don't think you should have any issues at all. Like i mentioned, your usage matters, you seem to be a moderate user, and the ROM+Kernel also matters. Sometimes a dirty flash, or deleting of a system app causes unwanted battery drain. Freezing system apps is a lot better. Doing this doesn't necessarily improve your SOT, but it can. Plus, you didn't mention anything about your idle drain. You might be actually having decent SOT with heavy idle/standby drain. I recommend you give more info, which would help the rest of us here to understand your problem and then offer some help, if it can be offered.
 

TanayPoddar56

Senior Member
Nov 3, 2014
246
87
0
Jaipur
If you used the AKT script i don't think you should have any issues at all. Like i mentioned, your usage matters, you seem to be a moderate user, and the ROM+Kernel also matters. Sometimes a dirty flash, or deleting of a system app causes unwanted battery drain. Freezing system apps is a lot better. Doing this doesn't necessarily improve your SOT, but it can. Plus, you didn't mention anything about your idle drain. You might be actually having decent SOT with heavy idle/standby drain. I recommend you give more info, which would help the rest of us here to understand your problem and then offer some help, if it can be offered.
Deleting Xposed somehow solved the issue. Battery is great now and im really happy with ghostpepper. Thanks!
 

Mostafa Wael

Recognized Contributor
Jan 11, 2013
6,106
5,564
0
22
Gotham
Burnout PR3

After the exceedingly fast performance achieved on the last Burnout_PR2_golden, I turned my head to the more recent version of our platform, and that is Nougat. And after assessing the situation of Nougat with Burnout PR2 I found out that I was overkilling it on Nougat. In car analogy (my favourite! :D), Burnout_PR2 in Nougat was like using Nitrous bottles blindly all over the track, which made me "over rev" the car while shifting, and lose control in the corners (games). While the latter may not be of a serious problem (since some users may just go in straights and not in the gaming corners), the former was a serious problem, and car enthusiasts may know that over revving a car in the shifts won't slow you down that much, but it does not make the car reach its utmost peak speed for every shift range, not to mention that it is exceedingly hard on the engine, and we don't want that. For those who just think I was writing some nasty spells, Burnout_PR2 brought the hammer down too much that the phone was using extraordinary power, aiming to achieve the max performance, which was fine on MM (except for gaming), but on Nougat, it was an overkill by far too much to be ignored. After all, Burnout aims at max performance while maintaining decent battery backup so that….you can actually enjoy the profile on the phone in the day and not have your phone down in 30 minutes :D
As for gaming, I am not that much of a gamer, but I have came across a game named "Drive Ahead" and set it as my baseline for tweaking. And to my luck, this game used to stick at max freq on the big cores in MM, so I went ahead and tweaked for efficiency based on the stats reported after 15% drain while playing that game. Here is what I achieved with the latest Burnout_PR3 on CM14.1 LineageOS

Burnout_PR2: 15% >> 30 minutes (30%/hr active drain rate)
Burnout_PR3: 15% >> 52 minutes (17-18%/hr active drain rate)
As you can see the latest Burnout_PR3 is 1.6x more efficient than the previous Burnout_PR2, which is something almost miraculous relatively, and that may bring some of you worried wondering "what the heck, Mostafa compromised performance!?" And I tell them not at all, not on my watch :)
Geekbench 4 – single core: 1809
Geekbench 4 – multi core: 4224
AnTuTu 6.2.6: 154k
>> This was using stock CM LAOS kernel with stock clocks, just my Burnout_PR3 added on top.
So here we are, fighting and trying my hardest to improve upon my work and outdo myself, and I am sure I can reach more. Burnout_PR2 may have been brilliant and was a "golden" release, but PR3 is something special. Make sure to check out the new goodies from my friends and colleagues, they have been reaching some milestones as well! :highfive:

Where to get it? Well that will be a surprise...
 

Asiier

Senior Member
Nov 23, 2014
541
1,989
133
Miller's Planet
==================================================================================​
Advanced Kernel Tweaks
~ [A·K·T] ~
All-in-one Project
==================================================================================​

Guys... it's finally done after several months, thousands of line of code and a bunch of beta tests. A·K·T is done and ready to use!!!

But before any further talking, I have to thanks all the people that have made this possible.
Starting with @Senthil360 for working with me on all the coding stuff as well as creating his Nameless Profiles
@Mostafa Wael and @patalao for their fantastic tweaks and helpfulness all along this process
And to all the testers on the official Slack Channel, they are the absolute best and I wish I could name them all as they also deserve their recognition
Without of them, this project couldn't have been possible.

And now, let's get right into the news!!!​

What is AKT and this All-in-One Project?
I'll leave the mic to my buddy @Mostafa Wael and let him explain it:

Mostafa Wael said:
Bearing in mind the noticeable expansion in everyone's profiles, be it to aim for different targets or to improve upon the former profile, the number of profiles done by each of us has extraordinarily increased, resulting in multiple profiles in each category with all of them reaching what they aim for in their own ways.
Since we are all not the same, meaning people can get different results even if they are using the same profile for the same purpose, not to mention that we have moved far away from just tweaking governor settings to almost tweaking every other aspect of the kernel settings, be it HMP scheduling, LMK min free values, I/O scheduler settings and advanced options or other global settings, depending on the Android version installed and the kernel's max frequencies, we decided to make it easier for you (and us) and compile all the scripts in an all-in-one seamless script, making use of the fairly simple command line interface found in Terminal Emulator app, categorizing all the profiles respectively, with a very neat interface layout to make it much easier and more simple to select your profile. This has been worked on for an awful lot of time, and we faced an even more awful lot of issues while debugging and creating this tool.
This has been one of the biggest achievements for all of us, if not the biggest. Introducing Advanced Kernel Tweaks, or rather for short... AKT


How to install:
A flashable zip to be flashed via recovery, which installs scripts of the latest iterations of most profiles (some legacy profiles had to be eliminated for more convenience) and a master script that takes control of all the installed scripts and applies your desired profile at will as soon as you recall it via Terminal Emulator app and get guided by the on-screen instructions.
So to wrap it up:
1- Download the latest AKT_Profile_vX.x.zip file
2- Reboot into TWRP recovery and flash the .zip file
3- After you boot up the phone, leave it to settle for a minute
4- Open up your favorite Terminal Emulator app
5- Grant it superuser permissions by typing in "su" without the quotes
6- After superuser permissions are granted, type in "AKT" without the quotes (yes capitalized)
7- Follow the on-screen instructions and information, don't worry they are very intuitive and easily understandable
8- Profit!​
P.S. AKT displays the already applied profile name if there are any, furthermore, AKT has an option to revert back to stock kernel settings.
And as a gift for the New Year, we are coupling AKT with 3 new iterations of Burnout_PR, X.A.N.A & Zhana and Fusion! Make sure to check out the main post for Xana and Fusion and Burnout for the updated description/changelog for the new profiles.
Happy times everyone!



We will update (ASAP) those posts with the all the needed explanation, changelogs for the profiles and the further updates, not this post!

This means the rest of the profiles and the old updates will be EOL. This doesn't mean you cannot longer use them, only that we won't be giving further updates to as them as we though this new set of profiles are better than the past ones and therefore, we should be centering our attention on them


Changelog:

** Initial Release ** v1.0 Stable

This will be used for the changes done to the script itself, not the profiles.
If you want to check the changes on the profiles visit their post that can be found right above.

** Update to v1.2 **

#Now supporting su.d
#Bug correction
#Updates on FusionB/P and Project Zhana & X.A.N.A
*for more details on them visit their posts*

** Update to v1.3 **

#Bug correction
*Target_loads won't apply If you were UnderClock or OverClock more than 1728 Mhz*
#Modifications on how Input Boost applies, so fewer errors are shown
#Updates on FusionB/P
*for more details on them visit their posts*
#Add FusionC (Battery Oriented)
#Some visual Improvements

** Update to v1.4 BETA **

#Now supporting OP3T / SD821
#Updates on all Profiles for 3T / SD821 (Except for Nameless)
#Updates on X.A.N.A *beta* and Burnout
#Bug Corrections and Fixes

** Update to v1.6 FINAL**
#Changes on how the script works
#Now the zip and app shares directories
#The script will auto remove sleeps after the first installation
#Reapply option, Reapplies the current profile (instantly)
#Updates on all Zhana and X.A.N.A Profile (4.3)
#Updates on Burnout and Fusion Reborn
#Some minor corrections

FAQs

  • Do I have to reapply the tweaks ever time I reboot my device?
    - Yes and No. A·K·T supports both init.d and su.d, so as long as your kernel supports init.d or su.d (go ask on its thread not here) or you use init.d emulation via KA or similar, you should not need to reapply them on boot.
    Although I recommend manually reapplying it because, sometimes, they might nor get applied correctly because how both init.d and su.d works.
    Also, you can use Tasker by following this
  • I'm getting X error in X line
    - Okay, I'll need a screenshot of the error shown on the terminal app as well as your current ROM and Kernel
  • I'm getting errors in the whole script
    - Make sure you have given root permissions by typing "su" in the terminal
  • I have further questions
    - Check the FAQs on the OP
    - Read this whole post


=== DOWNLOADS ===


~ [A·K·T] Profiles ~
~ v1.6 FINAL ~


# [A·K·T] Profiles APK #

Old Downloads:

~ [A·K·T] Profiles v1.4 Beta 5 ~
~ [A·K·T] Profiles v1.3 Stable ~
~ [A·K·T] Profiles v1.2 Stable ~
~ [A·K·T] Profiles v1.0 Stable ~


====================================================================

VOTE FOR YOUR FAVORITE PROFILE HERE


Make sure to check our Slack Channel for all the BETA updates and staying tune with the latest news!!
And make sure to give a BIG Thanks to this post
 
Last edited:

Giocarro

Senior Member
Dec 11, 2012
2,061
970
193
Thank you guys for this excellent work.

Mamma mia, running AKT script for the first time is like opening up a Christmas gift!

Just applied Burnout PR3 profile, will test a bit and report back my experience.

One question: do we have to apply the profile again at each reboot, or do settings stick?

Cheers!
 

xkhen0017

Senior Member
Jun 27, 2015
153
64
58
Thank you guys for this excellent work.

Mamma mia, running AKT script for the first time is like opening up a Christmas gift!

Just applied Burnout PR3 profile, will test a bit and report back my experience.

One question: do we have to apply the profile again at each reboot, or do settings stick?

Cheers!
If i were you, its good to re-apply the profile. To lessen conflicts. :)
 

ManuBBXX

Senior Member
May 18, 2013
610
111
0
Aix en provence
Merry Christmas everyone! :cool:
Burnout_PR2_golden



IMPORTANT NOTE! make sure the I/O scheduler is set to CFQ at 512 KB read ahead buffer size.

Some Stats:
For those who want them, tho it is not definitive that high scores necessarily mean better user experience, but here they are attached. The higher Geekbench scores are for Nougat. I used EX Kernel overclocked all the time.

This profile aims for ULTIMATE performance, battery life may be nice and may be not that nice, depends on the usage patterns.

Hope you enjoy this profile as much as I do.

And once again, Merry Christmas!! :)
Didn't came to this thread since a long time..
sorry for the noobish. Loading the script is enough ? What profile to choose in EXKM manager ? I used to load burnout_extreme_rc4.1 since today..
 

Mostafa Wael

Recognized Contributor
Jan 11, 2013
6,106
5,564
0
22
Gotham
Sorry in advance, I hate to be "that guy" but I searched and couldn't find a definitive answer. Is akt compatible with oos 4?
So far it works good with OOS 4
we haven't received any issues with OOS 4

---------- Post added at 02:21 PM ---------- Previous post was at 02:12 PM ----------

....

One question: do we have to apply the profile again at each reboot, or do settings stick?

Cheers!
Well AKT does apply the selected profile on boot via pasting a script in /system/etc/init.d , but sadly sometimes it fails or if I were you i would re-apply the profile after boot just to be sure as @xkhen0017 said ;)
 

Asiier

Senior Member
Nov 23, 2014
541
1,989
133
Miller's Planet
Hi guys,I flashed akt successfully in twrp,but in the emulator app after su then AKT It shows Not Found @Asiier
Then it doesn't seem to have been installed correctly.

What you can do:
  1. Re-flash the .zip file and try again
  2. Change your terminal app that might be causing problems
  3. If nothing of this works, extract the file and copy the "system" file that can be found there your /root folder. Then give permissions 0777 to /system/bin/AKT and /system/etc/AKT (the whole folder and all the files inside)

Also provide to use your current ROM and Kernel
 
  • Like
Reactions: Raednor
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