CPU Voltage control kernel - Samsung Galaxy S8 Questions and Answers

Hi everyone, is there a kernel that allows voltage control on CPU and GPU voltages?

This is the wrong section to asking. This is the development section. But you should've known that.....

i bet you got alot of people excited here bud...

Related

[DEV][WIP][KERNEL-PATCH][MSM7x30/8x55 GPU OVERCLOCKING][2d-core done][3d-core][v0.7]

Finally after someone pm'd me I looked back into GPU Overclocking.
New thread created issues with old thread OP permissions (people seem to be asking the same questions over and over again all information will be kept in OP & DO READ THE THREAD, repetitive questions will now be ignored)
Benefits:
Smoother UI
Handle 2d & 3d core GPU intensive applications & games
Currently only 2D core has been overclocked working on 3D core OC
2D-core original value - 192mhz OC to 245mhz DONE achieved 25% performance boost grp_2d_clk outputs 245760000hz
3D-core original value - 245mhz OC to 300+mhz WIP hoping to achieve 40-50% performance boost
2D-core OC only Download: Coming soon...
Download Links for other devices coming soon...
Works for all HTC Sense/Cm9/Cm10 kernels (Just ask a kernel developer for your device to implement the source code)
Note: Don't have internet on PC so providing 3 main files that need replaced for 2D-core OC to work
Download link to source code: http://d-h.st/wbH
3D-CORE OC TESTS Download: Coming soon...
Do check under sys/kernel/debug/htc_clock/clks/ look for file with all clocks & look for GRP_clks (Graphics clock)
OK so basically today I've been thinking and I've come to the conclusion that I will release the 2D-core OC patch As Soon As Possible, 3D-core Core OC is NOT Impossible but for now I'll give it a break, I will attempt 3D-core OC If/When I can get a hold of a msm7x30/msm8x55 device, as it will make it much easier for both me & users.
So for now you can enjoy the 50mhz increase/bump up, perf boost 25% in 2D-core (will increase performance in both 2D/3D intensive appications as 2D-core is used for 3D AFAIK and increase User Interface performance (Note: This will not take a hit on battery life)), I will also release a couple of fixes on patchas kernel that shouldnt be there/set etc.
(Theres a device available in my area for roughly £90, if anyone wants to contribute towards getting that device or can donate a device , more than welcome and shoot me a PM so I can list you here.)
(This isnt a promise of 3D-Overclock if you donate, if you donate please do so expecting nothing I will only attempt 3D-overclock)
Working device list - all kernel 3.0+ msm7x30/msm8x55 soc devices.
Main thread is in Desire HD Android Development section: http://forum.xda-developers.com/show....php?t=2368497
Thanks for your efforts.
I'm trying to follow the link to your Desire thread and it seems it's broken.
Nevermind, found it: LINK
I think a kernel dev from the droid incredible 2 has a 3d gpu overclock in a kernel but I didn't use it in mine because I worry about the heat output being overclocked combined with that.
Sent from my ADR6400L using Tapatalk 2
disconnecktie said:
I think a kernel dev from the droid incredible 2 has a 3d gpu overclock in a kernel but I didn't use it in mine because I worry about the heat output being overclocked combined with that.
Sent from my ADR6400L using Tapatalk 2
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2372291
you must be referring to this...
Someone already showed me the commits
no one has managed gpu overclocking at all on any msm7x30/msm8x55 platform/soc devices
I saw it someone's git when I was building my kernel. I couldn't find useful posts about kernel stuff so I just looked for git accounts that were from similar devices.
Sent from my ADR6400L using Tapatalk 2
Probably Kangaroo Kernel based off of Beast Mode.
Oh ya that's the one. Been a while since i looked.
Sent from my ADR6400L using Tapatalk 2
Shaky156 said:
OK so basically today I've been thinking and I've come to the conclusion that I will release the 2D-core OC patch As Soon As Possible, 3D-core Core OC is NOT Impossible but for now I'll give it a break, I will attempt 3D-core OC If/When I can get a hold of a msm7x30/msm8x55 device, as it will make it much easier for both me & users.
So for now you can enjoy the 50mhz increase/bump up, perf boost 25% in 2D-core (will increase performance in both 2D/3D intensive appications as 2D-core is used for 3D AFAIK and increase User Interface performance (Note: This will not take a hit on battery life)), I will also release a couple of fixes on patchas kernel that shouldnt be there/set etc.
(Theres a device available in my area for roughly £90, if anyone wants to contribute towards getting that device or can donate a device , more than welcome and shoot me a PM so I can list you here.)
(This isnt a promise of 3D-Overclock if you donate, if you donate please do so expecting nothing I will only attempt 3D-overclock)
Working device list - all kernel 3.0+ msm7x30/msm8x55 soc devices.
Main thread is in Desire HD Android Development section: http://forum.xda-developers.com/show....php?t=2368497
Click to expand...
Click to collapse
I have an Inc2 id be willing to test on if you'd like...
Sent from my Maserati using XDA Premium
Everyone has been modifying the kernel graphics software layer platform data with values that dont make sense and are impossible more above with values that dont exist within thw graphics table anywayx
3d oc is abit more difficult
Devs + testers join IRC will make life easier
Irc freenode #s1gpuoc
I wouldn't recommend replacing those files in any current kernel directly. Since there is no github to see what the actual changes are isolated from the file, it's hard to say if all the changes made are compatible. Some of them were unnecessary, and simply added credits to a line that was unchanged (most likely because it has been updated since the original writing of the files).
https://github.com/StarKissed/stark...mmit/dc381024f122a114b770076e2992cd5097f5c47c <- The specific changes required
twistedumbrella said:
Does this include a sysfs interface to throttle the overclock?
https://github.com/StarKissed/stark...mmit/618b9e076f7b2c0a8f9f0c5733f61d4ef27261c0
Click to expand...
Click to collapse
There isnt any need for a sys fs at the moment due to the way qualcomm have made their msm7x30
Shaky156 said:
There isnt any need for a sys fs at the moment due to the way qualcomm have made their msm7x30
Click to expand...
Click to collapse
Any time values that aren't stock are being forced, it's good to have the option to turn it off but in this case it's only forcing stock values to persist so it doesn't really matter.
Sent from my Galaxy Nexus using Tapatalk 2
Okay after looking @ GPU Overclock for 2 weeks, This is the news on GPU OC for MSM8x55/MSM7x30 socs.
My findings...
2D-core OC from 192mhz to 245mhz successful.
3D-core OC will not happen without me obtaining the datasheet (which is proprietary)
The clocks are protected, via Ownership/Permissions, and maybe an RCU/MPU
No Overclocking the CPU does NOT Overclock the GPU, thats the worst thing I've heard in my life lol.
The lowest the GPU can hit is 192mhz or lpxo freq
Bus is not overclockable, it always is 192mhz
EBI_2D_clk will and has always been 0mhz
Modifying kgsl platform data and/or the graphics table with random values or even calculated values from correct pll freqs will NOT OC the gpu
it's ashame the GPU clocks are protected.
IF anyone is looking to continuing this project and is on the right track you're more than welcome to get in contact with me, especially if you have the msm7x30 datasheet.
The QSD8x50 soc is more open than this soc, so I'm doing a few tests on the HD2

