yashsingh1/xdaforums huggingface dataset:
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Jamie_oppo:
That's awesome. It only happened sometimes. So weird. Thanks!!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DroidIt!:
OT alert! :angel: Hey Nathan, I see you over here from the ABC thread doing work. :) Just got my wife the 5T, first One+ device and like it quite a lot. I was thinking about grabbing either the 6 or waiting for the 6T for my next device. Whatchu think there, you going to be doing either of those. :) Still don't know how I feel about the notch.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Unfortunately, it's very hard to recommend OnePlus anymore for that reason :/ I will most likely be skipping the OP6, either for the OP6T or all together.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DroidIt!:
Ah, yeap I was kind of disappointed too with all the phones coming out with notches. Might be the first year I skip an upgrade in a long time. Something about the notch just bugs me imo. :) But yeah, hoping dude's come to their senses and go back to straight top. The 5t has a really nice screen, why mess with that. Prolly wait for the 6t myself and keep my fingers crossed. :)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Ideas4ya:
Sorry guys I just had to chime in... That notch bugs me too!! I think it's psychological though, I just don't like that they copied Apple. I'm ok with them copying xiaomi (mi mix) or anyone else... Just not Apple!!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
If you didn't get the OP 6 or OP 6T (whenever that comes), would you consider the Essential Phone 2 or the Razer Phone 2 (both rumoured to come in September 2018, I believe) ?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] kristofpetho:
Essential has really upped their game with what they are doing to the kernel (upstreaming, patches, etc), so it's definitely the phone to watch this year! Pixel 3 is also a good contender...
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
They also seem to be the one company, that actually did the notch correctly including "Essential Notch Settings":

https://imgur.com/a/dxT1b

Fair play to Razer also, the Razer 2 should be pretty darn premium with a stockish android feel, similar to the first phone with hopefully an improved camera.

I'm sure the Pixel 3 flagships will be awesome (no doubt about that).
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Yeah my options are open this year although I probably won't end up upgrading unless they really entice me to.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bdwilk:
I have a feeling the pixel 3 (at least the XL) will have a notch. I have no proof but I just have a gut feeling. A really sick, grotesque gut feeling.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
Talking of Essential upping their game, notches etc. Look what Essential have done in one of their latest updates:

https://www.androidpolice.com/2018/...date-added-nifty-per-app-notch-customization/

Hopefully other smartphones makers will follow suit.

Edit:

I guess the notch ain't that bad after all.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Not mention up to date stable Linux and building with Clang :p
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
Do I hear Flash Kernel coming for Essential Phone 2 :P
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Joeisgood99:
Hey [MENTION=6842057]nathanchance[/MENTION] , speaking of amazingly progressive upstreamed kernels compiled with Clang...I managed to build clang7 and then build your kernel with it. Oddly enough I had to turn of two clang Werror flags to get it to compile:

Wself-assign.

warning: explicitly assigning value of variable of type A to itself

Wparentheses-equality

warning: equality comparison with extraneous parentheses

When compiling your kernel, -b 8.1.0-unified, both those warnings came up as errors until the build errored out.

Obviously you didn't have this problem but I'm curious as to why I'm having this issue as I'm building the same source code with the same clang using the same build script....
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
You'd need to show me specific errors because I build with Werror no problem lol
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Are you using my defconfig?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Joeisgood99:
Yep. All the same.

The Wparentheses-equality error is apparently set off like crazy when building with ccache. Haven't tested that though. Not sure about Wself-assign though...

test_build && edit

compiling flash kernel unufied 8.1 on ubuntu 16 with Clang7 and Linaro-aarch64-linux-gnu-4.9.4 using script "build_kernel" with following flags

bash build_kernel -a arm64 -c -ct /home/joe/toolchains/out/clang-7 -d flash-oos_defconfig -f /home/joe/development/Kernel/kernel-Source-Code/flash-op5-8.1 -gt /home/joe/toolchains/out/Linaro-aarch64-linux-gnu-4.9.4 -D

but this time i deleted all references to ${CCACHE} from your script, added $ export CCACHE_DISABLE=1 and cleared ccache completely with ccache -C re compiled and BINGO!! The above mentioned errors are gon. replaced by just this one...

CC drivers/platform/msm/sps/sps_bam.o

CC drivers/platform/msm/mhi/mhi_ring_ops.o

../drivers/media/platform/msm/camera_v2/jpeg_10/msm_jpeg_sync.c:126:2: error: non-constant static local variable in inline function may be

different in different files [-Werror,-Wstatic-local-in-inline]

init_waitqueue_head(&q_p->wait);

