yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
For maximum performance you can conveniently select the performance setting in the a2n kernel control app profiles.

Always if your chip holds 2.8ghz otherwise you have reboots.

Also try manually to find the most stable big / little frequency for you and use it(for me big 2.6 and little 2.0).

Then you can set up_threshold to minimum for Gpu / Cpu.

Gpu is stable maximum at 572mhz.

You can also raise the dvfs to maximum temperature, but be careful not to get over 100 degrees that you have core melting! :eek::ROFLMAO:
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
ohhh if this is possible adding an option in the app might be good

Edit: at the picture below does it have anything to do with touch sens dev can u make this like 0.1sec delay
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
On next build you will be able to set up to 95 °C @ likely stable 2.8 GHz .. no problem.

With peaks up to 100 °C and if something went wrong @ 105 °C it'll do a clean shutdown.

That will be a hardcore thermal driver, breaking again our own records !!! lol.

Set "Custom" and adjust ....

And nope i'll not add anything in my pay app what you can basically do for free in default android settings app. Because that could make people confusing.
[Samsung Galaxy S8 & S8+ Cross Device Development] s8dex:
does this kernel work on hades rom?
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
This is great news dev !!

I prepare a convention with the firefighters. I will need it. :eek::LOL:

It works with Hades v12 (9) but there are no guarantees for any bugs.

It seemed pretty stable to me, I haven't encountered any bugs for what I tried.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Final test CPU @ 2.7 GHz

DVFS CPU/GPU 95 °C

Stats after successfully running Geekbench 5:

dreamlte:/sys/power # cat cpu_dvfs_max_temp
[cpu_temp] 32 °C
[peak_temp] 100 °C
[max_temp] 95 °C
[tjmax] 105 °C

Works like a charm !

Soon available in next build.

Stay tuned.

PS: 2.8 GHz doesn't work stable on my phone, but maybe works on some other phones stable, we will see !
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Does it just after few sec like mine? Btw i removed root permission fron a2n app my game run smoother i overclocked cpu only and it doenst need root like u said
[Samsung Galaxy S8 & S8+ Cross Device Development] Pappons:
For general use such as web browsing and instagram / facebook, who are not a player, does it make sense to overclock the big cpu over 2.300mhz or just increase the consumption without gaining anything?
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Power save or balance profile might be good for that saving much more battery and no lag either i think
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@Pappons

It doesn't matter if you play games or not, more speed is always better. Less latencies and lesser lags when scrolling.

@ all with multitouch issues when the screen is wet:

Is this happening on both S8 / S8+ ?
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
A few touches ignore the display when it is wet, but the problem is present since the first day I bought it.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Mine respond to water when like a drop of water drops on the screen but when my hands sweating i do have touch issues maybe it lies more to swewtinghands or is it really a bug
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Use watercooling or funcooler black shark or DIY watercooling with peltier like me ,my watercooling can touch -15 in 5min
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Yups just the screen wet multi toucg gone wrong when its dry back again i think it caused by the phone hace waterproof rating and have some configuration when get wet or dry or very wet ,my opinion
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
S8+ affected ? Yes or no ?
[Samsung Galaxy S8 & S8+ Cross Device Development] NewTheLife:
Ready for news updater🤤
[Samsung Galaxy S8 & S8+ Cross Device Development] NewTheLife:
Ready for news update 🤤
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I am S8+ the screen like what i said
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
yes
[Samsung Galaxy S8 & S8+ Cross Device Development] mariosk87:
Why i get lower results on antutu benchmarks than with the TGP kernel which comes on lightrom v50?

On lighrom TGP i got 250k

with a2n got 200k

is it normal?

Why dont give better results?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
On current build it's "normal", but it'll be higher on next build.
[Samsung Galaxy S8 & S8+ Cross Device Development] mariosk87:
Oh ok! When you think will release it?
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Don't rush our dev, the food needs cooking. ;)
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Hahahah with phone ye
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
dev how can i put 455000 gpu freq minimum with scripts? thank u keep the good work!!
[Samsung Galaxy S8 & S8+ Cross Device Development] mariosk87:
Sorry, i dont want to do it :D

