yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I'm aware of this issue, it'll be fixed on next build.

Install previous kernel build over the latest one or flash other custom kernel like you want.

i don't get what you mean, sorry.
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
@ace2nutzer After some random reboots, I decided to take a last_kmsg text so you can see the problem..

http://txt.do/1e3pa (IF UPLOADED FILE DIDN'T WORK)

Btw, have someone noticed glitches with Camera App in the last kernel updates? Like random crashes, slow-mo videos are very glitched..

Keep up with this great work!
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks for the log, i've already fixed all the reported issues.

Actually only remains to fix LPM (offline-charging).

So new Kernel + App Update again with some more unique features are in shortly online.
[Samsung Galaxy S8 & S8+ Cross Device Development] NewTheLife:
I'm talking about Rom customs
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Can you please be more specific and clear ?

(Sorry, but i don't have time to search what you mean.)
[Samsung Galaxy S8 & S8+ Cross Device Development] NewTheLife:
I don't get what you mean, sorry.

[/QUOTE]

https://lineageos.org/ add kernel custom ?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@NewTheLife

alright.
[Samsung Galaxy S8 & S8+ Cross Device Development] NewTheLife:
Thanks :/ I'm french ^^`
[Samsung Galaxy S8 & S8+ Cross Device Development] Kratos574:
I hace tried the kernel un many Versions but my phone overheats so bad with no Overclock or something done, Actually it gets than hot that the device shuts down cuz of tempeture
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Previous version should not overheat with Kernel defaults.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Yo bro ur finna make a andr 10 kernel if corsicanu releases the andr 10 rom?

Keepp upp
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah, maybe even in 2020 !
[Samsung Galaxy S8 & S8+ Cross Device Development] YMatrix:
Hello!

How can zram be disabled via script?

I tried running the zram0.sh but got errors during the run.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Run as root ...

./zram0.sh

But i suggest to downgrade to previous build for now .. because it's even unstable with zram disabled.
[Samsung Galaxy S8 & S8+ Cross Device Development] YMatrix:
Thanks for your reply. I took your advice and went back to the September version.

As for running zram0.sh, I noted earlier that I received errors, specifically on the # unload modules commands.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
The scripts are fine, but requires to run them properly as root.
[Samsung Galaxy S8 & S8+ Cross Device Development] YMatrix:
Of course, I didn't mention the su command I ran before running the script.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Bro corsicanu released it. today succes with makin the Q a2n kernel keep up
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Lmao just realized how trash phone is without ur kernel 10% gotta wait 6h for full charge my phone can't live on without ur kernel hope u have it soon bro sorry if I am pressuring u keep up 🙏
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
@ace2nutzer Any news about releasing your custom OS? And when do we have to expect an A2N kernel update?
[Samsung Galaxy S8 & S8+ Cross Device Development] Inasbae:
Waiting for Android 10 support :)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Kernel and App Update should be there in these days. But custom OS will take more time, probably in 3 months.
[Samsung Galaxy S8 & S8+ Cross Device Development] Inasbae:
How about One UI 2 support? Like on Hades Q ROM? We need you charging feature bro :)
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I got some random reboot when 33°c when i open the phone and unlock with fingerprint it got lag and reboot and Signal problem when use SIM card got heat always search signal when screen phone turned off and got battry drain fast i suggest you to make phone not search signal when idle or make an estimated time to search signal when idle to keep battery not drain and report from me after use this kernel 3 days the problem is when idle SIM signal search make battery drain fast i hope you can fix this Log cat
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
last_kmsg.txt

drive.google.com
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Ouh ya i miss one thing "suspend" i think that make battery fast drain i hope you make option to turn on or turn off i hope you can make it for

next update
[Samsung Galaxy S8 & S8+ Cross Device Development] Poodlemastah:
Any chance of a aosp 10 version? With a 11 coming? ;p it's the future for this device i think.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
What's wrong with suspend ? - It's a standard kernel feature.

