yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
just a little of feedback from me (again lol)

I'm on the official kernel (not the test one) with 2.496/1.794 big/LITTLE cores + 50% zram & 16MB LMK + 95 deg C DVFS on both CPU&GPU.

I must say that it's quite stable. Just a random reboot/freeze at the 1st day, after that it's all good.

Now I'm trying with 1 step higher CPU clock speed on both cores.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Spoiler content hidden.

underclocking little cpu= higher score somehow lol

Spoiler content hidden.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I got reboot when open classroom

Settings

Cpu big 2.7

Cpu little 1.8

Zram 75 percent

Gpu 572mhz

Dvfs both 95°C

This the file
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Report experience after test the test kernel is

This test kernel is good for performance and stability and the problem is too much random reboot when play game

Setting for gaming

Cpu big 2.7ghz

Cpu little 1.8

Gpu 572 mhz min max

Settings for save battery

Cpu big 2ghz

Cpu little 1.8 ghz

Gpu 260 - 572 mhz

Dvfs 55 cpu 65 gpu

I am on S8+
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
After two days of testing the test kernel didn't give me any random reboot, however just now when I rebooted the phone, after unlocking it I appeared "phone boot" for a while and then the screen with no apps loaded, I was only able to restart or shut down the device.

I attach the log files if you can find the case Dev 👍
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
a2n_kernel_g950x_9.x_test2.zip

a2n_kernel_g955x_9.x_test2.zip
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Let's proceed for the new test 👍
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
..bug fix only?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yes, all test kernels that i'll upload now are only for fixing random reboot when using zRam.

You don't need to test something else.

BT disconnect bug should be fixed in test kernels, and will be merged in next official A2N release.

We need to fix zRam then i'll release new build with Note 8 support ! ;-)
[Samsung Galaxy S8 & S8+ Cross Device Development] sploitpay:
does this kernel support wireless adapter drivers for ralink mt7601u
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I think driver is from the rom if you use stock and use this kernel that work propably

.

.

Ouh Btw i use test kernel 2 after 14hour no problem no reboot or else if that can be more 24 hour i think that can be named almost perfect
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
...random reboot with test2 kernel
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Caused by too high CPU Freq probably .. 2.8 GHz is not safe, better to use max 2.7 GHz.

Anyway, test kernel 3 is coming out ... in around 30 minutes.
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
yes, you are right. For the first time I wanted to try the performance plus profile + 2.8 GHz....strange thing is that reboot happened 5-10 minutes after completion of Geekbench test (not during it)
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
Here is a kmsg after a random reboot (happens 4th time today) with balanced profile and 50% zRam

Edit: it's strange how nothing happened until last two days
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
I think only thing we need now is GPU clock upgrade CPU is unstable by the way but 2808 is too much in my opinion
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
CPU at 2.7 GHz is stable, even with max cpu temp set to 95 °C.

The only thing that is actually unstable is just the zRam driver .. which i'm working on it.

A believe now it should be stable... just testing it for 30 minutes, then i'll upload test 3 kernel so that you guys can test as well.

As for GPU: Yes and no, 572 MHz is high enough.

According to my acknowledgement increasing only CPU/GPU clocks like hell without to optimize RAM management will not give you the best results.

Actually test 3 kernel will also have memory management optimizations.

For example: If you are playing a game and sometimes it'll just freeze for 0.5 secs then it's not because GPU/CPU is fully overloaded, but rather because RAM is overloaded. In such case with optimized RAM management such freezes will be completely eliminated.

Only if you have very low FPS constantly then CPU or GPU has not enough performance.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Please test and report for test 3 guys.

Please do not report bugs if you use higher CPU/GPU clocks than stock.

Test only for memory management, especially with zRam enabled.

a2n_kernel_g950x_9.x_test3.zip

a2n_kernel_g955x_9.x_test3.zip
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
We start with the test (y)

Obviously cpu oc stable and zram at 50% as always.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Yups i feel it when play pubg when i enter some house it like make a lag but i see the cpu and gpu is not overloaded i was think about samsung S8 is have problem about RAM and STORAGE speed random read and random write that why feel like LAG 0.3 or 0.6 second

Btw kernel test 2 i have quiet stable i use the kernel almost 14 hour and battery is down when i turned on and charge all night that not have reboot and you realese test 3 i will try it ,ouh and i use zram 75%
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
This morning -07.00 GMT i have been test kernel test3 and i play pubg without cooling system and i got almost no lag

