yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] gorillalaci:
the same i have flash
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Strange .. please try again to flash latest kernel. If there's still no Red A2N App, then install it manually ... i've attached it here in this Post.
[Samsung Galaxy S8 & S8+ Cross Device Development] gorillalaci:
i think the kerne is sh.ty ...sorry ....Other User for this kernel here???
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I've only S8 Model .. so i didin't test it on S8+ ...

I'm waiting for other Reports about S8+.

Anyway, in a case of hang or random reboot, u Guys should post the "last_kmsg" Kernel log file here .. .which is located in

/proc/

Otherwise it'll be impossible thing to debug it.

If you can't provide a log in a

Developer Forum

then use the App i've uploaded please, it's quite easy .. to provide logs and help development. But just posting "it doesn't work" without to post a log is quite useless ... especially in this Forum for Developers ..

So we are not in a noob Forum here. :highfive: I think now it's clear.
[Samsung Galaxy S8 & S8+ Cross Device Development] Sureshtuty:
I am on Alexix Rom. My device is also keep freezing. will share logs.

Device - G950FD
[Samsung Galaxy S8 & S8+ Cross Device Development] vaykossil:
Flashed on s8, after few seconds of booting just freezes and I have to hold 3keys to hard reset, can't even take a log
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
hehe ;-) big CPU is a custom CPU from Samsung based on ARM Cortex (??) so called "Mongoose M2".

There is no specific limit, as long as you can increase voltage and are able to keep the temp under 100 °C it shold work. (at least over the orig. max specs from wikipedia)

No, coming build is still for Android 9.

AOSP 10 with A2N Kernel will come later. (it's planned at least for the next 3 months ... but who knows ...)

I've started with Galaxy Ace 2 then Galaxy S8 and at the same time worked also on general linux kernel optimizations for my old notebook i do still use for compiling kernels.

For building ROMs it's too slow, but i've access to an build-server in Russia, (my old friend where all started here ...)

It's quite hard and very time consuming to learn a new platform.

For that reason, the S8 is my last Phone and project.

That means i'll (likely !) support the S8 for the next few years with latest Android versions.

Not because i can't afford new phone, but because i'm tired to start from scratch.

In parallel i want also to experiment if it's possible to run an latest Android version on an very old device like the Galaxy Ace 2.

My goal is to show people that it's really not needed to buy every 2 years a new phone.

Let me see lol, for sure i did NOT.

Probably i had posted here a few months ago that S8 can be OC'ed at 3.0 GHz and someone wrote an article or so, that's what i can immagine.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Very interesting, in fact, being the big cores modified by Samsung they will not have the same limits as the A73 cortex.

It would be nice to prove this theory, I think you will be able to hacked the chip dev you are very smart.(y)

This is great news, i think my S8 will stay with me for a long time :sneaky:
[Samsung Galaxy S8 & S8+ Cross Device Development] Pappons:
No updates yet? :cry:
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
How to keep phone all the time cool (max 40°C) without underclocking it too much, but maintaining a balance somehow? I've noticed that doesn't matter if I'm on powersave mode or performance, phone gets hot when opening some apps or doing some multitasking. (Without too much thermal throttling of course)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
With power save profile shouldn't go over 40 °C at least not from cpu gpu caused heat. What you feel over 40 °C is likely the heat caused from other hardware parts like screen backlight, battery (charging) or mobile networking.

As for update: it should be usually already online but itsn't.

Still working on 2 new cool features for the new app version.

You will love it !

I go to sleep now, later when i wake up i'll try to finish and upload.

Sunday is the only day where i don't work on my projects here.
[Samsung Galaxy S8 & S8+ Cross Device Development] s8dex:
I'm testing kernels in the eclipse rom, the nx kernel 30 is giving me 252315 points in the antutu, already its kernel, in 2.8 big and 2.0 little is taking 222000 more or less, am I doing something wrong? in stock rom it was very bad all kernels
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I got 254k score with a2n kernel

Setting is

Big cpu 2,7ghz

Little cpu 1,8ghz

Gpu min max 572mhz

Dvfs 85°C

With coooling system temp is 20°C BATTERY

For device temp is average 25 - 30
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Antutu also performs the user ui fluency test, it doesn't have to be that reliable.

Better Geekbench, so you have precise feedback regarding cpu / gpu even with different roms.

The value to always take into consideration is the single core score, however with the new update that our dev is about to release I think the performance will be even better than now.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
LOVE THE DEV THE SMARTEST EVER

300k mannnn and new update aint out yet 🤯🤯🤯🤯🤯

edit: it seems like cuz of new antutu ipdate there are some bugs? i tried runnin a test again but after some minutes it stays at 0%
[Samsung Galaxy S8 & S8+ Cross Device Development] s8dex:
how did you get those points? did you use any custom rom? has the new kernel already come out?
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
it might be a bug, but maybe cuz i debloated alot? i cant run another test it get stuck 0%
[Samsung Galaxy S8 & S8+ Cross Device Development] s8dex:
I believe I was lucky to get a good chip, it is holding 2.8 on the big and 2.0 on the little
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Don't waste time with Antutu, it's the worst benchmark, it also produces and to sand a lot of logs.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
ye the very first time i got 290k 6 months ago or something after that 220k like whaa

btw dev u finiushed it ? excitedddd
[Samsung Galaxy S8 & S8+ Cross Device Development] s8dex:
are you using stock rom?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
The anticipation is always the best, isn't it ?

I'm just adding the last new feature in the app, then i'll upload.
[Samsung Galaxy S8 & S8+ Cross Device Development] s8dex:
where is the new keeeeeernel, I am very anxious 😋
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
eclipse stock v16
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
Eagerly waiting for the next build ;)
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
Do a geekbench 5 test too
[Samsung Galaxy S8 & S8+ Cross Device Development] s8dex:
mine was on the single core 457, and yours?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
See for boot animation for all samsung if you want subscribe and like and i will give you the QMG file
[Samsung Galaxy S8 & S8+ Cross Device Development] Pappons:
Big dev we are waiting for you!
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Asus Rog, what are we doing on our Samsung ... 😂