[Discussion]DooM Kernel for Z1

Hello Everyone. Our great developer @DooMLoRD buddy has done it again.And this time its for the Z1.So on his behalf I am opening this general discussion thread to keep the development thread clutter free. Ask your queries here and they will be answered.
Known issue with overclocking
It has been observed that the overclocking sometimes reverts back automatically to stock settings especially after heavy CPU load and if the device heats up.
I think have found why this happens:
Android OS level
there is a binary called: /system/bin/thermald which writes lower CPU freq values to the CPU sysfs interface if the device starts heating
there is also an app "Overheat Control" which i suspect is doing something similar
Kernel level
there seems to be some sort of fail-safe in place "msm_dcvs" which resets the CPU to 918Mhz or 1026Mhz or 1512Mhz
could also be some other things i am still searching
now there are ways to circumvent these issues but given the risk of the damage associated with overclock for long time i think its in our best interest to not screw with these fail-safes...
most of these will be will be taken care off in future kernel releases
To Do List:
Merge all features from my Xperia Z kernel:
http://forum.xda-developers.com/showthread.php?t=2172888
detailed list:
main kernel
add VDD interface (DONE)
remove CPU auto throttling restrictions
disable CIFS
add GPU O/C (DONE)
add GPU governor
add CPU governors
AVS
I/O schedulers (DONE)
unlock 192MHz frequency
screen gamma control
increase USB OTG voltage (?)
slide2wake
exFAT support
ZRAM
cleancache, frontswap
XZ other compression support (DONE)
mpdecision (?)
ramdisk
add dual recovery CWM + TWRP (DONE)
add init.d support (DONE)
import customizable init.something.rc from /system/etc
so at the moment from your post above are you saying the Z1 does not support exfat out of the box
Geoffxx said:
so at the moment from your post above are you saying the Z1 does not support exfat out of the box
Click to expand...
Click to collapse
Yup
"Thanks button is just to avoid "THANKS" posts in threads. Nothing more than that. Don't ask in signature or post for it and defeat the purpose why it was introduced"
Thanks for that, that explains partly why my Z1 trashed my 64gb SD card that I had working in my XZU the latter fully supports exfat
I guess it is wrong to assume anything when it comes to Sony devices, I had at least expected if the XZU supported exfat that the Z1 would also
Updated the OP
Sent from my GT-I9103 using xda app-developers app
please dont mirror everything from my kernel thread...
just a simple:
"this is a thread to discuss about DooMKernel for Xperia Z1" should do
DooMLoRD said:
please dont mirror everything from my kernel thread...
just a simple:
"this is a thread to discuss about DooMKernel for Xperia Z1" should do
Click to expand...
Click to collapse
Done
Sent from my GT-I9103 using xda app-developers app

