yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9 & S9+ Cross Device Development] iamnotkurtcobain:
1.05 is based on the old buggy ARB3 sources from February. It was the Firmware the S9 came with (for people that preordered. It had January Patches and bugs, drain,...
[Samsung Galaxy S9 & S9+ Cross Device Development] markvd90:
[MENTION=4684315]flar2[/MENTION]

Just flashed 1.06 on a clean rom.

Bluetooth pairing of my Gear s3 is still lost after turning bluetooth off/on, or rebooting.

Soldier said something in his rom threat regarding this issue

No clue what the temporary fix was tho, but maybe the secure_storage thing is something worth looking at.
[Samsung Galaxy S9 & S9+ Cross Device Development] danoob19:
My mistake
[Samsung Galaxy S9 & S9+ Cross Device Development] Nussi29:
I can't find the settings for dubble 2wake
[Samsung Galaxy S9 & S9+ Cross Device Development] saxena1:
Check in exkernel manager setting gesture .:D
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
I think the temp fix is editing default.prop to disable secure storage.
[Samsung Galaxy S9 & S9+ Cross Device Development] danoob19:
does anyone have a good oc profile so that you get a high score in the pc mark?

the only way I know is to set the minimum clock of the small group to 1794 Mhz. But that can not be the only way.
[Samsung Galaxy S9 & S9+ Cross Device Development] jack allen:
I get stuck at the samsung boot splash after i flash this kernel
[Samsung Galaxy S9 & S9+ Cross Device Development] surInd:
Hello,

Which version of Elemental should I download for Samsung Galaxy S9 Exynos? I used v1.05, but whenever I try to unlock OEM, it factory resets the phone and after reboot it is still disabled. Also could someone please tell me if root works for this phone and the steps to follow.

Thanks,

Surabhi
[Samsung Galaxy S9 & S9+ Cross Device Development] iamnotkurtcobain:
Have you flashed Flash Kernel once before?

If so, that's your answer.
[Samsung Galaxy S9 & S9+ Cross Device Development] jack allen:
I have but whats the significance of that
[Samsung Galaxy S9 & S9+ Cross Device Development] iamnotkurtcobain:
Flash Kernel changes something in the Vendor Partition of the Phone. It makes flashing another Kernel or Stock Kernel impossible.

You have two choices now.

-fully fresh Odin flash

-flash alexndr's Dev Base (it flashes the Vendor Partition)

Flash Kernel is/was buggy af.
[Samsung Galaxy S9 & S9+ Cross Device Development] jack allen:
Ah ok fair enough i didnt know that lol thanks for that i would be wondering forever why i couldnt use any kernel lol thanks bro
[Samsung Galaxy S9 & S9+ Cross Device Development] Ashray_Vk:
Hi [MENTION=4684315]flar2[/MENTION],

Any updates on the sound control side ? :D

Thanks again for all your hardwork!

Best Regards

Ash
[Samsung Galaxy S9 & S9+ Cross Device Development] danoob19:
[MENTION=4684315]flar2[/MENTION]

Which features will come later ?

What are you working on ?
[Samsung Galaxy S9 & S9+ Cross Device Development] harry92008:
Flashed the Kernel. After that, tried flashing super SU 2.82. error : Patching Sepolicy, failure, Aborting.

So basically lost the root access. Anything i did wrong?
[Samsung Galaxy S9 & S9+ Cross Device Development] winxuser:
Welcome to the s9+ [MENTION=4684315]flar2[/MENTION] good to have you here. Did you get sick of working on the nexus 6p hahahha
[Samsung Galaxy S9 & S9+ Cross Device Development] xFirefly93:
Use Magisk.
[Samsung Galaxy S9 & S9+ Cross Device Development] iamnotkurtcobain:
You have to be kidding.

Magisk isn't working on the S9
[Samsung Galaxy S9 & S9+ Cross Device Development] xFirefly93:
I have no idea what is working and not on S9, because I am not so into using the Galaxy/Note phones thanks to Samsungs so-so attitude regarding/to the Open Source community.
[Samsung Galaxy S9 & S9+ Cross Device Development] SetiroN:
Do custom kernels work with treble roms?
[Samsung Galaxy S9 & S9+ Cross Device Development] gaspol24:
Im using alexndr's dev base rom 5.5 and after i flash this kernel into the device i just lost root access and i can't re-root this device anymore however i already install supersu by twrp but the supersu app showed me that i haven't rooted this device
[Samsung Galaxy S9 & S9+ Cross Device Development] sprockettyz:
+1... Could anyone advise what's the best way to reroot after installing the ex kernel?
[Samsung Galaxy S9 & S9+ Cross Device Development] rhino666:
I used magisk from Soldiers SVN repo.

That Magisk works with s9.

So I have Soldiers stock rom 1.8 installed.

Ex kernel.

Magisk downloaded from Soldiers SVN repo.

All working fine.
[Samsung Galaxy S9 & S9+ Cross Device Development] danoob19:
[/COLOR]

I did the same, but when I flash the magisk.zip I get the message that the file is "corrupt". (S9+ DUOS)

Otherwise the ex kernel always worked well

Edit:

All good. Once had a magisk.zip with 14MB and once with 9 MB.

It worked with the 9Mb version.

No idea what went wrong there.
[Samsung Galaxy S9 & S9+ Cross Device Development] abrahamjones:
Waiting for the bluetooth fix to flash your kernel again. Thanks for good work.
[Samsung Galaxy S9 & S9+ Cross Device Development] pratyush997:
How better/efficient is the power consumption with this kernel when compared with stock kernel?

Have a really good experience with ElementalX in the past on devices like RN3 Pro though.
[Samsung Galaxy S9 & S9+ Cross Device Development] FdeKlerk:
Bluetooth

Hi Dev. Awesome kernel btw but i also have the bluetooth issue.

Mine does not turn on at all.
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
Bluetooth works fine for me
[Samsung Galaxy S9 & S9+ Cross Device Development] sprockettyz:
To clarify, if I'm on alexandrs Devbase ROM with Magisk root, will installing Elemental X on top result in losing root?

Or will root be lost only in using SuperSu
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
You always have to reflash SuperSU after flashing a kernel
[Samsung Galaxy S9 & S9+ Cross Device Development] sprockettyz:
Correct but if I'm rooted using Magisk, also need to Reflash Magisk?

Thanks!
[Samsung Galaxy S9 & S9+ Cross Device Development] sprockettyz:
Anyway I'm on s9 International duos, ex installed and working fine with alexndr devbase 5.5. Rerooted using super su after kernel install.
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
FlashKernel is buggy because it changes secure storage libs on vendor? Really?

Those files are needed because of secure storage = false. Why is this needed?

Without it, bluetooth won't run... well my kernel works 100% fine
[Samsung Galaxy S9 & S9+ Cross Device Development] iamnotkurtcobain:
My mistake. I'm sorry. You are right. Kernel works.

I'm stupid.
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
Yes, it applies to Magisk as well.
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
Bluetooth won't run, or Bluetooth won't save pass words or something? This is probably the issue some people are having with Bluetooth not reconnecting automatically. Must be a breakage in Samsung's "chain of trust"
[Samsung Galaxy S9 & S9+ Cross Device Development] Supportit:
Hi. Is is possible that you can add a resolution to the display port config ?

It should be in this file but also in some more https://github.com/flar2/starlte/bl...4d7847d05ff/drivers/video/fbdev/core/modedb.c

The reason is that i want to use the lg vr goggles with this phone but they have a 1440x960 resolution.

Here you can see what originaly is used in the lg g5

https://github.com/stendro/msm8996_...8cbe74610/include/uapi/video/msm_hdmi_modes.h

In the sections /* Add LGVR SVD LGE_S */ is everthing vr goggles related.
[Samsung Galaxy S9 & S9+ Cross Device Development] salada2k:
[MENTION=4684315]flar2[/MENTION] Great Kernel, thanks for all the hard work. Device running well with underclock of the CPU, and battery life is definitely better with no noticeable performance drop. Awesome.
[Samsung Galaxy S9 & S9+ Cross Device Development] gaspol24:
Rerooted

Do you know how to rerooted the device using that rom?
[Samsung Galaxy S9 & S9+ Cross Device Development] salada2k:
Something strange happening all of a sudden. Magisk just disappeared twice today, had to reflash twice. While device is running, root just disappeared. Is there any reason that could be related to this kernel? Or should I be looking elsewhere for the cause. Thanks.
[Samsung Galaxy S9 & S9+ Cross Device Development] Ashray_Vk:
Hi [MENTION=4684315]flar2[/MENTION]

Would you have any updates on findings regarding sound control :) ?

