yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] abhibnl:
I am using it on daily basis. It has been stable so far with no issues. I am using OOS 5.0.8

The current version is bit special because it doesn't use any input boost or CPU boost and yet it has managed to provide a consistent and fluid UX
[OnePlus 3 & 3T Cross Device Development] spione2013:
I've flashed today the last version of kernel. First hours, I noticied a little bit lag, so I've installed the adaptive stune app, now all is fluid. I using it disabling the input boost, for now is very good.

I'll use this kernel for some days and will see how is sot with my usage, and general experience. If all is ok, I'll use it as daily driver.

Thanks for this eas amazing kernel :svetius:
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
mcd-kernel-r17

update time!

Well, to be honest: Somehow i completly forgot to keep track of the changes in the android common tree [google source - including: f2fs, binder, sdcardfs] and caf specific changes for our device. This time you will get a kernel which is fully upstreamed to the latest stable changes.

Again, i have to thank the guys in our telegram-group for their suggestions, testing, feedback and solution proposals!

Changelog:

upstreamed binder, f2fs and sdcardfs

upstreamed android common kernel tree

upstreamed all missing caf changes until now

upstreamed zRAM driver

enable zRAM and swappiness

treewide: fix some drivers which need a specific hz value

decrease config_hz from 1000 to 300 again

remove: adreno_idler [gpu idles good enough]

remove: dyn_fsync control [may cause some data loss]

misc: some little changes

Download:

mcd-kernel-r17.zip

changelog-r17.txt​

Feel free to enable msm-touchboost or input-boost again if you want an even snappier device. I haven't noticed any lags on my phone with these boosting values disabled.

Notes:

Feedback is highly appreciated

Dirty flashing is fine

You may delete the data of your kernel-tweak app to see/apply the new default values

Telegram-Group:

t.me/mcdkernel
[OnePlus 3 & 3T Cross Device Development] Jadelor:
[MENTION=7030109]mcdachpappe[/MENTION], why drop config_hz back to 300?
[OnePlus 3 & 3T Cross Device Development] abhibnl:
decrease config_hz from 1000 to 300 again

May I please ask why you have decided to do so? I am sure you had a convincing reason so i'll flash this version anyway but I am curious to know.
[OnePlus 3 & 3T Cross Device Development] :
Because: [...]with CONFIG_HZ=1000 on Nexus/Pixel and found it offers a noticeable performance and power reduction due to decreased RCU overhead.

From: https://source.android.com/devices/tech/debug/jank_jitter
[OnePlus 3 & 3T Cross Device Development] abhibnl:
That explains the change when he bumped it to 1000. Why decrease it now to 300? In the latest kernel he has decreased CONFIG_HZ from 1000 to 300
[OnePlus 3 & 3T Cross Device Development] :
You don't want "noticeable performance and power reduction", don't you? "Power reduction" (the power which is left to the bat is reduced... ;) (*) )means less bat life here. Reduced performance needs no explanation...

(*) I understand you get that wrong, but increased RCU overhead can't mean less power usage (see also the laws of thermodynamics).
[OnePlus 3 & 3T Cross Device Development] abhibnl:
Ah!! now that you explain it in that way, my previous understanding of the concept was in a complete opposite way. But in practice, I saw no abnormal battery usage or reduced battery life whereas the phone felt a bit more responsive to actions. But like I said, if he reduced it to 300 again, there must be a convincing reason and it seems like a good one :)
[OnePlus 3 & 3T Cross Device Development] theduke7:
maybe it's a bit early to till, but i do feel an decrease of battery consumption even while gaming....will give it a couple of more days though.

great job as usual [MENTION=7030109]mcdachpappe[/MENTION]
[OnePlus 3 & 3T Cross Device Development] abhibnl:
I don't know what you did with this release but i can finally play pubg at 60fps on HD graphics at 720p resolution. Thanks a ton. Oneplus stock kernel was never able to do that all this time.
[OnePlus 3 & 3T Cross Device Development] Bintang Krisna:
OOS stock kernel has aggressive thermal throttling while this kernel isn't.

