yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9 & S9+ Cross Device Development] Jason_zhang:
Kernel adiutor shows that my minimal freq of big cores is 650M, and little is 455M. Do you mistake those two?
[Samsung Galaxy S9 & S9+ Cross Device Development] zimmerAndy:
Well then it must be Mtweaks check this
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Got the device and here we are
[Samsung Galaxy S9 & S9+ Cross Device Development] zimmerAndy:
I got the same readings with kernel auditor too

Any idea on this OP??? Farovitus???

My device is 965F/DS s9+
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Seems there is something wrong with mtweaks, cpu freqs tables are inverted indeed, report this issue the mtweaks dev please.
[Samsung Galaxy S9 & S9+ Cross Device Development] zimmerAndy:
But it is also with kernel auditor?? May i ask witch app u use to check???
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
I checked kernel source
[Samsung Galaxy S9 & S9+ Cross Device Development] zimmerAndy:
Thanks sire
[Samsung Galaxy S9 & S9+ Cross Device Development] Paradoxxx:
Good to see you here, unexpected for sure, but good :D.

How much did you merge from AndreiLux so far ?
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Good to see you too, source is available at GitHub. I am trying other stuff for V101, seems more stable and battery friendly than V100.
[Samsung Galaxy S9 & S9+ Cross Device Development] jack allen:
Ah yes i have missed your kernel from my s8+ cant wait to use again thank you
[Samsung Galaxy S9 & S9+ Cross Device Development] Encik Panda:
Thanks again [MENTION=4032833]farovitus[/MENTION] brings back Noto kernel to S9/S9+ ? using Noto kernel on my S7e until now. And now Noto's back for S9/S9+. Thanks mate
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
Same here - my S7e is backup device, and primary ROM is using it also.

On the road, so might wait for v101. I am on ElementalX - can I just flash this over it ?

Just did so, and flashed OK - but like with the above kernel,,only schedutil CPU governor shows up ???
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Yes, there is no point of using other than schedutil. It's simply the best
[Samsung Galaxy S9 & S9+ Cross Device Development] SlyUK:
Do you still have your Pixel 2 ?

Edit:

Or was the S9 too much of temptation :)
[Samsung Galaxy S9 & S9+ Cross Device Development] pepo187:
When can we expect 101 version?
[Samsung Galaxy S9 & S9+ Cross Device Development] :
Don't ask for eta / updates. Read the rules!
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
I flashed renovate, and battery life was poor. Flashed this over and got a good improvement.

And 101 battery life will be better?
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
NK9810-V101_T

*Added Maple, Fiops, Zen, Sio

*Enabled deadline & noop io schedulers as well.

*Wake_Gestures: sweep2wake, doubletap2wake and sweep2sleep

*Enable Dex with any HDMI adapter

*RGB, color control

*Various improvements that enhance overall system performance.

Download:

https://xdaforums.com/devdb/project/dl/?id=29397
[Samsung Galaxy S9 & S9+ Cross Device Development] saxena1:
Delete
[Samsung Galaxy S9 & S9+ Cross Device Development] Chrispearson172512:
Thanks for the hard work
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
Just flashed it - will see if battery life even better and pist.
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Cool, this is the same reason why i flagged V101 as a beta/Testing release as i am not so sure about battery life
[Samsung Galaxy S9 & S9+ Cross Device Development] pepo187:
flashed it too so lets see how is battery ;)
[Samsung Galaxy S9 & S9+ Cross Device Development] Sofienlegiik:
COOOL !

thanks dude for your job, i just have one little question, you said :

*Enable Dex with any HDMI adapter

can you tell us more about it, what we need to use it, because i tried with my adapter, and it's not working *snif*
[Samsung Galaxy S9 & S9+ Cross Device Development] Bicet:
I don't know in terms of battery life, but performance are not the best ever :/
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
My battery seems to be doing better then v100. It takes about a day to settle in each time.
[Samsung Galaxy S9 & S9+ Cross Device Development] jack allen:
What is the best app to use for this kernel mtweaks or ex kernel app. Thanks
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Well one is free and the other is not, i guess you should choose which one is the most you need according to the features inside of each of those apps
[Samsung Galaxy S9 & S9+ Cross Device Development] jack allen:
Both are free though... im just curious which one you use if you do at all??
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
Kernel working pretty good. Looking forward to updates. I am reflashing your S8Port kernel on my S7e as I write this.
[Samsung Galaxy S9 & S9+ Cross Device Development] ounerkouks:
Hi all

Same question. Frequence is very down on this version.

