[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
I can find both su.d and init.d folders..in which should I copy the profile then?
If you are using init.d emulation, which is the case since we don't have any kernel that supports init.d, I believe that the init.d folder is used.
But try to place it in both, the worst thing that can happen is that the tweak execute 2 times.

Are you sure ?
Thanks for the links !
Yeah I'm
I mean, for me the are showing
 
  • Like
Reactions: QuantumRZ

Donglip

Senior Member
Mar 14, 2009
325
486
103
Antony
Yeah I'm
I mean, for me the are showing
Not for me. Two blank spaces. But it does't matter thanks to links.
For the moment, and for my usage, I use FairPark as profile and I get a SOT of 9 hours, which is very well : double of my initial SOT.
Thanks for your unvaluable work.
 
Last edited:

cookie1953

Senior Member
Oct 19, 2014
178
38
0
Hi Guys - Noob question. Just started using these Profiles using the purchased EXKM. I take it when I load a profile it takes care of all the various settings in the CPU, Memory etc all I have to do is set to boot everything you have mentioned in post #4?? also it says to disable Touchboost but then again its says set to boot, is that meaning set to boot disabled ?? Thanks Guys
 

Asiier

Senior Member
Nov 23, 2014
541
1,989
133
Miller's Planet
Not for me. Two blank spaces. But it does't matter thanks to links.
For the moment, and for my usage, I use FairPark as profile and I get a SOT of 9 hours, which is very well : double of my initial SOT.
Thanks for your unvaluable work.
WOW!!
I'm so glad to heard that! :good:

And no problem, It's a pleasure for me :D

P.D: I guess your Adobe flash player is not working properly
 
Last edited:

Asiier

Senior Member
Nov 23, 2014
541
1,989
133
Miller's Planet
Hi Guys - Noob question. Just started using these Profiles using the purchased EXKM. I take it when I load a profile it takes care of all the various settings in the CPU, Memory etc all I have to do is set to boot everything you have mentioned in post #4?? also it says to disable Touchboost but then again its says set to boot, is that meaning set to boot disabled ?? Thanks Guys
The setting on boot option is used so you don't lose all what you have set.
So yeah, If you want to keep the settings after every reboot, you should select apply on boot for all of them.
And I don't really understand what you want to know with your last question. For touchboost you should disable and the selesct the "Apply to boot" option, so it gets disable on every boot, If that's what you meant.
 

Stupifier

Senior Member
Jun 8, 2010
1,906
680
133
@Asiier
Just to be clear......To uninstall (removing all effects) of your Project Zhana v3 Script, we just remove the script from init.d folder or NOT run the BASH script. Right? Nothing else required.
 

cookie1953

Senior Member
Oct 19, 2014
178
38
0
The setting on boot option is used so you don't lose all what you have set.
So yeah, If you want to keep the settings after every reboot, you should select apply on boot for all of them.
And I don't really understand what you want to know with your last question. For touchboost you should disable and the selesct the "Apply to boot" option, so it gets disable on every boot, If that's what you meant.
Yes thats it Thanks
 

Asiier

Senior Member
Nov 23, 2014
541
1,989
133
Miller's Planet
@Asiier
Just to be clear......To uninstall (removing all effects) of your Project Zhana v3 Script, we just remove the script from init.d folder or NOT run the BASH script. Right? Nothing else required.
A reboot will reset ALL settings that have been applied.

Just remove the file from init.d so it doesn't execute again and don't execute your self the BASH script.
If you have select the "Apply on boot" option over EXKM, you might need to disable that too and then reboot (Using this option, only the tweaks that can be applied through EXKM will stay)
Nothing else.
 

Stupifier

Senior Member
Jun 8, 2010
1,906
680
133
A reboot will reset ALL settings that have been applied.

Just remove the file from init.d so it doesn't execute again and don't execute your self the BASH script.
If you have select the "Apply on boot" option over EXKM, you might need to disable that too and then reboot (Using this option, only the tweaks that can be applied through EXKM will stay)
Nothing else.
So we should turn off ALL "Apply on Boot" toggles on EXKM before rebooting and using init.d script...... Because I imagine the two would conflict. Right?
 

Asiier

Senior Member
Nov 23, 2014
541
1,989
133
Miller's Planet
So we should turn off ALL "Apply on Boot" toggles on EXKM before rebooting and using init.d script...... Because I imagine the two would conflict. Right?
If you want to remove all settings yes, that will just reset all gov tweaks.
And doesn't really conflict, If EXKM execute first and then INIT.D all settings will be overwrite and viceversa
 

Stupifier

Senior Member
Jun 8, 2010
1,906
680
133
If you want to remove all settings yes, that will just reset all gov tweaks.
And doesn't really conflict, If EXKM execute first and then INIT.D all settings will be overwrite and viceversa
My point is..... How do you know which executes first.... Your init.d script or some user's EXKM settings?

I'd imagine if you want to guarantee your Project Zhana 3.0 settings are applied, people should disable ALL EXKM Apply On Boot Settings..... Because you said EVERYTHING is done in the script.

Does that sound right?

Also, you don't mention Scheduler stuff in your Project Zhana v3 post. Does Project Zhana v3 script change Scheduler and Sched Settings?
 
Last edited:

kash296

Senior Member
Sep 2, 2014
523
220
0
Bridgewater
My point is..... How do you know which executes first.... Your init.d script or some user's EXKM settings?

I'd imagine if you want to guarantee your Project Zhana 3.0 settings are applied, people should disable ALL EXKM Apply On Boot Settings..... Because you said EVERYTHING is done in the script.

Does that sound right?

Also, you don't mention Scheduler stuff in your Project Zhana v3 post. Does Project Zhana v3 script change Scheduler and Sched Settings?
It does, it uses Zen by default. Else noop, from what i remember... and readahead 1024 KB
 

Senthil360

Inactive Recognized Developer
Jun 19, 2015
1,329
3,536
0
Kanyakumari
I glanced at the script code and figured most of it out. I added fsync = Disabled. See how all of this goes in the next day or two.
Beware of disabling fsync, because if you have a kernel panic (sudden reboot), you will loose the data of the foreground apps you were using. For example you'll have to set up whatsapp from the beginning.
 

camdadeye291

Senior Member
May 9, 2012
257
89
0
36
after executing the script from kernel auditor, what about the profile applied on exkm app?

Sent from my ONEPLUS A3003 using Tapatalk
Before running the init.d script in KA I reset EXKM by wiping app data and rebooting the phone. Then I ran the init.d script in KA. I reooted again and after this I went back into EXKM and it looks like it has picked up the settings from the init.d script...
 

Asiier

Senior Member
Nov 23, 2014
541
1,989
133
Miller's Planet
My point is..... How do you know which executes first.... Your init.d script or some user's EXKM settings?

I'd imagine if you want to guarantee your Project Zhana 3.0 settings are applied, people should disable ALL EXKM Apply On Boot Settings..... Because you said EVERYTHING is done in the script.

Does that sound right?

Also, you don't mention Scheduler stuff in your Project Zhana v3 post. Does Project Zhana v3 script change Scheduler and Sched Settings?
Well, all will work better If you disable Applied on boot on EX, so things doesn't messed up.

But for example If init.d executes first and the EX, EX will re-apply the settings that they just have been applied.
The important thing is that init.d gets executed since the rest of the settings need to be applied.

It changes to ZEN and some other Advanced Settings.
If ZEN is not available and you're using CM, the script will set Noop if not CM Based, CFQ.
And then readahead to 1024Kb

It does, it uses Zen by default. Else noop, from what i remember... and readahead 1024 KB
If not CM Based it uses CFQ

What readahead value is considered to be optimal for each type of scheduler?
The scheduler have nothing to do with readahead.
But my recommendation is 1024Kb.
There is a guide that explain all that much better, search it on XDA.
 

Daemos

Senior Member
Dec 1, 2005
676
93
0
Project Zhana v3.0

Well guys, finally, after tons of test and tweaking I come out with Project Zhana in his version 3.0
I hope you guys find it smooth and battery efficient as it's the main goal. Keep in mind that I might release some hotfixes
and other little optimizations since it has only been tested among few people over the Official Slack Channel
With all this been said, let's get into the tweak!!


INIT.D SCRIPT



Hey just one issue, using the init.d script it states:
*Not supported for your current Kernel*
GPU Underclocking

I'm running Offical RR with EX Kernel 0.36 see attached screen shots​
 

Attachments

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