yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
Update!!

Download:

ElementalX-S9-2.05

Flash directly and control all your settings with EX Kernel Manager:

https://play.google.com/store/apps/details?id=flar2.exkernelmanager

Changes:

-release for CSD4
[Samsung Galaxy S9 & S9+ Cross Device Development] DeadMetaler:
Any PIE ROM based on stock with any custom kernel have a hang of system. Only hard reset can help.

It happened wit Camera app in PRO mode. Switching exposure, apperture, taking shots... Sometimes all works for 10-20 shots and sometime it can hang with switching apperture, ISO etc.

Happened with this kernel too. Tested on Soldier's ROM, DevBase, Ambasadii and stock.
[Samsung Galaxy S9 & S9+ Cross Device Development] Henry Chang:
Kernel interference

Hi Flar2 sir. I have a question. Presently, I installed a custom Rom. If I install your Kernel, will it interfere with the existing Kernel or the OS? I know that when I install this I will need to clear cache.... So is it safe to install?
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
Back up your boot.img and try it.
[Samsung Galaxy S9 & S9+ Cross Device Development] Handeman707:
My phone went "stuck" after updating this kernel....
[Samsung Galaxy S9 & S9+ Cross Device Development] ooonea:
The same thing happened. I started TWRP and reflashed Magisk. Now it starts up correctly. To enter TWRP and exit the loop, press the volume keys down + bixby + power, entries in bootloader and from there start to recovery (volumes sure + bixby + power).

---------- Post added at 12:21 AM ---------- Previous post was at 12:15 AM ----------

As soon as it flashes on stock firmware, the system hangs on the start screen. The only way to unlock is flashing Magisk from TWRP. Then I found a bug in the EX kernel management app: if I set a script to start on boot, it doesn't start, but I have to intervene manually. I'm on S9 with CSD4 firmware.
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
It takes several minutes to start the first time, I thought it was hung too, but it will finish booting.
[Samsung Galaxy S9 & S9+ Cross Device Development] ooonea:
Instead for the scripts? I waited an hour, but the scipt did not start when the phone was turned on, nor when I used the tool to reapply the settings from the EX kernel manager app. The only way is to go to the script and choose start from menu. What could be the problem? Is it a bug in the app?
[Samsung Galaxy S9 & S9+ Cross Device Development] paul c:
After a reboot, I need to reactivate the gesture s2w (up) in the ex kernel manager
[Samsung Galaxy S9 & S9+ Cross Device Development] Ogy77:
I flash latest 2.0.5 kernel version on alexndr rom and when go to twrp nothing show on internal memory?
[Samsung Galaxy S9 & S9+ Cross Device Development] MidnightDevil:
I also got my phone cleared of Internal memory... no boot either..
[Samsung Galaxy S9 & S9+ Cross Device Development] Ogy77:
[MENTION=4684315]flar2[/MENTION] Any solution?

---------- Post added at 04:18 PM ---------- Previous post was at 03:29 PM ----------

Format data type yes and does phone can boot normaly?
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
No, that's for the no boot thing

The scripts are handled by Magisk (or SuperSU if you still use that)
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
No idea, I works for me. I pretty much hate Samsung and will never develop for these devices again. Way too many weird things that I can't explain.
[Samsung Galaxy S9 & S9+ Cross Device Development] Ogy77:
Ok. For me is not problem deleted format internal storage. I afraid what if phone not booting?
[Samsung Galaxy S9 & S9+ Cross Device Development] ooonea:
Sorry, but what good is that blue toggle?
[Samsung Galaxy S9 & S9+ Cross Device Development] ForForkSake:
Works great for me. Underclock plus magisk canary

Thanks for your hard work.
[Samsung Galaxy S9 & S9+ Cross Device Development] L.F.B.:
Hey guys Im about to buy a phone. OP 6t or Galaxy s9+ exynios?

Both have good development here on xda! And both have exkernel develop...

