yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Yes it reach 16 °c just 2 min waiting and goes brrrrr AHHAHA i need to careful when it get condensed but i get stable temp in 4 volt when i need fast cooling just spin the potentiometer to 13volt that will instant cool 🤣🤣
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Umm i use camera mod from s7s8note8 camera mod i forgot who create it but that software camera have unlock all possible framerate and resolution maybe you want try it out and in settings quality can be controlled by % whatever you want hehe
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Whatever voltage you give to that cooler, it's always going to cool the S8 down better than the stock heatsink. The highest score so far I've achieved with my comrade on S8 for CPU is 89,980. So we are about 3% behind the actual peak performance of this SoC, that you achieved, on CPU.

Could you please run Geekbench 4 and Geekbench 5? You have a machine that can give absolute results now, in terms of performance.

To optimize score as much as possible I suggest you set "no background apps" in developer options, then install Brevent and allow it to stop Background apps efficiently (best background apps killer) and then go in developer options again and enter running services, and kill all "Google Play Services" instances. It will re-run itself with 1 service and 1 app at the end but that's what we are looking for.

You can also apply these optimizations to run other benchmarks and try to achieve new records.

Play Store is a stubborn background app so Brevent from time to time will notify that it's recommended to unbrevent it, and attempting to kill it, it is going to take many CPU cycles. The fix is opening brevent again, waiting the countdown and then closing it again. You can manually select the apps you want to kill on Brevent and also go in the settings to tune how you want them to be killed, after how long, etc.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Okey i will try it and make video about it i use mirroring C to HDMI cause that frame doesnt have screen hahaha
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Hopefully the C to HDMI mirroring isn't stealing precious CPU and GPU performance.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I hope not much i run at 1440p resolution to get better image but for gpu i didn't see the gpu get used or active usage for next i need time to optimize my phone cleaning all junk and the other thing make it slow IO
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
1440p steals GPU performance when switching benchmarks in AnTuTu and during daily usage. It causes very slight additional GPU heating and might make benchmark results worse.

To be the King of the leaderboards you have to cut corners. Everywhere. Then for daily usage you can go back to what's most comfortable for you.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Okey i will try 2 resolution 720p and 1080p

I have problem about power from battery the phone can kill battery in just 2 month or 6 month when i benchmark it get -3000ma thar almost 1C of battery when benchmark i need to charge it 100% to make it smooth cause for daily use i feel lag by low voltage
[Samsung Galaxy S8 & S8+ Cross Device Development] spdrfx:
This problem was solved on the last release, thanks.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Nice to have a better way to kill apps lol, using brevent now also becus some apps will restart when i dont want it
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I was think about use lucky patcher and frezze it that never gonna on and never gonna run that app cause freezed like base.apk is gone moved by lucky patcher
[Samsung Galaxy S8 & S8+ Cross Device Development] rostifaner:
@ace2nutzer hi bro! Got my s8 back and want to use your kernel again but as I remember it was little bit unstable with random reboots. Whats situation now, have you already fixed those reboots?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@rostifaner

Welcome back !

Yes, finally stable.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
You can also use titanium backup or alpha backup to freeze apps
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer this build has some performance loss and some lagg when i have a few apps open. Cpu usage isnt high so thats not the issue and have the same settings as the previous build.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah i had the same issue.

After removing play Store and left only the original play Store from /system and let it update automatically to the latest version, everything works well now.

Also as you already know, after wiping dalvik-cache, it takes some time to have again full performance.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Yes that's actually something I noticed. Everytime I wipe dalvik with this Kernel, it takes a while to boot. And as soon as I benchmark, results are very low.

Why is this, though?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Got the same when i tried to benchmark, got rlly bad scores like under 310k or little bit above. But nowhere 320k/330k
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I'll try to fix it in next build.

It seems to work stable now.

MTP will be fixed too.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
okey this is benchmark of latest build with cooling system "direct cool goes brrr"

what @everyone opinion
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Still lagging and slowdowns from time to time, only temporary fix what helps is just restarting @ace2nutzer
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
It depends on your settings.

No such issues here with stock ROM.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
I'll try with 120 swappiness, else i dont know what causes it becus everything except the swapiness value are on least possible value for lag, anyway is the previous build also supported in the new app version? For incase if i want switch back.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
No, not supported.

But 120 is likely not optimal. Samsung uses 130 on Note8 and on S8 it uses 160, because S8 has less RAM.

I suggest to use 160 - 190. The higher this value the lesser LMK gets triggered to kill background tasks. Of course only makes sense when using zRam at least at 1 % lol. Because this value is only for swap stuff.

You can check how often LMK kicked in.

cd /sys/module/lowmemorykiller/parameters
cat lmkcount

Ideally it should be "0". At swappiness "100" you get tasks killed, even if there is still a lot of free swap space.

