yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
It can be rom thing, check on the thread of the rom if it has some issues or bugs with the fingerprint reader. If it isnt it probably something with the kernel or something.
[Samsung Galaxy S8 & S8+ Cross Device Development] white5pirit:
I think it's the kernel.

Stock DevBase 7.4 is more snappy with the fingerprint sensor unlock in comparison to A2N's kernel unfortunately.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Hmm guess its a problem with the kernel then. Btw im not a dev of the kernel, just someone who help others out :) but the main problem with this kernel is the stability problems with zram enabled or virtual ram, but how it looks now with the latest pre release its for me stable as a rock.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
With kernel defaults ?

@Ryujin96

After wiping dalvik cache power consumption is higher in the first 3 - 4 days. So don't check it while this time.

But it's great that it's still stable.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer Okay well that explain something.

Yes indeed great its finally stable, but if i reach the 24 Hour mark and that is about in 3,5 hours, so if its still stable for me then i mark it as fully stable.
[Samsung Galaxy S8 & S8+ Cross Device Development] white5pirit:
Yes.

I installed DeluxeROM now and will try your kernel on it too and I'll tell you how that goes.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer okay 24 hour are done, i mark it as fully stable now, no issues or something.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Well then i think it's time to make a new release, so that more users will notice it. I believe many users didn't notice latest pre-release kernel.
[Samsung Galaxy S8 & S8+ Cross Device Development] white5pirit:
I'm sorry to say but it seems like it's your kernel that is creating a delay when trying to unlock the phone with a fingerprint when the screen is off.

IMO not a big deal, but just a heads up it isn't as snappy and quick as DevBase/DeluxeROM default.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Yeah good idea, hopefully more users notice it
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Allright, i'll check this.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer tested the fingerprint also, it is 1 sec or less. Guess that is normal.

Now i think about it, few days ago i gound something, i tried to change the brightness of the led torch to the max in the a2n app but i see no difference when turning it on again after changing. Guess it is a bug?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Nope, it changes only the stock max power. By default torch runs at middle power. So first set to the max in quick settings, then tune the max in a2n app.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Okay well, if it isnt a bug then im fine with it, was just weird it wasnt working. Cant also change the brightness in the quicksetting becus i guess didnt installed the module or something from the aroma installer of the rom, but yea doesnt annoy me.

Btw the new xda app kinda sucks.
[Samsung Galaxy S8 & S8+ Cross Device Development] white5pirit:
It seems that on the 17.11 preview (not sure about the others), SCRCPY is unusable. After launching scrcpy the phone freezes and after a while the executable throws:

java.lang.IllegalStateException
at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:2698)
at com.genymobile.scrcpy.ScreenEncoder.encode(ScreenEncoder.java:114)
at com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen(ScreenEncoder.java:95)
at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:61)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:80)
at com.genymobile.scrcpy.Server.main(Server.java:255)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:341)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Good to know, here on stock ROM it works fine. Well i'll add ability to set all the power steps in my app.

Did you check this: ?

GitHub - Genymobile/scrcpy: Display and control your Android device

Display and control your Android device. Contribute to Genymobile/scrcpy development by creating an account on GitHub.

github.com

Also you can try and report if it works with the stock kernel

S8