As for your reported issues: wait for update, thanks.

Maybe yes, it depends on my motivation ...
[Samsung Galaxy S8 & S8+ Cross Device Development] powerskunk:
Hello the 12 modules are loaded but when I restart the cell phone are deleted, any suggestions?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
It's normal and not important.

It was just a test to see if it works with other non-standard drivers.

But you say it didn't work at all, so i assume it's related to the Custom ROM that multiple sound devices aren't supported or we still miss an sound driver in kernel.

In the maintime u can contact the manufacturer which drivers are needed to make it working on Android 8 running Android Kernel 4.4.x.

U can send them also the currently tested kernel config where it doesn't work at all.

Link:

https://github.com/ace2nutzer/Samsu...be3509122a/arch/arm64/configs/g950f_defconfig

Another option:

on my latest kernel, whithout to load the modules, just plug the usb audio stick and then immediately open A2N Kernel Control Demo App and go to "debug" menu and generate a logcat & dmesg and post it here.

Edit:

@powerskunk

Did u read this?:

https://www.hidizs.net/blogs/news/h...with-hi-res-sound-with-sonata-hd-dac-cable-ii

They say u need HibyMusic app on Android and maybe u need also to flash other firmware to your Audio Device to get it working.
[Samsung Galaxy S8 & S8+ Cross Device Development] powerskunk:
If I update the firmware of my dac and I am also using hiby music and usb audio player pro and it does not work :(, logcat & dmesg they are in Google driver.

https://drive.google.com/folderview?id=1sMc_oy6tbGLNz95bUYOeMYW0BDvckzXd
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
it doesn't help much unfortunately.

it's quite hard to fix a device that i don't own.

last Chance ... send e.mail to the manufactured like i said.

can u please send me that Kernel via pm ?

As i don't have Telegramm Account.
[Samsung Galaxy S8 & S8+ Cross Device Development] rubene66:
Kernel is working great here with alexis rom ?
[Samsung Galaxy S8 & S8+ Cross Device Development] simonk206:
Hey. I found another bug.

After reboot, Swap is 0MB and I have to re-enable it to get it working.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Hi !

I've checked this after 1:30 boottime and swap is there.

Basically all the Custom Settings are set after the system reports

sys.boot_completed=1

So probably u checked too fast ... :D

And if i'm not wrong and a user have many apps installed then it can take longer till the system reports that it's completed booted up.
[Samsung Galaxy S8 & S8+ Cross Device Development] simonk206:
Hmm strange. But not 5 hours lol if I disable and re-enable it it's fully there after some minutes.

---------- Post added at 05:37 PM ---------- Previous post was at 05:34 PM ----------

I know the easiest fix. Enable it by default in kernel and let user disable it if they don't want it. :D
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I would try this:

- uninstall the app

- install the app from play store

- flash kernel again

- make sure u don't have apps that are able to disable "swap".

If the issue still persists, let me know please.
[Samsung Galaxy S8 & S8+ Cross Device Development] simonk206:
It seems that fixed it. Thanks :good:
[Samsung Galaxy S8 & S8+ Cross Device Development] :
After some time thinking, I decided to root and use custom ROM + kernel for my J7 2017 (RIP Knox things)

So i wanna know something about your kernel:

- What are your governor and scheduler config?

- Did you use crappy vnswap or zram? Can I just disable swap? Will it save battery life? (I think 3GB RAM is enough for normal usage)
[Samsung Galaxy S8 & S8+ Cross Device Development] Mangtas_666:
You have to buy the separate app at playstore to see the governors and fine tune the kernel to your liking.
[Samsung Galaxy S8 & S8+ Cross Device Development] :
I don't have an S8. I just ask how can I tweak governor and scheduler.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Hey! - Nice to see u here from Ace 2 xda ...

I'm using here like on the Ace 2, Deadline I/O Sched and Interactive Gov.

U can use them on every Android Phone. - It's the best choice.

Deadline is optimized for Flash-storages, and Interactive Gov is a specfic Gov made from Google for low-latency workloads, specific made for Android, because we want it smooth ... we don't like lags.

The I/O Sched doesn't need any adaption to the Hardware, but the Interactive Gov yes.

Unfortunately Google/Samsung defaults (Gov tunables) for the Interactive Gov aren't best.

On the Ace 2 it was causing lags while here on S8 it caused bad Idle, so too high power consumption.

With root you can try to adapt Tunables like we are using here:

https://github.com/ace2nutzer/Samsu...b/g950f/drivers/cpufreq/cpufreq_interactive.c

After u set them, then change permissions to those tunables to "chmod 444" .. otherwise Android will override them and u've again a bad config.

Compare the Tunables with the one from Ace 2 .. if they are same .. then there's some chance that it'll work as well on your Device.

By default it was sswap with 2GB on a 4GB Phone lol .. which was really painful.

This is the first thing i've disabled. And added zRam Support with efficient LZ4 Compressor.

Yes u can.

Yes it'll .. as well it'll improve performance.

Android's Memory Management is designed to work without swap at all.

If u're paranoid about running out-of-memory or want some more multitasking then use zRam (50% from RAM) and don't use vm.swappiness higher than "30".
[Samsung Galaxy S8 & S8+ Cross Device Development] :
I am not familar with GitHub... So can you give the tunable here?

Samsung use vnswap and compress 50% of our phone's RAM size. You can see it in my screenshot below.

Let's see...

With 3GB RAM there's shouldn't be many problem for me :good:
[Samsung Galaxy S8 & S8+ Cross Device Development] :
Lol forgot to post screenshot ! :D
[Samsung Galaxy S8 & S8+ Cross Device Development] parser:
there is a module called swap torpedo in magisk. Give it a try [MENTION=6973536]bien2004official[/MENTION]
[Samsung Galaxy S8 & S8+ Cross Device Development] :
That did it. Thanks :good:

Can you use another kernel adjustor app (like Kernel Adiutor) and post interactive default tunable here?
[Samsung Galaxy S8 & S8+ Cross Device Development] parser:
I am not on this kernel sorry.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
u can use exactly the same tunables like on latest A2N Kernel for Ace 2. ;)