[Q] Things All About No-frills CPU Control

What is Governors? Functions as..
What is I/O Schedulers? Function as..
increasing the max. capacity of cpu frequency into 1Ghz, safe? or not?
Golden rule of xda - search before posting
this is a really basic question and a google search will find you the answer instantly
please in future search
http://forum.xda-developers.com/showthread.php?p=39969139
Please search Google b4 you post.
Look dude, you have a Galaxy y and you PAID FOR 832MHz
So better thing is you should not overclock because
1) You are draining Battery.
2) You are slowly killing your CPU.

Undervolt?

Are developers not planning on implementing undervolt support for the Nexus 6P?
I read from one kernel dev that undervolting the 6P isn't as simple as it was in previous models, due to having the big and little cores, and voltages that fluctuate based on load, and undervolting the 6P would cause more harm than good.
geoff5093 said:
I read from one kernel dev that undervolting the 6P isn't as simple as it was in previous models, due to having the big and little cores, and voltages that fluctuate based on load, and undervolting the 6P would cause more harm than good.
Click to expand...
Click to collapse
Thanks for the explanation.
:good:
giant22000 said:
Are developers not planning on implementing undervolt support for the Nexus 6P?
Click to expand...
Click to collapse
I understand this is an old post but just incase your interested, the elite kernel allows voltage changes, though I'm not a dev so not sure what bad things could happen.
Scratch that, I just tried it and it didn't change the values

Why isn't anyone overclocking?