Thanks @

Ash
[Samsung Galaxy S9 & S9+ Cross Device Development] hochocnua:
Hi mate, i see exynos-linux-stable (4.9.94) and your plan work on it ?

Exacly if someone need another kernel, he must retore vendor partition after flash rom. No problem with your best kernel.
[Samsung Galaxy S9 & S9+ Cross Device Development] willhub:
Does anyone have an answer to the above poster? I'm interest in this and for Exynos I think this is the most essential issue currently.
[Samsung Galaxy S9 & S9+ Cross Device Development] abrahamjones:
Can anyone lead me for the installation for not having bluetooth device list reset issues?
[Samsung Galaxy S9 & S9+ Cross Device Development] jack allen:
Im having same issues with bluetooth aswell
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
I don't really know how the Bluetooth fix works and I don't have any Bluetooth devices that don't work, so I can't test it.

It seems to involve editing default.prop and replacing secure storage files on the vendor partition. I don't know if it needs both or not.

In any case, I don't like the idea of replacing files on people's phones when installing the kernel. Maybe someone could make a flashable zip that does this.
[Samsung Galaxy S9 & S9+ Cross Device Development] abrahamjones:
If someone can lead us I can try to do it (Not the zip, just on my phone ) :)
[Samsung Galaxy S9 & S9+ Cross Device Development] cvenk:
OK guys, Don't know what is going on.

