yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
For me playing twitch stream in pip mode doesnt stutter anymore and can confirm my phone runs more smoothly even while i run a twitch stream on background. Also i guess fde is blocked becus i cant install it even more👍😂
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Sounds great ! And what about the screencam issue ? Please test again with the test kernel from yesterday or that from today.
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
Yess, Issue is resolved !
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Tested again with the test kernel from today and same result. Im starting to think its a decode issue caused by the app itself or rom. But weird thing is, all the version of screencam i have the same issue. Anyway, to rule out if its a rom issue, someone has to test it on a other rom😅 app is on playstore and uploaded the right magisk module for it
[Samsung Galaxy S8 & S8+ Cross Device Development] XIdraelX:
would it be possible at some point in the future to port the a2n kernel to the A10? for example for Hades Q v3?
[Samsung Galaxy S8 & S8+ Cross Device Development] madhatter57:
Did you also want me to test this?

I am currently using late April stable release + 4.7 app
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
You can use this, it's stable.

But like I said many times, you can't always use old kernel version with latest app version. To check if it still work, you can test if you are able to change CPU Freq after you reboot the phone.
[Samsung Galaxy S8 & S8+ Cross Device Development] madhatter57:
There must be some confusion. Isn't latest kernel 2022.04.26 ? Or is there a newer one somewhere that I'm missing?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Right, my bad. But you guys can all already switch to the latest test kernel. So far it seems that itl'll be the next stable release.

It's compatible with app v. 4.7 and newer.

Later if possible I try to fix screencam, then I'll add that fix and build a new release, if not that's the new release.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright, well its unlikely its a kernel issue, more like a rom/app/magisk module issue why screencam behaves like this. Anyway guess trying to fix it kernel wise doesnt hurt, maybe it start working 😊
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Look i got 3873 HAHAHAHA

If you want to know how

Just find cheap dying battery and parallel it done hehehhe for temporary way if you to lazy buy new battery
[Samsung Galaxy S8 & S8+ Cross Device Development] spdrfx:
Hello, the torch brightness control not working for me. (galaxy s8, most recent stable kernel, Lightrom)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Make sure the slider under the torch from quick settings is in the middle or at right(max) then set new brightness value over a2n app, then turn on the torch.

Note: you can't adjust brightness while the torch is ON.

This is to avoid conflict with torch brightness regulation from the ROM.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
New Release is Up !!

Changelog

Kernel V. 2022.05.13

HMP_CUSTOM: updated driver

Audio: fixed stuttering - thanks @MUNISH MONGA for report and tests

DRM switched to L3 - should fix Netflix stream

Improved stability

A2N Kernel Control V. 4.8

Debug: added "fix permissions" (useful if you use this app with other kernel manager apps)

Improved stability

Bug fixes

A2N Kernel Control V. 4.7

Improved stability

Bug fixes

In the end I ended up to remove again the driver for blocking some specific files / apps because it wasn't stable. Also it's quite impossible to successfully blocking all weird kernel manager apps that actually are useless or breaks compatibility with the A2N app and even with other CPU stats apps.

Therefore I've added a new button in debug menu "fix permissions".

Everytime you test some other kernel manager app and want to use A2N app as well but it actually don't work properly, it's likely due to wrong file permissions. To fix it without to reboot, just tap on the new button, that will fix it in a few secs all the needed permissions for A2N app. That way you can use crappy kernel manager apps and still be able to use A2N app lol.

btw: for out of curiousity I tried also the FDE.AI app, after that, the phone performance was like -50% and A2N app stopped working and my app (A1. CPU TOOL) that shows CPU stats, was broken too.

But fortunately after uninstalling the FDE.AI app and rebooting the phone, everything was normal.
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
The latest version has a delay followed by a 2 second crash when changing screen orientation. Before it was just on YouTube, now it's everywhere. How can I send a logcat related to this?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
With A2N demo app, check post #3.
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
It's in hand!
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Which ROM and TWRP are you using ? - You have the same errors in logcat like @Ryujin96

see:

05-13 20:08:55.715 7946 8039 E msgr.VoltronModuleMetadata: Unexpected module name: openh264
05-13 20:08:55.721 7946 8039 E msgr.AppModuleIndexUtil: Checking for valid module for openh264
05-13 20:08:55.732 7946 8039 E msgr.VoltronModuleMetadata: Unexpected module name: openh264