Keep good work
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
The allowed temperature range for li-ion batteries is 5 - 45 °C.

See here.

echo 455000 > /sys/kernel/gpu/user_min_clock

But 385000 is is cooler, 455 MHz may keep your phone at higher temp when playing games.

Also it's not recommended at all to increase min_freq because it usually serves nothing and just drains more battery.

Both CPU/GPU (ondemand) governors will switch from min_freq to max_freq within 4 ms if the load is over 75 %.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
if i am right is my gpu supposed to run on 455mhz nonstop right? its not after puttin code. how am i suppsoed to do that
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Only CPU runs nonstop .. except in deep sleep.

GPU only comes online when it's needed. When playing games it's most of the time online.

While it's powered off, it's basically 0 MHz. Then when it comes online it'll start at min_freq ... then if "disable boost" is not checked in the a2n app then it'll switch to max_freq.

Did i answered your question ?
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
sorry but no, when i was teseting nx kernel i put min gpu fre to 572 then it run nonstop 572 mhz like without dropping down to 455 or lower
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I forgot to mention about thermal throttling ... in other custom kernel you can disable thermal throttling for gpu without having random reboots .. because so far i'd never see higher gpu freq than 85 °C. The only issue is the phone feels very hot.

In this current build there is no way to entirely disable thermal throttling for GPU ... but you can set highest dvfs temp and then set min_freq ...

In next build we will be able to set gpu dvfs to 95 which is like having it disabled.. because it's unlikely to hit over 95 °C for gpu.

But also in nx kernel, gpu will not run all the time at xxx Freq .. because there is no one commit in his source code about any hacks in gpu power management. Also we developers really don't want to keep 20 gpu cores all the time online.
[Samsung Galaxy S8 & S8+ Cross Device Development] Maro4u:
Am using your kernel on my s8 with covours ROM it's sweet nice Job, is there a way I can tweak the parameters myself using app like ex kernel manager
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Why not keep 20 core gpu is online?

Make it unstable or what ?

I think will be good if 20 core is online when needed
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Gpu freq does run at 572 nonstop, but the cores dont so is it the same as gpu freq running at 0mhz?
[Samsung Galaxy S8 & S8+ Cross Device Development] Nitroom:
How can I download it?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
You can basically try every kernel manager app you can find in play store, but none of them will work properly. The only way is to use the original a2n app or to write your own init.d scripts.

When GPU is needed, all 20 cores comes online. This is the default behaviour.

But why you guys want all 20 GPU cores online when using "Chrome" browser or social media apps ? it doesn't make any sense and only drains battery for no reason.

Please what ?

Post #1 there is everything you need or direct download if you know what to do:

