Kernel with core deactivation for KitKat - Galaxy S 4 Q&A, Help & Troubleshooting

Hello everyone!
Do you guys know a kernel, that allows to deactivate single cores? I've been using the Semaphore kernel with my old device and it allowed me to choose how many cores should be online max. Also the kernel should support CPU undervolting and underclocking.
Can someone help?

We have several kernels available, but the ones most likely to do what you want are the Hulk kernel and Alucard kernel. Try them and see which works best for you.

Strephon Alkhalikoi said:
We have several kernels available, but the ones most likely to do what you want are the Hulk kernel and Alucard kernel. Try them and see which works best for you.
Click to expand...
Click to collapse
I tried Hulk Kernel already and it seems there is no deactivating of kernels available. I will give Alucard Kernel a try! Many thanks!

I don't see the point in deactivating cores as it negatively impacts performance. But the Alucard kernel in Optimized CM12.1 does allow you to disable cores through the Hotplugging feature in Stweaks. I don't know if that feature is in the standalone kernel.

Strephon Alkhalikoi said:
I don't see the point in deactivating cores as it negatively impacts performance.
Click to expand...
Click to collapse
True but it also increases battery life enormously. As battery life is more important to me then performance, I will deactivate some of the cores.

3mperror said:
True but it also increases battery life enormously. As battery life is more important to me then performance, I will deactivate some of the cores.
Click to expand...
Click to collapse
Hulk kernel allows you to deactivate cores from the Intelli-Plug tab in the Hulk-Stweaks app.
You can set how many cores should be online at max. Set it to 2 or 1 and you should have a dual core or a single core phone. This works only for the Intelli-Plug hotplug.
KT kernel also allows you to deactivate cores. You will have to use it with the Ktoonservative governor, though, and tweak the governor accordingly.
Or download the Sleeping Dragon 1.2 Single Core profile from the profile shop in the Ktweaker app.
It will turn your device into a single core phone. There are also dual core profiles.

Related

[Q] Nexus 4 Franco Kernel

I Currently flashed franco kernel on my nexus 4 . My question should I leave everything to default ? And how to exactly do I under volt in franco. I have really never under volted
Thanks
dia_naji said:
I Currently flashed franco kernel on my nexus 4 . My question should I leave everything to default ? And how to exactly do I under volt in franco. I have really never under volted
Thanks
Click to expand...
Click to collapse
Default settings are fine for a decent battery life. UV doesn't really increase the battery life; its used to reduce the heating when using processor intensive apps (games). But if you don't know what you are doing, its recommended that you don't change any settings.
Sent from my Nexus 4
blitzzz3434 said:
Default settings are fine for a decent battery life. UV doesn't really increase the battery life; its used to reduce the heating when using processor intensive apps (games). But if you don't know what you are doing, its recommended that you don't change any settings.
Sent from my Nexus 4
Click to expand...
Click to collapse
That's really my intention. Right now I am running
384 mhz- 725mV
1026 Mhz-900mV
1512 Mhz-1024 mV
Do you have the Franco kernel app?
dia_naji said:
That's really my intention. Right now I am running
384 mhz- 725mV
1026 Mhz-900mV
1512 Mhz-1024 mV
Click to expand...
Click to collapse
I have UV about 100mV with the franco kernel app. so pretty much like what you have done and I haven't noticed any loss of performance.
Sent from my Nexus 4
Yes
Sent from my Nexus 4
decided to bump this instead of starting a new thread
Is it pretty much the consensus that undervolting w franco kernel on the N4 doesn't noticeably increase battery life?
spitswap said:
decided to bump this instead of starting a new thread
Is it pretty much the consensus that undervolting w franco kernel on the N4 doesn't noticeably increase battery life?
Click to expand...
Click to collapse
I haven't notice any significant increase in battery life, if any. However, the device runs so much cooler than before.
I am now experimenting with 150mV UV. Haven't had any problems with stability or camera.
Sent from my Nexus 4
Undervolting can somewhat increase battery life. Undervolting is meant for lowering CPU power to reduce thermal heat and it will definitely increase the life of the CPU. It doesn't really increase battery life, it might save a little bit but not much.
Sent from my Nexus 4 using Tapatalk 2
Got a question for Franco kernel + Franco Kernel updater app user
Do you have the hotplug control in Frequencies/Voltages menu? It seems to be not there for me. If I flash it with stock kernel then the hotplug control is there but can't change anything. If I flash it with Franco's kernel, then the hotplug control is missing.
Using Franco's latest R119 kernel
frozzbyte said:
Got a question for Franco kernel + Franco Kernel updater app user
Do you have the hotplug control in Frequencies/Voltages menu? It seems to be not there for me. If I flash it with stock kernel then the hotplug control is there but can't change anything. If I flash it with Franco's kernel, then the hotplug control is missing.
Using Franco's latest R119 kernel
Click to expand...
Click to collapse
Franco didn't add hotplugging feature back yet. He might add it back in the next app update.
Sent from my Nexus 4 using Tapatalk 2
frozzbyte said:
Got a question for Franco kernel + Franco Kernel updater app user
Do you have the hotplug control in Frequencies/Voltages menu? It seems to be not there for me. If I flash it with stock kernel then the hotplug control is there but can't change anything. If I flash it with Franco's kernel, then the hotplug control is missing.
Using Franco's latest R119 kernel
Click to expand...
Click to collapse
Something similar happened to me while I was using faux. You have to flash the rom first and kernel later. If you flash kernel first and then the rom some of the features on kernel settings might disappear.
Hotplug is available since quite long time.
Nothing to do with flashing Roms.
Unleashed by my Nexus 4
thought I'd bump instead of starting a new thread.
what's the best settings for the cpu hotplug control? I've set suspend frequency to 384000, suspend frequency is the CPU frequency when the screen if off?
cores on touch is how many CPU cores get used when screen is touched? I kept this to 2.
now I'm not too sure what first_level is used for though. so I left it at 60.
the new app is good but lacks description for some of the settings.
alpha-dog said:
thought I'd bump instead of starting a new thread.
what's the best settings for the cpu hotplug control? I've set suspend frequency to 384000, suspend frequency is the CPU frequency when the screen if off?
cores on touch is how many CPU cores get used when screen is touched? I kept this to 2.
now I'm not too sure what first_level is used for though. so I left it at 60.
the new app is good but lacks description for some of the settings.
Click to expand...
Click to collapse
Do u want to apply the 'best settings' to increase battery life or performance? And I'm using the ones you have stated, pretty balanced stuff. Keep it that way

