yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
R21

https://mega.nz/#!R4hi0CaQ!K7vBQ8TngvAZfx8jEv8b_bAyU1DejasPpFBjZAPQDHw

Changelog:

- Fixed GearVR (made the same mistake twice now) and some irrelevant misc fixes.

- Improved battery life while keeping the same or better performance.
[Samsung Galaxy S8 & S8+ Cross Device Development] MrH871:
Bro love your work thank you immensely

Is it best to leave governors and i/o schedulers standard (interactive, cfq) what woukd you recommend,

Also what does the size do, its on 128kb normally i used to put it on 1024kb also for external same , cfq 1024kb... Whats recommended size, thankyou
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
I recommend the default settings, otherwise id set them differently.

a. The interactive governor seems to be the most energy efficient due to dynamic mode change. If you prefer performance then use an other governor.

b. CFQ scheduler is the current mainline scheduler. Although BFQ also has been implemented in the mainline kernel.

c. 128kb on the internal storage, because that results in lower page thrashing.

Anticipated questions:

Q: Why no schedutil governor?

A: Schedutil governor is designed for EAS scheduling kernels, which we don't have. Also enabling just the governor is possible, but as stated out here it actually consumes more.

Q: Why no EAS implementation?

A: Because there is no proper Energy Model for the Exynos8895 and I don't want an inefficient kernel (power/performance). Snapdragons have the luck that they can extract the model from Pixel phones sharing the same SoC. Lastly said this kernel currently scores 100-150mW less, during a playback test, compared to other kernels that are upstreamed or EAS based. This is a weird occurance, as EAS should best HMP. Although due to the lack of a proper energy model I could understand that it is more inefficient.

Q: Why no other I/O schedulers?

A: Maybe I'll add BFQ in the future, but no more than that. We had Zen and Maple in the past, but they are just not as good. You can use Noop if you care about latency. Energy consumption wise I doubt that any I/O scheduler makes a noticable difference.

Q: Plans to upstream?

A: People use upstream due to "stability and security", but there are also some changes that positively impact performance and negatively impact battery. I prefer the latter. If you care about security, please stay away from root, warez apps/sites, public networks and keep your phone stock for the extra Realtime kernel protection.

Although I probably will use the .111 sublevel that is in use since CRE for the next update. Reasons are that with Pie it is quite inevitable and the base has better scheduler changes which for example result in smoother scrolling. Energy consumption wise it will probably be a little higher, although during some non intensive workloads it seems to be more efficient.

Q: PWM Flickerfree?

A: No. His app will probably help you out in the near future.

Q: Any other features?

A: Read FAQ
[Samsung Galaxy S8 & S8+ Cross Device Development] parser:
Finally someone making an effort to make flickerfree a streamline feature. I didnt get though how he made is as a layer.
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
Not just someone. He is the person who initially introduced PWM flickerfree to Samsung phones. Also the how is answered here: https://stackoverflow.com/questions...creen-color-temperature-in-android-like-f-lux
[Samsung Galaxy S8 & S8+ Cross Device Development] parser:
Oh, so its the like, the same way old "Lux Auto Brightness" app used? or like blue light filter on our phone? cool.
[Samsung Galaxy S8 & S8+ Cross Device Development] jacopastorius:
Does this kernel supports double tap to wake? if not, is there a kernel that supports it? thank you
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
No and no idea.
[Samsung Galaxy S8 & S8+ Cross Device Development] jacopastorius:
I guys i can't find sysfs tab to modify less fading in kernel adiutor. I am using latest 21. Any thing to do?
[Samsung Galaxy S8 & S8+ Cross Device Development] Equinox111:
Thanks a lot

Incredibly fast and stable on a s8 with Renovate ICE. Respect for your job.
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
Use Mtweaks

Thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] jacopastorius:
Thank you very much and really congrats for your work
[Samsung Galaxy S8 & S8+ Cross Device Development] Denfic:
Lol !!
[Samsung Galaxy S8 & S8+ Cross Device Development] Alberhasky:
Will there ever be spectrum implementation to your kernel? It seems that it would be easier to handle for non advanced users, already having pre-set profiles made by you with the best configuration from your experience instead of having to use mtweaks forcibly to change anything to it

It's just my opinion, every other kernel out there has spectrum support, is there any specific reason as of why you haven't added support for it? Would it affect anything performance wise or in any other way?

I wish you could reconsider adding support for it in future releases, it would make it the perfect kernel out there for s8 devices

Thanks a lot
[Samsung Galaxy S8 & S8+ Cross Device Development] The Sickness:
[MENTION=4587002]Noxxxious[/MENTION] I can't believe your still around.....