index - powered by h5ai v0.28.1 (https://larsjung.de/h5ai/)

index - powered by h5ai v0.28.1 (https://larsjung.de/h5ai/)

xda.mister-freeze.eu
[Samsung Galaxy S8 & S8+ Cross Device Development] Pappons:
When do you think the new Kernel version will be online??

Unfortunateley i have random reboot also with zram off....
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
When i'll find the culprit.

Please post last_kmsg.txt you can generate it with a2n demo app in debug menu.

Yesterday i had after 3 days a soft-reboot, now i'll check my log and if i've some more logs, the better.

It looks like there was at least 3 reasons for random reboots, one was the zram driver, (zsmalloc and lz4 lib, which both already updated and got rid of reboots) and now there is likely one leftover bug that i need to find out, then it should be fully stable.

Then i need to fix call rec issue and touch sensitivity issue, then i'll upload new build.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
on nx kernel the gpu runs at 572mhz without dropping down but the cores arent always online

if cores aint online does that mean that gpu frequency is runnin at 0mhz?
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
if you use 2002ghz on lil cpu then u get random reboots too for some it works great for some it restart in 3 sec is it voltage?

edit: should i send last_ksmg...?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yes, like i said before.

You can check current GPU freq:

cat /sys/kernel/gpu/gpu_clock

But i get soft-reboot even with fixed zRam driver and stock freqs ...

So probably it's still something else.

Need to check later, as i'm actually busy with my other projects.

For me this is max stable:

Little CPU: 1.9 GHz

big CPU: 2.7 GHz

GPU: 572 MHz
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Great dev, I have the impression that soon this kernel will be perfect!

However i haven't had random reboots since i disabled zram, all smooth since the latest version release.

Big= 2.7

Little= 2.0

Dvfs=85°

Screen Touch boost and freq boost off

GPU all stock
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
If i am right you could run 2.8 with no problems right do you get reboot? Either way dev next release is gon fixed it i hope
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
No unfortunately my chip does not hold the 2.8ghz frequency, it restarts immediately.

But I'm satisfied with 2.7ghz it is already a good frequency that makes everything super fluid, of course the battery cost is noticeable (4 sot max) but it seems to have an S10.

It all depends on the quality of the chip as we have repeated many times, we cannot currently increase the voltage so if it does not support it your chip now put your soul in peace.

But there will be new good news from the next update I'm sure!
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
anyone can send me the proper corvus rom android 9 download link for s8:confused: (y)
[Samsung Galaxy S8 & S8+ Cross Device Development] Maro4u:
The one am using is android 10 and it is on xda
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
is it even possible i tho this rom support oneui only
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
fake show proof
[Samsung Galaxy S8 & S8+ Cross Device Development] Maro4u:
Here is your proof
[Samsung Galaxy S8 & S8+ Cross Device Development] Maro4u:
Sorry damn am in wrong thread lol sorry thought this is rad kernel thread
[Samsung Galaxy S8 & S8+ Cross Device Development] mariosk87:
Well, everybody is overclocking the device, and what if you underclocking? What is the best settings or/and freq to save the max battery without loose a lot of speed? I dont know so much to change all the settings, only the freq, but i bet only change the freq will not be the best setting we can do
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
A

As the dev also explained, underclock is of no help for the battery, the voltage is dynamically adjusted by the chip and therefore is already the minimum optimal.

If you really want to save the maximum of the battery you can adjust the maximum frequency of the big cpu and limit it for example to 2.0ghz or even less (decreasing the little freq is useless since it consumes very little and is used only for background services).

You can in addition to this always in the A2N control app sett

Cpu

-Disable Boost on

- Up threshold 95

- Increase Sampling rate

- Screen touch boost 0
[Samsung Galaxy S8 & S8+ Cross Device Development] mariosk87:
Nice explanation! Very appreciated about that. I understood about the voltage, with this settings you give, I will try. But now, I think I will wait for the new release.

Thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks for helping me :) But itsn't fully true about underclocking.

@mariosk87

Lowering max_freq will consume less power, on the other hand the task will need more time to do its job and it takes longer to go in CPU IDLE state or min_freq with lowest voltage. So it's not fully right to say lowest Freq = best battery life and highest Freq = high battery draining.

He was asking about good battery life and still good performance, so in other words max efficiency.

In general every machine what ever it's, has its maximum efficiency at 50 % performance, while at 75 % it's still acceptable and everything above 75 % the cost is high.

So now considering that 2314 MHz is our max_freq, so 100 % speed,

50 % would be around 1170 - 1261 MHz (power save profile)

75 % --> 1703 - 1807 MHz (balanced profile)

It's usually enough to switch between the profiles.

Or if you don't want to change the frequencies, you can instead tune the other parameters like you've listed, this will result almost like power save profile. But the thing is, i do still prefer to use only the profiles because the phone keeps fast responsiveness and has smoother scrolling ... at least at "balanced" profile.

This is our current hardcoded CPU freq/volt table:

<6> lv : [2808000], volt = 1206250 uV
<6> lv : [2704000], volt = 1150000 uV
<6> lv : [2652000], volt = 1125000 uV
<6> lv : [2574000], volt = 1081250 uV
<6> lv : [2496000], volt = 1037500 uV
<6> lv : [2314000], volt = 962500 uV
<6> lv : [2158000], volt = 906250 uV
<6> lv : [2002000], volt = 868750 uV
<6> lv : [1937000], volt = 850000 uV
<6> lv : [1807000], volt = 812500 uV
<6> lv : [1703000], volt = 781250 uV
<6> lv : [1469000], volt = 737500 uV
<6> lv : [1261000], volt = 706250 uV
<6> lv : [1170000], volt = 687500 uV
<6> lv : [1066000], volt = 668750 uV
<6> lv : [ 962000], volt = 656250 uV
<6> lv : [ 858000], volt = 643750 uV
<6> lv : [ 741000], volt = 625000 uV
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Always accurate dev! (y)

ps interesting the frequency and voltage table, I deduce that a good frequency of oc without going too much to devour the battery and get more speed and less latency is 2.5Ghz right?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yes, 2.5 GHz is a good OC Freq without to drain battery like hell, also it has much lower heat compared with the other steps like 2652 MHz. (Found it out during my hardcore tests with OC and CPU Temp measurements in real-time)
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
I'm getting 4-5 soft reboots daily even without zRam, and with Balanced profile, and after that reboot, phone is almost unusable, very laggy, I have to reboot it manually again.. here is last_kmsg file. (I hope it's atached)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Nope, but nevermind ... let's see how it goes with new build later ... since i've changed a lot of things, an log from older source version, likely will be not very helpful.

