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

All right, many thanks !
[Samsung Galaxy S8 & S8+ Cross Device Development] Contaxx:
There was a reboot last night, anything around 11-12 pm. Since an update in January I can't really open the a2n pro app. It always collapse when I want to use it. It grants root rights and I shall reopen it. When I reopen it,it crashes.

Since the same update my phone shows me a new Samsung patch april 2021shall I update?there is also an Google speech update error since this all appears. I think all of it happens since build 1.10 or 1.16 .

Sorry that it took so long for my logcat, but I know how to post my log logcat since the small post above :D...
[Samsung Galaxy S8 & S8+ Cross Device Development] Contaxx:
Another reboot, phone locked on table and suddenly reboots 10.31 am
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
For random reboots please post last_kmsg as well.
[Samsung Galaxy S8 & S8+ Cross Device Development] Contaxx:
Sorry my fault :)
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
Random reboots
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks for your report !

Kernel issues will be fixed in next build.

As for app crashes: wipe apps caches and then in recovery wipe dalvik-cache.

As for A2N app crashes: check post #3, i've added info on how to fix it.
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
I also hope that the random version will be fixed in the new version. I had to install another kernel today. I really needed to call and it just restarted! When can we expect a new version?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@ up

Sorry for the inconvenience. ETAs on XDA are in general not welcomed.

Because it's very difficult to estimate when something gets fixed and when the release will be uploaded by the developer.

Because most of us do this in the free time and mostly of course for free.

I'm working on it and i hope in the next days i'll release it.

btw: you can also use Samsung kernel from my FTP server. Fully patched, ---> removed forced encryption etc.. It's DUA3 build-release. (latest for EUR)
[Samsung Galaxy S8 & S8+ Cross Device Development] Snowers96:
I´m currently using Stock ROM 9 May 2021 security patch ZTO CSC with this kernel and for the last 4 days i haven´t got any crash or reboot.

My device is encrypted, i´m using Magisk 24.1
[Samsung Galaxy S8 & S8+ Cross Device Development] Snowers96:
I´m suspicious that the kernel hears us, because 1 hour after i wrote that, the ROM crashed when i was editing quick settings haha Also, i was charging the phone, if i not remember bad another guy has experienced a reboot while charging
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
While charging, my phone also restarted several times at the A2n kernel.
[Samsung Galaxy S8 & S8+ Cross Device Development] Epil0g:
Got random reboot
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
Self reboots in charger in 23:35
[Samsung Galaxy S8 & S8+ Cross Device Development] zaroc:
Sorry,

Can I use only Kernel linux like a PC Linux?

https://xdaforums.com/t/samsung-s8-any-phone-smartingtv.4403195/

Thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] madhatter57:
My camera app has been crashing constantly for a while now, and camera is not working on some apps. I'm on horizon ROM which is based on note8. Do you still need logs?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Probably due to missing patches, try the patch here attached.

If it works, start camera then generate logcat please.
[Samsung Galaxy S8 & S8+ Cross Device Development] madhatter57:
That patch didn't do any good unfortunately brother... Just so you know i am using the latest stable version of a2n kernel for s8.

Thank you for your work!
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Ok, start camera, then post logcat.
[Samsung Galaxy S8 & S8+ Cross Device Development] madhatter57:
Hope I'm doing this right ...
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
hi guys, hi dev. a question, could it be that the a2n pro application is down on the server?
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
I had exactly the same problem like you, nothing even helped reinstalling the apk even though I cleaned everything in the apk! In the end reinstalling the A2n kernel again helped me. But I still have a problem with a self-restart. I'm still waiting for a fix for this problem. I hope it will be available soon!
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
For app issues, check post #3.

Anyway it should work now.

As for reboots: like a said it'll be likely fixed in next release of 99,99% !

Please be patient guys and everything will work fine.
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
Do you still need to send information about restart errors? Or do you have enough information?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I've enough informations, thanks ! - Only need some patience now. Compiling and testing kernel can take some time.
[Samsung Galaxy S8 & S8+ Cross Device Development] Orian007:
I have installed the a2n kernel in the hades V3 ROM and it gives me a constant reset and I have had to reinstall the ROM again
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
And did you install the patch? I installed it on hadesRom v12 and also my phone didn't want to boot after installation! But the patch has already solved it! But I recommend you maybe wait until a fix is available for spontaneous restarts! I'm also waiting for that now, and I have another kernel installed at the moment.

Edit:

But now I see that you have about Q v3 and it's Android 10, so in that case I don't know if it will work for you? ! I think the A2n kernel is only for Android 9! But I don't know it 100%. You will see what information the kernel author gives you!
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thread title: [9]

