yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] Epil0g:
@ace2nutzer

I'm not sure if that helps but this kind of behavior is happening to me since January builds when the "big improvements" popped up, maybe you should look into that
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Hi dev i have been use latest update and that have slow governor

My set to get 4h sot is

65°C dvfs big core

95 c little core

280 ms screen boost

But there is some diffrent i feel no

RANDOM REBOOT

I can steady 12 hour or more that mean no random reboot anymore because i use your kernel have been 2 years and always face random reboot every 6 or 3 hour sometime an hour now nothing get random reboot
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Sounds great !

Performance + lags will be fixed in next build.

Maybe today ... since it sucks.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer Its true, i dont have random reboots anymore since this build, normally i got already 1 minimal in 24h time, anyway cant test it longer becus i have to force restart my phone every 24h or earlier to fix te lag.
[Samsung Galaxy S8 & S8+ Cross Device Development] Viamir147:
is this compatible to hades rom?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
If hades rom is based on android 9 i guess youre fine, but i shouldnt use the latest version of the kernel becus there is something wrong with it(huge laggs on random times), anyway i should wait till ace2nutzer release a new build.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
OK guys i've fixed all issues, now i'll build the new release. It's fast and smooth.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
New Kernel & App is Up !!

Changelog

Kernel V. 2022.03.11

Fxed lags with and without zRam enabled

CPU/GPU: ondemand gov --> updated scaling logic

CPU/GPU: decreased Freq switching delay from 40 to 20 ms

I/O: increased throughput - read_ahead_kb: 32 @ 256 KB

Overall improvements (speed, responsiveness, lagfree and battery life)

A2N Kernel Control V. 4.4

RAM: added page-cluster and read_ahead_kb tunable

Updated defaults

Release info

Wiping all caches is not required if you already did that on previous release.

Happy tuning & benchmarking !!
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Why no 100C DVFS back 😭😭😭
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
It's unstable @ 100 °C and kicks in too often min_freq to avoid shutdown.

With 95 °C it's stable and the Freq never drops to min_freq. It's more smooth and gives higher speed and maybe even higher benchmarks scores, try it. 😉
[Samsung Galaxy S8 & S8+ Cross Device Development] Epil0g:
Well... Great job! It's much smoother comparing to pervious build, no lags/freezes so far. I'm gonna test it lil-bit for stability this weekend :)
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Umm dev i have been updated kernel and the apps but freq or anything not changed
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Its indeed faster and smoother this build, anyway lets test the stability now for a week shall we😄
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
What should change ?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
That still default setting not changed
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@rtyuakatsuki

CPU/GPU boost enabled by default.

Swappiness updated from 200 @ 195.☆

Page cluster updated from 3 @ 0.☆

Read_ahead_kb 32 @ 256 KB.

☆ Only in the A2N app.

Those defaults changed. But an app update only can change your custom settings in certain situations. So to make new defaults effect, you need to update those settings or wipe data of the A2N app and reconfigure the app.
[Samsung Galaxy S8 & S8+ Cross Device Development] psygenius:
Thanks for the update @ace2nutzer .

Stability test begins now. I'm feeling optimistic :)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Also forgot to mention:

Disabled more tracing stuff and therefore saved 1 MB RAM (3717 @ 3718 MB)

Updated again memory management.

With latest build I'm able to open and close all apps i've on my phone without to trigger LMK.

Settings used for max apps cache i.e. multitasking: zRam 100 % and swappiness 195.

I didn't run benchmarks yet, but i believe that it should give higher scores now.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Still doesnt work dev
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@rtyuakatsuki

I see, but it works for me.

Make sure kernel v. from today is properly flashed. Also you need latest A2N app v. 4.4.
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
no reboot problem with the previous release (just slow) now testing the current release, looking good so far
[Samsung Galaxy S8 & S8+ Cross Device Development] Arnz09:
This release is good but I'm lagging in my game (codm) should I use zRam?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Sure, try at Max 100 %. It's efficient enough to use it at Max.

If it still lags, try to increase CPU/GPU Temp at 95 °C.

If that all didn't help, in addition OC CPU/GPU.

Phone is not optimized for games by default, since it's not a gaming console.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
True, this phone is kinda weak for games, but i have a s10 lite as alt and is fine for mobile games and emulation stuff, its only trash becus there are not rlly custom roms or even easy root methods becus there is not rlly interest in that phone, holds me back to use that as a daily driver. Anyway back about this kernel, i noticed also while backing up apps the app doesnt close anymore automaticly so thats a huge thing what was a pain with 2 releases back but anyway, it is fixed also
[Samsung Galaxy S8 & S8+ Cross Device Development] Arnz09:
Quick question tho. Does zRam increase performance? Also what does suspend freq do?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yes because it allows larger apps cache to stay in RAM, even if it's compressed with LZ4 and later it needs to be decompressed, it's still faster. So if you switch often between apps, they will start faster.

