yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] XIdraelX:
everything worked perfectly, as well as the HD playback. But at the moment it's not working, my suspicion is that it's the kernel update, but it could be netflix itself that updated and is blocking it now. I went back to 04.20 and the problem persists.
[Samsung Galaxy S8 & S8+ Cross Device Development] Feardarks:
Can you try installing older version of netflix ?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
If somebody want to perform some tests about Netflix, try to downgrade Netflix or Play Store app:

Netflix - all versions (try v.8.24.0)

Play Store - all versions (try v.29.x.x.)
[Samsung Galaxy S8 & S8+ Cross Device Development] PORTER2002:
it happened to me too after the update I had no more problems
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
Yes, I don't have this problem anymore either.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
So what now ? First you say it takes longer and now it's fixed ?

Anyway, for me i see an improvement for screen rotation. With latest build delay is approx, 200 ms while on previous build sometimes was fast and sometimes it had a delay of 2000 ms. So it's now 10 times faster.
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
I don't know what really happened, but now it's back to normal🤣. Only on YouTube this happened, it was once and then it stopped.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Well as long as it's once for such little glitch, i wouldn't mind at all. It doesn't have any serious consequencies, just cosmetics. ;)

It can happen and it's even not a bug when RAM is completely full and to allocate new graphic buffer it has first to to some memory compaction and if that wasn't enough it needs to kill some old app from RAM, that's the delay you face sometimes. And if there is Zram in use, memory compress/decompress time also takes into account.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Well that explains a lot why youtube takes some time to switch to fullscreen or exitting full screen, but it happens only when you pressure the zram very hard when you have apps opened
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@XIdraelX

OK guys, I've found the issue for Netflix ! - It was caused by me, sorry.

Fix:

change the following build.prop flag:

ro.config.iccc_version=iccc_disabled
to
ro.config.iccc_version=3.0

use ADB + nano over TWRP or use any build.prop editor apps, save and reboot. Wait a few minutes, check in Play Store if Netflix will re-appear again in the list, if so, Netflix should work again in Full-HD ! ... if you use the stock ROM, otherwise probably only SD resolution. lol
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
@ace2nutzer Thinking of adding translation to the A2N app? Would be great. I could help you with the Portuguese language if you wanted.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
No thanks, english only.
[Samsung Galaxy S8 & S8+ Cross Device Development] gianluca cossettini:
Hola funziona su note 8 con rom hades v 3 android 10
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
No.
[Samsung Galaxy S8 & S8+ Cross Device Development] oleg vegas:
Have you thought about releasing a kernel for AOSP? A few years ago this question was discussed, but I did not see a clear answer.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
The clear answer is: still maybe. Depends on my free time and motivation.
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
This Kernel in AOSP would be beautiful!
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Question, does the "drop caches/buffers" also clean the zram swap pages?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Nope.
[Samsung Galaxy S8 & S8+ Cross Device Development] PORTER2002:
Ciao volevo sapere se hai risolto i problemi con questa app AdAway_hosts_g95x.zip se lo volessi mettere e poi un giorno toglierlo come faccio?

Mod translation via GT: Hi I wanted to know if you have solved the problems with this app AdAway_hosts_g95x.zip if I wanted to put it on and then one day remove it how do I do?
[Samsung Galaxy S8 & S8+ Cross Device Development] Feardarks:
Just simply backup host file from system/etc.

Zip file only contains host file that overwrites stock one.
[Samsung Galaxy S8 & S8+ Cross Device Development] PORTER2002:
Ok grazie
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I got response from AdAway team, they correctly stated that it isn't AdAway issue but it's app specific issue.

To clarifiy things, it seems that the high CPU load, caused by logcat spamming, is caused by YouTube Vanced & YouTubeMusic Vanced in combination with official AdAway app or just the hosts.txt from them.

Same applies if you are using Magisk systemless hosts module.

Flashing AdAway_hosts_g95x.zip "solves" the issue with high CPU load.

But anyway, it's just an workaround for buggy Vanced apps.

I'll report the bug to the Vanced team since it's painful.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Reporting it to vanced isnt working out anymore becus they were ceased by google.

YouTube Vanced is shutting down “due to legal reasons”

Vanced has been discontinued and downloads will disappear.

www.theverge.com
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
OK guys, lets backup that amazing app like hell .. lol
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Tbh, i hope someone cloned their repo and bring it back to life, but i doubt it
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
It was forked over 1k times and starred over 7k times .... one of them will continue the work.