Post #3: FAQ: the first one ... only for Android 9.
[Samsung Galaxy S8 & S8+ Cross Device Development] madhatter57:
reboot...
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
It shows service currently unavailable from last 48hrs, unable to verify license and use a2n app
[Samsung Galaxy S8 & S8+ Cross Device Development] Kostik680:
everything works
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Any updates about the upcoming build? Its a while i heard something😛
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
No, there's definitely some issue with license check server, it's been 3 days, it is showing service unavailable

@ace2nutzer
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Check the FAQ (post #3), i've added informations on how to fix "service unavailable".

As for the new build: It should be usually already online, but there was some personal issues. Anyway got everything sorted out, now i'm back and working on it. It's basically nearly done and probably we will fix many things incl. annoying reboots for some usecases / custom ROMs.
[Samsung Galaxy S8 & S8+ Cross Device Development] madhatter57:
Found something funny today... On the app CPU-Z it shows I have a 3300mah battery installed. My phone is S8 and the rom is horizon based on note 8. I don't know if this is kernel related or not but I thought I'd leave this here, maybe it helps on something
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
In fact Note8 has 3300 mAh battery.

Because CPU-Z shows the hardware info according to the build.prop flags. Something like:

ro.build.product=dreamlte // S8

but you have:

ro.build.product=greatlte // Note8

But in settings app, there is also something about battery info, there it should be right to 3000 mAh. Anyway in kernel it should be right and is more important.

You can check if the battery charging driver properly recognized your phone by checking in:

/sys/kernel/sec_bat

there should be a sysfs interface named: "s8_mode" or "s8_plus_mode" or "note8_mode" if you open it, you see the max allowed charging current which correspond to the battery max capacity. (1C charging speed)
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
Got it fixed Thanks👍
[Samsung Galaxy S8 & S8+ Cross Device Development] Snowers96:
Hi! Some people claim that L1 in Netflix dont show the videos as good quality, only on 540p like L3, someone else has experienced the same?
[Samsung Galaxy S8 & S8+ Cross Device Development] rjmsantor:
@ace2nutzer I installed the latest version of this kernel yesterday and I always have random reboots. I did not change any settings yet.

Here are some details:

- Samsung S8

- With TWRP

- With installed Magisk 2.41

- Stock Rom (April 2021 update, latest Android 9)

I tried using the balanced profile in the kernel control app but it still randomly reboots. What's the best config for S8?

Hope you can help me fix this. Thanks!
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
Waiting for a new kernel version to be released which should fix this problem! Which ace2nutzer promised, but somehow it still doesn't work out.For now, I have a different kernel installed for this reason.
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
be patient, this developer is doing an impeccable job, day by day he is improving and optimizing his kernel. He also takes the time to answer each question, you have to be very grateful to him.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Anyone a idea to get netflix playing in hd with a rooted device? Kinda a pain that everything is in low quality😑

Edit: got a patched apk of it and it allows play in hd now.
[Samsung Galaxy S8 & S8+ Cross Device Development] Snowers96:
Could you share the link of the patched apk?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@Snowers96 for some reason i cant put links here but you should search on google for "Now Watch Netflix in HD & Ultra HD on Poco F1!!" It should bring up the thread from xda
[Samsung Galaxy S8 & S8+ Cross Device Development] Arnz09:
Unable to validate license error pls help.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Such issue can happen if you purchased the app with Google Play account A and then you log out and try to use your phone and Google Play with account B. Anyway, i've just refunded your order, so you can simply purchase it again.
[Samsung Galaxy S8 & S8+ Cross Device Development] Arnz09:
Yes I will purchase again. Anyways, how about the license check error part how to fix that?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Well, you need to use the A2N app with the same Google Play account you had purchased. Also you need genuine Google Play.

Check the FAQ, there are some hints how to fix that issue.
[Samsung Galaxy S8 & S8+ Cross Device Development] Arnz09:
I did use the A2N with the same google account used in purchased and the Google Play comes from the phone itself so it is genuine. I read the FAQ and did the possible fix but still got the error.

Edit: I think the problem is from the server. I opened the demo version of the app and tried to go to "Check Kernel Update" it prompted that my device is offline and I do have internet connection.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@Arnz09

It's not server issue, it works fine here.

Was you able to open the app at least one time successfully ?

Your app needs internet access. Check if you'd enabled some battery saver feature that blocks internet access to user apps.

You need to allow it for the A2N app.

Try if it works, if not, post a screenshot of the error please.

btw: New kernel & app is in around 2h online, but i doublt that it'll fix your issue.
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
Will the new app be just the free one or the paid one as well?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Both versions.
[Samsung Galaxy S8 & S8+ Cross Device Development] Arnz09:
Yes I was able to open the app successfully then the next morning I was off going to work suddenly the app says "Unable to validate license. Please check your internet connection." Then that was the time that I tried all the possible fixes and nothings working I keep getting the same error. Actually I just factory reset my phone and still I get the same error.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I was thinking maybe it's related to some VPN/proxy server ?

Anyway, you are actually the only one with this issue.

Lets see how it goes with the new kernel and app.

But the license is right, i saw you ordered again.

btw: if nothing helps, try with a german proxy server.
[Samsung Galaxy S8 & S8+ Cross Device Development] Arnz09:
How do you do that proxy server thing? I'm not using VPN tho and I cannot check for update since it keeps having the error "Please check your internet connection."

Edit: Holy crap! Found something interesting. I go to my network settings and I put private dns (dns.adguard.com) viola! The problems gone and got to use the app.

Edit: Thank you for being so responsive eventhough you are busy.
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
And where can the new kernel and app be downloaded ? You have here still written 2022.02.06!
[Samsung Galaxy S8 & S8+ Cross Device Development] antimon95:
A2n kernel not working

"Oops"

Service not avaiable, try again later..

I' am trying later for 4 days, and stil nothing.

Btw, kernel is extremely unstable, can't get more than 1-2 days stable even in all stock settings.

It freezes in Pubg, random reboots, black screens, random reboots like 5,6 times while charging and so on.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Becus he is still working on fixing stuff probably :)