At least it works fine if the kernel is built with HZ=300.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Suspend is good when scrolling but that make battery drain can you make the turn off button just that from me i hope you can make it
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Suspend ? Or touch Booster ? 😉
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Sorry i mean that touch booster 😂😂😂
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Yoo broo i dont know whats happening but i got hard fps drop my phone is litterly not heatin at all and i get around 30 15 fps while usually i get 45 to 60

I overclocked gpu to max and cpu to 2496 and cpu cool 2574 and i enabled all big cpu cores i tried resettin yesterday but it didnt help at all

Pls help me if possible

Keep up
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Fixed it i didnt give root acces to a2n kernel app thats why lol
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I think you must open your phone and check the thermal pad or add some thermal paste may work i do that and i got some boost performance when play genshin impact with this kernel stable at higgest settings buat some stuter cause 80°c 😂😂😂
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Hahahah that wasnt it thanks tho
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
I tried gpu freq on max and gpu freq cool too but i get some random lag and no reboot or overheat can you make it more stable?

Thanks keep up the good work tell me if i can help u with anythin i am a noob tho
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
hope you are working well on the next build. hope you're kernel let us beat the recent hades rom. i tested it.. hades beats a2n in some benchmarks although it has low clock speeds. take your time and work well on the kernel. I really appreciate your great work.

Keep up and Good luck (y)
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
a2n is much better tho it has better performance and battery life i got back to pie cuz it was that laggy on hadesQ and no fasting chagring while this kernel has everything i need
[Samsung Galaxy S8 & S8+ Cross Device Development] Amrch787:
This kernel won't work with hades one ui 2.5,if i understood correctly?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Currently only Android 9 support here.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Are my battery must be replace?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Nope, health 90% is pretty fine, my battery's health is 84% and it is still good.
[Samsung Galaxy S8 & S8+ Cross Device Development] maej72:
Hey what application is this?