And even worse, Linux kernel default value is "60". - That's maybe good for slow HDD on PC. But here on the phone we've very fast I/O.

So LMK should be only triggerd if RAM + SWAP is completely full, then it's OK.
[Samsung Galaxy S8 & S8+ Cross Device Development] xperia modder:
Ah , thank you , i will give it a try but i wanna ask one thing cant we patch the fstab in a way that it can accept both ext4 and f2fs and not just one at a time , or did i understand u incorrectly
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Tried to boot with "auto" instead of "ext4" or "f2fs", but unfortunately it gives boot-loop. But what is possible you can use just one or a few partitions using f2fs. And on every kernel update you've to patch fstab once again yourself.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Hmm it should theoretical work on linux, but guess android doesnt support it even its a side version of linux. Bit sad tho
[Samsung Galaxy S8 & S8+ Cross Device Development] Triger972:
I'm really sad today My sim card and my sd card don't work anymore after the kernel update I changed the sd card but it still doesn't recognize it the same for the sim card ( i think i deleted efs folder accidentally when i try to change rom) now the sd port is dead and the sim card port too I'm thinking of changing my tel but I don't know which one to choose?

Should I choose the phone according to the benchmarks or the possibility to modify the kernel?

What phone is actually a "good performance gaming" ?
[Samsung Galaxy S8 & S8+ Cross Device Development] xperia modder:
I have cache and data as f2fs i know cache isnt worth it but data is f2fs is substantially better than ext4 one of the few perks i love i the ability to move files that are bigger than 4gbs or 2gbs even in one go without worrying about about splitting and over head making my write speed trash and also one more question is this basically how to enable f2fs in every kernel or just yours ?
[Samsung Galaxy S8 & S8+ Cross Device Development] xperia modder:
I think u need to look at raw performance as kernel optimization is basically a speed up pver the raw performance you are getting and nowadays even the cheapest phones performe better than our s8 since our s8's soc is just old for today's tasks and so on ,so yeah make your first priority benchmarks(raw performance) then your second one is the custom development for the phone , that's my opinion and also am not a big fan of xiaomi but they runa really good deal for the buck and also take in consideration that xiaomi is the true meaning of silcon lottery as one phone can performe so great and the other just trash even tho they are the same phone but i was thinking of upgrading to the xiamo 11t pro got 120hz and sd888 and ufs 3.1 and all of that is for 500$ only
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@Triger972

check here on XDA on how to repair IMEI or EFS folder without having a backup of EFS folder. On some phones it's possible to fix it.

As for you question about new phone: honestly you need both, good hardware and a good kernel with good memory management and charger control, like this.

The how-to should be generic enough for modern phones using AIK-Linux to unpack ramdisk. Also if CONFIG_F2FS is built-in, then you can skip the part of loading kernel modules.

btw: why only /data ? I suggest /system and /preload as well for best performance. Of course if read speed on F2FS is basically faster than EXT4.

Did you already tried with this kernel ? - works ?
[Samsung Galaxy S8 & S8+ Cross Device Development] Triger972:
Thank you very much for your advice but what are the benchmark sites you use to choose your phone?

@ace2nutzer i gonna to try it but sd card slot dosen't work anymore too,Currently there are kernel like for the s8 for other phone? i think card slot is dead I already had problems with the sd card so the problem is not with your kernel

I already had to repair my screen 2x for 400$ I think it's time for me to buy a new phone
[Samsung Galaxy S8 & S8+ Cross Device Development] XIdraelX:
Hi,

I installed A2N because the features are very comprehensive, but one that caught my attention was the Widevine L1, and as I use Hades P V12 the rom has a Widevine L3. It happens that when installing the kernel, Widevine kept L3 and Safety, which was True, changed to False.

Is there a bug happening here or did I install the kernel wrongly?!
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Check the FAQ in post #3.

DRM L1 actually only works with stock ROM. You can perform a clean install with stock ROM via ODIN. Then flash twrp and finally flash a2n kernel and then magisk. This gives you safetynet green and DRM L1.

Note: to pass safetynet you may need to enable magiskHide or something similar.
[Samsung Galaxy S8 & S8+ Cross Device Development] XIdraelX:
ok! Thanks!
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Okay, found a possible cause of it !

It's like always the damn HMP driver !

It can't handle properly to move apps between little and big CPU. Tested right now with stock kernel and it has the same bug. So time to switch back to my old method that disallow to run a task on both CPUS. This will make some benchmark scores worse, but the daily usage of the phone and battery life will be much better.
[Samsung Galaxy S8 & S8+ Cross Device Development] XIdraelX:
do you recommend a specific version of masgisk to install with the kernel, so that everything works perfectly or is the latest version enough?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Didn't try latest version, but it's somehow difficult to make safetynet pass, but not impossible.