Did read all the

- STOCK ROM by SoLdieR9312 || 2.0 | AROMA | ODEXED | Android 8.0 | ARD1

- ElementalX 1.06 (S2W|DT2W|S2S|OC|UC|RGB)

- TWRP.... and all the XDA on S9

Been over 100 pages and can not figure out how do you install:

SoLdieR9312, than ElementalX and after that due lossing your root (magisk) installing MAGISK.

Everytime that I install Magisk in bootloops.

After that I again install ElementalX kernel I go to my ROM but without root.

I tried every ROM on XDA and can not boot installing magisk after ElementalX Kernel. What do you have to do that if you want ROOT:

I have.

-TWRP 3.2.1.2

-ElementalX 1,06

-G96XF-FD-N_ARD1_by_SoLdieR9312 || 2.0
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
I don't think Magisk is updated for this device. The ROMs that come with it might be using a modified version of Magisk.

Try latest SuperSU, it should work.
[Samsung Galaxy S9 & S9+ Cross Device Development] cvenk:
Thanks for the quick answer. Due to my PAYING phone credit card I need to hide sometimes root. So no go for me for SU.

But would not belive, THE PHONE WOKE UP.

What I did.

Install :

-TWRP 3.2.1.2

-ElementalX 1,06

-magics.zip from G96XF-FD-N_ARD1_by_SoLdieR9312 || 2.0 (5mb file in zip file foler ROOT)

And now I'm in ROM and have the magisk....

YES Now will buy your KERNEL.... it was like 8 hour ride to get here. And my PIXEL 2 camera just get a error and does not work, so I need S9.