Thats why you get better performance in gaming
[OnePlus 3 & 3T Cross Device Development] abhibnl:
That isn't the reason. That kernel couldn't run it on 60fps at all, even when i ran the game on a cold device. Now it magically stays in the 45-60fps range even if I play on HD. I think the latest additions might have done something cause r16 couldn't do that either.
[OnePlus 3 & 3T Cross Device Development] :
From the last commits I'd guess it's the remove POPP commit or/and the optimized copy_page commit.

[MENTION=7030109]mcdachpappe[/MENTION]:

After reading [MENTION=4296062]abhibnl[/MENTION] first comment on pubg @ 60Hz, I kanged a bit through your latest commits. While merging I found https://github.com/mcdachpappe/andr...mmit/c112dde296243075f6bdcf1c15a399c4f1d9ba92 doesn't take sd821/msm8996-pro/op3t into account. I use https://github.com/nvertigo/android...mmit/93df8c9db51e47beea011da8373ddb883b6498ad

Happy developing, Bro.
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
Thanks for pointing it out! I've just added a 'fix' for our sd821.
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
mcd-kernel-r18

update time!

There's nothing much to say this time .. Merged upstream branch and added some little changes which should result in an even better user experience.

Changelog:

merged stable-linux v3.18.134

merged CAF-Tag LA.UM.6.5.r1-10600-8x96.0

misc: little changes to improve ux

Download:

mcd-kernel-r18.zip

changelog-r18.txt​

Notes:

Feedback is highly appreciated

Dirty flashing is fine

You may delete the data of your kernel-tweak app to see/apply the new default values

Telegram-Group:

t.me/mcdkernel
[OnePlus 3 & 3T Cross Device Development] Bintang Krisna:
The most frequently updated Kernel ?

Thank you for your time developing the Kernel
[OnePlus 3 & 3T Cross Device Development] abhibnl:
R18 working great so far. Thanks for the update ??
[OnePlus 3 & 3T Cross Device Development] evadon:
Hi, does it supports HID duckhunter and WiFi packet injection ? [MENTION=7030109]mcdachpappe[/MENTION]
[OnePlus 3 & 3T Cross Device Development] vikram.mohal:
Is it good
[OnePlus 3 & 3T Cross Device Development] Rizezky:
Not so good, i got 4 ½ hours from 90%~10%.

A piece of advice that actually came from franco: "today's soc regulate its own voltage, not like it used to (you may undervolt it to save power), so best thing to do is underclock it to 75%". I set Big core to 1,478Ghz and the little ones to 1 Ghz, and it's true i got no performance deterioration whatsoever, instead a cooler device overall (seriously, snapdragon 820, it's burning my hand even in my daily usage lol), doesn't even affect my pubg play, nice!
[OnePlus 3 & 3T Cross Device Development] abhibnl:
I will try lowering the cores clock speed to lower ones and see if the device feels any laggier. Thanks for the suggestion.
[OnePlus 3 & 3T Cross Device Development] nagi_007pk:
Parallel apps issue

Hey [MENTION=7030109]mcdachpappe[/MENTION]

I use both the sims on my phone and as such have two WhatsApp accounts active using the parallel apps feature from OnePlus. Strangely, every other kernel I've used works fine with the parallel instance of WhatsApp but I installed mcd kernel last night and I'm not able to send or receive pictures or anything on WhatsApp although the app itself works fine. Could you possibly look into this into whatever's causing the WhatsApp to bug out? I love your kernel considering the options and smoothness it grants. I think it has to do with the parallel apps storage not having write access.

Thanks!
[OnePlus 3 & 3T Cross Device Development] abhibnl:
You should get a log for him to inspect and find the bug. He is totally blind from bug fixing perspective and can't really diagnose without a log.
[OnePlus 3 & 3T Cross Device Development] uaiclout:
Is USB Keyboard HID support possible?