05-13 20:09:19.481 28038 28207 E CONSCRYPT: ------------------Untrusted chain: ----------------------
05-13 20:09:19.481 28038 28207 E CONSCRYPT: == Chain0 ==
05-13 20:09:19.481 28038 28207 E CONSCRYPT: Version: 3
05-13 20:09:19.482 28038 28207 E CONSCRYPT: Serial Number: 688c81596b3eba1b36f67520d5737abf9da4a44e
05-13 20:09:19.482 28038 28207 E CONSCRYPT: SubjectDN: CN=localhost
05-13 20:09:19.482 28038 28207 E CONSCRYPT: IssuerDN: CN=localhost
05-13 20:09:19.482 28038 28207 E CONSCRYPT: Get not before: Sun Aug 15 05:01:20 GMT-03:00 2021
05-13 20:09:19.482 28038 28207 E CONSCRYPT: Get not after: Sat Sep 14 05:01:20 GMT-03:00 2024
05-13 20:09:19.482 28038 28207 E CONSCRYPT: Sig ALG name: SHA256withRSA
05-13 20:09:19.482 28038 28207 E CONSCRYPT: Signature: ......
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
I'm using eclipse Stock ROM. Twrp is the latest released.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Try with previous a2n kernel.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
I use devbase 7.4 based on UCDUG2 build, about twrp, i dont use twrp i use orange fox recovery r11.1_1 becus it has more features than twrp
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@ up @Driieel

Did you test with previous kernel about screen rotation issue ?

btw: I don't have any issues with screen rotation on stock ROM + latest a2n kernel.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Same here, also still rock stable
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Btw what are those errors about?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
It seems to be an issue with some user apps or the ROM itself:

Conscrypt | Android Open Source Project

source.android.com

As I said, I never saw this errors on stock ROM.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Hmm, i dont notice any problems with those errors. Should be fine i guess even its weird those errors exist🤷‍♂
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
@ace2nutzer I went back to the previous version and the screen rotation is much better than the last version, it's not that fast, but it's not that slow. I generated the logs right after changing the orientation.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Auto orientation or by tapping on the symbol ?
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
At log time it was automatic orientation, but touching the symbol the same problem occurs.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Anyone tested the ps screencam with the magisk module of it what i added on the thread?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
When I've time I'll check it.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Great😊
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
If you give me the right procedures, I can test it too.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright

Well you need first to install screencam from playstore and afterwards flash the screencam module in magisk (module is uploaded here)" and reboot. After that you need to setup screencam to use internal audio for recordings, so select "internal audio (root + magisk module). After that, just record Something with it ex twitch/youtube etc what has also audio in it and record that for few several secs/mins and stop the recording. Afterwards playback the file and check if theres a desync and if the video duration is incorrect.
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
I took the test here. The video duration is incorrect and sometimes the audio starts to freeze, it is also not synchronized.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Okay, another one who got the same issue😅 anyway, which rom do you use?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer i found their gitlab repo: https://gitlab.com/vijai/screenrecorder

Idk if it is usefull for some debugging etc?
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
I use Eclipse ROM
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright @ace2nutzer

Me and @rtyuakatsuki using devbase

And @Driieel use eclipse rom, all of them are samsung stock rom based, so i guess the screemcam app has issues on this rom somehow, but guess it is fixable with a modification or something.🤷‍♂️
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I have use screencam tho but the error make timeline is broken and to fix it make separate sound from device
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Aka video duration is wrong and video and audio arent in sync?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
The video and audio is sync but the video duration get broke and cannot adjusted
[Samsung Galaxy S8 & S8+ Cross Device Development] MarkEsguerra:
Ill try to make log cat

---------- Post added at 07:23 AM ---------- Previous post was at 07:07 AM ----------

I tried to make phone call over wifi network, it seems that all app with calling features will encounter this bug. This is my logcat.

And my phone reboots after i end the call.

https://drive.google.com/file/d/15oWn_catY_0P2eNYXirHjIidkQ7JY1Vn/view?usp=drivesdk
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
It's still the same.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
The calling was ok with 18.11 Version?
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
Yes
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
OK, another try:

a2n_kernel_g950x_9.x.zip

a2n_kernel_g955x_9.x.zip

If it works, then please test everything ... especially USB Tethering (post on which OS u tested), VOLTE and multitasking with and without zRam.
[Samsung Galaxy S8 & S8+ Cross Device Development] Nitrogenous:
Your test kernel doesnt solve dial issue.

Phone reboots even before the recipient has accepted/refused the call. Lol

I noticed several GPU glitches and artifacts of rectangular shape while scrolling through basic low-usage apps like CPU spy. They dissapeared after installing a2n kernel control app and forcing default performance mode. Feels like unstable OC or too much undervolting to me.

Geekbench and CPU spy noticed little cores available 2002 mhz, but 1690 was the highest used - fortunately!

