[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

Stupifier

Senior Member
Jun 8, 2010
1,906
680
133
I'd like to release my AKT Profiles App [ROOT]

blah blah blah (no disrespect)
@mrcigi
Think you could add some Broadcast Intents that could allow for Tasker hooks? In other words, make a way for us to hotswap profiles using Tasker? That would be KILLER!
(The easiest implementation is adding broadcast intents)
 

Asiier

Senior Member
Nov 23, 2014
541
1,989
133
Miller's Planet
@mrcigi
Possible that it could be a problem in your app? I'm using the same profile that I used with the AKT script (GosthPepper), but with application lags much more.
Thank you.
Lag or delay on the app occurs because of the sleep() or the delay caused by the profile script at each application.

Its better if the pause are removed so the delay on the app be gone.

-XK
Yes, @xkhen0017 it's right.
The sleeps are there for you guys to be able to read what's going on when you apply the profile via Terminal, as the APK uses the same exact script the sleeps are still there and therefore take some time to execute.
Of course is nothing to worry about, just takes 5 seconds.
 
  • Like
Reactions: mascian

ihonize

New member
Aug 6, 2016
1
1
0
Guys noob question, can I use this with elementalx or bluspark kernel ? Or it is not necessary since you can already tweak settings with kernel managers?

Thanks.
 
  • Like
Reactions: M3ntoR

mrcigi

Senior Member
Oct 22, 2013
184
648
133
Blackpool
AKT Profiles App [ROOT]

Small update to the app guys.

Changelog
  • Removed the 'sleep' commands from the script (Significantly faster at applying the profiles)
  • Added an option to revert to stock settings (3 Dot menu, top right of homescreen, requires reboot)
  • Increased the time the Applied popup stays open (More time to check the output)

Download in my previous post AKT Profiles APP
 

xkhen0017

Senior Member
Jun 27, 2015
153
64
58
Small update to the app guys.

Changelog
Removed the 'sleep' commands from the script (Significantly faster at applying the profiles)
Added an option to revert to stock settings (3 Dot menu, top right of homescreen, requires reboot)
Increased the time the Applied popup stays open (More time to check the output)


Download in my previous post AKT Profiles APP
This is what I am talking about. :) Thanks buddy for your work. :good:
 
  • Like
Reactions: mascian

xkhen0017

Senior Member
Jun 27, 2015
153
64
58
im uploading a new one, i messed something up in the one i just did. will be up in couple mins.

**EDIT**
The updated Download file is now correct and working
Just a little bug, not a big deal though, when you manually deleted the AKT file inside the AKT folder (which i supposed the on-boot execution) the app takes forever to apply a profile. Unless the whole AKT folder must be deleted. :good:
 

mrcigi

Senior Member
Oct 22, 2013
184
648
133
Blackpool
Just a little bug, not a big deal though, when you manually deleted the AKT file inside the AKT folder (which i supposed the on-boot execution) the app takes forever to apply a profile. Unless the whole AKT folder must be deleted. :good:
Thats strange. When a profile is applied it creates a new file overwriting the previous everytime. So a file being there or not shouldn't make any difference. I'll have a look into it :good:
 

IlD4nX

Senior Member
Aug 3, 2008
449
94
58
Bugella Civitas
Small update to the app guys.

Changelog
Removed the 'sleep' commands from the script (Significantly faster at applying the profiles)
Added an option to revert to stock settings (3 Dot menu, top right of homescreen, requires reboot)
Increased the time the Applied popup stays open (More time to check the output)


Download in my previous post AKT Profiles APP
Awesome job!!
Would be nice to have in the first screen which profile is active. Do you think it's possible?
 

Stupifier

Senior Member
Jun 8, 2010
1,906
680
133
@mrcigi
Think you could add some Broadcast Intents that could allow for Tasker hooks? In other words, make a way for us to hotswap profiles using Tasker? That would be KILLER!
(The easiest implementation is adding broadcast intents)
Alternative solution to create Tasker hot-swappable AKT Profiles.

Is the following True:
Once a profile is chosen (using AKT App or Terminal AKT), a script is written to init.d or su.d folder. The contents of the written script are directly related to the profile chosen. Upon reboots, the only thing needed is to run the script (via init.d emulation, Kernel Auditor, Tasker, etc)