I just happened to log in a look around XDA and found you here.

Hope all is well with you.
[Samsung Galaxy S8 & S8+ Cross Device Development] Az Biker:
* * * Thread Cleaned * * *

Let's keep our comments respectful, on-topic, and related to kernel development.

Respectfully requesting a feature is one thing, negatively comparing this kernel to other kernels, rude and not cool!

Arguing, trading insults, and generally disrupting the thread, not cool and against the rules.

So let's stop the drama llama from getting loose here, and let's get back to development.

Thanks for your cooperation.
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
I doubt it. I was busy making some profiles, but really don't see the point in having it.

Hey there. What have you been up to lately and planning to return to the game?

This thread is being monitored :cool:
[Samsung Galaxy S8 & S8+ Cross Device Development] The Sickness:
[MENTION=4587002]Noxxxious[/MENTION] I have ZERO plans of returning. Zero interest.

Plus I have the S9+ with Snapdragon with T-Mobile= No root.

I've been extremely busy at work and real life stuff.
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
Ah well, this ride will be soon over for me too as soon some proper Snapdragon 855 device releases. Im glad to hear that you are still kicking, but take it easy :cowboy:
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
Got pie?
[Samsung Galaxy S8 & S8+ Cross Device Development] oyir:
Do you mind if i tried the test build?
[Samsung Galaxy S8 & S8+ Cross Device Development] Denfic:
I am planning to go to PIE ..but was waiting for your kernel .. have you got plannes to build the greatest for PIE ?? Would be awsome .. and the last ROM version i will flash .. i am getting tired of flashing ... :eek::eek:
[Samsung Galaxy S8 & S8+ Cross Device Development] parser:
Would it work with other pie releases too?
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
I do

I'm waiting for official source rather than using this oreo source ive booted from. The official pie source will have a new scaling driver named "UFC" that no other phone has, so cannot backport that unlike the other things. Also the S8 kernel is ahead of the N8 pie kernel.

Yes
[Samsung Galaxy S8 & S8+ Cross Device Development] Denfic:
Great to hear that you will wait for stable things .. i will wait also .. no more gambles on this side .. :)

