yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
There will be no dedicated kernel for 5.0.1 as kernel code obviously did not change.

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] deepakdavidster@gmail.com:
Thanks for the clarification
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] RASTAVIPER:
Hey [MENTION=220904]andi[/MENTION]

I am using latest app version .09 and the beta boeffla-kernel-3.0-beta1-OOS5xx-OnePlus3T-anykernel.recovery in combination with AKT profiles.

Strange thing is, if check after some time my kernel settings at the app, I am noticing that for example the GPU speed has returned to stock value.

However, at Governor tab the profiles remain at interactive-battery extreme normally.

Any ideas? Is the AKT messing with the kernel settings?

Unleashed by my rooted OP3T in 8.0
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Sam Nakamura:
Yes, AKT (advanced kernel tweaks) do mess with kernel settings (heavily), depending on what AKT profile you applied more or less notable, you need to decide what profile you want to apply (Boeffla Kernel App profile vs AKT profile), running them both at the same time will cause unpredictable outcome...

If you decide to use a Boeffla Kernel Profile it's even recommended to turn off Doze, otherwise Doze will interfere with the governor settings and can produce unpredictable outcome too, it will be less effective...

AKT has a well written explanation in it's thread's first post, definitely worth to read if you aim to get a better understanding of what AKT actually does, also the unofficial thread for Boeffla's Kernel Profiles is a great way to get further information on what those profiles do...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] RASTAVIPER:
About deactivating the Boeffla kernel app profile, what should I do?

I don't have any special settings at the moment. Only selected the Interactive battery extreme profile for the Governor.

Unleashed by my rooted OP3T in 8.0
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Sam Nakamura:
First off, that's the right thread to discuss boeffla kernel profiles.... Just to not clutter this development thread with non non development questions, you can tag me anytime and I'll answer, usually rather fast :)

https://xdaforums.com/oneplus-3/how-to/profiles-boeffla-kernel-profiles-t3455503/amp/

-> regarding your question, if you get into the "profile section" and choose "new profile" you should be back to the default settings, just save your current settings as a profile before if you plan to return to it later on...

Another way is to delete the /boeffla-kernel-data and reboot but this is pretty much "overkill" as you'll lose all your settings and saved profiles + downloaded kernels (through boeffla app)...

There's probably a more advanced way which I cannot remember just yet...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Not sure what you mean by "deactivating" profile.

Boeffla-Config always loads a profile, unless you delete everything from /data/.boeffla folder (then it would just do some important initializations but not change settings).

However, not sure why you want this. All other mods are pretty much placebo anyways (ok, now flame me, but I stick to that opinion as they cannot do magic).

Cheers

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Ok, last night OnePlus finally pushed kernel code updates for 5.0.1 OOS.

So there WERE changes, they were just very late with releasing this time.

You know what that means... expect kernel updates for 3 and 3T very soon.

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] RASTAVIPER:
Well, I decided to deactivate doze, Naptime and AKT profiles and use for a few days only the Interactive x profile with your kernel.

Let's see what will be the result to the battery without extra optimization.

Unleashed by my rooted OP3T in 8.0
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Good choice :)

But yeah, let us know whether you see a huge difference. I doubt, but you tell us.

Thanks

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] RASTAVIPER:
You mean difference, as worse battery drain?

Because to be honest, I was quite happy with my previous battery life. I don't think it can get better than this.

So, I would be satisfied if the SOT remains the same, after I have deactivated 2 apps and doze.

Unleashed by my rooted OP3T in 8.0
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Hi all,

finally OnePlus released (late) a kernel code update for OOS 5.0.1.

So here we go for an updated Boeffla-Kernel as well.

Version 3.0-beta3

11.01.2018

Note: This kernel version is only for OOS 5.0.1 or newer!

Update: Merge kernel sources for OOS 5.0.1, which were released 11.01.2018

Enjoy

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Clark789:
Hello Andi,

yesterday after updating the new beta i noticed in the boeffla app, that the SELinux strict box is unchecked. I can't set it to checked, because it reverts always to unchecked. I don't know, when i lost the SELinux strict status, but i think, it has something to do with Viper4Android FX.

Last wek i moved from Nougat to Oreo directly from 4.6.0 to 5.0.1 and i had Magisk 15.2 installed. Everything went fine and directly afterwards i flashed Viper4Android and this worked very good as well. So everythings fine, but i'm a littel bit worried, that SELinux isn't possible in the strict mode...

Do you or anybody else has any experiences with this?

Regards

Clark
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] RASTAVIPER:
I can confirm that with 5.0.1, Boeffla App 2.5.09 and kernel 3.0 beta 1, SELINUX is checked normally.

Unleashed by my rooted OP3T in 8.0
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Never had that. But I never use Viper or any other mods.

Mods have the tendency to change things and make sure they stay changed. I never looked into Viper myself, but I recall from the past, Viper only runs with SELINUX=permissive (box unchecked). So it would make sense Viper ensures SELINUX is and stays off.

I can only recommend you try without viper for a test.

As said, have no issues with that under Oreo. I can toggle selinux status as I want.

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Pablo.x:
Are you using beta 1 on Oxygen 5.0.1? Why not beta 3 or even beta 2? :confused:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Clark789:
Thx Andi and Rastaviper as well.

In the meantime i restored a Nougat-backup and moved to Oreo again without Viper and installed last verions of Magisk and boeffla kernel and everything's alright. Viper is the culprit. No doubt. Under Nougat it was no problem to install Viper and obtain the SELinux strict-mode. But the Viper-Fans ascertained already, that there is no update from the Viper-Team for Oreo. So i found a kind of workaround to install Viper and its drivers successfully, but i wasn't aware that this is only possible with permissive SELinux...

So, for the time being i've to decide if i like to listen music with Viper (which is really quite pleasing!) and without strict SELinux or not... I'm quite indecisive which is better... Do you think a loss of strict mode is a huge risk?

Regards

Clark
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
One year ago I had said: No big risk when you run with permissive selinux.

Nowadays I would lean more towards having it switched on. Too many bad things going on security-wise in the past months and weeks.

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Guys, question:

Is it only me (and one more person that I know) having an issue with Magisk on OOS5 on the OP3(T)?

Regardless whether I use Magisk 15.2 or 15.3, I am frequently getting freezes when I start the device. The boot animation first stutters and then stops. Thats it. It happed maybe every 5-10th start. And it does not only happen with my kernel, but also with stock kernel.

When I remove Magisk and use latest SuperSu 2.52-SR5, the issue is completely gone. No stuttering during boot animation, never any freeze.

So, is it only me? Or not?

I consider contacting the Magisk dev in order to shed some light maybe.

Thanks

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] wai10691:
It does happened to me too. Quite often actually.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Clark789:
hashtag METOO... :)

It's the same behaviour here... Would be nice, if you contact him....

Cheers

Clark
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Ok, so it is not only me.

I find it very cumbersome as I managed even to completely screw my data partition after some time, likely due to the boot failures.

Had the "nice" issue, TWRP was reporting my data partition usage is used with 6000 GB, stating the same time the total size is only 100 or so. So it was completely screwed up and I had to restore my last backup.

Anyways, I moved away from Magisk on the OP3(T) Oreo for now, due to that problem.

Supersu works 2.82-SR5 without a glitch, however I clearly prefer Magisk whenever possible.

Funny is - only OP3(T) with OOS 5.0.1 are affected, my OP5 with OOS 5.0.1 works without a flaw with Magisk.

Ok, will get in touch with [MENTION=4470081]topjohnwu[/MENTION] on that asap.

Edit: Done.

Thanks

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Clark789:
I had the same error, so i couldn't create a (Oreo-)backup... I had to restore a Nougat-backup and update again to solve the problem like you... Pretty annoying...

Thx for conatcting [MENTION=4470081]topjohnwu[/MENTION]

Have a nice weekend!

Clark
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Rootax:
I stay on 14.x for that reason.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] uaiclout:
I don't have this problem (and I reboot a lot)

I did a factory reset before Oreo

Only issue I have: after ≈10 boots I'm not asked for password while boot anymore (encryption is reset to default_password)

Has anybody experienced something similar?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Pablo.x:
This happens when you flash magisk v15.x on recovery.

To avoid this you've to boot 1st with magisk v14.x and then upgrade via app.

Maybe this helps too :good:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Wow, at least I can confirm Magisk 14 seems to work just fine. Have not yet tried to upgrade to 15.x now.

Will monitor that for a while. Good hint which I will pass on to topjohnwu.

Thanks

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] RASTAVIPER:
I am using Magisk 15.2 but never noticed this issue during booting.

Apart from that, did you face any other issues after booting and while using the phone?

Unleashed by my rooted OP3T in 8.0
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] moscic:
I have the same since I installed Oreo (Open Beta) on my OP3T when I use Magisk.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] ScratMan38:
No issue on my side.

Edit : right after posting, I updated Magisk Manager to 5.5.4 and it updated Magisk to 15.3

And the first reboot failed, phone starts, asks for boot scheme, continues booting, vibrates, and boot animation then becomes endless.

Forcing a reboot solved the issue.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Sam Nakamura:
It's because of viper by the way, to make it work with OOS Oreo they forced selinux permissive, otherwise it wouldn't work at all, latest approach was to patch selinux but that doesn't work for now only if they turn off selinux completely...

TL;DR

No kernel issue, it's the mod!

reference:

https://xdaforums.com/android/apps-games/soundmod-axon-7-dolby-atmos-t3412342/post75186411
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] jakobWango:
Does this kernel have any problems with Viper4android and permissive selinux?

Also, i read some page back that AKT isn't really needed(or work properly ) on this kernel.?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Clark789:
No, it hasn't. Viper works pretty well with this kernel and permissive SELinux....

I can't tell anything about AKT... for me everything works without any issues!

Regards

Clark
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] jakobWango:
Okay. Well, time to test it i guess :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Sam Nakamura:
Remember to dirty flash your ROM before flashing the kernel if you're coming from anything but stock kernel, just to avoid issues and to help you getting a clean boeffla feeling :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] jakobWango:
Thanks for the heads up :)

I'm currently on stock kernel so not necessary yet :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Clark789:
did you move already to Oreo? If not, for me it was pretty advantageous to uninstall all modules under Magisk. First, when i didn't do this, i had different issues under Oreo. There were all gone, when i uninstalled the modules before and then moved to Oreo... And Viper works pretty well then...

Regards

Clark
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] jakobWango:
As a matter of fact, i don't explicitly use the stock 5.0.1 OOS, i use theOne3TOS v1.2

https://xdaforums.com/oneplus-3t/development/rom-theone3tos-v1-0-t3730932

As i have understood, it is stock oos oreo, but baked into a aroma installer with debloater install options and magiskt/viper etc options.

But i would guess it's still counts as stock OOS, and should work ? (if not, i guess i will be the guinnee pig) :)

So i didn't have any problems when installing this rom coming from FreedomOS 3.2.1 :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
In my, very strict, understanding this rom is not a stock rom.

It bases one OnePlus stock rom, but has things tweaked. I consider a stock rom only what is provided by the vendor.

But as you said, you are the guinea pig and will check this. If something does not work, I will not hunt for it as it is likely due to the rom however.

And no, the kernel has no issues with selinux on permissive (or enforced). AKT tweaks are not fully compatible by nature, as it changes some same parameters than my app, so conflicts are definitely there. But my opinion on mods like AKT is known anyways...

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] ScratMan38:
After several days, I confirm I'm also facing the boot animation freeze issue during reboot with OOS 5.0.1 and latest Boeffla kernel. Pressing the power button for a while then switches off the phone, and next boot is OK.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mvalda01:
Yesterday it happened to me as well. But first reboot didn't make anything, still got stuck at the boot animation freeze, I had to reboot twice. OOS 5.01 with latest Boeffla kernel.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
As said. not kernel related.

If you replace Magisk by Supersu (or older Magisk version), it will not happen anymore.

I could replicate this issue even with stock kernel and Magisk 15.x.

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] nihilista:
Found this issue too, tried reinstalling Magisk and kernel, that fixed it. Last time i get stuck i did while charging, without charger it boots normally, but maybe that was fortune.

I hope it will get fixed in next magisk builds....
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
I reported the issue to topjohnwu already.

But I might need to help him to get some more information why it happens.

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] jakobWango:
How have your charges and use with this Kernel been so far? Interested to know :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] KlamKhowder:
Hey boeffla, just wanted to say thanks for the great work on this kernel. im getting the best battery life i've ever gotten on this phone.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] RASTAVIPER:
If you mean how the kernel profiles have affected my battery life, better have a look here.

https://xdaforums.com/showthread.php?t=3455503

But they aren't positive so far.

Unleashed by my rooted OP3T in 8.0
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] jakobWango:
Oh .) Doesn't sound so good. Will go throw the pages :) Thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Rhodesgod:
can you share come screenshots ?

thank you.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] KlamKhowder:
I don't have any right at this moment but i will take some tonight when i get home from work. However i will qualify my above statement by saying i dont have ANY social media apps (eg. whatsapp, twitter, instagram, snapchat, facebook messenger) and i use facebook through my mobile browser. I also use a magisk module that removes google play services from the battery optimization whitelist. So i think most people would not be willing to make the kind of sacrifices i have in order to get two days of battery life.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Cultar:
Suggestion: could you flag the relevant Boeffla Config updates and alter the auto-update behavior so that when the only change in a new Boeffla Config version is supporting a new device/devices (which happens quite often), which is not your current device (well, obviously, in this case), then the auto-update ignores it and doesn't prompt you to update to it or show notifications? Same for when the only change is a device-specific hotfix to a device which isn't the current device.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Hi,

the idea is nice, but comes with lots of additional administrational overhead for me.

Also, I need and want all users to be as good as possible on the same app version in order to ease my support.

I hope you understand as a one man show, I do not have the luxury doing that.

