yashsingh1/xdaforums huggingface dataset:
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Update!

Each update point deserves their own description so wall of text inc. :p

I am really proud of this update as I should have squared away all outstanding custom ROM bugs.

Linux 4.4.112:

As I know I have gained several users over the past couple of weeks, if you are not familiar with it, I take linux-stable from kernel.org. It's pretty much what determines my release cycle. Latest stable will always be delivered within 24 hours of its release upstream though I usually do like I am not and make it as close as possible.

Fix display brightness on custom ROMs:

Turns out I messed up the panel inclusion in the dts files... :rolleyes:

Disable NFC wakelock on custom ROMs:

For those of you who don't know, on almost every ROM sans OmniROM, the pn544 NFC driver in combination with the AOSP NFC HAL caused the phone to stay awake permanently. This is 99.99% a userspace issue but not having deep sleep is unacceptable imo. A few users of NFC didn't squawk when I made this change in beta so the extra deep sleep will be most welcome!

Fix DCI-P3 not persisting across screen on/off on custom ROMs:

Custom ROMs use Lineage's LiveDisplay driver, which I had modified to allow for OnePlus's night mode to still worked. Turns out I goofed this a little bit so DCI-P3 was turning off and not getting turned back on when you turned the display off then on...

Sync with Open Beta 2:

Nothing much to say here

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP). You should also know what version it started with. If you want to be a tester and get builds before they are released here or just hangout, feel free to stop by Telegram!

Downloads

OOS (8.0.0): http://nchancellor.net/downloads/kernels/op5/8.0.0/oos/stable/

Custom (8.1.0): http://nchancellor.net/downloads/kernels/op5/8.1.0/custom/stable/

Mirror: https://github.com/nathanchance/fk-zips

Commits

Kernel: https://github.com/nathanchance/op5/commits/8.x-unified

AnyKernel: https://github.com/nathanchance/AnyKernel2/commits/op5-flash-8.1.0
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] niklas389:
Wow Beta 2 + Your kernel is just awesome.

On December 6. I switched to the 5T from my old LG G2.. and I mean I knew it would be better, but I couldn't imagine to be this awesome. Especially the sound over the headphone jack is awesome...

Thank you for your awesome kernel! Everything works perfectly fine on OOS Beta 2!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
Anyone gone Dirty yet. If so how is it ?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] adame09:
Wow an LG G2 Was still in the wild? I loved that phone when I had it.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
I think the LG G2 was the best G Series smartphone LG ever made. Shame they can't replicate its success.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Update!

I wanted to push a build out with the latest WireGuard snapshot that was just released. If you are using it, please upgrade! [MENTION=5434776]zx2c4[/MENTION] has been really great about support it on our devices and went through some more formal verification steps this week (basically getting the protocols formally verified as correct).

Additionally, some people on the Open Beta have had issues with the /system partition being full. Francisco Franco and I worked through this last night so now all extra modules will be removed before flashing to free up space. You were already required to dirty flash your ROM to uninstall the kernel before but now you absolutely have to. Blame OnePlus. Enjoy!

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP). You should also know what version it started with. If you want to be a tester and get builds before they are released here or just hangout, feel free to stop by Telegram!

Short changelog

Latest WireGuard snapshot thanks to [MENTION=5434776]zx2c4[/MENTION]

Downloads

OOS (8.0.0): http://nchancellor.net/downloads/kernels/op5/8.0.0/oos/stable/

Custom (8.1.0): http://nchancellor.net/downloads/kernels/op5/8.1.0/custom/stable/

Mirror: https://github.com/nathanchance/fk-zips

Commits

Kernel: https://github.com/nathanchance/op5/commits/8.x-unified

AnyKernel: https://github.com/nathanchance/AnyKernel2/commits/op5-flash-8.x
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] xocomaox:
Any plans to add sweep2wake gesture? Thanks for your work here.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] preference:
Hey dev, I know you want logs but I had to restore my install. I rolled back the kernel to the original release. For some reason after flashing the latest my systemui would lock up when I tried to enable wifi. Wifi also was not on upon first boot.

Hard to explain, but it was like the wifi toggle was off limits.

Wish I had logs and I'll understand if you ignore this, but it was very abnormal behavior. The update isn't necessary for me anyway since I don't use wireguard (it's probably the reason I had issues).

---------- Post added at 06:09 AM ---------- Previous post was at 06:06 AM ----------

Edit: **** I should say, I'm on omni 8.1 latest build
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] niklas389:
Jup, and it's still an awesome phone. With crDroid it was my daily driver for the past months, but without the LG camera optimizations and only 2GB of RAM it wasn't enough anymore :0

Great phone, nothing more to say and one of the best phones ever built I'd say :D

So, but back to topic - v3.02 running perfectly fine!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Maybe. They break the userspace handling for both OOS and ROMs and I'm trying to avoid breaking userspace this cycle.

WireGuard cannot cause that issue if you don't use it. It doesn't do anything until userspace wants it to. I don't know what would be causing your issue es but it's literally impossible to tell without logs especially since everyone else has upgraded without any issues.

Just for the record, there isn't such a thing as off topic in my threads :) glad it's running well for you!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] preference:
You're right, should have provided logs. I basically dirty flashed your kernel over the existing flash kernel (the earlier release). I couldn't get to matlog because the wifi kept crashing.

Should I flash the rom first to reset the default kernel and then flash "flash kernel"? Would this process add any stability.

I apologize for the lack of logs, I just couldn't get to the app. Can I pull system logs out of recovery?

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

I decided I'm going to wipe my phone completely and do a reinstall of omni. I'm having issues with tethering too so it's 99 percent a problem on my end.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
All good :)

Yes, dirty flashing the ROM then flashing the kernel can clear up issues occasionally.

Unfortunately, there isn't a way to get system logs in recovery. You'd need to use adb while booted. If you ever run into this again, ping me and I'll be more than happy to give you the commands.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] preference:
I know this is unnecessary

...I gotta say, compared to a lot of devs, you are a really nice guy. It's typical to get an angry response from a dev because their pride gets hurt if people say there's something wrong with the software, which I totally understand. You guys devote countless hours for no pay to give us end-users a better platform.

I know this is a waste of a post but thanks again for reaching out to help me with getting the right logs via ADB.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Thankfully, I don't care about how many users I have. I appreciate every single one I do have but I can't control what people run. All I can do is put out the best work I can, which sometimes means breaking and fixing stuff :) crappy bug reports are just the price I pay. I do appreciate your kind words!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] maddler:
Then it came the LG G4, with its melting motherboard... what a mess... ;)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] niklas389:
Ohh forgot about it :0 The G4 camera was/is insane. And my dad's didn't melt, so this was okay :D
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
Apparently no LG G7 this year either, but quite possibly a LG V30 (ALPHA) with AI.

But there won't be any Flash kernel for that, so best sticking with OnePlus 5/5T, or Pixel 2 (XL) if you know whats good for you :)

On sadder news Codename Phoenix shutdown there G+ page, but development and builds will still be available to D/L from Telegram.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] TangledAbstact:
Don't suppose there's any likelihood of the ability to overclock will be added at all?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] maddler:
Well, yes, apart from melting down it was a great phone. Screen was great as well.

---------- Post added at 12:52 PM ---------- Previous post was at 12:50 PM ----------

I'm super happy with Oneplus.

The only reason to move away from 5T would be a Oneplus 6 with some amazing specs. Maybe.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
Probably best to wait for at least the 6T, if you are not satisfied.

I'll be getting the 5T beginning of March and using it I hope until January 2021. I hope there will be Devs who stick with it for that long. Then we'll see what the 8T is about or even possibly Essential Phone 4 (if it exists by then) or Pixel 5 XL (depending on the Dev support).
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] maddler:
Yeah, I'm not in a rush co upgrade. 5T is a great device.

Will see how the 6/6T will tempt me! ;)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Nope, sorry. I see zero reason to add overclocking. At this point, it's a "just because we can" feature, which is not a reason for me to add stuff.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] TangledAbstact:
Aw. Fair enough I guess.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] preference:
I'm running DU with your 3.02 kernel - it works perfectly. A full format of the phone has done wonders for all the bugs I was experiencing.

If you need a tester on any alpha/beta builds, I will happily contribute. I have a good matlog app so I can keep a real record of events.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Shreejoy Dash:
Hey bro I need your help so as I sent you a PM please see it....
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
Which app do you use to keep logs kindly ?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] preference:
It's literally called "Matlog", I run it with root permissions and it seems to capture everything. You can filter it to narrow down a potential cause of error(s).

https://play.google.com/store/apps/details?id=com.pluscubed.matlog
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
Much appreciated. Shall press "Thanks" tomorrow.

Edit:

Done :)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] marko94:
Best custom kernel available atm for op5t. I tried all of them but this one is the best..stable,smooth, constant updates, and great dev, as person and a lot of knowledge about android,kernel etc..

I found that Flash best fit with omni :D:good:
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] jmtjr278:
Hey everyone. My little cluster seems to be pegged at 1900. Running ob2 with 3.02. No other mods. Anyone else? Any info I can provide? Logs needed? Simple suggestions? Thanks
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] marko94:
Try reflash kernel..wipe cachr/dalvik
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] jmtjr278:
Thanks. I tried. Still looks like this.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] marko94:
Hm, dont know..wait for dev :)

Try clear data of exkm.

and try to watch cpu states with other apps . maybe it is app problem.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
That's just Oreo, I haven't figured out any way around it and stock has the same issue for me.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Shreejoy Dash:
Please help bro see the pm I sent u act hall we are stuck in a kernel issue for building lineage 15.1

So please the pm as soon as possible as our devs are expecting something form you
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] aladin6:
I wanna say a big "thank you" for this great kernel. Coupled with Codename Phoenix that's the best that we can have for our device OP5T.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] maddler:
At least form that's that's also using a few of the other higher frequencies, even tho I agree 1900 is the most used frequency while screen is on.

Kernel Adiutor is reporting it at 6% (Vs, 49% for 300), so I think that could be some "optimization" thing.

On the other hand I'm still getting a 2.8%/h which I can't really complain about.

So, the question is: is that really something to be concerned about?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
I personally don't think so. I've been trying to look more into it but there was a LOT that changes between Nougat and Oreo.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Update!

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP). You should also know what version it started with. If you want to be a tester and get builds before they are released here or just hangout, feel free to stop by Telegram!

Short changelog

Merge in latest Linux stable version (4.4.113)

Merge in latest CAF tag (LA.UM.6.4.r1-06100-8x98.0)

Enable BFQ on custom ROMs (default for Lineage)

Small kernel/common patches

Upgraded Clang 6.0 toolchain

Updated zip/kernel version format

Downloads

OOS (8.0.0): http://nchancellor.net/downloads/kernels/op5/8.0.0/oos/stable/

Custom (8.1.0): http://nchancellor.net/downloads/kernels/op5/8.1.0/custom/stable/

Mirror: https://github.com/nathanchance/fk-zips

Commits

Kernel: https://github.com/nathanchance/op5/commits/8.x-unified

AnyKernel: https://github.com/nathanchance/AnyKernel2/commits/op5-flash-8.x
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] maddler:
Flashing!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Skelett:
Thanks for your work, flashing it and works wonderfully :)

I'm on kernel since its release, and for me, it remains the best ;)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] TangledAbstact:
Is anyone here familiar with Flashfire? Could I flash this with it? Every time I flash something in TWRP after a fresh install of OOS something changes to make the phone slightly slower. Doesn't matter what is flashed either be it a kernel or something else. I must have had to format and start from scratch half a dozen times in the last month to get everything snappy again.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] maddler:
Never tried with kernel, but used once to flash recovery and that worked.

---------- Post added at 15:01 ---------- Previous post was at 14:58 ----------

had a couple random reboots overnight while idle with 3.03. Not sure why.

Anyway all good since this morning otherwise.

W.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] :
Brightness Issue

I was on Audax Oreo ROM and updated Flash from 3.0.2 to 3.0.3. Once i booted i had the brightness being to low Issue. So i restored System and Boot, w once it booted up i put brightness to max. Then finally flashed FK and the brightness was fixed.

So if your updating or even clean flashing try setting brightness to max before flashing if you get that issue.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Calvin2394:
I'm still facing this issue on DU RC 23-01-2018.

Moving the slider in the lower 25% of the brightness slider makes no difference, and I have to keep it at least 75% to see anything on screen.

Definitely lower brightness than stock.

[MENTION=6842057]nathanchance[/MENTION] - let me know if I can help in any way. Free to provide logs / any data you need.

I'm rooted with Magisk, if that's any issue.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
To be entirely honest, unless I get my hands on this device, I don't know how to fix this. My code matches what DU uses on stock, Alex Cruz uses my kernel and hasn't complained, and I have even gotten confirmation from a few people that this is resolved. Sorry.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bdwilk:
No issues here on DU, Phoenix, LR, and OOS. Using v3.05 and v.3.04
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MrPepperino:
Ye here no issues. I can move the slider in every position but no brightness change happen.