A very good score, I 437 at 2.7ghz.

Now leaving out the scores which are indicative, in the practical test if you combine your S8 with A2N with a stock S9 you will see that your S8 is much more fluid and responsive, we are on a par with S10 (I have personally tested).
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Just improvement😂😂😂 i wanna make ROG x SAMSUNG for next boot animation and splash screen if you can make the logo and animation i can convert it to QMG
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
(y) The long awaited new kernel & app is now online !

Changelog will be later online.

Enjoy and spam the thread with new bench highscores !! :LOL:
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Big dev I run to update, and in the meantime I get the Guinness World Record team ready 😂
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Hy dev i still got same problem for gpu still no volt but overall speed increase greatly
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
The gpu voltages are not assigned ??

Up to 572 Mhz should normally be assigned as before.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
No i am not
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
no voltage
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
dev the temperate doenst go higher then 85C°

gpu and cpu eun max 85°C
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
just a little bit of report

> call reccording is working now! Thank you :)
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
This is normal, the voltages have not been changed with this update.

My dvfs is correctly set to 95°with the app and is correct in the gpu_asv_table, are you using init.d?
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
in gpu asv table u cant see ur max temp, right? and i have the app.. idk how to put it in init.d

in gpu_dvfs_max_temp u can see ur max temp and it says max 85 and if put higher then 85 in app and then restart it goes back to 65
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
I don't have this problem, the values are correct and match.

You can try uninstalling and reinstalling the A2N app.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
i tied it didnt work u sure its workin for u?

did u use the app or scripts if scripts can u send me the script u usin
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
According to your screenshots you are still using the old kernel version.

You have to update kernel as well, not only the app.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
................ i think thats the case omggg wowww thank youu

btw do u know which is best for low ms? u added so much thank youu u best dev
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
hi all,

unfortunately new kernel (+ new app) seems worst than previous one in terms of stability: just got a random reboot (LOG attached) with default setting of PowerSave profile.

Apart from that, during normal Android Auto session my S8 gets disconnected from HU many times (it seems a regression to me) in 15 total minutes. With previous kernel this happened with disabled Z-ram (to avoid rando reboot as suggested).

Anyway, thanks to the Dev for his passionate work.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Report random reboot and some peak temp triggred

Setting for triggred peak temp is

DVFS 95°C all

Min max gpu 572mhz

Cpu big 2.7ghz

Cpu little 1.8ghz

Random reboot and triggred peak temp

For random reboot only setting is

Dvfs gpu 65

Dvfs cpu 55

Big cpu 2 Ghz

Little 1.8 ghz

Gpu 260mhz - 572mhz

For zram always on
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
What happens if I mistakenly reset the battery cycles count to 0 without actually changing the battery? Because I did it and don't know what to expect now 😂
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Hi, there is no LOG.

Nothing, one day when u'll replace the battery then you don't know the total charge cycles anymore.

While if you reset battery capacity, then it'll re-calibrate the battery-gauge.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Sure ? According to your LOG you was using CPU OC with unsafe Freqs:

<6>cpufreq: new min and max freqs are 455000 - 2002000 kHz
<6>cpufreq: new min and max freqs are 741000 - 2808000 kHz

Use max 1.9 GHz for LIT and max 2.7 GHz for BIG.