I will update the report
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
Thanks for info I will try test kernels... but what I want to say is that if we are somehow able to reach full gpu overclock, there will not be only certain limit of our gaming performance but it would be equal to current flagship. So I was excited for that..
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
And again I am in problem as wipe dalvik cache. Mobile applications seem to take a lot of time to just to launch.. and since a week this persists.. I tried to switch to other's kernel say NX then that problem gone and when I switched back to our kernel problem continued... what might be factor here?
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
If you delete cache/dalvik in recovery it is normal that the app start takes longer at first, you have to wait a bit of use then everything will return to normal.
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
no as I said I am using mobile for a week now but this slowdown persists and I also said that when I switched the kernel problem solved and after reflashing this kernel that problem reappeared.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Try test 3 kernel, i have posted.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Dev, for now the test kernel 3 behaves quite well, no reboots or freezes, there is only a slight slowdown on startup, you can see in the load of the apps, could it be due to the loading of zram at 50%?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Okey update report for test kernel 3 the test kernel 3 have a good management memory than other kernel before, and for normal use underclock big cpu 2ghz that have lot save battery ever i see sot 4 hour can be more if i not play game and overall use is like 3 hour for BoT is like 9 hour or almost 12 hour, and some problem when hardcore gaming with 2.7ghz and dvfs 95°all that have reboot caused by jumping temp and touch temp to force reboot to save Soc , i think the zram work well no reboot but if that happen i will report it when save mode or gaming mode 👍👍👍
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
test kernel 3

- 2 times random reboots (in 2 hrs)

- game froze and then system ui crashed

test kernel 2

- around 3 random reboots (in 2 days?)

I attach the last_kmsg of the test kernel 3. thank you dev.

my settings: all clock speeds are stock (big/little/gpu), 16MB LMK and 50% zRAM.
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
link to the last_kmsg: here

now I'm back to the previous build
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
no reboot from my side but the mobile is totally unstable once Android Auto is connected via USB ! HeadUnit recognizes connection but the Android Auto interface gets never loaded completely and...mobile is totally frozen till cable disconnection! And it takes, sometime, 4-5 minutes to get it working back.

I rebooted to recovery, flashed 24/03 official version+Magisk + cache/dalvik wipe and system comes back to normal behaviour (including Android Auto)

What can be wrong? I did not try "Test2 and "Test" previous version
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
can you try wipe dalvik cache please
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
and tell me if your applications takes time to start like for me youtube takes 5 to 6 seconds
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
yeah i tried that too dev
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Yes, it happens to me too, but it's normal as I told you after a couple of hours or day everything goes back to normal.

If you don't have any problems with the apps you shouldn't delete it.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Pre-release version 2021.04.02

Source code update: DTF1 -> DUA3 - thanks @ Samsung

HMP_CUSTOM: update - should fix several bugs e.g. with BT

MM*: disabled samsungs aggressive force_reclaim patch - should reduce freezes

zRam: updated driver for higher efficiency in MM and higher security (encryption) - thanks @ minchank

zRam: improved performance and compression ratio

MM: optimized CMA*/RBIN* usage - for the better memory allocation

MM: saved around 100 MB of a wasted RAM from RBIN - zRam driver will use it now

Debug: reverted some debug log buffers sizes to stock - probably it caused some instabilities

*MM = Memory Management

*CMA = Contiguous Memory Allocator

*RBIN = recyclable reserved RAM for camera (228 MB)

If random reboots are now fixed with this build, then we can considering this as our next official release !

a2n_kernel_g950x_9.x_2021.04.02.zip

a2n_kernel_g955x_9.x_2021.04.02.zip

Note: after flashing kernel and magisk then instead to directly reboot to system, power off and start with power button, required for the updated RAM layout.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Great dev nice job, we hope to have solved it definitively, already the kernel test 3 was excellent I proceed with the new release 👍
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
thank you, Dev !

just a remark: following your setup instruction, after first power on (with button) the mobile always boots into TWRP.

from whithin TWRP I restarded system successfully. Later on, the shutdown and restart phase is normal.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Right, in fact i did the same ...
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
another remark: when Android Auto works without crashing (as said some post ago) it always happen that an incoming call makes mobile connection fail. Namely, since I am used to mirror screen with Scree2Auto, the playing streaming app aborts with "no internet" message when phone call comes...
[Samsung Galaxy S8 & S8+ Cross Device Development] sploitpay:
actually the drivers for wifi adapters are configured inside the kernel while building it

btw im looking for nethunter kernal for galaxy s8 g950fd if any one have link it
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
2 hours experience review of the pre-release version

- smooth

- game (golf battle) doesn't lag yet

- no freeze & crash yet

- no random reboot yet

compared to the 3rd one, this is much better (maybe on my device)