^
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Sorry man, I don't know why it works perfect for me :/ I can compile with Google's GCC 4.9, Linaro's GCC 7.2.1, Bootlin's GCC 7.3.0, Google's Clang 5.0, and my own Clang 6.x and Clang 7.x all with -Werror (my test function)... It must be something with your build environment but I don't know what. A few other developers like [MENTION=4837394]siankatabg[/MENTION] and [MENTION=6584600]xdvs23[/MENTION] compile my kernel into their ROMs no problem either.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] daniel84cs:
No kernel changes in oxygen ob6 ???

Inviato dal mio ONEPLUS A5010 utilizzando Tapatalk
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bdwilk:
v4.06 is running great on OB6 so far.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Does not appear so.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DasWolfen1:
I flashed this kernel and now when trying to dirty flash ob6 I get error 7 saying this is for the 5t device but you have a 5.

Tried reflashing ob5, same error 7 now.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Asv97:
Flash stock boot.img and try again.

(The one present in ob5)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Use an up to date TWRP.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DasWolfen1:
I'll try the stock boot.img.

I'm using latest codeworxx twrp.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DasWolfen1:
Newest official twrp worked!

Thanks a ton for the help.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bravonova:
What is the idle GPU frequency in Flash kernel? 180MHz or 257 MHz?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] LinuxNewb:
257MHz per Kernel Adiutor
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Asv97:
Some custom kernels have 180mhz while stock and flash kernel have 257Mhz as their default.The gpu rarely goes above the 257mhz and Google has deemed adreno idler(180mhz)to be unstable,so 180mhz isn't needed.Also,it doesn't have any impact on battery life.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bravonova:
I found OB6 is not that much good on battery compared to OB5. On OB5 I usually used to get 8-9 Hrs SoT, while on OB6 it resuced to 7 Hrs. :(
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Asv97:
Ohh that's sad :( .For me,battery life has increased....I got about 10 hr SoT on latest beta.Please check your setup or clean flash the ROM.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Prometheus:
Don't know if this is a bug.

I'm using OOS 5.0.4 with 3.21 Flash Kernel.

The sound control seems to be glitchy for me. I mean the earphone gain works great. I can sense the output volume increase as I raise the level. But I see no discerning gain in volume on Speaker or Right speaker. (I'm not sure what "right speaker" is.)

I'm using EXKM to control these. Please correct me if I'm going wrong anywhere
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Jamie_oppo:
Been running the lastest version for days now with no unresponsive touchscreen. :)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Lossyx:
Is there a possibility of adding feature to disable Haptic Feedback? (Screen off gesture vibration)
[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

Linux 4.4.128

Workaround some ROMs setting governors that this kernel doesn't have (force fallback to interative)

Small kernel/common patches

Downloads

Primary: http://nchancellor.net/downloads/kernels/op5/8.x/stable/

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

Commits

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

AnyKernel: https://github.com/nathanchance/AnyKernel2/commits/op5-flash-8.x
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MsuatafaKhatab:
Ob6 why wifi not working?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
No idea with the information you have provided.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] hassan_1000:
In the OP it states does not change decryption status and disables Verity. Does this mean I do not have to flash no Verity zip after the kernel?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] kristofpetho:
Correct, verity is disabled within the kernel.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] xdvs23:
I can confirm. I build using Clang 6.0.1 from Google's repo and it works.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Joeisgood99:
All good and thanks for the input. I got it to compile with clang7 that I built with clang5, without disabling any warning flags. Just some tweeks on my laptop needed for compiling with cLang.

Also, incase your interested OP, your kernel compiled with Qualcomms Snapdragon stand alone llvm cross compiler 4.0.2 for android.

I haven't compiled it with any of the unique performance or security optimisations yet ( other then mtune=cortex-a57 or whatever) but interesting anyway.

Keep up the good work [MENTION=6842057]nathanchance[/MENTION]
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Just FYI, 4.07 is fully compatible with 5.1.0. There was only one patch, which was a fix for a patch in Open Beta 5. I've had both in my tree properly since 4.4.92 in October lol...

Additionally, this means the 3.x branch will see one, MAYBE two more updates. I recommend upgrading ASAP so get the full Flash experience.

Thanks for being the best users around :good:
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] LinuxNewb:
Cheers mate! Thanks for everything you do :D
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
Need to ask this whilst its on my mind. I've heard people say:

"Flashing and using a custom rom, something always breaks. Therefore stay safe and stay stock rom".

Anyone care to comment and clarify the truth behind the above statement, would be most appreciated. Thanks in advance also.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] kapil_dheer:
For Any build, the more it has been tested & carefully made, more it is stable.

If the developer finds errors & fixes those, the next build is more stable than the earlier. This is endless process for a rom. New feature add ons might render system unstable while testing by community & bug fixing by developers makes the system stable.

Coming to custom versus oem, custom roms are latest feature rich options to follow... Sometimes at the cost of issues like battery drain. Oem roms can be stable as they keep on polishing their piece of code with one after the other incremental updates. But they can be years old in features.

It depends what you expect of your phone..... New set of features & android flavours as & when they release or years old software with no force close or issues.

Happy flashing ?.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Ideas4ya:
See the screenshots below, I do custom kernels for additional battery savings over stock.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Asv97:
What point are you trying to prove here?

---------- Post added at 09:00 AM ---------- Previous post was at 08:48 AM ----------

I'd say the above statement is true for most of the cases.Stock ROM would be the most stable for for the device, especially if it is a recently released device.Different custom ROMs target different things such as:

1.Bringing latest and new features

2.Bringing Stock Android experience+additional features for heavily skinned devices such as Samsung,Xiaomi.

3.Providing additional stability if the stock rom s#it(OOS might

not be the favourite but it is really very stable,not this isn't applicable for 1+ devices)

For 1st and 2nd option,you are very likely to face bugs.New features=more bugs.Nowadays,it has become tougher to develop ROMs(unless if you device supports project treble officially or unofficially) because of incomplete or no sources, different types of security and encryptions.

Speaking for 1+,there are 2-3 custom ROMs out there which are stable enough for daily use, however you will lose these features:

1.Stock OOS cam

2.Face unlock.

3.Certified status(which can be fixed I guess)

If you are ready to leave these things you may flash a custom ROM.

Custom kernels(especially this one)are really very stable and things rarely break after flashing a kernel.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
Thanks for response, but I wasn't talking about custom kernels, I was talking about custom roms.

---------- Post added at 09:53 AM ---------- Previous post was at 09:52 AM ----------

Thanks for both your inputs, much appreciated and valuable advice :)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] NickMidd91:
All ready did don't know why it's telling me this on twrp 3.2.1.1
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
What build are you flashing?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] NickMidd91:
The one from this forms
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Be more specific... File name.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] NickMidd91:
Oos v2.15.1
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Which recovery?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
There are three TWRPs for this device. You have to be more specific or I'm just going to stop trying to help you.

Flash the kernel, save the recovery log with the advanced options, and upload it here.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] NickMidd91:
That twrp is the official one that came out on the 28 of December. That's all I can tell you and as for being able to flash the kernel with any twrp I would not be able to I need to sideload it and when I try to I get error 1. Sorry for this. The oos beta 1 does not let twrp see all of the files on my phone and I don't know how to fix that.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
You can try using codeworkx's TWRP

https://xdaforums.com/oneplus-5t/development/recovery-twrp-3-2-1-0-oreo-8-0-8-1-t3729673
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] NickMidd91:
Ok thanks

---------- Post added at 01:46 AM ---------- Previous post was at 01:44 AM ----------

When I get home I'll flash that twrp and try it and see what happens. Then I'll let you know.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] tasoskio:
[MENTION=6842057]nathanchance[/MENTION] it is possible to have dash charger with your kernel?

with custom rom.....
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Custom ROM support isn't ready yet but when it is, it should work.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] yung40oz84:
U need to format data and start from scratch and use blue spark TWRP or the one Nathan posted. The official has all sort problem and the one u describe is one of them
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] NickMidd91:
Thanks man that twrp did work on getting your kernel to flash thanks so much
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Juli112:
Does it fix the meltdown issue because of the updated kernel version?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mirdaVG:
Anyone else has problem not being able to change screen brightness? Backlight dimmer is disabled but still cant change brightness. I'm using Ex Kernel Manager. There was the same problem with elementalx kernel version 1. Everything else is great, super fast and smooth kernel :). Really like your work :good:!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] gorilla p:
Thanks for coming over and showing our device some love.

I'm hoping to see more people come over from the N5X/N6P as the Nexus brand is dead in name and in principal (i.e; Solid quality, high value devices at reasonable prices). I don't feel that the Android One program was a suitable replacement. I found myself looking for a non Nexus device for the first time in a long time recently and this device has so far been a fun alternative...

But anyways...

The only things that I can think of that I would like to have are

