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 .

TotallyAnxious

Senior Member
Aug 3, 2013
2,416
1,993
188
Well, I do not recommend to put this into init.d folder, because I had the same issue, that the scrips would not be executed (here is an explanation....ny @LazerL0rd and @Chainfire)...That's why I recommend to run the script as described in OP and then go into EX Kernel Manager und toggle all "start at boot buttons". Then you'll be fine and it's the best way I think :)
I prefer tasker. But it can be a headache to set up. Not the most friendly UI. Lol
 

LazerL0rd

Senior Member
Nov 2, 2016
1,301
1,007
123
Aberdeen, United Kingdom
www.thezest.dev
Has anyone put the SuD10.sh file in /system/etc/init.d ... Does it load when you boot your phone?
Well, I do not recommend to put this into init.d folder, because I had the same issue, that the scrips would not be executed (here is an explanation....ny @LazerL0rd and @Chainfire)...That's why I recommend to run the script as described in OP and then go into EX Kernel Manager und toggle all "start at boot buttons". Then you'll be fine and it's the best way I think :)
And if you're not using EXKM, then place the new scripts in the /su/su.d folder.
 

prstorero

Senior Member
Sep 12, 2011
2,320
1,051
0
Dallas
I'll shoot you a message in a bit with the tasker set up. And I'll look at it and merge it into mine as always and send it over haha
See how this works. You'll need to change the path to where you have the file. Also make sure to execute the task manually first so you can grant SU to tasker and make sure the execution works.
 

Attachments

goldalex98

Senior Member
Aug 18, 2010
139
17
0
Just applied latest EAS sh file. See below log. I did get a few errors that I didn't on the last round.

Code:
htc_pmewl:/sdcard/download # sh eas29.sh
----------------------------------------------------
Applying Architects EAS Settings for Nebula EAS
----------------------------------------------------
m/
Let's go
Changing to schedutil at LITTLE cluster
Changing to schedutil at big cluster
Enabling Input Boost
Disabling TouchBoost
Disabling BCL and Removing Perfd
Tweaking HMP Scheduler
chmod: chmod '/proc/sys/kernel/sched_cfs_boost' to 100644: Operation not permitted
eas29.sh[70]: can't create /proc/sys/kernel/sched_cfs_boost: Permission denied
chmod: chmod '/proc/sys/kernel/sched_cfs_boost' to 100444: Operation not permitted
eas29.sh[104]: can't create dev/cpuset/background/cpus: No such file or directory
Set read_ahead caches, I/0 scheduler and tcp settings
Turn off swappiness
eas29.sh[159]: fstrim: not found
eas29.sh[160]: fstrim: not found
eas29.sh[161]: fstrim: not found
eas29.sh[162]: fstrim: not found
----------------------------------------------------
Settings Successfully Applied. You may now tweak them further in EX Kernel Manager
----------------------------------------------------
 

TotallyAnxious

Senior Member
Aug 3, 2013
2,416
1,993
188
Enjoy my 10outof10 script. Too lazy to make a thread and provide support so I'll make @RogerF81 do that for me lol.

https://drive.google.com/file/d/0B_eMLz48aU4AcUZELVhkcmM3VWc/view?usp=drivesdk

Oh and @Mostafa Wael, so the dark knight stays in the loop. Don't want to get on his bad side. Lol

Also it's EAS only.

---------- Post added at 06:06 AM ---------- Previous post was at 05:55 AM ----------

See how this works. You'll need to change the path to where you have the file. Also make sure to execute the task manually first so you can grant SU to tasker and make sure the execution works.
And I typed out a whole paragraph to @RogerF81 , lol FML
 
Last edited:

prstorero

Senior Member
Sep 12, 2011
2,320
1,051
0
Dallas
Enjoy my 10outof10 script. Too lazy to make a thread and provide support so I'll make @RogerF81 do that for me lol.