I want to know my battery health too :D
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Next version of my app will show this too. (in both full & demo version) ;)
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
yoo when its coming
[Samsung Galaxy S8 & S8+ Cross Device Development] JuanMat97:
Your kernel is best of all, please make for One UI 2.5, your full version worth every penny
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
I noticed s8 performance drops and I get a slight fps drop but this didn't happen in the first week when I flashed the kernel, I got constant 55-60 fps on the first week. Any reason behind this?.. I usually clean dalivk and cache always before gaming and charge the phone to 80%. I use battery idle most of the time when gaming. my performance profile is performance plus with cpu dfvs 2.5/ gpu 572 / zram 0 / lmk 128 / AC 1800. Hoping for a reply from the developer, Thank you(y)
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Hello, this kernel looks great, I would like to try it, with which custom rom do you recommend me to use it?

I am currently with horizonRom
[Samsung Galaxy S8 & S8+ Cross Device Development] leonidasZ953:
I'm using with Hades rom..its best for me
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
Since Im gaming i use horizon, if u not a heavy gamer and u wanted to complete the basic tasks hades rom is better.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Well I stay on horizon Rom, I just need to go to twrp recovery and flash kernel, without wipe?

Obviously to buy the control app a2n kernel manager (y)
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
I use eclipse rom
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
I downloaded the app a2n kernel manager, but i can't find the governor settings, i would like to increase up_threshold because my goal is battery life.

Thanks to the developer
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I suggest for now "Kernel 2020.09.27" until i'll finally upload new version.

For gaming it's likely better to use zRam at least at 25 % and or try different LMK value.

Keep in mind that changing zRam value without to reboot will heat up the phone for a few minutes ... that's why most kernel developer don't offer to change the size on-the-fly as well not to allow to turn it off.

That will be reimplemented in coming version ... together with "boost" and "touch booster duration" since a few users was asking for those settings. (and a few brand new settings never seen before ;) )
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
bro u finna release andrQ kernel only or release pie version and Q version
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
New Kernel + App update is coming, but nothing for 10 for now, but i'll work on it.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Top kernel top developer!
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Thankss keep up the good work(y)(y)(y)
[Samsung Galaxy S8 & S8+ Cross Device Development] JuanMat97:
I back to Pie and install A2N again obviously, but the cell phone freezes often and I can't even have 2 applications in the background. What can i do?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Flash latest kernel from 2021.01.20 ...

I just hadn't the time to announce and to write a changelog.

Later i'll do, but you guys can already now download the new kernel.

App 3.1 is on the way ...
[Samsung Galaxy S8 & S8+ Cross Device Development] JuanMat97:
Thankssss!! I will install right now!
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Lets goooooo i was deleting app to get update but lol now i understand why it didnt work thanks for kernel keep up broo
[Samsung Galaxy S8 & S8+ Cross Device Development] maej72:
Thank you dev, but there's no demo app
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Sure ? - Demo App V. 3.1 should appear after a few seconds once you enter the SIM PIN.

Actually Full V. 3.1 is not on the market, but later ...
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
You have run the correct guide for the flash kernel which is on the first page of therad?

I confirm that the demo kernel control app is present.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Demo app installs automatically after kernel flash, right ?
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Yes, there are no problems for me.

Thanks for the new features for the governor settings, I await the full version to tinker (y)
[Samsung Galaxy S8 & S8+ Cross Device Development] maej72:
Yup thanks dev, my bad didn't give it enough time.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
OK guys, finally now we have it !! :love:

So i represent to you the new A2N Kernel and app release ....

This is next level development​

Changelog

Kernel V. 2021.01.20

Optimized system clocks

Fixed stability issues with/without zRam from previous release

Charger Control: added battery volt & battery (charge) max_temp interface