But thanks anyway.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
dev, i cooled my phone then started playing my game cpu wasnt throttling at all it was running non stop 2.7ghz my game felt smooth but their was alot of freezing, why? then i underclocked 2.3ghz it wasnt freezing as much, is their any fix?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
As i said before, wait for new update, it will be online within 3 - 24 hours.
[Samsung Galaxy S8 & S8+ Cross Device Development] Pappons:
hi @ace2nutzer , currently i am with recovery twrp 3.5.1, can i use it for the flash your future kernel you will release or do i need to install your twrp?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
If it's still backwards compatible with Android 9 then yes.

I'm not the TWRP maintainer.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Dev if the gpu voltage would be like this

Would above 683mhz stable?

If i click save i get error and cant save so u might be able to do it..
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
The voltages are locked and stored in a separate chip, you cannot change them.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah, at least for now ... so far nobody managed to hack it.

Once CPU/GPU Freq/Volt table is fully hacked, (direct access to the PLL's and voltage regulators) then we will be able to use Freq/Volt outside current stock Freq/Volt table.

That means it could be possible to run the big CPU @ 3.0 GHz and GPU @ 1.0 GHz stable.

Of course with my custom DVFS driver, otherwise no way at all.

I've some ideas how to hack it, but i'll need some time.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Uh wow that was FANTASTIC IF THAT CAN BE 3Ghz and GPU 1Ghz that INSANE PERFORMANCE 😮😮😮😮😳😳😵😵😵😱😱😱 i hope as soon as possible keep it up dude
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
If you can haked it dev, you deserve a place as chief engineer at Samsung! :eek::cool:

PS The Max freq for big Cpu (Cortex A73) it is not maximum 2.8 GHz??
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
🤯🤯🤯 if u manage to hack it then i wont upgrade anymore btw u releasing aosp/onui2.5 Q kernel with the next build?

What phone u will work on if u stop workin on s8? I would gladly buy it no cap
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
I saw some websites sayin that the s8 can be oc to 3.0ghz imagine if our dev did that lol
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Hi !

latest uploaded a2n kernel for oreo is with fixed VOLTE ... At least some users reported that it works now.

And Yes, there'll be no more updates for Oreo ... because coming release is for Pie only.

@ all

sorry for the very long waiting about Pie Support ... i just don't want to upload a crappy kernel.

I'm still debugging and optimizing .. once it works fine i'll release :)

Best things always comes to the end. :o
[Samsung Galaxy S8 & S8+ Cross Device Development] cantenna:
Thanks, isnt that a stock kernel though with no tweaks?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Links for G950F:

stock kernel for oreo, no tweaks, but working VOLTE ...

http://xda.mister-freeze.eu/XDA-files/ace2nutzer/G950F/General/