Its possible to oc big core ? I have good asv :)
[Samsung Galaxy S9 & S9+ Cross Device Development] jack allen:
There is a reason i cant remember mate, google it.
[Samsung Galaxy S9 & S9+ Cross Device Development] ounerkouks:
Its possible, look ElementalX Kernel.
[Samsung Galaxy S9 & S9+ Cross Device Development] sprockettyz:
Any chance this would work with lineageos? O
[Samsung Galaxy S9 & S9+ Cross Device Development] kazzot17:
No, this only works on SE
[Samsung Galaxy S9 & S9+ Cross Device Development] yash92duster:
@ farovitus

Good work mate :)
[Samsung Galaxy S9 & S9+ Cross Device Development] skorski:
I want to thank you for saving my S9 and my sanity. I got this phone on launch, and was so disappointed in finding out that new processors not always are more power efficient. I was getting something like 2hrs SOT and 16 idle, and was forced to keep the device in airplane mode when not using it, making a new phone just a media player. The difference with this kernel and some hybernated bloatware is really noticeable.
[Samsung Galaxy S9 & S9+ Cross Device Development] JP_93:
What battery life are you getting now?
[Samsung Galaxy S9 & S9+ Cross Device Development] :
Which ASV are good?
[Samsung Galaxy S9 & S9+ Cross Device Development] skorski:
Will post in a few days when I have better data but it lasts the whole day going in to the night of normal usage, maybe 2-4 hrs sot and 14hrs idle with 30-40% left. It really feels like a usable phone now, and the speed is very good too (I don't see a difference compared to stock kernel)
[Samsung Galaxy S9 & S9+ Cross Device Development] skorski:
This are my results with max res, some frozen bs and using Greenify. Thanks to this kernel and root, I now have a usable S9

https://imgur.com/a/AAn9rKg
[Samsung Galaxy S9 & S9+ Cross Device Development] dheerain2902:
Can we have gesture navigation support in this kernel. ??
[Samsung Galaxy S9 & S9+ Cross Device Development] xFirefly93:
Why bother with overclocking a phone that already got some pretty nasty battery and thermal issues (thanks to Samsungs weird decisions with their own in-house Exynos SOC) as it is?
[Samsung Galaxy S9 & S9+ Cross Device Development] kriss3:
Will the bre5 database be new?
[Samsung Galaxy S9 & S9+ Cross Device Development] Carach_CZ:
Telegram group link seems to be broken.
[Samsung Galaxy S9 & S9+ Cross Device Development] ervin444:
On the firmware [BRE5] [G96xF / FD] LightROM can be installed ??? :confused:
[Samsung Galaxy S9 & S9+ Cross Device Development] OrderMoD:
Can I use drivedroid if I install this kernel? Would be great if someone can point me in the right direction to be able to use drivedroid on my s9 plus, thanks in advance.
[Samsung Galaxy S9 & S9+ Cross Device Development] Eamo5:
This kernel breaks the camera for me on Soldier's Stock ROM running BRE6 :(
[Samsung Galaxy S9 & S9+ Cross Device Development] :
Yes because it is not (not now) for latest base (vendor).

Enter telegram group. There are beta builds for bre5 which are working quite well
[Samsung Galaxy S9 & S9+ Cross Device Development] Eamo5:
Ah thanks, I didn't know there were betas being distributed. Will try and flash the latest beta!
[Samsung Galaxy S9 & S9+ Cross Device Development] zubi182:
Very good battery life with Soldier 3.8 and your last beta kernel. I have screen brightness always at 60%, and 100% with Tasker on some apps.

And very smooth without any lag with default settings.

Thanks for your work!!! Waiting for next releases ;)
[Samsung Galaxy S9 & S9+ Cross Device Development] Muntasir Mahmud Saif:
abandoned?
[Samsung Galaxy S9 & S9+ Cross Device Development] tiliarou:
No, development is on-going.

See on github: https://github.com/exynos-linux-stable/starlte

And if you want to follow on daily basis, join the telegram group.
[Samsung Galaxy S9 & S9+ Cross Device Development] ok4n93:
S9 or S9+?
[Samsung Galaxy S9 & S9+ Cross Device Development] zubi182:
S9+
[Samsung Galaxy S9 & S9+ Cross Device Development] ok4n93:
Can you tell me which version of the notorious kernel you've used I also want to try it with soldiers stock rom.

Thanks :)
[Samsung Galaxy S9 & S9+ Cross Device Development] zubi182:
NOTORIOUS KERNEL V102 T6