https://drive.google.com/file/d/0B_eMLz48aU4AWVJQVUZQUlpuYlU/view?usp=drivesdk

Oh and @Mostafa Wael, so the dark knight stays in the loop. Don't want to get on his bad side. Lol

Also it's EAS only.

---------- Post added at 06:06 AM ---------- Previous post was at 05:55 AM ----------


And I typed out a whole paragraph to @RogerF81 , lol FML
It happens :p
 
  • Like
Reactions: TotallyAnxious

RogerF81

Senior Member
Oct 14, 2015
1,936
1,388
143
Mannheim
Just applied latest EAS sh file. See below log. I did get a few errors that I didn't on the last round.

Code:
htc_pmewl:/sdcard/download # sh eas29.sh
----------------------------------------------------
Applying Architects EAS Settings for Nebula EAS
----------------------------------------------------
m/
Let's go
Changing to schedutil at LITTLE cluster
Changing to schedutil at big cluster
Enabling Input Boost
Disabling TouchBoost
Disabling BCL and Removing Perfd
Tweaking HMP Scheduler
chmod: chmod '/proc/sys/kernel/sched_cfs_boost' to 100644: Operation not permitted
eas29.sh[70]: can't create /proc/sys/kernel/sched_cfs_boost: Permission denied
chmod: chmod '/proc/sys/kernel/sched_cfs_boost' to 100444: Operation not permitted
eas29.sh[104]: can't create dev/cpuset/background/cpus: No such file or directory
Set read_ahead caches, I/0 scheduler and tcp settings
Turn off swappiness
eas29.sh[159]: fstrim: not found
eas29.sh[160]: fstrim: not found
eas29.sh[161]: fstrim: not found
eas29.sh[162]: fstrim: not found
----------------------------------------------------
Settings Successfully Applied. You may now tweak them further in EX Kernel Manager
----------------------------------------------------
Hmm weird, will look into it...

Enjoy my 10outof10 script. Too lazy to make a thread and provide support so I'll make @RogerF81 do that for me lol.

https://drive.google.com/file/d/0B_eMLz48aU4AcUZELVhkcmM3VWc/view?usp=drivesdk

Oh and @Mostafa Wael, so the dark knight stays in the loop. Don't want to get on his bad side. Lol

Also it's EAS only.

---------- Post added at 06:06 AM ---------- Previous post was at 05:55 AM ----------


And I typed out a whole paragraph to @RogerF81 , lol FML
Glad to this and thanks for sharing!:highfive:
 
  • Like
Reactions: Mostafa Wael

goldalex98

Senior Member
Aug 18, 2010
139
17
0
Have you enabled the busybox in magisk manager? And which version you are on Magisk?
Hmm I was not aware of the busybox settings in magisk manager. Just enabled it. Running V11. Going to update to 11.1 now and try again.

Thanks.

---------- Post added at 12:01 PM ---------- Previous post was at 11:53 AM ----------

@frankcck @RogerF81
So it looks like the tip re. Magisk and busybox worked. I just was able to run the latest script now without the errors. However, new errors now popped up against the 7.3.2 EAS kernel which was just released last night. Guessing the script needs to be updated?

Code:
htc_pmewl:/sdcard/download # sh eas29.sh
----------------------------------------------------
Applying Architects EAS Settings for Nebula EAS
----------------------------------------------------
m/
Let's go
Changing to schedutil at LITTLE cluster
Changing to schedutil at big cluster
Enabling Input Boost
Disabling TouchBoost
Disabling BCL and Removing Perfd
Tweaking HMP Scheduler
chmod: chmod '/proc/sys/kernel/sched_cfs_boost' to 100644: Operation not permitted
eas29.sh[70]: can't create /proc/sys/kernel/sched_cfs_boost: Permission denied
chmod: chmod '/proc/sys/kernel/sched_cfs_boost' to 100444: Operation not permitted
eas29.sh[104]: can't create dev/cpuset/background/cpus: No such file or directory
eas29.sh[110]: can't create /dev/stune/background/schedtune.prefer_idle: No such file or directory
eas29.sh[113]: can't create /dev/stune/top-app/schedtune.boost: No such file or directory
eas29.sh[114]: can't create /dev/stune/top-app/schedtune.prefer_idle: No such file or directory
Set read_ahead caches, I/0 scheduler and tcp settings
Turn off swappiness
/data: 6429433856 bytes trimmed
/cache: 226783232 bytes trimmed
/system: 1574490112 bytes trimmed
/preload: 57675776 bytes trimmed
----------------------------------------------------
Settings Successfully Applied. You may now tweak them further in EX Kernel Manager
 

