SCRIPT | I/O scheduler switcher - Galaxy Y GT-S5360 Android Development

Introduction
I always disliked the using of some apps for changing my I/O scheduler and/or my CPU governor. Using Hells Fusion kernel, I decided to make a script which changes the I/O scheduler simply by a script.
Utilization
Open the script file, and change the I/O scheduler name of the following line which is present at its top, with the one you want to use between the quotation marks : sched="sio".
Requirements
Rooted device with Busybox installed.
Init.d support.
Custom recovery.
Installation
Download the ZIP file and put in inside your SDcard.
Reboot your phone in recovery mode.
Flash the ZIP file and reboot again your phone.

LINK?

Related

[SCRIPT]Jupa Engine V3.0.0 - How to tweak android the easy way

To Devs: You may use this in your ROM if you ad a clear thanks in your thread and a redirection to this thread for all info and updates
Hey everyone today I am showing you my creation for the android community.
This concept is born in GingerReal ROM because much people are asking me about it I started this thread.
So also other not GingerReal users can use this creation.
Click to expand...
Click to collapse
Disclaimer:
Code:
* Flashing knowledge is necessary to keep yourself out of trouble
* Read the installation procedure before posting any questions/issues!
* I am not responsible for your bricked or not working devices
* PLEASE BE PATIENT AND DO NOT ASK FOR ETA. UPDATES WILL COME WHEN THEY ARE READY!
* You may always leave feedback and post bugs
What is Jupa Engine?
Jupa Engine is a kind off a tweak database that is loaded into your system.
It's using a configuration file that is stored on two diffrent places.
One is on your sdcard if it is supported by your device. The other one will always work and is stored in your system.
With this configuration file you can easily configure your tweaks and decide witch tweaks will be executed during boot.
Features of Jupa Engine
The database off tweaks is using populair tweaks Quick configuration tweaks and some tweaks of my own
-SuperCharger script V6-U8 by zeppelinrox
-The best ram optimalization by Juwe11
-Kernel scheduler by hardcore
-SD-Read tweak 1024 by brainmaster
-SD-Read tweak 2048 by brainmaster
-SD-Read tweak 4096 by brainmaster
-Noop scheduler
-Deadline scheduler
-CFQ scheduler
-Mount with Noatime
-Honeycomb Ram optimalization
-Honeycomb Kernel scheduler
-Redmaner Ramhack
How to install it
What you need
-A rooted device with busybox installed
-A kernel that support /system/etc/init.d scripts
-ClockWorkMod recovery to instal the zip
1. Download the attachment below
2. Put the zip on the root off your sd-card
3. Boot in ClockWorkMod Recovery
4. Choose "install zip from sd-card"
5. Choose "choose zip from sd-card"
6. Choose "JupaEngine_xxxxx.zip
7. Choose "yes - install JupaEngine_xxxxx.zip
8. wait till it is done
9. Reboot your system
10. Wait till it is fully booted and you are done
Default configuration
The following tweaks are enabled by default
-Honeycomb Ramscript
-Honeycomb kernel scheduler
-Mount with NoAtime
-Deadline Scheduler
-Sd-Readtweak 2048
How to configure your own ultimate tweak system
There are 3 ways to do this:
1. using a CWM zip with only the configuration file
2. using the configuration file on /sdcard
3. Using the configuration file on /system
Explanation off the configuration file
The configuration file is a simple .prop file and looks like a build.prop
Code:
# Tweak configuration for Jupa Engine by Redmaner
# Disable a tweak with "disabled" after the tweak
# Enable a tweak with "enabled" after the tweak
ro.honeycomb.kernelscheduler=enabled [COLOR="Red"]Configures Honeycomb Kernel scheduler[/COLOR]
ro.honeycomb.ramscript=enabled [COLOR="Red"]Configures Honeycomb Ram script[/COLOR]
ro.init.sd=disabled [COLOR="Red"]Configures init.sd[/COLOR]
ro.juwes.ramscript=disabled [COLOR="Red"]Configures Juwe's ramscript[/COLOR]
ro.kernel.scheduler=disabled [COLOR="Red"]Configures kernel scheduler[/COLOR]
ro.mount.noatime=enabled [COLOR="Red"]Configures Noatime mount[/COLOR]
ro.redmaner.ramhack=disabled [COLOR="Red"]Configures Redmaner Ram hack[/COLOR]
ro.scheduler.cfq=disabled [COLOR="Red"]Configures CFQ sheduler[/COLOR]
ro.scheduler.deadline=enabled [COLOR="Red"]Configures Deadline schedule[/COLOR]r
ro.scheduler.noop=disabled [COLOR="Red"]Configures noop scheduler[/COLOR]
ro.sdreadtweak.1024=disabled [COLOR="Red"]Configures SD-Readtweak 1024[/COLOR]
ro.sdreadtweak.2048=enabled [COLOR="Red"]Configures SD-Readtweak 2048[/COLOR]
ro.sdreadtweak.4096=disabled [COLOR="Red"]Configures SD-Readtweak 4096[/COLOR]
ro.super.charger=disabled [COLOR="Red"]Configures SuperCharger script[/COLOR]
It is very simple
Enabled = that the tweak will be executed during boot
Disabled = that the tweak won't be executed during boot
1. using a CWM zip with only the configuration file
1. Download the Configuration.zip below
2. Open tweak.prop (don't extract the zip)
3. Edit the file to your needs
4. Save the file and the new zip
5. Flash the zip in ClockWorkMod recovery
2. using the configuration file on /sdcard
This feature does not work on all devices!
Because the time when sd-card is mounted and the place where it is mounted is most off the time diffrent on every device.
You have to find out it this works for you or not checking the values with terminal emulator or adb.
1. open tweak.prop on your sdcard
2. edit the file to your needs
3. save the file
4. reboot your device
3. Using the configuration file on /system
1. open tweak.prop on /system/tweak.prop (use a file explorer with root permission)
2. edit the file to your needs
3. save the file
4. reboot your device
Values of tweaks
Honeycomb kernel scheduler
sched_latency_ns = 10000000
sched_wakeup_granularity_ns = 2000000
sched_min_granularity_ns = 1500000
Honeycomb Ram-Script
Minfree= 8192,10240,12288,14336,16384,20480
Swappiness= 60
vfs_cache_pressure = 100
dirty_expire_centisecs = 200
dirty_writeback_centisecs = 500
dirty_ratio = 20
dirty_background_ratio = 5
Juwe's RamScript
Minfree= 2560,4096,6144,12288,14336,18432
Swappiness= 50
vfs_cache_pressure = 10
dirty_expire_centisecs = 500
dirty_writeback_centisecs = 1000
dirty_ratio = 90
dirty_background_ratio = 5
kernel scheduler
sched_latency_ns = 10000000
sched_wakeup_granularity_ns = 2000000
sched_min_granularity_ns = 1000000
Redmaner Ramhack
Minfree= 2560,4096,6144,14848,16896,20992
What you can expect in the future
-Quick toggles for goveneur
-Maybe some OC toggles
-More support for devices
-More scripts
Thanks list
Brainmaster (SD-Readtweak) Visit his thread here
zeppelinrox (SuperCharger script) Visit his thread here
Hardcore (Kernel scheduler) Visit his thread here
Juwe11 (Ramscript) Visit his thread here
If i forgot someone please tell me
reserved for future use to
redmaner said:
reserved for future use to
Click to expand...
Click to collapse
can I use this updates on my miui rom?
Thread will be re-opened once new version is finished

[Experimental] U8150 Gingerbread Kernel and Tweaks

I'm compiler kernel and need tester. The kernel compatible only with Gingerbread Rom and can flash with CWM.
And may be this flashable will conflict with another mods/script in init.d (stuck in splash screen or bootloop)
Please nandroid backup before use it. Because use it at your risk.
Download Test 9 (New & Final Version):
http://d-h.st/SGx
Download Test 8:
http://d-h.st/gSD
Download Test 7:
http://d-h.st/72f
Download Test 6:
http://d-h.st/oFd
Download Test 5:
http://d-h.st/pO8
Download Test 4:
http://d-h.st/3bA
Download Test 3:
http://d-h.st/Q1k
Download Test 2:
http://d-h.st/gOu
Log Test 9:
- Fix USB Tethering (need change dnsmasq_dhcp patch & make run dnsmasq_dhcp when USB Tethering running)
- Fix segment fault when zipalign script execute
- Add dnsc binary to ping url address and this binary function to know when you online or not. If you online crossbreeder script run/execute
- Remove sqlite3 and system server binary (not stable and broken something)
- Change value of scripts
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store.
Recommend kernel and everything look like stable for me. May be this final version if i don't found any bugs again
Log Test 8:
- Fix dnsmasq dhcp only need 1 process and previously version i got trouble connection issue while tethering
- Change path dnsmasq_dhcp binary to crossbreeder folder (from /system/bin/* change to /system/etc/CrossBreeder/*)
- Fix Clean Dalvik script and now work with schedule
- Add dalvikvm binary and system_server binary from jellybean (may be can boost performance)
- Use some value of tweak from ThunderBolt/Pikachu01
- Change some value of tweak
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store.
Log Test 7:
- Fix crossbreeder (low RAM because duplicate dnrd process and dnsmasq_dhcp process. Fix in this version)
- Fix haveged script (need link /dev/random to /dev/urandom). Entropy always stay in 4096. To check this you can type in terminal emulator
Code:
su
entro
- Remove extendedmenu and rngd
- Use only two dnsmasq_dhcp/dnsmasq process. If you check in terminal emulator with
Code:
su
ps | pgrep dnsmasq_dhcp
or
Code:
su
ps | pgrep dnsmasq
You'll found only 2 process running and always got 2 dnsmasq process everytime (in other version you'll get many dnsmasq and make low RAM).
- Fix build.prop tweak
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store.
Log Test 6:
- In this version you can choose use haveged or rngd (default use haveged)
- Add build.prop tweak in init.d (can disable in extended menu)
- Tweak now 80% complete for get maximal performance for this phone (i don't have any idea again to get more better than this. Thank you )
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store
Log Test 5:
- Fix script init.d
- Fix Crossbreeder more better and less aggressive to check DNS and IP Address
- Fix hosts and save more memory
**) For flash this need clean rom and this kernel CAN update from previously kernel test 4. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store
Log Test 4:
- Use GCC 4.4.3 to compiler kernel (much more stable)
- Remove unnecessary module
- Add random optimize in kernel (3 commit github)
- Remove haveged and use rngd
- Combine crond script to one script and run every 45 minutes. Save more ram for this (script are Fast Engine Flush, Fast Engine Swap and Reduce Wifi TX Power)
- Add script Read Write Partition tweak and I/O Scheduler Tweak
- Update CrossBreeder. Much more save ram and now use blank gif for ADBlock (every things work).
- Boot more faster than before (optimize script more efficient) and more performance
**) For flash this need clean rom and can't update from previously kernel test (a lot of difference things)
Log Test 3:
- Fix All CPU Governors source code (i hope it)
- Try with difference egl.cfg value
- Change Fast Engine Flush script run every 60 minutes
- Change Fast Engine Swap script run every 45 minutes
- Change Haveged script run every 20 minutes
- Add Reduce TX Power script and this script run 30 minutes after you turn on your wifi/wifi tethering
- Add CrossBreeder script and script little difference with original (give me more ram with all feature from CrossBreeder work and run without problem).
And you can use AdAway apps to enable or disable hosts file (It will be work together with AdBlock CrossBreeder)
- Add Audio Lag Reduction in huawei extended menu :laugh:
- Fix huawei extended menu and make all feature can be enable or disable it
Log Test 2:
- Revert back with linaro toolchain => android ndk result is random reboot and kernel panic for me
- Revert back with haveged binary, remove rngd & problem solved now
- Add Haveged Script => Entropy Lag reduction and this script run every 5 minutes with crond style (script are difference with idcrisis/crossbreeder because use crond to execute)
Log Test 1:
- Cpu Governors: Virtuous, AssWax, Superbad, Brazilianwax, Lagfree, Minmax, Smoothass, SavagedZen, InteractiveX, Interactive, SmartassV2, Conservative, Ondemand, Userspace, Powersave, Scary and Performance => Default CPU Governors use Scary
- I/O Scheduler: Noop, Anticipatory, Deadline, cfq, Sio, bfq, vr and Zen => Default I/O Scheduler use Zen
- Min-Max CPU Default: 61MHz-600Mhz
- Add experimental module
- Add new egl.cfg and libGLES_qcom.so
- Add KickAssKernel Script
- Add SQLite database vaccum Script => this script run every 1 week
- Add Automatic ZipAlign Script => this script run every 1 week
- Add Clean Dalvik Cache and Cache Script => this script run every 1 week
- Add Crond Script
- Add Fast Engine Flush Script => drop caches script and this script run every 45 minutes with crond style
- Add Fast Engine Swap Script => drop swap script and this script run every 30 minutes with crond style
- Add RNGD/Seeder Script => Entropy Lag reduction
- Add Dexo Script => Create Odexed framework file (please read post 2 for instruction)
Credit:
All Huawei Dev
Zeppelinrox
McByte jkSGS3
Ryuinferno
tommytomatoe
idcrisis
Pikachu01
Other???
FAQ
How to know my script in init.d work?
You can see all log in /data/*.log
Why first boot so long?
Be patient. Because 3 script do it a job first time (SQLite database vaccum Script, Automatic ZipAlign Script and Clean Dalvik Cache and Cache Script).
The second boot will fast.
How to know rngd or haveged run?
You can type in terminal
Code:
su
extendedmenu
How to make/create Odexed framework file?
You can type in terminal, use adb or qtadb
Code:
su
dexo
And your phone will reboot if the script finish do a job
How to know CrossBreeder AdBlock work?
You can try to view file /system/etc/hosts and try one url in that file. Try it in your internet browser and you can get [ADBLOCK] (in NEW VERSION you'll got blank gif).
Can I disable ADBLOCK CrossBreeder?
Yes, you can. Try to enable or disable with huawei extended menu or use AdAway apps to disable hosts file and reboot to see result
Can I enable or disable feature of this all tweaks?
Yes, you can. Try to enable or disable with huawei extended menu
reserved
You should probably provide a link to your kernel source.
tulangabol said:
I'm compiler kernel and need tester. The kernel compatible only with Gingerbread Rom and can flash with CWM.
And may be this flashable will conflict with another mods/script in init.d (stuck in splash screen or bootloop)
Please nandroid backup before use it. Because use it at your risk.
Download Test 2:
http://d-h.st/gOu
Log Test 2:
- Revert back with linaro toolchain => android ndk result is random reboot and kernel panic for me
- Revert back with haveged binary, remove rngd & problem solved now
- Add Haveged Script => Entropy Lag reduction and this script run every 5 minutes with crond style (script are difference with idcrisis/crossbreeder because use crond to execute)
Log Test 1:
- Cpu Governors: Virtuous, AssWax, Superbad, Brazilianwax, Lagfree, Minmax, Smoothass, SavagedZen, InteractiveX, Interactive, SmartassV2, Conservative, Ondemand, Userspace, Powersave, Scary and Performance => Default CPU Governors use Scary
- I/O Scheduler: Noop, Anticipatory, Deadline, cfq, Sio, bfq, vr and Zen => Default I/O Scheduler use Zen
- Min-Max CPU Default: 61MHz-600Mhz
- Add experimental module
- Add new egl.cfg and libGLES_qcom.so
- Add KickAssKernel Script
- Add SQLite database vaccum Script => this script run every 1 week
- Add Automatic ZipAlign Script => this script run every 1 week
- Add Clean Dalvik Cache and Cache Script => this script run every 1 week
- Add Crond Script
- Add Fast Engine Flush Script => drop caches script and this script run every 45 minutes with crond style
- Add Fast Engine Swap Script => drop swap script and this script run every 30 minutes with crond style
- Add RNGD/Seeder Script => Entropy Lag reduction
- Add Dexo Script => Create Odexed framework file (please read post 2 for instruction)
Credit:
All Huawei Dev
Zeppelinrox
McByte jkSGS3
Ryuinferno
tommytomatoe
idcrisis
Other???
Click to expand...
Click to collapse
Hi,
thank's a lot for new U8150 gingerbread kernel, i'm testing it on official cm 7.2, but only a question:
why isn't possible to use frequency 30 and 49 whit scary governor?
Sorry for my (and google translate) english.
Bye
aorth said:
You should probably provide a link to your kernel source.
Click to expand...
Click to collapse
Sorry i don't have github and don't have enough bandwidth to upload it :angel:
This kernel not enough good. But i'll share my kernel with other
ep690d said:
Hi,
thank's a lot for new U8150 gingerbread kernel, i'm testing it on official cm 7.2, but only a question:
why isn't possible to use frequency 30 and 49 whit scary governor?
Sorry for my (and google translate) english.
Bye
Click to expand...
Click to collapse
I'll try to fix it :fingers-crossed: and add more feature :laugh:
Sorry for my poor English
tulangabol said:
Sorry i don't have github and don't have enough bandwidth to upload it :angel:
This kernel not enough good. But i'll share my kernel with other
Click to expand...
Click to collapse
You have a responsibility to upload the source after releasing your compiled kernel to the public. If you don't, your thread will be locked. Learn more about the GPL license and how it impacts your activity on XDA here: http://forum.xda-developers.com/showthread.php?t=1993721
psyke83 said:
You have a responsibility to upload the source after releasing your compiled kernel to the public. If you don't, your thread will be locked. Learn more about the GPL license and how it impacts your activity on XDA here: http://forum.xda-developers.com/showthread.php?t=1993721
Click to expand...
Click to collapse
That truely i don't have enough bandwith to upload.
I don't have enough knowledge about kernel too. I'm learning alone to compiler that and my teacher is google
My Thread may be close i think
I'll learn more about that. Thank you

[TWEAKS] Kernel Governors, Modules,CPU Tweaks, Misc[All variants]

Experience more battery life and a cooler phone on Samsung Galaxy note 3(All variants) with any kernel/custom kernel
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 1 :
1) You must be rooted
2) Download the attached ZIP
3) Extract the script
4) Move file i.e(ondemand, Interactive, Conservative) 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) Now logs can be found in the logs directory /storage/emulated/0/logs
7) Enjoy! :good:
For now:
Join telegram group here's the invite link https://t.me/tweakmypixel
Installation 2:
1) You must be rooted
2) Download the attached ZIP
3) Extract the script
4) Open and Grant the app root access and go the script manager of any kernel app of your choice(SmartPack kernel Manager,Franco Kernel manager FKM(paid),Ex kernel manager(Paid))
5) Then import the extracted script(.sh)
6) Run or Execute
7) You can check apply on boot if you want it to always run after boot.
8) 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)
9) Now logs can be found in the logs directory /storage/emulated/0/logs
10) Enjoy! :good:
For now:
Join telegram group here's the invite link https://t.me/tweakmypixel
CPU GOVERNORS SUPPORTED
1) Ondemand:
Default governor in almost all stock kernels. One main goal of the ondemand governor is to switch to max frequency as soon as there is a CPU activity detected to ensure the responsiveness of the system.
2) Conservative:
A slower Ondemand which scales up slowly to save battery. The conservative governor is based on the ondemand governor. It functions like the Ondemand governor by dynamically adjusting frequencies based on processor utilization. However, the conservative governor increases and decreases CPU speed more gradually. Simply put, this governor increases the frequency step by step on CPU load and jumps to lowest frequency on CPU idle
3) Interactive:
Can be considered a faster ondemand. So more snappier, less battery. Interactive is designed for latency-sensitive, interactive workloads. Instead of sampling at every interval like ondemand, it determines how to scale up when CPU comes out of idle
Features
1) CPU Governors Optimized for better battery saving
2) Enabled dimmer blacklight to save battery
3) faster internet speed
4) Fstrim data,cache,system included
5) Completely Stop and Disable performance daemon at boot
6) Killed GAPPS processes that drains battery
Code:
ChangeLog
12/3/2020
-Added Conservative
-Added Interactive
-Added Ondemand
FAQ
Q: Will these work without Root?
A: NO. you can use magisk or superSu to root your device
Q: Does this work for xyz kernel?
A: Works on xyz kernel just follow the installation Instructions
Q: What are the advantages of this?
A: Better battery life.
Q: How do i check if I have the scripts installed correctly?
A: Check the logs directory /storage/emulated/0/logs
XDA:DevDB Information
Kernel Tweaks, Tool/Utility for the Samsung Galaxy Note 3
Contributors
enweazudaniel
Version Information
Status: Testing
Current Stable Version: V1
Stable Release Date: 2020-03-13
Created 2020-03-12
Last Updated 2020-03-12

[TWEAKS] Kernel Governors, Modules,CPU Tweaks, Misc[All variants]

Experience more battery life and a cooler phone on Samsung Galaxy note 3(All variants) with any kernel/custom kernel
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 1 :
1) You must be rooted
2) Download the attached ZIP
3) Extract the script
4) Move file i.e(ondemand, Interactive, Conservative) 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) Now logs can be found in the logs directory /storage/emulated/0/logs
7) Enjoy! :good:
For now:
Join telegram group here's the invite link https://t.me/tweakmypixel
Installation 2:
1) You must be rooted
2) Download the attached ZIP
3) Extract the script
4) Open and Grant the app root access and go the script manager of any kernel app of your choice(SmartPack kernel Manager,Franco Kernel manager FKM(paid),Ex kernel manager(Paid))
5) Then import the extracted script(.sh)
6) Run or Execute
7) You can check apply on boot if you want it to always run after boot.
8) 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)
9) Now logs can be found in the logs directory /storage/emulated/0/logs
10) Enjoy! :good:
For now:
Join telegram group here's the invite link https://t.me/tweakmypixel
CPU GOVERNORS SUPPORTED
1) Ondemand:
Default governor in almost all stock kernels. One main goal of the ondemand governor is to switch to max frequency as soon as there is a CPU activity detected to ensure the responsiveness of the system.
2) Conservative:
A slower Ondemand which scales up slowly to save battery. The conservative governor is based on the ondemand governor. It functions like the Ondemand governor by dynamically adjusting frequencies based on processor utilization. However, the conservative governor increases and decreases CPU speed more gradually. Simply put, this governor increases the frequency step by step on CPU load and jumps to lowest frequency on CPU idle
3) Interactive:
Can be considered a faster ondemand. So more snappier, less battery. Interactive is designed for latency-sensitive, interactive workloads. Instead of sampling at every interval like ondemand, it determines how to scale up when CPU comes out of idle
Features
1) CPU Governors Optimized for better battery saving
2) Enabled dimmer blacklight to save battery
3) faster internet speed
4) Fstrim data,cache,system included
5) Completely Stop and Disable performance daemon at boot
6) Killed GAPPS processes that drains battery
Code:
ChangeLog
12/3/2020
-Added Conservative
-Added Interactive
-Added Ondemand
FAQ
Q: Will these work without Root?
A: NO. you can use magisk or superSu to root your device
Q: Does this work for xyz kernel?
A: Works on xyz kernel just follow the installation Instructions
Q: What are the advantages of this?
A: Better battery life.
Q: How do i check if I have the scripts installed correctly?
A: Check the logs directory /storage/emulated/0/logs
XDA:DevDB Information
Kernel Tweaks, Tool/Utility for the Samsung Galaxy Note 3
Contributors
enweazudaniel
Version Information
Status: Testing
Current Stable Version: V1
Stable Release Date: 2020-03-13
Created 2020-03-12
Last Updated 2020-03-12

[TWEAKS] Kernel Governors,Modules,CPU Tweaks,Misc.Samsung Galaxy note 3[All variants]

Experience more battery life and a cooler phone on Samsung Galaxy note 3(All variants) with any kernel/custom kernel
Note: This tweak doesn't do what you like it does what you need
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 1 :
1) You must be rooted
2) Download the attached ZIP
3) Extract the script
4) Move file i.e(ondemand, Interactive, Conservative) 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) Now logs can be found in the logs directory /storage/emulated/0/logs
7) Enjoy! :good:
For now:
Join telegram group here's the invite link https://t.me/tweakmypixel
Installation 2:
1) You must be rooted
2) Download the attached ZIP
3) Extract the script
4) Open and Grant the app root access and go the script manager of any kernel app of your choice(SmartPack kernel Manager,Franco Kernel manager FKM(paid),Ex kernel manager(Paid))
5) Then import the extracted script(.sh)
6) Run or Execute
7) You can check apply on boot if you want it to always run after boot.
8) 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)
9) Now logs can be found in the logs directory /storage/emulated/0/logs
10) Enjoy! :good:
For now:
Join telegram group here's the invite link https://t.me/tweakmypixel
CPU GOVERNORS SUPPORTED
1) Ondemand:
Default governor in almost all stock kernels. One main goal of the ondemand governor is to switch to max frequency as soon as there is a CPU activity detected to ensure the responsiveness of the system.
2) Conservative:
A slower Ondemand which scales up slowly to save battery. The conservative governor is based on the ondemand governor. It functions like the Ondemand governor by dynamically adjusting frequencies based on processor utilization. However, the conservative governor increases and decreases CPU speed more gradually. Simply put, this governor increases the frequency step by step on CPU load and jumps to lowest frequency on CPU idle
3) Interactive:
Can be considered a faster ondemand. So more snappier, less battery. Interactive is designed for latency-sensitive, interactive workloads. Instead of sampling at every interval like ondemand, it determines how to scale up when CPU comes out of idle
Features
1) CPU Governors Optimized for better battery saving
2) Enabled dimmer blacklight to save battery
3) faster internet speed
4) Fstrim data,cache and system
5) Completely Stop and Disable performance daemon at boot
6) Killed GAPPS processes that drains battery
Code:
ChangeLog
12/3/2020
-Added Conservative
-Added Interactive
-Added Ondemand
22/3/2020
-Made noop default I/O scheduler based on users requests
FAQ
Q: Will these work without Root?
A: NO. you can use magisk or superSu to root your device
Q: Does this work for xyz kernel?
A: Works on xyz kernel just follow the installation Instructions
Q: What are the advantages of this?
A: Better battery life.
Q: How do i check if I have the scripts installed correctly?
A: Check the logs directory /storage/emulated/0/logs
XDA:DevDB Information
Kernel Tweaks, Tool/Utility for the Samsung Galaxy Note 3
Contributors
enweazudaniel
Source Code: https://www.androidfilehost.com/?w=files&flid=306333
Version Information
Status: Stable
Stable Release Date: 2020-03-13
Created 2020-03-12
Last Updated 2020-03-17
Reserved
I don't use a Samsung note 3 check ANY DEVICE
Reserved
Please guys test and post screenshots
Andriodfilehost link
https://www.androidfilehost.com/?w=files&flid=306333
@enweazudaniel. Please check your PM's. Thank you.
Fixed the source code link and duplication of the other 2 threads was due to server error and they have been closed now...enjoy guys :good:
Hi @enweazudaniel this looks like an amazing work but your instructions are not clear enough for me. In Installation 1 step # 4 you've said move file xxxx to path xxxx/services.d but services.d itself is a script, how do I copy one script into another. And if I open one script in txt editor copy all the txt, open the other script in txt editor and paste all the txt then won't that cause confilct with already present values resulting in stability issues?
In installation 2 I'm using smartpack kernel manager but I'm unable to find any import script options in it. Kindly help.
immi said:
Hi @enweazudaniel this looks like an amazing work but your instructions are not clear enough for me. In Installation 1 step # 4 you've said move file xxxx to path xxxx/services.d but services.d itself is a script, how do I copy one script into another. And if I open one script in txt editor copy all the txt, open the other script in txt editor and paste all the txt then won't that cause confilct with already present values resulting in stability issues?
In installation 2 I'm using smartpack kernel manager but I'm unable to find any import script options in it. Kindly help.
Click to expand...
Click to collapse
Maybe you're already using another mod that's why there a script there already and It might conflict if they are for similar purposes(like change a CPU parameter)...if you open in text editor and copy and paste as you said is not the advisable... So just use the script as standalone for best possible results for smart pack manager see the attachment
Hi. Will push works with gms tweaks in the script?
Demonzzz said:
Hi. Will push works with gms tweaks in the script?
Click to expand...
Click to collapse
Hello you can try and as well edit the script in case it doesn't work
Need extra SOT+ on any devices
Join group https://t.me/tweakmypixel

Categories

Resources