Suspend Freq: you can limit the max CPU Freq while the screen is OFF (suspended). e.g. you OC'ed CPU but you don't want that your CPU uses OC Freq even with screen OFF .. because with screen OFF you don't care about speed or lags. Mostly when the screen is OFF you're playing music or playing a YT vid with screen OFF. Because anything higher than stock Freq its effienciency is very bad and thus would drain more battery for no reason in suspend. When you turn the screen ON, the driver automatically restores the previous custom max_freq.

You can even use OC with screen OFF and no OC with screen ON, but this is probably not what you want. Just to understand how it works.
[Samsung Galaxy S8 & S8+ Cross Device Development] Epil0g:
Sadly it still freezes. Yesterday while I was browsing internet and today while phone was idle charging.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Works fine for me
[Samsung Galaxy S8 & S8+ Cross Device Development] psygenius:
Working great here.
[Samsung Galaxy S8 & S8+ Cross Device Development] leonidasZ953:
Still freezing and me, when I gaming or watching videos..I dont know why🤔🤔
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer is the drm function broken becus it is in L3 mode instead of L1? Kinda a pain with netflix and other things what uses drm based on widevine drm.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
L1 here with Samsung ROM.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright thnx for clearing up, guess i have some digging to do what causes it, guess something in the rom causes it.

Already questioned if it is a common issue in the rom what i use.

Idk if you know something what causes it
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I've no idea what could be trigger L3 from ROM. But depending on kernel config i was able to trigger L3 even in stock ROM. Looks like it's very sensitive. E.g. with NX kernel i've L3 in stock ROM. Try with NX kernel on your devbase custom ROM .. also try with the stock kernel from my FTP and post the results L1 or L3, maybe it can be fixed in kernel.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Okay ill try that, btw only thing i remember what maybe caused it is i debloated the rom but idk if that has something to do with it🤷‍♂️
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Okay i got the following, nx kernel L3, stock kernel L3 and a2n kernel latest build L3, i suspect something else causes this, maybe a rom debloat/magisk root and or modifications/ rom itself
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah, you can just flash the same ROM on top (dirty flash) and check DRM.

Later you can format /system and restore your backup if it didn't fix the issue. That way you revert all your modifications, if you think it was caused by debloating.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Hmmmm
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Please post the output of

