yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
Hi there,

after endless test-builds we are finally ready to share this eas build based on official oos pie and hdk sources! A huge thanks goes to all our testers who made this build possible :)

Note:

A dirty flash of oos pie is recommended if you were on any previous custom oos kernel or any previous pie version of this kernel (e.g. r27, r28)!

Changelog:

Based on official OnePlus kernel sources [PIE branch]

Based on HolyDragonKernel [v1.0 PIE] - thanks to [MENTION=1211160]HolyAngel[/MENTION]

Stable-linux v3.18.120

Introduce AnyKernel3

Merged all the EAS commits [thanks to the RZ-Team]

Drop nethunter support [breaks hotspot]

Drop qcacld-2.0 wifi driver [stock wifi driver now]

Add nearly all the other known features from previous builds

Download:

OxygenOS - PIE

mcd-kernel-oos-r29-pie.zip

changelog: at

pastebin

or

androidfilehost

​

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

Telegram-Channel:

t.me/mcdkernelchannel

Small note:

Please leave a comment here if this kernel works or doesn't work for you. This thread stays alive with your contributions and your feedback will motivate me to continue working on this kernel. And if you like you can do a little donation to me: paypal.me/mcdachpappe
[OnePlus 3 & 3T Cross Device Development] rippledrums:
Because patience is a virtue ;):highfive:

Also, had no idea there was xXx for the op3...
[OnePlus 3 & 3T Cross Device Development] murti52:
Quick review... Performance is definitely boosted... Feels a bit lag in scrolling. But overall the update is top notch. Thanks :) ?
[OnePlus 3 & 3T Cross Device Development] abhibnl:
Give it some time to settle. The test builds have been working fine in the performance department. Still the only kernel that can run cancerG on 720p resolution and 40fps on smooth graphics. r29 is working great so far for me.
[OnePlus 3 & 3T Cross Device Development] asdfxyz:
How do I toggle DTS: HeadphoneX? What exactly is USB fast charge?
[OnePlus 3 & 3T Cross Device Development] puli112:
Phone is going into deadmode especially while using hotspot. Need restarting. On oos9.0.4

---------- Post added at 08:30 AM ---------- Previous post was at 08:14 AM ----------

Facing blackscreen of death bug. ....

Mobile becoming unresponsive with black screen .

Need to restart to get over it ....

SIZE=1]---------- Post added at 10:18 AM ---------- Previous post was at 10:18 AM ----------[/SIZE]

Edit : after 3 black screen of deaths ... Mobile stated working like cham .... Will update if that changes
[OnePlus 3 & 3T Cross Device Development] :
I've been using this kernel for around 3 months. MTP driver seems to messed up when this kernel with custom build.

It freeze/undetected Windows (pc) while detecting the storage.

It just a report, i think it might be related MTP driver in the kernel build.

Sorry for no logs. Today just clean flashed with stock kernel and the problem goes away.
[OnePlus 3 & 3T Cross Device Development] immi803:
No such issue observed here, working fine MTP
[OnePlus 3 & 3T Cross Device Development] murti52:
For me even after reboot, bsod came everytime. On 9.0.4., had to move on to another kernel
[OnePlus 3 & 3T Cross Device Development] abhibnl:
I've had the hotspot reboot bug only once but I haven't faced any bsod or freezes in day to day usage, and I am running this kernel since test build 1.

I am using it on a OP3 with OOS 9.0.4.
[OnePlus 3 & 3T Cross Device Development] murti52:
I don't know why it happens. I clean flashed 3-4 times, still once i reboot after flashing kernel it gives bsod in 1 second
[OnePlus 3 & 3T Cross Device Development] BolintsMiki:
What do you mean under "BSOD"? Android doesn't have a BSOD (Blue Screen Of Death), that's Windows. Do you mean that it bootloops or gets stuck or just doesn't boot?
[OnePlus 3 & 3T Cross Device Development] :
...there's a non-color starting with B... hint: opposite of white...
[OnePlus 3 & 3T Cross Device Development] abhibnl:
As soon as it boots, you should take dmsg or a kernel log and share it with the dev. he won't be able to do much without proper logs.
[OnePlus 3 & 3T Cross Device Development] :
Flashed again this kernel just curious, and guess what?

Yes it's back. I'm pretty sure it's because of this. Clean flashed again and using stock, she's gone.

It's hard to catch the logs since the phone itself is fine, but my PC isn't

Guessing would be a messed up device ID caused by the driver.

