yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] Inasbae:
OC Big cluster to 2704Mhz and 2808Mhz, Reboot when try to play a PUBGM (i will send a Logcat later).

The best Frequency for GPU is 338 and 385, give a best performance and less Overheat issue.

I think you must change the profile setting... and balanced profile is the best daily use for me.

Performance+ just gave a issue for the S8+
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Try without zRam .. because an user told me over pm that zRam caused out-of-memory.

Once u get miscalculations by OC, then u've to reboot your Phone .. otherwise u will continue to work with corrupted data in RAM.

That's why u still get issues even if u use lower clocks.

Nope, when u try to write a post here, then click "Post Reply" or "Go advanced" then scroll down u'll see

"Additional Options" ---> Manage Attachments.

There u can directly upload files without to pack them.

No thanks, not needed, anything higher than stock freq depends if u've luck that it'll still work stable.

There's nothing to fix, except to increase CPU Voltage .. but it'll not help because it would overheat like hell.

So once it'll get too hot, it'll clock down to 2002 MHz .. so it serves nothing. Clocks over 2 GHz for big cluster are only there for short operations .. e.g. for faster opening apps ... but not for permanent operation at full load. Don't forget it's still a Phone, it's not a PC with water cooling. :highfive:

I'll take a look. But that's why there's Profiles .. so probably u can choose balanced for games and peformance profile for non-gaming purposes.
[Samsung Galaxy S8 & S8+ Cross Device Development] bamsbamx:
Is it possible to implement undervolt feature?

And

I am underclocking my device, but lowering the values at /sys/devices/system/cpu... Doesnt seem to actually lower performance (what should happen). Instead, modifying the values at /sys/power/ (where min scalling is allowed for values lot lower than 400MHz) seems to have real effect for underclocking. Any idea why this happens? Whats the difference between those 2 paths?

PD: This happens with stock kernel, didnt install yours yet, but I guess it will be the same
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
This is the only score I managed to get yesterday. This is what you must look for at minimum. 839 is going to run stable but you NEED to plug the phone in the fast charger and at least 0,76V on GPU, no wonder you stutter, you re using a slow usb plug. Additionally, on 3DMark disable the demo! It’s a waste of time.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
i am sure it never throttled i see it at cpu float the gpu temps just 65c ctemp=gtemp
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
i was use pd charge and get the 9 volt but i never stable at 839 and i set it just 764mhz
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
ctemp=/ gtemp. CPU float reports GPU temperature and not cpu, at least in my case. Usually at 0% gpu load with 100% cpu load, cpu reaches 100C with gpu being as low as 59C.

To understand whether there’s throttling or not, you have to look Cpu frequency. If during the cpu test, it drops from peak one step gradually, it’s throttling. At 764MHz you should be getting 4600-4700. Maybe even more.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
wait i will send you link how my temps goes
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
I need to see the temp and frequency fluctuations.

To monitor temp precisely you need to split screen with Devcheck.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
this is the video there is some throttling at cpu from 2.7 to 2.3
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
what is devcheck ? i never use it because i don't undestand how to use it
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
It is an app to monitor system stats and system info. It's like CPU Z, but better. Grant it root access from the setting on the top right when you open it, so it can read temps and usage figures.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
okey i have been download it but there some problem when i split it that stop monitoring
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Managed to run Slingshot Extreme Unlimited OpenGL. It throttled a little bit on GPU down to 764MHz at the end, and throttled a lot on CPU. So yeah, there is potential.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
When you split, the phone stops caring about the app that you're not highlighting.

Remember this is for testing purposes only, Devcheck consumes cpu cycles therefore it would hinder benchmark results. But this is to see whether you overheat or not.