Hi there,
I'm really loving xda for years cause the active community here (depending on the device) and love to overclock my phone.
Through the years I've oc'ed it all starting with my HTC legend.
I know that it isn't just adding some freqs and voltages to make this happen, but I don't understand why (kernel)makers don't oc the S8. For example, I see som kernel developers build kernels with oc/uc and voltage control for the S7 (exynos). Some of those developers now build kernels for the S8, but don't add any oc possibility.
I just don't get why and am really curious if any of you understand why?
It's not that I'm not grateful for what they do (cause they are awesome) but I'm just REALLY curious and can't find the reason why it shouldn't and/or couldn't be done.
Dn_nS said:
Hi there,
I'm really loving xda for years cause the active community here (depending on the device) and love to overclock my phone.
Through the years I've oc'ed it all starting with my HTC legend.
I know that it isn't just adding some freqs and voltages to make this happen, but I don't understand why (kernel)makers don't oc the S8. For example, I see som kernel developers build kernels with oc/uc and voltage control for the S7 (exynos). Some of those developers now build kernels for the S8, but don't add any oc possibility.
I just don't get why and am really curious if any of you understand why?
It's not that I'm not grateful for what they do (cause they are awesome) but I'm just REALLY curious and can't find the reason why it shouldn't and/or couldn't be done.
Click to expand...
Click to collapse
Well the snapdrag version can be underclocked but there is no OC as the kernel is not modifiable Due to locked BootLoader
TheMadScientist said:
Well the snapdrag version can be underclocked but there is no OC as the kernel is not modifiable Due to locked BootLoader
Click to expand...
Click to collapse
Sorry I didn't specify things. I do mean the exynos version. There are some kernels that lift the 2,3 max freq to 2,65 GHz, but know that some S7 kernels climb to 2,9 GHz. So (in my book) that means the S8 should be able to overclock to 3 GHz (cause of the base A73 base of the 2nd gen mongoose cores and 10nm footprint).
So I'm just curious if it's not possible or there is some other reason why none are doing this.
And with underclocking I meant adding freqs that are below the standard lowest freq, my bad. (Don't how to call it otherwise)
Battery life.....
Battery life mainly.
Through overclocking, sure you can make s8 run as fast as oneplus considering s8's heavy skin, but most of us would rather see 6-8 hours of SOT with 24 hours of usage than our app opening 1-2 seconds faster.
Saying that, there are plenty of debloated roms for s8 that can run faster/smoother than the stock without sacrificing the battery life.
So, as for your question, maybe the devs don't want to put too much effort on overclocking an already pretty fast processor or underclocking an already pretty efficient processor. I am not a dev so can't really talk about complicated codings and stuff.
Why would you overclock a Ferrari?
IDan1109 said:
Why would you overclock a Ferrari?
Click to expand...
Click to collapse
This! Says it all.
Sent from my SM-G950F using Tapatalk
The S8 is fast enough on its own. I never even OC'd my S6. I find Exynos processors to be really fast as-is.
It's true, I dont't see any practical use for overclocking, yet. It would be purely for the fun of it. I'm sure we will see it more in the future, when some more hardware-heavy Games will be released.
Undervolting on the other surprises me aswell, to not see it frequently. Because, although it's totally fine right now, batterylife and efficiency can always be better.
I'm curious if we will see more Devs include this in their ROMs and Kernels
I agree with all the above. I called either due to snapdragon but I wouldn't even i if I could. I actually limit the clock speed on my big CPUs because the higher clock rates eat more power.
Also, why? Just why? Looking at cpu usage on my s8, the only time I've seen it actually pegged was running benchmarks. Overclocking is absolutely useless if the variable cpu clock never goes to 100% for more than milliseconds. Why do something so potentially dangerous for nothing?
:good::good::good:Well put guys:good::good::good:
I cant overclock but i still have set cpu and use it to underclock (when the screen is off) but most kf the time it is underclocked if it is not playing a game or ram extensive app
IDan1109 said:
Why would you overclock a Ferrari?
Click to expand...
Click to collapse
Why you overclock GTX 2080? Why you overclock i9 or amd threadripper 2950x cpu? Why you overclock DDR4 3000MHZ Ram? Why you use 3DMark? Or cinebench or, or or........
Thats all the same.
To everyone asking "Why??", I find it rather odd that you don't know already...
The reason why some of us like (want) to overclock, or undervolt, is the exact same reason we're all on this site: We like to TWEAK STUFF!
Doesn't matter if it's rooting, flashing a custom ROM, creating a unique theme, coding a new app. All of those boil down to the same human instinct to explore, to make things better, or make new things. Whether or not it's needed is completely irrelevant
Using your logic, there's no reason to have a custom kernel in the first place, nevermind rooting your phone, or having custom ROM. The phone worked fine the way it was, after all, right?
In closing, the motto "If it ain't broke, don't fix it" is what the lay people adhere to. We who are more inclined in certain aspects of life (such as the XDA community) live by another: "If it ain't broke, tweak it!", or if you rather "If it ain't broke, tweak it till it does, then fix it!"
Please add over/underclocking and over/under volting for CPU and GPU cores to every kernel, for every device that allows it! We already except blame if anything bad should come to our device the moment we decide to root and/or flash something, so why not give us every single capability available for the devices and leave it up to us to do what we so choose? :good:
[Naturally, this is based on the assumption that a device lacks a bootloader, and the kernel maker possesses the knowledge; thus, this is referring to those situations where both apply.]
IDan1109 said:
Why would you overclock a Ferrari?
Click to expand...
Click to collapse
To be faster than other team who is performance tuning as well. You don't have to do it because not everyone is doing. It should be geared towards to people who really care. Like others in this thread mention battery life but people like me wants it faster.
Also I game with the phone connected to charger all the time. I don't really game on the go though if I did I would bring portable battery if someone driving me. That just me.
People like me use phones for emulation. GameCube games are almost at the right speed but do run just a bit to slow in some location rendering them unpleasant to play. A bit more of cpu power would certainly make " Wind waker " run at constant 30 FPS. I hope this topic to be revived
Well just a quick answer , it's because of how samsung's voltage table is set , the voltage table is locked and to be modifed it needs to be hacked in some sort , that's why you cant oc that much since you need to change the voltage table and increase it so you can have stable oc
Addition:
There is alot of kernels that has oc already gpu and cpu wise , they add like 200mhz oc or something for cpu and 100 for the gpu yeah that would give you that little bit of extra juice but it aint stable in some sort you can have kernel crashes or system hogging that's due to the voltage table , i can make you a kernel that has 600mhz oc but ass soon as you select it , the phone would crash since it doesnt have enough power going to it
As Xperia modder said, darn LOCKED voltage table. If only it was unlocked....
---------- Post added at 03:29 PM ---------- Previous post was at 03:28 PM ----------
xperia modder said:
Well just a quick answer , it's because of how samsung's voltage table is set , the voltage table is locked and to be modifed it needs to be hacked in some sort , that's why you cant oc that much since you need to change the voltage table and increase it so you can have stable oc
Addition:
There is alot of kernels that has oc already gpu and cpu wise , they add like 200mhz oc or something for cpu and 100 for the gpu yeah that would give you that little bit of extra juice but it aint stable in some sort you can have kernel crashes or system hogging that's due to the voltage table , i can make you a kernel that has 600mhz oc but ass soon as you select it , the phone would crash since it doesnt have enough power going to it
Click to expand...
Click to collapse
Can I ask you a question? Just to have a doubt removed from my head. Do you know if Exynos 8890 devices have locked voltage table as well?
TechNoobForSale said:
As Xperia modder said, darn LOCKED voltage table. If only it was unlocked....
---------- Post added at 03:29 PM ---------- Previous post was at 03:28 PM ----------
Can I ask you a question? Just to have a doubt removed from my head. Do you know if Exynos 8890 devices have locked voltage table as well?
Click to expand...
Click to collapse
Well tbh i dont know but this has always been. A thing with exynos chips , yeah some developers go out of their way and write some stuff from scratch to make it work you know
Dn_nS said:
Hi there,
I'm really loving xda for years cause the active community here (depending on the device) and love to overclock my phone.
Through the years I've oc'ed it all starting with my HTC legend.
I know that it isn't just adding some freqs and voltages to make this happen, but I don't understand why (kernel)makers don't oc the S8. For example, I see som kernel developers build kernels with oc/uc and voltage control for the S7 (exynos). Some of those developers now build kernels for the S8, but don't add any oc possibility.
I just don't get why and am really curious if any of you understand why?
It's not that I'm not grateful for what they do (cause they are awesome) but I'm just REALLY curious and can't find the reason why it shouldn't and/or couldn't be done.
Click to expand...
Click to collapse
Yeah has been realesed a2n kernel oc up to 2,8 ghz and oc up to 839mhz all of them is all core

Categories

Resources