E.g.: ReVancedTeam
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Great lmao. Anyway something else, anyone uses screencam and have recording issues with internal audio system r_submix mode? Becus when i use record it in that mode it corrupts the recording somehow and using it with audio disabled it records fine, anyone has it too?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Me same broke video when internal sound reoxrd
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Luckily not the only one with the same issue😂 anyway about vanced, im in the discord of revanced to keep track on their progress. So i'll make a message here when they release their first build 😄
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@rtyuakatsuki I fixed it, i removed the screencam magisk module completly with orangefox recovery magisk, and reinstalled the app from playstore and reflasht the 3x screencam module. It seems it fixed.

I uploaded here the 3x version of the screencam magisk module becus i found it in their telegram group.

Edit:

It broke somehow again🤷‍♂️
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Anyway, i reported it already to the revanced team. They keep an eye out when they have a working version, for now we wait and patch the adaway hosts file to fix it.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Try with the stock kernel from my download site. This is always the first thing to do instead to waste time with experiments. Then after testing, flash again a2n kernel, trigger the issue and generate logcat & dmesg.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Didnt thought of it but i doubt if it is a issue with in combination with the kernel, but yea, try anyways
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer well when i flash the stock kernel i got now only 8gb of internal storage instead of 64gb, tested it also with the stock kernel from the devbase rom and it results also in a 8gb internal, also i wiped cache and dalvik but that isnt the problem. Anyways cant perform a test rn
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Did you flash the right stock kernel ?

There are 3 different: s8 / s8+ / note8.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
I flashed the one from 950x becus i have a 950f, but i tried also the one from the rom.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Strange. Try from scratch.

Flash latest 3-parted stock ROM with odin. Then twrp and finally a2n kernel and magisk. That's the only way to fix all bugs. Don't try to fix the storage issue manually, it's a waste of time.

It's a major issue. And once you have such a big issue, then you can assume that a lot of more things are also screwed up with your phone. Therefore do a clean install to fix everything.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright doing that maybe in future, anway i tested it quick with nx kernel, so it only happens with the stock kernel a low capacity internal. Also with nx kernel i got the same behavior with screencam as with a2n kernel. Anyway idk if you can trace a error whata going with it when i record with internal sound enabled that it somehow corrupt while anything else than internal sound enabled it records and saves fine
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
As i said, trigger the issue then quickly generate a logcat & dmesg. Then i can tell you if it's kernel, ROM or app issue. Logs are there for that reason.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Yea true, anyway here are the logs :)
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
Hello, @ace2nutzer

I've an issue, while playing music if I turn off the screen, it stutters and lags, the moment I turn the screen ON, stutter goes away & it sounds normal

I noticed that the issue triggers even with Screen ON when Little CPU goes to lower freqs,

I've checked battery optimizations & all, also earphones are fine, this issue was not there on previous builds,

I think some issue came with HMP CUSTOM in latest builds. 11.03 build was perfect, no lags, zero errors, most stable, everything was perfect!
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
I can agree that the 11.03 build was the smoothest
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright, i tested with recme and internal sound plugin, and it doesnt record audio. So i guess its in compatible with the rom android version, also both apps are pretty old.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer did you find anything usefull out of the logs?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Didn't check the logs so far, later i'll check.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
I noticed that this Kernel reacts pretty bad to Tweaker apps like FDE.IA

I am assuming that it's because everything is already optimized to the maximum, and also because A2N Kernel control app is the only one allowed to change system settings, so it goes in conflict, I assume.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright

Yea its stated in the FAQ the kernel isnt fully compatible with other kernel tuners, only with a2n kernel app
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
It’s not a Kernel tuner. It’s far more than that. But again, that isn’t the issue

The issue is that after FDE.AI starts up, A2N Kernel Manager becomes useless, and cannot apply any changes anymore.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Please post logcat & dmesg after A2N can't apply settings.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Sorry about the bother. Can you remind me where I find them? 😅😅
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
You can make them in the debug section of the a2n demo app, also it saves in the root of the internal storage, anyway ill try it too if i get the same issue with it
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
There's the file. Also I can confirm that the MTP issue is solved