Wich one?
[Samsung Galaxy S9 & S9+ Cross Device Development] Handeman707:
S9 plus for support here, I think!....
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
OP6T hands down. It's been my daily driver for almost a year and is way easier to mod.
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
It toggles whether the script will run at boot or not
[Samsung Galaxy S9 & S9+ Cross Device Development] ooonea:
Exactly. I created the script, I selected the toggle, but it does not run at startup.
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
Do you have Magisk?

Exkm doesn't run these scripts, they are executed by Magisk during startup. Depending on what's in the script, it may be running too early. Try adding sleep 30 to make it delay a bit.
[Samsung Galaxy S9 & S9+ Cross Device Development] ooonea:
I tried to add a delay, but it doesn't start anyway. The script is this simple command: 'dumpsys deviceidle disable'. With an app for third-party scripts it works fine. So I don't understand the usefulness of the script section. What would it be for? For what type of script? Could you give me an example?
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
It's for any script. If it's not working, the problem is with Magisk.
[Samsung Galaxy S9 & S9+ Cross Device Development] StonebridgeGr:
Hey

I flashed this kernel on s9 plus dual eu

I was rooted with twrp recovery

I lost root, can't connect to WiFi and the storage on the twrp internal seems to be zero (0)

I do not have any backups.

What to do?
[Samsung Galaxy S9 & S9+ Cross Device Development] Ogy77:
Download custom rom on pc,on phone in recovery format data and type yes,then copy rom from pc and flash via recovery.
[Samsung Galaxy S9 & S9+ Cross Device Development] StonebridgeGr:
I don't want custom room to flash LOL

---------- Post added at 01:58 PM ---------- Previous post was at 01:57 PM ----------

I know the procedure dude. I want to fix the problem . Not by flashing custom rom
[Samsung Galaxy S9 & S9+ Cross Device Development] Ogy77:
Then try it format data type yes. I think is that only solution.
[Samsung Galaxy S9 & S9+ Cross Device Development] StonebridgeGr:
If I flash stock kernel?

I don't want to lose data
[Samsung Galaxy S9 & S9+ Cross Device Development] Ogy77:
Try it with odin. Good luck
[Samsung Galaxy S9 & S9+ Cross Device Development] thereassaad:
Ok look , re flash elementalx kernel , then it will booted fine , then connected it to ur pc move all data to ur pc then back to twrp format data as above says then flash any other kernel or magisk etc by this way its fixed for me after i got encrypted internal sd after flashing this kernel .
[Samsung Galaxy S9 & S9+ Cross Device Development] StonebridgeGr:
Flash any other kernel?

I don't understand what you are trying to say

---------- Post added at 05:23 PM ---------- Previous post was at 04:34 PM ----------

Why only one Governor schedulit?
[Samsung Galaxy S9 & S9+ Cross Device Development] Hoffmanns:
I'm in same situation ? but I reflashed EX kernel and system boot fine but without magisk...

Is there some chance for working magisk? Without full wipe? From this situation?

Thank you for answer and help ??

Have a nice day for all ?
[Samsung Galaxy S9 & S9+ Cross Device Development] NinoLatif:
I uploaded the file for you. I was in the exact same situation before i knew what is up. Here it is https://filebin.net/t8jmiy27trmzdl6p flash this and all will be fine trust me. Greetings.
[Samsung Galaxy S9 & S9+ Cross Device Development] Hoffmanns:
After install I'm in bootloop ?☹️

That can't works for me ?
[Samsung Galaxy S9 & S9+ Cross Device Development] NinoLatif:
https://filebin.net/0nqyenpiv5mo2y0y

Flash this as well and you are good to go
[Samsung Galaxy S9 & S9+ Cross Device Development] Hoffmanns:
Thank you for reply and help...

I reflashed EX kernel and phone booted fine.

Now What I must do for working Magisk?

Flash Magisk zip and after that flash busybox zip?

Because my TWRP can't mount a half partitions...

And Yes I know If I format system and data in TWRP all will be fine ? but I can't I don't want ??
[Samsung Galaxy S9 & S9+ Cross Device Development] stpf77:
Any issues with this kernel + LightROM (rooted), have started toying around with the various kernels to try and achieve best possible performance and longetivity I can.

