yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Oh btw, maybe i readed it wrong but devbase is a close to samsung stock rom so yea thats why i maked a editted version of the patch for the rom becus it is changed by the devbase devs, so yea i guess i get becus of that a bootloop becus i didnt flash the one from your ftp instead without editting it. Without the patch causes that kind of issues like bootloops? Becus i tried without it
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Nope, the patch contains only 2 libs for secure storage and 2 firmware files for the camera. They need to be replaced on stock ROM otherwise you get stuck on bootanimation (bootloop). But on custom ROM those files are already patched by the ROM developer. If not, you should report it to the proper thread. This kernel works best with stock ROM.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Okay thats why i got bootloops then, well i try it again with just flashing the patched zip.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Oh well I'm on Custom ROM, but one that is basically stock firmware but better. So I'm gucci :cowboy:
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
2652MHz is now stable :O

Other than that, I can't really see any other improvement. No random reboots though. Stonks
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Okay it works now with flashing the patched zip file😄
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Forgot to mention, in latest build zram @ 100% is safe. And we have full RAM 3717 MB. All optimizations are enabled.
[Samsung Galaxy S8 & S8+ Cross Device Development] incognitonk:
The ROM i'm using, HadesRom P, doesnt have all the files in the patch zip. I can only find lib/libsecure_storage.so. What should I do in that case? Would replacing just that one file be enough? Because I did that, flashed the patch and then the 12-20 kernel. But now my secure folder does not work.

I then dirty flashed the ROM, followed by the kernel and magisk, got a bootloop.

Then I flashed the clean patch.zip and then kernel + magisk, now my phone boots, but still no secure folder.

Is there anything I can try before I do a clean flash?
[Samsung Galaxy S8 & S8+ Cross Device Development] madhatter57:
Previous version couldn't verify license over 4g, on newest can't verify license over wi-fi.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Open and close the app, it fixes sometimes the "couldnt verify license" error
[Samsung Galaxy S8 & S8+ Cross Device Development] madhatter57:
Thanks brother, I have tried multiple times already with no success, reinstalled app also
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
it can be something with google playstore, that can also cause that kind of issues.
[Samsung Galaxy S8 & S8+ Cross Device Development] madhatter57:
My playstore is updated to last version. I am out of ideas.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
i mean, if something is wrong on playstore itself (not on your phone) it can cause verify issues with the app
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
hi, i also had bootloop after dirty flashing. with the same rom hades pie. What does dev recommend us?
[Samsung Galaxy S8 & S8+ Cross Device Development] psygenius:
I'm having the same issue, though I can't seem to verify at all. It just spins and says 'please wait' then times out and says 'unable to validate license'

Any help would be appreciated.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
i got a bootloop becus i maked a editted version of the patched zip and flashed it, when i flashed the orginal one it fixes it, and flashing neither of them i got also a bootloop.
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
i had the same problem, i fixed it by doing wipe cache dalvik. please try it. I have a problem with samsung dex, when I connect the dock I get a notification that says "samsung dex cannot be started"
[Samsung Galaxy S8 & S8+ Cross Device Development] psygenius:
Thanks. It now recognises the license.
[Samsung Galaxy S8 & S8+ Cross Device Development] incognitonk:
Just did a clean install of HadesRom P, flashed a pure patch.zip and magisk.zip. Secure Folder is NOT working.

EDIT: Also I don't pass safetynet anymore.
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
after updating the kernel, I can't run samsung dex, it shows a standard on the screen saying "it is not possible to start samsung dex". just run screen mirror via hdmi
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Please do the following steps in the right order:

1. Uninstall the a2n app

2. Reboot the phone

3. Install V.3.9 from Play Store

Then you need to do what the app shows you. (Starting 2 times and grant root) After that it should work. If not, let me know please.
[Samsung Galaxy S8 & S8+ Cross Device Development] madhatter57:
Worked by wiping Dalvik as suggested earlier in this thread
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
So far i have no issues with the kernel, besides a lagspike once in a while random, youre the best @ace2nutzer 🎉
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Better lets wait one week.

So far here too no problems detected.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Great, hope it stays like a week like that 😄
[Samsung Galaxy S8 & S8+ Cross Device Development] bermano:
Hello everyone, :D

I'm new with S8, few days ago i installed custom rom by corsicanu (Hades kernel android 10 with oneUI 2.5). Can i use a2n kernel with my existing rom? my existing ROM already rooted with magisk and using xposed framework.

thks
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
No its only for android 9, if you flash it on android 10 you get a bootloop or more issues.
[Samsung Galaxy S8 & S8+ Cross Device Development] bermano:
Oh Ok, thanks for your information
[Samsung Galaxy S8 & S8+ Cross Device Development] Nitrogenous:
After 2 days of testing on october patch AlexisROM, heavy debloat, no edxposed:

The smoothest kernel ever. Even better than NX r29.

The worst battery life in standby. During 4h long going out with ~30min of SoT, it dropped from 100% to 60%. Checked CPUspy for info on freq wakes - its was only 50% of the time in deep sleep, the remaining 50% split almost evenly on several cpu clock steps. Definitely worse than NX r29 in that regard.

Freezes with mtweaks, the app itself cannot even open.

Freezes 1 out of 5 tries in magisk manager app.

3.9gb of available ram vs 3.7gb on other roms - impressive, the biggest selling point for me.

That's all I noticed so far.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
:good:

This Kernel is tested and optimized for official SAMSUNG Stock ROM.

Check with BetterBatteryStats what is causing the high battery draining. Probably some wakelocks or App alarms.

Anyway i never had such high battery draining with the Stock ROM.

U can manage this Kernel only with the original App to avoid having a misconfigured kernel to the end-user.

If u Guys miss something useful n the App, just ask here if i could add it.

What do u mean here ? - Sorry i didn't understand.
[Samsung Galaxy S8 & S8+ Cross Device Development] :
He means your kernel has more ram than any other kernel - that's good for selling purposes.
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
after 1 week of using your kernel, and the app I bought, compared to other kernels, the smoothness of it is very good, I have also adjusted the fast charger in my opinion, the battery I find seems to use a hotter a bit compared to other kernels, my overnight battery is now around 1 to 2%, thanks dev, hope to have a fix coming soon, I wait for it
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
Should i leave zRam or KSM? Its use, which one is better
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks for your Support ! :good:

It'll be fixed in next build .. please be patient ;)

Check Shared ram after some minutes of screen ON usage, if it's under 100 MB it's better to use zRam.

btw: more control over memory management + Network Stuff will be available in next kernel + App Update. ;)
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
Update....wait..:cowboy:
[Samsung Galaxy S8 & S8+ Cross Device Development] poxapoxa:
Hot hot hot hot pleas

Well come to report wue this sendk impossible to use the kernel to play games, the heat gets so much wue the device shows high temperature notification and shuts down and is unbearably safe in his hand so hot. well the rest of the kernel is great only overheating I know wue is working on this bug but really bad having to run out of my games. Otherwise the kernel is great just try to fix it as soon as possible .... if possible.
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
yes, smoother than all the other kernels I've used, there's one big problem that the machine heats up quickly, which leads to the battery not using for long
[Samsung Galaxy S8 & S8+ Cross Device Development] wer159p:
+1 for that, super smoother kernel (for game too)

but the temperature really too high hard take on hand with low battery energy and usb connect pc network won't work.

if all the thing fixed i can sure this kernel will be most people used, anyway thanks for hard work for this good kernel !
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yes i'm working hard on fixing this bug. It's an very hard annoying bug, because no errors in logs and when the Phone is heating up and i check with "top" what is going on .. then there's nothing unusual, just the current App in foreground is running with high cpu load for an unknown reason.

It's mission inpossible, but it's not the first time that a made impossible things possible.

