yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah, i think the issue is triggered when the RAM is heavily used, in combination with camera usage and live-video streaming.

Yes, that's right. But i still do believe that all the hard work done right now one day it'll make some sense in terms of success/money. So i don't give up. And btw. i've never ever started with Android development with the goal of making some money. A few years ago i was developing kernel / ROM / kernel control app completely for free, just for fun. Later one member from my family gave me the tip that it's possible to make some "pocket money" and i should check for "franco kernel". He is like me full-time Android developer, but he makes for sure more than just 100 € / monthly because he is supporting more devices and also has a universal kernel control app for all kernels and devices.

Last one makes the big difference a think. Honestly i don't like such "universal" kernel apps, because a device specific kernel app is still the best that you can have. But of course, sometimes it's still better than nothing, of course if the user has some how-know and really knows what to tune to make actually an improvement and not making it worse.
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
@ace2nutzer

Does device encryption work on this kernel?
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
It works normally 👍
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
Checked. Phone Encryption not work
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks for your report. Usually it worked but maybe it got broken again due to some changes.

Anyway it's not hard to fix, so i'll make sure that it works again on coming release.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
I am on version 04/17 and it works fine, when I first installed the kernel I did a factory reset, then enabled encryption in settings.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Are you coming from another custom kernel with encryption enabled and then you flashed a2n kernel and it wasn't able to unlock your device on boot ?
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
I used the devbase rom

I have to admit though. I did not check the encryption by default

I just tried it, as the developer mentioned in the description
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
So no problem. It is wonderful
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
time to improve the kernel need overclock gpu and undervolt cpu or anything make this device beast

Antutu ver V9
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
You are obsessed with this AnTuTu 🤦🏻‍♂️🤣

I don't think having more oc for the Gpu (which with this kernel is more performing than the G76 of the S10) and even uc cpu will not help in practice.

The most we could get it when the dev churns out his Rom Aosp 10 optimized and relieved of all the crap of the Stock Rom 👍
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Nope, GPU OC would actually bring a huge improvement, since with the actual max_freq 572 MHz the GPU Temp isn't higher than 85 °C (peak) while running 3DMark - Sling Shot Extreme.

Considering the fact that the SoC is stable up to 115 °C (peak) there is a lot of performance to squeeze.

It's possible to disable DVFS throttling for CPU/GPU entirely, but it's not recommended since you will face random reboots once the CPU goes over 120 °C.

Such high temp (120) you can easily reach by running Geekbench CPU bench with just stock Freqs of 2314 MHz, so i suggest to disable DVFS throttling only for GPU in other custom kernels or stock kernels.
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
@ace2nutzer

See if it is correct ?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
This is actually a boot-script.

You need a init.d script if you don't want to unpack, edit and repack ramdisk.
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
Ah now I understand as. thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Well, then do something like this in the file you had posted:

on boot
# disable Mali DVFS entirely
chmod 666 /sys/devices/platform/13900000.mali/dvfs_min_lock
chmod 666 /sys/devices/platform/13900000.mali/dvfs_max_lock
write /sys/devices/platform/13900000.mali/dvfs_min_lock 0
write /sys/devices/platform/13900000.mali/dvfs_max_lock 0
chmod 444 /sys/devices/platform/13900000.mali/dvfs_min_lock
chmod 444 /sys/devices/platform/13900000.mali/dvfs_max_lock

AFAIK NX Kernel has init.d support and it's like always in /system/etc/init.d

or as init.d script:

# disable Mali DVFS entirely
chmod 666 /sys/devices/platform/13900000.mali/dvfs_min_lock
chmod 666 /sys/devices/platform/13900000.mali/dvfs_max_lock
echo 0 > /sys/devices/platform/13900000.mali/dvfs_min_lock
echo 0 > /sys/devices/platform/13900000.mali/dvfs_max_lock
chmod 444 /sys/devices/platform/13900000.mali/dvfs_min_lock
chmod 444 /sys/devices/platform/13900000.mali/dvfs_max_lock
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
@ace2nutzer

How can Do the same for the CPU

And the ability to encrypt data over the NX kernel
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Yeah i obsessed with antutu i like to reach top of device i hope this device still come top global dwvice and i use this phone for gaming and mini PC android because this device can OCed more and more becuase that i obsessed with antutu because its like my gold standart to know my device ia good or not in CPU,GPU,UX,and MEM hehe

.

.

I hope next update can do oc gpu
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Just do the same for /sys/power/cpufreq_min_limit and cpufreq_max_limit, but as i said it'll make your phone unstable unless you will underclock big CPU.