What you need to do, is put Geekbench in split screen with Devcheck (I don't know if 3DMark would take the whole screen). Then run Geekbench, then tap on the devcheck side of the screen just once. Then the monitoring will resume while in theory Geekbench keeps running.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
okey i was get this i don't know why i always get low score than you in 3d mark and yes i have problem about ux sometime can be fast sometime can be slow maybe i get the worst of part samsung s8 plus
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
You know, I actually think that Dex is stealing both CPU and GPU cycles from your phone. That's why you're getting lower scores than me.

S8 screens are expensive, but you really should get one and connect it back to the S8 and leave the cooling on the motherboard. Just then scores should go back to normal. You have all it takes to beat AND maintain records on this phone.

Again, doesn't matter how unlikely it is, make sure it doesn't throttle.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
yes i was make it never throttle but at first i get throttle is when benchmark with gfxbench at azterruin i was see the gpu get 97c when that time i set limit temp is 99c to prevent the temp jumping and shutdown it

maybe the dex stealing my cpu and gpu and of course in log the error always write my screen not attached like dev see my log that always have same error

and i check price for the used screen from china that was cheap like 10 to 20$ but i am not sure to order it because the shipping is way far to my home
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
by the way look at graphic score i lose only that sector but in physics score i nail it
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
okey the run 3 little bit better
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
This is the exact same as my first score on this benchmark after this release
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
woah maybe the cause is only screen

but i prefer buy lg v50 because that have great camera then xperia 1 and 5
[Samsung Galaxy S8 & S8+ Cross Device Development] braxtonthenerd2:
Any KVM support ? for Note 8

I would love to run some VMs

Thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Well then that's your limit. Anyway this phone and kernel supports even 12V chargers. So if you want it to give a try you can do, but so far I've no one confirmation that someone tried this.

I had just enabled support in kernel and thats it. Never tested by me, because I don't own such a charger.

So try at your own risk like always.

Maybe at 12V it can help with OC stability ... who knows ?

Yeah likely due to dex itself. Also I do assume that you are using higher resolution than that default FHD+ 1080. So that's the reason.

No sorry, only Windows emulator apps works. But you can download kernel source code and enable KVM support by yourself.
[Samsung Galaxy S8 & S8+ Cross Device Development] spdrfx:
Guys, try to lower the gpu voltage, my phone is stable 0.65V@764MHz, with a ****ty gpu. If you have cpu spikes (shutter) try to rise the voltage with little stepps.

**edit> 0.63V
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
wait what that support ? i have support charger to do that but that never going to 12v and when i check your kernel to mya /sys i see and file charger that writed with 5 9 12 v but i neveer touch 12v
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
i use 1080p btw but that worth to try 480p ahhaha

okey i have try 480p for dex and lower the actual sccreen resolution at settings to 720p

and that scrool smooth and much2 more maybe let get a cheat for benchmark hehe]
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
That's kind of how it works due to how much voltage the battery can deliver in a given moment, but for most of us, 650mV at 764MHz is impossible. I crash at 720mV @764MHz, I needed 730mV. My 839MHz is super stable at 760mV.

It's true that you should keep voltage lower instead of higher on this device, due to its voltage limitations, but it's also true that you can't go TOO low, you'll crash.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Also I did some calculations, and even though I might be lowballing it. I obtained these figures by comparing Mali G72 MP18 @572MHz results with Mali G71 MP20 @839MHz results on Slingshot Extreme Unlimited. Turns out the two are on par, but the G71 has a <5% advantage in certain situations. This means that the G71 at said clockspeed is on par or slightly superior to an Nvidia GT 740m (Mali G71 MP20 @839MHz and Mali G72 MP18 @572MHz are <5% faster).
[Samsung Galaxy S8 & S8+ Cross Device Development] spdrfx:
That s strange.. I mean my gpu is below average, so i thought 0.65V is prety common, thats why i wrote that try to use lower voltage for the GPU. Btw my phone is not stable at 834MHz at all.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
839MHz requires wall adapter because it draws WAAY too much power for the battery to keep up, as I said. Try to fast charge your phone and run 839MHz at 760mV. It will in theory be stable then. High temperatures will follow though (839MHz 100% GPU only load fully saturates the cooling capability of the average G950F models). G955F behaves a bit better with temps, and Note8 is the "best" for Exynos 8895 cooling and performance, having 6GB of RAM and slightly better performing GPU, being the biggest phone with that SoC.

Also, it seems that ASV values are not trust worthy, as my phone can't handle 2652MHz properly so far, despite it having an ASV value equal to people that in here run 2704MHz.

I run 683MHz on GPU at 670mV. Maybe I'm being too aggressive on the voltage, but it's still lower than the default. I wanted an undervolt, not a maximum efficiency optimization uV. Time consuming.
[Samsung Galaxy S8 & S8+ Cross Device Development] spdrfx:
I will try that, thanks for the tip. (i dont have quickcharger at the moment, tomorrow i will try it)
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Remember that it depends on what you mean with "not stable"

If the GPU benchmarks are STUTTERING and GPU usage is low, then you need the fast charger. If benchmarks are FREEZING/phone is rebooting, you need more voltage, or simply your limit is at 764MHz.
[Samsung Galaxy S8 & S8+ Cross Device Development] spdrfx:
without charging, i get heavy shuttering, and high cpu usage (cpu spikes). Anyway, the gpu is not important for me, i never playing games on my phone. I just want to know the limits :)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@ up

I suggest to use powerful charger that can provide at least 3A on 5V or 1.67A on 9V and then enable battery IDLE feature ! ... otherwise the 3A will just flow to the battery instead the hardware and also you cause extra heat by charging battery at that high current. Try it.

Hmm strange ... i'll check the driver if there is something wrong. So in a2n app "input voltage" is just 9V and never 12V with 12V chargers ?
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Insufficient power.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
i was tough i can stable 839 at860mv

but in note big note do not get 100% usage that will make my device freezing

almost same like

the cheat little bit work but that real bench is at 720p
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
i win :V
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
About time 🤪 but you can do more than that.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Well, maybe I should change the thread title in "Hardcore Overclockers and Modding for the S8" :ROFLMAO:
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
What about ACE in the hole of Galaxy S8 Kernel development? :ROFLMAO:
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I've noticed that since I've released the first GPU OC kernel this thread gained again more hits per day like 3 years ago. Actually it has over 1000 hits per day, this is not so bad for a 5 years old phone lol.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Many, MANY people still use the S8. And the presence of your Kernel to prolong the lifetime of this device is surely welcomed.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Yeah as I said in the past, your stock voltages are lower than my stock table. Also I agree, not much benefit in tryharding to unlock RAM at 2093MHz on this. While GPU may benefit a bit from the extra bandwidth, I doubt it would behave like a Ryzen iGPU (The more bandwidth, the merrier, essentially) since the Mali G71 MP20 is much slower and I doubt it would ever run into bandwidth issues even running at 839MHz. That could be an issue with the Exynos 9810, since I heard that its GPU shares a lot with the CPU.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
until it can beat all s9 series 🤣🤣🤣🤣
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
the more transistor and more small the transistor that make a SOC, CPU, or GPU faster like if you have 3 transistor at 100mhz it can lose by 6 transistor at 50mhz
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Yes but that’s not my point at all.

Modern desktop iGPUs usually are simply more powerful than our G71. So it’s unlikely that we’ll ever run in bandwidth issues. That’s all
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Well, I don’t want to be “that guy”. We DID just match or slightly beat the S9 series GPU at stock and we wreck it in user experience thanks to Ace’s effort. But we have no hope of matching the CPU. It’s too far ahead. 2808MHz would get us remotely close but said frequency is nearly impossible to achieve AND sustain.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@TechNoobForSale

The trick with current limitation on voltage regulator didn't work, but I've found something interesting.

I've run Geekbench 5 and passed 2,8 GHz stable by testing the 4 M2 cores one by one lol.

As it turned out, all 4 cores are able to run the whole benchmark stable with stock voltage 1206250 uV. So it's power issue from PRCMU itself. (like you said)

Funny thing is, it works stable @ 3 x 2,8 GHz with stock voltage.

So if someone have stable 2,7 GHz and can't run 2,8 GHz stable, you guys can try to get rid of 1 core when running very high Freq like 2,8 GHz. To run only 3 M2 cores instead 4 cores, run this cmd:

cd /dev/cpuset/top-app
cat cpus
echo 0-6 > cpus

To revert set again the old value, so:

cd /dev/cpuset/top-app
echo 0-7 > cpus

Note: after an reboot you need to run the cmd again or just move the cmd to your init.d script. Only for testing. Maybe it can benefit when running some games, otherwise 4 x 2,7 GHz should be better than 3 x 2,8 GHz.

Also I've build a new test kernel for testing the following stuff:

1. test 12v input voltage for USB-PB @rtyuakatsuki

2. connect DEX and use it for 1 minute then generate logcat & dmesg and post it here @rtyuakatsuki @Pistero07

And removed hardcoded OV for big CPU (for 2652 MHz and up).
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Still 9v
[Samsung Galaxy S8 & S8+ Cross Device Development] braxtonthenerd2:
Do you know how i could build the kernel with KVM support

I have git cloned the source code for the kernel

How could i enable it for Note 8

XD Im a Noob

Thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Isn’t 12V a bit excessive?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@ up

Probably not really needed and therefore Samsung didn't enable it in kernel. But since it was half implemented and in source code it seems that our hardware support it and there are USB-PD with 12v output, then it's nice to have it working. E.g. you have USB-PD with 5/9/12v output and 9v output is broken, so you still can use 12v.

Sorry, but if I say build it yourself, it means that i'm not interested in KVM at all and therefore no help from me.
[Samsung Galaxy S8 & S8+ Cross Device Development] braxtonthenerd2:
oh ok
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Oh I see. Well then if it’s possible to unlock it, maybe no more instability at 839MHz GPU when fast charging.
[Samsung Galaxy S8 & S8+ Cross Device Development] spdrfx:
Thats interesting, i wonder how mutch

Unfortunately, 839MHz not stable for me, i tried fastcharging my phone, no luck. I think the heat is the main problem, i get shuttering, after it hits 90C. Anyway, thanks for the tip.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
If you have DVFS at 90C, its obvious. Rise the GPU Voltage and enable battery idle, as well as put DVFS to 100C. If it still doesn’t work, yeah you probably lost the silicon lottery.
[Samsung Galaxy S8 & S8+ Cross Device Development] spdrfx:
I tried lots of different voltage settings without luck. The most shutter free voltage is 700mV, if i set it higher, i have more cpu spikes/shuttering. (Dvfs is 100C)
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Then there has to be a lack of power. Instability in the overclock is when the phone freezes and reboots. But if you have stuttering, that GPU isn’t being fed enough. Check battery voltage while fast charging and check the charger’s voltage. I recommend using the original Samsung fast charger. Benchmarks have to be run while the phone is fast charging, with battery idle on.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@rtyuakatsuki @Pistero07

Thanks for the logs. DEX errors are now fixed. Did you guys notice some improvement or new DEX feature ?

@rtyuakatsuki

So you set 3500 mA then connect USB-PD with 12V support and in A2N app "input current" shows 9V you say.

OK, now try to set 1000 mA then connect USB-PD, then it should show 5V I think. Let me know please.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
for dex i notice the improvemet more smooth than before and for charging when i set it to 1000ma and re plug the charger that still 9v
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@ up

Alright, then it's OK. USB-PD seems to be different from AFC chargers.

On AFC charger we can decide if it should run at 5 or 9V, while with USB-PD charger the input voltage is selected automatically by the driver.

Anyway, not a big issue since the power delivered from 9V is enough to provide the 3,5A. So there is no reason to switch to 12V for the driver.

Also the charger chip inside the phone heats more up the higher the voltage is. So with an AFC charger with 9V support it should work @ 12V.

As for DEX: yes this is what I was expecting. And on next build it'll work even better. (reduced kmsg spamming)

@TechNoobForSale

I've checked CPU/GPU governor and DVFS driver if there is something wrong with CPU/GPU max possible Freqs and there is nothing wrong.

@madhatter57

Actually I'm adding a new feature for adjusting pm_qos required CPU Freq for UHQ audio playback. Also the ability to move audioserver to big CPU. This is to fix audio issues while screen OFF and to reduce power consumption. (Because you set Freq as needed)
[Samsung Galaxy S8 & S8+ Cross Device Development] 7upMan:
@ace2nutzer Hi, I've sent you a PM, can you have a quick look?
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Ace I never said that there’s something wrong with your DVFS driver. I think that my results from the other day were flawed because my whole system was unstable because of FS corruption. So maybe I can handle 2704MHz too but I can’t do any testing since it seems that this hardware really does not like sub 10C temps.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Hi my friend ! - Sorry but there is literally nothing. Please copy paste the message in a new conversation, don't use our old thread. I did some cleanups a few days ago, maybe I've mess it up lol.

Yeah, I mean we was talking that maybe there is something wrong with GPU governor due to the weird lags @ 839 MHz GPU. But unfortunately everything right, so it's just power issue. Or maybe you will need to move audioserver to big CPU if the game or benchmark tries to sync video with audio .. you know what I mean ?
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Wait. A question. Does audioserver remain active even if I literally run benchmarks with volume at 0? (which is what I always do)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Sure, volume=0 won't stop audio playback. You save only some little power from the audio AMP. But since it runs on little CPU by default, it doesn't effect much the benchmark. Also the bench doesn't use UHQ audio processing.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Kernel && App Update !!

Changelog

Kernel V. 2022.07.01

DEX: bug fix for 3rd-party HDMI adapters

DVFS table: removed hardcoded OV for big CPU by me

Reduced power consumption for IDLE + low Freq steps (especially for Note8)

UHQ Audio: exported pm_qos_lit to userspace (to fix audio scratching)

A2N Kernel Control V. 5.0

Audio: added UHQ pm_qos_lit control (to fix audio scratching)

Version Info

If you face audio stuttering with this version you can increase the UHQ PM-QOS Freq in A2N app in "Audio" section.

If you don't have the full version, you can run a cmd like this:

su // only for termux app
cd /sys/module/abox/parameters
cat user_pm_qos_lit // check current value
echo 949000 > user_pm_qos_lit // e.g. set to 949 MHz

# To apply the change at boot, like always, copy paste the cmds to
# /system/etc/init.d/99_user without the "su" cmd of course.
[Samsung Galaxy S8 & S8+ Cross Device Development] wingzki:
can somebody help me fix this error on installing twrp? thank you
[Samsung Galaxy S8 & S8+ Cross Device Development] PIKO!!!:
Hmm. Is OEM Unlock checked in Developer Settings?
[Samsung Galaxy S8 & S8+ Cross Device Development] wingzki:
Oem unlocking and usb debugging already on..
[Samsung Galaxy S8 & S8+ Cross Device Development] PIKO!!!:
Maybe the file is damaged. You should also try with another odin version, just to be sure.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Download twrp file at first page there is a twrp file
[Samsung Galaxy S8 & S8+ Cross Device Development] spdrfx:
Try different usb cable. I had similar problem, my usb cable worked perfectly, but some reason ODIN failed to upload image file.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
That is the wrong twrp. No version number, no phone model (in this case dreamlte) where did you pick that up from even?
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Get the file from here http://xda.mister-freeze.eu/XDA-files/ace2nutzer/G950X/General/

And be more careful next time.