Soilwork: Unified kernel-tweaks V10 [10/10/2017] | Script | MAGISK module

Which type of kernel are you currently using?

  • EAS

    Votes: 17 89.5%
  • PnP

    Votes: 1 5.3%
  • HMP (interactive governor without pnpmgr)

    Votes: 1 5.3%

  • Total voters
    19
  • Poll closed .
Search This thread

JohnFawkes

Senior Member
Jul 9, 2015
764
1,323
john-fawkes.com
I had, yes. Haven't managed to do them yet again, but I will right after Christmas!

here you go. took previous modules and changed the service.sh file out with each script and renamed the zip and changed name in config and module.props. also bumped up version and versioncode
 

Attachments

  • Soilwork_kernel-tweaks_V10_balanced_Magisk_Final.zip
    11.9 KB · Views: 181
  • Soilwork_kernel-tweaks_V10_battery_Magisk_Final.zip
    12 KB · Views: 155
  • Soilwork_kernel-tweaks_V10_performance_Magisk_Final.zip
    11.8 KB · Views: 95
  • Like
Reactions: ali nz

nfsmw_gr

Senior Member
Dec 25, 2010
3,801
1,945
26
Salamina,Greece
www.facebook.com
Some news here: I'm going to sell my HTC 10 soon, so my way definitely ends here soon. But before, I have a little Christmas gift for you all! I have updated my scripts, means I've re-written them and now the structure is based on the scripts of @adanteon! Additionally, I added some things here and there, changed some values and so on plus I now made a performance profile as well! At this point, I want to say thank you for testing @CharliesTheMan!
So, you can find all scripts here in my Google Drive folder and attached here as well as in OP. Enjoy, merry Christmas to all and have a good time! :)
Merry Christmas pal. Thanks for taking the time to give us this present. Happy holidays! :)
 

RogerF81

Senior Member
Oct 14, 2015
1,940
1,389
Mannheim
Anybody tested this tweaks with oreo rom of htc 10 ?

@RogerF81 works this on oreo?

Sent from my HTC 10 using XDA Labs


on a oreo rom

Sent from my HTC 10 using XDA Labs

I'm not fully sure to be honest. I don't own my HTC 10 anymore, so I can't check. I mean, most parts should work for sure. The scripts only won't work, if file paths have changed. If not, then I'm quite sure, that the scripts should be still fully functional on Oreo as well.
 

chrisz5z

Senior Member
Sep 16, 2010
341
89
I don't use RogerF81's script, but I have been using the scripts from the original source: [AKT] Advanced Kernel Tweaks v1.6 FINAL and it's been working great.

I'm on 3.16.617.2 US Unlocked w/ElementalX 3.02 kernel.

Currently using the Zhana Balanced profile.
 

Attachments

  • Screenshot_20180326-174228.png
    Screenshot_20180326-174228.png
    67.9 KB · Views: 767
  • Like
Reactions: tbalden

romixer

Senior Member
Mar 11, 2011
385
64

Attachments

  • Screenshot_Settings_20180405-083804.png
    Screenshot_Settings_20180405-083804.png
    206.9 KB · Views: 789
  • Screenshot_Settings_20180405-083809.jpg
    Screenshot_Settings_20180405-083809.jpg
    133.3 KB · Views: 779
  • Screenshot_AccuBattery_20180405-083854.jpg
    Screenshot_AccuBattery_20180405-083854.jpg
    230.4 KB · Views: 763

mattie_49

Senior Member
  • Feb 4, 2010
    2,783
    847
    Seymour Tn
    OnePlus 9
    And what's your experience in long term with gsam or BBS stats
    Now that I've found this pesky little pnp.xml file. I have to ask how was it disabled in Nougat? And if I rename it. Is the searching process for it gonna be worse battery killer thank leaving well enough alone? Please and thank you beforehand
    The right person and Java platform could definitely figure something out id bet. It's encrypted also. Is that normal?

    Edit. I added final battery script from op to Exkernel managers folder. From there I ran script. Getting pretty damn good results thus far. So yes it appears to be working on Oreo. If we figure out how to shut down the process /service and or pnp manager completely. It will be great.
     
    Last edited:

    Top Liked Posts

    • There are no posts matching your filters.
    • 48


      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":
      Code:
      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!

      Credits:
      @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

      Status: stable
      Unified scripts and Magisk modules: Google Drive
      Last updated: 10/10/2017

      Spreadsheet about Power Consumption calculations: Google Drive
      20
      Soilwork V10 on 10/10: Power Of 10: Final!

      So, here the journey ends, at least for now. As I recently purchased the OP5, I won't do any changes to my scripts anymore, this is the final result. At least as long the 10 stays on Nougat. I am quite satisfied with the status quo, so this is good to be. As I still own my 10, we will see if any changes of the scripts are useful or if they still work well. So far at least, this is it! Enjoy:highfive:

      Changelog:
      • VM changes
      • I/0 changes
      • some EAS related changes


      PS: I will be still around here if there any issues or so, and perhaps, we'll see something new on Oreo :)


      11
      I can't give you any deeper insight, I guess. All that I know is from opinions and sayings floating around, and I can't prove them right or wrong. As far as I know, on stock Roms, perfd isn't needed, on AOSP/LOS roms it is needed due to the usage of VoxPopuli EAS PowerHAL. But again, I just don't know it more exactly. Let's ask @tabp0le and @joshuous :D I guess they should know it much better than I do.

      So, perfd and an EAS power HAL (marlin or Vox Populi) are needed for TRUE EAS. Just having the kernel and other optimizations, daemons, engines are not enough. I'm not saying you don't get some benefit from these, but you won't be fully taking advantage of EAS. Perfd relays messages between the kernel and the power HAL. The power HAL is the intelligent beast behind it all. It's what gives you the performance without sacrificing too much battery life.

      The core aspects of EAS are:
      • Kernel: Scheduler, cgroups, etc
      • Power HAL
      • Cutils (libcutils) - Tells the scheduler how to interact with different groups (top-app, background, foreground, etc)
      • Perf Daemon (perfd)

      The perfd must also be one from the marlin. (it's the only one that can talk properly to an EAS power HAL. This CAN theoretically be achieved in stock, but it would require you to run completely permissive with SELinux. I have a flashable zip that can enable cutils, perfd and the powerhal, but it's untested on stock. (would theoretically work though)

      Because of these many factors, it's much easier to get this all working properly on AOSP based ROMs.

      I hope I've answered your question to satisfaction.
      11
      Some news here: I'm going to sell my HTC 10 soon, so my way definitely ends here soon. But before, I have a little Christmas gift for you all! I have updated my scripts, means I've re-written them and now the structure is based on the scripts of @adanteon! Additionally, I added some things here and there, changed some values and so on plus I now made a performance profile as well! At this point, I want to say thank you for testing @CharliesTheMan!
      So, you can find all scripts here in my Google Drive folder and attached here as well as in OP. Enjoy, merry Christmas to all and have a good time! :)
      10
      Update - new name, new version - Soilwork V5.0

      So, finally, there it is, the new update! With this new update, I changed the branch name to "Soilwork".
      I focussed mainly on I/0 tweaks this time, but also updated the HMP parts, and made them compatible to any available kernel on our beloved HTC 10. So even if you are on a PnP kernel as stock or ElementalX or so on, you can use these tweaks now, even along with @ivicask's PnP tweaks, as these scripts don't affect or tweak PnP itself.
      As usual, there are 2 versions available, "balanced" and "battery", the names should be self-explaining ;) Also, there are still both shell scripts and Magisk modules available.

      Enjoy!

      Unified [ EAS | HMP | I/0 ] Tweaks
    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