Don't know what you mean.

Nope, but a lot of overall improvements.
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
@ace2nutzer

Thank you. only tested something. And I went back to the a2n kernel again
[Samsung Galaxy S8 & S8+ Cross Device Development] Czochu:
Does this ROM support NFC payments via google Pay? I've tried to find answer but unfortunately didn't find any
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I didn't try, but it should work with MagiskHide enabled in MagiskManager app.
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
@ace2nutzer

changelog? 2021.05.22
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
Just flashed newest release but getting this message once launching full app

(demo version 3.5 correctly detects A2N Kernel)

thank you
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Aaa dude this not rom this is kernel i am on alexis based one ui and nfc is work read my card but payment i dunno hehe
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Yes me too, we have to wait for the latest version of the A2N app to be loaded
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
Finger and eye scanner work slowed down. If it seems to me? :/

And still.. Both worked very quickly on the NX Kernel
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
Init.d script isn't changing any parameters except temperatures in 22 5 kernel
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@ up

not an issue ... see later some info in changelog and/or in post #3 when i'll update it.

Maybe i've assigned them (accidentally) to the little CPU ?! And what about face-unlock ? - Did you compare the speed as well ?

Writing changelog ...
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
@ace2nutzer ok
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
@ace2nutzer

I do not know. For me personally, the speed of the eye and finger scanner has been significantly reduced

It was happening in a split second

And at a2n this time increased

Face Unlock hasn't been tested by me, I do not use it at all
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Fantastic latest update, really smooth with stock settings 👍

@ace2nutzer I did some tests with the iris and face safety unlock, I don't notice any unusual slowdown, I only have a slight delay with the fingerprints, but it also occurred with the stock kernel, I think my cause is the very scratched sensor.

@Zendesk2 Which rom are you on?

If you used another custom kernel before and are now back to A2N I recommend that you do a full wipe if you haven't done so already.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I'll consider and check this for the next release since it's not an dramatic issue, but thanks for the report anyway.

Yeah that was my goal and especially that sufficient smoothness without the need of the input booster which should nicely improve SOT now if you keep it disabled.

Thanks for testing, i'll test it too when i've the time for this.

Hmm, is that really needed ? Usually it shouldn't be a problem to switch kernels without to perform a full factory reset. Normally wipe cache + wipe dalvik-cache should suffice.
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
I'm at DEVBASE

With all this in mind, I always do a clean flash

and still yet now I get up and check again the NX kernel in a maximum of 5 minutes :)
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
I could be wrong, maybe since your kernel uses the custom HMP driver some overwrite might have happened?
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
Now I checked on NX R30 and as I mentioned I can say it works 2 times faster.

Especially an eye scanner very fast :)
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
it's just normal i mentioned that too but you dont always keep locking and unlocking your phone forever ...beside this kernel uses high cpu and gpu frequency and that's what you should consider don't you.. and yeah it's nice to tell someone mistake to get the things better so keep finding them until we perfect..
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
and dev i think this is somewhat voltage problem
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
This is not a big problem, but I think it is still important
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Probably fingerprint + iris scanner is running on little CPU ... i don't have other explanation.

When i was configuring HMP driver likely i had considered such stuffs as non-performance critical.

No, kernel drivers doesn't change your phone persistent partitions, except the filesystem drivers like EXT4 and so on. Basically the kernel + a2n app are running and changing the settings always on-the-fly and only in RAM ... kernel is in RAM. Yes, it's saved in a kernel partition, but on every boot it's loaded in RAM and executed in RAM. That's why if you uninstall the a2n app and you had changed kernel default settings in the app, then after a reboot every setting is kernel default.

Same for init.d script. So you can change kernel settings only for the running session.

No sorry, but i do apprecciate the intention to help with debugging.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Changelog

Kernel V. 2021.05.22

zRam: set to 50 % size by default

improved stability

Memory Management: optimized low-memory-killer to have min 192 MB free RAM

for quick response even if RAM is in high pressure state

Torch: fixed torch control interferences with Android's quick settings

SELinux: added ability to fake enforce status (in demo app)

CPU big/lit: updated ondemand gov for the better smoothness and battery life - up_threshold 95 by default

CPU big/lit: up_threshold=95 and disabled boost always fixed on suspend for more power saving

CPU little: increased min_freq to 598 MHz, up_threshold 95 and enabled boost but on suspend it'll use 455 MHz for power saving

GPU: updated ondemand gov for more powersaving - up_threshold 95 - boost enabled

GPU: removed unused governors

Input Touch Booster: disabled by default for more power save

A2N Kernel Control V. 3.5