Currently g960f (rooted-magisk) running Light ROM (v15.0) and White Wolf Kernel currently. (Got respectable benchmark with WW and Excellent standby time) but typically... how far can the hardware be pushed, dragged, cannoned into the nethers of potential....

T.I.A
[Samsung Galaxy S9 & S9+ Cross Device Development] stpf77:
The EX kernel app is telling f me there is an update... Is this correct? TIA

(Edit - disregard, forgot I'm running a different kernel to the app)
[Samsung Galaxy S9 & S9+ Cross Device Development] Domino5:
[MENTION=4684315]flar2[/MENTION] CSE3 sources released:highfive:
[Samsung Galaxy S9 & S9+ Cross Device Development] ooonea:
On Galaxy S9, each version of the Elemental kernel breaks the Galaxy Store updates (not for all apps, but only on some, like Wi-Fi Protect and some Samsung frameworks). As soon as you return to the stock kernel, the updates are successful.
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
Update!!

Download:

ElementalX-S9-2.06

Flash directly and control all your settings with EX Kernel Manager:

https://play.google.com/store/apps/details?id=flar2.exkernelmanager

Changes:

-release for CSE3
[Samsung Galaxy S9 & S9+ Cross Device Development] Snajperica:
Does mt tweaks work with elemental?
[Samsung Galaxy S9 & S9+ Cross Device Development] Handeman707:
Howto "undervolt" the kernel, for more battery live?
[Samsung Galaxy S9 & S9+ Cross Device Development] EagleSoldier:
Chose it in aroma
[Samsung Galaxy S9 & S9+ Cross Device Development] stpf77:
Had to go through a very unusual process to get this kernel fired up (960f lightROM)... Installed with standard kernel, complete setup process, update magisk, reboot, install endurance kernel, reboot, install EX kernel...

Worth the hoops, noticeable performance improvement over previous kernel.:good:
[Samsung Galaxy S9 & S9+ Cross Device Development] icke:
U also just could have to flash light rom...reboot to recovery...flash elemental and magisk in a row and reboot to system...:D;)
[Samsung Galaxy S9 & S9+ Cross Device Development] stpf77:
Haha, I wish it were that simple!!

Thursday night I did *something* LightROM REALLY didn't like, and a simple restart wiped all my CSC, OMC/ODM settings completely away, was only by fluke I stumbled on the solution and found that flashing ambasadiROM (and manually inputting the lost information thru his aroma installer) saved my bacon, and was able to reflash LightROM..

(Yes, realised my all-in-one was woefully out of date after the fact, was still using the one from late April)

Updated LightROM bootloader as soon as I saw Yash had uploaded to AFH, and all's good again.

What's all that got to do with EXkernel not being nice to me? That (EX) started playing up a few days prior to all this, coincidence or correlation? Dunno...

Both LightROM and EXkernel are back to normal now.

Will it stop me being a flash-happy nitwit? Hell no!
[Samsung Galaxy S9 & S9+ Cross Device Development] icke:
Lol...me not even flashed a bootloader or sh't like that. Seems me just a lucky boi. :D
[Samsung Galaxy S9 & S9+ Cross Device Development] Ogy77:
I want flash kernel latest build but have fear becouse last time I flash Elemental my Twrp not mounted storage?Any help?
[Samsung Galaxy S9 & S9+ Cross Device Development] myabc:
Hello. Please can i flash this kernel in s9 soldier rom? Has this kernel the native double tap in every part of always on display to wake phone? Is Simple to activate? Thanks
[Samsung Galaxy S9 & S9+ Cross Device Development] crewpuk13th:
yes you can, currently i'm using the kernel with overclocked setting in soldier rom build CSE3
[Samsung Galaxy S9 & S9+ Cross Device Development] InsertDumbNick:
Working brilliantly. No issues here. As for double tap to wake, Flar2 recommended using swipe to wake for best user experience.

Installation is pretty simple, here's what I did:

Clear cache and Dalvik.

Flash elementalx

Flash magisk

Flash Soldier firmware

