Related
Q&A for [KERNEL][CM] ALPHA Kernel 0.4 update [nov 11-2014]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [KERNEL][CM] ALPHA Kernel 0.4 update [nov 11-2014]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
WiFi not working when flashed on Paranoid Android 4.6(Beta 5)
Hello, I have flashed this kernel over Paranoid Android's Fresh installation but as I try to turn on wifi,it keeps displaying that 'wifi is turning on' and it keeps displaying like forever, I have even tried wiping data,cache and dalvik cache after flashing but the problem is still persisting,
I request you to please suggest me what should I do to make this kernel work.
thank you
yashmendhe said:
Hello, I have flashed this kernel over Paranoid Android's Fresh installation but as I try to turn on wifi,it keeps displaying that 'wifi is turning on' and it keeps displaying like forever, I have even tried wiping data,cache and dalvik cache after flashing but the problem is still persisting,
I request you to please suggest me what should I do to make this kernel work.
thank you
Click to expand...
Click to collapse
I dont know what the specified rom is based on , cm or aosp ?
I have cyanogen mod. Rc1. The WiFi wouldn't turn on. I had flashed the v0.5
Sent from my XT1022 using XDA Free mobile app
Would like to help test this build, but I'm pretty new to smartphones in general
I managed to install CM11 via step-by-step instructions, but that's about it.
Would you recommend against doing something as advanced as custom kernels at that early stage of learning?
If you think it's not too difficult to pull off, I'd be grateful for instructions.
Radio Projection said:
I managed to install CM11 via step-by-step instructions, but that's about it.
Would you recommend against doing something as advanced as custom kernels at that early stage of learning?
If you think it's not too difficult to pull off, I'd be grateful for instructions.
Click to expand...
Click to collapse
If u like experimenting, go on and do it. XD to flash the kernel just do a backup of boot.img in TWRP recovery, then flash the kernel, if you dont like it, just restore the boot.img. Its easy. Im new to all this too
trickster mod gpu governor
Can't find the option to change GPU frequency in trickster mod. Its been said that after flashing the alpha .7 kernel in moto e running cm11 GPU can be over clocked. But I can't find the option to do so. Pls help me on this...
bovershook said:
Can't find the option to change GPU frequency in trickster mod. Its been said that after flashing the alpha .7 kernel in moto e running cm11 GPU can be over clocked. But I can't find the option to do so. Pls help me on this...
Click to expand...
Click to collapse
same here, in trickster mod only few options avaible, like dt2w and sound control....
So eager to overclock moto e GPU and RAM
[KERNEL 3.4.104][CM] ALPHA Kernel 0.7 update[nov 17-2014]
(use Trickster mod kernel to avail some of the features)
-Intelli Hotplug v3.8 (for better battery perf)
-Intelli Thermal v2 thermal manager.
-Ram OC to 400mhz from 333mhz
-gpu OC to 433mhz from 400 mhz
[/B][/U]-cpu underclock upto 91mhz (good battery life)
-Sound control 3.4
How to get that RAM and GPU frequency? Is it overclocked by default in this kernel or should we manually do it if so how?
I can't post the issue in the latest thread since I am a junior member. Here nobody answers the question. Really sad. Please take this post to the main thread...
eager to overclock moto e GPU and RAM
[KERNEL 3.4.104][CM] ALPHA Kernel 0.7 update[nov 17-2014]
(use Trickster mod kernel to avail some of the features)
-Intelli Hotplug v3.8 (for better battery perf)
-Intelli Thermal v2 thermal manager.
-Ram OC to 400mhz from 333mhz
-gpu OC to 433mhz from 400 mhz
[/B][/U]-cpu underclock upto 91mhz (good battery life)
-Sound control 3.4
How to get that RAM and GPU frequency? Is it overclocked by default in this kernel or should we manually do it if so how?
bovershook said:
eager to overclock moto e GPU and RAM
[KERNEL 3.4.104][CM] ALPHA Kernel 0.7 update[nov 17-2014]
(use Trickster mod kernel to avail some of the features)
-Intelli Hotplug v3.8 (for better battery perf)
-Intelli Thermal v2 thermal manager.
-Ram OC to 400mhz from 333mhz
-gpu OC to 433mhz from 400 mhz
[/B][/U]-cpu underclock upto 91mhz (good battery life)
-Sound control 3.4
How to get that RAM and GPU frequency? Is it overclocked by default in this kernel or should we manually do it if so how?
Click to expand...
Click to collapse
Try to increase post count to 10 by helping others i the General and Q&A sections....
Once you've got 10 counts under your belt, you'll be promoted to Member and you can post in the development threads...
BTW, don't remember the magical no. is 10 or 25...
Check the warning message during posting and you'll know... :good:
Thanks...thanks a lot..
bovershook said:
[KERNEL 3.4.104][CM] ALPHA Kernel 0.7 update[nov 17-2014]
(use Trickster mod kernel to avail some of the features)
-Intelli Hotplug v3.8 (for better battery perf)
-Intelli Thermal v2 thermal manager.
-Ram OC to 400mhz from 333mhz
-gpu OC to 433mhz from 400 mhz
[/B][/U]-cpu underclock upto 91mhz (good battery life)
-Sound control 3.4
How to get that RAM and GPU frequency? Is it overclocked by default in this kernel or should we manually do it if so how?
Click to expand...
Click to collapse
Trickster mod has the option to OC.
I don't remember exactly, but its a value on the scale of percentage. (100 being default).You need to change it in steps (usually by 1).
Google how to use trickster mod. Or try any other GUI based CPU app. Most apps support CPU OC if the kernel supports it.
Ps: Its been long since I used Trickster mod and OC'd. So it might be a lil different than I remember.
Also, to enable OC, you might have to disable Battery Saver.
This section went out of my sight , i will check it regularly from here on :good::good::good:
I downloaded the latest trickstermod and installed. Checked the tutorial too. In tutorial I saw the overclocking slider and stuff. But with this kernel I couldn't see any option like that in trickstermod. Its been said that we can underclock RAM frequency too in the kernel features. GPU tweaking is also another feature of this kernel. But I am unable to use these options with trickstermod. Can this be done with any other app supporting this kernel?
If so pls help me out with app link and screenshots.
Thanks a lot for your response...waiting to overclock...
Root Problem
I somehow lost root permissions and SuperSU says binary cannot be installed. Happened after i flashed this kernel. If anybody faced such problem and got a solution please help me out with it :'(
DemonReborn said:
I somehow lost root permissions and SuperSU says binary cannot be installed. Happened after i flashed this kernel. If anybody faced such problem and got a solution please help me out with it :'(
Click to expand...
Click to collapse
+1 i got the same problem & only after flashing this kernel...
any ideas how to fix root?
tried installing su binary through twrp & it installs fine but when launched super su says no binary is installed.
Digital TV and root access does not work.
Digital TV does not work, so I installed this kernel I lost root access , I did the flash SuperSu.zip again , but still no root access ..: c
i suppose , the root problems arent occuring anymore
** Note: This kernel is end-of-life and will no more be maintained. There will be no LineageOS 15.1 or newer kernel be available anymore **
Hi all,
some of you know me from the Samsung devices area, where I provide my kernels already for more than two years to Galaxy S3 and Note 10.1 users for all sort of platforms (Samsung, Cyanogenmod, Omnirom etc.).
Maybe you also know me from my OnePlus One kernels I added in winter last year to my portfolio.
Finally I got a Samsung Galaxy S5 afew weeks ago and decided to port my kernel also to this device. This is a sponsored device, so I want to say a big thank you to the people that made it possible, namely the ones in the German Smartphone Forum www.hubo.in !!!
Please note:
I am not heading to have as many features as possible implemented, this is not my design goal. If you are more into that, move on to other, good existing kernels. If you are searching for a good mix of improvements and new functions while not sacrificing stability, you are welcome here (see below the history section for more info).
For the Samsung Stock Boeffla-Kernel, please go HERE.
Important notes
When using new anykernel concept Boeffla-Kernel: Flash stock kernel of rom first !
Compatibility
Important: This kernel is only meant to be compatible with official LineageOS/Cyanogenmod and nothing else.
So when the kernel does not run on custom rom XYZ, do not even bother me with it or ask hundred times in the thread for compatibility.
I could not care less about it !!
Support
First read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app.
Click here to learn about using the config app.
I will refuse to give support if you do any undervolting and experience freezes or hot reboots.
I will also not provide any support if you do not use Boeffla-Config app to tweak the kernel, other 3rd party tweaking apps are known (and intended) to cause issues.
I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it.
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Change log for CM14 kernels: CLICK HERE
Change log for CM13 kernels: CLICK HERE
Change log for CM12 kernels: CLICK HERE
Change log for CM11 kernels: CLICK HERE
Features
Support of anykernel concept (only latest kernels) - flash stock kernel before flashing Boeffla
Full integration with Boeffla-Config V2 configuration app (get it from http://www.boeffla.de) to configure all kernel settings
Additional governors: zzmoove (Note: not considered stable at the moment, you might face reboots!!!), intelliactive, intellidemand, wheatley, smartmax, slim, intellimm, nightmare, lionheart, pegasusq
Zzmoove supporting native hotplugging profiles
Additional schedulers: fiops, bfq, sio, tripndroid, zen
Many Hotplug tweak profiles (Default, Optimized, 1 core max, 2 cores max, 3 cores max, 2 cores min, 3 cores min, 4 cores min, 2 cores exact, 3 cores exact)
Wake up gestures implemented (double-tap-to-wake, swipe to wake)
Boeffla-Sound engine (Headphones and speaker volume configurable)
Configurable vnswap
True dynamic FSync (activated if screen on, deactived if screen off), configurable
Touch boost frequency configurable, touch boost switch (all boosts removed by Lineage team in December 2016)
CPU Overclocking up to 2.84 GHz
CPU Voltages interface for undervolting/overvolting
GPU idle frequency 27 Mhz added
GPU governor selection support
Show GPU frequency usage per frequency in Boeffla-Config
Color control to adjust RGB color space + inverted mode
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
System Tweaks predefined supported (default is off)
Android logger (logcat) configurable
Kernel logger (dmesg) configurable
Charge rates for AC charger, USB and wireless charging separately configurable (set charge rate to 0 to have stock charge logic back)
Charge information display support via Boeffla-Config V2 app
CIFS support (module, do not mount inside /data)
NFS support (module)
NTFS support (module)
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Swap supported (but not recommended, use zRam instead)
init.d support (in /system/etc/init.d - set correct permissions!)
Default entropies increased
Insecure kernel (adb has root privileges)
Automatic EFS backup
Kernel survival mode by Boeffla-Config app to survive CM rom flashes
Full support for mpdecision for best compatibility and smoothness
(Important: use Boeffla-Config to configure min/max CPU frequencies + governors + schedulers only - or explicitely allow other apps/processes to overwrite this in Boeffla-Config settings, but expect weird side effects)
Integrated full busybox 1.23.1 (own compilation)
Auto-Root by kernel possible by request, not recommended for CM however (latest su included)
Kernel initialisation log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Presets supported in Boeffla-Config by kernel (Extreme power, power, normal, battery friendly and battery saving)
Google gcc 4.8 toolchain used for best stability
Always using latest Initramfs
Always based on latest Galaxy S5 sm-g900f kernel sources by CM
Kernel runs with SELinux enforcing by default, just as CM12 stock kernel for S5 - but can be configured to work in permissive mode in Boeffla-Config settings
Note: I do NOT upstream the kernel to higher Linux kernel versions anymore as this usually has zero benefit but likely introduces new issues + is a waste of effort in the end
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
History and design targets
Basically I created my first Boeffla-Kernel in 2012 as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. Also it does not aim to have the broadest feature set available everywhere.
It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!!
These design targets are also valid for the Galaxy S5 kernel here!!!
This said, I will definitely NEVER implement:
things I do personally not need
things I do not like
things that are in any way dangerous
anything which is highly experimental
f2fs - it is known to cause various issues and compatibility problems
a CAF based kernel
anything that requires upstreaming of kernel parts to a higher kernel major version
So do not even ask for it if it falls into the listed categories. Everything else I am happy to check and decide.
And: I do not really care about benchmark numbers, they say almost nothing as long as something is not completely wrong. Important for me is the feel-good factor.
I am also not interested in gaming at all, so never expect a gamer kernel. It will just not happen...
Compatibility
To reiterate it again: Flash the correct kernel depending on whether you are on Samsung Stock, CM12 or CM11 !!!
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from the downloads section on www.boeffla.de.
You need at least version 2.1.72 or higher for the Galaxy S5 Boeffla Kernels.
Donation
If you like my work, feel free to donate: Donation-Link
If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.
Source code
All sources can be found in my Github repository: http://github.com/andip71
Credits to developers
Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:
* ZaneZam
* Yank555
* ktoonsez
* Hardcore
* Chainfire
* AndreiLux
* Netarchy
* Gokhanmoral
* Entropy512
* Faux
* Ak
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in your custom recovery and safely store your personal data before you flash a new kernel.
Cheers and enjoy
Andi
Latest change logs:
LineageOS 14.1
http://kernel.boeffla.de/sgs5/boeffla-kernel-cm/cm14.0/changelog.htm
CM13.0
http://kernel.boeffla.de/sgs5/boeffla-kernel-cm/cm13.0/changelog.htm
Configuration and profile thread
http://forum.xda-developers.com/galaxy-s5/general/unofficial-boeffla-kernel-profile-t3139530
*** You want my support? Then stick to my rules ***
Guys, I am receiving more and more completely useless support requests in different threads. Useless because people provide nothing to be able to help, not even the minimal possible information they could give.
Hence, I will now remind anyone again on the support guide lines stated here:
http://boeffla.de/index.php/support/support
Also you need to ensure you follow the installation guide lines incl. trouble-shooting stated here:
http://boeffla.de/index.php/support/installation-how-to
And to cut a long story short: If you do not at least provide what I request in the support guide lines, I will IGNORE YOUR REQUESTS IN FUTURE.
Straight and simple. I have enough of people wasting my time just because they are too lazy to write details.
Period.
Also as a reminder:
you use xposed? -> no support, everything is your own issue
you use a custom rom and not the official stock or CM one? -> good luck, you are on your own
you undervolt or overclock? -> have fun, but without my support
Sorry, this might sound harsh (and it is meant to sound harsh), but you cannot imagine about how crappy support requests can be. Stating something does not work is just not enough.
Please consider that!!!
Andi
Hi all,
Great kernel
Works very fine
Check this out..
Thanxxxx to the Lord for the hard work in the last week's
Now i love my S5 G900F
[emoji7]
Ive installed on Teamsek CM12 v9.0 and geting self reboot ...
Im waiting for new ver. Always big fan of your krenels
gravis_jg said:
Ive installed on Teamsek CM12 v9.0 and geting self reboot ...
Im waiting for new ver. Always big fan of your krenels
Click to expand...
Click to collapse
Cannot comment for Temasek, as written.. it is for official CM12. And it is only tested by me with official CM12.
If it runs with Temasek - fine. If not, you need to search why it reboots for you. Then Temasek seems not 100% compatible.
Andi
Flashed fine on AICP.
Only heard good things about your kernel!
superleeds27 said:
Flashed fine on AICP.
Only heard good things about your kernel!
Click to expand...
Click to collapse
Thanks.
But also let's be realistic. It is version 1.0-beta1. So for sure some more way to go
Andi
@Lord Boeffla
Hi Andi, a big neverending thanks for providing us with an S5 (G900F/klte) kernel.
Coming from my i9300 which ran the whole time with your wellknown and imho best kernel for the i9300 I am familiar with your fine app and highly appreciate your new work for the S5.
And btw: Due to so far not working TRDS for LP/cm12 I still run kitkat for s5 (same with my i9300) using FusionRom which is mostly based on cm11.
Now with Boeffla-cm11 for G900F based on FusionRom 4.4.4 I feel happy again - fast-stable-easy to handle 1A+++
gravis_jg said:
Ive installed on Teamsek CM12 v9.0 and geting self reboot ...
Im waiting for new ver. Always big fan of your krenels
Click to expand...
Click to collapse
Quick question: Are you coming from another custom kernel?
It might be, some cleanup work is required first.
Just had a user that came from KT kernel and he had to deinstall the two KT apps manually, wipe dalvik and cache. Then it started working.
Andi
CM12 kernel seems to work fine on bliss-pop. At least so far. ?
vulfgar said:
CM12 kernel seems to work fine on bliss-pop. At least so far. ?
Click to expand...
Click to collapse
Fingers crossed it will stay like that
Andi
Lord Boeffla said:
Fingers crossed it will stay like that
Andi
Click to expand...
Click to collapse
Me too. If not I'll have to change rom.
Lord Boeffla said:
Fingers crossed it will stay like that
Andi
Click to expand...
Click to collapse
Just to be tested, my friend thanks for everything
Lord Boeffla said:
Quick question: Are you coming from another custom kernel?
It might be, some cleanup work is required first.
Just had a user that came from KT kernel and he had to deinstall the two KT apps manually, wipe dalvik and cache. Then it started working.
Andi
Click to expand...
Click to collapse
I was the user
You must delete in root/system/app/com.ktoonsez.KTmonitor.apk and com.ktoonsez.KTweaker.apk.
Additionally, in Int SDcard the KTKernel Folder with profiles and scripts.
First, install the Boeffla Config, then go into recovery and flash the kernel. Wipe cash and Dalvik and reboot.
For Viper4android user, first deactivate Viper4Android or use the Beoffla Kernel without Boeffla sound settings.
Sorry for my bad English, with this kernel for lollipop tw viper4android work or not? Now i have flashed this kernel and boeffla apk
gravis_jg said:
Ive installed on Teamsek CM12 v9.0 and geting self reboot ...
Im waiting for new ver. Always big fan of your krenels
Click to expand...
Click to collapse
Hi, I've tested the kernel on Temasek and on a few different Rome.
Bliss Pop Rome, Fusion, Darko ... CM12 unofficial
It's like Horsti G says everything must be deleted from the kernel KT otherwise there are problems. but I have only the KT monitor at run without problems
Especially on the Temasek Rome had 2 people tested the kernel for quite some time without any problems.
Unfortunately the support for other roms is not possible because there are always errors and differences with other roms.
a Idde would make a thread for all other roms. since one could then afford support?
@ cranio84
For Viper4android user, first deactivate Viper4Android or use the Beoffla Kernel without Boeffla sound settings.
sorry for the translation with the googel translator
kind regards
Jakkomo 77
Ok i deactive boeffla sound setting, but where is a guide to install viper4android, because I have tried with more kernel on tw rom and don't work
For sure there are specialised threads for viper4android.
But wrong in this thread to discuss that...
Andi
Ok, i discute un this 3d because your kernel is correlate for me
After maybe a month of working in the kernel.
I guess it's about time to release the kernel for testing.
Downloads in the second post are only there for easy follow ups.
Please read all the sections below before trying out this kernel first.
This kernel comes with absolutely no warranties whatsoever, period.
XDA:DevDB Information
This field is required., Kernel for the Samsung Galaxy Star
Contributors
psych.half
Kernel Special Features:
Version Information
Status: Testing
Created 2016-02-15
Last Updated 2017-10-12
Downloads
Latest : kernel-mint2g-trilogy-stable-r10.zip
The latest version is tested to be booting on :
Stock JB4.1 with CWM 6.0.5.3 by @dabakale
CM-10.1 with Philiz recovery by @medved197938
CM-11 with TWRP 3.0 by me
If you are getting status 7 errors, while flashing.
Try with a different recovery, and if that doesnt help upload the /sdcard/liverepack.log along with recovery.log from your recovery.
Changelog:
Code:
==================================
r10 : Apr 7, 2016
- Added and fixed custom voltage control, It could be errornessly set lesser than 650mV.
- Added underclocking. Needs to be enabled manually, see post #
- Removed 1400Mhz and 1500Mhz frequencies, as it causes crashes on many devices.
- MTP should now work on both Stock/CM rom (needs testing )
- Fixed battery level getting stuck issue.
- Fixed brightness/constrast bug in stock ROM.
- Initial stable* release of trilogy version.
Extra downloads
camctl : script to enable/disable camera for RAM
How this thread is organized.
The OP has been broken down into sections. The first 20 posts reserved for info/wiki sort of.
So when things get updated/added it'll all be in the first few pages for everyone to see.
Each section will be short and to the point so you're having problem with one section.
And you're the type who just has to quote posts you might do so without getting on other people nerves.
And normally I just just ignore the forum's usual craptalks, but at this early stage of development, try to keep the noise minimal
Let's make some things clear first.
This kernel is not for you if you want a stable kernel.
CM11 should already include the stable version of this kernel, so you should just stick to that.
This kernel is only for CM11. No other roms will be supported or even considered.
This kernel is higly experimental. Freshly made, straight from the lab.
So expect some breakage of functionality, random reboots, bootloops and explosions (unlikely, but I gotta cover myself).
Flashing
The zip makes no backup of your current kernel as of now.
So if you wanna go back to shipped CM11 kernel you have two options.
i) Manually move the original modules to system and restore just the boot image from TWRP.
ii) Restore/flash the entire ROM.
As for flashing the zip, you should burn it on a CD, and choose boot from CD in your PC by keep pressing F10/F12 at BIOS screen.
Well no but, you should at least be familiar with flashing and backups.
Breakages
Camera:
Well, it's due to updated ION drivers, which are not compatible.
In the meant time I have disabled memory allocation for camera.
Which should give some extra free memory.
If there's any other stuff broken here but not while using CM11 kernel.
Post it here instead of there. But not the stuff broken in shipped CM11 too.
What are not bugs.
24mb of less RAM:
Linux ate the RAM, no really.. linux eats RAM http://www.linuxatemyram.com
Well it's due to enabling memory cgroups.
Android says keep it enabled for low ram devices.
As per https://source.android.com/devices/tech/config/low-ram.html
Also, see the below sections for frequency scaling
Bug reporting
You know you won't get help the next time from a kernel dev if you give them a logcat.
So get the dmesg or no help for you.
And /proc/last_kmsg is not working due to ram console issues.
So if you're gonna be reporting random reboot issues, make it reproduceable.
And make it precise. If the issue is caused because you have installed, some 10 or 20 other mods.
Good luck solving it.
What are in the kernel.
You get your usual stack of IO schedulers, governors, dynamics and mods. They won't be included in the change log below.
I don't even know what half of those are.
So don't ask me what/which one to use. See them for yourself.
You also get some usual tweaks, which can be changed with any kernel control app you like.
Same don't ask what/how to tweak.
If you want something to be added that you don't find. Let me know, and I'll see what I can do.
Frequency scaling
Frequency scaling is already included from r3 onwards. So the previous instructions no longer applies.
The default min and max frequency is 1Ghz and default governor performance. ie. same as stock.
Any change to that is your own choice.
And your own loss if something goes wrong.
There are some limits to it.
i) It can be only changed 10 times a second, so it might cause lag sometimes.
So choose your governor and scaling wisely. Battery or performance. You decide.
Underclocking has been removed.
Going below 1000Mhz makes no sense, as the core voltage is the same.
There is no point in reducing frequency, if the power consumption is constant.
Overclocking has it's own section. See below
Overclocking
First if you were using the older broken cpufreq driver and were in the impression that you were at 1.6Ghz you're gonna damage your device.
The driver written by me, really overclocks the cpu and the whole system, yeah mines fractured too. Nothing I can do about it.
So use at your own risk. And don't discuss about the safe overclocking frequency. There isn't any.
Issues caused by overclocking are not issues. or bugs.
I won't give you any overclocking advice. But here's one anyway.
Overclock only when necessary and do not keep the values persistent at boot, "Set at boot" in apps.
Changes from stock:
A lot of thing has been updated, changed, modified. I will have to go through source again.
A short list of changes I can think right now will be posted soon.
- The you know, built with some GCC-5 Linaro toolchain and O2.
- Cherry picked upgrades from various kernel sources.
- Disabled a whole lot of Samsung debugging.
But there's more... see the Github repo.
reserved
#Reserved
#Reserved
#Reserved
Source
kernel:
https://github.com/halfpsych/kernel_mint2g
cpufreq-driver: https://github.com/mint2g/kernel_module_cpufreq-driver
Contributing.
Any contributions to both source and wiki are always welcome.
You can help fix typos or better clarify some sections or even help to write new ones.
Credits
For bringing CM11 to this device
- corphish
- Dreamstar
- TeamButter
- All others involved in CM11 mint2g project
Initial testers and bug reports:
- Dark Knight Begins
About SoilWork
SoilWork is a mod created by @RogerF81, originally for the HTC 10, which features a Snapdragon 820. I've ported this mod to work with both OnePlus 3 and 3T devices. While the mod keeps the same name, the scripts used have been modified to best adapt to our devices! All the tweaks used in these scripts are made to work on any android and kernel version. If you are using an HMP kernel or an EAS one, there is no problem, as SoilWork will do the job of identifying your kernel and applying the tweaks accordingly.
Check out RogerF81's original thread here.
How to install/use this mod
If you use any of the Magisk modules provided in the download section, you just need to flash it in TWRP or in Magisk Manager and reboot. All the setting will be applied 30s after boot, to prevent any possible interference. Boosters Disabler is the only one which will run 45s after boot to prevent interference with the other profiles. (They can be installed alongside!)
If you want to use the .sh file provided in the download section, you can simply run it in a terminal emulator with these three simple lines:
Code:
su
cd /path/to/file.sh
sh *name of file*.sh
If you use the terminal method, rename the script, as parentheses aren't recognized from the terminal, use backslashes or the tab button combination (Vol+ and T) to complete the name of the script, which will also correct the name before you make it run. This is an error which won't be needed in the next update as the scripts will have a different name. Guess what? Fixed it.
Alternatively, use any other app which can run the script as root. At every reboot, however, the tweaked tunables will reset to the default values. The scripts already have a sleep time of 30 seconds (45 for Boosters Disabler), so it's not needed to add one. If you, by any means, remove it, please add from the app's settings a delay of at least 30 seconds in order for everything to work as it should.
If you're using a script manager app, as EXKM, please note that these apps seem to have problems in reading large files. Even if the file size has been reduced from the previous release, these apps may have these problems anyway. If that's the case, copy and paste the script to a new file created within the app.
Note: The script will not print anything on the console (it'll print grep checks) or output any file (as the previous versions) this is because all the scripts have been checked and are known to run without problems. If you still want to check if the script runs correctly, check the output from the app you are using to run the script (Magisk users run the script as stated above), since the console will output error messages (if any)
Note for Magisk users: The latest module is compatible with Magisk v15.0. Older versions are not supported anymore and are most likely to be moved to a folder tagged "OLD" in my AFH's Magisk folder.
Known bugs
Some Oreo ROMs seem to not react well under the battery profile (Cardinal Xtended seems to be excluded from this issue)
Available profiles (more to come)
Battery: Enhanches battery life without ruining user experience. It ruins your experience anyway? Try Battery LightWeight!
Battery LW: Also known as Battery LightWeight, this profile is the same as the Battery one, but has less impact than its predecessor.
Balanced: Gives a balanced experience between performance and battery.
Boosters Disabler: Disables any kind of CPU boosters in your kernel (Vox Populi, Input Boost, CPU Boost).
Downloads
MEGA | GDrive
AFH Main Directory
├ Magisk 13.x directory
└ Magisk 14.0 directory
Since AFH doesn't support the sh file extension, the scripts will only be available with GDrive or MEGA.
I'll use AFH as a repository - check it out if you want an older zip. If you search for an older script, just download any of the magisk zip and extract the script under /common/service.sh and you'll get the script.
Changelog
Battery profile
HTML:
v2.0
-Cleaned and fastened the script
-Added smartmax governor as a suggestion of a good tester
Battery LW profile
HTML:
v2.0
-Initial release
-Not bad for a version jump, uh?
Balanced profile
HTML:
v2.0
-Same as battery for this version
Boosters Disabler add-on
HTML:
v2.0
-The only change is the version number. Maybe.
Old changelogs
Battery profile
HTML:
v1.4
- Tweaked some EAS values
- Deadline over noop if maple is not present
v1.4.1 (will still show as 1.4)
- Fixed an error in the code
v1.3:
- Fixed flash problem via TWRP
- Fixed version
- Implemented more tweaks for EAS kernels (HMP too, but little was done)
v1.2:
- Optimised integration with blu_spark kernel
- Squashed some bugs
v1.1:
- Fixed tweaks which caused the device to stutter
- Optimised some tweaks to make the profile even more battery friendly
v1.0:
- Initial release (unavailable)
Balanced profile
HTML:
v1.4
- Tweaked some EAS values - more battery, same performance
- Fixed a GPU code-related problem
v1.3:
- Fixed flash problem via TWRP
- Fixed version
- Implemented more tweaks for EAS kernels (HMP too, but little was done)
v1.2:
- Optimised integration with blu_spark kernel
- Squashed some bugs
v1.1:
- Fixed an error in the code which made GPU values to not apply on OP3
- Optimised some tweaks to make the profile more balanced
v1.0
- Initial release (unavailable)
Boosters Disabler
HTML:
v1.0:
- Initial release
Credits
@RogerF81 for the original script and idea
@joshuous and @RenderBroken for their help with kernel related questions
@boyd95 and @ZeroKool76 for trying the script out before the release
@soniCron @Alcolawl @Freak07 @Asiier
@Mostafa Wael @patalao @Senthil360 @TotallyAnxious @Eliminater74
@ZeroInfinity @Kyuubi10 @ivicask @DeeZZ_NuuZZ
ROMs which include SoilWork (or any of it)
ZeNiTy [EAS] since 30.09.17 build - Thanks to @ZeNiXxX and @SKULSHADY for the inclusion and for their awesome work! Check out the full post here.
Version info
Version: 2.0
Status: stable
Date of creation: 20/09/2017
Date of last update: 29/12/2017
Note for the developers of custom ROMs: Yes, you can use my script in your ROM, but give credits and PM me so I can add your ROM in this OP.
Are you wondering which profile to use? Seek answers no more, here's a detailed (?) insight of them!
Battery: This profile is excellent if you're using Nougat. No one is experiencing lags on Nougat because of this profile, and if anyone is, the wrong kernel is being used (check at the end of the post). The tweaks in this profile tweak almost everything regarding your CPU's governor. Another module (the one below) has been made for you if you don't like this approach (but don't expect the same results). On Oreo, there seems to be a problem, for now, as many kernels doesn't seem to tolerate the tweaks it does. On some ROMs there are no problems, in some there are. Try it yourself and let me know how it goes. If you are experiencing lag on Oreo, please try the module which is described below before posting known issues.
Battery LW: This profile, which full name is "Battery LightWeight" has seen light because the impact on Oreo and some kernels seemed too much. This won't tweak the same amount of things as the one described before, and seems to run better than the Battery profile on Oreo. As for Nougat, consider using this module if you're experiencing lags. This module is also for everyone which runs a kernel with enhanced battery features (see the end of the post). Even if it has been tested on a couple of them, please do note that it's not easy to cover them all. If you're experiencing problems, revert to stock settings.
Balanced: This profile is for everyone who wants some battery tweaks but doesn't want to slow down the phone by any means. On Oreo it doesn't seem to have any problems like the Battery profile has, but it's still a beta on Oreo. On Nougat, it runs smoothly. Use this profile if you want a balanced experience between performance and battery saving options.
Boosters Disabler: This profile is for who wants even more battery. Do you feel like CPU boosters aren't needed in your setup? Use this profile.
Anyway, what's this issue with Oreo ROMs / Battery enhanced Kernels?
Oreo ROMs, being still worked on, change rapidly how they function. This means that some script parts may adapt, may not. Particularly, it has been reported that NitrogenOS may have some problems when the script is used and may not be compatible for the time being. Do note that when all ROMs settle to a stable version, the tweaks will be rewritten and adapted.
Battery enhanced kernels are already optimized by the developers to have the best battery life. Adding custom scripts may ruin your experience.
FAQs
Q: Does this script support the ROM/kernel I'm currently using?
A: Yes. The script supports any kernel, even the one provided with your ROM. This being said, I won't help people using heavily modified kernels, such as Franco kernel or BoefflaKernel. As they state in their threads, modding those kernels with 3rd party app is discouraged. The scripts will work with your kernel anyway, but I can't help anyone facing issue with the mods since it's an incompatibility I can't change.
Q: Apart from flashing the module or using the script, do I need something else to make it work?
A: No, you don't need anything else to make this mod work! Just flash the module or run the script from terminal or other sources. You can, however, use KA, EXKM or open the "soilwork_op3.txt" file on your sdcard root to see if the settings got applied correctly.
Q: This script has overridden my settings! How can I make it not do that?
A: If you think this is an error, please report it to me, so I can change the script. However, if these settings are your personal settings, change them with any kernel manager and set them to apply at boot, setting the delay of the settings higher than 30 seconds (a value equal or higher than 40 seconds is reccomended).
Q: Can you add these settings to the *name of profile* profile?
A: Sure! Make your suggestions in this thread, and if after some testing they prove to be effective, I'll add them in the script. Please test them yourself before posting them.
Q: How can I uninstall the mods I'm currently using?
A: You can uninstall the mods with Magisk Manager if you are using the Magisk module. If you modified system files to make the script run at boot, simply delete the lines you've added. If you are using a third party app... You should know how. Whatever method you use, reboot your phone to see the effects.
Q: My phone's battery stats are the same! What went wrong?
A: If you're using Oreo, that's widely possible. Even if some people got great battery stats on Oreo, Oreo is still being worked on, so don't expect astronomic results. (Plus, these screenshots are also old. If you guy posted some more... )
Q: Can these tweaks make my phone waterproof, make it explode or fix VoLTE?
A: No.
More coming soon... If something is unclear, let me know
Screenshots
Check the attached thumbnails! This section is still a work in progress. Post your best sot and battery stats and they'll be posted here!
Note: If in a screenshot is tagged with the letter "A" the next one tagged with "B" is another screenshot with more detailed battery use.
Screenshots are from: @boyd95 and @Nagi2195. Thank you for the precious help!
I will try it out and tell about the battery life in few days
Can i get the video tutorial on this! Magisk is not available for android 8 so only su i have... How to install?
Gauravlonkar said:
Can i get the video tutorial on this! Magisk is not available for android 8 so only su i have... How to install?
Click to expand...
Click to collapse
Download the .sh file of your preference from the links in the download section, then install a terminal emulator and follow the guide in the op. Alternatively, to have it apply at every reboot, use any app that can run the script at boot, like EXKM, Boot Manager or apps like these ones. You can also append the scripts to your init.d. Check xda for tutorials on this one.
Nice to see your work finally released! Very good work
Great job
VoxPopuli is only for EAS kernels and roms that has it, right?
Can u provide uninstall as sometimes needed for changing profiles.
theduke7 said:
VoxPopuli is only for EAS kernels and roms that has it, right?
Click to expand...
Click to collapse
Yes, you are right
abhi0502 said:
Can u provide uninstall as sometimes needed for changing profiles.
Click to expand...
Click to collapse
You mean an uninstaller for the magisk modules? I could, but it's already a function of Magisk Manager. Go to Magisk Manager>Modules and click the rubbish bin icon to remove it. Since to install another one you have to reboot, simply install it via Magisk Manager, remove the old one and reboot. The new module will be functional at reboot and the old one will be removed. To erase the custom settings, just remove the modules you've applied and they will reset to the default ones -- the ones which came with your ROM.
i added the balanced one to Magisk on Flash kernel using Blu_Active governor and fastlane active on big cluster... so far so good, will report back after the end of this battery cycle.
This mod will work on op5?
is VoxPopuli BFP works with RenderKernel EAS?
morfances said:
This mod will work on op5?
Click to expand...
Click to collapse
Probably not, because op5's paths might differ from the ones op3/t has. You can try, but I can't guarantee that it will work
cet90 said:
is VoxPopuli BFP works with RenderKernel EAS?
Click to expand...
Click to collapse
Yes, it should work. To be sure check if Vox Populi is included in the Kernel, but if you are using a recent version of the kernel, you won't have problems
cet90 said:
is VoxPopuli BFP works with RenderKernel EAS?
Click to expand...
Click to collapse
it should work on RenderZenith (it's essentially the same but with vox), also both projects are now merged i think, both devs will produce 1 kernel from now on
morfances said:
This mod will work on op5?
Click to expand...
Click to collapse
This is written for sd820 and 821, with specifically the 3 and 3t in mind. Since the op5 has sd835 I don't think that will work well.
theduke7 said:
it should work on RenderZenith (it's essentially the same but with vox), also both projects are now merged i think, both devs will produce 1 kernel from now on
Click to expand...
Click to collapse
Hi, thx for your reply. After applying the magisk module. i noticed a slight lag during UI interaction and app launching/switching. Battery still monitoring.
cet90 said:
Hi, thx for your reply. After applying the magisk module. i noticed a slight lag during UI interaction and app launching/switching. Battery still monitoring.
Click to expand...
Click to collapse
Same story, tried battery and balanced versions.
cet90 said:
Hi, thx for your reply. After applying the magisk module. i noticed a slight lag during UI interaction and app launching/switching. Battery still monitoring.
Click to expand...
Click to collapse
yes i noticed the same on an HMP kernel as well with balanced profile.
it does improve battery though, specially when the screen is of , it's almost 0.5% an hour which means last night i lost 4% only while i was asleep (very good) , i think it needs to be optimized for when the screen is on to have less lag (it's more of a stutter)
I have had this phone a year now and seems to get slower and slower. I used to be able to download kernels to overclock other phones in the past. Is this possible with this phone?
sactownie said:
I have had this phone a year now and seems to get slower and slower. I used to be able to download kernels to overclock other phones in the past. Is this possible with this phone?
Click to expand...
Click to collapse
You can flash a custom kernel for this phone too if someone has made it. A custom kernel will always be better then the stock. After flashing a custom kernel or you can use stock one, install a kernel manager (I like smart pack) and set CPU BIG and SMALL CLUSTERS to highest frequencies and set the scailing_governor to performance. GPU increse frequencies to max and set governor if you can to performance. Disable SE LINUX (only if you know what you are doing)
These may help:
[REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs
Reorganized overflowing Posts to fit into 5 Posts. [Feb 3] Most of us are flash maniacs, and we do it a lot. But after a kernel flash, we wonder: Q1. "OK i have flashed this xyz kernel. What're all these governors? How do i know which one is...
forum.xda-developers.com
LKT ? legendary.kernel.tweaks - Advanced Governor & Kernel Tweaks
High performance & power saving tweaks for all devices (THAT ACTUALLY WORK) Introduction LKT is a cumilation of different strategies that target certain kernel settings. What makes this special and stand out from the crowd is being universal and...
forum.xda-developers.com
LAST_krypton said:
You can flash a custom kernel for this phone too if someone has made it. A custom kernel will always be better then the stock. After flashing a custom kernel or you can use stock one, install a kernel manager (I like smart pack) and set CPU BIG and SMALL CLUSTERS to highest frequencies and set the scailing_governor to performance. GPU increse frequencies to max and set governor if you can to performance. Disable SE LINUX (only if you know what you are doing)
These may help:
[REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs
Reorganized overflowing Posts to fit into 5 Posts. [Feb 3] Most of us are flash maniacs, and we do it a lot. But after a kernel flash, we wonder: Q1. "OK i have flashed this xyz kernel. What're all these governors? How do i know which one is...
forum.xda-developers.com
LKT ? legendary.kernel.tweaks - Advanced Governor & Kernel Tweaks
High performance & power saving tweaks for all devices (THAT ACTUALLY WORK) Introduction LKT is a cumilation of different strategies that target certain kernel settings. What makes this special and stand out from the crowd is being universal and...
forum.xda-developers.com
Click to expand...
Click to collapse
Thanks for the info, I have installed smart pack and tweeked some settings, phone seems a lot snappier now.