New: check for new A2N Kernel release on app launch

Misc: fixed torch control interferences with Android's quick settings

Updated defaults

Bug fixes

Removed redundant buttons

Reduced network traffic and debugging
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
so dev why isn't init.d script changing any parameters
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
I was just scrolling Chrome Suddenly the system shut down and restarted

It is unfortunate :/
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Init.d is still working but it doesn't allow to change some settings from a2n app. This was needed to avoid unprivileged access from 3rd-party kernel manager apps. And also to avoid misconfiguration.

Later i'll add info in post #3 how to get a free code to download the full version.

last_kmsg.txt or it never happened XD.
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
I did not understand

It really happened. I don't have ROOT and therefore can't upload the Logs here

So after that I'm not going to mention any problems. Thanks for what you do I like it very much :)
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
try performance bro these are really very very small problems.. and keep posting problems these are so helping and also root your device as you've already triggered device by installing custom recovery.. lol just do it..
[Samsung Galaxy S8 & S8+ Cross Device Development] CoPiSsa:
Can i install it on android 10 !?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Nope

Edit:of course you can but you must be bootloop right now hehe
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
:p instead of me others will do )
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
hmm... I can imagine your perspective but keep passing by here . this dev is awesome.. you won't know what surprise he will have for us
[Samsung Galaxy S8 & S8+ Cross Device Development] mid95:
it is possible to make a version for oneui2 ? i think i will love this kernel
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Dmsg log got soft reboot when copy text from whatsapp
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
got a random reboot here (not sure if it was a soft reboot or hard one) while I was sleeping