Success
[Samsung Galaxy S9 & S9+ Cross Device Development] Ogy77:
I want flash kernel but scare becouse last time I flash I cant mounted storage in twrp?
[Samsung Galaxy S9 & S9+ Cross Device Development] myabc:
please i installed but how can activate swipe in aod or double tap for wake? please help. thanks
[Samsung Galaxy S9 & S9+ Cross Device Development] paul c:
Install the companion app, flar2"s kernel manager
[Samsung Galaxy S9 & S9+ Cross Device Development] myabc:
thank you. i installed that app, the double tap in always on display or the swipe don't work even if activated. can you help me for setting? i have soldier rom and the tap in home button work well... i would like to have double tap to wake in every part of aod, is possible? thanks
[Samsung Galaxy S9 & S9+ Cross Device Development] InsertDumbNick:
Try following the instructions I mentioned. Also use latest of elementalx, soldier's rom, firmware and magisk. Also, the order of flashing seems to be vital. So make sure you flash items in the mentioned order after flashing soldier rom .
[Samsung Galaxy S9 & S9+ Cross Device Development] paul c:
When you get to the screen with the gesture options, tap on the description and the text below should turn to enabled.

Then tap on the icon to the right of the description, and the icon should turn blue. Should work after that :good:
[Samsung Galaxy S9 & S9+ Cross Device Development] Hilmiiz:
Kernal sources csf2 out
[Samsung Galaxy S9 & S9+ Cross Device Development] Akhayev:
Does this kernel work on gsi ROMs ?
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
Update!!

Flash directly and control all your settings with EX Kernel Manager:

https://play.google.com/store/apps/details?id=flar2.exkernelmanager

Download:

ElementalX-S9-2.07

Changes:

-release for CSF2
[Samsung Galaxy S9 & S9+ Cross Device Development] _BaTTi_:
Installer says its 2.06 version whilte the filename says its 2.07.

After flashing it on CFS2 based rom (ambassadi 1.8) still getting the same problem as with the version 2.06 - cannot go to desktop (cannot got further then screen unlock)

Wysłane z mojego SM-G965F przy użyciu Tapatalka
[Samsung Galaxy S9 & S9+ Cross Device Development] :
Can't even login after flashing this kernel. I put in my pin and get a black screen and must enter my pin again. Using SoLdieR9312s rom
[Samsung Galaxy S9 & S9+ Cross Device Development] Dominic.B:
It works fine with ambassadi 1.8 for me.

Here's what I did :

1. Reboot in recovery

2. Wipe cache & dalvik cache

3. Flash ElementalX 2.07 kernel

4. Flash CSF2 bootloader firmware

5. Flash Magisk 19.3

6. Reboot
[Samsung Galaxy S9 & S9+ Cross Device Development] ooonea:
After updating to the CSF2 firmware, if I try to install the latest kernel version, I cannot access the phone by entering the correct PIN. I solved by installing the firmware kernel. It's a problem that had presented me with some versions ago, then no more now again. What can it depend on and how can it be solved?
[Samsung Galaxy S9 & S9+ Cross Device Development] super_nooby:
maybe lockscreen-fix?
[Samsung Galaxy S9 & S9+ Cross Device Development] Eamo5:
For those experiencing the lockscreen loop presumably due to rollback protection, run this command in a terminal emulator.

su -c "rm -f /system/vendor/app/mcRegistry/ffffffffd0000000000000000000000a.tlbin /system/vendor/app/mcRegistry/ffffffffd00000000000000000000062.tlbin"

If you're using the TWRP terminal emulator, use

rm -f /system/vendor/app/mcRegistry/ffffffffd0000000000000000000000a.tlbin /system/vendor/app/mcRegistry/ffffffffd00000000000000000000062.tlbin

If all else fails, you can run this command in android

su -c "rm -f /data/system/locksettings.db*"

Or this in TWRP

rm -f /data/system/locksettings.db*

and it should hopefully fix the issue but is not recommended unless required as it will remove the existing password protection on your device
[Samsung Galaxy S9 & S9+ Cross Device Development] ianmacd:
None of the above should to be recommended by anyone.