You can download this version on Notorious Telegram group. Is a beta version clocked al 1740 mhz but is very fast, battery optimized and smooth
[Samsung Galaxy S9 & S9+ Cross Device Development] ok4n93:
Flashed it gonna test it now :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Muntasir Mahmud Saif:
it's the best kernel for any Samsung
[Samsung Galaxy S9 & S9+ Cross Device Development] Eamo5:
You won't be dissapointed, it's definitely got better battery life than ElementalX and is Andrei from Anandtech's recommended kernel for battery life.
[Samsung Galaxy S9 & S9+ Cross Device Development] Teblakuda4o4:
Can I flash this kernel on my Exynos S9 stock rom or do I NEED to be on a custom rom first?
[Samsung Galaxy S9 & S9+ Cross Device Development] :
You can flash it on stock rom too
[Samsung Galaxy S9 & S9+ Cross Device Development] Muntasir Mahmud Saif:
telegram link anyone? "searched" someone said it's broken... it'd be great if someone directly give download link if it's permitted to do so
[Samsung Galaxy S9 & S9+ Cross Device Development] Eamo5:
It's not broken, just join through the link on the first post.
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
Yeah I got v102t6 that way.

Still don't know why it's not here also - unless he got tired of all the dumb questions and wining on XDA.
[Samsung Galaxy S9 & S9+ Cross Device Development] Eamo5:
It's a beta, and yeah people would probably complain. There are still some issues with it, at least for me. Random freezes being the only one I've encountered. I'll get 1 maybe 2 a day which sucks, but hopefully whatever causes it will be solved
[Samsung Galaxy S9 & S9+ Cross Device Development] ok4n93:
The best thing I could do, I have always 2.30 to 3, hours sot with 50% battery left on 50% screen brightness and about 9 hours of usage in this time. It is a really great combination with soldiers 3.8 and no problems with anything.

S9 :)
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
Have not had any freezes, but had a few reboots - but not sure if it was with this kernel or just before I flashed it.
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Which beta build exactly?
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
I am working on a build tuned to achieve better performance. I don't know if anyone do agree with this step but i strongly believe that those who bought this device (most of them) cares more about the performance & smoothness than battery life.

Yes for a more performance oriented kernel.

No for a more battery oriented kernel.

Shoot.
[Samsung Galaxy S9 & S9+ Cross Device Development] jack allen:
Yes please for performance i dont care about my battery sot i always have a way to charge my phone. So yes please boss
[Samsung Galaxy S9 & S9+ Cross Device Development] Carach_CZ:
Well i just hope that battery wont get beaten too bad, im taking my phone to work where i am 12 hours and not always in vicinity of a charger ?

My opinion is, that our device is powerful as hell already, so battery should get more attention. But... Ill let you surprise me, mate. Noto is great.
[Samsung Galaxy S9 & S9+ Cross Device Development] zubi182:
102 T6 Kernel

You can download on telegram group
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Thank you, let me join that TG group then seems interesting
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
No I can understand if highest performance is needed for something specific but not if it is just for speed tests.

Even at conservative settings , performance is pretty good.
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Shouldn't any improvement in benchmarks reflect with benefits to whatever the task you do on your phone?

Let it be, gaming, app loading etc...
[Samsung Galaxy S9 & S9+ Cross Device Development] Eamo5:
I think the issue is that even underclocked, the CPU on this device is just so powerful that people don't even notice a difference in day to day speed when underclocked. Even at 1.8GHz the Geekbench scores are still way above all other previous generation devices.

Essentially people don't want to have to give up battery life (something that has a direct impact on the user everyday) for performance improvements that are negligible and have almost 0 impact for daily use. I know for me, the main reason I rooted was for better battery life.
[Samsung Galaxy S9 & S9+ Cross Device Development] ianmacd:
Not ordinarily.

Benchmarks test the pathological case, but most users do not (and cannot) use the device pathologically. The user himself is the bottleneck in the typical scenario, and the device spends most of its time idling and waiting for him, not vice versa.
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Sorry for the delay, new release coming in the next couple of days
[Samsung Galaxy S9 & S9+ Cross Device Development] Muntasir Mahmud Saif:
your kernel used to make Samsung logo blink faster on boot.. don't know why but i liked that on note 8 and s8..hope this will also be in s9+.. tried the betas and there wasn't
[Samsung Galaxy S9 & S9+ Cross Device Development] Yoodj:
Reading this thread is not representative : the telegram group is pretty active ! Noto is in intensive testing for BRF8 base ?
[Samsung Galaxy S9 & S9+ Cross Device Development] adhd_1977:
Installed the kernel on Galaxy S9, with alxnder dev base. But with kernel installed camera dont work, gives black screen..
[Samsung Galaxy S9 & S9+ Cross Device Development] Diddymies:
stop spamming on every thread.
[Samsung Galaxy S9 & S9+ Cross Device Development] adhd_1977:
Can someone give me a download direction for BRF8 working notorious kernel ?
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
--Main changes:

