For introduction - have a look at these guides first: Advanced Interactive Governor Tweaks (for Nexus 5X) and [AKT] Advanced Kernel Tweaks (for OP3 -> same SoC as our HTC 10). At first, I want to thank @soniCron for his shared knowledge, @Alcolawl for his great scripts and of course @Asiier, @Mostafa Wael, @patalao and @Senthil360 for their AKT scripts for OnePlus3.
So, what is this about? These tweaks are desgined to work for every available kernel on our HTC 10 (or every other Snapdragon 820/1 device), no matter if it's a PnP kernel such as stock kernel, or a HMP kernel without the usage of PnP or an EAS kernel. The scripts detect which kernel you're running and will apply the tweaks accordingly.
So in summary, what are the prerequisites...
Kernel/Rom, which does not use pnpmgr
- root access
- proper buysbox installation
- NO need of any special app besided a terminal emulator, Boot Shell or Magisk - it's up to you!
...and what can you expect?
- efficient performance...
- ....therefore good battery life (->see attachements below.)
- EAS, HMP and I/0 tweaks
- executeable scripts or Magisk modules
How to install and to use these tweaks? Firstly: The .sh files are executeable scripts. To run them, you have to go to an terminal emulator app, and then you have to type for example, if you saved the .sh file in the ElementalX folder in your internal storage and if you wanted to apply the file called "Soilwork_uni_V10_balanced_Final.sh":
su [COLOR="Green"]cd /sdcard/ElementalX/gov_profiles/[/COLOR] [COLOR="blue"]sh Soilwork_uni_V10_balanced_Final.sh[/COLOR]
or just use a root file manager or Boot Shell, simple as that
or just flash the Magisk module in TWRP or Magisk manager and profit
Known issues: It could be possible that you get some errors like "setting123 could not be applied: permission denied" or "setting123 could not be applied: no such file or directory". This is no problem, all other settings will be applied correctly. This is only a kernel related thing which means that this kernel just does not have this option.
NOTE: If you're running an AOSP Rom and using an EAS kernel, then open EX Kernel Manager -> CPU and enable perfd manually!
@soniCron for his knowledge
@Alcolawl for his initial scripts
@Freak07 for his scripts
@Asiier @Mostafa Wael @patalao @Senthil360 for their AKT/OP3 scripts, which work indeed for the HTC 10, when using Nebula Advanced or being on LOS/AOSP-based Rom
@TotallyAnxious for exchange of knowledge and code + for all VM stuff work + for own scripts
@Eliminater74 for Nebula Advanced and Nebula EAS kernels
@ZeroInfinity for HelixKernel EAS and for including my script into his kernel
@Kyuubi10 @ivicask @DeeZZ_NuuZZ for explaining and helping me a lot concerning VM stuff
Unified scripts and Magisk modules: Google Drive
Last updated: 10/10/2017
Spreadsheet about Power Consumption calculations: Google Drive