[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

Asiier

Senior Member
Nov 23, 2014
541
1,989
133
Miller's Planet
@Asiier, Just a question about the AKT scripts.

When testing the Ghostpepper script with Blu-Spark 41, I noticed it would apply the overclocked settings to the clusters, even though I was originally running at stock frequencies.

Is this because it checks for overclocking by reading cpuinfo_max_freq? In Blu-Spark overclocking is unlocked, so cpuinfo_max_freq contains the highest possible value even though I am actually running stock freqs.

When modifying the script for the OP3T, I just duplicated the lower frequencies (adapted for OP3T) in the stock / overclocked sections. I'm sure there's a way to get it working properly, but I can't figure it out yet.
Yeah, it checks for the cpu_max although this have been changed on version 1.3

I'll take a look at it, as I already have some ideas

And check your email ;)
 
  • Like
Reactions: fossean

Mostafa Wael

Recognized Contributor
Jan 11, 2013
6,106
5,564
0
22
Gotham
I would like to add something to @Asiier 's extremely well-written and clear announcement.
AKT will NOT work on the HTC 10, even though it has the same SoC, because:
1- HTC's Sense Overlay is more like an Android of its own (truth to be said, Sense is incredibly well optimised)
2- HTC's proprietary pnpmgr engine is too intrusive.

Now for those who want to dive into the root of the things, I will gratefully elaborate.

HTC's Sense
This may sound a bit weird, but it is more or less the same reason we say "AKT will work on other S820 devices, just not as optimised as it runs on the OP3". It all comes down to the OEM's so-called Overlay. Even on the OP3, there is slight difference between how the profiles behave on OOS and on LAOS, but that margin of difference does not disturb the results that much to make us decide that we should split the profiles settings to OOS and LAOS specific groups. But when it comes to entirely changing the phones, this margin does get noticeable, making the profiles not 100% in their specified zone. So, HTC's sense is nothing out of the ordinary here, it is the 2nd reason where it raises eyebrows.

HTC's proprietary pnpmgr engine
This is the main reason for incompatibility. HTC makes use of an internal proprietary engine named "PnPmgr" (Power 'n Performance manager) that I have tracked its behavior before on my previous phone HTC One M9 and wrote my observations here. In essence, it instantaneously alters the CPU governor settings per specific scenarios in an attempt of improving the user experience, as well as controlling the thermal throttling policies. While that may sound golden, it actually isn't that intelligent or sophisticated enough to provide a flawless user experience (at least from what I experienced in the M9 days), and since it alters the CPU gov settings and the HMP sched settings, it defeats the whole purpose of AKT. Of course if you disable the pnpmgr you can use AKT freely, but usually that comes with some byproducts like excessive heat (since the thermal throttling is discarded as well) and some unknown byproducts. So HTC 10 users are better off making use of other solutions available. One of which i like is @ivicask PnP mod, which you can check out here (it definitely walks the extra mile with PnP :good: )


EDIT: looks like we were greatly inspiring @RogerF81 with our work, and a fork has been released for the HTC 10, check out the thread here for more details (and more fun I guess :D ) Thank you Roger!
 
Last edited:

1+3_FA

Senior Member
Nov 19, 2016
273
107
0
Just tried to flash the boot.img in twrp but resulted in a bootloop. So i had to dirtyflash my rom to get the stock kernel.
I did these steps:
1.Wipe cache and dalvik
2. Flash boot.img as boot in twrp
3. Flash your kernel (have you choosen the right one in xceed thread?)
4. Reboot to System

Which ROM are you using?
If you have a CM/LineageOS-based one, use this kernel version:
https://github.com/zeroblade1984/an...eases/download/Nougat-BLD1/LOS14-OP3-bld1.zip
 
Last edited:

puschkin

Senior Member
Jun 24, 2008
291
54
48
Horn
I did these steps:
1.Wipe cache and dalvik
2. Flash boot.img as boot in twrp
3. Flash your kernel (have you choosen the right one in xceed thread?)
4. Reboot to System

Which ROM are you using?
If you have a CM/LineageOS-based one, use this kernel version:
https://github.com/zeroblade1984/an...eases/download/Nougat-BLD1/LOS14-OP3-bld1.zip
Just use experience rom based on oos 4.02. But i think i did it wrong. I am on bluespark kernel and i want to change to exkernel. So i have to flash boot.img in twrp and right after flash exkernel and then reboot system?
 

kash296

Senior Member
Sep 2, 2014
523
220
0
Bridgewater
Dude. The tweaks should work fine with all kernels, as long as you are using the interactive governor. Something which is mentioned in the OP of this thread. Anyway, you can use the AKT app, try whichever profiles suit your usage, be it a balanced, or battery oriented, or performance profile. I just flashed Franco's R9 again FYI, and it's good. The stock settings of the kernels are good enough, but should you wanna mix things, the AKT profiles will help you. It won't affect your ROM, or apps in anyway. So enjoy the good work done by the guys in this thread. :)

P.S don't ask about AKT in the threads of any ROM or kernel ? it's disrespectful to the devs and maintainers. I'm not just pinpointing you, but many others who tend to do so. :D
 

1+3_FA

Senior Member
Nov 19, 2016
273
107
0
Dude. The tweaks should work fine with all kernels, as long as you are using the interactive governor. Something which is mentioned in the OP of this thread. Anyway, you can use the AKT app, try whichever profiles suit your usage, be it a balanced, or battery oriented, or performance profile. I just flashed Franco's R9 again FYI, and it's good. The stock settings of the kernels are good enough, but should you wanna mix things, the AKT profiles will help you. It won't affect your ROM, or apps in anyway. So enjoy the good work done by the guys in this thread. :)

P.S don't ask about AKT in the threads of any ROM or kernel ? it's disrespectful to the devs and maintainers. I'm not just pinpointing you, but many others who tend to do so. :D
Thanks.

Yes. I know this issue of disrespecting, but where should I ask my questions then ? :confused:

If devs are offended cause asking one little question wheater a kernel X and a tweak Y fits together or not... Sorry this is no Promotion of a Rom X in ROM-thread Y.

I think we have to differntiate this :)

I just wanted to know if a "legendary battery life kernel" and a awesome battery tweak give ultra long battery life.
 

kash296

Senior Member
Sep 2, 2014
523
220
0
Bridgewater
Thanks.

Yes. I know this issue of disrespecting, but where should I ask my questions then ? :confused:

If devs are offended cause asking one little question wheater a kernel X and a tweak Y fits together or not... Sorry this is no Promotion of a Rom X in ROM-thread Y.

I think we have to differntiate this :)

I just wanted to know if a "legendary battery life kernel" and a awesome battery tweak give ultra long battery life.
Tbh it doesn't make a difference to me. But fact of the matter is it still doesn't seem right. And many of us share that opinion. Now if you had a question about how AKT works on a kernel or ROM asking that here would give better answers. That's my point. :)
 

1+3_FA

Senior Member
Nov 19, 2016
273
107
0
Tbh it doesn't make a difference to me. But fact of the matter is it still doesn't seem right. And many of us share that opinion. Now if you had a question about how AKT works on a kernel or ROM asking that here would give better answers. That's my point. :)
Ok, may I have to retract my point.
I didnt know that we strictly separate issues in xda, although they rank to one topic (battery life)
I thought this is one big family :angel:
 
  • Like
Reactions: kash296
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