If I can catch it again, I will post it here. :)
[Samsung Galaxy S8 & S8+ Cross Device Development] lmegogol:
Hello everyone, i installed your a2n kernel on my s8 g950f and i have 2 problems, camera isnt work and sometimes, when i play high game like pubg/genshin impact and lock my screen my device reboot and then, after reboot i cant go to the home/main screen, its actually reboot again. It lasts indefinitely until I log into the phone through settings or search. So, can u help me?
[Samsung Galaxy S8 & S8+ Cross Device Development] lmegogol:
I noticed that this error with reboot only when device protection is enabled - pin code, fingerprint, face. And YouTube doesnt work too(
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
You should post a last_kmsg right after reboot, you can capture it with A2N demo app in debug menu, otherwise the dev can't spot the problem.

Obviously assuming that you are in Stock Rom and with the default Kernel settings.
[Samsung Galaxy S8 & S8+ Cross Device Development] lmegogol:
Take this
[Samsung Galaxy S8 & S8+ Cross Device Development] lmegogol:
Why i cant post this file???
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Create a zip and upload it
[Samsung Galaxy S8 & S8+ Cross Device Development] lmegogol:
Like that?
[Samsung Galaxy S8 & S8+ Cross Device Development] lmegogol:
Dont understand why but its doesnt work....
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
simply with the file manager create a zip with the last_kmgs file inside and upload it using the upload function of the forum.
[Samsung Galaxy S8 & S8+ Cross Device Development] lmegogol:
I do it again but file is not upload
[Samsung Galaxy S8 & S8+ Cross Device Development] lmegogol:
Oh YES, after compression its work
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
oneui2 is very bad for s8+ i recommend staying on this version
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
It depends on the Rom, however a well developed AOSP 10 will beat One UI hard and offer the most speed and user experience.
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
dev.. have you fixed init.d issue yet? or someone just give me previous kernel link.. i am unable change parameters and overclock..
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
Random reboot on 22-05 Release.

Mobile was on idle.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Sorry for the late statement, but as i said before init.d is fully working.

Only a few settings from a2n app are locked for init.d. Usually it wasn't a problem for me if users can configure this kernel over init.d, but i had to protect my work a little bit due to some stupid devs that was trying to bypass full version by creating a new kernel manager app for free.

Anyway if you really need to midify some general kernel settings there are 2 methods:

method 1: buy it, price: 7 €

method 2: If you helped with debugging and it helped to fix the bug then you can send me a pm with the proof (links to your posts etc.) and then i'll check if you deserve a free code.

This is valid by starting with date: 22.05.2021 and is likely valid for ever.

Btw this information will be moved later to post #3 because it's valid for every a2n kernel user.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Report dev overall performance is got much improve and my SOT can touch 5hours
[Samsung Galaxy S8 & S8+ Cross Device Development] Alberhasky:
@ace2nutzer will we ever see your kernel in Hades Q?
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
what kind of debugging we should help dev?

yeah if I had income I'd happily purchased this app you totaally earn the rights for your job.. I am just a student and in India it's cost is more.. so let me know what kind of debugging shall I help you with?
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
reboot

rom. 22 5 2021

situation. while turning off rotation

settings. everything kernel stock you know

battery. 81%

no background activity
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
again after 5 minutes

While reading whatsapp message just after scrolling
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
my attachments are not beign shown.. wth?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Pack it as zip ....

Probably a forum bug.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I don't think that corsicanu will find it cool if i build a kernel for his ROM.

For that reason i'll build my own ROM, but you need some patience.

If you still didn't reboot the phone, then you can still catch the last_kmsg log.

last_kmsg means the log from previous session .. it's stored for ever in RAM as long as you don't reboot or shutdown yourself again.

I've checked your log and it seems that your ROM is screwed up ... especially since your camera is not working, because it's not kernel issue if it doesn't work.

Note: you have to flash this kernel over TWRP by flashing the whole zip file.

If you flashed only boot.img over TWRP or ODIN then yes camera and some other things won't work.

Nothing unusual in logs found, sorry.

OK, but let's see for a hard random reboot, because it has better debug info.

Because, if soft reboot happens, then it's likely that later a hard random reboot happens too.
[Samsung Galaxy S8 & S8+ Cross Device Development] Zendesk2:
The same thing happened with the previous version. Accidental resets

The solution is not seen
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
No more random reboot after my last post.

Performance is good.

But my screen is kinda flickering sometimes, normal samsung amoled maybe lol.
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
and a random reboot right after I posted. lol

zip is not working again ....

so as usual ... here is the link to the last_kmsg: here
[Samsung Galaxy S8 & S8+ Cross Device Development] macleo:
Can I flash this on Hadesrom v12 Pie?
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
Reboot over the night....log attached
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yes.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Yes of course can becausw this rom work for all ONE UI based rom just that
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
But it is not said that it will not give problems, it is always a custom Rom compared to the standard one where our dev develops and tests
[Samsung Galaxy S8 & S8+ Cross Device Development] Raidexen:
I can't encrypt my phone. It always gives me error. Tried factory reset, full wipe, installing stock firmware again. Everything else works great.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
There is something wrong, it works perfectly for me.

(Full encrypt)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Keep calm guys ... i'll report this upload issue to our senior Mod.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
@pranil60 we talked about it a few posts above, just scroll behind, create a zip file.
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
so while scrolling whatsapp
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
Ok dev I got a lot of reboots in past few days and unlikely previous roms they were while the phone is on work..
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
can we help in that too?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks ! - It's strange, but it's still the same error. I'll upload a test kernel in few minutes.

I've found and fixed 2 issues, maybe we have it finally.

Thansk, but again there is nothing. Reboot reason is userrequest, not dur to a kernel panic.

So on clean installation you can't enable encryption with this kernel ?? - Can you explain it better or make video what you do for steps ?

This is the wrong log, not A2N Kernel.

No thanks, so the upload issue is only over the XDA app ?
[Samsung Galaxy S8 & S8+ Cross Device Development] macleo:
What is the best configuration of A2N Kernel Control for performance, optimize gameplay and longer battery life?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Uploaded a beta_0 kernel:

for S8 and S8+

Changelog:

- zRam: little fix

- CPU: cpufreq gov optimization

- GPU: some fixes and optimizations

btw: even if there are only small changes, i still got higher benchmark scores with kernel defaults.

Purpose: to test zRam stability.

Other reported bug about slow fingerprint + iris unlock are here not optimized, since it's low priority issue, but it'll be considerd in the next regular update.
[Samsung Galaxy S8 & S8+ Cross Device Development] Badger50:
Thread cleaned.

Just a request if I may. Yes, I know that the XDA app has some issues, as does the site itself at times. Having said that, I would appreciate if you would post your

questions/concerns here, rather than clutter a developers thread with your frustrations. Your cooperation and understanding is greatly appreciated.

-Regards: Badger50
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
stock settings 22 5
[Samsung Galaxy S8 & S8+ Cross Device Development] Raidexen:
Yes, exactly. I've done this steps few times:

1. Wiped all partitions in TWRP

2. Installed stock original latest firmware through ODIN

3. Factory reset in original firmware

4. Enabled OEM unlock

5. Installed TWRP through ODIN

6. Formated Data

7. Restarted Recovery

8. Installed Kernel and Magisk

9. Factory reset in TWRP

10. Completed setup wizard and setted PIN code

I tried enabling encryption in android settings. Tried normal and fast encryption. Both gives me error something like memory corruption. I have SM-G950F XEO.