Thanks for this kernel. In combination with DU it is awesome
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Lol the no brightness change happening makes it sound like there is an issue
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Shreejoy Dash:
Please bro help us i am requesting you
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Look. I don't have time to help you. I barely have time to do the things that I want to do. I work and I have school. Please stop badgering me.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] marko94:
Maybe you flashed wrong or old build.. Nate fixed brightness on custom ROM few weeks before. But if you still have problems , better post logs. With logs dev can help you..

But he is doing that in his free time so be respectful.

Thx
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
He's not referring to anything about this kernel lol, he wants assistance with making another kernel work on another device, which I don't have time to do.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] marko94:
Oh,sorry ,I missed something :D
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] yung40oz84:
I was facing this same issue and I found it is 100% related to the backlight dimmer as of recent. If u enable backlight dimmer and wait several seconds at say 50 percent brightness it will get low as hell. If u turn it off and wait it will get back to bright and normal. I flashed back and forth stock, to DU with flash kernel 4 times to test this theory and the brightness is exactly the same as stock for me with backlight dimmer disabled. I keep regular brightness at 50 percent and then I enable auto brightness and keep that at 50 percent and I've never had to make it higher ever.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] yung40oz84:
One is with backlight dimmer enabled and one is with it disabled, a very clear difference and same brightness level all the way around at 50 percent.

EDIT!!!!!

My dumb ass forgot screenshot won't show brightness, just pulled a blind moment ?????

I will try to use another device when I get a chance and show u how clear the difference is. Disabled backlight dimmer, then adjust Everything to 50 percent. I am running DU as well and have been.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
3.04 will be released tomorrow when 4.4.114 drops. It is available as a release candidate if you have upgraded to Open Beta 3 and want a compatible kernel.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] preference:
*bows Japanese style*

Thank you sensei
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] marko94:
Very smooth
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] jgcaap:
Hello. Nathan. Have you find any issues while scrolling and having some ghosting effect of black color? Thanks.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
I don't have this device so I can't comment, anyone else is welcome to.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] z31s1g:
I can confirm that this is a thing on stock OB3. Using stock kernel.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Lossyx:
Do you mean like a purple smear when you scroll ?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bdwilk:
With stock or Flash I haven't noticed either issue.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] z31s1g:
Here's what I'm referring to:

If the screen brightness is set in the lower third of the range, white text becomes purple on black background during scrolling. Like the black smears into the white while scrolling.

Not sure if this is what the original "possible bug report post" was referring to as well.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Lossyx:
As far as I'm aware, that's an issue (or flaw) on AMOLED displays. https://forums.oneplus.net/threads/purple-display-smear-when-scrolling-on-blacks.458866/
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] z31s1g:
Oh, I see. Guess then there's nothing to report here, I will move along...
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bdwilk:
Understood. I have mine set to auto brightness and it goes all the way to the bottom in a dark room. I've never manually set the brightness. Maybe because I have themes? I don't know but every app is dark or black and I still can't see an issue. I'm not saying you're lying, I'm just saying it might not be happening to everyone.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DEVILOPS 007:
I don't have the issue either. Weird. I turned the brightness all the way down and up bit by bit while testing and don't have any purple text. Could be a minor defect affecting some smiled screens or a a bug that is triggered randomly. Who knows.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Update!

Rather large update but has been through the ringer. One of the biggest things with this update is the addition of the hardening patches released by CopperheadOS. The kernel is more protected and secure against things like buffer overflows and uninitialized variables. Additionally, I have changed to the Pixel 2's Wi-Fi stack, in the hopes of it being a little more stable and making the notification delay not as bad. We'll see how that goes. Enjoy!

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP). You should also know what version it started with. If you want to be a tester and get builds before they are released here or just hangout, feel free to stop by Telegram!

Short changelog

Merge in OOS 5.0.2 and Open Beta updates

Linux 4.4.114

Hardening patches from CopperheadOS

Switch to Pixel 2's Wi-Fi stack

Compile kernel with self compiled Clang for a local initialization sanitizer

Downloads

OOS (8.0.0): http://nchancellor.net/downloads/kernels/op5/8.0.0/oos/stable/

Custom (8.1.0): http://nchancellor.net/downloads/kernels/op5/8.1.0/custom/stable/

Mirror: https://github.com/nathanchance/fk-zips

Commits

Kernel: https://github.com/nathanchance/op5/commits/8.x-unified

AnyKernel: https://github.com/nathanchance/AnyKernel2/commits/op5-flash-8.x
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Skar3:
Thank you,!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] hassan_1000:
Definitely one of the smoothest kernels out for the 5T. Running this on pheonix ROM and battery life and performance is out of this world!