When it's fixed i'll upload new release with updated kernel sources. (if there's any)

btw: do u mean USB Tethering ??
[Samsung Galaxy S8 & S8+ Cross Device Development] wer159p:
yeah haha sry my English.

---------- Post added at 04:46 PM ---------- Previous post was at 04:40 PM ----------

heat up happen for sometime..

like when i open the a2n app and set something (not sure)

or when restart the phone (this can sure)
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
I don't know if the cause is init.d or not, but when I delete it, the device is no longer as hot as it used to be, it still works smoothly, I'm still checking the battery, whatever I do will report next:good:
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
If init.d folder is empty, then it shouldn't make any difference if u delete it.

As it turned out, the culprit for randomly heating up + performance loss, was the (experimental)HMP Driver.

I've disabled it, now it works fine.
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
When can I get the new update?thank bro
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
If i don't find more bugs, then in the next 48h. As i'm adapting the App as well.
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
I still prefer using this kernel
[Samsung Galaxy S8 & S8+ Cross Device Development] ZeroCount:
Is it possible to add drivers for external wifi adapters? For example Tp link WN72N?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Is it a USB Device ?

In General, if there's linux-side driver support, then it should be just a matter of enabling it in the main kernel config.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@ up

Checked right now, i'm not working on the server, but it seems that one of the two server is down or overloaded.

I'll check now what's going on this damn server.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer soft reboot just happend on latest kernel
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@ up

I'll check it later as i'm actually not on my notebook.

As for license check:

The server is currently down. (Not Google server)

I'll check it later. Don't reboot your phone or you loose custom a2n settings for now, since the server is down for now. Maybe i'll be back automatically, if not, maybe i've to create a new one and you need again to update the app.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright. Forgot to say i use zram on 100%
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
It doesn't matter. ;)
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer any news about the verification servers?
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
they are already working
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Great, thanks for letting me know😄
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
a dev query fashee the kernel successfully in stock rom and hades rom but I got a notification saying that dex could not be executed. then I tried to restore the system partition from a previous backup and again I was able to run dex normally. The question is, do you think that having solved it in this way can bring me problems of "incompatibility"?
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
No. This Kernel is for One UI 1.0 Android 9 based ROMs. Probably the best ones available on S8. I don’t think there is any S8 Kernel for One UI 2.5 custom ROMs out there. I don’t know if rollback is even possible with modern Android versions, but if you want to get all the benefits of this magnificent kernel, you should definitely rollback to Alexis ROM 9.3. Crazy performance. Matching an S9
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Ace I was wondering. Will it ever be possible to assign proper voltages to GPU frequencies >572MHz? Technically with external cooling a G955F should be able to do 683MHz. Not so sure about regular S8. We went very far from the last time I asked. Are there any news about that aspect?
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Ace you know I’m being honest. I’ve been using this Kernel ever since early 2019 and recently I got my S8 again. And I was blown away by the progress this kernel made. It literally takes every single droplet of potential the 8895 has and puts it to work. It’s out of this world.

Undeniably, my S8 is no longer my main device. I have an N960F. Exynos 9810. Infamous. I’m working with another developer to make sure I get the performance that SoC should’ve delivered. I paid that thing a sweet 1200 euros back in the day. I was livid when I saw just how stripped down it was. But my S8 is still my beloved secondary phone and I’ll keep testing this kernel. Each release, and I’ll provide comparisons and thoughts. The only frustrating thing is the physical limitations of the S8. It just can’t cool itself down properly. That tiny heat sink is ridiculous for such a powerful processor. Maybe Note8 would’ve behaved better, but development for that device is as dead as it can get on XDA.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
i can control this powerfull chipset because i have big watercooling system with thermoelectric you can say it Peltier TEC i can stable at 2.3 or 2.4 at full burst no drop then that ,and CTemp is 90 or 95 but in battery temp 20°C to 23 and gpu i curious can more then 572 mhz no throttle i play honkai impact 3 at max settings for gpu i see never got throttle with my cooling system
[Samsung Galaxy S8 & S8+ Cross Device Development] Adbnpk2013:
on the latest version of the kernel with 75% zram ( stock rom), no soft or hard reboot yet.

i want to ask if there is any way to make the secure folder function on stock rom with this kernel ? @ace2nutzer
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Thats weird.. does removing or disable that file fix the issue? Btw i use only this modifications on my phone with magisk (see screenshots) so far i know the only thing what i flashed what maybe enables secure folder or tries to enable is the patch of the kernel.

For now i disable the device services aka kgclient and some related to it with titanium backup. I'll keep you posted if it fixes it or not
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
I have the same cooling system as you. But S8 just does not conduct heat away well enough to sustain even 2496MHz. That heat sink is ridiculous
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Because that you must modified cooling system inside the phone from thermalpad use a piece of alumunium for better transfer heat and use thermal paste
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Without any mods, no. You need to flash this kernel on any custom ROM that supports secure storage. Or you find a secure_storage.zip that will patch secure_storage for stock ROM.

Anyway, you need to flash latest pre v. 2021.12.23.

Improved stability and fixed basic secure_storage support.

I've some new info:

I've got a random reboot, fixed the potential cause in kernel source, recompiled kernel and uploaded pre-release V. 2021.12.23.

And fixed basic secure_storage support.

S8

S8+

1. Also according to your logcat, about the CONSCRYPT error..

It seems that it has something to do with the Google Play Services ...

So make sure you are using the proper version. According to the Android dev blog, i had posted the link, it say you get error with CONSCRYPT when you use some outdated methods in source code.

So maybe your Google Play Services are outdated, at least as far as i can understand.

2. Yes, any Kg/knox stuff should be removed. Such things can't work with custom kernels and custom ROMs and cause only weird issues.

3. For what you need a static busybox ? - This can cause interferences with the toolbox / toybox from ROM if it's installed. It can cause even issues with the A2N app, as it uses a lot of tools from native busybox etc.

Even if there is no busybox installed by default, and some apps complains about missing busybox, just IGNORE that warning, the app will work anyway just fine because like i said, there is often toolbox or toybox already installed, which delivers the same tools.

And finally, this kernel package already includes "busybox_static" binary to make sure scripts like zRam are executed properly.

It's also a dependence for the A2N app. But you can use it also for other things like a nicer "top" utility that shows you on which cores the processes are actually running.

To use it, run "busybox_static top" or what ever other tool: "busybox_static free -m".

The important thing is to not install new busybox on old ROMs as it can cause a lot of issues with the ROM itself.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright, im gonna flash the new build soon, about the playstore services, i use v28.3.16-21 PR 413990378 and if i try to force update it it says its already on the latest build. If you can upload a newer one for me if theres a newer version of it im thankful then.

I uninstall the busybox systemless mod if it is no use and causes issues then

I use htop with root access on termux to track the system processes etc, looks also better than the normal top command.
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
i need video for this system.. i really really need it
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
well it's usable with modipatcher or something i uninstalled it now.. but google is out best friend you can search "galaxy s8 rooted secure folder" or something like that..
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Idk why ppl need secure folder on their phone, kinda useless
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
it's very private issue you know.. lmao.. they need to hide study materials in there
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Lol
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
My first impression on the new kernel (20/12) is just smoother and working better than before. and I love it!

Actually I have been using this kernel since 2020 or maybe 2019 and there are lots of improvement so far. I would say this is the best kernel for exynos s8. thank you for the hard work!
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
thanks to you I found the culprit "KnoxDesktopLauncher". After eliminating the apps mentioned by you (through root explorer) I found this apk that left me without dex. I made a backup of this apk and reinstalled its kernel again. then restore the apk to the indicated path. result samsung dex working and kernel updated. all the great effort in developing this kernel is paying off, thank you very much !!! and merry christmas to all!
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@ up

Good job !

Then probably "KnoxContainerDesktop" is required too.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
First time in a while i passed 24h with this kernel, so i guess with the last kernel build and removing magisk busybox and disabling some stuff fixes it😛 about the performance i dont rlly complain, well besides sometimes a lagspike for a second 1 or 2
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Hi dev i have issue about samsung dex samsung dex can't before i flash new kernel but there is a fixed problem for i can run the resolution 1080p 60hz before that fixed i get 4k 30hz i dont like 30hz make my eyes broke :v and now the problem is samsung dex can't run but mirorring can can you fix it dev?
[Samsung Galaxy S8 & S8+ Cross Device Development] psygenius:
Hi dev,

I just got a random reboot on latest pre release 23/12. Debug file attached.

Thanks for your hard work on this kernel, it really makes a difference in daily use of this phone.

Merry Christmas All
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
it's flawless with 100% zram and 2.7 ghz for me
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
well don't get wrong idea kernel is flawless so far.. using normally with 2.7ghz and 100% zram.. but whenever I connect usb it reboots.. hard reboot..
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer something out of topic, but do you know a way to increase the /system partition? it is because i need some room to odex the rom a bit but i have no idea to increase the partition😅
[Samsung Galaxy S8 & S8+ Cross Device Development] aryx1:
sorry, i am noob, can't find download link. Please help:cry:
[Samsung Galaxy S8 & S8+ Cross Device Development] leonidasZ953:
At first page, scroll down to the

Installation & Update
[Samsung Galaxy S8 & S8+ Cross Device Development] aryx1:
It is stuck here for so long
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Cancel data and cache of the app. Then make sure Google Playstore is running in the background and try again. Recommended to use Wi Fi as Mobile Data can drop and return very easily and frequently. A2N Kernel app is very picky.
[Samsung Galaxy S8 & S8+ Cross Device Development] aryx1:
Yeah, i have to do it again and again..cleaning the cache and rebooting 😞
[Samsung Galaxy S8 & S8+ Cross Device Development] aryx1:
Also ,now the LED is not turning green even after charging 100%. It already been 15 mins when it was charged 100% and the LED is still red.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
I know it's satisfactory to see the led turn green. But if it's 100%, green or not you aren't losing anything. Charge the phone while off and check if it changes. Or try to calibrate the battery
[Samsung Galaxy S8 & S8+ Cross Device Development] aryx1:
What can be done about this guys? Please help
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Nothing. All batteries age and lose capacity. And that right there is an old battery. Needs a replacement.
[Samsung Galaxy S8 & S8+ Cross Device Development] psygenius:
Hi,

I have just experienced another random reboot, I'm not sure if another debug file is helpful but I've attached it in case.

Thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Anyone a idea to increase it?