Unusual disconnections over BT ?

Thanks ! Even if it works quite stable for me in the last 5 days, i will consider your log.

It seems to be still related on memory management, the swap system.

Probably there are still some leftover hacks from samsung to be removed. :(

Please what ?

According to your LOG the DVFS driver works as expected.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
And ? works good ?
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
For me everything is fine, no reboots.

My settings are always the same:

big: 2.5

little: 2.0

dvfs 95

zram off
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
yessss i can see the improvement the only thing is when i run my game on ultra graphics it freezes alot but that is with every kernel so its hardware issue i think on other games max graphics no problem 55-60fps
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Try all Low Memory Killer values.

If it doesn't fix or minimize freezes then try with zRam 50 %.

Note: on this release, zRam got a big update and charging zRam size without to reboot is no longer recommended because it takes quite long time ... around 10 - 15 minutes.

But the zRam speed when using swap is quite improved.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I mean the temp is jumping more 95 when play game because when i play honkai impact 3 and device have sound like robot want to die and go to reboot hmmm if in my log working fine with dvfs and no jumping temp i think i must do more research oke i will do it
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
How about your GPU ? Can more 572mhz? What your device s8 or s8+
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
How you ever know it goes over 95 °C if you even didn't enable dvfs debug to track peak temp ?

Also it's normal and safe up to 102 °C peaks if you use 95 °C ...if something goes wrong with the throttling and temp is higher than 105 °C it'll immediately shutdown the phone.

In all other cases it'll reboot ... means you should try to find out which Freq is too high.

So again:

A suddenly (clean) shutdown = overheat protection.

Fix: reduce DVFS Temp.

Random reboot = CPU or GPU miscalculations.

Fix: OC step by step ... don't set cpus gpu to the highest clock, because later you don't know which Freq is causing instabilities.
[Samsung Galaxy S8 & S8+ Cross Device Development] oleg vegas:
hi have you by any chance thought about creating a kernel for AOSP?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Important is you must android 9 whatever rom is must android 9
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
No, I can't go beyond 572Mhz, the voltages are not assigned.

I leave the GPU settings in default in the app, I'm not a hardcore gamer, I don't care.

Although I've always left zram disabled, now I'm trying as you said dev, 50% and set LMK to 64. All stable and very fluid and no freeze or reboot.
[Samsung Galaxy S8 & S8+ Cross Device Development] oleg vegas:
And what about 10+ android, is it possible to release such a kernel?
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
dev said give few months
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
It was a tip for hardcore gaming if the game freezes sometimes.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
damnn it fixed alot of freezes thx dev!!
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
good morning to the community !

talking about "power", what is the difference between USB-CD and USB-PD? with previous kernel the actual charging current (in car) was managed by USB-2.0 parameter (as expected) and it was quite stable on desidered value.

with new kernel charging current seems managed by another paramenter (USB-CD ?) and it changes often and quickly.

can someone else confirm?

thank you.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
USB-PD = (Power Delivery) support per Power Delivery Specification (a powerful usb charger for the wall)

USB-CDP = Charging Downstream Port. (usually used in cars)

USB 2.0 / 3.0 = is the normal USB spec from PC / Notebooks.
[Samsung Galaxy S8 & S8+ Cross Device Development] oleg vegas:
then it should come out?
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Dev, I noticed that in the latest version when I restart the phone it gets stuck for 5-6 seconds on the lock screen.

Could it be due to the loading of zram?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Nope, it's something else, probably some incompatibility stuff between ROM/Kernel/Ramdisk version.

I'll update to the latest DUA3 .... maybe it helps. Other than that you don't need to worry, it's just this, no other drawbacks so far.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Changelog

Kernel V. 2021.03.24

Fixed audio call recording - thanks @rostifaner for help

Charger Control: added support for USB-CDP (used in cars) - thanks @traversone for report and log

Thermal Throttling: driver update and allow up tp 95 °C stable CPU/GPU Temp (adjustable over the app or script) and add a proper overheat protection

Added more TCP congestions algorithm

lib/lz4: updated to LK 4.11.12 (for zRam stability and performance)

zRam: decreased overhead and reduced memory usage

I/O: increased read_ahead_kb for max speed

mm/zsmalloc: removed all samsung changes

Enable WQ_POWER_EFFICIENT_DEFAULT & MALI_DMA_FENCE

Custom HMP: update

A2N Kernel Control V. 3.4

Charger Control: added USB-CDP ( for USB charging in cars)

CPU/GPU: optimized DVFS

Profiles: Performance Plus: allow custom Freqs

Network: added more TCP congestions algorithm

Advanced Power Menu: updated
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
I read that you have made some changes to the HMP driver, I would like to know more in detail what dev.

Ps: with this latest version I'm learning to love zram, you feel the fluidity even on daily activities, snappy opening apps. 👍👍
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
That's great mate !

As for HMP: you can check all the HMP related commits here.
[Samsung Galaxy S8 & S8+ Cross Device Development] Trasher29:
Just got a reboot right after unlocking the phone with fingerprint. Paused youtube video was open. I enabled zram after the update to the new version in the morning. After disabling zram in the old version a few weeks ago I didn't experience any reboots.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
In my case i was believing to have it fixed since 5 days with zRam 25 % having no random reboot.

Well, then it's still unstable the swap system. (zRam driver is OK since i've updated it, but zRam uses the swap driver, which i didn't touch so far)
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
Works perfectly for me at default performance settings with 50% zRam, no reboots since update
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah that's cool, but you are warned that it can every moment happen, soft/hard reboot.

Since it's annoying, later i'll upload a test kernel with some changes in the swap system, especially who faced random reboot caused by zRam very quickly, should flash it then and report if it's stable after 3 days of use.

stay tuned ...
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
@ace2nutzer can you compare touch settings from this ROM (9) and version 10? Maybe I'm wrong but I have a strong feeling that on android 10 I didn't had any touchscreen issues.. so I'll know where to search for problem
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
No need to waste time for this, once we'll switch to 10 it'll work as well better hopefully, if it was ROM related. Anyways i couldn't find anything useful in kernel source about touch sensitivity, so maybe it's really in ROM. But i can't immagine this, because it's hardware related and every touchscreen has this issue with multitouch when screen is wet.
[Samsung Galaxy S8 & S8+ Cross Device Development] s8dex:
I am managing to run genshin impact without treatments on the s8 + with its current kernel and horizon rom, in very low quality with 60 fps enabled, but it is too good for me, with 50% zram. how much should i leave in the low memory killer to have an even better performance?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Test it and see. You can change LMK value on-the-fly without to reboot.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
On init.d what the code ? Ouh and i report twice reboot first reboot when i open google and after reboot i open google and whatsapp notification appears that got reboot again
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
how about setting lmk 64mb and zram 75?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
You can use whatever combo you want, there is no unsafe combo, so test them all and see what works best.

Btw: i've reduced the price for the full version.
[Samsung Galaxy S8 & S8+ Cross Device Development] Zakles:
the core is very cool, 3 months with it. updates please with the work done, thank you. tell me, is it possible to add the sound of moro in the future? only my ears are used to it)) English = translator.
[Samsung Galaxy S8 & S8+ Cross Device Development] Pappons:
Great update @ace2nutzer , very happy with the new fluidity, and I have no sudden reboots, I have set zram to 75%, there are differences in consumption for the battery compared to setting it to 50% or 25% ??
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Probably not a big difference.
[Samsung Galaxy S8 & S8+ Cross Device Development] Pappons:
Well, then I leave it to the maximum, why not make the most of it ?! 😛