Thank you.
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
On my Pixel 2, sometimes the phone won't boot when you install Magisk, but holding the buttons down to force a restart makes it work.
[Samsung Galaxy S9 & S9+ Cross Device Development] Eamo5:
Hi,

Does this kernel fix / are there any plans to fix the issues that Anandtech reported with the kernel?
[Samsung Galaxy S9 & S9+ Cross Device Development] salada2k:
I had that exact setup with no issues. It is definitely possible.

When you go into TWRP each time make sure you are doing read only.

Also flash the Kernel and Magisk together.

And finally, make sure you are using the jesec modified version of Magisk.
[Samsung Galaxy S9 & S9+ Cross Device Development] cvenk:
Why read only. Did 100 times with modifications. I how I did not do anything wrong.

BTW can not temp. Into It. It does not work
[Samsung Galaxy S9 & S9+ Cross Device Development] devNock:
[MENTION=4684315]flar2[/MENTION] are you proposing a kernel with the custom configs in the article mentioned above, as you commented?
[Samsung Galaxy S9 & S9+ Cross Device Development] salada2k:
I never swipe to make modifications, I read somewhere not to do that, not sure of the purpose. I've only come back to Android with the s9 so am playing catch up on all this info.

Here's what I would do in your situation:

Flash stock via ODIN

Wait 7 days

Install TWRP and then boot to TWRP

Always keep system read only

Flash your custom ROM

Boot up, setup

Flash Magisk 16.3 jesec mod

Check you have root

Boot into TWRP again. Keep system read only.

Flash kernel and Magisk jesec mod again, together, (kernel first of course), then Magisk after.

Boot to system

That worked for me with no issues - those are the exact steps I took.
[Samsung Galaxy S9 & S9+ Cross Device Development] cvenk:
Will try. Thanks

Downloaded today original ROM and will flash via ODIN.. Just that, right. I don't have to do anythning else??

Just put the ROM file into AP and start.

