FORUMS

 View Poll Results: Did your battery life improve after applying this tweak ?

Yes
 
1 Vote(s)
16.67%
No
 
4 Vote(s)
66.67%
Maybe
 
1 Vote(s)
16.67%
I don't care
 
0 Vote(s)
0%

[TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU and GPU Tweaks, Misc [Pixel]

38 posts
Thanks Meter: 10
 
Post Reply Email Thread
More battery life on Google Pixel & XL (sailfish & Marlin) with any custom kernel i.e Elementalx kernel @flar2 ,Flash kernel @nathanchance ,Kiriskura Kernel @Freak07 KingKernel @kingbri and @Sweetie FrancoKernel @franciscofranco
Disclaimer: I am not responsible for any damage or soft/hard brick that may happen to your device...please make sure you know what you are doing and follow the installation instructions below !
Installation/How-To use & abuse:
1) You must be rooted
2) Download the attached ZIP
3) Extract the script
4) Move file i.e(ondemand, Interactive, Conservative ,ElementalX, Sched, Schedutil) depending on the one you downloaded to the following location;
/sbin/.core/img/.core/service.d and give it the following permissions (0755) or rwxr-xr-r using your root browser(explorer)
5) Reboot your phone, let Android boot to the launcher and let Magisk boot service do its crucial magic (takes about 60-65 seconds before the script is fully up and running behind the scenes)
6) Enjoy!

CPU Governors : ondemand, Interactive, Conservative ,ElementalX, Sched, Schedutil download the one you like or your kernel supports
Fast charge enabled
Fsync disabled
GPU Max freq under clock to 510mhz
CPU work-queues power efficient = enabled
Activated some battery improvements i.e(setprop ro.config.hw_power_saving true,
setprop persist.radio.add_power_save 1 )
Killed GAPPS processes that drains battery...and so on


Code:
Changelog:

  6/2/2020
-Added Ondemand_V1  

7/2/2020
-Added Interactive_V2
-Added Schedutil
-Added Ondemand_V2

9/2/2020
-Added Elementalx

10/2/2020
-Added Sched 
-Modified Schedutil and ElementalX scripts 

11/2/2020
-Added Interactive_V3 aka The Ultimate 
  
18/2/2020
-Stopped naming of scripts versions due to maintenance issues 
-Added some battery improvements,Killed GAPPS processes that drains battery & Retouched all scripts
-Added Conservative
-Added Interactive
-Added Sched 
-Added Schedutil
-Added Ondemand 
-Added ElementalX
-Removed older scripts
FAQ

Q: Can you please add XYZ governor?
A: Sure. Post Here or throw me a PM.


Q: Man. Your formatting sucks? When will you fix it?
A: Coming soon... Kidding, I'm still working on it

Q: This is BS(Bullshit) should I use it?
A: This is absolutely not BS(Bullshit) this scripts works and should work for you,
something might be wrong...tell me what didn't work and kernel you're using it on provided the installation instructions was followed correctly....Thanks

Q: I used the scripts but couldn't get near the SOT
A: SOT really depends on many factors including the CPU frequency and the Task running etc

Q: Did everything right didn't work on kernel XYZ!
A: Post Here or throw me a PM...I have an answer
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20200124-121424[2].png
Views:	580
Size:	131.6 KB
ID:	4934285   Click image for larger version

Name:	Screenshot_20200124-121414[1].png
Views:	586
Size:	126.0 KB
ID:	4934287  
Attached Files
File Type: zip conservative.zip - [Click for QR Code] (1.1 KB, 0 views)
File Type: zip elementalx.zip - [Click for QR Code] (1.3 KB, 0 views)
File Type: zip Interactive.zip - [Click for QR Code] (1.3 KB, 2 views)
File Type: zip ondemand.zip - [Click for QR Code] (1.2 KB, 0 views)
File Type: zip schedutil.zip - [Click for QR Code] (1.1 KB, 2 views)
File Type: zip sched.zip - [Click for QR Code] (1.1 KB, 0 views)
The Following 2 Users Say Thank You to enweazudaniel For This Useful Post: [ View ] Gift enweazudaniel Ad-Free
27th January 2020, 03:48 PM |#2  
Senior Member
Thanks Meter: 17
 
More
What if my kernel dosent have ondemand?
28th January 2020, 12:33 PM |#3  
Junior Member
Thanks Meter: 1
 
More
Hi man, thank you for your tweak, I copy this file to data/adb/service.d folder, is it right folder? P.S. I use Android 7.1.1 with Elemental 1.08 kernel
Upd: man, you did the great tweak, you give my phone second life! Great result for my half died battery! Thanks!
30th January 2020, 01:39 PM |#4  
enweazudaniel's Avatar
OP Member
Flag Lagos
Thanks Meter: 10
 
More
Quote:
Originally Posted by Nandan.R.D

What if my kernel dosent have ondemand?

What governor do you use I can work on it on my free time... sorry for the late reply
30th January 2020, 01:41 PM |#5  
enweazudaniel's Avatar
OP Member
Flag Lagos
Thanks Meter: 10
 
More
Quote:
Originally Posted by OFFSPRINGER3

Hi man, thank you for your tweak, I copy this file to data/adb/service.d folder, is it right folder? P.S. I use Android 7.1.1 with Elemental 1.08 kernel
Upd: man, you did the great tweak, you give my phone second life! Great result for my half died battery! Thanks!

The Following User Says Thank You to enweazudaniel For This Useful Post: [ View ] Gift enweazudaniel Ad-Free
3rd February 2020, 01:14 PM |#6  
enweazudaniel's Avatar
OP Member
Flag Lagos
Thanks Meter: 10
 
More
Quote:
Originally Posted by Nandan.R.D

What if my kernel dosent have ondemand?

Just updated thread interactive is a common governor you can try it out thanks
3rd February 2020, 03:44 PM |#7  
enweazudaniel's Avatar
OP Member
Flag Lagos
Thanks Meter: 10
 
More
Hello everyone our wonderful Thread has been updated with more cpu governors now supported Includes : Interactive, Conservative, Lulzactive and smartassV2 looking forward adding Sched,Schedutil and many more
4th February 2020, 12:04 AM |#8  
enweazudaniel's Avatar
OP Member
Flag Lagos
Thanks Meter: 10
 
More
Latest addition interactive_V1
6th February 2020, 09:50 PM |#9  
enweazudaniel's Avatar
OP Member
Flag Lagos
Thanks Meter: 10
 
More
Updated Thread: Added ondemand_V1 and removed support for lulzactive...Feedback is very well appreciated here to serve in the best way!
7th February 2020, 09:53 PM |#10  
enweazudaniel's Avatar
OP Member
Flag Lagos
Thanks Meter: 10
 
More
Quote:
Originally Posted by enweazudaniel

Hello everyone our wonderful Thread has been updated with more cpu governors now supported Includes : Interactive, Conservative, Lulzactive and smartassV2 looking forward adding Sched,Schedutil and many more

Finally Schedutil has come
9th February 2020, 05:51 PM |#11  
enweazudaniel's Avatar
OP Member
Flag Lagos
Thanks Meter: 10
 
More
Added ElementalX
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes