yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Hmm strange. Later i'll check the GPU governor, maybe it can't handle those higher steps. On the other hand it's known that a GPU that is actually not running fully stable due to too high freq or too low power will cause such bad performance. You may can face even some graphical glitches.

Yeah because I've increased voltage for the highest CPU steps, same for the big core. What you say is right about cold battery --> less power.

But you can bypass this with charger cable, just use any powerful charger like the original one and enable battery idle. This will give to the phone 3 Ampere constant. You even don't need to set charging current @ max possible because the driver do this automatically now on latest release.

Another weird thing is that I didn't manage to run 2,8 GHz stable. Original voltage for me was 1,2 V and even with 1,4 or 1,5 V it didn't run stable. Now you will be probably surprised once again, what we actually did was to unlock voltage regulator and ability to increase max allowed voltage for each regulator.

E.g. original GPU max allowed voltage was 850 mV and I've set it @ 1000 mV and after several test it seems that the voltage above 850 mV is accepted since I can track higher GPU temp.

So this works. Then later just because 2,8 GHz never worked stable even with insane OV (overvolting) DVFS 95 °C instead of 100 °C to be sure that it doesn't crash due to overheating... I was reading some documentation in source code about the regulators and found out that there is even the ability to throttle the max current (uA) from the regulator. But I didn't pay much attention because it doesn't seem to be used in our source code. But it's supported, that means if I specify a max allowed current then maybe that will be used lets say instead to used a max default current hardcoded in the hardware itself. Maybe I try this hack next time. If that will not work, then it's just hardware limitation that it can't provide enough power. If so, you should be able to reach higher Freqs when OC only CPU or GPU !
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
It was 100% not due GPU instability but due to lower power from battery. There were 0 graphical glitches. No blackscreens. Nothing. Just stuttering, temp was low and GPU usage kept going from 0 to 40 then 99 then back to 0. It's definitely a battery problem. I will go at it like I did in the past, and keep the charging cable in.

Also about 2808MHz not being stable, well, it really is a dilemma. For me trying to run at that frequency means getting an awful instant crash (really awful).

I can 100% confirm that CPU big at 2574MHz and GPU at 839MHz can work together just fine. Maybe not 2704MHz CPU but 2574MHz for sure. I think that at 2808MHz the SoC is pushed to the limit and since most of us have average ASV values, it's really unlikely that we ever run it stable, even at a crazy voltage like 1.5V.

But again, if this can be of any help, I doubt 2808MHz would even be useful at all. 2704MHz already overheats like an FX 9590 on an air cooler, let alone 2808MHz. You would quite literally keep throttling even while scrolling home screen pages.

Now, I think that by now I know you pretty well, and you VERY hardly stop in front of a wall. But I'm telling you, it isn't THAT worth it.

Now if in a week you come and state that you made 2808MHz stable, well, I wouldn't be surprised. It's Ace2Nutzer after all.

Right now I recommend you try to get the RAM OC in. You peaked. You did it. You took an average S8 and extracted out of it 99,9% of all it will ever be able to give to an user. I don't think there is much to optimize left, or instabilities to fix anymore. It's complete. A2N Kernel for Galaxy S8/S8+/Note8 is complete to my eyes. From now on it's just tweaking if there is any tiny tiny issue here and there. But the bulk and the details are done. You did it (y)

I tested in gaming too today, specifically ARK: Survival Evolved and Genshin Impact. At stock frequencies and at 2496MHz big cores and 683MHz GPU. I didn't see throttling, at all. So yeah. Best user experience Kernel, best battery Kernel (NOT debatable), best gaming Kernel, best productivity Kernel. What else is left? Lmao
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
CPU

B 2.7Ghz

L 2.0Ghz

DVFS 99c

GPU

764 @740mv

DVFS 99c

zram 100%

other settings default
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
CPU

B 2.7Ghz

L 2.0Ghz

DVFS 99c

GPU

764 @740mv

DVFS 99c

zram 100%

page_cluster 0

swappiness 5

read_ahead 512kb

BEAT !!!!! the S9
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Your UX and CPU are underperforming. Check your background apps. We can make it to 250,000, or at least, you can. Disable ZRAM for benchmarks and wait a little while. The A2N Kernel takes a while to dispatch it. Control in devcheck when it fades after you disable it
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
yup that always happen to me ux still have low okey i will try you tips to get 250
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Look. The procedure looks like this:

Install Brevent and grant it root access (ignore the message it gives you and wait 5 seconds)

Go in Brevent settings and make it so that apps are killed as soon as possible.

Install Devcheck and check ZRAM. If you only see ram, you can benchmark. In A2N kernel controller, put cpu threshold at 40%, because we want the cpu to boost as fast as possible.

Turn of Wi Fi. Put no background apps in developer options. Then go in devcheck. If cpu usage is lower than 4%, you can benchmark. When you open antutu, wait 5 seconds for cpu to cool down (if you have overheating issues) and then benchmark.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
The default RAM setup is for best multitasking experience. For best single app performance I suggest to use:

zram 50%

swappiness 100

To improve resizing time you can edit the zram script:

/system/etc/A2N*/zram.sh

by editing line 3 from "system-background" to "top-app". save and set new size in a2n app. Reboot is not needed for the change. This will make it run on the big CPU instead the little.

But it's still slow because it uses only one thread = 1 core. But for normal zram operation it uses all 8 cores.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
okey for brevent i didn't try it but i use luckypatcher to freeze the app like disable some app all sosmed i've been disabled all and the result still same maybe next time i will try your method use brevent
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
I got 277k in Antutu 9.4.0 and 368/1597 in Geekbench 5 with Big 2158/ Little 1690 on CPUs and 455MHz GPU + undervolting. 30c ambient & no cooling

not score that high but I think it's good enough with this clock speed and temperature

(compared the old version of kernel, with a bit higer than stock cpu clock speed (maybe 2.4/1.8) and stock gpu clock speed and phone is also in the ac, I got 305k antutu 9.3.5 and 387/1612 in GB5)
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
If Lucky is effective at stopping apps, don’t use brevent and do the rest I told you to do
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
I just try again, stock cpu clock speed (2314/1690) but in the freezer (battery temp 12c, idle cpu 16c) and this is what I got.

391/1711 on GB5 and I have never seen this high multi core score on my S8 especially on stock frequency setting.
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
hello, I apologize for the quality of the photo, I'll try to get a better one. the screen is damaged and I use it in dex with hub. I am testing the latest version of the kernel and I can oc at 2000-2800 mhz and gpu at 839 mhz without problems
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
The stock DVFS table doesn't make any sense. So insteady of simply lowering existing values, I almost restructured this thing from scratch. Now I have to check if it's stable
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Odd. Your ASV quality on the big and small cores isn't particularly exceptional. You didn't max out all voltages, did you?
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
just increase 50mhz to the last step (839), I have no idea how much is recommended. geekbench in a computer test gives 6000 as a result
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Note8. This might explain it.
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
no tengo un note 8, tengo un s8 plus (955f) la rom seguramente altere el nombre del equipo
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Then it's back to weird.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
But as you can see, he can run everything at max speed, so just forget this ASV thing, it's garbage.

I don't think he has Note8, it's likely a custom ROM based on Note8 source.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Yes I agree that it's garbage. And it's REALLY bad. Because it means that we don't have reference voltages. People have to tune individually for each device on their own. I don't even know how low I can go with uVs now.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Right. Well, if you really want to have every Freq at lowest voltage but still 100% stable, then you need a lot of patience lol.

I'll tell you how I did that on Galaxy Ace 2, but now honestly I wouldn't do this again on S8 because it's very time consuming and especially due to the fact that the S8 has too much freq steps. But for who has enough time it's a great challenge.

Yo need to test with geekbench every single step for at least 10 minutes it shouldn't crash.

Lets say you want to test stability for lowest step on big cpu 741 MHz, then you have to use same Freq for min/max freq and run the benchmark which acts like a stability test. But be careful, you may need to switch the freq after you set new voltage to take effect ! (test if required)

Note on paper all your stable voltages. Then in the end you need to add +25 or even better +50 mV on top of stable voltages, why ? - because when using Freq scaling the freq and voltage switches very fast, and the thing is that the voltage regulator need some time to raise voltage. This is especially the case when it has to jump quickly from min_freq to max_freq. By adding this extra voltage of at least 25 mV it'll be stable. Also this is required to make the phone stable when you are outdoor and it's very cold.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Yes I know about all of that, but thanks for being interested in the topic.

Thing is, I don't have time, or at least, I don't have several consecutive days to dedicate to reaching the absolute peak of the voltage table uV. So to compensate I resort to all the experience I've gathered over the years in this sector. I know the law of diminishing returns, and I know (since it's the only thing that ASV ever got right) that the lower the frequency, the least you can lower the voltage.

So it takes a good deal of logic, intuition and error to get a decent table out of this. And a little bit of testing too to make sure nothing crashes. So since the table I crated is not undervolted to the last mV (or at least that's what I believe), it should work on a good deal of devices and remain stable too. It's a win win.

In this case you could quite literally say that I don't work hard, I work smart. Working hard can potentially yield more benefit, but smart is close enough, and requires much less effort. Which one do you pick? (Well, you're hard working, on this Kernel, so I think I know the answer already lmao).
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@TechNoobForSale

Right. Well on this project I had to work hard and smart.

PANEL:ERR:panel_set_mdnie:panel was not connected

You have a lot of this error, likely because you use the phone without screen right ? This can also reduce a bit the performance.

But probably the reboot was caused by your DEX setup. Did you mess it up ? At least I see error about DEX/HDMI/USB stuff.

Checking the source code it seems that the driver was still able to detect (and freaking out) that it's not samsung genuine dex accessory.

If this is the case, I can patch it, maybe it'll not reboot then.

Yeah 6000 is for 839 MHz. btw why you don't use latest release ?
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
well, it paid off, Ace. It sure as hell did.
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
hi ace, right now i'm using the version you provided in the comments, the latest one. I have to clarify that the version that worked best for me in terms of stability and OC was a2n_kernel_g955x_9.x_2022.04.20.zip, in this version I did not have any type of restart by temp. or crash, I have loaded the gpu and cpu with a lot of hard work without problems. the cores were running at the maximum of their frequency 2002/2800 mhz. However, in this latest version, the kernel has not yet finished stabilizing, I need to wait 48 hours, I see that there is some small extra load on the small cpus
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
hello, i was testing the kernel, in benchmark with 3dmark, i got a reboot
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
100% a GPU fail.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
This version here: "4.4.111-a2n-g138937be-dirty #80" you are using and got a reboot is a test-kernel and not meant for daily usage.

I still don't get the point why you don't simply flash the latest official A2N release ?! - Do you have nostalgia about random reboots ?

As for extra load on little CPU: yes that's right, i've moved "surfaceflinger" and "com.android.systemui:InfinityWallpaper" to little CPU to offload big CPU. This also saves battery btw.

btw: interesting thing: I see the same DEX errors in your log, really need to patch it. But this is not the reason for the reboot.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
I noticed that my ASV table works perfectly for stock and up to 2574MHz, but at 2562MHz it JUST WON'T BE STABLE! 1.3V on 2.65 and it still crashes on Geekbench. I don't know what to do to be honest. If it takes such a huge jump from 2.57 to 2.65 in voltage, and it still crashes, my silicon probably can't do 2.7 at all. What a shame.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Little cores are stable. Now I'm trying 1.35V on 2652MHz. If even this doesn't work, it seems I lost the lottery on CPU.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Even at 1.35V, 2652 crashes in the "LLVM" section of Geekbench, at 70% (funnily enough, it crashed at the same point at lower voltages).

Looks like 2574MHz is as high as my specific S8 can go. Furtherly proves that ASV values are a lie. I must have one of the worst silicon pieces. Bummer.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
At least my GPU can handle 839MHz.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
woah your g3d level is just 3

but on the other level that too good you are the lucky one to have that

are that g955N ?
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Well I'm starting to assume that Geekbench files got corrupted, together with 3DMark. Because even at 2.57, some stuff consistently crashes. I don't have much time with this. I have to end this benchmark run today, provide the results, and never do it again on S8, unless Ace releases a higher performing update, which is highly unlikely, but well, I can't know.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
yes i dont use the screen hehe and yes i not use genuine of samsung dex i use vention cnb type c to hdmi which that use

chip LT8711HE as hdmi

VL817 as PD charger

if you can patch it for me that would be great hehe
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
On Geekbench 4 I got a new multi core record at 7455, but single core dropped to 2162, unlike the old times when I used to get like, 2240 or something. Well, multi core is what really counts.

2.65 was no use, I'm assuming that Geekbench 4 got corrupted, just like 3DMark. Maybe due to low temps.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
@rtyuakatsuki I ask you to run 3DMark Slingshot Extreme Unlimited OpenGL ES 3.1 whenever you can. Keep the phone plugged in to manage to maintain 839MHz without stutters. Unfortunately mine just refuses to conclude properly and I don't know why. I'll try to run AnTuTu, after which I'll stop benchmarking on this device unless Ace releases a new version of the Kernel, with performance improvements, which is unlikely, but, who knows, it's Ace.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Well nevermind, in AnTuTu, in the second test, 839MHz stutters. It seems that in a CPU/GPU load, the phone just can't supply enough power, because it's not GPU instability. It's stutters. It stutters less, but it still does while plugged in. Looks like we are at the limit.

At least 764MHz works stable, however that won't be enough to match S9 in GPU performance. Luckily enough, these are benchmark, and they push hardware in a terrifying manner. So in gaming, we most likely are at that S9 level of performance.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Well my S8 suddenly rebooted during the benchmark in safe mode. I think I reached the limit here. AnTuTu failed too. Rtyuakatsuki, it's up to you.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Reboting in the normal OS resulted in me losing my theme and wallpaper. I think that at this point it was a RAM corruption.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
It’s time for it to finally rest. Retirement. 😂😂
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah, likely due to fs corruption which always happens on every unclean shutdown/reboot. This can be seen in last_kmsg.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
i never run benchmark use 839mhz because it never run for me even i slide the voltage to 900 or 1000mv that never run and i ussually use 764mhz that run smooth at 740mv

and this is the result

and for how cooling is work?

here you can see hahaha
[Samsung Galaxy S8 & S8+ Cross Device Development] PIKO!!!:
Two weeks ago I was searching for cooling mods for S8, after seeing a youtube video about a guy repurposing his phone, and a video of your S8 came out. Didn't know it was you until now, lol.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
HAHYAHAHAHA that was me only one who mod the s8 to android pc and have cooling like expensive PC
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Well I’m honestly confused by why that happened. Low temperatures for a prolonged period of time? I noticed that before the shutdown happened, all the benchmarks I ran started crashing. So my phone might actually be able to handle 2,65 but everything was getting corrupted.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
No, no Rtyuakatsuki. We are not where we need to be. This thing should be scoring over 5000 on this benchmark! Are you sure it’s not overheating?
[Samsung Galaxy S8 & S8+ Cross Device Development] jourlys:
Now it work on LOS16 ??
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I think u mix things up.

Volte doesn't show anything in status bar .. only if u start a call .. then u'll see "HD Call".

But Wifi-Calling when it's enabled it should show a symbol in status bar .. this is actually not working.

I've noticed it after i had released. Fix is coming ASAP.

I think yes... :)

No need to apologyze ..it's related to kernel development, so it's not off-topic.