my settings: all clock speeds are stock (big/little/gpu), 95 DVFS, 16MB LMK, 25% zRAM.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Absolutely excellent pre-release kernel, very smooth and without delays. 👍🏆

Now I try to increase the battery life, lately with oc (big cpu 2.5Ghz) I could no longer even get to 4h of active screen, I think the cause is the high consumption of the Moongose cluster with frequencies higher than 2.3Ghz.

So I implemented this system:

Cpu big 2.0

little 2.0 (in my case it is stable)

disable boost on

Up threshold 70

Dvfs 95 °

touch screen boost off.

I must say that everything remained very smooth and fast, and consumption dropped significantly, if anyone is interested in having more battery they can try.
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
any idea about continuous discconections in ScreenMirroring mode during Android Auto session? Kernel released on 06 Feb is not effected by this issue!
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Woah pre release i just want make bug report for test kernel 3 , for test kernel 3 the bug is only when play game and use big cpu 2.7 ghz and got random reboot for other setting all save nothing to get random reboot

This the file bug report

And now time to test the pre release yeeee😂😂😂
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Report reboot when unlock screen

Cpu big 2.7ghz

Cpu small 1.8ghz

Gpu 572mhz

Dfvs 95°c all

Condition when unlock screen reboot is under sunlight

Screen brightness max

I think caused by over temp

Here the file

But you can check maybe have a bug or not if not i think this is stable
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
I need low memory killer Script can someone send it to me please.. I want to check if game runs fine if I set it to 16
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Did you try this build ?

Should work fine out of the box.
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
Yeah in my opinion this build is best for me until now.. just got one revoot yesterday but not too many reboots..
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Good morning dev, unfortunately I recently crashed while I was on the main screen, like a reboot but without the phone turning off and I'm back on the lock screen, I leave you the log files, when you can check.
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
Same, just had a random reboot, but after it boots up, i was stuck at "phone starting.." and had to force reboot.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Report touch screen issue

My screen is dry but only max 2 touch sometime

Before i use this kernel normal like ussually when wet that happen
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks for report, but it's quite pointless to report touchscreen issues. There is nothing to fix or to optimize, since it's hardware failure.

The touchscreen driver is fully stock.
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
I had only one reboot since 03.24 build and its not a major issue for me.. according to my experience the lag in games like PUBG is fairly reduced but not completely. The ZRAM thing both 0% or 75% no major impact on performance, only thing is the device's heat increases when I set a higher value. So far nothing to report. this kernel and app is greatest of all time. I wish if our dev can start a project on a new phone like s20 or s21 then I will definitely buy it.(y) Keep up dev.. Good luck

Settings-

eclipse rom/03.24 a2n build/antutu 262000:p

battery ac 1500( no battery drain) / battery idle on/ battery max temp 42

Touch boost 0

cpu 2.8/suspend 2.8/threshold 40/dfvs 95/lil cpu 1.8/sus 1.8(little cpu 2002 gives lag)

gpu 572/threshold 40/dfvs 95

lmk 16/zram 75

tcp westwood+
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
I've experimented some time with Hades Q rom from corsicanu and noticed that these touch problems are gone, like I'm 90% sure it's FIRMWARE related, not HARDWARE, maybe there are some bugs in android 9 version related to touch, so if we can outcome them that would be perfect
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
With these settings your sot is 2 hours? Lol
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Okay that's possible, but if it's ROM related issue, then it should be fixed in ROM, not in kernel. Anyway it's not really possible to fix souch issues in stock ROM. Only if we compile a ROM from source code then there is some chance to fix it. And therefore there is no way for now, unless you use a custom ROM android 9 with that issue being fixed.
[Samsung Galaxy S8 & S8+ Cross Device Development] nicoleanns:
hi, I read that this kernel is for android 9 (PIE) but it was an android version for like 2 years ago so I wanna ask if this kernel would work for some newer custom rom (havoc 4.2) android 11
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
This kernel just work on android 9 only
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
lmk command please?
[Samsung Galaxy S8 & S8+ Cross Device Development] nicoleanns:
oh that means it only works on alexis rom
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Yups everything rom android 9 must be work
[Samsung Galaxy S8 & S8+ Cross Device Development] oleg vegas:
When will the core for AOSP come out?
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
But how about changing the CPU affinity interrupt with touchscreen driver? I've tried to do it by myself, but I can't find that driver name. As I know, by default, kernel assigns all hardware interrupts to first CPU core at boot, so maybe from Android Q, its noded to multiple cpu cores for better handling of touch interrupt
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah that's right, you can assign cpu affinity to what ever you want.