Reverted all temperature settings to stock

HACK: allow to reset battery capacity without JIG :cool:

FIX: fast charging in LPM and any issues with fast charging, likely with wireless fast charging

CPU: updated ondemand governor

GPU: added a simple ondemand governor ;)

Source code cleanups

Reduced log buffer to the Min

Reenabled touch booster driver

Swap: improved zRam performance (page-cluster reset to stock)

Wi-Fi: allow to disable 5 GHz or 2.4 GHz band (this will fix severe issues with Wi-Fi routers that doesn't allow to use different SSID for 2.4 GHz / 5 GHz band)

Extended driver

RAM: 3724 MB

A2N Kernel Control V. 3.1

Power: added "Battery Voltage Check"*

fixed 3500 mA current for S8+

added "Battery Cycles" & "Real Battery Capacity" and allow to reset it*

added "Max Charging Temperature"

CPU/GPU: readded "up_threshold" & "Disable Boost"

added "Increase Sampling Rate"

Added more dialogs / checks*

RAM: optimized "Drop Caches / Buffers"*

Screen: readd "Input Boost Duration"

Added a quick 3-way reboot menu*

Network: added "Wi-Fi Band Set"

Stability fix*

Grammar fixes*

Updated defaults

* free in demo version

------------------------------------------------------------

Version Info

I suggest to downlaod as well latest magisk.zip and magisk_uninstaller.zip to have a clean and stable installation.

You can download latest official Magisk from here.

You don't need to download latest magisk_manager.zip since latest version is already in magisk.zip.

Latest A2N builds like always from here.

Please download also latest patched TWRP from "General" folder.

How to upgrade to the latest Magisk, A2N Kernel and TWRP:

install first the latest patched TWRP from me

reboot to recovery

flash magisk_uninstaller.zip

reboot to recovery

flash latest A2N Kernel

flash latest magisk.zip

wipe cache / dalvik-cache (optional but recommended)

reboot to the system
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Great! Nice work with the latest version of the kernel and app (y) :cool:

I had a question, setting the power save profile in the control app, this only adjusts the cpu / gpu frequency and is independent of the governor settings such as up_threshold right?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yes that's right. :)
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
I need some help (especially from power users):

Few days ago I performed a clean install of stock S8 firmware for some testing, then flashed A2N kernel (before @ace2nutzer announced latest update) and noticed some overheating, especially when gaming, then I updated latest A2N kernel, along with reinstalling magisk, but this overheating still persist when gaming (or other process that consumes a lot of resources). Before clean flashing stock firmware I didn't encounter any overheating with A2N kernel.. Any ideas how to solve this problem?

EDIT: I also used battery Idle mode, but I've seen it was quite ineffective because my battery kept charging somehow (+3% in 40 min) something that didn't happen before..
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
You need to be more specific, what rom are you on, did you perform a full wipe?

I am currently with HadesRom 12 (Pie) with the latest kernel version, I use the power saving profile in the A2N kernel app settings and I have no overheating even in game (I only play to Yu-Gi-Oh! Duel Links).
[Samsung Galaxy S8 & S8+ Cross Device Development] moreformusic:
Read my post again but carefully, I already specified that details
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Forgie me I read quickly.

I would try to add on custom Rom, the stock firmware one sucks, it's too bloated with junk.

All it takes is heavy gaming, crap processes running in the background, a high gpu frequency and you have heat.

Flash wipe and try again.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
You are right, tested right now and GPU high temp throttling doesn't work at all and CPU throttling works but seems to be not very well optimized.

It worked before .. so i didn't test it again, i think that issue was introduced after readding GPU OC.

I'll fix it now immediately.

That's normal +/- 3 % after long time because it's not possible to supply the phone 100 % with cable-only.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
After 3hour play game if i am not go anywhere except that app nice bug 😁😁😁 and of course sometime throttle but only 5min after that stable forever
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Please what ? :unsure: