yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] Finexfs:
I got 315K points with A2N kernel, does anyone have a higher score than this? I was able to reach up to 293K in Hades Kernel
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
340,000 from me
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Let's see how R60 performs.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I just wanted to remember to enable swap in RAM section in a2n app, since it's disabled by default in recent releases, then you get better scores.

Happy benchmarking!
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Is it possible to get adopted storage support Kernel side? (Put a Micro SD as internal storage to increase effective storage available). Samsung One UI doesn't normally support it and moving apps to the Micro SD is buggy. It says there isn't enough space for even small apps with literally 50GB left
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Hmm I've no idea.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Hmm i have try that adopted the micro sd as internal storage for apps and to get it work you need some module and apps

It move data apps to sd card and it work properly per apps i use it when play genshin impact it increse gameplay like 1 to 3 fps

Sd card i use sandisk pro extreme
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
GPU draws 11W when overclocked to 839MHz and stress tested. That's a LOT lmao. At 572MHz it's 4,2W
[Samsung Galaxy S8 & S8+ Cross Device Development] spdrfx:
How did you measure it?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
How long you hold the gpu @839mhz ?

I only can like whole test with my extreame cooling it took like 12 watt for sure just for GPU and cpu make it to 15 WATT

Dev see it before in report from 3c

It draw current 3A

And to calculate it

4.35v × 3A

13 watt average
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Burnout Benchmark sampling - idle power draw
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
I don’t know how long it could handle it, but CPU gets much hotter much faster even when on stock clockspeed. At 2314/1690 it draws 8-9W but gets way hotter, and I think I have a theory to justify that.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
The question is if the S8 draws 3 A while CPU/GPU is @ full load and OC'ed to the max. Would be interesting to know how much ampere it draws with charger at max charging current with 100 % battery and how much current without charger but 100 % charged battery.

And then the same for S8+.

Since S8+ has 3,5 A, OC should work better, assuming screen brightness is set low.

Let me know guys, maybe I can do something.
[Samsung Galaxy S8 & S8+ Cross Device Development] Twiq:
@ace2nutzer

system crashed while USB tethering, i've generated last_kmsg from red app, but when i try to peek at it it says archive corrupted, tried generating 3 times but the issue persists.. i'm attaching it anyway
[Samsung Galaxy S8 & S8+ Cross Device Development] oleg vegas:
in what files and what did you change, I want to try to do something, I know that on Samsung j5 2017 the display was overclocked to 97Hz, so we all hope that it is still possible
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
What you mean by "system crashed"?

I've checked the log but there is nothing about the reboot reason except:

$ cat last_kmsg | grep -a "reboot"
<14>init: Received sys.powerctl='reboot, (uid: 0 pid: 28164 processName: app_process)' from pid: 4386 (system_server)
<14>init: Reboot start, reason: reboot, (uid: 0 pid: 28164 processName: app_process), rebootTarget: (uid: 0 pid: 28164 processName: app_process)
<0>exynos-snapshot: normal reboot starting

Looks like system_server (from the ROM, not kernel) crashed and decided to reboot the phone.

The reason for the crash, would be in logcat, but I guess now it's lost.

Anyway, you could try something like this:

$ cat logcat | grep -a "28164"
$ cat logcat | grep -a "4386"

Next time it'll be a different PID of course.

Or even better, if you can reproduce the issue, just let ADB run in background like this:

$ logcat | grep -a " E "

E = shows errors only.

The archive is not corrupted.

To unpack use this cmd:

$ gzip -d -S .zip *.zip

1. Did you ever compile a kernel?

2. Do you have knowledge about the C language?

Anyway, this is the source file (DTS) for the screen.

Changed all

timing,refresh = <60>;
in
timing,refresh = <100>;

and even changed it in source code, but screen refresh rate was still 60 Hz.

So I guess we can forget if it's (likely) hardcoded in the firmware file, for which we don't have any source code at all.
[Samsung Galaxy S8 & S8+ Cross Device Development] Twiq:
i'm not so sure about what happened and it only occurs once..

i was usb tethering my internet to my laptop (c to c), and suddenly the laptop lost connection and when i checked the phone was rebooting (samsung logo), after it boots i noticed the storage isolation root app failed its service, didn't care bout that and continue generating dump from the red app

it's currently stable, 96hrs uptime has passed just now.. i haven't got the time to check usb tethering again, and i guess i'd rather put it on hotspot next time i need connections :D
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
No, it's better to try to reproduce the issue, then there is a chance to get it fixed in next release.

@Twiq

Just one more time is enough.

Attach last_kmsg and logcat.
[Samsung Galaxy S8 & S8+ Cross Device Development] moeinf:
Hi

I want to install this kernel on hades rom v12

which one should I install g950 or n950 since rom is based on n950f