Will follow you`re actions on this ..thanx for the info ..!!
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
Well the UFC driver is nothing else than existing stuff moved into another file. Anyway I have got a working Pie kernel based on the N8 source since this morning. It will not be released because I am a gentleman and giving the other kernel makers a headstart. Also I might want to wait out the S8 source as that one will definitely be newer.
[Samsung Galaxy S8 & S8+ Cross Device Development] sswagonman:
Running nice indeed
[Samsung Galaxy S8 & S8+ Cross Device Development] parser:
That theme is blasphemy to my eyes lol
[Samsung Galaxy S8 & S8+ Cross Device Development] sswagonman:
Its lovely
[Samsung Galaxy S8 & S8+ Cross Device Development] MrH871:
Anybody elses phone have green tint on edges? Especially at the bottom, alezis rom nx21 OREO

Did not happen on previous versions
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
Go to a Samsung service center
[Samsung Galaxy S8 & S8+ Cross Device Development] MrH871:
no need im on r20 and its ok now. So weird lol
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
Weird indeed.
[Samsung Galaxy S8 & S8+ Cross Device Development] bininga59:
Official firmware Android 9 is out

https://www.sammobile.com/firmwares/galaxy-s8-plus/SM-G955F/DBT/download/G955FXXU4DSBA/257856/
[Samsung Galaxy S8 & S8+ Cross Device Development] chinhtao:
yes, for s8 too
[Samsung Galaxy S8 & S8+ Cross Device Development] vladcbnn:
Official pie has been released
[Samsung Galaxy S8 & S8+ Cross Device Development] Denfic:
Well ... Noxxx .... we did not have to wait to long in this case ... do your thing with the kernel ..and release the beast ... !!!!! Hahahaah ... Doe je best gooz .. ;)
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
Ive requested the source this morning. As soon the source is out ill release a kernel.

Thanks for the support :highfive:
[Samsung Galaxy S8 & S8+ Cross Device Development] destan4503:
[/COLOR]

thanks nox
[Samsung Galaxy S8 & S8+ Cross Device Development] esmaeil mohamadi:
thank you very very
[Samsung Galaxy S8 & S8+ Cross Device Development] parser:
Should we request bomb them too?
[Samsung Galaxy S8 & S8+ Cross Device Development] Kglim:
Always thanks noxx

God bless you!
[Samsung Galaxy S8 & S8+ Cross Device Development] Febri Riza F:
Thankyou noxx ?
[Samsung Galaxy S8 & S8+ Cross Device Development] loris100:
Hi [MENTION=4587002]Noxxxious[/MENTION] have you considered releasing your kernel for LOS 15.1? :fingers-crossed:
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
It is far from being a daily driver and I personally wouldnt use it. So a no-go, sorry to disappoint.

But on the bright side my kernel is ready, just dont want to release it yet until I figure something out till this weekend to prevent my files getting kanged by Copymax.
[Samsung Galaxy S8 & S8+ Cross Device Development] parser:
Did u get the kernel source that fast?

Happy to hear if that's the case :D
[Samsung Galaxy S8 & S8+ Cross Device Development] Ph0n1x:
[MENTION=4587002]Noxxxious[/MENTION]

cant wait for your android 9.0 kernel release.

thank you for keeping this device alive. much appreciated
[Samsung Galaxy S8 & S8+ Cross Device Development] -JFK-:
Hello,

I'm on a SM-G950F 6gb, R21 does not boot for me.

It is blocked on first page "Samsung Galaxy S8+ powered by Android".

Any idea?
[Samsung Galaxy S8 & S8+ Cross Device Development] bininga59:
How and with what did you flash the kernel?

If you have previously cleared cache and dalvik, booting may take longer.
[Samsung Galaxy S8 & S8+ Cross Device Development] soulremover:
Installed R22. Insanely fast compared to stock
[Samsung Galaxy S8 & S8+ Cross Device Development] MrH871:
Link is down
[Samsung Galaxy S8 & S8+ Cross Device Development] Iyaadali:
Link not working
[Samsung Galaxy S8 & S8+ Cross Device Development] sswagonman:
Link is not working due to an issue with r22. Kernel is being worked on as we speak
[Samsung Galaxy S8 & S8+ Cross Device Development] crille612:
Just installed r22 on pie rom. Phone is much faster now. Thanks Noxxxious for your work
[Samsung Galaxy S8 & S8+ Cross Device Development] Kglim:
Omg that was so fast ⏩ ?️

God bless u Noxxx!!!!
[Samsung Galaxy S8 & S8+ Cross Device Development] Sajid916:
[MENTION=4587002]Noxxxious[/MENTION]

Does it require moded twrp or stock twrp will do?

Please suggest.
[Samsung Galaxy S8 & S8+ Cross Device Development] Iyaadali:
Official twrp 3.2.3.2
[Samsung Galaxy S8 & S8+ Cross Device Development] jacopastorius:
Do you noticed any heating issues with latest pie?
[Samsung Galaxy S8 & S8+ Cross Device Development] shivasrage:
No heating issues here...but (don't know if its kernel relateded) device staus is no more official

it seems that fake knox 0x0 is no more working under pie... somebody else is noticing this?
[Samsung Galaxy S8 & S8+ Cross Device Development] wlryss:
Noxxxious

Many thanks for the [KERNEL] NX Kernel | R22.

On my firmware on the basis of Beta 3 (S8+) there was some block in case of reboot of the device and restart of SystemUI (already many modifications of SysUI) recently - thought that because of modification - made a backup and install NX Kernel | R22 - the instantaneous reboot and fast restart of SysUI - Magisk was back set without problems.

Plus the Permissive mode - it is possible to build in Viper, problems aren't expected. Well it is also possible to try to do completely deodex Rom - the official release just appeared in time. Thank you again..

If testers (S8+) in the future are necessary - with pleasure I will take part in testing.

No problems if is installed Magisk..
[Samsung Galaxy S8 & S8+ Cross Device Development] MrH871:
I install your kernel and once system boots up a screen comes up saying Payment Services

Your phone is locked because Payment Services has been uninstalled without authorisation... i then booted into recovery dirty flashed the rom and booted into system and was ok. Then tried flashing kernel again and same pop up came up.. im not sure why,this hasnt happened before
[Samsung Galaxy S8 & S8+ Cross Device Development] jacopastorius:
if anyone has problems with wifi not activated after kernel installed, just try to delete the network and re-associate
[Samsung Galaxy S8 & S8+ Cross Device Development] clodoux:
Thanks for nx22.
[Samsung Galaxy S8 & S8+ Cross Device Development] kooldool:
same here.
[Samsung Galaxy S8 & S8+ Cross Device Development] vinmoto:
22 fast
[Samsung Galaxy S8 & S8+ Cross Device Development] wienio48:
Magisk installed? SafetyNet is true?
[Samsung Galaxy S8 & S8+ Cross Device Development] soulremover:
Yes, same wifi issue here. Have to press forget network and then connect to it again.
[Samsung Galaxy S8 & S8+ Cross Device Development] kooldool:
Installed magisk latest stable.
[Samsung Galaxy S8 & S8+ Cross Device Development] jgun007:
Same here! Idk what's going on madmax kernel and nx kernel are locking people out of their devices! Is this legal on xda?
[Samsung Galaxy S8 & S8+ Cross Device Development] sswagonman:
Been testing box kernels since beta 4 and have never seen that. His kernel does not remove anything like that but on pie some of the secure stuff is different from oreo. Maybe stick with stock kernel
[Samsung Galaxy S8 & S8+ Cross Device Development] jgun007:
Why would he release a pie kernel that alot of people has this same issue with am not the only one perhaps ure not on telegram to see the amount of people with this issue.... And the kernel kernel made by remilia15 is pie based released today and has no issues with his kernel.... Am using s8 plus g955f
[Samsung Galaxy S8 & S8+ Cross Device Development] Iyaadali:
Rom problem

---------- Post added at 03:02 PM ---------- Previous post was at 02:55 PM ----------

Forget network and enter wifi password again

---------- Post added at 03:04 PM ---------- Previous post was at 03:02 PM ----------

Rom issue
[Samsung Galaxy S8 & S8+ Cross Device Development] chinhtao:
dont know becuz phone is locked
[Samsung Galaxy S8 & S8+ Cross Device Development] Iyaadali:
Bro its rom issue working fine here u can try another rom i got same issues
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
If you meant the device status to be offiicial, then that is true if you use Pie bootloader.

I dont uninstall anything from your rom, e.g. Knoxguard

That is normal the first time that you come from a fully stock rom and then install the securestorage libs provided in the zip

I am not locking you out, you are locking yourself out by debloating Knoxguard or whatever you can think off. It has been known since betas that removing this causes issues with Payment service error. Try use a rom like Hades rom instead
[Samsung Galaxy S8 & S8+ Cross Device Development] soulremover:
I am with soldiers rom. No problems at all
[Samsung Galaxy S8 & S8+ Cross Device Development] parser:
Calm down guys, don't jump down each other's throats bec. of an insincere person Allright. Just ignore the guy and move on.

Kernel is working as expected from noxx. I am on soldier atm but gonna try hades tomorrow.

Don't forget he is doing this for free.

Wish u all a nice day!
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
I did take down R22 for now because random write speed is broken. Going to come back later with a 22.1

Edit: it is not broken..
[Samsung Galaxy S8 & S8+ Cross Device Development] manojpy:
This is why you should have stayed on stock. Blaming someone else after screwing up your device. Nx is one kernel where I have never faced a single issue since Nougat days. If nothing else, It just gets better every build.

And I have used many since my S3 rooting days.
[Samsung Galaxy S8 & S8+ Cross Device Development] Thanos:
Thread cleaned.

Please be respectful at all times and get back on topic.

Thanks! :good:
[Samsung Galaxy S8 & S8+ Cross Device Development] jgun007:
Thanks for the clarification! ☝️?
[Samsung Galaxy S8 & S8+ Cross Device Development] influenza:
Deleted off topic
[Samsung Galaxy S8 & S8+ Cross Device Development] Sakura:
Hello

The link Pie Post 1 is not correct.

Thank's
[Samsung Galaxy S8 & S8+ Cross Device Development] influenza:
3 post up : work in progress for r22.1, just a little wait
[Samsung Galaxy S8 & S8+ Cross Device Development] yokesitoo:
upload please nx22 for pie please my phone is brick
[Samsung Galaxy S8 & S8+ Cross Device Development] LATINORAMON:
Cant find r22 link? ?
[Samsung Galaxy S8 & S8+ Cross Device Development] k1w6w:
First off all thanks for your Kernel.

With your Kernel my banking App crashes on start and show me a hint that my phone gots rooted and im not allowed to use the app any longer (security...). Any solution for that?

Cheers
[Samsung Galaxy S8 & S8+ Cross Device Development] ngochan1102:
pleaseeee

dowload link R22

this support P yet?
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
Read a few posts back

Try using Magisk from canary that has a new MagiskHide method

To others, tomorrow there will be a new kernel, v22.1

a. For those who blame me having "Payment services" locked out messages -> I have fixed YOUR issue with the assistance of [MENTION=4658360]corsicanu[/MENTION].

b. Will see about overclock ability. Causes heating so far.

c. Other noticeable improvements
[Samsung Galaxy S8 & S8+ Cross Device Development] zxspectrun:
Thx bro, they should not claim you since u are sharing ur work
[Samsung Galaxy S8 & S8+ Cross Device Development] Denfic:
While reading this thread .. i have come up to the conclusion that there are a bunch of wankers/crybaby`s that leave some verry disturbing comments while `THE NOXXX` is doing this for free... please show some understanding for his work .. even he is human .. and without his work ..your phones aren`t worth JACK.. So keep that in mind... and be patient ... PEACE.. !!
[Samsung Galaxy S8 & S8+ Cross Device Development] fonetval:
Hi everybody,

Just to tell, in this peacefull world :), that for me, the NxR22 is working like a charm in my S8 under CarHDRom 24.0 : blazing fast and long battery life (no security alert and Banking app running ok)

Precision

: I didn't have to flash it after ROM installation because... it's just the Kernel that Carotix has integrated in his last ROM :D

Thanks a lot Noxxx :good:
[Samsung Galaxy S8 & S8+ Cross Device Development] ngochan1102:
hi!

should i wipe cache/dalvik cache after flash this kernel R22 ?

im on soldier9312 16.1
[Samsung Galaxy S8 & S8+ Cross Device Development] kooldool:
just flash kernel and root if needed. dont wipe cache or anything else after flashing the kernel.
[Samsung Galaxy S8 & S8+ Cross Device Development] bininga59:
Why am I not allowed to delete the Cache and Dalvik?
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
You are not required to wipe dalvikcache. Doing it is your own choice. :good:
[Samsung Galaxy S8 & S8+ Cross Device Development] dmartuniac:
Will we see OC on Pie version?
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
I believe so, but not on R22.1. Most likely on R23. I will need to test if the OC doesn't cause heating up, because it required additional edits due to the discrepancy in maxfreq readings.
[Samsung Galaxy S8 & S8+ Cross Device Development] Battery03:
I have a problem with R22.1 (R22 also) when I open my bank app, the phone reboots immediately, but with stock kernel this doesn't happen. I also have random reboots. I have a s8+ with Hadesrom. I don't know if it's due the kernel or the rom. I had no response in rom group.
[Samsung Galaxy S8 & S8+ Cross Device Development] wlryss:
I don't know what banking application you use. But I can tell that I use the some banking application of bank from Russia. Additional protection of this application is embedded in the banking application and it works only with a kernel with the SE Enforcing mode - if the SE mode - Permissive (that for my purposes with strongly customized ROM with a large number of modifications it is much better), then there are spontaneous resets of the device - because of this banking application. The decision for me - to use the patched version of the banking application. In banking applications of other banks of such problem isn't present - correctly work with a kernel with the SE mode - Permissive.
[Samsung Galaxy S8 & S8+ Cross Device Development] MrH871:
22.1 confirmed working on Alexis rom

Snapchat and banking apps confirmed working with magisk 18.2 canary

Thankyou Nox
[Samsung Galaxy S8 & S8+ Cross Device Development] nurps:
Cant connect to WiFi anymore on S8 Pie.

Edit: ok did a search in this thread and deleted my connection and set it up again, connecting now, hope I don't have to reset all my saved connections
[Samsung Galaxy S8 & S8+ Cross Device Development] tarik1210:
Thx, it's fast and optimized kernel ! But dex unofficial doesn't work :/.
[Samsung Galaxy S8 & S8+ Cross Device Development] mianahmadpp:
What's changed in r22.1? I'm on r22...
[Samsung Galaxy S8 & S8+ Cross Device Development] kooldool:
22.1 is a fix for some users. just read a few posts back....
[Samsung Galaxy S8 & S8+ Cross Device Development] Noxxxious:
Download Syslog app. The next time you experience a random reboot, immediately open the app after the phone started up, make a last_kmsg and send it here.

If this i true then I will remove the enforced permissive mode next update. But as far as I know Magisk should also hide your selinux state

Since Pie dex should work natively with HDMI without any additional edits
[Samsung Galaxy S8 & S8+ Cross Device Development] wlryss:
Please - NO!

Strongly modified firmware with deodexed service.jar (and other) work with your great Kernel without lags and hangups. About the banking application - it is the truth, but it is only one specific application with the built-in protection from bank programmists.
[Samsung Galaxy S8 & S8+ Cross Device Development] Battery03:
I have just experienced a random reboot during a phone call. Here is the log.
[Samsung Galaxy S8 & S8+ Cross Device Development] Battery03:
And about the bank app, I used NX kernel in Nougat and never experienced an issue like this. This is the log when I open my bank app. Thank you.