And wait for one week. :(
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
TLDR:

I was hoping there would be significant gains, but there weren't. Otherwise I would have released an update already.
[Samsung Galaxy S9 & S9+ Cross Device Development] devNock:
[MENTION=4684315]flar2[/MENTION] I guess from a daily driver POV the s9 is overpowered and not really power efficient. I guess most users, for nowz would want a better battery life than extreme performances.

As for higher performance at 2.7 in comparison to 2.3, is it noticable to a great extent?
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
I don't think it's very noticeable. But I also did not find battery life improvement with Andrei's changes.

You will get marginally better battery life by choosing the underclocking option in ElementalX.
[Samsung Galaxy S9 & S9+ Cross Device Development] devNock:
Thanks for the excellent kernel. Have been using it since my old One M8 <3
[Samsung Galaxy S9 & S9+ Cross Device Development] Eamo5:
Thanks for such a great and in-depth reply. I'm surprised you didn't see much of a return as Anandtech saw quite significant gains. Now I've just gotta figure out if I've got the balls to root my S9 so soon and trip knox
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
There are some areas that are improved a lot in [MENTION=4167023]AndreiLux[/MENTION] configuration. I want to use it. Just now, I'm using one of my test variations and getting great battery life. I'm going to keep playing with it until I find a way to handle the frequencies that I like.
[Samsung Galaxy S9 & S9+ Cross Device Development] :
Thanks for this answer. I was hoping you'd address this issue sooner or later. Coming from a XZ1 Compact (720p screen) to the S9, battery drain on stock seemed huge.
[Samsung Galaxy S9 & S9+ Cross Device Development] Eamo5:
Awesome! I'll keep an eye on this kernel, because if you can deliver on a fix for the Exynos battery life, that'd probably be enough for me to say **** knox and root already!

---------- Post added at 10:51 AM ---------- Previous post was at 10:49 AM ----------

Even coming from an iPhone 6S Plus the battery drain is pretty bad at times on stock. Missing my day long battery but for now, fast charging coming from an iPhone will suffice ?
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
The biggest thing you can do to improve battery is turn off AOD.

AOD absolutely destroys battery
[Samsung Galaxy S9 & S9+ Cross Device Development] ingalaxyz:
Hey guys, if I try this kernel and things are a bit unstable could I switch back to the stock one ?

Is there a link to download that or I should backup it through TWRP ?

Finally got root with Magisk and recovery after a lot of hassle, don't want to mess things again.

Currently root with stock Rom and Kernel though on my S7 I used Superman Rom for years, would really like to use Elemental Kernel but last time I flashed it I lost Wifi, Bluetooth and the hotspot
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
You should always do a backup.

However, this kernel is 100% stable and everything works. Not sure how you lost these things.
[Samsung Galaxy S9 & S9+ Cross Device Development] ingalaxyz:
Is the stock kernel in the boot part ?

That's the one I should backup through TWRP ?

I assume I need to reflash Magisk after the kernel or else the root will be gone ?
[Samsung Galaxy S9 & S9+ Cross Device Development] AndreiLux:
Actually that's just the hard limit and just for the sake of running the benchmarks that I published, I wouldn't recommend using it because of battery.

Again, the 2.3GHz one is totally not for you if you want battery life, it's just if you want *real* performance matching the Snapdragon.

Unfortunately the capacity limiter is a thermal mechanism, I just made it so the phone would stop getting warm in some scenarios - it doesn't guarantee against load spikes that the power delivery can't handle as that's a hardware limit. The hotplug driver does provide a hard guarantee, but the very very vast majority of workloads do not behave like the hotplug driver likes to behave, no matter how you tune it.

Also I hope you played around with the power limit under /schedutil/power_limit . The maximum quad-frequency is the frequency that the power delivery can handle. Maybe try 2.1. My unit seemed to work fine up to 2.5 quad.

I would to put a huge stop here. The whole point of all this effort was to show that Samsung purposefully tuned the phone to run high geekbench numbers and to run like **** in other scenarios. The EAS backports will do absolutely nothing to GB. Try any other interactive benchmark and you will see that running the hotplug driver will murder performance. I just do not see any scenario where it could possibly still be used without losing on interactive performance.

Again, any real world ST workload does not behave like that. There's just no way you can maintain REAL ST performance when you have all the other cores off.

Again, stop being obsessed with GB!

Beating a dead horse here, but it's an unstoppable force trying to go against an immovable object. The high frequencies just have to go.

I'm not having plans to do much right now, but I did find a significant power improvement by disabling the EHMP load balancer and I'm just tuning schedtune and freqvar right now. 1.8GHz with these modifications will outperform the stock kernel significantly in all real scenarios while gaining battery. Further battery improvement will likely just be a case of further reducing the big cores frequencies. I suppose you could run 1.46GHz and still outperform the stock kernel settings in majority of workloads.
[Samsung Galaxy S9 & S9+ Cross Device Development] jack allen:
Is the bluetooth issue sorted at all or does anyone know why its playing up??
[Samsung Galaxy S9 & S9+ Cross Device Development] Racer-1:
No, Bluetooth gets reseted every time.
[Samsung Galaxy S9 & S9+ Cross Device Development] jack allen:
Yeah i know thats what i mean, i have to manually re add my galaxy gear fit 2 every reboot its so annoying
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
Edit: My bluetooth working now.

Seems to work intermittently for me.
[Samsung Galaxy S9 & S9+ Cross Device Development] jakeneal22:
So first off I don't think this is a kennel issue but I may be wrong.

Better battery stats says my phone never goes into deep sleep because of netrm1 kernel wakelock. Can anyone explain how to fix this. My standbye time is horrible.
[Samsung Galaxy S9 & S9+ Cross Device Development] Revontheus:
Hello [MENTION=4684315]flar2[/MENTION],

Will the following code above you posted in the Nexus 6 forums still work for the S9 for setting selinux to permissive at boot?

Thanks and awesome kernel!
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
If using SuperSU, use supolicy --live "permissive *"

You need to put the script in the su.d folder, or Magisk post boot folder if using Magisk. Use the Script Manager in EX Kernel Manager to automatically put it in the correct location.
[Samsung Galaxy S9 & S9+ Cross Device Development] tiho5:
Thanks

Perhaps it's good to have a bit more detailed guide about this in the op?
[Samsung Galaxy S9 & S9+ Cross Device Development] abrahamjones:
What did you do?
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
I did not change anything it just started working.
[Samsung Galaxy S9 & S9+ Cross Device Development] pepo187:
When we can expect this update? I flashed your kernel on top of soldiers rom...I chose underclock mode but I dont see any improvements in battery life??
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
I've been using these changes for the past 5 days and see no improvement. Actually, it's about 1%/hr worse battery drain than default EX 1.06.
[Samsung Galaxy S9 & S9+ Cross Device Development] :
Not really kernel related questions, but:

1. If you unlock bootloader on the S9, the warranty is gone, right? (Coming from the Xperia fam where we had the TA backup tool)

2. What's your opinion regards to the Device Maintenance tool in terms of battery life? (I don't believe in such software and was completely horrified to see it included in the official ROM)
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
1. Depends on your country. I don't think unlocking voids the warranty in the European Union, but might in other countries. You lose Knox security if you unlock the bootloader, which means you can't use Samsung Pay and secure folder.