tnx
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Depends on your hardware model, not ROM model.
[Samsung Galaxy S8 & S8+ Cross Device Development] Twiq:
tried this again many times, it didn't happen again.

i don't know how to reproduce this,

looks like this is that rare and hard to catch issue..
[Samsung Galaxy S8 & S8+ Cross Device Development] Fox112233:
I wonder if you could make an option for scheduled power off and on (not restart). I wouldn't be disappointed if you wouldn't bother to though.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
It's not possible. After power off, there is nothing that could trigger a power on via software, but scheduled reboot is possible and already implemented in device care app.
[Samsung Galaxy S8 & S8+ Cross Device Development] Twiq:
@ace2nutzer just want to let you know that i'm still trying to reproduce this to no avail
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Alright, thanks!

For just in case I've disabled the USB tethering optimization, should work as well. Btw R61 is soon online with lots of improvements and fixes.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Wow, i was tought there is no update

Because its been perfect
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Fixing gaming mode and general lags coming from ondemand governor and HMP.

I'm trying to get rid of input booster, since it's painful.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Ah i see yeah that still painful my device still get hot if not get UV
[Samsung Galaxy S8 & S8+ Cross Device Development] Badger50:
Please check your PM inbox. Thank you.

-Regards: Badger50
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
Hello @ace2nutzer, it's me the annoying guy again! I tried to make a kernel again and this time I found the correct sources and did everything the right way from the beginning. I took some of your commits to overclock my kernel and removed the ECT limits but something isn't right. The higher frequencys doesn't show up in my kernel manager despite me having done everything correctly(I think). Could you have look at my sources when you have some time over? Here is my repo: https://github.com/opensourcefreak/kernel-with-a-stupid-name
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
If you have much time may you add moro sound module hehe
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
What is that? I experienced what sounded like a malfunction in my tiny speaker yesterday, but the big one sounded fine. Btw ace, if you are reading this I can say as a swede that Lord of the Lost was waaaaay better than Lorene.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Module sound for control each speaker for s8
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
What is the problem? - CPU or GPU OC?
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
Exactly, but I think I have found the problem: I need to add this commit to my source. https://github.com/Noxxxious/Upgrade/commit/3f655e0f16312af3fc0a7a3d68545b4c6bdee87c
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
I don't see why that would be necessary, but sure I'll add it. I found it for the S7 but not for the S8, do you know if it exists for the S8? But the version intended for the S7 will prolly work fine since the speaker configuration didn't change at all as far as i know. Here it is btw: https://github.com/morogoku/MoRoKer...dfed584a5cd342ff72d9b5717b6f3e35aab7b7c117bec
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
You can use this commit, but i guess it's not what you want.

Noxxxious already ported this for 8895 platform.
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
If it isn't that commit from Noxxxious I don't know what it is. I'll try a build with it just to check. They really did a lot in the short time they were active.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
You don't need that commit at all.

I still don't know what's your problem.

You need to be more specific if you want some help from me, i.e. be more specific about CPU/GPU Freq.
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
The frequencys higher than the stock ones won't show up in my kernel manager, I have removed ECT limits and altered the frequency table, I have no idea what the issue could be.

Here is my repo: https://github.com/opensourcefreak/kernel-with-a-stupid-name
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
There are 2 errors:

1. Are you compiling DTS sources at all? (to obtain an updated version of the DTB image)

2. Your commits about user_scaling_max_freq sysfs interfaces are wrong.

Take a look in my cpufreq.c source how it should be done.

3. In addition, your kernel manager should look and write to user_scaling_max_freq, not in scaling_max_freq.

Because otherwise you will face various issues.

For testing purpose, you can build your boot.img-kernel with my boot.img-dt, then CPU OC should work, if you fix user_scaling_max_freq.

Good luck!
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
I'm kinda new to this kernel stuff, so what does a boot.img-dt do and how do I compile one? Also if I want to compile my DTS sources how would I do?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
boot.img-dt is a binary of the DTS sources. So where you had specified "max-freq = 2808000".

I had added a HOW-TO-BUILD in my repo.

Everything you need is online.
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
Oh that's really stupid of me. I just re-used the one in Ivan Meler's boot.img.

Edit: Looked at your build.sh and it seems like I need to run a script within the kernel source to get my boot.img-dt
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Hi Guys,

even the fact that I'd stated that I'll no longer update this kernel ....

But I couldn't let it be and therefore ....

HERE WE GO AGAIN: :cool:

Changelog

A2N Kernel R61

RAM: improved memory management and fixed bug

USB: fixed tethering instability issue (needs more testing)

GPU: trigger kernel panic on GPU fault instead to issue a soft-reset

Removed buggy gaming_mode