Is it possible to disable 2 cores on default kernel or any custom kernel

Currently running 4.4.2. stock with ART enabled. This combo suits me well in terms of fluidity and everything works great. Now I would like to have an option on disabling 2 cores to extend battery life. is there an app to do so on stock kernel and is it even possible to do it on some custom kernel? If there's no option to do it on stock id like recommendation for custom kernel that works on stock rom and would enable me to do this via some app.
And id like that ART can stay enabled.
Buy a dual core phone
Sent from my Nexus 4 using Tapatalk
Ivan609 said:
Currently running 4.4.2. stock with ART enabled. This combo suits me well in terms of fluidity and everything works great. Now I would like to have an option on disabling 2 cores to extend battery life. is there an app to do so on stock kernel and is it even possible to do it on some custom kernel? If there's no option to do it on stock id like recommendation for custom kernel that works on stock rom and would enable me to do this via some app.
And id like that ART can stay enabled.
Click to expand...
Click to collapse
try a custom kernel like ak or hellscore
after that disable 2 cores using trickster mod/kernel specific app
Yes, Darkrai is right. Test a custom Kernel like AK, Matr1x, Hells core, Franco or Faux.
You can easily flash the zip via recovery. After that, you should download a Kernel App like Trickster Mod or Kernel Tweaker from the Play Store to customize the whole kernel, gpu, cpu, govenors, schedulers (2wake) etc. And also the cores of the cpu. But you need not to stop 2 cores, you only have to underclock the cpu, so you have all 4 cores but they, for example stop at 1ghz, which save battery at all
I don't really think it helps your battery life (a lot).
More cores at a lower frequency are more power efficient than less cores that have to work at a higher frequency to get the same job done.
And hotplug is there for a good reason, if cores can sleep they will.
Or does anyone have personal experience where it really helped a lot?
I don't understand why people complain about battery life. They say 1 day is not enough, well it is considering their usage.
You can easily pull of 2-3 days without playing games. The problem is that everyone spends like 2-5 hours looking at their phones every day!
On topic: If you want to have performance and fluidity with 2 cores, you will save 0% battery because cores will work on higher frequencies. Just try not to using your phone 24/7
Ivan609 said:
Currently running 4.4.2. stock with ART enabled. This combo suits me well in terms of fluidity and everything works great. Now I would like to have an option on disabling 2 cores to extend battery life. is there an app to do so on stock kernel and is it even possible to do it on some custom kernel? If there's no option to do it on stock id like recommendation for custom kernel that works on stock rom and would enable me to do this via some app.
And id like that ART can stay enabled.
Click to expand...
Click to collapse
Short answer: No.
Long answer: No. But you can undervolt them (All 4 of them at the same time).
Ivan609 said:
Currently running 4.4.2. stock with ART enabled. This combo suits me well in terms of fluidity and everything works great. Now I would like to have an option on disabling 2 cores to extend battery life. is there an app to do so on stock kernel and is it even possible to do it on some custom kernel? If there's no option to do it on stock id like recommendation for custom kernel that works on stock rom and would enable me to do this via some app.
And id like that ART can stay enabled.
Click to expand...
Click to collapse
Try Franco kernel ... it by default supports dual core mode ... moreover u can play with hotplug values according to need
You can using a custom kernel, lots include the ability to but the best implementation is faux's eco mode which is found in Faux's kernel and Ak kernel.
Sent from my Nexus 4 using XDA Premium 4 mobile app
I have tried semaphore kernel with 2 cores only online.
No big difference with other custom kernels where I was using all 4 normally. And the worse about 2 cores is the lag at many applications.
Unleashed by my Nexus 4
RASTAVIPER said:
I have tried semaphore kernel with 2 cores only online.
No big difference with other custom kernels where I was using all 4 normally. And the worse about 2 cores is the lag at many applications.
Unleashed by my Nexus 4
Click to expand...
Click to collapse
Great, its the kind of discussion i hoped to start. My logic was that n4 might have enough cpu power for surfing and casual usage with 2 cores only. So if i disable another 2 i might extend battery life.
Its great some of you tried and show me that my logic was flawed
Now undervolting. I suppose that i cant fiddle with stock kernel and undervolt cpu? Any recomendations for custom kernel. id like it to be as similar as stock, with undervolting feature enabled.
And are there any real gains in undervolting?
Ivan609 said:
Great, its the kind of discussion i hoped to start. My logic was that n4 might have enough cpu power for surfing and casual usage with 2 cores only. So if i disable another 2 i might extend battery life.
Its great some of you tried and show me that my logic was flawed
Now undervolting. I suppose that i cant fiddle with stock kernel and undervolt cpu? Any recomendations for custom kernel. id like it to be as similar as stock, with undervolting feature enabled.
And are there any real gains in undervolting?
Click to expand...
Click to collapse
Many custom kernels support uv like Franco, hell God etc.
Uving is offering a little cooler cpu, which means more time till thermal throttling to start.
Let's say it helps system in general, but not something to notice in big way.
Unleashed by my Nexus 4
Undervolting brings much more than turning off cores. As a side effect your phone won't heat as quickly under heavy load.
What will save you a lot of power while having the phone awake is screen brightness. So you should look for a clever auto brightness solution or, like me, use a mod that let's you adjust brightness by swiping the status bar. I keep my screen dimmed to the low at all times and only make it brighter temporarily if I am outside and the sunlight blinds.
Sent from my Nexus 4 using xda app-developers app