It's indeed a good hint !

Don't know, because i'm a stock rom user. But there's a chance that it works now.

Or u need to wait for advice from other user that did it actually tested.

So, actually Bugs is only Wifi-Calling ? :D
[Samsung Galaxy S8 & S8+ Cross Device Development] shayanb2004:
[MENTION=5840412]ace2nutzer[/MENTION] adding boeffla wakelock blocker would be nice
[Samsung Galaxy S8 & S8+ Cross Device Development] MarkEsguerra:
If EAS schedutil was implemebted in this kernel, this will be a ver best kernel!?
[Samsung Galaxy S8 & S8+ Cross Device Development] tomaasz:
What is difference between your and official TWRP?

Wysłane z mojego SM-G950F przy użyciu Tapatalka
[Samsung Galaxy S8 & S8+ Cross Device Development] leandro_colocdk:
Hello, happy holiday, it looks promising, but it is the second time I try to install it and I have the logo of resurrection remix.

How long does it take to start? I don't know what I'm doing wrong.

Cheers
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
It has latest A2N Kernel and very aggressive HMP thresholds in order to improve performance.

Other than that, all same.

Did u tried a clean install ??

in case of such issues, i suggest to flash first my TWRP version ... then reboot to recovery ... wipe /data and flash immediately A2N Kernel .. so without to reboot to system, then reboot to system and wipe approx 10 minutes.

If even after 10 min. still on Boot logo, then it doesn't support that ROM ..

U could post a last_kmsg then.
[Samsung Galaxy S8 & S8+ Cross Device Development] leandro_colocdk:
I flash your recovery and then tell me

Failed to mount '/ preload' (Invalid argument)
[Samsung Galaxy S8 & S8+ Cross Device Development] igalmarino:
Isn't RR based on AOSP ?
[Samsung Galaxy S8 & S8+ Cross Device Development] leandro_colocdk:
I tried it with the rom alexis and if it is functional.

With the rom resurrection it is not functional.
[Samsung Galaxy S8 & S8+ Cross Device Development] wer159p:
New version tested

App kill wont too aggressive

But more shuttle now i think

When playing game freeze for 10-30 sec in sometime until phone give me a error "system has no report"

Another problem is Volte

In my phone will show "Volte" little word in stats bar on stock kernel and call to ppl will 4g still 4g

But use a2n kernel wont show and when calling will become 3g

I think really have bug on volte

That all my bug now

Please check thank !

Btw: After disabled usb debug usb tether work properly now??
[Samsung Galaxy S8 & S8+ Cross Device Development] MarkEsguerra:
Dont mind that preloas invalid argument.
[Samsung Galaxy S8 & S8+ Cross Device Development] haimo:
try to wipe the preload partition in advanced wipe afetr choosing preload
[Samsung Galaxy S8 & S8+ Cross Device Development] tomaasz:
No wifi with Pixel Project

Wysłane z mojego SM-G950F przy użyciu Tapatalka
[Samsung Galaxy S8 & S8+ Cross Device Development] sunyakram:
Your telegram?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Ignore this. This happens because your Base is outdated.

If u do a full clean install with ODIN then it's fixed.

Don't format /preload youself .. otherwise you can't boot to the system anymore.

As for laggs: try with zRam.

As for freezes: did u overclock ? (e.g. Peformance Plus)

U could save the logcat / dmesg to your internal sdcard .. by opening the A2N demo version ---> in app menu ---> "Debug" --> logcat.

Then post the logs here in forum (attach them to the post ... no need to upload in some sites.)

As for Volte / wifi-Calling, so both doesn't work ... probably it's just one bug that makes both not to work properly.
[Samsung Galaxy S8 & S8+ Cross Device Development] wer159p:
Yes zram i have opend by default

I use plus profile first but when freeze happen i change to default performance still freeze

Only use balanced can stop freeze happen (rare happen too)

How can i post log?

Just copy n paste or?