GPU power-policy: force to use "coarse_demand" on suspend if "always_on" is enabled - saves battery (around 30 mA!)

CPU/GPU DVFS: reduced "gpu_dvfs_sleep_time" from 8 to 4 ms

GPU: fixed soft-reset issue caused by buggy HMP driver - this should fix GPU freezes and lags!

HMP: fixed bugs and adjusted tunables to be more aggressive - (faster and smoother)

CPU: updated ondemand gov

CPU: updated input-booster driver to be more efficient (more smooth, less battery draining!)

GPU: disabled shader cores hotplugging for better performance!

Updated ramdisk

A2N Kernel Control V61

CPU/GPU DVFS: added ability to check "Peak Temperature"

Misc: LED-RGB: added power control

CPU-BIG: removed CPU-Hotplug feature (redundant)

GPU: replaced "Gaming Mode" with "Boost"

GPU: added power-policy for "Always On"

CPU-BIG: merged "Input Booster" into "Boost"

CPU-LIT: removed "Boost" (redundant)

Audio: moved "PM-QOS" to "Debug" menu

Fixed bugs and improved performance

DOWNLOAD KERNEL

Flash and enjoy!
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
Great! We love your work!
[Samsung Galaxy S8 & S8+ Cross Device Development] Twiq:
thank you very much for all of your efforts to this day to keep this old device alive and kicking many of its successors in the butt..

my screen cracked pretty bad today but still usable, think i'll use this for entertainment station for the family or fix the screen when i got extra budget someday, but fortunately i got a no brainer deal for a brand new S21 FE..
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
I played around a bit with things and there is defenetly something wrong with my device tree. I get constant crashes after including it in my boot image. I will test some more theorys and post an update when something happens
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
I found the issue, I had to remove your changes to input_booster. I will cherry-pick you once you get rid of the bs.

Ps: Typing this on my S8 running LineageOS 21.0 at 2.0/2.8 ghz respectively.

Edit: Nevermind, it started crashing like hell just minutes after this message was writted.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Uh nice custom rom running and testing
[Samsung Galaxy S8 & S8+ Cross Device Development] george343456:
What a Legend
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Ace2Nutzer rn
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
What?

Here it is anyway:
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Ooh nice you're making an A13 Custom Kernel with Ace's sources?

Also observation about R61, CPU can no longer be forced at max freq so long as GPU is awake. Sad. This will drop CPU performance in some cases. Gaming mode wasn't buggy in my experience
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Yup, as expected

V61 vs V59. CPU performance dropped.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Aaaace...don't tell me you did what I think you did😐😐 why did you do this. It wasn't redundant

How do I rollback 😭
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
R61 was focused on smooth scrolling, fast reaction and better battery life, at the cost of lower bench score in multi-core.

R62 will fix that, without to loose the other benefits from R61.

Rollback is not possible at this moment.

Sorry for the inconvenience.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Thank you very much for your continued efforts man 🙏 it's good that you focused on fast reaction because I noticed especially on Twitter scrolling that older releases were jittery but now it looked very smooth
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Ace does the Kernel already make use of compilation flags (o3, thinlto, etc), arm optimized asm for mem ops, etc, to improve CPU performance? Or can this stuff not be implemented?
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
Yes I am. But I have some serious stability issues right now, may just be my silicon, may be the kernel. No panics, no demsg.
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
Hi Dev! I have a question for you

Is the new version has the CPU default temp limit (or boot temp limit, idk what it is called) at 57c ?

I feel that the phone is quite sluggish before the A2N settings apply, so I check the CPU temp with AIDA64 and the temp is peaked at 57 and clock speed is very low on big core.

I'd love to have the default temp increase to like 65 or 70c, so it will be faster.

Thank you so much!
[Samsung Galaxy S8 & S8+ Cross Device Development] PORTER2002:
to me the processor easily reaches 95 degrees without losing performance
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
A13 is very different from A9. It creates a series of new problems to deal with.

Still waiting for Ace's response on my previous question. It's a very important one I think
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yes already fully optimized except LTO as it's not supported with our sources. I don't want to add further bugs. The kernel doesn't need such extreme low-level code optimizations since it's smart enough. But applied to the ROM LTO can make big performance improvements, especially for performance sensitive binaries like ffmpeg and the other software codecs.

No, sorry, it's max 60 °C to avoid overheating after wiping dalvik-cache.
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
I see, that's also okay. that answer the question why my phone is weirdly cool during the optimization (I always put it on top of my air purifier after the dalvik-cache wipe since it should be quite hot lol)
[Samsung Galaxy S8 & S8+ Cross Device Development] Twiq:
ace.. i have to say the latest build is really conservative while sleeping, it's literally 1 hrs 10 minutes per 1%