As for cpu overclock I have set the maximum big 2.7ghz in your opinion is it okay or better to use a lower frequency for daily use?

thankss 🤩
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
It should be already fine.

btw: 2.8 GHz is marked "unsafe" because it's likely to not work stable on most devices, but it doesn't mean that you should not try or so. Maybe works stable for you.

If you have the app you can set what ever you want, you can set highest OC with less aggressive governor settings. Or you set lower Freqs but with more aggresive governor settings.

There are probably more than 1000 of combinations you can set. it's impossible to test them all.

In the end every S8 willl have a unique configuration.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
I personally found peace of mind with big 2.5Ghz and Little 2.0Ghz and disable boost on.

Consumption is low and performance is excellent. 👍
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Test Kernel with attempt to fix random reboots when using zRam 50 % / 75 % and Bluetooth disconnections.

S8:

a2n_kernel_g950x_9.x.zip

S8+:

a2n_kernel_g955x_9.x.zip

@traversone

If it still reboot post with last_kmsg.txt.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
I proceed with the test dev! 👍

I select zram at 50%.
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
ok! many thanks..proceeding with test
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
2x reboot lost the first last kmg this secodn
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
i cant attach the file last kmg?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
But hopefully without OC .. right ?
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Will have selected 2.8 Ghz.... lol

however, everything is smooth and stable for me, and the annoying startup freeze seems to have also disappeared.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
yes with 2.7 ghz should i with 2.3?
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
unfortunately the test version seems more energy consuming (balanced profile is always selected since 1 month, no change on this) and now is stucked after sending a simple SMS (with Truecaller)...i am forced to reboot as no action is able to restore normal behaviour.

in terms of BT disconnection I have no valid test yet