yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] wilberfan:
Hope this isn't OT, but I LOVE Skydragon, but saw that they recommend NOT using a custom kernel. Sounds like this kernel has been working OK for you at this point, though? Gonna try this kernel with Havoc--see if I like it any better than Skydragon.
[OnePlus 3 & 3T Cross Device Development] hellcat50:
i have even tried different roms with clean install, no apps installed other than play music. using bluetooth for listening too

btw matlog (or catlog) doesn't work with this kernel, idk why
[OnePlus 3 & 3T Cross Device Development] Scarface1991:
Well I switched to Madys Kernel because I had deep sleep issues with the Skydragon Kernel. It was resolved once I switched to Madys Kernel.

---------- Post added at 12:34 AM ---------- Previous post was at 12:33 AM ----------

Is it only Spotify that has this behaviour or all Music Apps?
[OnePlus 3 & 3T Cross Device Development] ZeUbermensch:
I think my touch issue has something to do with ambient display. When I wave my hand over the proximity sensor to wake up the screen, it sometimes stays on longer than usual, and waking the phone up with the power button results in touch input no longer being registered.

EDIT: It happens with notifications as well. Whenever the ambient display lights up, there's a chance it just won't turn off.
[OnePlus 3 & 3T Cross Device Development] mady51:
how is it related to kernel? which rom u r talking abt
[OnePlus 3 & 3T Cross Device Development] ZeUbermensch:
Havoc os (I made a comment about the issue some days ago). I'll try with the stock mcd kernel to see if it's a rom issue, but it started since I tried out v20 in the 15-05 build for op3.
[OnePlus 3 & 3T Cross Device Development] mady51:
next build will have all the fixes guys
[OnePlus 3 & 3T Cross Device Development] bexo92:
I am experiencing tha same issues as you, I'm on the same havoc build. In addition, my notifications sounds are broken and my phone is laggy. I'm gonna flash the new build of havoc, if the problems remain I will return to the v19 of the kernel and wait for the v21 because [MENTION=7072514]mady51[/MENTION] said it will include these fixes
[OnePlus 3 & 3T Cross Device Development] hellcat50:
i used google play music. trsted with youtube background playback and it happens too but maybe once every minute, whereas with play music it is way more often
[OnePlus 3 & 3T Cross Device Development] wilberfan:
I'm having this audio issue with Podcast Addict and audio notifications, too... Temporarily reverted back to previous kernel version.
[OnePlus 3 & 3T Cross Device Development] immi803:
May i ask which alarm management app you're using? Very nice theme [MENTION=8251855]gFknQ[/MENTION]

https://xdaforums.com/oneplus-3/one...l-mady-s-xtended-kernel-t3739378/post79542198
[OnePlus 3 & 3T Cross Device Development] DrUnknownEMC:
Msm built in alarm/wakelock blocker.
[OnePlus 3 & 3T Cross Device Development] mady51:
update - MadKernel-Reborn-21.zip

changes -

fixed playback issues with spotify/podcast or any other app or matlog whatever crap it is.

upstreamed to v140

added sound control. use any kernel app

added default tcp westwood.

some other optimizations included.

-thanks
[OnePlus 3 & 3T Cross Device Development] pratamaaudi:
Zram disabled again ?
[OnePlus 3 & 3T Cross Device Development] mady51:
yes temporarily
[OnePlus 3 & 3T Cross Device Development] mady51:
guys if on any rom if u get wled kinda issue, then pls disable using pocket mode and sensor app blockage features in ur roms
[OnePlus 3 & 3T Cross Device Development] Itachi_Uchiha:
Hey so it won't underclock the cpu to the minimum (while streaming) or it won't go into deep sleep?
[OnePlus 3 & 3T Cross Device Development] mady51:
what do u mean? if u r listening to music how will it go to deepsleep? if it goes to deepsleep then ur music app wont work. cpu freq varies based on the load, so when no load then cpu stays at min freq. however running music in bg consumes less power
[OnePlus 3 & 3T Cross Device Development] Itachi_Uchiha:
oh my bad, my music would randomly stop so i guessed the phone went into deep sleep :p
[OnePlus 3 & 3T Cross Device Development] mady51:
on latest build?
[OnePlus 3 & 3T Cross Device Development] amuzavali:
On 20 build
[OnePlus 3 & 3T Cross Device Development] hellcat50:
thank you for the update! unfortunately i am not able to test the new version currently. therefore i have a question (to you, mady51 or the community): is the matlog app working again?
[OnePlus 3 & 3T Cross Device Development] mady51:
yes on 21 build fixed it