It's easier to use like i do the magisk v.23.0.
[Samsung Galaxy S8 & S8+ Cross Device Development] xperia modder:
Well i tried formating my system into f2fs but every single time after i flash the rom the system partition always goes back to ext4 for some reason i guesa the rom installation script or maybe because am not using a patched twrp for f2fs maybe that's why , any how i will try it today i think as my internet got renewd so now i can download a 9.0 rom and i will tell u the results
[Samsung Galaxy S8 & S8+ Cross Device Development] xperia modder:
I guess youtube reviews as they tend to be the most relaiable and also geek bench, antutu is a good option but it's not that used anymore
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Nahh that's not how a told you to do that.

Read again carefully my instructions.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Oh no back to iPhone 7 we go
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Well, as it turned out, the issue with high CPU load on idle was caused by AdAway hosts.txt file. Yes, I'd faced this issue with AdAway around 2 - 3 months ago and was thinking it's surely fixed now. But nope, the issue is still there. So opened a new issue on AdAway.

Fix for bad performance and high battery draining:

(only important for you if you are using AdAway app)

remove

ad.doubleclick.net

www.googleadservices.com

adservice.google.com

from your /system/etc/hosts file or simply flash with TWRP latest patched AdAway_hosts_patcher_g95x.zip.

btw: later I'll upload new release:

pre-changelog:

fixed MTP / PTP / USB tethering

fixed USB-OTG driver - HDD/SSD can be read properly now

HMP: driver update (performance + battery)
[Samsung Galaxy S8 & S8+ Cross Device Development] PetreVal:
Hello my friend, first of all, thanks for doing such a study, I tried this kernel on my G955F S8 plus, but I couldn't get positive results. I want you to help me with this. Even though I successfully installed the kernel with twrp, the settings in the kernel control application seemed to be limited. Apart from that, we were forced to buy the kernel control application. a separate issue, I currently have a2n kernel control v3.5 version (I don't have the money to buy the application from the play store, sorry :( ) In this version, I am making the max cpu frequency 2808 and setting the max frequency to 2002 in the small cpu, but when I check it from cpu z, it is still like it does not change from its default ghz value, the larger cpu is 2314 and the smaller one is 1690, can you help with this ?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@PetreVal

In v3.5 only a few features works.

If you need all features, you need latest version from Play Store.
[Samsung Galaxy S8 & S8+ Cross Device Development] PetreVal:
bro i don't have 5 dollars can you help me a little and send apk privately :) ?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
No, flash other custom kernel or wait for new release, maybe works better for you. Update is coming in 3h.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
No I'm good with the current release, thanks lmao :ROFLMAO::ROFLMAO:

HMP driver can be updated 100 times but you can't compensate missing 4 Little cores. Android isn't even good at offloading background tasks from Big cores to Little cores. You're much better off simply turning off M2 cores and calling it a day. All tasks go forcefully to Little.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Lmao. Even IF you ask somebody to send you the apk privately, this one has a license verification.

No, Lucky Patcher does not work on it, and yes, you constantly need internet to use it.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Right, it caused even slow booting. But fortunately it's not needed, we can stay with full 8 cores for foreground apps. Since the issue was coming from the buggy hosts file.

This will be fixed on coming build. Once you press the home button the foreground app that basically would still run, e.g. a YT-music app, will be moved instantly to little core and will stay on little core, no matter how much load the background app will cause. Then once you take it back on the screen, the app will be allowed again instantly to use all 8 cores.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
If you manage to pull the task migration on Little cores, bro you will basically do what Android OEMs haven't done ever since big.LITTLE became a thing. No joke.

This dude is single handedly building a Kernel so functional that calling it a Pseudo ROM is not an overstatement :eek::oops:

Also if the next update still allows foreground apps to receive 8 cores, yeah I will install new build. It's interesting.

Also I always kept in mind what you said about little cores.

"4 little cores together at max frequency barely match one big core at stock frequency"

I disabled all the big cores and let big cores run Geekbench.

You were right, mostly. Little cores at 1898MHz are about 20% faster than 2314MHz M2 single core and roughly 8% faster than an M2 running at 2574MHz. So yeah, technically keeping the little cores available for foreground is going to yield a decent performance increase. Can't drop them.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
New build is up !!

Kernel V. 2022.04.26

USB: fixed MTP/PTP/USB-tethering connections

USB-OTG: fixed SSD/HDD connection - thanks @PORTER2002 for testing

HMP_CUSTOM: updated driver - reduced delay on task migration - fixed background tasks that was sometimes going back to BIG CPU !

Disabled stacktrace

Changed dexopt to "speed" - for quick app launch

Version Info:

If you wipe dalvik-cache, consider that first boot takes up to 30 minutes ! (due to highest app optimization)