I can force it to work in windows 7 with a little tamper to it, but no avail on windows 10. If i want to connect my phone in windows 10, i should restart first and plugged the phone before windows boots, or else it will freeze.

I'm using the latest NOS and latest mcd-costum.

Just for the heads up that it's not my PC either who had the problem. It's also clean, just re-installed (PC).

It's also happen the same on 2 different PC.
[OnePlus 3 & 3T Cross Device Development] :
Connect adb over network; start "adb logcat >somefile.txt"; plug usb in mtp mode to pc. You get a logcat until the crash now. On the very next(!) reboot (most probably twrp) get the content of /sys/fs/pstore.
[OnePlus 3 & 3T Cross Device Development] murti52:
I know that, how can u take a dmsg or kernel log because as soon as it boots, the screen goes black and nothing works.
[OnePlus 3 & 3T Cross Device Development] :
Look at my previous posting. On the very next boot after the crash get pstore - console-ramoops is what you are looking for.
[OnePlus 3 & 3T Cross Device Development] JoeBar07:
Did you flash oos-stock boot.img?

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[OnePlus 3 & 3T Cross Device Development] gps3dx:
[MENTION=7030109]mcdachpappe[/MENTION] I hope you're aware that MCD kernel

r12

NFC driver is broken when it's being use on latest pie rom updates ( like HAVOC ) that require latest phone firmware ( 9.0.3/4 ).

The old quote above, is also true also for Jun pie roms changes in relation to NFC....MadKernel Reborn 24 already solved it in his latest v24 release.:angel:

I hope you solve NFC issues in r13- Much oblige ! ;)
[OnePlus 3 & 3T Cross Device Development] :
[MENTION=7030109]mcdachpappe[/MENTION]:

The native Oneplus pie nfc blons rrquire this commit to work: https://github.com/nvertigo/android...d605513#diff-1475c2398fd89f18f97aeb387c9bf345
[OnePlus 3 & 3T Cross Device Development] gps3dx:
as a tempurary solution till r13 is out -

I noticed the change in source is of a single file... if it's compiled into a ".so" file - can't we just extract & copy that compiled file from MadKernel ?
[OnePlus 3 & 3T Cross Device Development] :
Shared object files are not in the kernel. Shared object files on unix/linux like oses are similar to windows dll files.

The native Oneplus pie blobs expect an other file namr for the nfc device, so the device name needs to be changed in the kernel, or you need to use custom rom builds with the non-native Oneplus pie blobs. You can't hexedit the new blobs eitjer, because the file name differs in length.

If the mcd kernel should run with the new blobs, it needs the mentioned patch, if the mcd kernel should run with old blobs, the mentioned patch mustn't be applied. A kernel working on both needs quite some additions to detect different blobs and use the nfc device's filename accordingly.
[OnePlus 3 & 3T Cross Device Development] iceman0826:
What version of the Custom series that doesn't have thr WLED bug? Is it the R10 or R11?
[OnePlus 3 & 3T Cross Device Development] DoN LoUhI:
Any progress about NFC fix !?
[OnePlus 3 & 3T Cross Device Development] devansh2895:
I wanted to know if sultanxda's thermal-simple is still working in r29. I mean did it get ported from the Oreo version of this kernel to the Pie veraion?
[OnePlus 3 & 3T Cross Device Development] qhsusb_bulk:
I have some bad news for you.

Written by Danny, aka [MENTION=7030109]mcdachpappe[/MENTION], from telegram group.

"I've got a short announcement for you guys:

you msybe already noticed that I'm a little off and inactive for the last few weeks. the reason for this is because of different things which have come all together over time. i kinda lost the fun on this hobby, sorry.

tl;dr: I'm going to quit android 'development' in the near feature. don't expect any more updates.

it was a funny and good experience for me to stay in contact with people all over the globe. it was just a pleasure - thank you very much for all your support, contributions, rude and nice words and so on :) thanks for the great time"

I also thank [MENTION=7030109]mcdachpappe[/MENTION] for what him did. It was good experience to work and talk with him.
[OnePlus 3 & 3T Cross Device Development] murti52:
You know what.. it sucks.,!! This device losing such a loving and hardworking dev.. But we'll always support him in what he do. Thanks [MENTION=7030109]mcdachpappe[/MENTION] for everything you've done, and all the very best for future endeavours :)
[OnePlus 3 & 3T Cross Device Development] Chronios:
Many thanks for the hard work to MCDACHPAPPE! Used your kernel quite a lot. Will someone takeover development? This work shall not be lost :fingers-crossed:
[OnePlus 3 & 3T Cross Device Development] rippledrums:
Thank you for sharing it here, unfortunately I haven't had time to post this.