However, these apps also noticed big cores 2.81ghz cpu state available. I've never seen that big one.

I saved last kmsg as soon as the phone rebooted after calling failure.

https://drive.google.com/file/d/1I9xvD-S4hZxFemd3_w9FvenuthRorhGE/view?usp=sharing

edit: voLTE could be enabled but it didnt change anything in a particular way - dial resulted in reboot.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
:mad:

I'll take a look.

This shouldn't happen anymore, i've fixed.

.

U need to update to the latest App .. V.1.7

"Performance" profile is default but it corresponds to the stock Values of 1690 / 2314 MHz.

Only "Performance Plus" will use OC.

No, nothing of both, i've uploaded a test kernel without OC at all .. and the dial issue was still there.

Never UV, and i never will.

on latest test kernel i've re-enabled OC since it's OK.. i've just unlocked all the available freq steps from samsung source code.

This only allows u to set up to this highest freq ... but it doesn't mean that it's enabled by default. Default max is like always 1690 / 2314 MHz

Enabled all Steps to see if some phones can handle it. Again it's not overclocked by default. (2 system clocks are a bit overcloked ... but seems to be fine ... as it changes nothing if i revert to stock)

Yes this is right. :good:

OK ... i've still some ideas ... the problem is i've changed too much (to make this kernel very powerful) :o:D

But don't worry, all changes are documented thanks GitHub.

Looks like i've overoptimized :o

With some patience we will find all the bugs and then we've a perfect kernel. ;)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
OK Guys, now we will go a bit deeper.

I've uploaded right now a patched stock kernel for S8 [DSK9]

That stock Kernel should be used as a reference .. to find bugs in A2N Kernel.

So every time u find something is wrong in A2N Kernel, then just flash that stock Kernel and see if it works.

If it works, u need to report here in this thread and write "feature XY doesn't work but works in stock Kernel"

That way things will be a lot easier .. u can also (in addition) test if it worked with previous build.

Stock Kernel for S8:

http://xda.mister-freeze.eu/XDA-files/ace2nutzer/G950X/General/

Test Kernel:

a2n_kernel_g950x_9.x.zip

a2n_kernel_g955x_9.x.zip

What i already know:

it worked on previous a2n build.

What i need to know:

Is the calling audio working with the uploaded stock Kernel ?

If yes, please flash latest test kernel and see if it works now.

btw: if someone could extract the "boot.img.lz4" from latest stock ROM package for G955F .. it would be very useful .. so i don't need to download the whole zip. The boot.img.lz4 is inside the TAR package starting with "AP"

Then i can patch it and upload.

Btw: thanks for the last_kmsg log ... it's useful .. but still i don't get the point ... it shows errors with audio driver.

So i had reverted audio changes to stock .. and still didn't work in previous test kernel ...

So not needed to provide logs. (the error message is the same as before)
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
Fix the call that can't be heard., thanks bro
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
I don't know what this is, is it related to an unheard phone call? I have brought it up here for reference, sorry I don't know how to get logcat
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I think no ...

I don't need logs ..

I already have logs.

Later i'll upload kernel with hmp enabled .. for testing.. maybe that's culprit.
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
Wait. Thank bro

---------- Post added at 06:04 AM ---------- Previous post was at 06:02 AM ----------

Your kernel is very smooth, I am satisfied with its smoothness, and I will use your kernel, I hope it in the future
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Open the a2n app demo Version then check the App menu and tap on "debug"

There u can generate logcat and last kmsg.

It will save the logs to your sdcard.
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
I already have your official copy, thanks bro!
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Debug menu is only in demo Version !

U can get the Demo Version in post #3.

It is no Problem to have both installed...

Enjoy.
[Samsung Galaxy S8 & S8+ Cross Device Development] wlryss:
Hi..

1. Stock Kernel from G955FXXU6DSK9 Firmware - boot.img in ZIP archive

2. Stock Kernel from last G955FXXS6DSL2 Firmware - boot.img in ZIP archive - these Firmware - with December Security Patch from Samsung - no other difference..
[Samsung Galaxy S8 & S8+ Cross Device Development] enebro77:
How should I install it ? Just installing the typical zip ?

many thanks in advance
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@ up

It's only for developers.

I'll patch and upload it .. then u can flash it in twrp.

Otherwise your phone gets encrypted .. and u can't boot anymore ... then u've to start from scratch.

New test kernel:

a2n_kernel_g950x_9.x.zip

a2n_kernel_g955x_9.x.zip

[MENTION=4715658]wlryss[/MENTION]

Thanks for providing stock boot.img ! :good: ... as i can see u had it already decompressed from lz4 ? ;)

I've patched and uploaded it to my Download site ...