If you have the app "AdAway" installed or the Magisk module for hosts, I suggest to uninstall it for now, and flash instead a simpler hosts file patcher (patched by me) for ads blocking. The current official hosts.txt file is buggy (I've reported the bug to the AdAway team), it contains 3 domains that are causing high CPU load, (logcat spamming like hell) thus drains more battery and reduces overall performance.
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
Hi @ace2nutzer! I've been missing for a while, but I'm back! I've seen your progress with the kernel and it makes me very happy; as I said earlier: You are amazing!

To update the kernel version just flash via twrp or do you need to do something?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Welcome back !

It's a good idea to wipe dalvik-cache.

In addition, check the release info about AdAway issue.
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
It really takes about 30 minutes after it clears the dalvik and cache. Optimization is noticeable.
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
Someone noticed that when playing a video on YouTube, when pressing the full screen button it takes longer than usual to enter, the same thing when changing the screen orientation. It's not something that bothers me much, but it's curious. I'm using the latest kernel version.
[Samsung Galaxy S8 & S8+ Cross Device Development] XIdraelX:
netflix stopped working after i updated. In stock rom!
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
With which kernel version was it working for you ?
[Samsung Galaxy S8 & S8+ Cross Device Development] XIdraelX:
04.20

An older version than the current one.
[Samsung Galaxy S8 & S8+ Cross Device Development] XIdraelX:
after i updated to 04.26 it stopped working.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Okay i'll check what's the problem.

Was it working in HD or only in SD ? - Even the fact that we have DRM L1 in stock ROM with a2n kernel.
[Samsung Galaxy S8 & S8+ Cross Device Development] XIdraelX:
It was running in HD!

DRM is still L1, videos just won't load.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@XIdraelX

Hmm that's insane !

Is there a way to check by myself since you didn't provide logs ?

Because I don't have Netflix app.

Or another idea, that helps too, is to flash the Samsung stock kernel from here:

index - powered by h5ai v0.28.1 (https://larsjung.de/h5ai/)

index - powered by h5ai v0.28.1 (https://larsjung.de/h5ai/)

xda.mister-freeze.eu

Choose your phone model then "general" and download and flash the stock kernel. Flash it like an a2n kernel update. No need to wipe any caches. Let me know if it works the Netflix app.
[Samsung Galaxy S8 & S8+ Cross Device Development] lpt20077:
Can I use this kernel with android 12?

I have installed this rom:

LINK
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Kernel supports only android 9 currently
[Samsung Galaxy S8 & S8+ Cross Device Development] XIdraelX:
ok i will try
[Samsung Galaxy S8 & S8+ Cross Device Development] XIdraelX:
I installed the stock kernel and netflix still doesn't work the same way. Tried without and with magisk.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Okay thanks for testing this.

What about build 04.20 ? (Previous release) if you flash that build then Netflix works normal ? What phone do you have ? S8 or S8+ ?

In my case also tested with the stock kernel and this latest release and the strange thing is that it's even not listed in Play Store !

But if i try to access the Netflix app over Google search going to the Play Store then a red warning says that my device isn't compatible with this version of Netflix. Also Netflix app was updated a few days ago, maybe that's the cause and not a kernel issue ?

But try with the previous build, if it works then of course it's a kernel issue and we will try to fix the regression.
[Samsung Galaxy S8 & S8+ Cross Device Development] XIdraelX:
well I was very interested in the Widevine L1 feature and so I decided to install the a2n kernel

on my S8 (dreamte) then I consulted with you how to make it work correctly. You told me that

would work on stock, so I installed stock and did the whole TWRP procedure again.

I installed the kernel normally and so that Safetynet was not compromised, I used magisk 23.0

to hide the system changes so I could download netflix from the play store without any

problem. I installed it and it worked for a few days. Then I saw that the kernel was updated and flashed

the new version, checking everything to see if the safety or the DRM was working and everything was, that's when

I joined netflix and watched a series for about 10 seconds and soon after that the video stopped loading

and it stayed that way. I've already reinstalled netflix, I've already hidden it in magisk hide, I've done many things, but

I still have the same problem. It happens exactly the same in custom rom with DRM L1, as for example the

Eclipse ROM, Alexis ROM and several other AOSP ROMS that have widevine L1. Netflix consists of L1 (HD)

but does not play any content.

I will try to install the previous version of a2n kernel to check if the return is working, but

it's likely that I install Hades P V12 with Widevine L3(SD) anyway because then I can use

the a2n Kernel without worrying about the functionality of these streaming Apps, although I don't like it

i really want to use a2n kernel.
[Samsung Galaxy S8 & S8+ Cross Device Development] Feardarks:
Can you confirm that netflix HD playback works in 04.20. With stock rom ?