---------- Post added at 10:28 PM ---------- Previous post was at 10:27 PM ----------

flash 21
[OnePlus 3 & 3T Cross Device Development] ryouta5:
Hi guys, I really want to use this kernel but whenever I try to use, my screen goes crazy because my screen got replaced with no OEM brand :(. Is there something I can do to fix it or there's a special version of MadKernel? Thanks a lot.

Ryouta​
[OnePlus 3 & 3T Cross Device Development] mady51:
actually its fixed long back and other users like u didnt have this issue
[OnePlus 3 & 3T Cross Device Development] ryouta5:
Yeah :(, I've just clean flashed and installed the v21 but again my screen went crazy. I've tested all roms with your kernel but had no success. That makes me angry because I've read a lot of positive feedbacks and I can't test it :p
[OnePlus 3 & 3T Cross Device Development] mady51:
what exactly is happening, show ss
[OnePlus 3 & 3T Cross Device Development] abhibnl:
Mady, so you have any plans to release your custom kernel for an oos release? Oos pie sources should be online any day and I've heard great things about your kernel.
[OnePlus 3 & 3T Cross Device Development] mady51:
itching that thought in my mind, lets see once sources r released
[OnePlus 3 & 3T Cross Device Development] saspo59:
Hi [MENTION=7072514]mady51[/MENTION]

Sorry to inform but got wled with v21,had to update like 15 apps from store and Suddenly get stuck following wled, don't have no pocket mod or anything else,

Love your work i think its the fastes kernel around,v14 was ok,v15,16 got wled,v19 was the best all ok run perfectly,

My device OnePlus 3t on Colt rom.
[OnePlus 3 & 3T Cross Device Development] mady51:
hmm nice, can u provide logs for it. also while u r updating 15 apps from ps caused this?
[OnePlus 3 & 3T Cross Device Development] saspo59:
Sorry didn't get log get direct to v19
[OnePlus 3 & 3T Cross Device Development] mady51:
v19 and v21 both r same except upstream.
[OnePlus 3 & 3T Cross Device Development] iAmWiz:
This kernel fixes the issue. I had screen wake up delays on non OEM Screen. [MENTION=7072514]mady51[/MENTION] fixed it.
[OnePlus 3 & 3T Cross Device Development] ryouta5:
Yeah, It's really awesome tbh, iAmWiz and i'm glad that you could fixed it by installing Mady's kernel.:D

Sadly, my case is... when I try to type, touch or the screen dispalys some images that needs to be refreshed, it "duplicates" some part of the graphics to the upper or in some cases, lower part of the screen as you can see from these images. Yesterday, discovered that even displaying the CPU graph on the main screen of ExKernelManager, does the flickering efect. :( I don't have the wakeup delay issue, though.

Thanks guys.

Ryouta.
[OnePlus 3 & 3T Cross Device Development] iAmWiz:
Screen flickering. I would suggest you try moving to stock OOS. It has full support for non OEM Screen, and there's Android Pie too ;)

Hope this helps.
[OnePlus 3 & 3T Cross Device Development] ryouta5:
Yeah...

Gonna miss features like Waklock and alarm blocker. :(

Thanks again for the feedbacks. :)

Ryouta.
[OnePlus 3 & 3T Cross Device Development] iAmWiz:
You're welcome
[OnePlus 3 & 3T Cross Device Development] abhibnl:
They are actually out now

https://github.com/OnePlusOSS/android_kernel_oneplus_msm8996/tree/oneplus/QC8996_P_9.0
[OnePlus 3 & 3T Cross Device Development] mady51:
update - MadKernel-Reborn-22.zip

changes -

superman speed with cheesy buttery smoothness

updated to latest f2fs

better cpu idle management

some thermal tweaks

enabled simple LMK (low memory killer)

ZRAM is back

many many optimizations, lazy to put here. check git

flash and enjoy
[OnePlus 3 & 3T Cross Device Development] abhibnl:
Don't be a tease and show some of that love for OOS Pie kernel too :P Pretty Pilich :silly:
[OnePlus 3 & 3T Cross Device Development] cokesucker:
I'm on RR Pie, had some heating issues and back camera screen showing all green, Madys kernel made this issue magically disappear :) thank you.

I'm using the kernel as is, don't even have a kernel manager installed. Being greedy, i was wondering if it's worth tinkering with the kernel values?
[OnePlus 3 & 3T Cross Device Development] pratamaaudi:
what is the benefit of simple lmk ?
[OnePlus 3 & 3T Cross Device Development] mady51:
if u want u can, but first use stock n see as i spent much effort to make it best with stock

---------- Post added at 02:14 AM ---------- Previous post was at 02:12 AM ----------

what we have observed is, when the RAM usage is heavy say like more than 3gb, then inbuild gc is building huge pressure and causing lags sometimes. by using this, the cleanup happening properly and that issue is gone during testing.

it also helps during heavy gaming.
[OnePlus 3 & 3T Cross Device Development] samsexy98:
Magisk is getting uninstalled automatically overnight.

Running Havocos with Madkernel reborn

Magisk version is latest 19.2 with manager being 7.2

Reflashed many times.. Same issue... It shows magisk installed after a flash but overnight the other day suddenly it says magisk not installed.
[OnePlus 3 & 3T Cross Device Development] mady51:
damn i didnt do any such kind of black magick man. am still using 18.1 magisk and its good for me. i have nothing to do with this issue
[OnePlus 3 & 3T Cross Device Development] shantam3108:
No such issue I am using the same rom and kernel combination.
[OnePlus 3 & 3T Cross Device Development] koolershaker:
:laugh::laugh::laugh: black magic, i feel your noob pain :laugh:
[OnePlus 3 & 3T Cross Device Development] samsexy98:
18.1?

I am using from v19...

Lemme check using older versions then.

Thanks
[OnePlus 3 & 3T Cross Device Development] tahercool1:
Can i use this kernel with oos 9.0.2?
[OnePlus 3 & 3T Cross Device Development] AnnoyingZlatan:
Many testers use kernel with magisk 19.2 without those kind of issues so it's something on your end.
[OnePlus 3 & 3T Cross Device Development] samsexy98:
I don't knw.

There is another weird thing with selinux. I don't kw if it's applicable here.

Selinux in settings show enforcing but when checking with some root checker app or similar shows it's set to permissive..

This all started after updating magisk.
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Final numbers for NOS, Mady X4. Haven't had numbers close to this since Zenity Nougat with Franco los kernel. And they weren't this good by far. Was about 4hrs on xda labs, about 1.5hrs BlueMail, 1.5hrs Telegram, 45mins chrome, rest less than 30mins each: plants vs zombies 2, substratum, instagram, snapchat, Twitter, material Facebook, magisk manager, etc. Weather, battery tools and others running in background the whole time, except, I'm assuming during deep sleep. I don't remember the last time I have gone without charging my phone at all halfway~end of day. I'll give your thread a rest today. Thanks for the kernel MrMady

I was having even better numbers with about 22% battery left and over 8hrs screen on, but something turned on battery saver, and it obviously conflicted. I'm pretty sure I could have hit 10hrs screen time otherwise. Look at the time left with just 5%battery ?
[OnePlus 3 & 3T Cross Device Development] Riddle5:
Can share your settings?
[OnePlus 3 & 3T Cross Device Development] @krishne35:
Where did [MENTION=7578917]SKULSHADY[/MENTION] came from ? OT

---------- Post added at 06:39 PM ---------- Previous post was at 06:37 PM ----------

Next time please do search
[OnePlus 3 & 3T Cross Device Development] gFknQ:
No. I've taken up enough of this thread. You can pm me and I may(or may not) give anyone a general idea. But I am no expert. Just found something that works very well for me
[OnePlus 3 & 3T Cross Device Development] SKULSHADY:
Nigga I'm famous:laugh:
[OnePlus 3 & 3T Cross Device Development] gFknQ:
infamous
[OnePlus 3 & 3T Cross Device Development] SKULSHADY:
Hehe
[OnePlus 3 & 3T Cross Device Development] xNAPx:
I installed this kernel on both RR rom and unleashed and I've experienced on both rom a really slow app opening time and on RR dash charging is not working, it says charging slowly
[OnePlus 3 & 3T Cross Device Development] Tzagor:
Oh, perfect. I'll wait for sultan's los 15.1 then :D
[OnePlus 3 & 3T Cross Device Development] mady51:
U can try other cpu governors which fits to u. Dash charging no issues
[OnePlus 3 & 3T Cross Device Development] xNAPx:
Wich governor do you suggest?
[OnePlus 3 & 3T Cross Device Development] mady51:
if u r using interactive now, try alucard with maple scheduler (best combo from our testing results).

If u still need more perf - try nightmare or darkness.
[OnePlus 3 & 3T Cross Device Development] xNAPx:
I'm using default settings, what kernel manager should I use to control and modify these entries?
[OnePlus 3 & 3T Cross Device Development] mady51:
anything like exkm or ka
[OnePlus 3 & 3T Cross Device Development] xNAPx:
I've heard a lot of people complaining that EXkernel Manager doesn't stick your edited entries
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Anybody wondering. EXKM did not stick for me. It seemed to cause conflicts even if I was using Adiutor and applied no settings in EXKM. The developer is aware. Read their thread. Franco manager worked very well for me with this kernel. You don't have to have Franco kernel to use his kernel manager
[OnePlus 3 & 3T Cross Device Development] xNAPx:
I'm using exkm and seems to stick with the tuneable, one thing I have noticed the little core is stuck on maximum frequency for both maximum and minimum frequency does it depends on spectrum set on performance?
[OnePlus 3 & 3T Cross Device Development] mady51:
Here instead of going to big cores, pushing mostly to small cores makes them goto max to save some battery. Thats expected behavior
[OnePlus 3 & 3T Cross Device Development] xNAPx:
Ah ok understood. I'm trying Alucard governor with maple as you suggested and things improved a bit but not too much, have you got any particular tuneable to change? For example the read ahead size
[OnePlus 3 & 3T Cross Device Development] dead0:
I've noticed the jump to max frequency on the small core is linked to msm_performance in sys/modules. Therefore does this make cpu_boost ineffective as no matter which frequency you set it, it will still jump to the highest frequency for the small cores? I do have a workaround by creating a script to limit the cpu_min_freq in msm_performance to the lowest frequency then setting r-r-r permission so cpu_boost can be utilised

echo 0:307200 1:307200 > /sys/module/msm_performance/parameters/cpu_min_freq

chmod 444 /sys/module/msm_performance/parameters/cpu_min_freq
[OnePlus 3 & 3T Cross Device Development] samsexy98:
Shifting to magisk 18.1 seems to have solved the issue. So far no black magic.
[OnePlus 3 & 3T Cross Device Development] mady51:
update - MadKernel-Reborn-23.zip

changes -

underclocked big cluster a little and balanced it with cpu-boost without effecting any performance

reduced wlan wakelocks duration drastically

add efficiency parameter for better scheduling

fix inconsistent mutex_lock

soc: qcom: secure_buffer memory leak fixes

serial: msm_serial_hs optimizations

UPSTREAM: mm/slab

disable some debug logs crap

some cpu idle related optimizations

added SMARTMAX_EPS as battery profile

updated spectrum profiles (not 100% though, need to check performance and gaming profiles)

lot many other things.....

-thanks
[OnePlus 3 & 3T Cross Device Development] bitubo:
yes i test it now :)

OnePlus 3 @ Tapatalk
[OnePlus 3 & 3T Cross Device Development] pinoholo:
Just curious, what version of klapse you added in this build?
[OnePlus 3 & 3T Cross Device Development] mady51:
4.3
[OnePlus 3 & 3T Cross Device Development] hellcat50:
gps is broken for me. doesn't fix onto any satellite. with the preinstalled kernel it worked

using havoc os (newest version)
[OnePlus 3 & 3T Cross Device Development] shantam3108:
GPS locking for me in havoc
[OnePlus 3 & 3T Cross Device Development] mady51:
how is gps related to kernel?
[OnePlus 3 & 3T Cross Device Development] bitubo:
for me gps working good

fast fix and kernel profile battery too

OnePlus 3 @ Tapatalk
[OnePlus 3 & 3T Cross Device Development] AyieStyx:
im using OP6 for couple of month now, seeing mady's continuous support makes me want to try them out now after works. still using my 3T for running macro on games. last kernel was 21 i think. was better than previous that time. idle and deep sleep was great too.

cant wait to try out the 23. although i had to take a break on my running macros. lol
[OnePlus 3 & 3T Cross Device Development] hellcat50:
idk, i'm just an average user who doesn't have such knowledge. i described my problem and i can't tell you why it's happening
[OnePlus 3 & 3T Cross Device Development] DanipunK1:
Updated to this version purely for the battery. At first the performance is not affected. We'll see after a couple of battery cycles.

Gps works fine n fast.

Thanks
[OnePlus 3 & 3T Cross Device Development] nico933:
I switched from 21 to 23 and gcam elaborating became really slow (tried with different spectrum profiles.

I've got another problem but I think is more rom releated (skydragon) we the phone boot up, in the tile i can see the right spectrum profile applied, but in reality is not applied, so I have to switch all the profiles in order to apply the right one, there is something that I can do?

Thanks
[OnePlus 3 & 3T Cross Device Development] mady51:
ok, may be try gpsfix app. i have nothing to do

---------- Post added at 02:25 PM ---------- Previous post was at 02:25 PM ----------

sure will look fwd for ur feedback

---------- Post added at 02:27 PM ---------- Previous post was at 02:25 PM ----------

no issues with gcam, may be clear its storage n see or try other gcam. and regarding spectrum profiles, i suspect if inbuilt rom profiles r messing but mostly that shouldn't be a problem
[OnePlus 3 & 3T Cross Device Development] ikunalgautam:
thankyou for this wonderful update. anyone using ex kernel manager on this kernel for battery and performance tweaks?
[OnePlus 3 & 3T Cross Device Development] mady51:
i use it. however its underclocked for battery. if u need performance then increase cpu boost
[OnePlus 3 & 3T Cross Device Development] ikunalgautam:
bro, can you share your setting ?
[OnePlus 3 & 3T Cross Device Development] mady51:
thats already in kernel default settings
[OnePlus 3 & 3T Cross Device Development] nico933:
I tried 3 different version of gcam but the problem still remain, very slow processing

Edit : a wipe of cache and dalvin cache from the recovery solved the problem
[OnePlus 3 & 3T Cross Device Development] DrUnknownEMC:
Share the apk/version so we can test it as well. Gcam is working fine for me.
[OnePlus 3 & 3T Cross Device Development] nico933:
I tried Arnova's 6.1 and lastet 6.2 and latest Tolyan009 6.1

I think that the problem was releated in Sam way to spectrum

I just tried to set battery profile and again very slow processing (but it's OK, it's battery profile!)

Switching to balanced the processing speed seems to be normal ( I'll make more test later)

Instead yesterday changing profile wasn't affecting the processing speed, maybe for some reason spectrum wasn't chwanfi) changing profile.. M or maybe there was a sum of problems
[OnePlus 3 & 3T Cross Device Development] mady51:
try clear cache in recovery and reflash the kernel and dont change anything and see if its working fine or not
[OnePlus 3 & 3T Cross Device Development] nico933:
As I said in the previous posts, clearing cache in recovery solved the problem :good:
[OnePlus 3 & 3T Cross Device Development] DanipunK1:
After several battery cycles I have to say that I have not noticed any difference in consumption.

Does anyone notice a considerable difference?

anyway in a 3-year-old phone I guess you can not do miracles.

Thanks again mady.
[OnePlus 3 & 3T Cross Device Development] Rawwrius:
Is it possible to add undervolting to the kernel ?
[OnePlus 3 & 3T Cross Device Development] mady51:
yes but u cant use ur device as little bit UV causes wled issue. so removed it

---------- Post added at 10:16 AM ---------- Previous post was at 10:15 AM ----------

hmm may be i agree tentatively
[OnePlus 3 & 3T Cross Device Development] Rawwrius:
Okay, good to know ?
[OnePlus 3 & 3T Cross Device Development] android extreme:
[MENTION=7072514]mady51[/MENTION] i came across a interesting commit (https://github.com/TwistedKernel/Tw...18ecced#diff-d310afb8b4bbb23aefeb8e9ce8ee7686) in poco f1 kernel thread regarding a "faster app opening" feature. The description say that is ported to 4.9 kernel used by sd845 platform.

Do you think would be possible to port this feature to your oneplus 3 kernel or the difference between 3.18 and 4.9 kernel will make the port impossible?

Obviously just asking
[OnePlus 3 & 3T Cross Device Development] mady51:
hmm ill check. mostly everyone uses cpu boost or inputboost to zygote process to max out freq when opening apps.
[OnePlus 3 & 3T Cross Device Development] android extreme:
From what i understand (much less compared to an actual developer) this should allow a better parallel execution of threads boosting the performance the more an app is threaded so it shouldn't generate more heat (a valid concern in summer)
[OnePlus 3 & 3T Cross Device Development] mady51:
i dont want to say something wrong as i haven't gone thru commit. but yes what u said is right which we already have. am boosting kthreads using cpuboost for better performance.

ill check that commit on monday n see
[OnePlus 3 & 3T Cross Device Development] Ressurected16:
My screen starts flickering but if I turn on disable HW overlays then the flickering stops.

What could be the problem. It only happens on this kernel.
[OnePlus 3 & 3T Cross Device Development] Viper The Ripper:
Hi [MENTION=7072514]mady51[/MENTION], thank you for your amazing work ;)

What do you think about kernel 4.x (github sources here), could it be possible for us too, improve our performace/battery life? ZUK2 (SD820 device) tried to release a 4.9 kernel version built in the latest AOSiP beta update.
[OnePlus 3 & 3T Cross Device Development] mady51:
ya i built it once but it didn't booted. after that didn't spent time on it. may be ill give it another try soon

---------- Post added at 12:18 AM ---------- Previous post was at 12:17 AM ----------

custom panel?
[OnePlus 3 & 3T Cross Device Development] mady51:
update - MadKernel-Reborn-24.zip

changes -

NFC fix for updated pie blobs. it may break if not, but for me its working fine though on colt.

brought back sultan thermal

some experimental tweaks (check git)

better caching

more butter smoothness

removed some wakeup sources

upstream genirq

upstream PCI/PM

lots of other optimizations.

flash and njoy.
[OnePlus 3 & 3T Cross Device Development] Ressurected16:
I'm not sure about the panel but I bought this phone second hand.
[OnePlus 3 & 3T Cross Device Development] mady51:
try disabling the force gpu render option n see
[OnePlus 3 & 3T Cross Device Development] twist3d0n3:
I couldn't find it listed anywhere, but does this kernel support sound level adjustment?
[OnePlus 3 & 3T Cross Device Development] mady51:
u mean this?
[OnePlus 3 & 3T Cross Device Development] twist3d0n3:
Yep, awesome - couldn't see it listed in the thread :)

Cheers going to give this a whizz :cool:
[OnePlus 3 & 3T Cross Device Development] abhibnl:
Mady, can you please list the commits required to implement and bring sultan thermal to a kernel that doesn't have it currently? I did find the latest 1 commit in the latest sources but I don't think that's the only one required to implement it.