And btw - all other apps on play store follow the same concept. Even if a bug is fixed in an app that does not affect you, you get the update too. So it is just the normal way of handling it.

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Rootax:
Any news about the magisk but you reported ? It's hard to following all the magisk threads :/
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Nope, due to two reasons.

1) I did not have any spare time this week really.

2) Topjohnwu also was basically "gone" for the week.

I think I follow up again this week with him when he indicates to me that he is back.

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] paulospml:
So, how should I proceed to flash this kernel on Android 8?

Flash kernel

flash superSU

and dont flash magisk?

This?

Another thing please.. Are the Sot good on android 8 With boeffla?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Yeshas Prabhakar:
Yes for time being, flash SuperSU instead of magisk,

Unlock bootloader, Flash Twrp, Flash SuperSU and then kernel,

You are done,

For the sot part it depends on your usage

I regularly get 6 hours straight. :svetius:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
You can use Magisk version 14.x, just not 15.x.

But again - has nothing to do with my kernel. Magisk 15.x has even issues with stock kernel.

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] RASTAVIPER:
I have no issues at all with Magisk 15.3 and stock or Andi's kernel.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
... which is weird. I can reproduce the issue usually within 3-4 restarts.

But I am in contact with topjohnwu, he said he will contact me soon to debug this once he finds the time.

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] nihilista:
Yes, its weird, i had freezes after nearly every reboot, but last 3 or 4 reboots not. Rebooted into recovery before, but that couldnt be the reason, or maybe it could? Btw, its just a bit annoying and didnt stop phone from working, but but if topjohnwu with your help could find and fix the bug it would be great :good:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Pablo.x:
Even if you upgrade from 14.x to 15.x from Magisk Manager's app?

That way should give no problems at all...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Yes, no difference for me. I tried it after your last comment, immediately ended up in a freeze during next boot :(

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Sam Nakamura:
Are you sure it's not related to boeffla kernel? Cause I was on bluspark and switched to derp the last weeks and never experienced this freezing even once, not a single time, of course always running latest magisk on latest OOS (mostly stable but also beta the last week)...

Just to provide some more feedback, I'm sure you'll sort it out soon...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Well, two reasons make me sure it is not:

a) I had the freeze even with the stock kernel

b) Nothing is special in my kernel during that early start that could trigger that

Also it works with Magisk 14.x and supersu, hence I refuse to believe it is the kernel.

Although I just had one idea which I can follow up quickly...

We will see.

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Ha, it is as always... I rebooted almost 20 times now with Magisk 15.3 and my kernel, and could not reproduce a boot freeze. WTF :)

While I try for some more time, if anyone has that boot freeze with Magisk 15.x on his phone, it would be great to receive the file /cache/magisk.log directly before the next boot attempt.

So in case of a freeze, please boot directly into recovery, go to advanced file manager and copy the file to somewhere before it gets overwritten again. Or you get it by connecting the phone to your pc and doing: adb pull /cache/magisk.log

We need a log of a failed boot attempt to see where Magisk stopped straight before the freeze...

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] evopen:
I think I have encountered the freeze you talked about. Since magisk 15.3 is out for a long time, and I always use v15 since it was release. and no problem with other kernel.

OK. I dirty flash 5.0.1 and debloater and magisk 15.3 and your kernel beta 3. and freeze after unlock disk.

but then I reflash the rom, the debloater, magisk and use stock kernel, and it boots.

after first bootup I flashed your kernel. everything looks fine.

here is the magisk log after freeze.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Thanks a lot. I am sure this is really helpful. I hope we can get some more logs from some people, so I can discuss with topjohnwu where the process stops.

I do not want to say my kernel is without errors, also maybe a special kernel function is triggering this sporadic misbehaviour with Magisk 15.x. But as Magisk 14 and supersu works without any issue, I have no idea currently what it could be.

Either topjohnwu has an idea after looking at the logs, or I have to revert step by step functionalities of my kernel and rely on many people doing lots of testing (which is hard as it is sporadic, so there is no known pattern) to finally pinpoint if it is some specific functionality of the kernel.

I had the freeze also on stock kernel once, this makes me believe some changed timing in Magisk 15 combined with some specifics of the OP3(T) boot sequence under Oreo is causing this. Will be very hard to find out. Ouch.

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] RASTAVIPER:
For sure it doesn't happen to everyone.

Like me, there should be many more who don't have any issues with this kernel and Magisk 15.3.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] nihilista:
Freeze happens again. But i managed to get dmesg.log (didnt get magisk log, but maybe that could help, too?).
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] andip71:
Thanks, but we had needed the Magisk log as I explained.

Dmesg does not help at all. Sorry.

Andi
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] nihilista:
Ah, OK. Just didn't remember while it happens. Next time i will get magisk log ;)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] moscic:
Here are 2 magisk logs after boot frez.