If so, then we could potentially create and archive copies of each script related to each performance profile in AKT....then use Tasker to run various AKT profiles at our choosing. FOR EXAMPLE, have Tasker push your phone into a Battery-Saving profile while you sleep, and a high-performance profile while you play games.

Thoughts?
 

cyan pac

Senior Member
Jan 24, 2013
472
120
63
Alternative solution to create Tasker hot-swappable AKT Profiles.

Is the following True:
Once a profile is chosen (using AKT App or Terminal AKT), a script is written to init.d or su.d folder. The contents of the written script are directly related to the profile chosen. Upon reboots, the only thing needed is to run the script (via init.d emulation, Kernel Auditor, Tasker, etc)

If so, then we could potentially create and archive copies of each script related to each performance profile in AKT....then use Tasker to run various AKT profiles at our choosing. FOR EXAMPLE, have Tasker push your phone into a Battery-Saving profile while you sleep, and a high-performance profile while you play games.

Thoughts?
Sounds like you are trying to create artificial intelligence.... I knew that they would take over some day but not this soon
 

Arstoien

Senior Member
Oct 31, 2012
1,437
1,508
0
Or just echo the commands yourself, it's really not that difficult. I'm just not interested enough to spend time on that myself since I don't have plenty of that.

Just use the action code->run shell, check "use su" mark and write the commands. Like for example

echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate
 
Last edited:

ERNZT

Senior Member
Sep 26, 2014
167
46
0
belén
With the app,
*how do I if the profile was loaded and is running correctly? And what profile are you running at the moment?
*The profile must be loaded, every time the device reboots?
I ask it because in the EX kernel app I do not see any changes, thank you very much and fantastic post and great idea, thank you very much!

im:
ExperienceROM v10.1 With ElementalX 2.01
 
Last edited:

mrcigi

Senior Member
Oct 22, 2013
184
648
133
Blackpool
Alternative solution to create Tasker hot-swappable AKT Profiles.

Is the following True:
Once a profile is chosen (using AKT App or Terminal AKT), a script is written to init.d or su.d folder. The contents of the written script are directly related to the profile chosen. Upon reboots, the only thing needed is to run the script (via init.d emulation, Kernel Auditor, Tasker, etc)

If so, then we could potentially create and archive copies of each script related to each performance profile in AKT....then use Tasker to run various AKT profiles at our choosing. FOR EXAMPLE, have Tasker push your phone into a Battery-Saving profile while you sleep, and a high-performance profile while you play games.

Thoughts?
Terminal AKT saves the applied profile into init.d and su.d, (should auto run on boot, but init.d emulation guarantees it?)
The AKT app saves the chosen profile into /sdcard/AKT (is applied by the app at boot without having to do anything)

For what it sounds like you want to do, just download the AKT script, extract all the profiles out of it. Save to sdcard, then you can just reference to them using tasker tasks, without installing the zip or the app?
 
  • Like
Reactions: Squabl and ERNZT

Stupifier

Senior Member
Jun 8, 2010
1,906
680
133
Terminal AKT saves the applied profile into init.d and su.d, (should auto run on boot, but init.d emulation guarantees it?)
The AKT app saves the chosen profile into /sdcard/AKT (is applied by the app at boot without having to do anything)

For what it sounds like you want to do, just download the AKT script, extract all the profiles out of it. Save to sdcard, then you can just reference to them using tasker tasks, without installing the zip or the app?
Yep, that is exactly what I want to do. Nothing stopping this from happening, correct?
 

mrcigi

Senior Member
Oct 22, 2013
184
648
133
Blackpool
Yep, that is exactly what I want to do. Nothing stopping this from happening, correct?
Nothing stopping you at all. I used to do it. Had tasker profiles set to different battery ranges so it would run different scripts when it hit certain percentages. I just copied the scripts from the zip to sdcard, then run shell 'sh' to the scripts.

---------- Post added at 12:02 AM ---------- Previous post was at 12:01 AM ----------

One question to the AKT APP:

Is the updated Xana Profile from AKT V1.2.zip also included in the AKT APP?
@[email protected]
Yes all the profiles in the app are the same as the AKT zip.
 
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