* Latest ELS merged, BRG6 based along with 4.9.117

* Merged android-4.9 (latest EAS, llvm patches along with many android specific commits included.)

* Purged all SAMSUNG changes related to scheduler and inline with android-4.9.

* Picked several patches from Google (Pixel2) & CAF & Mainline to further optimize the scheduler.

* DVFS dynamic patch, adjust the frequencies used in some common cases like APP_LAUNCH, SCROLLING, UNLOCK etc... It's now more like SD845 variant and i personally think it's more battery friendly & ofc better in performance.

* Unlock full GPU capability (min-freq set to 299 & max-freq 598). No, during all the testing no one damaged his phone or burned his hands from this, this change was meant to improve performance.

STOCK (BRG6) VS NK9810-V103

--Comparison:

I don't know why and how and what SAMSUNG did but they did waste a lot of time and money probably by adding nothing but thousands of lines to scheduler, no improvements. I ran my device with scheduler fully inlined with ACK-4.9 only to notice that the latter perform much better.

Problems i faced with scheduler being fully inlined with ACK-4.9:

* Frequencies being mostly at high levels which drained battery fast, other than that all was good.

How did i deal with the issue?

My solution to this is:

- Bring back freqvar_tune driver. Well i MAY have lied previously, SAMSUNG did add one useful driver called freqvar_tune that helps you to choose a custom value for the target residency load at each freq.

- Import back ONLY what's useful to improve performance (QoS support) & some EXYNOS related codes (Mostly related to M3's) that helps to improve battery life.

Having those back to our new scheduler we have now a stable, normal behavior that we want from a scheduler.

--Technical Comparison for nerds like me:

Some UIBench tests,

* Jitter:

* Bitmap Upload:

[IMG="Bitmap Upload"]https://lh6.googleusercontent.com/kknCKH90XZPiXphAWte0YNveBLt8JIFC8cP3maeZq1dQvQna4p07XzJ_wyHxAd5iNYh5R8VSV0b7fA=w1920-h1014-rw[/IMG]

* Invalidate:

Questions/Answers

Q- Is there more room for improvements ?

A- Yes, but i don't know what to do, as i really favor the performance over battery life.

Q- Can we ditch the freqvar_tune driver in the future ?

A- Yes, but someone with more experience have to do it/fix it, i simply don't know why it was jumping over many freqs and race to max-freq.

Q- Why using higher GPU frequency ?

A- Why not ?

Credits?

Andreilux, he probably hates his job right now.

Jesec, joshuous, nathanchance.

2 of those guys had to go through a lot, just by hearing the ideas running in my head, THANKS !

And thanks for Ryank02 for making shots presentable & for uploading V103.

Download

[url]https://androidfilehost.com/?fid=5862345805528066700[/URL]

Check GitHub repo for more information.
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
BRG6 base only!

If stuck on bootanimation:

1- do force reboot and/ or wipe cache & Dalvikcache - ART

2- If you are coming from another kernel that delete stuff from vendor or system, dirty flash your rom before reporting about any issue.

3- If still same issue, flash your rom with no mods (basically navbar mod)

will update this post once i get more info from users.
[Samsung Galaxy S9 & S9+ Cross Device Development] Teblakuda4o4:
Running the newest brg6 base NK with soldierom. Godly battery life. Screen on time isn't the great yet but much better and I can easily get a full day of use before charging.

Thanks for the Awesome Kernel. :D
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Interesting post. Can you post more stats?

Do you have bbs installed ? Do you have AOD on ? Is this even a screenshot from V103 ?

Thanks for the awesome details helping us to improve it more. :D
[Samsung Galaxy S9 & S9+ Cross Device Development] Spl4tt:
Uuh, have you deleted the telegram group? Oo

That's sad.
[Samsung Galaxy S9 & S9+ Cross Device Development] sevenshorseman:
Telegram Link doesn't work.