@moderators please close the thread.
[OnePlus 3 & 3T Cross Device Development] Bintang Krisna:
See you all?
[OnePlus 3 & 3T Cross Device Development] theduke7:
[MENTION=7030109]mcdachpappe[/MENTION] I've been away for while, but had to say thank you for all the great work you've done m8.

Best of luck always.
[OnePlus 3 & 3T Cross Device Development] immi803:
[MENTION=7030109]mcdachpappe[/MENTION]

Wish a custom version for Android 10:confused:

Still enjoying r29 on pie at one of my phones
[OnePlus 3 & 3T Cross Device Development] Paschfire:
This custom kernel(mcd-kernel) is no longer under active development, hasn't been since mid July.

This making your request kind pointless.

Development closing announcement from July, on the previous page of this thread.

https://xdaforums.com/showpost.php?p=79933203&postcount=666
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
Android Q support [custom rom only]

Hey guys,

this could be some good news for you:

Our buddy [MENTION=7072514]mady51[/MENTION] brought this kernel to Android Q [custom roms only!]. So if you want to give it a try and if you want to support mady, please head over to his thread and his release post:

https://xdaforums.com/showpost.php?p=80812489&postcount=2558

Many thanks to him for keeping this device alive! :)
[OnePlus 3 & 3T Cross Device Development] metaspook:
Bro missing ur kernel ... If u have enough time can u provide a guide for compiling on kernel Linux setup to flashing the kernel..as your a git guide
[OnePlus 3 & 3T Cross Device Development] arifn82:
"Pocket mode" is misbehaving with this kernel. often ,when i type V gesture from turned off screen, the gesture doesnt work. then i have to press the power button and suddenly i see the pocket mode animation. how to solve this ? i am on oos 9.0.6 op3t , and i checked without this kernel that my proximity sensor is full ok. thanks in advance
[OnePlus 3 & 3T Cross Device Development] Simone98RC:
@mcdachpappe the Cast Screen option is broken with your OxygenOS (r29) kernel, I get an infinite search for available devices.

Hope you'll fix it asap.
[OnePlus 3 & 3T Cross Device Development] Paschfire:
Read my previous response 4 comments above, as this kernel is no longer under active development.

In the future use the forums search, or read the last dozen or so pages of a thread, before posting.
[OnePlus 3 & 3T Cross Device Development] Pain Emp:
Guys i wanna know if this is normal, this is normal temperature in common apps, no gaming, while i gaming The CPU goes like 60-70° is that normal with this kernel?

Im using blu schedutil in both cores and cfq scheduler
[OnePlus 3 & 3T Cross Device Development] rose_pb2009:
Can this kernal be used in android 10 havoc os?
[OnePlus 3 & 3T Cross Device Development] theduke7:
The one maintained by mad51 on mad kernel thread does work on havoc, I'm using it now
[OnePlus 3 & 3T Cross Device Development] luckydedaojing:
@mcdachpappe

Hi brother

How did you fix the problem that the wifi does not work when flashing into the phone after compiling the pie kernel?

I am new to kernel compilation and hope to get your help

thank

I am using the following kernel compilation

GitHub - OnePlusOSS/android_kernel_oneplus_msm8996 at oneplus/QC8996_P_9.0

Contribute to OnePlusOSS/android_kernel_oneplus_msm8996 development by creating an account on GitHub.

github.com
[OnePlus 3 & 3T Cross Device Development] miXOnIN:
DrideDroid doesnt work with this kernel! Restored to stock :(
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
update 180926 [v1.4]

New build is up!

Changelog:

merge stable-linux v3.18.123

build with Linaro v7.3.1 toolchain (cortex-a57 targeted, build with latest Crosstool-NG from developer snapshot Linaro GCC 7.3-2018.04)

init: revert to 1591mhz max_freq for little clusters

init: raise cpu_input_boost a little bit

input: fix various memory leaks

logging: disable even more

sweep2sleep: disabled by default

sweep2sleep: disable vibration function

thermal: add sysfs node

many misc stuff

Download:

mcd-oos-eas-OP3-v1.4-180926.zip

​

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
[OnePlus 3 & 3T Cross Device Development] nickpapeir:
Great, but why did you reverted the small clusters to 1591 ?
[OnePlus 3 & 3T Cross Device Development] aeking:
After dirty flash the new version, camera apps (gcam OnePlus cam) doesn't work for sometime, it might be a problem?
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
I'm currently testing different settings out. I couldn't see any real performance increase but a slight worse battery backup result - that's why. Which frequencies do you prefer and what are your results? Maybe I'm going to increase the values back up again with the next build if you are able to convince me :)