But it's a bad idea to assign an interrupt to all 8 cores. It's always cpu bound or if not bound then little cpumask or big cpumask. If there is some interrupt allowed to be in all_cpumask then it'll be randomly in little or big cpu ... depends on the decision from cpu scheduler. Then we have the same side effect on boot that it sometimes freeze for 4 secs.

If it's randomly in the right cpumask then there is no freeze, else we see the freeze on boot.

Actually i can't find the culprit.

As for touchscreen driver, you could check defconfig for the drivername .. then search on my github in dreamlte source for that driver name then you will find a Makefile. There you will see what source will be compiled for that driver, so it's not hard to find.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@moreformusic

Check also Firmware

tsp_sec and tsp_stm

It's all stock from latest DUA3 base
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
I hoped to find more info info by

cat /proc/interrupts

, and finding touch_core (was much simplier in older android version) and echo the assignet CPUs to that node by

echo 1 > /proc/irq/240/smp_affinity_list

But apparently it's nothing like that now..so maybe it's just better to compare those edits with Android 10 firmware and find what causes multitouch and touch sensitivity issues
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah but i've only one S8 with Android 9, so i can't compare.
[Samsung Galaxy S8 & S8+ Cross Device Development] Trasher29:
My phone just froze completely while watching Netflix, had to reboot it with power-volume down. Using Pre-release version 2021.04.02 and the balanced profile.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Please post some more logs after a random reboot when using the pre-release i had posted.

I know someone already posted logs after a random reboot, but some more logs would be better. So far i didn't check logs for the pre-release, but later when i've time i'll check them all.

So always post logs and explain what happened.

For a full random reboot or after a forced reboot after a full freeze post last_kmsg

And for soft reboot post dmesg and logcat.
[Samsung Galaxy S8 & S8+ Cross Device Development] Trasher29:
Sorry didn't check the attachment again. I posted the reply with the attatched log in the app, trying the web version now. And for what happened exactly, while the video was running it suddenly stopped and froze at the current frame without sound. Edit: I still can't see the attachment.... (click)
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
Just had a soft reboot with Balanced mode and 50% zRam, here are the logs..
[Samsung Galaxy S8 & S8+ Cross Device Development] OvFGombiz:
Hey bro,I can't find the software A2N Control in my phone(SM-950N) after install this kernel!Can you help me?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Search it on finder the app a2n kernel is like sim tool kit sometime appears when first install
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Hy dev i got problem with adapter hdmi and adapter have 3 slot 3.0 USB and when i plug the mouse the mouse is turned on but not working for HDMI is working properly any solution? About the usb ? Same for mouse and keyboard not working

Edit: the seller choice to return the package amd send me new paclage the seller is said it broken
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
echo 64 > /sys/module/lowmemorykiller/parameters/minfree

is this right command for lmk
[Samsung Galaxy S8 & S8+ Cross Device Development] Trasher29:
Had another 3 random reboots all shortly after I put the phone to sleep and wanted to wake it up again. After one random reboot I couldnt open apps and had to manually restart the phone. The recent reboot happened shortly after I put the phone to sleep with a paused YouTube video and wanted to wake it up again. Logs attatched.

Profile: Balanced

Z-Ram: 50%
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
A2n kernel is better in performance bro and Dev is making this phone to flagship level in upcoming updates
[Samsung Galaxy S8 & S8+ Cross Device Development] Badger50:
Thread lightly cleaned.

A little point of order if I may. Please don't discuss, or make comparisons to other kernels while in an existing kernel developers thread. This is considered rude and disrespectful to the kernel developer, so please, no more posts such as these. Thank you for your cooperation, now back to your regularly scheduled programing.

-Regards: Badger50
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Here report pre release random reboot i have many random reboot last night i report only one

Becuase last night i use all oc option and LMK 16mb
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
- no random reboot yet since my last report

- there are some slow-responsive events while using apps but the phone doesn't freeze
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Ouh are you use default settings ?
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
kernel became very unstable i cant use apps like youtube or instagram without reboot and if i start a game it reboot so many times or game crashes 0% zram too
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Even unstable to not be able to use the apps with pre release version ??

Strange to me, apart from a few initial blocks that I posted the log of, now it seems that I have no more problems and no reboots.

My settings are:

Zram 50%

Lmk 64

Display touch boost off

CPU big 2.0

Little 2.0

Dvfs 95

All remaining settings stock
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Hi Guys i'm back to development after easter. I hope you had a happy easter.

Now it's time to fix some bugs. i'm checking all your reported logs after the pre-release.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Thanks dev, I hope everything went well for you.

Good work, we are always here!