Bluactive and ElementalX kernels (which you say you won't add) , Zen scheduler (which is another no-go).

So that leaves me with, maybe adding some kernel profiles such as those in ElementalX (i.e. Glassfish 1.2)

Color control profiles would be nice as well.

Those are the only things I really tend to tweak.

Here is some info regarding different profiles. I'm sure they can be adapted for use with the S835. I may start looking into this a bit.

https://devs-base.com/viewtopic.php?t=205

Options to enable/tweak ZRAM would be nice (keeps swap space in memory). I'm curious how to best use this as we have an abundance of RAM on our device, but the ability to keep our swap file in memory is ideal and the abundance of RAM makes that more practical. But here's the sticky part...

Say I allocate 1GB to ZRAM and have 5GB RAM left. If I had left that extra 1GB as RAM, I might have never needed to use the swap space to begin with. IDK...

Thanks again!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] tcat007:
Brightness is a bit squirrelly. If you click the A button it moves, then turn it off and you can set brightness, but next time you touch it, it doesn't change. I have it on about 15% all the time so doesn't bother me.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Topse:
I get Error 1 with this recovery. (codeworkx's TWRP 8.0)

With twrp-3.2.1-x_blu_spark_v8.61-op5_op5t no problems !

(OP5T_O2_Open_1)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bdwilk:
But you're asking this question in a custom kernel only thread.

Anyways, for the true flashers it's not about stability. We want the most stable version, we can get, with new or different features. If a person is searching for a one time flash to make all his/her dreams come true then this isn't the right community. These ROMs/kernels are updated really frequently and some ROMs/kernels are built or maintained by one or two people vs. an OEM with a team testing and testing before building anything.

My only advice isn't to avoid bugs or problems but read read read and learn how to get yourself out of trouble WHEN it happens. It will happen. You can be the most careful and prepared person but nothing is perfect (even stock) and therefore a problem will arise eventually.

Remember this whole thing is for fun and learning.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Asv97:
1.Offtopic is allowed on this thread,he has right to ask whatever he wants to.

2.Why is he indirectly self advertising his kernel?He asked about ROM why is he saying 'I make custom kernels for battery savings'.

3.I really can't see how did he save battery lol.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
I know I am :)

But Nathan doesn't mind off-topic stuff and what I asked wasn't totally out of the zone and is of relevance (although yes is not directly related to Flash kernel).
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bdwilk:
I never said it was forbidden or that you did anything wrong. You just said you weren't asking about kernels, only ROMs. I just pointed out that that's a funny statement being as you asked in a kernel thread.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
To be honest I have no idea what you are on about, especially your first sentence. People have asked totally off topic things on here in the past and mine was mildly off topic, but still related under the grand scheme of things.

Anyway...........LOL

If Nathan wants to comment on my original statement as intended and then wants to add his two cents about what constitutes off topic/ on topic, thats up to him.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bdwilk:
Omg. I don't give a crap about off topic. I contributed to it as well. My statement had nothing to do with moderating your post. I simply pointed out you were asking about ROM stuff in a kernel thread. It was funny to me. Stop being so sensitive. You had a legitimate question and concern and several of us gave you our opinions. Now stop it. I won't reply anymore in respect for Nate.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] SlyUK:
When was I sensitive. I never made any mention about you saying the words Forbidden etc as you made reference to in your first sentence (or said you shouldn't be moderating my post). I think you must be referring to someone else (correct me if i'm wrong) ?

I honestly don't know what you are on about, unless i'm missing something here.

Cool down over the weekend mate.

Edit:

Spelling.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MrPhilo:
What are some settings to make the phone just a tad smoother? I've been playing around with Interactive but can't seem to find it.

I am pretty sensitive to lag as I have a 240hz and 144hz monitor so it seems my eyes have adapted to shizzle. The phone is generally smooth but there hiccups now and then.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] PCWright86:
After flashing latest beta, I no longer have fingerprint in my security settings. Am I doing something wrong. I flashed directly over RR stock kernel.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
You may try increasing input boost.

1. I kindly ask all beta feedback be giving via Telegram as the whole point is quickly tackling issues.

2. I don't think I added anything that should have broken that, everything is fine on OxygenOS.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MrPhilo:
Sound Control breaks Dual Speaker mod, idk why it has on the latest OOS. It was working fine on beta 5 and 5.0.4. Flashing stock kernel fixes this. Any chance you can look at this?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] nathanchance:
Odd considering I haven't touched the sound control code since I added it. This is personally why I hate kernel features. I'll consider looking into but my motivation is rather low since

1. It's not my code.

2. I don't use that mod.

3. I don't even use this device as a daily driver.

I'll see if I have time later this week.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MrPhilo:
EDIT: thanks!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MrWilsonxD:
Pixel for lifeeee