At least not for me. The only thing that was changed regarding media or camera between this release and the last one is logging. But this won't cause your issue at all.

I've tried onepluscam and gcam mod right now without any problems.

p.s:

You don't need to quote my whole update-post in order to get an answer guys. Keep this thread as much readable as possible please.
[OnePlus 3 & 3T Cross Device Development] Needles_one:
I personally find the new build way consistent in performance, also way less heating.
[OnePlus 3 & 3T Cross Device Development] smk513:
flawless working here :)
[OnePlus 3 & 3T Cross Device Development] aeking:
Fine.
[OnePlus 3 & 3T Cross Device Development] omair2005:
Front camera not working on latest for OnePlus camera or snapchat
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
see 4 posts above yours..

https://xdaforums.com/showpost.php?p=77733748&postcount=64

Your problems are not kernel related. Install stock oos cam if you are facing issues. Version 1.5.0 works perfect - yes, even front camera.
[OnePlus 3 & 3T Cross Device Development] omair2005:
Edit seems to be working now. Thanks
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
What did you do to get it working again? Maybe somebody has the same problem and you could help him.
[OnePlus 3 & 3T Cross Device Development] omair2005:
Honestly last night it wasn't working.. I restarted my phone and cleared snapchat cache and updated the app. If I'm taking selfies its usually with snap or insta camera
[OnePlus 3 & 3T Cross Device Development] aeking:
I roll back to the version 1.5, fix it.
[OnePlus 3 & 3T Cross Device Development] theduke7:
Just tested on the new 5.0.6 working nicely...even tried a game of pubg...very good.
[OnePlus 3 & 3T Cross Device Development] Leicxan:
Flashed latest V1.4, I found big Cluster always go to 2342Mhz, the phone is very hot and drain battery very fast..
[OnePlus 3 & 3T Cross Device Development] Dhairya:
no issues with in the latest build apart from heating and following while in stand by mode the device drains battery quickly and while playing pubg it lags alot that wasn't the case in previous builds rest is perfect even while charging the devices gets hot if its charging from 10% onwards
[OnePlus 3 & 3T Cross Device Development] Pheggas:
I tried this kernel with OOS 5.0.5 and it looks very nice,didn't tried SOT and battery drain but speed is very decent. Also fingerprint unlock is fast (fast as in stock kernel if not faster). But when i was toggling in EXKM,in one point it just lagged,turned off leaving something like line in lower part of display. That line dimmed in a second and if i wanted to turn it on,nothing happend. So i hold power button and vol- (boot to recovery) for like 15 seconds and then it started booting to recovery. God bless i didn't bricked it
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
i'm using this kernel on my op3t with stock oos 5.0.6 and don't have any heating problems. you seem to be the only one's who are facing this problem. a clean flash (dirty flashing oos again / flash the boot.img) of the kernel could solve your problem. however - i'm always dirty flashing without any issues until now.

what did you try to toggle? this post/report isn't helpful at all

//edit:

the next build will include some minor thermal related commits.. maybe these will solve your heating issues
[OnePlus 3 & 3T Cross Device Development] theduke7:
plus the recommendation above , i would suggest clear the cache of the kernel manager you use (preferably data and cache from settings > apps) , dirty flash rom and kernel again then start the kernel manager app
[OnePlus 3 & 3T Cross Device Development] Dhairya:
not using any kernel manager all stock kernel settings moreover if i close app from recents i don't receive notifications the recent app management is on normal clear mode
[OnePlus 3 & 3T Cross Device Development] omair2005:
Have you tried to disable battery optimization for that app
[OnePlus 3 & 3T Cross Device Development] Jadelor:
Oh, a really good build of the RZ kernel! Thank you so much, I've been daily driving it for weeks now.

In any case, hmm, here comes the obviously-on-the-way request - would you consider implementing the BFQ I/O scheduler? On my devices it tends to provide the smoothest ride on a lot of different I/O usecases.
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
thank's for the feedback!

sure - will add it in the next build [BFQ-v7r8]

---

some news:

I will push an update after release of the next stable-linux version..
[OnePlus 3 & 3T Cross Device Development] pedrovb25:
Edit: i'll wait fot the next update 1.5!! The kernel with default settings works very well but in games like Asphalt 9 have lag.
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
update 20181014 [r6]

A new build is available!

Two things first:

Filename:

