yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Try without step 9.
[Samsung Galaxy S8 & S8+ Cross Device Development] Raidexen:
Tried it earlier with the same result
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
...while scrolling quick settings tile (100% full stock except "battery care level")
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
an random reboot while I was browsing web.

stock settings except dvfs and up threshold

and zip is not working for me again (I don't know why)

so ggdrive link to file: here

and again while charging: here
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
OK, still the same, time for next test kernel.

We will find the issue.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
just want to say that i forgot how much i loved this kernel, i put oneui2 hades it was laggy battery draining coulndt do anything that i wanted after 2 months came back to this BEST kernel and damnn this kernel improving and is best A2N forever!!!!
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Changelog

Kernel V. 2021.05.30

CPU/GPU: updated ondemand gov

Charger Control V. 2.9: optimized AFC handling

Kernel Config: re-enabled CONFIG_SECURE_OS_BOOSTER_API for maximum speed for iris, fingerprint and face unlock

Disabled CONFIG_PGTABLE_MAPPING - maybe this will fix zRam random reboots (needs some testing)

Download

For S8

For S8+
[Samsung Galaxy S8 & S8+ Cross Device Development] Alberhasky:
@ace2nutzer I don't think he minds at all, Quynh made her RZ kernel compatible with his rom and there hasn't been any issues
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
30 5 2021

right after loading pubg
[Samsung Galaxy S8 & S8+ Cross Device Development] Terminator-ios:
Hi everyone, i am new and wanted to try this kernel on my S8.

I have for a few weeks installed the official Samsung G950FXXUCDUD1 update which also has the same base band, unfortunately I have tried with Odin and I cannot flash the previous versions to sign.

Is your latest Kernel compatible?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I'm using this kernel on DUD1 without any issues.
[Samsung Galaxy S8 & S8+ Cross Device Development] Terminator-ios:
Well, thanks I proceed to install it and report how it goes.
[Samsung Galaxy S8 & S8+ Cross Device Development] Terminator-ios:
I have installed the latest version of Twrp 3.5.2 with Odin, but when I go to flash the zip of the kernel 05/30 gives me the error can't mount data, what am I doing wrong?

@ace2nutzer
[Samsung Galaxy S8 & S8+ Cross Device Development] Raidexen:
Encryption finally works. Thank you for putting warning about enabling encryption before installing Magisk.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Report dev new release is TOO FAST FINGERPRINT YEAH
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Follow installation method from post #1. I guess you didn't format /data.
[Samsung Galaxy S8 & S8+ Cross Device Development] Terminator-ios:
That's right, I had hastily read the instructions and I have not format data, now it works fine and already it seems to me that it is more performing than the stock kernel.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
find the app on play store a2n kernel s8, u can overclock cpu and gpu and charge with 3500MAh and alot more it support dev too
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
Hello, I've purchased the full version of a2n app and I need to configure some settings with init.d that are not available in a2n app like CPU_Little Boost and Custom ZRAM size like 55%...this used to work on previous builds...
[Samsung Galaxy S8 & S8+ Cross Device Development] Terminator-ios:
First impressions that my S8 is much more snappy and doesn't have some micro lag that came with the stock one, plus the apps seem to open faster.

I haven't downloaded the kernel control app yet, and I'm with the basic settings, the only problem is that I have bad battery life, with the same use as before, from 0-100% I managed to do " only "3 hours of active screen, while before I even reached 6 hours.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Wait what? Why you need init.d script if you has buy it? Just setting it in the app and done just that
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
30/5 build

- No random reboot yet

- Fingerprint reader works and response faster
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
i think thats cuz the phone is old but in the a2n app if u change some setting u get better battery life consider it
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
Some settings as I have mentioned are NOT available in a2n app and I used to change them otherwise with my init.d scripts, all those are now locked up and cannot be modified in the latest builds..
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
What that? I was think in a2n app all control is there
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Please list what you want to change that isn't in a2n app, then i'll see what i can do.
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
1. On demand Governor settings BOTH FOR BIG & LITTLE CPUs which include sampling_rate, sampling_down_factor, Boost

(Now Big CPU Boost is only configurable in the a2n app)

2. Custom ZRAM Size (like for me 55% works Best)

It would be great if all the above options are user configurable in the a2n app itself....I used to change them with init.d scripts on previous builds
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
@ace2nutzer...This kernel is already awesome and u have done a great job.... I have a few suggestions if u may incorporate them in next release...

On your previous kernel builds I created three custom quick settings tiles that I can quickly pull down and enable when required

- CPU OC Tile (with CPU & GPU overclock script that I would use whenever starting a game or when I hv to do some heavy processing work)

- CPU UC Tile (with CPU & GPU underclock script for normal usage with excellent battery life)

- Battery Idle Mode (extremely useful to toggle Battery Idle Mode quickly)

I suggest that this setup could be integrated into the a2n app so that user can quickly switch between their customisable profiles through quick settings or a widget would also do...
[Samsung Galaxy S8 & S8+ Cross Device Development] CoPiSsa:
Hi ,can i install it on Atn Rom Android 10 !?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Hi, you'd already asked this question and you got an answer from me.
[Samsung Galaxy S8 & S8+ Cross Device Development] CoPiSsa:
I really didn't remember.. Remind me of your answer
[Samsung Galaxy S8 & S8+ Cross Device Development] Terminator-ios:
Surely my s8 is not new, it is two years old, but the difference in battery life is evident going from the stock kernel to this one, I don't think the fault is my battery.

Battery life is more important to me as I'm out all day and can't charge.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@MUNISH MONGA

i can add up_threshold && disable boost also for little CPU in the app.

As for zRam size: on next update it'll be possible to adjust from 1 - 95 %.

As for init.d: you can still adjust zRam size.. it works fine.

As for sampling_rate && sampling_down_factor: you can also adjust over init.d, but i don't consider to add it in the app, because it's really not needed to change it. Also it can screw up things if you set there wrong values. So for testing things you can still change it over scripts or init.d ... but note that min_sampling_rate changed ..... previously it was one or two ticks (4ms or 8ms over the app).

Now it's min 10 ticks = 10 * 4 ms = 40 ms ... that means min is 40000 us.

Note: 1 tick is 1000 / HZ.

HZ is in this kernel 250.

So 1000 / 250 = 4 ms.

min 10 ticks is required between cpu load re-calculations.. as you can see here comment in source code from ondemand gov.

This also reduces overhead and improves speed, because of less cpu cycles.

It also makes the phone smoother because less freq switching.

That was all regarding sampling_rate.

As for sampling_down_factor: i don't know why, but anything else =1 gives laggs ... so i ended up to keep it as 1 means no change, no recalculations of sampling_rate. ... probably this works as well better for the same reason due to less overhead ... means it can switch freq faster.

The docs says it's convenient to use something higher than 1 ... so that when CPU is at max_freq it can result in better speed due to less or better say useless too often recalculations of cpu load ... but reality is often different than theory.

I've also very old battery .. battery health shows me 85 % of real leftover battery capacity from the 3000 mAh and with kernel defaults i've never less than 8h.

So probably something went wrong, because i would never ever release such a bad kernel with just 3h SOT if with the stock kernel we can get 6h .. it doesn't make any sense lol. With new battery you get easily 10h SOT .. as you can see in thread title.

This is not clickbait btw. So please try to fix your issue.

I suggest to you the app "betterbatterystats" .. with that app you will find what is actually draining your battery, it shows also if some app or service prevents deep sleep or has too many wake ups.

The answer was: there will be an A2N Kernel version for 10 when i'll release AOSP 10.

@ all

btw: 2 days ago i did a clean install of latest DUD1 ... then flashed A2N Kernel and honestly the difference is quite huge ... the phone is as fast like it was in the early days with Android 7 !! - No joke. I haven't perform a clean install since around 1,5 years due to the lack of time.

So if someone has some time, i do suggest clean installation ... it's really worth it, even if it's annoying job indeed.
[Samsung Galaxy S8 & S8+ Cross Device Development] Terminator-ios:
I don't know if it's the battery's fault, however in the demo app it gives me 92% health, maybe you're right something is wrong after the kernel flash, because before with the stock kerneI had a good duration, I'll try your advice as soon as I have time to do a clean reset.
[Samsung Galaxy S8 & S8+ Cross Device Development] Trasher29:
Just got a random reboot in balanced profile everything Default except disable boost and dvfs while opening a app.
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
Perfect!! Thank You :D

@ace2nutzer I hv some few quick questions...

1. I got my battery replaced 2 months ago...on a2n app it shows battery capacity at 103%:LOL:...really! chk attachment...But I was never able to go beyond 6h SOT...I hv checked on BBS too...So, How do I achieve 10h SOT ??

2. What is the significance of suspend max freqs & how are they used?...Also if I use Perf Plus profile in a2n app & tune Big/Little CPU Max freq and GPU Max Freq according to my need, will suspend freqs still play any role?

3. (Request) As I hv mentioned in my post #2,323, would u please consider adding those quick settings tiles with a2n app (especially battery idle mode tile:love:), it would complete the a2n kernel control app & would offer ultimate user experience🥰, so that we would no longer hv to rely upon 3rd party kernel manager apps

I know its challenging because of the license check or what else can be done is that u could skip a2n_allow check for those having full version of a2n app, that would serve both purpose-Protect your work and allow init.d scripts for users having full version

4. (Request) Please add Dark Mode (amoled) in a2n app
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
This kernel version seems to be slower and ram management is also looks bad
[Samsung Galaxy S8 & S8+ Cross Device Development] Alberhasky:
That's sad, AOSP sucks... I thought you'd be making one for the existing android 10 port from Corsi... AOSP is not ideal for everyday use, at least not for me, I need VOLTE and other features that AOSP roma lack, I guess I'll have to keep using RZ kernel, I like all the features that your kernel has and I think it would work amazing with hades Q, I mean a lot of people are interested in using your kernel with android 10, that's why remilia made RZ kernel compatible with lineage, with oneUI and oneUI2 but I guess we won't be getting A2N kernel for oneUI2 then?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Hmmm i was think about AOSP based ONEui

Like base of one ui and got modification time to time make the kernel and rom work together perfect and android 10 rom maybe need long time to make it and the dev job is for right now make the perfect kernel for android 9 and if that done the dev will be start to android 10
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I'm not sure actually about one ui 2.0 .. because it needs more RAM i think.

I'll start first with AOSP 9 .... if it works great then i'll build AOSP 10 ... 11 and so on. Btw is VoLTE and wifi calling working in any other ROM > 9 ?
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
VoWiFi and VoLTE is working on HadesQ (Android 10 OneUI)

as for ASOP ... I have no idea about that ... not really a fan of ... so I haven't try it on S8 yet.

The 30/5 build kernel

- 51 hours of up time and no reboot yet
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
soft reboot.. just after removing charger, unlocking and pressing home button.. whatsapp was running in background while samsung internet on foreground
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
30 5 is little bit laggy and slower
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Bad news friends, yesterday my S8 dropped from my desk and unfortunately the screen cracked and is unusable 😭

I got an S10 because I couldn't be without it, very good phone at a good price currently, but I must admit that S8 with A2N Kernel and the Rom I had emptied was faster lol 🤣

Now it will go in the drawer, and I do not rule out that in the future it can have it repaired, especially if our dev releases its AOSP.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Hey yo dude remember about samsung DEX make it little job pc i have tried it at office and other thing that run nice
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
hard reboot having several apps running background

30 5 kernel stock
[Samsung Galaxy S8 & S8+ Cross Device Development] Alberhasky:
Nah!! Neither VoLTE or WiFi calling work in any aosp based rom, doesn't matter if it's android 9, 10 or 11, it's something that will never work on aosp roms, but they work perfect in hades q, that's the main reason I stick to one ui roms... but now that we got that port from corsi of hades q I really like my phone, he's already working on the next hades Q v2 and they said it runs as smooth as butter.. both hades q versions are one UI2, I think you should at least maybe make a test, a lot of people would be willing to test it including myself... hopefully you reconsider, I think we need your kernel features with hades q to make it perfect 👌 specially with a hades q v2 coming out in the near future.
[Samsung Galaxy S8 & S8+ Cross Device Development] traversone:
random reboot with no action in place

edit: after 1 hours, more or less, hard reboot occured
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks for the logs. I've found a kernel issue, that is also present in stock kernel i believe. But there is also an issue with "Tap and pay" this service is not supported in custom kernels, so don't use it. Stability should be better or completely fixed in next build or test-build.

Did you check properly all the wakeups and alarms ? - You can also post the BBS logs here and i'll check it. Note it needs root access and a few hours (at least 6h) of deep sleep to get proper logs.

Of course ! - But in next build i'll add "disabled" in suspend max freq, then if you set it, it'll use same user configured max_freq in the list or the profiles. (like it's on a stock kernel.) I've forgot to add option to disable it lol.

It doesn't work anyway, i've blocked the access for 3rd-party kernel manager apps, at least to avoid interferences with my app, so any other kernel parameters are still configurable over other manager apps or init.d scripts. AS for the widgets: Actually my app lacks of widgets implementation, that means it's likely time consuming to add something completely new for me.

I'm aware of wdgets, but i'd never to deal with it in source code.

Hmm i've to think about it, but it's basically a good idea. I also did that to avoid misconfiguration. ... e.g. setting bigger or same freq as max_freq for min_freq lol.

Also it's important to set some settings in the right order ... e.g. to avoid a mess with suspend_max_freq. But if you use the kernel and app without any scripts it'll restore on resume always the correct min/max_freq for screen ON.

Cool i'll try this.

No sorry, i've never said that, i believe. And i never will. I'll never work again over the work from other devs here. I prefer to start from scratch and work only on the work from Samsung or Google. Because in the past i had bad experiencies about this. Because later it makes debugging very hard ... bacause it's maybe hard to track a bug if it's not known if it's kernel or ROM issue. ... and later it ends up with WON'T FIX.

And if there would be an AOSP ROM for S8 with working VoLTE and Wifi Call then it's OK ?!

Not in the near future at least .. because i want to try first with AOSP.

No sorry, i'm still very happy with the stock ROM.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Hotfix

Kernel V. 2021.06.03

Charger Control: Fixed AFC regression

Kernel Config: re-enabled CONFIG_PGTABLE_MAPPING

Disabled CONFIG_RBIN - maybe this will fix zRam random reboots (needs some testing)
[Samsung Galaxy S8 & S8+ Cross Device Development] Alberhasky:
Yeah of course, I would prefer to use AOSP over OneUI but from what I've heard and understood from tons of developers is that it's impossible to achieve VoLTE and Wi-Fi Calling in AOSP so unless you have the solution I'll just have to keep using OneUI unfortunately.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Well then lets try it !
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
Sure, I'll post soon, getting 10h SOT will be like a dream come true:love:

Ok,...But I'm confused with how suspend_max_freq differ from Screen ON max_freq?

Thank You so much for considering this... It will be really helpful for me... I think misconfiguration if any will occur from user end, so they will be totally repsonsible and not the dev.... Also, having full version of a2n app with full init.d access will also motivate other users to support the development...

Eagerly waiting for the next build with those changes...Thank You!!
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
it's like screen ON max_freq, but only for screen OFF.

But it has nothing to do with deep sleep.

Suspend_max_freq is only active while the screen is OFF and the phone is not in deep sleep.

This is the case when the phone wakes up from deep sleep and checks for new e.mails or checks and perform apps updates. Also while you play mp3 with screen OFF ... while you are calling with screen OFF etc ... Once the screen is ON it'll use immediately the freq adjusted from max_freq for screen ON.
[Samsung Galaxy S8 & S8+ Cross Device Development] Triger972:
I don't know what you have set in your kernel but now the temperature of my s8 is very stable and now i can play a game with 2 hours non stop

The battery temperature seems to be stable too now i rarely exceed 50°c in game i had two reboot but i think it's not too bad Before I couldn't play for more than 40 minutes and now I'm totally impressed
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
Ok,...Thank You for the detailed explanation(y)

Here I'm attaching BBS logs from last night session...battery lost is 3%...with deep sleep of about 9h...hope u could find some battery draining culprits:)
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
got one after other two reboots at stock settings on 3 june kernel... and played hatsune miku's Reboot vocaloid..

both were soft reboots

and yeah this rom is little bit laggy but I'll wait till cache rebuilds...
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@pranil60

it seems that you have posted in the wrong thread, this is not a ROM thread, where you wanted to post ? - Any Mod will move or delete your post.

There is everything OK. But was your phone in airplane mode over night ?

If you want to loose max 2 % over night you need to turn everything off.
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
not off course.. did you see that last msg file? cause I'm posting reboot lags here only.. so I don't know why you said wrong thread..
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
and i just made that log from a2n demo app only
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
See last kmsg there it's created today from a2n demo app.. so what's the error here idk..
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
You didn't get warning that a2n kernel is missing when you open the a2n demo app ?

anyway your used kernel is this:

Linux version 4.4.111 (jenkins@5939e3d4fe44) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Mon Mar 8 06:13:25 UTC 2021

NOT A2N Kernel !!
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
Nope, it was on 3G with mobile data off...I think the low SOT is a Custom ROM issue or it was being caused by setting too low suspend_max_freqs (thinking it would save more battery) by me lol...Now that u hv cleared my confusion regarding the same, I think I'll fix it :) ￼...But please release the next build with those changes as discussed in previous posts... Thank You for the splendid support🙌
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Then it's pretty good with only 3 % loss.

We've checked only deep sleep. For screen ON battery draining it's enough to check the default android battery stats from the ROM.

Common cause is too high display brightness and bad mobile signal.

Using network mode 4/3/2g / auto is also bad. It's bette to use "LTE only" or "3G only", because the switching between different networks drain your battery.

I can suggest the "volte" app from play store to manage this.

I'll do what i can, and what my free time allows to do.
[Samsung Galaxy S8 & S8+ Cross Device Development] Trasher29:
Just got a random reboot after I just put it in standby and in the wireless charger. Just did a clean install with the recent version of pie (DUD1) and A2N kernel.

50% zram, performance profile, disable boost

Did the installing of apps, etc with 0% zram, because I didn't look in the app - no reboot - and around two hours ago switched it to 50%.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
As i said you via pm:

OK that's right sorry. But the logs are still from hades kernel since you are on hades rom.

Taking last_kmsg for soft reboots is not right, you've to reboot and then take last_kmsg for the soft-reboot. Logcat is also useful for soft reboots, but grab it before the manual reboot please.

Got it, thanks !

btw: are the reboots always related to charging ?, especially wireless charging ?

Later i'll upload a test kernel with stock HMP driver since it's still the same error.
[Samsung Galaxy S8 & S8+ Cross Device Development] mid95:
am on hades q for 4 months

everything works well ( with another kernel and modded systemui

so why ?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Yeah that works well but if you have 6gb ram maybe good but for 4gb ram that will heavy
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
the 3/6 build works well for me, no reboot yet
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Uploaded test1 kernel for zRam stabilty test.

It has the stock HMP driver enabled.

Download for S8 or S8+