A2N Kernel for oreo, with tweaks and working VOLTE ...

http://xda.mister-freeze.eu/XDA-files/ace2nutzer/G950F/Android_8.x/Kernel/
[Samsung Galaxy S8 & S8+ Cross Device Development] cantenna:
Thanks, will give it a go, ٩◔̯◔۶

---------- Post added at 07:11 AM ---------- Previous post was at 06:11 AM ----------

Update: tried it, VOLTE and WiFI Calling work, but setting charging values other than stock do not. Despite increasing values for all with paid app most I get is fluctuations from 170, 250, 340, 360, 410, 430, 480 510 mA with screen on.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Good!

Changing charging current works for me .. but i don't remember if it was needed to set the current before plugging the cable.

It's possible that u can't change the current once the cable is connected.

Once u set the max current .. then it'll choose automatically an highest current possible for that plugged charger ... so it depends on the charger (and maybe also on cable) Also if the current was too high and battery will be hot then the driver automatically will decrease current ... then once it's cooler it'll increase again... All that u can check with the button: "check stable current".

Also try to toggle the "Fast charging" button in setting --> Battery of the ROM. At that time i wasn't aware of that switch .. and i developed the driver with the stock setting of that button.

Anyway, now i know that and will make it better. - Also on next release i'll make sure that it's possible to change current even on the fly.
[Samsung Galaxy S8 & S8+ Cross Device Development] cantenna:
Is it possible to create a switch to cut power to display and keep hdmi out enabled?

Hdmi out on this device is essentially broken; once hdmi out is enabled it appears the phone no longer charges properly and you just end up bleeding battery despite being connected to a fast charger/wireless fast charger...

Really need a way to kill power to the panel and keep hdmi out enabled...
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
The LCD Panel itself doesn't draw much power ... it's aroud 80 mA at lowest brightness.

So the high power consumption comes from the hdmi stuff itself and the power consumed by the application running for the HDMI stuff ... means CPU load -- > power consumption. The rest of the power goes into the battery. So to offer the needed power to all the devices and still charging battery quickly we will need to increase charging current and making sure to have a good power source.

Will try to allow maximum charging current on next release !
[Samsung Galaxy S8 & S8+ Cross Device Development] feederc:
Was it tested with any custom rom? Thank you
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I've developed this Kernel with Stock ROM 9.0 and it works quite fast and smooth ... that's why i never had the need to test any Custom ROM's here. :) But theoretically it should work fine with every Custom ROM that is based on Android 9.x ...

Anyway, u can safely try it out, .. just flash and see. In the worst case that it'll not work properly u can still reboot to TWRP and flash the previous Kernel. ;)
[Samsung Galaxy S8 & S8+ Cross Device Development] gorillalaci:
i dont no why ...i flash your kernel G955f ...flash wipe cache dalvik reboot

my phone is crazy ....my phone hang on Oberfläche reagiert nicht ...i calways hang on scoll down or up

fc fc fc ....nichts geht
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Ohh i'm sorry. Then something went wrong.

In this case just press "Volume Down" + "power key" for 7 seconds ...

let it reboot .. and hopefully it'll not hang again .. then open the Red A2N Kernel Control App and tap on the 3 dots (in-app menu) and on "Debug"

Then "last_kmsg" ... it'll save the log to the sdcard ... please post it here then i'll try to debug it ... thank you !!

Note: it requires that u've magisk installed for saving logs.

EDIT: I assume u flashed the right kernel Yes ? - Because G955f is the old kernel for Android 8.x

The new Kernel for Android 9 is called G955x for S8+ and G950x for S8
[Samsung Galaxy S8 & S8+ Cross Device Development] gorillalaci:
i flash and no A2Kernel Controll i see
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
You flashed probably the wrong Kernel ...

Android 9 Kernel for S8:

http://xda.mister-freeze.eu/XDA-files/ace2nutzer/G950X/Android_9.x/

Android 9 Kernel for S8+:

http://xda.mister-freeze.eu/XDA-files/ace2nutzer/G955X/Android_9.x/