Group does not exist.
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Our TG group is dead, future beta, stable builds will be announced here.
[Samsung Galaxy S9 & S9+ Cross Device Development] jack allen:
Strange not that long ago all the devs were sayings that all the beta testing was done via telegram so everyone got and used telegram and now we all use telegram xda is being used again lol
[Samsung Galaxy S9 & S9+ Cross Device Development] Spl4tt:
Well, that's it then. Slow xda again.
[Samsung Galaxy S9 & S9+ Cross Device Development] Teblakuda4o4:
What's is bbs? I always have AOD active and yes this is v103.

I will try to post more stats whenever I can, if u can improve this kernel more we'll all be happy.
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Bbs, BetterBatteryStats.

Also turning off AOD would improve your SOT.

Well that's the goal for V104.
[Samsung Galaxy S9 & S9+ Cross Device Development] sonice21:
Can't instalo on FXXU2BRGA?
[Samsung Galaxy S9 & S9+ Cross Device Development] riso123:
Looks like it.
[Samsung Galaxy S9 & S9+ Cross Device Development] Code124Y:
hi, can you release default frequancy version? instead of limited freq?
[Samsung Galaxy S9 & S9+ Cross Device Development] Code124Y:
is it? i though it lock cap at 2.1Ghz and no choice for higher freqz...
[Samsung Galaxy S9 & S9+ Cross Device Development] babyboy3265:
I installed the SOldier ROM, then booted and set the phone up. Rebooted to TWRP and installed the KERNEL plus Magisk. Now that i rebooted it has been stuck on the pulsating SAMSUNG logo and not booting for the last 10 minutes. Is that normal?

EDIT: I forgot to mention that together with the KERNEL i flashed the x35 points navbar provided with SOLDIER ROM and i guess thats why i got the bootloop. I then flashed the stock navbar size and wiped cache/dalvik and the phone booted immediately. Then I went back to TWRP and reinstalled x35 navbar and all works so far. I will report on the KERNEL in the next days.

Thank you for your efforts [MENTION=4032833]farovitus[/MENTION]!
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
I wonder why it's not booting when patching a modded framework directly :confused:

Edit: what if you wiped cache/dalvik again, would it boot again ?
[Samsung Galaxy S9 & S9+ Cross Device Development] babyboy3265:
Thank you for your reply. I edited my comment and wrote my solution based on a post you made a few pages back, mentioning possible solutions to bootloops. In the 3rd solution you mentioned that if nothing works, then one should reinstall one's rom WITHOUT any mods like navbar sizes. That reminded me I had installed that mod with your kernel. So now all is good. :)
[Samsung Galaxy S9 & S9+ Cross Device Development] WhoIsJohnGalt1979:
Quick question, does it boot when you flash the mod after you have flashed the kernel?
[Samsung Galaxy S9 & S9+ Cross Device Development] Teblakuda4o4:
More battery stats ? and another full day without charge?
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Check kernel wakelocks tab in BBS
[Samsung Galaxy S9 & S9+ Cross Device Development] farovitus:
Current test build of V104 will reduce power consumption.

A specific test ran on V103 vs the current test build of V104 showed an improvement by ~150 mAh.
[Samsung Galaxy S9 & S9+ Cross Device Development] babyboy3265:
Yes sir! Basically after you have flashed the kernel, you gotta boot up at least once, play with it for a minute, reboot to recovery, install the x35 or whatever navbar you prefer (from soldiers rom thread), wipe cache/dalvik and reboot and you are good to go.

See attached screen shot.
[Samsung Galaxy S9 & S9+ Cross Device Development] Teblakuda4o4:
Awesome work, cant wait to test it.
[Samsung Galaxy S9 & S9+ Cross Device Development] davjak:
Quick question [MENTION=4032833]farovitus[/MENTION]

You seem to be the one that can get the most out of our devices.

I had an S8+ and used your kernel and it was by far the best out there to prolong battery life but also give it a smooth feel without compromise

Again you seem to be doing it with the S9+ and it would appear its about to get better when v104 drops

I've read countless posts, threads, articles & been on most of the Telegram groups...

My question.

What is the major difference that is causing the S9's battery life to be so poor.

My S8+ with NK 220 lasted well over a day of standard usage. The S9+ I'm lucky I get 16hrs, both with similar set ups

Is it the new cpu, screen, apps or Samsungs inability to provide quality software / kernel ?
[Samsung Galaxy S9 & S9+ Cross Device Development] Noxxxious:
SoC and inability to provide quality. Hopefully N9 will change things for you a bit. Also v103 is more performance driven than extending your SoT.
[Samsung Galaxy S9 & S9+ Cross Device Development] Kimkee:
While this upcoming version of the kernel will reduce power consumption, does that mean that you cannot undervolt the CPU? Bit new to kernels and such, sorry if this is a ridiculous question!