i have never seen my phone so calm like this 😆
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
@ace2nutzer try and beat this amount of ram! (Thanks to Ivan Meler)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Sure you get around + 1 - 2 MB RAM if you compile the boot.img with -O2 instead of the higher optimizationslevel -O3 lol.
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
The zImage or AIK? Just saw this and was like lol. Ivan(the los dev) did this.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
zImage ....

Ramdisk you could use gzip compression instead of LZ4 to save some more RAM... but that will make booting as slow like the Samsung stock kernel.
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
Eeh... don't feel like it's worh it, boot is already taking ~30s is it faster in your kernel? If so, how did you manage to lower boot times?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
As I already said, you can compress your ramdisk with LZ4 in AIK (if not already), instead like in stock kernel with slow gzip compression.

For me the first SAMSUNG boot-logo disappears 2x faster.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Impressive. Very nice. Now let’s see some benchmarks
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
I have lineage boot logo bc rom, but yes i think it is compressed with LZ4 already.
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
@ace2nutzer I got all the overclocking stuff working almost perfectly, thanks to you! But there is one catch(?), once I boot without magisk to give root acces to my kernel manager it jups straight up to 2.8 ghz and crashes to reboot almost imideately. Is there any way to stop it from reaching frequencies higher than stock unless I have specifyed it to? Because a kernel mastermind like you must know!

Edit: I think I need to modify the runlevels a bit.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Hmmm in some cases with R61 there has been a drop in GPU performance too. Must be because MIF is no longer kept at maximum frequency, limiting bandwidth.
[Samsung Galaxy S8 & S8+ Cross Device Development] tri:boone:
@ace2nutzer: Thanks a lot for your work and keeping alive the S8. :D

I am using my S8 with your kernel with power profile "Powersave" and also switch on "Mittleres Energiesparen" to prevent the most data exchange in the background. Magisk is also installed.

ROM: EclipseSTOCK v16 DTEA

My problem:

With Kernel R60, R61 my S8 freezes or it looks like it freeze, 2, 3 times a day. I got this behaviour also with some kernels before, but every two or three kernels it went running without problems.

If it freezes I have to restart my S8 with holding "Vol down"+"On/Off" for 10 seconds.

On freeze I get the "bzzz",when I press on the front lower part, also the display will be fade out after time and the display brightness reacts on surrounding brightness. But more I cannot do with my phone.

Is it possible to use the older Kernel R59, because I tried it, but the battery limiter does not work with app version R61 and also I got messages like "Kernel update needed".

Maybe I can send you some logs or similiar? What do you think about?

PS: Actually I run my S8 with the stock kernel and Magisk.

PS: Is it also possible to write in German, because it is much easier for me.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@tri:boone

Thank you very much for the detailed bug report! Please stay on the stock kernel for now until new release is out. Reverting back is actually not supported.
[Samsung Galaxy S8 & S8+ Cross Device Development] tri:boone:
@ace2nutzer: If I can support your work with logs or similiar, please tell me what you need.

Information too: It freezed on diferent apps, f. e. WhatsApp, Geburtstage, e.on, gmail.

If I am right, the freeze happens short after use after a (longer) standby time and sometimes it feels like a slow down (over some seconds) and then stop/freeze.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
@ace2nutzer actually I have a question for you. In Kernel, did you disable overcurrent protection towards CPU? On G960F, I noticed that when I go on very high frequency, Kernel serves OCP errors and crashes the phone. Disabling the driver in Kernel does nothing, so it's probably in BL. Did you disable this on S8 to allow users to run 2808MHz? Or it's not disabled at all?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
For first time face reboot when click whatsapp logo

Setting

Battery profile

63°c dvfs all
[Samsung Galaxy S8 & S8+ Cross Device Development] oleg vegas:
Hello developer, I would like to transfer your commits to my core for lineage but I don't understand how to do it, is there a solution?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
over_current_protection on G950F is only in hardware.

On G960F likely the same thing.

According to the source code it's possible to disable it only in Qualcomm devices.
[Samsung Galaxy S8 & S8+ Cross Device Development] eugenio412:
Hello everyone! does any A13 rom support this Kernel? thanks!
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Answer is no why need android 13 for 6 year old devices
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Reboot again when opening and scrolling

Eccomerce app toko pedia

Battery profile

Dvfs 65 °c
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks, I'm aware about this bug.

It'll be fixed in new release.
[Samsung Galaxy S8 & S8+ Cross Device Development] Baticzek2k:
How do I enable DRM L3 patch? I cant find it in both control apps 😂
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
It is removed in the a2n apps and kernel becus it didnt work at all for some users or it works buggy.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
L3 patch is added with a2n kernel installation. L1 patch doesn't work at all. If you want L1 with custom kernel you need to patch the corresponding app, not the kernel.