https://github.com/pelya/android-keyboard-gadget/
[OnePlus 3 & 3T Cross Device Development] abhi0502:
With mcd kernel phone is really smooth and battery friendly but only issue im facing here is that my phone dont get charged even a single percent but drains while phone is plugged in usb for Android auto.Even fast charge option which im able to see on ex kernel manager is of no use. Plz fix this issue
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
no - it's not working on our kernel somehow.

i never heard about a parallel apps feature. i can't reproduce this issue and if you are not providing any logs i won't be able to help you.

yes, i added a patch for our device [generic v3.18 patch]. but you need to test it yourself because i'm not able to test this. please join our telegram-group to receive your test-build and to discuss this further.

you are the first person who is reporting such an issue. i can't reproduce this myself - sorry. have you tried another usb cable?
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
mcd-kernel-r20

update time!

We are skipping r19 on xda right now because there was a tethering issue in r18 which was resolved in r19 but nobody seems to noticed this here [r19 was available in our telegram-group]. However, r20 includes this fix and many more.

Changelog:

merged stable-linux v3.18.135

init: adjust our default eas related values. check the latest changes

init: enable iowait_boost for improved I/O

init: using larger schedtune.sched_boost values seems to have a negligible effect [raised from 10 to 50]

init: cpu-boost: Create separate tunable for Dynamic Schedtune Boost duration [set to 150 by default]

fastchg: disabled by default

sched/fair: some additions from op6 eas-kernel

use CLKFLAG_NO_RATE_CACHE

increase worker thread priority

misc: silence a lot of log spams

and many more. check the github repo

Download:

mcd-kernel-r20.zip

changelog-r20.txt​

Notes:

Feedback is highly appreciated

Dirty flashing is fine

You may delete the data of your kernel-tweak app to see/apply the new default values

Telegram-Group:

t.me/mcdkernel
[OnePlus 3 & 3T Cross Device Development] Bintang Krisna:
Thank you!
[OnePlus 3 & 3T Cross Device Development] abhi0502:
Im using official Oneplus usb cable. I have oneplus dash charger in my car and with offical usb cable the dash charge work just fine. I have installed now r20. I will again try with android auto and again report to you tomorrow.
[OnePlus 3 & 3T Cross Device Development] qhsusb_bulk:
Hello [MENTION=7030109]mcdachpappe[/MENTION] . Firstly i want to thank you again for this nicely maintained and stable kernel.

Secondly i have a question. Is Magisk important for init changes? I remember i saw something about that in OP5/6'S RZ kernel changelogs.
[OnePlus 3 & 3T Cross Device Development] devansh2895:
Hello plz answer one question..

On my OP3T while flashing this kernel, when it shows

Checking device...

Why does it show OnePlus 3??
[OnePlus 3 & 3T Cross Device Development] abhi0502:
[MENTION=7030109]mcdachpappe[/MENTION] today again oneplus-3 continues to drain with android auto . See the stats
[OnePlus 3 & 3T Cross Device Development] AL2000EX:
No, boot scripts work without Magisk.
[OnePlus 3 & 3T Cross Device Development] devansh2895:
Can anyone help me with this.
[OnePlus 3 & 3T Cross Device Development] :
It should say exactly "OnePlus3".

Because of:

https://github.com/mcdachpappe/AnyKernel2/blob/mcd-eas/anykernel.sh#L12-L16

https://github.com/mcdachpappe/AnyKernel2/blob/mcd-eas/META-INF/com/google/android/update-binary#L16

https://github.com/mcdachpappe/AnyK...NF/com/google/android/update-binary#L149-L158

https://github.com/omnirom/android_.../blob/android-8.1/init/init_oneplus3.cpp#L105