In detail, the issue is that while FDE.AI is running as root process (Since it's not a background app), booting A2N Kernel manager and trying to change settings (ex. CPU frequency) won't do anything. It will appear set for example at 2314MHz in the A2N app, but if it was at 2574MHz before the FDE.AI install, it will remain at 2574MHz no matter what.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
When i try to change something like up_threshold from the cpu and apply it in a2n app in combi with fde.ai it give a notifcation about the kernel is outdated.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
It's clear that the A2N Kernel hierarchy REALLY doesn't like the fact that FDE.AI tries to control the system by itself.

Because that's essentially what FDE.AI is. It's an advanced Universal Android tweak app that relies on AI to tune the performance of your phone according to your usage. And that includes manipulating system parameters like CPU frequencies when possible.

Meanwhile, in a system like A2N Kernel, where no app is allowed to tune parameters, except for the paid apk, it's a no brainer that it would end up ugly.

Luckily enough @Ryujin96 uninstalling FDA.AI and rebooting solves everything. It's still a userside app after all.

So, Ace, it's not really a bug. It's just some kind of conflict.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Yea true, after uninstalling fde.ai and rebooting fixing it, only issue my phone is rlly slow after using fde.ai
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Anyway, it's no longer true that you guys are only allowed to use A2N kernel control app with A2N kernel. Once you pass license check, the kernel is unlocked and theoretically you can use whatever kernel manager app you like. But the problem is if such stupid app like FDA.AI will break the compatibility with original manager app. Of course this should not happen. And probably we will end up on blocking this malicious app.

Looks like he is aware that his app is not welcomed and a lot of kernel developers are already blocking his app:

FDE.AI-docs/kernel_block.md at master · feravolt/FDE.AI-docs

Various FDE.AI related texts. Contribute to feravolt/FDE.AI-docs development by creating an account on GitHub.

github.com

In fact, there is even a kernel driver for blocking such kind of suspicious apps:

kernel_xiaomi_surya/fs/open.c at 8a3d521f6493833e002269c36e2f24172544de55 · rayrzy/kernel_xiaomi_surya

Kernel Tree for POCO X3/NFC [KARNA] [SURYA]. Contribute to rayrzy/kernel_xiaomi_surya development by creating an account on GitHub.

github.com

"com.feravolt" blocked at first ! lol

Great !
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
So thats why my phone is now slow as f**k becus the devs of fde putted malicious stuff in it? Okay now im mad lol
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Most likely a placebo. I installed it myself on my S8 once, then uninstalled it, and now installed it again to test more. It's obvious that it goes in conflict with whoever wants to manage a Custom Kernel by themselves. But it isn't malicious code. At all.

My S8's performance with it uninstalled seems the same as it has ever been before the change
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I can't say if you will face now further bad things, because there is no source code for that app, which is normal for a pay app, so that others can't copy-paste the work from other people. Also I don't say he is putting extra bad things in his app to make problems on peoples phones, but for sure it's changing just too much low-level things that it should NOT change and therefore the issues. Every kernel manager app should only change kernel settings without to modify the system to much.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Hmm well, guess its my phone then what f**k me over rn, anyway not going to use it if is a bad thing
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer did you find already something in the logs why screencam is corrupting the recordings?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Still didn't check the logs as I'm actually busy with implementing a backup server on a2n app. Since one server seems to be not enough.

Also there are some users from turkey that they can't use a2n app at all, due to some network restrictions or whatsoever. After that a2n app should almost never fail on startup !

But don't worry, I'll try to fix everything that was reported.

On Note8 forum you can see someone reported that HDR @ 1080p isn't working on YouTube. Tested by me and confirmed, even with L3 patch.

That needs to be fixed as well, so please be patient guys.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright tyt for it, a2n stuff is more important😄
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
i realize somethimg on device software security version that for first time i see that anyone know about it? I install anydesk with plugin btw maybe it install that? Or anyone can give screenshot about maybe diffrent

And dev for the kernel i think was stable for no random reboot but when screen off while play music with bluetooth there is some stutter and lag sound when turn on screen it back normal maybe need tune on governor when play bluetooth or something wireslessly when screen off and yeah one more thing

I have been double my battery and that got 6 hour SOT maybe anyone here try same like me to get 10h SOT hehe for battery connection make it parallel 😁
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
That sound stuttering only with BT audio ? Also it's always or sometimes ?
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
No matter it is BT or wired earphones, I have found the problem, in my case it occurs whenever Little CPU goes below 949MHz, so the workaround is that keep the CPU0 min Freq above 949MHz, both for screen ON & OFF, now I have no stutters or lags...
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Only time my phone gets laggy is when i watch twitch in pip mode becus it uses all 4 first cores almost completly, but yea thats becus the devs of it didnt optimize it and is just trash.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Oh btw, doing clearing thing up in the phone and on monthly basis doing a dalvik&cache wipe does also the job to optimize the phone😄
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I can't reproduce the issue. Tested with earphones with "Samsung Music" app, no matter what quality setting I use, screen ON/OFF, no stutter at all. But I can add pm_qos requirement for audio like you say for little CPU 949 MHz.

DTS: fix audio stuttering · ace2nutzer/Samsung_dreamlte_Kernel@652a9d5

Custom Kernel. Contribute to ace2nutzer/Samsung_dreamlte_Kernel development by creating an account on GitHub.

github.com
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
The idea of having to have an internet connection to use the app is very frustrating. I leave the house with the "Power save" mode activated, but if I don't have internet, I can't take it off that way. Or when the app asks to update and the play store doesn't have the update. I know it's because of the license to use, but again, it's very frustrating.

Right now I'm stuck on "Power save" waiting for the update to appear on the play store.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Did a quick check, but i can't find something specific.

I saw in logcat error about openh264 decoder not found.

You may try to use another decoder for both audio and video recording, try one by one, maybe it'll fix the issue. Especially with custom ROMs it's known that often hardware decoders/encoders doesn't work (partially).

That's the common reason why I still use the stock ROM.

App v. 4.7 is online.

Yeah it's frustating I know, but this is how it works.

@ all

As for HDR 1080p playback issue on YouTube:

There is nothing wrong with the kernel, it's app / encoder issue.

Using another encoder may fix the issue.

The encoder isn't very well optimized for the hardware.

It uses only max. 3 threads, and phone gets very hot ... tried with stock Freq @ 100 °C DVFS... but it can't still play the video smooth, it hangs every few seconds. Use HDR 720p instead.

Edit: I don't see any point on using HDR, it just uses too much CPU power. Using VP9 codec @ 1080p runs smooth and phone stays very cool.
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
Thank You, this should fix it!

I was able to reproduce issue with Screen ON by setting CPU0_max_freq=715MHz (as min_freq is already 598MHz) then kept on increasing cpu0_max_freq to the point when there is no stuttering, I kept Samsung music/Poweramp playing in background while using some other app...

Also note that, in my case audio is parallely processed by V4A & DDP, may be that's why higher Freq requirement...
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Well this is not the right way to find out min required Freq for audio.

The proper way is with kernel default, then only find out how much you need to increase min_freq for cpu0 since audio stuff is a background process and runs on little CPU. Please perform the test again then we can set exact required Freq for audio, unnecessary forcing higher Freq while audio playback is a waste of battery.

@MUNISH MONGA

Edit:

uploaded a test kernel, please test the audio stuttering with this new test kernel, with reverted commit for audio fix. So it should give more accurate calibration for audio Freq. (updated again HMP_CUSTOM driver)

@ all

Things that should be tested:

Audio stuttering while screen ON/OFF ?

Netflix - stream runs stable ? (it's now in L3)

Try if FDE.AI is successfully blocked, hence it can't be opened.

Fingerprint sensor fast enough ?

Screen rotation fast enough ?

Download:

G950X

G955X
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer i maked a test recordings with youtube and Still corrupting the video file, tried every decoder. The video length isnt right becus i recorded it few seconds and it us now in minutes instead, also there is a huge desync, video is in beginning of the timeline and audio in the last bit, anyway i'll post the file here. Idk if you can find something about the weird behavior why this happens, the second one without audio is fine. Also in vlc player the file is playing in beginning instead of the end of the file like in samsung video player but is desynced like hell

Edit: found a workaround to fix the file, judt put it in like ex powerdirector app and just export it and works for rn
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
Yes yes, I did exactly that & suitable cpu0_min_freq comes out to be = 949MHz

1. Unfortunately, audio stuttering is still there, with latest test release, even with kernel defaults. Although with kernel defaults it occurs a bit late because CPU Boost is enabled by default. I did these steps:

Installed the test release

Kept kernel defaults

Played some music, and

Turned off the screen,

Stuttering appears after 10-15 mins,

Increased cpu0_min_freq (in steps) from 455 to 715MHz, as freq increases, stutter reduces! but it was still there

@ 949MHz -> no stuttering at all!

So at least 949MHz is required for stutter less audio processing.

Also,

4. Noticeable improvement in FP Sensor

5. Screen Rotation is smoother
[Samsung Galaxy S8 & S8+ Cross Device Development] madhatter57:
I have noticed an increase in power consumption since latest kernel release, even if my settings and usage patterns remanin the same. Anything that can be done?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
If im right if you want to have the same fluidness then no, more battery optimalisations means aswell lesser performance and depends on what gets optimized
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@MUNISH MONGA

Please try latest test kernel and report if it's fixed now. (added patch for 949 MHz for audio)

G950X

G955X