It is becus the kernel is not fully stable yet, it needs testing and fixing stuff to get it stable, maybe this time it is more stable than past releases, and about the app issues i recommend to contact ace about it
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
Oh, but yesterday he said it would be on the net in 2 hours.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Unfortunately there was a problem, it serves nothing to upload a buggy build. So better waiting a bit longer to get all bugs fixed. It'll be today online (german time). I'm sure you guys will be very satisfied with it.
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
THX😁
[Samsung Galaxy S8 & S8+ Cross Device Development] Snowers96:
Hi! It´s there any risk to update the kernel, when i currently have the latest kernel build with Magisk and the phone Encrypted?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
The warning already answers your question:

Hence you can flash latest kernel and then Magisk in a row.

As for A2N app full version issue: like always check the FAQ in post #3 !

I'll add a link to the FAQ in the app since some users don't follow this thread apparently.
[Samsung Galaxy S8 & S8+ Cross Device Development] antimon95:
Here is what happened to me today.

This morning app doesn't work, went to work 8h, after work, tried app and now it works.

I want to say that google play has no any impact on app. Neither I do some updates or simillar.

And one more thing.. I fully support your work, but you didn't mention anywhere problems about reboot on first page.

In fact, you mentioned only positive things...

Well I think that is more important safe daily phone than everyday crashing or rebooting phone.

Regards
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
4days? My minr work well
[Samsung Galaxy S8 & S8+ Cross Device Development] Arnz09:
Try to put dns maybe it can fix your problem.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Btw, when the new kernel gets released ace2nutzer makes a anouncement about it so keep a eye out for a anouncement :)
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
We're keeping an eye out, but somehow the release keeps getting delayed 👆
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Just have patience, ace do his best to make a good kernel and fixing stuff so yea
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
I understand that, but two days ago he wrote that it would be released in 2 hours and nothing came out. Then yesterday he wrote that it would be released in the evening and again nothing! It's better to just write wait I'm working on it and not give any release date, right?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
You are right. In fact when i wrote it'll be online in 2h, it wasn't really fully done, i had only to do some final checkups and miserably WiFi-Calling was broken. Anyway, now everything seems to be fine and it's been ready to download ! - I'm just writing changelog and editing thread title.

Again, sorry for the inconvenience and the long waiting.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Finally new kernel & app is up !!

Changelog

Kernel V. 2022.03.05

Improved stability - needs some testing now

Improved memory management

Improved performance & battery life

CPU/GPU: updated DVFS driver - reverted to max 95 °C

CPU/GPU: updated ondemand boost logic - uses only min/max freq to reduce freq switching related lags !

Fixed potential deep sleep issues

NET: moved L2TP & Wireguard to modules - (you can load modules over A2N full app or over init.d script)

GPU: updated driver - memory allocation improvements

USB-OTG: should support now also USB 2.0 & USB 1.1 devices (not only USB 3.0) - needs testing

Dex: re-added patch: enable Dex with any HDMI adapter (was accidentally removed)

Experimental: Dex: support more resolutions

A2N Kernel Control V. 4.3

Network: added L2TP & Wireguard support

Updated defaults

Bug fixes

Improved stability