Destroying the device's rollback protection to work around a boot image built with the wrong security patch level is like taking a using a rocket launcher to crack a walnut. It's not only excessive, it has effects that reach much further than the intended one.

The correct (and trivial) fix is for the issuer to issue a new image with the correct security patch level; or for the user to bump the patch level by unpacking and repacking the image.
[Samsung Galaxy S9 & S9+ Cross Device Development] Eamo5:
I agree and it's definitely a last resort. Though this seems to be affecting people even using the correct ramdisk which leaves very little choice otherwise. I am assuming that flar2 has updated the kernel to the appropriate ramdisk here.

It may not be a bad idea to verify with AIK that the oslevel is correct. Many ROMs and kernels do this modification by default which I don't agree with, but as a last resort when nothing else works, it's at least a more viable solution than rendering the device unusable. It doesn't *appear* to have any negative side effects but who knows.
[Samsung Galaxy S9 & S9+ Cross Device Development] ianmacd:
The ramdisk has nothing to do with it. The security patch level is part of the metadata of the boot image itself. Your boot image would still have a security patch level even if it contained no ramdisk at all.

Except that the device isn't rendered unusable. All the user needs to do to restore sanity in this situation is connect the device over USB and either restore the previous boot image or install a new boot image with the correct security patch level. That's vastly more preferable to mangling the device's security, for which there really is no excuse.
[Samsung Galaxy S9 & S9+ Cross Device Development] Eamo5:
Apologies again you're right, that's a fault on my end. That's what I was referencing when I mentioned the .img-oslevel.

But even reverting back to the original boot.img the user was using previously doesn't work sometimes according to reports. It's extremely inconsistent. I don't believe that's the case for most users but in some rare cases it still seems to occur. Afaik there are no other critical faults that should cause this on the users system, albeit I can't be 100% certain.
[Samsung Galaxy S9 & S9+ Cross Device Development] InsertDumbNick:
Can confirm that I have this issue as well. Guess we'll have to wait for this version to be rebuilt.
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
Update!!

Sorry, the updater and boot.img didn't update properly in 2.07

Flash directly and control all your settings with EX Kernel Manager:

https://play.google.com/store/apps/details?id=flar2.exkernelmanager

Download:

ElementalX-S9-2.08

Changes:

-release for CSF2
[Samsung Galaxy S9 & S9+ Cross Device Development] _BaTTi_:
Installed and working just fine. Thanks for update :)

Wysłane z mojego SM-G965F przy użyciu Tapatalka
[Samsung Galaxy S9 & S9+ Cross Device Development] ooonea:
Now it's working fine

I can confirm that everything works as expected now. Thank you.
[Samsung Galaxy S9 & S9+ Cross Device Development] Ankitsharma444:
How to flash it on ambasadii 1.8?
[Samsung Galaxy S9 & S9+ Cross Device Development] lagoskon:
1. Make a backup of BOOT in twrp

2.Flash ElementalX 2.08

3.Flash Magisk 19.3

4.Flash CSF2 Bootloader and Modem zip ( soldier rom thread has it)

5.Reboot

6.Enjoy

7.Press Thank Button
[Samsung Galaxy S9 & S9+ Cross Device Development] NoxOn3:
With soldierrom CSC8 (security patch March) working great. Even the problems with Bluetooth and PS4 GAMEPAD seem to be solved!

Pretty nice!
[Samsung Galaxy S9 & S9+ Cross Device Development] joekempis:
is it double tap to wake working on pie rom?
[Samsung Galaxy S9 & S9+ Cross Device Development] InsertDumbNick:
For me, double tap to wake doesn't work. But sweep2wake does.
[Samsung Galaxy S9 & S9+ Cross Device Development] joekempis:
ouh okay.. thank you...:o:good::good:
[Samsung Galaxy S9 & S9+ Cross Device Development] borntokill:
I have tried to disable the FADE LED but unfortunately it is not disabled, it continues to work in fade thing for me very annoying. I tried rebooting several times and trying to enable and disable but nothing, the fading function continues

S9 plus - Soldier rom
[Samsung Galaxy S9 & S9+ Cross Device Development] paul c:
Please don't spam the kernel threads with the same message :svetius:
[Samsung Galaxy S9 & S9+ Cross Device Development] borntokill:
No spam, i try all kernel so i write in every post!

S9 plus - Soldier rom
[Samsung Galaxy S9 & S9+ Cross Device Development] destroyer31:
[MENTION=4684315]flar2[/MENTION] hey thanks for the kernel, i m using elementalx kernel since Lg G2 now i am s8 950F user is there a way to make pie kernel for it?
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
Update!!

Download:

ElementalX-S9-2.09

Changes:

-CSG8 update
[Samsung Galaxy S9 & S9+ Cross Device Development] m855295:
I want to use ElementalX-S9-2.09 with G965FXXS6CSG1

Will it work normally?
[Samsung Galaxy S9 & S9+ Cross Device Development] xxmustafacooTR:
Please add more settings for boost game performance

It works perfectly.(I fixed the lockscreen loop)

Maybe you add sound mod and Mali Gpu boost to 600mhz (Exynos9810 supports officially) or (850mhz - Kirin970 supports)

https://en.wikichip.org/wiki/samsung/exynos/9810

*Thanks flar2*
[Samsung Galaxy S9 & S9+ Cross Device Development] speckdeckel:
Works on LightRom?
[Samsung Galaxy S9 & S9+ Cross Device Development] guacianiero:
can i use this kernel with original rom G960FXXU4CSE3_G960FOXM4CSE3_ITV. I had tried previous version and I had problems with samsung accounts
[Samsung Galaxy S9 & S9+ Cross Device Development] xxmustafacooTR:
This problem is from ROM.

I think you install stock+ (modded stock rom) then install ElementalX and this patch G96*_Root_for_OEM_issue_devices

Dont forget to update magisk :d
[Samsung Galaxy S9 & S9+ Cross Device Development] BeFreezy:
Hi there, after updating to 2.09 it won't let me get past my lock screen, entering the pin works fine and it lets me access the home screen for a split second before throwing me back to the lock screen, any solution for that? (Reverting back to 2.08 fixed it, so i'm not sure if it's know problem or not)
[Samsung Galaxy S9 & S9+ Cross Device Development] guacianiero:
sorry but G96*_Root_for_OEM_issue_devices is for SAMSUNG S9+. My version is S9. Whitch rom can i install?
[Samsung Galaxy S9 & S9+ Cross Device Development] crewpuk13th:
Are you already on CSG8 bootloader?
[Samsung Galaxy S9 & S9+ Cross Device Development] BeFreezy:
Well I think so, 2.08 is working as expected, tried flashing and using the manager, both lead to the same issue.
[Samsung Galaxy S9 & S9+ Cross Device Development] xxmustafacooTR:
Maybe you can test G965_PIE_Root_for_OEM_issue_devices_V5.zip because it is a patch but don't worry you always be able to using Odin for issues

I am using http://www.renovate-ice.com/soldier9312/#stable_g96x (Soldier9312) because installing is easier than ambasadii rom

First install ROM

then ELEMENTALX

Finish with G965_PIE_Root_for_OEM_issue_devices_V5.zip

I fixed your problem and [MENTION=10055391]BeFreezy[/MENTION] 's problem two days ago. I am using s9+ :')

---------- Post added at 12:59 PM ---------- Previous post was at 12:53 PM ----------

I fixed this issue with G96*_Root_for_OEM_issue_devices

I was wipe phone it works and if I restart the phone issue came back

But now Everthing is working fine :laugh:
[Samsung Galaxy S9 & S9+ Cross Device Development] BeFreezy:
Well, tried that aswell but no luck, still the same issue.
[Samsung Galaxy S9 & S9+ Cross Device Development] xxmustafacooTR:
I hope you can fix this issue like me only believe in yourself because it is a software issue (not hardware :d)

I *used for 3 4 reboot* sod killer apk maybe you can use this but first wipe data