cat /sys/module/lowmemorykiller/parameters/*
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Well debloat & root & modifications doesnt cause it, anyway i have clean install my rom to be sure about it and have no time to do it rn, found also something funny, i maked a backup of my nand and dirty flashed my rom and the storage reading glitched out so it didnt read the used capacity correctly🤣. Idk if the stock kernel of that rom caused it or the installer did something wrong but it was weird. but guestion which rom do you use rn?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I use latest official Samsung stock ROM.

With TWRP, A2N kernel and Magisk.

I didn't debloat the ROM as much, only disabled a few apps that I don't need, that's it.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Okay, well guess drm tripped by using custom rom in my case🤷‍♂️
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah, i think it checks some libs or .jar files if it's original or not, just my guess. But I don't think it's locked for ever at L3 for you.

I think if you flash stock ROM then you should get L1 back.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer i guess i found out what is happening, i ran by coincedence a safety net test and it failed, i looked up what effects what can be and it trips widevine drm aswell for some reason. but the question is now, how do i fix the safety net fail issue?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
In my case i can pass SafetyNet only with MagiskHide enabled.

But latest Magisk, doesn't have MagiskHide anymore, instead it's done in a different way. Check the Magisk manuals.

btw: even with SafetyNet failed, I still have L1, so I'm not sure if it'll fix your DRM.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Rlly dont know anymore about that ****ty drm thing, i have magiskhide enabled and hided for all google services, enabled magisk props to fix the safety net stuff what passed now, wiped caches etc. so dont know whats going on now😐
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
So SafetyNet is OK now, but DRM = L3 ?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Yep exactly
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
OK, no idea, maybe you can try to find out which lib or jar file is causing this. But it's annoying job and honestly it's much easier and faster to do a clean install with stock ROM, that works 100 % @ L1.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Hmm okay, you mean reflashing with odin? Anyway found also something interesting, has something to do with unlocking bootloader aswell, anyway i giving up on this, another reason to remove netflix etc https://xdaforums.com/t/few-noob-qu...ification-and-netflix-widevine.4308307/page-2
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yes flashing stock ROM with odin.

Check there post #34. First you need to have Play Store certified then install netflix. To get it you need to boot a few times with magisk hide enabled .. of course safetynet should be pass as well .. then once Play Store is certified, try to install Netflix.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Well my phone is certified in playstore. But i try to boot a few times to see if auto fixes it.

Anyway news about testing the latest build of the kernel, i still didnt trigger a soft reboot or random reboot yet😃
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
50 hours pass and no reboot yet, the system is also more responsive than the previous version.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Hey guys, can someone confirm this two modded netflix apks with widevine drm l3 to l1 patch rlly plays in hd and 4k? I have my doubts rn. The hd one plays same quality as the stock netflix with a tripped drm causes L3 in widevine DRM and causes netflix not play anything or playing in sd quality, so i want to confirm if those 2 apks dont work or the drm in my rom is bugged becus the quality is not rlly sd to me.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Not weak at all. The problem is Android and bad Android games optimization
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
no reboot after 33 hours
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Hi guys i have problem about samsung galaxy s8 plus exynos got bootloop amd very² slow cpu bootloader not unlocked but twrp installed

Someone in xda have install the twrp i dont know how but twrp installed succesfully the problem is very² slow when get in twrp anyone know how to fix it when i flash stock rom still bootloop and this the link for question and answerr or reply this thread

.

Thread 'S8 plus bootloop after install 3 gigs of backup' https://xdaforums.com/t/s8-plus-bootloop-after-install-3-gigs-of-backup.4413667/

.

.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Backups on these modern Samsungs are prone to failure. I once tried to restore stock rom backup on my N960F from backup and boot looped. Go for ALEXIS ROM. It’s your best bet.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
What you mean about stock rom backup? I flash the stock firmware use odin and still bootloop
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Check you are flashing the latest firmware release (boot loader on modern Samsung DOES NOT want to downgrade to older boot loader versions)

Check you are flashing the right firmware

Check you didn’t delete some important partition from TWRP

Get firmwares from Sammobile

In your case, so long as there is TWRP, stock firmware will never boot. If stock firmware flashing does not delete twrp, the firmware you’re flashing is corrupted or incomplete

Again, I suggest installing Alexis ROM. In these situations if nothing works it’s your best bet and the closest it gets to stock rom
[Samsung Galaxy S8 & S8+ Cross Device Development] Epil0g:
I'm not sure if that's what you asked for but this is the result in Terminal

0,1,6,12
32
1
0
0
0
1536,2048,4096,16384
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Yes i did flash firmware correctly i flash the latest firmware and the still bootloop i can enter recovery mode or else and my storage is readed in twrp is just 8 gb
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
my storage was also bugged on 8gb when i reflashed my rom, but guess something went wrong with flashing what caused it, weird behavior
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Are you have been found to fix it ? I curious about the kernel of the phone maybe thr bootloader doesn't let the cpu heat more then 35°C i see in twrp always at 35 or 40 if below that a little fast
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Idk if i have the same problem that i cant change the max temp, i dont rlly need it tbh becus the phone is already fast for me😄
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Umm bro my phone is stuck bootloop that cannot be used when enter twrp you must wait like 5 or 10 second just for move slider
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Not in TWRP, on booted Android please. Use terminal emulator app or ADB.

That's normal.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Umm dev i think that doesnt normal every thing in twrp got slowed very² slow almost doesnt move example like this whem you press a button that need 10 second or more for show the next menu

Until this time i cannot use the phone
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
New release of the Kernel is slow.

Geekbench 4 Multi on 100C DVFS build = >6850

Geekbench 4 Multi on latest build: <6300

Benchmark scores are worse.
[Samsung Galaxy S8 & S8+ Cross Device Development] Triger972:
Your kernel is so nice with magisk+shamiko now game is so smooth and i don't have lag when i scrolling.

No reboot after 24+ hours and soft reboot... I used light rom ( teamExykings)

Work perfectly on my phone thanks you dev

Here my score on AnTuTu,sometime i got 31k-32k i don't Know why score on AnTuTu is not stable
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
And what values did you set the CPU to before the test?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Im also a former lightrom user, its kinda outdated and why i upgraded to devbase 7.4, anyway lightrom is fast and optimized
[Samsung Galaxy S8 & S8+ Cross Device Development] antimon95:
Stil constantly freezing in pubg, cant get 5min stable.

Using 1900mhz cpu 440 gpu and weak core 1600mhz.

Dvfs 75C

Also lot of lags, when typing, scrolling, besides I thinks it is the slowest kernel ever tried.

But 1 good thing. No random reboot anymore I can confirm that
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
What weak core?
[Samsung Galaxy S8 & S8+ Cross Device Development] Triger972:
2652 MHz Big CPU

UP thershold 80%

Maxi temperature 95%

Little CPU

1898mhz

UP thershold 40%
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
If that not stable and lag try when your battery is full that cause of lag is low voltage battery or you can try gaming when charging that will make better result if still reboot or anything try lower freq 2,5 ghz big cpu little cpu doesnt matter
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Hi dev i have suggestion for next update GPU voltaga control and CPU voltage control hehe that will be great feature like much² other samsung custom kernel 😁😁
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
On last release i'd also uploaded new twrp package with this kernel.

Try.
[Samsung Galaxy S8 & S8+ Cross Device Development] Epil0g:
Here you are
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
The latest twrp on top right?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
2 days in a row without issues, lets keep going😄
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks and now those cmds:

cd /proc/sys/vm
cat page-cluster
cat swappiness
cat extra_free_kbytes
cat min_free_kbytes
free -m

Yes.
[Samsung Galaxy S8 & S8+ Cross Device Development] Epil0g:
Here you go.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks, if you have full version, update the app to V. 4.4 and set zRam to 100 %. Optional increase also DVFS temp for CPU/GPU... if you play 3D games with high CPU/GPU usage.

Otherwise use init.d script and set swappiness at 190, page-cluster at 0 and zram at 100 %. This will improve memory management a lot.
[Samsung Galaxy S8 & S8+ Cross Device Development] Epil0g:
I do have full version of control app.

I set it up as you mention, zRAM at 100% and swappines to 190. We'll see how phones behaves now :)
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
100 hours pass and no reboot yet!

this is a very good news!
[Samsung Galaxy S8 & S8+ Cross Device Development] antimon95:
Tnx, all working now after zram 100%. Congrats developer!
[Samsung Galaxy S8 & S8+ Cross Device Development] Triger972:
Anyone have this error
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Can be becus the new playstore version isnt verified on ace his servers, should be working now or few hours
[Samsung Galaxy S8 & S8+ Cross Device Development] Triger972:
Not Working anymore i have this error After few hours again
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Sorry for the inconvenience, it should be fixed in approx. 2h. No actions required from your side.

Edit:

@Triger972 it should work now, try.
[Samsung Galaxy S8 & S8+ Cross Device Development] Triger972:
It's work now thanks you dev !!!! and still no reboot 24hours++ with zram 100% and battery is good with this kernel
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
BTW: I've uploaded a new AdAway_hosts_patcher.zip package.

It'll only replace the /system/hosts file with latest one from official AdAway_hosts source file. It's basically the same what AdAway app or Magisk system-less hosts module would do, but I still prefer to patch it in a native way.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer is it a bug that the phone charge slow while a2n app tells it charges at 3amp and 9v, its 2h later while it normally takes under a hour to charge fully
[Samsung Galaxy S8 & S8+ Cross Device Development] Nitrogenous:
I had to come back to stock kernel.

Everything was fine, like:

Phone charging from 1% to 100% in less than 70 minutes is just oomph good!

Pretty smooth overall, very responsive, battery OK.

Antutu worked, results around 240000 so pretty ok.

Geekbench 350 single 1250 multi - a but lower but maybe throttling, since Antutu results were cool.

Of course we are talking default settings.

Dial stopped working. I literally cannot call anyone. Phone freezes and restarts itself. There is no sound of calling, no reaction, phone goes brick.

I tried several ways to solve this, like:

restore Alexis stock-kernel backup then wipe cache/dalvik, reflash kernel, then reflash magisk. Didnt work. Phone freezed on first boot during optimisation.

Then I tried it one more time with modem update. No difference.

Dial worked perfectly on previous a2n kernel editions (with alexis rom) so idk what happened.

I'm forced to go back to stock kernel for now, but I'm waiting for dial fixes!

edit: after restoring stock alexis and clearing cache I noticed that 1st boot optimises 284 apps.

A2N kernel build optimised 278 apps. I neither uninstalled nor installed any new app during tests.

Looks like to me that A2N makes some changes to system or priv apps.
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
This kernel is very smooth. But there are some problems I have found.

1st : VoLTE is not working.

2nd : I feel like it's very aggressive about ram killer (sth like that, sorry for my bad English) it kill my background apps very aggressive. ex. Viper4Android is killed (not appear in notification bar anymore) or when I switch between 2 or 3 apps, it reload (almost everytime). and also AFC is not working with my laptop charger (it can supply 9v 2a and support PD)

Thank you.
[Samsung Galaxy S8 & S8+ Cross Device Development] moh sat:
Hi its nice kernal

But the device reboot when i call any one and put the phone on my ear ??

Any body have this broplem ?
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
fix the call, don't hear it, and reboot, thanks dev