index - powered by h5ai v0.28.1 (https://larsjung.de/h5ai/)

index - powered by h5ai v0.28.1 (https://larsjung.de/h5ai/)

xda.mister-freeze.eu

S8+

index - powered by h5ai v0.28.1 (https://larsjung.de/h5ai/)

index - powered by h5ai v0.28.1 (https://larsjung.de/h5ai/)

xda.mister-freeze.eu
[Samsung Galaxy S8 & S8+ Cross Device Development] white5pirit:
This is awkward... Updating to scrcpy 1.20 fixed it out of the box so it works perfectly on your kernel. 😁
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer pre release still stable, 48 hours passed. Normally i get a reboot within 24 hours, so guess you can make a new official build release of the kernel.
[Samsung Galaxy S8 & S8+ Cross Device Development] ikram.senguen:
Does this kernel work with Q? Cant find info regarding that
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
When you not found that work for Q of course not hehe if you try it just got bootloop
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
hello guys, hello dev. First of all I want to thank you for taking the time to answer each of the questions (even if some are very silly or repetitive). second, after activating the ntfs f2fs option, is it necessary to manually mount the drive? android recognizes it with unknown format.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Usually load kernel modules like you did with a2n app, then connect your drive. If you can't access to the external drive, then you should mount it manually.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer when will the next build release? And my phone is finally optimized its rlly smooth and still stable. Also battery life is improved.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
That's great. I try this night.

@Ryujin96

can you pls run this cmd in terminal emulator app or ADB ?

cat /proc/kmsg | grep LED

and turn torch ON/OFF and post the output here.

You was the one user with custom ROM not able to change torch brightness, right ?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright. Yes thats right, but can also not change the brightness in the stock torch setting becus normally if you hold the button in the quick setting it doesnt bring up the torch brightness setting so i cant change it, guess thats the issue why its not working.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Grep:

>[LED]s2mpb02_store , value:1

<6>[LED]s2mpb02_store , value:1004

<6>[LED]s2mpb02_store ,torch brightness value 5 (100mA)

<6>[LED]s2mpb02_store , value:0

<6>[LED]s2mpb02_store , value:1

<6>[LED]s2mpb02_store , value:1004

<6>[LED]s2mpb02_store ,torch brightness value 5 (100mA)

<6>[LED]s2mpb02_store , value:0

<6>[LED]s2mpb02_store , value:1

<6>[LED]s2mpb02_store , value:1004

<6>[LED]s2mpb02_store ,torch brightness value 5 (100mA)

<6>[LED]s2mpb02_store , value:0

<6>[LED]s2mpb02_store , value:1

<6>[LED]s2mpb02_store , value:1004

<6>[LED]s2mpb02_store ,torch brightness value 5 (100mA)

<6>[LED]s2mpb02_store , value:0

<6>[LED]s2mpb02_store , value:1

<6>[LED]s2mpb02_store , value:1004

<6>[LED]s2mpb02_store ,torch brightness value 5 (100mA)

<6>[LED]s2mpb02_store , value:0

<6>[LED]s2mpb02_store , value:1

<6>[LED]s2mpb02_store , value:1004

<6>[LED]s2mpb02_store ,torch brightness value 5 (100mA)

<6>[LED]s2mpb02_store , value:0

<6>[LED]s2mpb02_store , value:1

<6>[LED]s2mpb02_store , value:1004

<6>[LED]s2mpb02_store ,torch brightness value 5 (100mA)

<6>[LED]s2mpb02_store , value:0

<6>[LED]s2mpb02_store , value:1

<6>[LED]s2mpb02_store , value:1004

<6>[LED]s2mpb02_store ,torch brightness value 5 (100mA)

<6>[LED]s2mpb02_store , value:0

<6>[LED]s2mpb02_store , value:1

<6>[LED]s2mpb02_store , value:1004

<6>[LED]s2mpb02_store ,torch brightness value 5 (100mA)

<6>[LED]s2mpb02_store , value:0
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer random reboot happend while writing message on whatsapp, still not fully stable. But some progress is maked, instead of within 24 hours a random reboot it is after 4/5 days a random reboot in my case.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Not holding, you have to tap on the text, then a slider should appear and you can change brightness.

But nevermind, i've it already fixed in kernel, then you can change also in app.

5 days in a row or did you sometimes reboot the phone ?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Yea i tried but i have only the option to turn it the flashlight off, its a modded samsung rom Android 9 rom and it should have that option, but guess i forgot to install a feature in the rom installer about the flashlight or something, i had that option before but not anymore.

Well first 2 days my phone turned off becus i run out of battery, but guess 3 days or more in a row without a reboot.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks for the log !

I guess RAM and zRam was completely full ?

At least it's finally a different error in log.

I think once it's fixed too, it should be stable for ever, not only 5 days.
[Samsung Galaxy S8 & S8+ Cross Device Development] Besdensaa:
in this case there is no random reboot

dalvik.vm.heapgrowthlimit=256m

dalvik.vm.heapsize=512m

dalvik.vm.heaptargetutilization=0.5
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Great, but it has nothing to do with the dalvik heap config.

It's another memory management issue deep in kernel source code.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Hmm well look forward to the new build, hopefully the next build would be fully stable. However there is already much progress made in weeks😛
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer got i guess a memory corruption or something, becus one ui got in a start stop loop becus it had issues for some reason, after reboot it was fine again.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Just forget it, maybe related to the same left over bug. 🤷‍♂️
[Samsung Galaxy S8 & S8+ Cross Device Development] Patrick Clipa:
Hello, i really want to install this kernel but i have a little problem. i have a custom rom called hades for s8 plus and when i flash this kernel i get an infinite boot loop and i don t know how to fix. some said to activate the oem from settings but that setting is not there anymore after installing this rom. can someone tell me step by step how to do it if i can install it?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
The oem unlock should be already unlocked, else you cant install a custom rom or recovery or kernel. Be sure the rom is android 9 based becus the kernel is android 9 based, installing the kernel on newer versions than android 9 causes bootloop problems.
[Samsung Galaxy S8 & S8+ Cross Device Development] Patrick Clipa:
Oh ok. thanks so much. my android is 10 so that s why it doesn t work
[Samsung Galaxy S8 & S8+ Cross Device Development] Patrick Clipa:
do u know the best kernel i can get for android 10?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Well i dont know rlly a kernel for android 10 to be honest. You should look in the s8 development if there is a kernel for android 10.
[Samsung Galaxy S8 & S8+ Cross Device Development] Patrick Clipa:
@ace2nutzer can you make support for android 10 too? it would be really cool.. ;)
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer well my phone got somehow ****ed up, i had to remove the a2n folder where the scripts are in /system and reinstall a2n app and kernel becus zram wont turn anymore after a huge random reboot, rebooting a few times or changing the setting did nothing before i reflashed etc, guess a one time issue kinda weird🤷‍♂️ but yea it is fixed
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
You don't need to cleanup manually.

Just flash latest kernel and wipe a2n app data.

The only folder that the installer doesn't wipe is /system/etc/init.d.a2n.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright, well it fixed it, what happend idk🤷‍♂️
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
IDK too. :LOL:
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Well i switched from lightrom to devbase 7.4, past rom was outdated for me and maybe it solves some issues with this rom🤷‍♂️
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright my flashlight and the flashlight power setting in a2n app is working correctly, guess those problems were caused with the old rom what i used, with devbase seems it works fine now @ace2nutzer
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
No problem, with the new build you will be able to adjust brightness in ROM and app. Extra boost only over a2n app.
[Samsung Galaxy S8 & S8+ Cross Device Development] Patrick Clipa:
will u add support for android 10 too? just askins as i don t like android 9 as it s kinda old and slow(talking about one ui 1.0) and switched to a custom rom with android 10 and one ui 2.5
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
At least it's planned, but like always with no warranty if i ever will do that. :LOL:
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Well its kinda cool if there is also a a2n kernel for android 10+, another challenge for you @ace2nutzer 😆
[Samsung Galaxy S8 & S8+ Cross Device Development] Patrick Clipa:
i went back to android 9 to test this kernel. do i have to wipe something until i flash the kernel?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Only dalvik and art cache/app cache after flashing
[Samsung Galaxy S8 & S8+ Cross Device Development] Patrick Clipa:
thanks bro
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Well i got a temporary solution, i use swapper for creating a swap file in my internal storage instead using zram, for now i use that till there is a new kernel release. I dont notice a difference in performance so its fine for me, those random reboots are just kinda annoying for daily use🤷‍♂️
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
With 17.11 still every day reboots ?

For me it's stable, but i don't stress my phone that much like you guys do. I quit every app properly, i do never press home button unless i really need to use 2 - 3 apps at the same time.

Anyway still working on new build, please be patient.

And i do not suggest to use swap file on internal storage, use a cheap sdcard for this workaround, and be prepared that it'll die, and the data will be lost on the sdcard. So best way is to use an empty cheap sdcard just for swap file. Do not use internal flash storage, that will kill your NAND-flash very quickly and you need to buy a new phone.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Hmm yea, with zram 90% withing 24 hours 1 of more reboots, didnt test it with a lower % becus i didnt test that anymore🤷‍♂️ Possibly indeed that triggers a random reboot becus we stress the phone much more and fill the zram completly or almost, but i quit most apps also properly besides whatsapp is always in foreground and time to time checking on social media. But most random reboots are happening when my screen is off and im not using it for a while. Sometimes it happens when im busy on my phone. About the consequences for using swap on internal or sd storage, youre right about that and i forget about if you use that it wil degrade the storage chip becus it rewrites those cells or something, ssds have the same issue but are not that sensitive, it wil degrade over time but not that fast as nands, Nands are worse with it, rewrites will kill it rlly fast. i got my sd a long while ago bricked becus i was guess backupping my apps with titanium backup and then i got a random reboot also, im not sure if my sd was dead whilr backupping or after that reboot🤷‍♂️ but yea, weird thing was, i wanted to reformat it on my laptop and refused to format it or writing files to it, but reading files it was fine. Tech is sometimes weird🤷‍♂️
[Samsung Galaxy S8 & S8+ Cross Device Development] xperia modder:
Is this battery usage normal 3 hours of screen on and 2 hours of screen off dropped my phone from 100% to 0%
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
If the phone rebooted due to filesystem errors on NAND or sdcard, it can be easily found in logs !

Anyway, if you had problems to write on it or to format the card with your PC, then it's likely the phone rebooted due to sdcard errors. (broken or just filesystem errors caused by non proper unmount before removing the card from phone or PC.)

If your real batt cap is just 30 % then yes and you should replace your battery.

Otherwise you get on this kernel approx 1h SOT for every real 10 % batt cap.

When my batt was almost 100 % cap (health) i got with this kernel 10h SOT. Now i've 80 % and got 8h SOT. This is how it goes.

If your battery health is over 50 % you should check with betterbatterystats what is draining battery behind your back.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
I know, but thats not what i mean with what i was saying😅 i mean my previous sd was 2/3 years old and i was writing stuff to it like backupping apps, but guess that killed my sd becus it was already old and kinda had issues or i got a crash while writing to it and then it killed my sd becus something corrupted then on my sd, but likely it was killed with a crash whike writing, it should then a file system corruption and it should then fixed with a reformat like the same if you remove a flashdrive or someting not properly. Not saying btw that the crashes are caused becus its something with storage. But im fine, got a fresh sd card since months so guess that issue wont happen rlly soon again
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I have fast sd card sandisk extreme pro but i am not believe swap is work i was think zram is more logic hehe i use sd card as android data like game i move into it and yes the cpu not get hot from internal storage rush when play game haha
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
U mean using sd as app install storage?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Yups that worth for me may slow loading but that good for stability
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Its worth if you are short of storage
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Yeah that too hahaha
[Samsung Galaxy S8 & S8+ Cross Device Development] Joker6126:
How do I resolve this issue?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
You need an active network connection otherwise the check will fail like this
[Samsung Galaxy S8 & S8+ Cross Device Development] Joker6126:
There's nothing wrong with the Internet connection. I tried it with Wifi and mobile data but the result didn't change.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@Joker6126

Tap "Exit" and remove from recently used apps. Then reopen the app.

If it still doesn't work, then maybe there is something wrong with google play services or play store.

Did you perform any modifications like disabling play store services or receivers ?

Btw: new pre-release is nearly done.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
@ace2nutzer im again on 30% zram, no crash happend. But guestion, i use youtube vanced and when im wanna switch to fullscreen it have a huge delay before it switches to fullscreen mode (1sec - 4 sec), after a reboot its is sometimes completly solved or it is not fixed but switches faster to fullscreen mode (immediately - 1 sec). But has this issue to do with the kernel or is it a common problem with youtube vanced/official youtube?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Any estimation for release?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Hard to say, but for sure in the next few hours.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
OK guys i've uploaded a new pre-release kernel for stability test.

S8

S8 Plus

In case of random reboot, please post last_kmsg. (See post #3)

It can be used with latest a2n app 3.6.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright im gonna flash it, btw u mean with post #3 in case for reboot i need to fill in these things like kernel version & rom version etc right?
[Samsung Galaxy S8 & S8+ Cross Device Development] Joker6126:
I've tried everything. But none of it worked. The latest version is installed.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yes.

Please open the a2n app and then generate and post a logcat. (see post #3).

Then send me an pm with the following informations:

1: Yor Google Play order ID: GPA......

2. ROM version

3. Google Play version

4. Did you some modifications like xposed, microg etc. ?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright, doing that instead from now on. Its gets more clear also😊
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Got a random reboot again

ROM: devbase v7.4

Kernel version: pre release 11-29

A2N app version: v3.6

BUG: random reboot

How to reproduce the bug:

Use the zram setting 90% and turn off screen for a while
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@Ryujin96

Thanks for the logs ! - btw: last_kmsg is enough.

I set zRam 90 % then after some time when i wake up i faced some weird glitches then i tried to open an app and it crashed, tried once again, then crashed, and got soft reboot. Is this the same scenario what some users was reporting a few days ago ?

btw: can you please test how it goes with zRam 0 % ? (It's kernel default on latest pre-release) - Just to see if it's really related to zRam.

Anyway, i'm testing new build (not uploaded yet) with zRam 90 %.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
I guess so, mostly when i open a app my phone gets a random reboot/soft reboot or i dont use my phone for a while and then opening a app and then get a random reboot/soft reboot. Tried it with zram 0% and so far i know i dont get a random reboot. But i can try it again zram 0%, but guess its stable with zram with that setting.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Please test 0 % for 4 days in a row.

At the same time i test with 90 %.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright, if i restart my phone when it runs bad do i need to count from then again of doesnt matter?

Btw is it a normal thing with this kernel the samsung appdrawer is everytime reloading the apps when you go to it? @ace2nutzer
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
What do you mean ? Screenshot ...

As for YT vanced: screen rotation is approx 1 sec. for me.

In a row it means: you don't reboot or shutdown for 3 - 4 days. But wait i'll upload new test kernel then you can test with that, so far i didn't notice any glitches with zram 90 %. So better you start testing as well with 90 %.

Later if it'll reboot you can start testing with 0 %.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright, when its uploaded i'll test it too.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Uploaded.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Alright, gonna download and flashing it.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Btw i mean with the samsung stock app drawer it is sometimes empty when you open it and then it loads the app tiles back, like it was force closed.