Flash and feel new user experience
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
i feel lag and this my battery voltage may cause the lag?
[Samsung Galaxy S8 & S8+ Cross Device Development] Arnz09:
Nice 😊
[Samsung Galaxy S8 & S8+ Cross Device Development] kvasimodo:
Thank you very much. I'm going to download the kernel and full app right away, and I'm going to try it out. Thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer is it normal the phone is rlly laggy? Like scrolling trough pages on facebook etc and UI stuff gets laggy? also video playback is laggy sometimes
[Samsung Galaxy S8 & S8+ Cross Device Development] leonidasZ953:
And me same, 4000 plus voltage and I got very lag (Facebook,games)
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Yea, its a kernel issue, i tested it with nx kernel and theres no lag, so theres something wrong with it, anyway ace should know it already when he tested it and prob fixing it.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah probably due to the new cpu gov scaling logic. You can set touch boost to 120 ms or more. In addition: CPU lit big/GPU: enable boost and set up_threshold to 45. On next build i'll fix all lags. It was too much optimized for battery life.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright thnx, confirmed that it fixes the lag for meanwhile.

Edit:

Its still hard lags sometimes where the device gets unusable, anyway better than the continuous lag like before
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
This build is great!, atleast for me, battery life is definitely better than previous builds where I was having lower SOT,

@ace2nutzer great work👍, continuous these changes

Initially it was lagging, but after I wiped and reboot twice, dalvik cache builds on second boot, now it is fluid, no lag at all, even after underclock.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Its weird, i did the same thing as you and its still lagging, wipe dalvik cache>reboot>first boot optimalisation>reboot after system is fully booted=still laggy, did i miss something?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Before you reboot make sure little cpu is on IDLE 598 MHz. When it's at max freq dalvik is still optimizing.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Ah i see, well ill keep an eye out when thats done it runs better.

Well it runs fluid now, tweaked also the a2n kernel settings again and it works out now, still not as good as the previous build but for now good enough
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah that's right. Please set swappiness to 200 (new default anyway) and zRam @ 100 %.

Lets see if we can pass finally 1 week without a single hard/soft reboot.

If we pass it, i'll build new release which will fix all lags.

On the current release i was more concentrated to improve stability and memory management. Next build i'll concentrate on smoothness and faster reactions to user inputs. I already know how to do that.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Well theres no way i can complete a 1 week stability test without restarting it becus i had 2 times already i had to force restart the phone becus it didnt respond anymore becus of the lag🤷‍♂️
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Sorry double post it somehow🤷‍♂️ anyway ignore this one xd
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Me who needs 100C DVFS for benchmarks: Well I guess I’m skipping this one 👀
[Samsung Galaxy S8 & S8+ Cross Device Development] Epil0g:
Same here, phone freezed few times and had to force reset it.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I think cause of lag is memory management i see the ram is have more free space then before check it on hk tweak at virtual memory you will see ram have more space and zram have much used but the app always get closed if them want to run background
[Samsung Galaxy S8 & S8+ Cross Device Development] antimon95:
Same here...

Completely disaster, tested new kernel and new app also.

In 2 days I had like 5 forced restarts because of black screen or freezes. I perfectly installed with cleaned cache and dalvik cache.

There is something wrong with this "update"

Guys do not update to this version!!
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yes something went wrong with zRam.

Therefore based on kernel defaults, you only need to set input booster to 3000 ms. This will make latest build fast and smooth. That means keep zRam at 0 % for now. I'll fix this, I promise.

Going back to any older release is not a good idea, because you will face random reboots even with zRam disabled (0 %).
[Samsung Galaxy S8 & S8+ Cross Device Development] antimon95:
Default is 0% zram so it doesn't help.

Today i made like 10 forced reboots..

Tried everything stil cannot get 24hrs stable
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
When phone is booted up, wait 5 minutes, then check with terminal emulator app:

free -m

Because it works perfectly for me without swap. I wouldn't upload such a bad kernel. My bad that i didn't test zram at all, due to the lack of time.

But everything else is tested and works very well. zRam is optional and not required on Android for properly working OS, but yeah it's an optimization indeed.
[Samsung Galaxy S8 & S8+ Cross Device Development] psygenius:
I'm experiencing no issues with zRam at 0% and with touch boost at 3000 ms it's actually very quick. Previous instability seems to have gone, but I suppose it is too early to confirm full stability.

Thanks for your continued efforts on this @ace2nutzer. Once zRam lag is fixed we might finally have the perfect s8 Kernel. Amazing work!
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Seems like your suggestions worked, kernel is now fluid like the previous release, anyway less multitask this way but better than unusable system with lag😛
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer system got again unresponsive so bad i had to do a force reboot.

Settings:

Zram 0%

Touchboost 3000ms

Cpu boost on

Gpu boost on