BTW: the scripts are inside the zip (I'm using git here, because I can give links to the code), but you can always check yourself, whats going on while flashing.
[OnePlus 3 & 3T Cross Device Development] devansh2895:
But if my device is OnePlus 3T, shouldn't it say "OnePlus3T" ??
[OnePlus 3 & 3T Cross Device Development] :
Boot to recovery, open terminal and check "getprop ro.product.device".
[OnePlus 3 & 3T Cross Device Development] devansh2895:
Did what u told. It shows OnePlus3T. See the screenshot. Any idea now why is it showing wrong?
[OnePlus 3 & 3T Cross Device Development] Paschfire:
No, you didn't what was told to you. Your screenshot shows you're using a terminal app to view the "getprop ro.product.device" check.

Had you used Terminal within TWRP recovery you would see this on your 3T. In any event it's a simple device check, you've nothing to worry about.

The kernel is installed correctly on your 3T.
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
mcd-kernel-r21

update time!

nothing special again, but thanks to [MENTION=5397938]AL2000EX[/MENTION] for his continous support in our group and his suggestions.

Changelog:

merged stable-linux v3.18.136

init: update cpusets, disable oem logging, set swappiness to 60

upstream RCU sub-system

Make CFQ default to IOPS mode on SSDs

HID keyboard/mouse gadget support

some minor adjustments

Download:

mcd-kernel-r21.zip

changelog-r21.txt​

Notes:

Feedback is highly appreciated

Dirty flashing is fine

You may delete the data of your kernel-tweak app to see/apply the new default values

Telegram-Group:

t.me/mcdkernel
[OnePlus 3 & 3T Cross Device Development] scrbenni:
Bad question: only oos? Not for CustomRom?
[OnePlus 3 & 3T Cross Device Development] Paschfire:
As stated in bold type atop the OP...

"This Kernel is based on RenderZenith-Kernel. It supports OxygenOS-Oreo only."
[OnePlus 3 & 3T Cross Device Development] Zielony360:
The kernel breaks WiFi module on my OP3. WiFi just can't be turned on. I had to wipe system and reflash OOS with Magisk. Both on original kernel and FrancoKernel WiFi works. Just after flashing this kernel it stops.
[OnePlus 3 & 3T Cross Device Development] vinoxflame:
Maybe because you flashed it on top of another custom kernel
[OnePlus 3 & 3T Cross Device Development] rdNNNN:
Wifi not working also on my phone. Clean Flash 5.0.8 latest mcd
[OnePlus 3 & 3T Cross Device Development] Zielony360:
I was flashing on Franco, then on stock image, then on stock image with wiped system firstly. In every case WiFi doesn't work.
[OnePlus 3 & 3T Cross Device Development] abhibnl:
I've been using it from quite some time now. Never broke wifi for me. Should be something wrong on your end bro
[OnePlus 3 & 3T Cross Device Development] Paschfire:
[MENTION=7733049]Zielony360[/MENTION]

[MENTION=6263955]rdNNNN[/MENTION]

Logs?
[OnePlus 3 & 3T Cross Device Development] pedrovb25:
Everything is working fine for me
[OnePlus 3 & 3T Cross Device Development] rdNNNN:
Sorry. I've managed to fix the issue by updating to latest twrp
[OnePlus 3 & 3T Cross Device Development] :
twrp-3.2.3-1 is known to be broken. For details see the official twrp thread. If you format data with this version you will loose the ability to encrypt your device.
[OnePlus 3 & 3T Cross Device Development] rdNNNN:
Well, now I understand why I needed the blu stack twrp to clean flash OOS after coming from Havoc OS. It was not booting at all with 3.2.3-1. That should be due to OOS forcing encryption right? I'm now using that TWRP, but used the blu stacks' one to get my rom booting up. Phone status is encrypted so, without really knowing, I've managed to do the right thing Thanks for the insight nevertheless
[OnePlus 3 & 3T Cross Device Development] Zielony360:
You are right, it was about TWRP... I flashed TWRP_3.2.1-format-fix-3_oneplus3.img now and WiFi works. Earlier I was using blu_spark TWRP. All that TWRP forks are confusing.
[OnePlus 3 & 3T Cross Device Development] danitkd:
Thanks to Dev for this kernel! But I have a lot reboot and SoD while the days.. I don't mod kernel settings.. The temperature of cpu are often more higher than stock kernel.. (sorry for my bad English)

Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
EAS - Custom Rom support

Some good news for everyone who is waiting for custom rom support:

We are nearly there to release an eas-kernel which supports custom roms [oreo & pie] on our device.

A huge thanks to [MENTION=8206680]deepak jr[/MENTION] for testing and his feedback!
[OnePlus 3 & 3T Cross Device Development] abhibnl:
If it supports lineage os 16, this could be a good addition. Oneplus is really taking their sweet time with it and I'm sure they will mess something up when its released.
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
it does - don't worry :)
[OnePlus 3 & 3T Cross Device Development] abhibnl:
BTW, I am using the S-tune app along with your kernel. someone recommended it in this thread when I first flashed it. I just wanted to check with you if it has any significant advantages with your kernel or if I can use it without Stune app with no significant performance/battery life balance.
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
The only thing i am sure of and what i can say about this app is: I don't use it and i don't need it.

Maybe it is a good piece of software/code but I do not think that calculating the stune-boost values ​​dynamically will improve your experience significantly. It is up to you/the user to test this and check if it's worth to have this app installed. Some people around here are using it and some don't.

Your device, your opinion, your taste - you decide.
[OnePlus 3 & 3T Cross Device Development] abhibnl:
Fair enough, I will uninstall it right away.
[OnePlus 3 & 3T Cross Device Development] theduke7:
If you are not heavy gamer, it doesn't make much difference, but if you game daily (pubg as example) it helps
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
mcd-kernel-custom-r1

Here is our first EAS-kernel release which supports custom roms [oreo / pie].

This release is based on Franco-kernel [pie-custom branch / Lineagetree] which should support almost every custom rom out there. It has been already successfully tested on Havoc-OS 2.3.

Nevertheless is this release in it's early stages - if you are facing any weird issues please take a log and report them here or in our telegram group. Thank you.

//EDIT:

It seems that magisk is mandatory to apply our custom ramdisk changes on lineageos based rom's (e.g. lineage, havoc). If you are un-rooted you may face poor performance.

What do you get:

Based on Franco-Kernel with all his features

Enery-Aware-Scheduling 'ported' from RenderZenith-Kernel for OOS

Compiled with custom-built Linaro 6.4.1 toolchain targeting msm8996/SD820/SD821 [thanks to [MENTION=1211160]HolyAngel[/MENTION]]

Build with SDCLANG v6.0.4

Latest Stable-Linux / CAF-Branch merged

Almost all the features you know from our OxygenOS release

Changelog:

Initial Custom ROM support

Merged stable-linux v3.18.136

Added EAS-Backported features [dynamic-stune-boost v3]

Removed some HMP-Specific code [remove hmp governors - set schedutil as default]

Add almost all the features from our OOS-O release

DTS: Ultra support [Thread]

Introduce K-Lapse [by [MENTION=5913332]tanish2k09[/MENTION] - Thread]

Download:

mcd-kernel-custom-r1.zip

changelog-custom-r1.txt​

A huge thanks goes to [MENTION=8206680]deepak jr[/MENTION] for testing!

Notes:

Feedback is highly appreciated

You may delete the data of your kernel-tweak app to see/apply the new default values

Telegram-Group:

t.me/mcdkernel
[OnePlus 3 & 3T Cross Device Development] mady51:
wow nice
[OnePlus 3 & 3T Cross Device Development] DankBoi:
Initial impressions are really good.

Things are smooth but FP speed seems to be very slow.
[OnePlus 3 & 3T Cross Device Development] xRyzer:
Wow, I don't belive :D

Flashing in 3..2..1.. :highfive:
[OnePlus 3 & 3T Cross Device Development] omair2005:
Great work guys! Running good on havoc. Hoping to see an oos pie kernel version when it releases too :)
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
mcd-kernel-custom-r2