Can somebody please test if the calling audio works with stock kernel ?

If yes, please test also with test kernel, thanks.
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
the call was still not effective and could not hear
[Samsung Galaxy S8 & S8+ Cross Device Development] shayanb2004:
I can't event boot with the thing... Magisk canary problem
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks for the info guys ... I'll check when I've the time carefully. Actually I'm busy with private life.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Hmm weird
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Take your time dude💙
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I mean video playble but cannot adjusted to right time everytime you touch the time adjust that got restarted
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Hmm yea thats also a issue what exists, becus theres something wrong with the file when it got created
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Yes that right maybe the bug from creating file so the file maker need modification or fixed
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Yea, it only happens with recording with module and with just normal/mic/no audio it just decodes & saves fine, so theres something with decoding & saving the file when audio over module is used. Kinda weird
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Yup maybe the module is have bug and need fixed for now i have no time i have much spend time for school and find some money to continue make a little project for s8 plus and other stuff
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Anyway, when ace got time he looks to it and maybe get it fixed somehow😄
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
5Ghz wifi not working

Report dev 5Ghz wifi not detect the wifi
[Samsung Galaxy S8 & S8+ Cross Device Development] spdrfx:
I have no problem with that
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Which rom are you? I use devbase rom
[Samsung Galaxy S8 & S8+ Cross Device Development] spdrfx:
Im using lightrom. (S8, latest kernel)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Works for me, latest kernel & app.

Note: Android 9 doesn't support WPA3, so you need to configure your access point at WPA2.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Okey maybe the network right?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yes, your router.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I think my laptop dev hehe
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
You have to configure the network on youre router to wpa2 if thats youre wifi source
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
It doesn't matter if it's a router or notebook. You need to set wifi security to WPA2.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
New a2n app doesnt launch on phone bootup?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Works fine, did you check "disable autostart on boot" in debug menu?

Sometimes it can take longer, especially after wiping dalvik-cache.

So you may didn't wait enough.

Also if you launch the app yourself then it'll not launch once again.

It's not a stupid app.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Yea i checked that option but that wasnt the issue, i wiped indeed the dalvik cache becus my phone was acting weird but that was solved with it. i cant remember it auto launches but guess its just me 😅 anyway, i keep a eye out if it rlly happens or it is just my imagination lol
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Well i did the fix permissions thing and rebooted, and the app auto launched fine afterwards. So i guess something happend with it
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Nothing to do with it. "Fix permissions" doesn't make permanent changes to the /system/ or /data partition. It fixes only kernel permissions which are in RAM. The setting for launching at boot or not is stored in /data/data/...
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Then it fixed itself somehow🤷‍♂️
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah, or if it really didn't launch, then the only possible reason could be that the system was heavy overloaded and got killed by LMK, since it's a user process.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Hmm weird, on start up there runs barely anything so i dont see rlly a reason why lmk is triggered.🤷‍♂️
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Nope, on boot there is high load and high RAM usage, a lot of things starts up. In fact on fresh booted Android, RAM is already completely full and therefore you see even swap usage even if you didn't actually start any user app. That's just the Android design. But some RAM usage apps will show you that there is around 2200 MB free RAM. That's more or less right, because cache (anonymous pages) are seen as free pages to calm paranoid users that don't know how the Linux memory management works. Yes, even if there are a lot of apps in store like "task killer". Anyway, never faced this issue on stock ROM, so I suspect that it's another issue for custom ROMs.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Hmm seems to be right then, anyway got also bad news, becus i switch in few weeks to new phone when i extend my phone subscription so guess im then less active to test stuff lol
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Checked here on stock ROM with all 3 available resolutions from Android settings. Tested with auto orientation on chrome browser app and YouTube app (vanced). Tested all available resolutions on YouTube too, found zero issues.

You may need to use VP9 codec from vanced settings, it's much better, but HDR will not work.

Tested, it looks like it's magisk module incompatibility issue with our audio drivers, since it works fine if you choose "internal audio + mic".

To fix, it's needed to patch the module or to add some workarounds in kernel. But honestly I don't care much about this screencam app.
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
I went back to stock ROM with A2N. Looks good now. Does the S8 have HDR?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Probably not, works only over soft codec and uses too much CPU power, therefore I suggest to not use HDR at all on S8. Even the fact that it works smooth up to 720p with HDR. While on stock kernel it laggs at 720p HDR.
[Samsung Galaxy S8 & S8+ Cross Device Development] Driieel:
Sometimes I'm using my cell phone and out of nowhere it starts to crash too much, like now when I'm writing this. It also happened in Eclipse ROM. I can't say what it could be.