The first thing you might notice is the new [shortened] file name and the counting-style of our releases. We're going to count releases now with the shortcut 'r#' (# will be an increasing number) to get rid of unnecessary long file names of the .zip and to minimize any confusions. In this case we'll start counting with r6.

Naming:

If you have any kind of kernel-name/project-name on your mind please don't hesitate to share it with me/us. I think it's time to name this project to our liking. The only name that came to mind now was 'mcd-kernel' but maybe there are some better ideas around here.

That said, let's continue to the really important changes.

Changelog:

Merge stable-linux v3.18.124

Update QCACLD WLAN driver to LA.UM.6.5.r1-09800-8x96.0 [4.0.11.213W]

RCU subsystem upstreamed

Add 32-bit vDSO implementation for better performance of 32-bit binaries

init: set readahead to 2048 during boot to match Pixel 2 [resets back to 512 after boot completes]

init: set adrenoboost to low; remove some cpu-frequency related lines

I/O Scheduler: Add BFQ-v7r8

Low memory killer: enabled by default

Thermal: revert: use marlin's config

Thermal: implement intelli-thermal v3

misc: Cleaned-up the kernel tree

Download:

mcd-kernel-r6.zip

​

changelog-r6.txt​

Update1:

:

some users reported that the device is getting laggy after some time. try to switch to another gpu governor or please revert back to the previous build. I'm on vacation for two weeks now.

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
[OnePlus 3 & 3T Cross Device Development] nickpapeir:
Lots of good stuff ! ! !

What does the Low memory killer do ?

What is the 32-bit vDSO implementation ?

. Thanks for the update.

I am going to post feedback as soon as possible

Cheers ! ! !
[OnePlus 3 & 3T Cross Device Development] pedrovb25:
Everything works perfectly although there is a rather annoying error that forces me to restart the mobile phone. The issue is that I play asphalt 9 quite a lot and with this latest update (r6) it works very well now, but it has already happened twice and I do not know why but I had to restart the mobile phone to continue playing, because randomly starts to have a lot of lag (although I opened and closed the game). It also happens with the PPSSPP emulator, so I imagine it will happen in everything. For example, before going to sleep I played the asphalt and it worked well and today in the morning I wanted to play and the game already had lag. Yesterday it happened and I did not have to "go to sleep". It's a very weird bug but you've done a great job. I hope you fix this soon and thank you!

Edit: Now it takes 1 hour 18 minutes on and it already works slow in games.
[OnePlus 3 & 3T Cross Device Development] Needles_one:
I experienced a short term insane lag today while pulling down the notification panel. It looked like it was rendering with 1 fps. Dunno what was that but after lock/unlock it's gone.
[OnePlus 3 & 3T Cross Device Development] nickpapeir:
I can confirm that. Really laggy in Asphalt 9 (i play that game too)
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
the only thing that was changed related to gpu was adreno-boost scaling set to low. you can try to disable it again (like on previous build) or set it to high for example. i don't playing games with my phone so i can't test this - sorry.

the kernel driver slows down frequencies of cpu and gpu to let the device cool down again if your phone is too hot. maybe that's the point here - i don't know.
[OnePlus 3 & 3T Cross Device Development] pedrovb25:
I already tried that yesterday and it did not work, it also doesn't depend on the heat. The problem here is that it works well and then at a random moment it starts to have lags in all the system aimations, not only in games, and the only solution is to restart the phone.

Edit: adrenoboost on high doesn't work, also the temperature is 34° C and asphalt 9 have lag in menu, not in game.

Edit 2: i tried changing GPU gobernor to performance and all lags were solved.

Edit 3: flashing full rom and then the kernel didn't work
[OnePlus 3 & 3T Cross Device Development] Diatomix98:
The opening of apps using this kernel is a tad slower than stock kernel or other custom kernels unfortunately.
[OnePlus 3 & 3T Cross Device Development] qhsusb_bulk:
[MENTION=7030109]mcdachpappe[/MENTION] ,thank you for update.

I want to report that v6 update sometimes lags. No gaming, no weird heavy apps, just normal usage. I use my phone little bit fast, especially when multitasking and opening apps. Result: Stuttery UI. v4 didn't have these problems.
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
that's sad to hear. i was almost 2 weeks on this build until release and i haven't noticed anything like you guys.

[MENTION=6720892]pedrovb25[/MENTION] reported that switching gpu governor might do the trick.

However I'm unfortunately not able to work on this in the next two weeks because I'm leaving the country for vacation - sorry :/

the last option for you is to revert to previous build.