RogerF81

Senior Member
Oct 14, 2015
1,936
1,388
143
Mannheim
Hmm I was not aware of the busybox settings in magisk manager. Just enabled it. Running V11. Going to update to 11.1 now and try again.

Thanks.

---------- Post added at 12:01 PM ---------- Previous post was at 11:53 AM ----------

@frankcck @RogerF81
So it looks like the tip re. Magisk and busybox worked. I just was able to run the latest script now without the errors. However, new errors now popped up against the 7.3.2 EAS kernel which was just released last night. Guessing the script needs to be updated?

Code:
htc_pmewl:/sdcard/download # sh eas29.sh
----------------------------------------------------
Applying Architects EAS Settings for Nebula EAS
----------------------------------------------------
m/
Let's go
Changing to schedutil at LITTLE cluster
Changing to schedutil at big cluster
Enabling Input Boost
Disabling TouchBoost
Disabling BCL and Removing Perfd
Tweaking HMP Scheduler
chmod: chmod '/proc/sys/kernel/sched_cfs_boost' to 100644: Operation not permitted
eas29.sh[70]: can't create /proc/sys/kernel/sched_cfs_boost: Permission denied
chmod: chmod '/proc/sys/kernel/sched_cfs_boost' to 100444: Operation not permitted
eas29.sh[104]: can't create dev/cpuset/background/cpus: No such file or directory
eas29.sh[110]: can't create /dev/stune/background/schedtune.prefer_idle: No such file or directory
eas29.sh[113]: can't create /dev/stune/top-app/schedtune.boost: No such file or directory
eas29.sh[114]: can't create /dev/stune/top-app/schedtune.prefer_idle: No such file or directory
Set read_ahead caches, I/0 scheduler and tcp settings
Turn off swappiness
/data: 6429433856 bytes trimmed
/cache: 226783232 bytes trimmed
/system: 1574490112 bytes trimmed
/preload: 57675776 bytes trimmed
----------------------------------------------------
Settings Successfully Applied. You may now tweak them further in EX Kernel Manager
Yeah might be possible, thanks for hint. I'll look into it when I have some time :)
 
  • Like
Reactions: goldalex98

kend0g

Senior Member
Sep 11, 2013
1,133
332
113
Hey. I do like Nebula.. but for right now I've been on tabp0les ship. Im pretty sure after looking at the files tabp0les kernel doesn't have scheduntil. If it's OK and I play around with a few things would it be OK to try and get it fully working with tabp0les EAS kernel? Or may someone be in the works already? -Thanks too all of you

Sent from my HTC6545LVW using Tapatalk
 
  • Like
Reactions: RogerF81

RogerF81

Senior Member
Oct 14, 2015
1,936
1,388
143
Mannheim
Hey. I do like Nebula.. but for right now I've been on tabp0les ship. Im pretty sure after looking at the files tabp0les kernel doesn't have scheduntil. If it's OK and I play around with a few things would it be OK to try and get it fully working with tabp0les EAS kernel? Or may someone be in the works already? -Thanks too all of you

Sent from my HTC6545LVW using Tapatalk
Well, I think I will work on a script for EAS for sched governor as well. But of course you can work on such a script as well if you want :)
 
  • Like
Reactions: kend0g