Best GPU Govenor for any custom rom?

Can you guys give me the best GPU govenor for any kind of rom? thanks!
derking1 said:
Can you guys give me the best GPU govenor for any kind of rom? thanks!
Click to expand...
Click to collapse
That'll depend on what you need your phone for.
If you want all your cores to run at max speed thereby maximizing performance on games and browsing pick the performance kernel.
Otherwise for normal usage just pick the interactive governer.
There's a lot of governors available but these 2 are the only ones that are important and actually useful. Major kernel developers only give support to these 2 governors as they are the most useful when compared to others.
Dont use any battery saving governer. Trust me, your phone will slow down and make it unusable.
Hope this helps!
Best for what?
Governors are built into the kernel, so if you want choices, you'll have to flash a kernel that has those choices. Some are for high performance. Some are for saving battery. And then there's ones in between. Some might work better if you underclock or undervolt to save battery. Some might work better if you run only 2 cores. Some have better wake-up speed from sleep. "Best" depends on what you plan to do with your phone.
Don't forget about profiles either. For example, I've been playing around with HellsCore kernel and HellsCore Manager. You can create profiles depending on what you're doing. Like, if you're plugged in and playing a game, set it for max performance. If you need it to last as long as possible, limit the max clock speed, run only 2 cores, and use a battery saving governor. With HellsCore Manager you can even mix it up; Performance or normal until battery hits 50% (or whatever), and then switches to a battery saving profile. Pretty nifty.