[Custom-Rom-]Kernel update!

This build will support two different cpu-boosting drivers at one time:

cpu_boost - default [EAS default]

cpu_input_boost - duration set to 0 [by sultanxda / kerneltoast]

I've chosen the one which comes with EAS [cpu_boost] and set some default values which shouldn't take too much battery while still improving UX. Feel free to use the cpu_input_boost [by kerneltoast] only or even in combination. If you don't know what I'm talking about: Just flash and forget.

Explanation about kerneltoast's boosting driver: Commit message.

Note:

Magisk [or supersu] is mandatory to apply our custom ramdisk changes on LineageOS based rom's (e.g. Lineage, Havoc). If you are un-rooted you may face poor performance due to not applied settings on boot.

Consider a dirty flash of your current ROM because of the latest ramdisk changes. Some things could mix-up with the previous release.

Changelog:

init: reworked ramdisk and ensure that all the settings getting applied on boot

init: decrease i/o read_ahead to 256 [from 512]

re-enable cpu_boost [set as default]

re-enable cpu_input_boost - duration set to 0 [by sultanxda / kerneltoast]

cpu_input_boost: expose wake boost duration to userspace [default: 1000 ms]

add Maple i/o [set as default]

Download:

mcd-kernel-custom-r2.zip

changelog-custom-r2.txt​

Notes:

Feedback is highly appreciated

You may delete the data of your kernel-tweak app to see/apply the new default values

Telegram-Group:

t.me/mcdkernel
[OnePlus 3 & 3T Cross Device Development] DankBoi:
Thanks!
[OnePlus 3 & 3T Cross Device Development] rippledrums:
Working fine on Havoc after a dirty flash of the ROM (didn't try without dirty flashing it).
[OnePlus 3 & 3T Cross Device Development] dzwietering:
Running TugaPower on EAS now, best thing ever!
[OnePlus 3 & 3T Cross Device Development] abhibnl:
Hello Dev

Just to make sure, you will mention specifically when a update is for OOS or custom roms, right? I can easily see people getting confused with 2 builds in the same thread
[OnePlus 3 & 3T Cross Device Development] :
Did you check OP? It clearly states:

Everybody willing/able to read shouldn't be confused.

BTW: [MENTION=7030109]mcdachpappe[/MENTION]: do you compile the kernel with gcc or clang? Or do you include clang compiled binaries in the zip? I'm confused since you mention both tcs in features.
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
I'm using the compiled toolchains from holydragonkernel [Repo]:

Am i wrong? Did i mixed something up here?
[OnePlus 3 & 3T Cross Device Development] NetSkill:
Adaptive stune app is crashing for me :( on HavocOS + mcd custom r2
[OnePlus 3 & 3T Cross Device Development] :
As I've said: I'm confused. The closer I look the more confused I get:

https://github.com/mcdachpappe/android_kernel_oneplus_msm8996-eas/blob/mcd/Makefile#L252-L256

Which is confusing because there is no snapdragon llvm toolchain with version 6.4.2. https://gitlab.com/HolyDragonProject/android_vendor_qcom_sdclang/tree/HDTC-lin6.4.2 contains many different toolchains, and I don't see the reason for this mixture. I guess - and it's relly only a guess: see last sentence - https://github.com/mcdachpappe/android_kernel_oneplus_msm8996-eas/blob/mcd/Makefile#L252-L256 would resolve gcc to https://gitlab.com/HolyDragonProjec....4.2/bin/aarch64-cortex_a57-linux-android-gcc, which seems to be linaro-6.4.2, which has to be gcc, because there is no linaro llvm.

To finallyaswer the question, which toolchain you use for the kernel, just "cat /proc/version" on the device.

I've seen patches for a vanilla linux keenel, to compile with llvm, but I havn't seen this in any android kernel - that's what made me asking.

When building a complete rom with custom toolchains, you have - at least - 4 (in words four) toolchains:

kernel toolchain

host llvm

custom llvm (i.e. snapdragon llvm)

aosp stock gcc toolchain

The kernel toolchain is the crosscompiler used for the kernel. host llvm is used for all packages, not using HOST_CLANG := false and not using LOCAL_CLANG := true. custom llvm is used if LOCAL_CLANG := true. aosp stock toolchain is for everything else.

Considering the above, I guess the info is oriinating from the skydragon rom.