2. I don't pay attention to things like Device Maintenance. Samsung is full of that kind of bloat, which is one reason why you might want to unlock the bootloader.
[Samsung Galaxy S9 & S9+ Cross Device Development] :
Thanks. I've read some stuff about the EU and unlocking, but when I wanted to double check I couldn't find the thread anymore.

Amen to the second one.

Have a nice day!
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
Who downvoted this thread anyways? I have like 30 or 40 threads and this is the only one with four stars instead of five.
[Samsung Galaxy S9 & S9+ Cross Device Development] t0m2k:
a shame really, because this kernel is really good!
[Samsung Galaxy S9 & S9+ Cross Device Development] Revontheus:
Hello again [MENTION=4684315]flar2[/MENTION], kind of a weird question here but by choosing the Overclock Option in Aroma and setting the frequencies (via EXKM) of the big cluster to 2314 mhz and the small cluster to 1794 mhz, is that in essence the same as choosing the Underclock option? or are there differences?

Thanks in advance!
[Samsung Galaxy S9 & S9+ Cross Device Development] flar2:
The difference is the 2,3 and 4 cores of the big cluster will run at higher freqs with the overclock kernel.

But you can do it if you want. Surprisingly, the frequency settings actually seem to stick on this phone.
[Samsung Galaxy S9 & S9+ Cross Device Development] paul c:
Just installed the kernel with the Kernel Control app onto my S9+ with Soldier9312's ROM - great job [MENTION=4684315]flar2[/MENTION]!

Love the swipe to wake :good: I haven't played with the processors yet, will begin with that, this weekend
[Samsung Galaxy S9 & S9+ Cross Device Development] :
I gave you a 5/5 :P

I got in contact with the Samsung Services from Romania today, and even though we are in the EU, they don't care about the EC directive about rooting/unlocking and won't accept the phone into warranty. I posted this just so others who intend to unlock it to write to their nearby Samsung Services.

Do you have any idea if the "performance modes" have any effect on the GPU/CPU? I didn't notice any, and when searching online, not many people are bothered with this aspect. It's weird they'd implement one single mode, four times.
[Samsung Galaxy S9 & S9+ Cross Device Development] xFirefly93:
They are basically forced to follow the unified EC directive about Warranty Claims. No matter what the folks over at Samsung says.