Question about big.LITTLE cores

Hey. After checking CPU on "Kernel Adiutor", I noticed that none of six cores are going offline. All of them is staying online, its happening also if there is no tasks on background. I am using interactive governor for both big and LITTLE cores. I want to know, is there better governor, that will not sacrifice performance, but will put some cores to offline mode, so battery life would be better. Any suggestions for hexacore governors?
Thanks!
EDITED on 28.11.15:
Thanks dark4codrutz for explaining things! So I have flashed v4tk kernel version 5 for XT1572.
Settings at "Kernel Adiutor":
CPU
big cores: min - 384 MHz, max - 1824 MHz, governor - interactive.
little cores: min - 384 MHz, max - 1440 MHz, governor - interactive.
CPU Boost - disabled on all cores (I suppose that stock variant with "input boost frequency core 1 - 1248 MHz" was reason why all settings didnt stock on, so this option is disabled now)
CPU Hotplug
Thunderplug is enabled;
Min Cores screen off - 2;
Sampling Rate - 600;
Load Threshold - 60;
I get that I wanted. Now there isnt 6 cores online always. With this settings I didnt got noticeable lagging, and on small system load I have only 1 little and 1 big core online. Others are offline!
Will test this out, it should get some batery for device (SOT).
BooBzi said:
Hey. After checking CPU on "Kernel Adiutor", I noticed that none of six cores are going offline. All of them is staying online, its happening also if there is no tasks on background. I am using interactive governor for both big and LITTLE cores. I want to know, is there better governor, that will not sacrifice performance, but will put some cores to offline mode, so battery life would be better. Any suggestions for hexacore governors?
Thanks!
Click to expand...
Click to collapse
If you are rooted, you could flash one of the custom ROMS that has a custom kernel. You could change hotplugs, governors, etc. Or if you want to stay stock, there is also a custom kernel for that. Thunderplug takes several copies offline.
Sent from my XT1575 using Tapatalk
countryfolk07 said:
If you are rooted, you could flash one of the custom ROMS that has a custom kernel. You could change hotplugs, governors, etc. Or if you want to stay stock, there is also a custom kernel for that. Thunderplug takes several copies offline.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
I am rooted, but want to stay on stock ROM. Some time ago I tried v4tk kernel, but had some problems with it - interactive governor disabled one big, and two little cores. Also I couldnt change max and min frequency. So whatever I did, I had one big core offline, but other one was always on ~1.2Ghz. It didnt go to 300MHz or to 1.8GHz.
So the main question for now - Is there some special governors for hexa-core phones? I see that in stock interactive governor when screen is on, all six cores always is online, so I am looking for other governor, that uses same type for agresive performance, but also that can disable big cores by it self. No drops in performance.
But thanks for answering this thread.
BooBzi said:
I am rooted, but want to stay on stock ROM. Some time ago I tried v4tk kernel, but had some problems with it - interactive governor disabled one big, and two little cores. Also I couldnt change max and min frequency. So whatever I did, I had one big core offline, but other one was always on ~1.2Ghz. It didnt go to 300MHz or to 1.8GHz.
So the main question for now - Is there some special governors for hexa-core phones? I see that in stock interactive governor when screen is on, all six cores always is online, so I am looking for other governor, that uses same type for agresive performance, but also that can disable big cores by it self. No drops in performance.
But thanks for answering this thread.
Click to expand...
Click to collapse
Sorry for bothering in your thread but I see you have some misconceptions about kernels. The governor is nothing more than a set of rules that the CPU follows and uses to decide when, how much and for how long to scale the FRECQUENCY.
What you are looking for is an HOTPLUG, which is the part of the kernel that tells the CPU to HOTPLUG( disconnect or connect) a number of cores, also contains parameters for when to do that, at which initial FRECQUENCY to HOTPLUG the core and also for how long to wait until disconnecting it.
I am using v4tk's kernel right now and I can confirm it works as a beauty. In version V5 (the latest for my XT1572) he even modified the Thunderbolt Hotpluging and adapted it to respect six cores little.Big configuration. In my experience with this HOTPLUG it keeps first little core and first Bigg core always on during screen on, then it gradually lights up second, third, forth little cores when needed. I didn't got to make him light up the second Big core in Kernel Auditorium, but I'm pretty sure it lights up when video is decoded or encoded.
I don't recommend you using the newly added MSN, it doesn't do much for me.
As for the governors ( you can select two: one for little cores and one for Big) I stay with stock Interactive and I haven't experienced bad frequency scalling.
dark4codrutz said:
Sorry for bothering in your thread but I see you have some misconceptions about kernels. The governor is nothing more than a set of rules that the CPU follows and uses to decide when, how much and for how long to scale the FRECQUENCY.
What you are looking for is an HOTPLUG, which is the part of the kernel that tells the CPU to HOTPLUG( disconnect or connect) a number of cores, also contains parameters for when to do that, at which initial FRECQUENCY to HOTPLUG the core and also for how long to wait until disconnecting it.
I am using v4tk's kernel right now and I can confirm it works as a beauty. In version V5 (the latest for my XT1572) he even modified the Thunderbolt Hotpluging and adapted it to respect six cores little.Big configuration. In my experience with this HOTPLUG it keeps first little core and first Bigg core always on during screen on, then it gradually lights up second, third, forth little cores when needed. I didn't got to make him light up the second Big core in Kernel Auditorium, but I'm pretty sure it lights up when video is decoded or encoded.
I don't recommend you using the newly added MSN, it doesn't do much for me.
As for the governors ( you can select two: one for little cores and one for Big) I stay with stock Interactive and I haven't experienced bad frequency scalling.
Click to expand...
Click to collapse
Finally, big THANKS to you for explaining things!
Will try later v4tk's kernel to change HOTPLUG, but I had some bad experience - all settings that I changed didnt stick on, so after some seconds they lived their lives.

Downclocking CPU

I am user who watches YouTube most of the time and I looked into BBS and CPU is running about 600 MHz at all 8 cores all the time when I watch videos. I guess thats a lot and it drains my battery. Is it somehow possible to set the lowest clock about 300 MHz when I am watching YouTube? Or just shutdown 4 cores at least? I guess I will need root for that. Thanks
As you can see, I was watching YT for about 4 hours and most of the time was CPU running at 653 MHz, not lower.
600 mhz is the lowest you can get with stock kernel
I believe some kernels (Extreme kernel / Project K) allow you to set it to 300 mhz
berezker said:
600 mhz is the lowest you can get with stock kernel
I believe some kernels (Extreme kernel / Project K) allow you to set it to 300 mhz
Click to expand...
Click to collapse
Great! But is it still possible somehow in stock kernel? With magisk and some kernel apps like kernel adiutor?
TrueMS said:
Great! But is it still possible somehow in stock kernel? With magisk and some kernel apps like kernel adiutor?
Click to expand...
Click to collapse
You need an custom kernel. However, the 300mhz is slightly too low. Making music laggy and distorted when turning off the display.
TrueMS said:
Great! But is it still possible somehow in stock kernel? With magisk and some kernel apps like kernel adiutor?
Click to expand...
Click to collapse
Nope. You need a custom kernel
Most of the devs are already getting rid of OC/UC on their kernels, F.Y.I
Instead of lowering your clock speed try disabling four cores and reduce the max frequency. Set governor to conservative. If you want more power saving use powersave. Warning: performance will degrade heavily.
Edit: skipped over your mention of disabling four cores. Still it's a valid choice. I do it in extreme case.
It's not needed for our Mi A1 i think...
Somehow are there cuskernel to enable biglittle
RisjadB said:
Somehow are there cuskernel to enable biglittle
Click to expand...
Click to collapse
We don't have big.LITTLE. because of 8 cores it shows two clusters of 4 cores as big and little.
alkesh95 said:
We don't have big.LITTLE. because of 8 cores it shows two clusters of 4 cores as big and little.
Click to expand...
Click to collapse
What about hotplug.... Never see any core stop @Cpu-z... Rip battery
RIP battery what, the Snapdragon 625 is a very efficient chip. Most modern chips nowadays provide zero to negative impact on the battery life with active intensive core hotplugging.
This soc consumes almost nothing, not worth at all to downclock/downvolt.

Categories

Resources