yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] NickosD:
Ok so with x19 i have a soft reboot once or twice a day with stock kernel settings. Today, i had another, when it completed i couldn't connect to my wifi so i did a full reboot. Since then, the device is stuck at boot logo until it reboots into recovery after 5 mins. Stock kernel settings. With x18 i didnt had any issues
[OnePlus 3 & 3T Cross Device Development] cyan pac:
Do you have any hotplugs enabled?
[OnePlus 3 & 3T Cross Device Development] NickosD:
"stock kernel settings" = no
[OnePlus 3 & 3T Cross Device Development] mvlad:
Stock kernel can have hotplug enabled.
[OnePlus 3 & 3T Cross Device Development] mady51:
update time - MadysXtended-Kernel-X20.zip

changes -

1. upstream to v112

2. disabled host mode by default (this is for few users who are facing OTG wakelock issue).

3. Updated ZEN_DECISION hotplug to V2 (behavior of this hotplug changes now compared to earlier version).

4. Revampled Alucard hotplug to use Display state which is more efficient and removed the power shutdown from code.

5. Added TripNDroid Governor and Scheduler.

6. Mostly Wled issue should be fixed now due to hotplugs (not 100% sure though).

7. under the hood lots of changes.

As usual, pls do flash and njoy and report feedback pls.

-thanks
[OnePlus 3 & 3T Cross Device Development] deepakdavidster@gmail.com:
Will try surely
[OnePlus 3 & 3T Cross Device Development] deepakdavidster@gmail.com:
Tried the kernel upon Havoc, so far no issues are found

Governor set to interactive

Hot plug disabled

There is a good balance between performance and efficiency
[OnePlus 3 & 3T Cross Device Development] abhaykelkar:
Hi.. What are the exact steps to update/install/flash the kernel? This is my first time with any kernel flashing. Tried searching through this thread for the steps but no luck.

Thank you.
[OnePlus 3 & 3T Cross Device Development] mk_1996:
Just download the kernel and flash it like you like you flash a rom. But dont wipe anything. For updating the kernel you can use the same procedure. Make sure you're using the kernel with a compatible ROM(android 8.1 only and not 8.0)
[OnePlus 3 & 3T Cross Device Development] The.Scram:
Wiping cache&dalvic would be recommended
[OnePlus 3 & 3T Cross Device Development] mady51:
Not required
[OnePlus 3 & 3T Cross Device Development] The.Scram:
Ah, interesting...:good:
[OnePlus 3 & 3T Cross Device Development] ianthemojo:
After some testing, I'm back with some results.

I'm currently on Nitrogen OS with Mady's Extended Kernel on my OP3. I have been testing this combo for a few weeks, with different Kernel settings, and I'm quite happy with what I've got now. For sure the most stable and best experience I have had on Oreo.

Keep in mind that my priority is having the smoothest UI as possible (the least amount of dropped frames) while still having a decent battery.

I can easily get 6 - 7 hours of SoT if I don't listen to music on my commute to work. If I do I get about 5 - 6 hours of SoT with about 2 hours of Apple Music running on the background. And these numbers are always with some light gaming in the middle of the day. If I didn't game I think I could reach 8h SoT, since the active drain before I open any games is usually around 12% to 13% per hour. I'm normally losing 4% to 5% over night with WiFi and GPS turned on, so idle drain is quite good as well, around 0.4% per hour over night, and 1.5% per hour at the end of the day after a lot of music and LTE always on.

My usage is normally social and messaging apps, with 1 - 2 hours of Youtube, apart from some light or heavy games I might play.

I am using EX Kernel Manager to apply some settings which are allowing me to get these stats, and for battery monitoring also.

Kernel Settings:

Interactive Governor with GhostPepper V2 profile enabled (this AKT profile comes preloaded with EXKM, and I find the UI to be smoother than without it. Also known to be battery friendly);

Max CPU Freq Little - 1478MHz;

Max CPU Freq BIG - 1824MHz;

Both CPU Mins - 307MHz;

(This Underclock is the same one SultanXDA uses in his Kernel for the OP3)

Hotplugging and Touchboost disabled;

CFQ I/O Scheduler and 128kb Readahead;

MSM-Adreno-TZ GPU Governor and 624MHz Max Freq.

Maple sched was draining my battery like crazy when on idle, and any other CPU gov would not give me the smoothness I was looking for.

Changing the GPU gov to cpufreq was making the UI feel a bit smoother, but the GPU was always ramping up to max freq upon input detection, making the battery drain faster, and the smoothness was not world's in difference so I don't think it's worth it.

About what Firmware to flash. I was reading on the NOS Forum that some people were having drain issues with latest OB versions and were reverting back to earlier versions where they would get better battery stats. I did all my testing with OB31 Firmware which is the version they recommend (or OB22 on the 3T).

And that is it. Scrolling and operating the UI is really smooth, battery is great and it only really heats up when playing heavy games but that I would consider normal. Really stable ROM, and Mady did a great job on his Kernel keeping things really smooth and battery friendly.

Many thanks to mady51 for making this good of a Kernel. My number 1 choice.

I would post some screenshots but lately I have been doing some heavy gaming and I'm only getting around 4h of SoT.

Hope I could help :)
[OnePlus 3 & 3T Cross Device Development] realtobman:
Hey I nicked your settings and use them on my op3t, with havoc rom and Madys kernel. So you have an idea what the MAX Cpu frequencies for the op3t should be?
[OnePlus 3 & 3T Cross Device Development] ianthemojo:
Really don't know mate. I'm guessing you could try the same settings as mine since it's basically the same chip.
[OnePlus 3 & 3T Cross Device Development] surya1_:
Can I flash this kernel on stock oxygen os 8.0.? And which kernel app should I use to tweak the settings for the legendary battery life ???? Pls let me know nd thank you
[OnePlus 3 & 3T Cross Device Development] mady51:
This is a custom kernel. It wont work on OOS
[OnePlus 3 & 3T Cross Device Development] surya1_:
Check the above comment he suggested to work with oxygen os I'm on 8.0.0

---------- Post added at 12:25 PM ---------- Previous post was at 12:19 PM ----------

Are u sure can I use this kernel on my one plus 3t with latest oxygen os 8.0.0 some only told it won't work read the above comment and confirm me I ll try this kernel and please suggest step by step instructions to tweak the kernel for best battery life I play pubg game nd clash royal

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

Are u sure can I use this kernel on my one plus 3t with latest oxygen os 8.0.0 some only told it won't work read the above comment and confirm me I ll try this kernel and please suggest step by step instructions to tweak the kernel for best battery life I play pubg game nd clash royal
[OnePlus 3 & 3T Cross Device Development] mk_1996:
Lol [MENTION=7072514]mady51[/MENTION] is the developer of this kernel. So he knows where it should work. If he says it won't work,it won't work. If the kernel would've been compatible with oos,it would've been mentioned in the OP
[OnePlus 3 & 3T Cross Device Development] surya1_:
K thank you waste of time for me
[OnePlus 3 & 3T Cross Device Development] mk_1996:
Waste of time? How about read the F'N OP for christ's sake. Be thankful that we saved your sorry ass from flashing an incompatible kernel. Otherwise you would've bricked your device without no backup and then you would be crying here. Smdh. People have no respect here.
[OnePlus 3 & 3T Cross Device Development] ianthemojo:
Chill guys, come on.

This Kernel won't work with OxygenOS. It's in the first post.

Also, if you don't know what you are doing, don't mess with the Kernel Settings. If, however, you want to learn, so you won't f*ck things up, there's a lot of guides on the interwebs explaining what everything does. Just search away and you'll find everything you need.

Don't just change stuff when you're not sure what it does. You will brick your device and/or make it unusable.
[OnePlus 3 & 3T Cross Device Development] mady51:
Thankyou [MENTION=677193]billg[/MENTION]oss for ur kind support.
[OnePlus 3 & 3T Cross Device Development] jmadiaga:
is there a changelog for the latest (20) version. thanks.
[OnePlus 3 & 3T Cross Device Development] deepakdavidster@gmail.com:
Yes please check the previous messages
[OnePlus 3 & 3T Cross Device Development] efattal:
Thanks [MENTION=7072514]mady51[/MENTION] for your hard work. Unfortunately, X20 still has the torch issue with RR. I hope you'll be able to fix it.
[OnePlus 3 & 3T Cross Device Development] urgali:
I'm on last Rr with latest mady and got no issues at all, dirty flash here.
[OnePlus 3 & 3T Cross Device Development] Jigneshg:
I am currently using omnirom can I just flash this kernel and forget with stock settings [MENTION=7072514]mady51[/MENTION]
[OnePlus 3 & 3T Cross Device Development] :
Yes, working fine ;)
[OnePlus 3 & 3T Cross Device Development] murti52:
Try rebooting and see if it works.. for me.. sometime it works, then after a reboot.. it doesn't..
[OnePlus 3 & 3T Cross Device Development] Hw4ng3r:
Was also present in LOS 15.1 nightly (20180528) with X20. I'm on OP3 with OB31 firmware and modem.
[OnePlus 3 & 3T Cross Device Development] urgali:
Actually, it always works. I'm even using magisk + microg + xposed, so I'm actually doing everything out there that is considered to bring every sort of issues, but torch still works.
[OnePlus 3 & 3T Cross Device Development] DrUnknownEMC:
Same here, working on both unroot and magisk+xposed devices.
[OnePlus 3 & 3T Cross Device Development] murti52:
Same here.. but not the micro g.. only the open gapps.. and the strange thing is i always clean flash. So don't know why the issue is there.
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Mady's X20 with Bootleggers
[OnePlus 3 & 3T Cross Device Development] matti05:
Firmware, gapps?

I would like to have a half of that.
[OnePlus 3 & 3T Cross Device Development] gFknQ:
OpenBeta28 with GZR gapps nano
[OnePlus 3 & 3T Cross Device Development] alvinckck:
is this kernel compatible with OOS based rom? thanks in advance.
[OnePlus 3 & 3T Cross Device Development] Gauraav:
No...
[OnePlus 3 & 3T Cross Device Development] ATP4:
No.
[OnePlus 3 & 3T Cross Device Development] mady51:
Update time - MadysXtended-X21.zip

changes -

just optimizations and spectrum profile updates for better perf and battery. You can feel the change haha.

Updated alucard hotplug to stay with min 2 cores (little clusters) online to prevent WLED issue for some specific users.

Please do flash and enjoy and report feedback.

-thanks
[OnePlus 3 & 3T Cross Device Development] twist3d0n3:
Something seems broken with backlight dimmer with x21 - it makes the screen incredibly dim, but it's fine with it disabled (after locking/unlocking)
[OnePlus 3 & 3T Cross Device Development] mady51:
Yup there is a little change happend. Backlight dimmer calculations r made simple in code for betterment. U can check the git for better understanding. Just confirm if its working or not so that i will revert it as my testers didnt report any such issue
[OnePlus 3 & 3T Cross Device Development] twist3d0n3:
Strange. I'm on RR, screen is fine until exkm settings load and I can suddenly barely see anything. It also doesn't respond to brightness slider.
[OnePlus 3 & 3T Cross Device Development] mady51:
Just remove exkm and see. Also what settings u have in exkm can u share i will look into the issue
[OnePlus 3 & 3T Cross Device Development] Mulayan:
Hi, short question. Does this look normal to you guys? I'm kinda confused about Kernel and Android System being on top of the list.
[OnePlus 3 & 3T Cross Device Development] mvalda01:
Mady's x21 on latest Omni, brightness bar doesn't work and the display is merely visible. I have exkm installed as well, but don't want to remove it.
[OnePlus 3 & 3T Cross Device Development] twist3d0n3:
Here you go.

I'm with the other guy who says he doesn't want to remove exkm tho, it's too useful for me.
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Backlight dimmer enabled is issues, yes [MENTION=7072514]mady51[/MENTION]. But is irrelevant to exkm. Any kernel manager if dimmer is enabled has same result
[OnePlus 3 & 3T Cross Device Development] Mulayan:
I use Kernel Adiutor, have backlight dimmer disabled and i'm not facing any issues at all ;) Maybe disable it for now and turn down the brightness?
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Yes, it is fine disabled using any kernel manager and not fine enabled. My point was that it has nothing to do with exkm
[OnePlus 3 & 3T Cross Device Development] xNAPx:
I have an issue with Tapatalk, when I use it frequencies for big cluster ger stuck at max after a while I use it if I only change app without killikg it, big cluster get back to normal but little cluster runs at max
[OnePlus 3 & 3T Cross Device Development] deepakdavidster@gmail.com:
Me too have the same issue
[OnePlus 3 & 3T Cross Device Development] mady51:
Ok guys, i dont see any issues with backlight dimmer as well. I dont remember how it was in previous build. I will revert that change and will give new kernel in few hrs. Keep watching
[OnePlus 3 & 3T Cross Device Development] ianthemojo:
Am I the only one not having any issues with the latest build? Everything seems to be working fine in my end [MENTION=7072514]mady51[/MENTION], UI is even more responsive and fluid than it has ever been. Thank you for your work!
[OnePlus 3 & 3T Cross Device Development] BillGoss:
Yes, I'm getting the same result:

1. While in Tapatalk, big cluster on max.

2. Switch to another app, small on max, big on min.

3. Swipe Tapatalk out of Recents, small cluster back to min.

I was wondering why I was getting unusual battery drain some times. Thanks for pointing this out.View attachment 4523492View attachment 4523493View attachment 4523494
[OnePlus 3 & 3T Cross Device Development] ATP4:
On the latest build RR6 I also encounter a new problem with the brightness bar. I also use EXkm, and there was an update yesterday or the day before yesterday.
[OnePlus 3 & 3T Cross Device Development] mady51:
Update - MadysXtended-Kernel-X22.zip

changes - reverted the backlight dimmer change and now its working fine.

-thanks

---------- Post added at 07:20 AM ---------- Previous post was at 07:05 AM ----------

I see u have disabled dimmer. how come u still have the issue? I don't see any point here. Remove exkm means, my intention was not that to be used, but to identify if the app is messing up with dimmer to just ensure what the issue is. However, flash the latest kernel and pls do let me know.
[OnePlus 3 & 3T Cross Device Development] OSheden:
First time trying this kernel.

I'm on AEX v5.6 and I got a bootloop with Mady x20.

It seems that AEX users used Mady on previous releases though... Any other feedbacks? Cheers!
[OnePlus 3 & 3T Cross Device Development] mvalda01:
Working fine now on latest Omni, thank you.
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Backlight fine now. Thanks [MENTION=7072514]mady51[/MENTION]. I have something new that says state notifier disabled. Not really sure what that is or if I need /want it enabled, but it doesn't enable when I tap it. Enlighten me please sir?
[OnePlus 3 & 3T Cross Device Development] mady51:
I dont know if i can post this ss here, but this will help users understand what the previous backlight dimmer was actually and y u all considered as a bug.
[OnePlus 3 & 3T Cross Device Development] mady51:
Aah nice finding. Actually i added it n forgot lol.

State notifier is just an information which indicates like like system/process resume or suspend or shutdown like that. So lets say u have enabled any hotplug, and when u turn off ur screen then cores needs to be off right. So screen off is a state which will let the hotplug know with this state notifier and similarly for resume as well.

There r other ways as well, but i liked these diff states of communication.

Honestly i dont know why its not working as i didnt tested it because i forgot due to some heavy ofc work.

I will try to fix that soon.

And thanks for pointing that.
[OnePlus 3 & 3T Cross Device Development] twist3d0n3:
That's a shame it works like that imo - I left it on constantly and found it brought the brightness down sufficiently at night so I didn't melt my eyes. I can see this implementation being useful tho if there was, say, a quick setting toggle, but too much of a faff going into a kernel manager app each time you wanted it toggled.
[OnePlus 3 & 3T Cross Device Development] gFknQ:
I agree. Without backlight dimmer adjustable, even brightness at 1% hurt my eyes at night or in morning. With backlight dimmer adjustable, I can set my brightness to 1-11% and it's perfect. When I need more light, 44% is plenty (I have OCD with numbers)
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Sht Mady, your kernel is already takes the cake with icing on top. Now you adding sprinkles! Great work again, as usual
[OnePlus 3 & 3T Cross Device Development] mady51:
Haha dont stress much on that. Njoy with new kernel.
[OnePlus 3 & 3T Cross Device Development] xNAPx:
Is it kernerl fault or app fault? By the way I uninstalled tapatalk and now using XDA labs (i was using tapatalk only for xda and another forum, I will follow on the browser)
[OnePlus 3 & 3T Cross Device Development] gFknQ:
There is an awesome app in playstore that you can add qs tiles and dev is really nice guy. You can click qs tile and choose from three different brightness options that you can set yourself. Just look up "tiles" in playstore... Tons of options https://play.google.com/store/apps/details?id=com.rascarlo.quick.settings.tiles
[OnePlus 3 & 3T Cross Device Development] Pablo.x:
Try dirty flashing the rom before flashing kernel :)
[OnePlus 3 & 3T Cross Device Development] Hw4ng3r:
Torch not functioning for me on X22; just bad luck with me?

Currently running Official LOS15.1-20180606-nightly on OP3; OB37 Firmware + Modem; Magisk V16.0; no xposed.

Torch works with stock LOS kernel, Franco r40, ElementalX 4.12-los, Caesium GalacticGuava_r2.

Will try testing on a clean flash of LOS when I get a chance.
[OnePlus 3 & 3T Cross Device Development] dinesh2695:
Yes for me also torch is not working.

On X20 it was working fine. I don't know what happened there:rolleyes:
[OnePlus 3 & 3T Cross Device Development] twist3d0n3:
Works fine for me with the same setup bar having RR instead of los
[OnePlus 3 & 3T Cross Device Development] BillGoss:
It's a problem with Tapatalk, not the kernel. I went back to the stock kernel (NOS 180531) and I get the same behaviour.

I've recently switched from XDA Labs to Tapatalk because I can't bear the long delays in loading threads.

I apologize for the off topic post.
[OnePlus 3 & 3T Cross Device Development] Pablo.x:
Try rebooting, worked for me when I had that problem on X20
[OnePlus 3 & 3T Cross Device Development] plukanin:
hello, dev!

What's about usb on the go feature?

Does your kernel support that?

Thanks in advance:cowboy:
[OnePlus 3 & 3T Cross Device Development] @krishne35:
Little exfoliation about it will be helpful
[OnePlus 3 & 3T Cross Device Development] Abhi8897669398:
Yes bro , that issues is fixed in latest x22

I am also on RR ROM
[OnePlus 3 & 3T Cross Device Development] xNAPx:
I did the opposite lol... Very true xda labs is slower but without issues
[OnePlus 3 & 3T Cross Device Development] plukanin:
for hdd, wired mouse, ect. ...usb host...:cowboy:
[OnePlus 3 & 3T Cross Device Development] akhilashokk:
Do anyone know what is causing this issue? I'm on x20. My phone froze to death with white LED on. This is the third time this is happening after flashing this new kernel.

PFB my EX-Kernel settings. Previously I was on a previous version of Maddy's Kernel and everything was fine.
[OnePlus 3 & 3T Cross Device Development] mady51:
Update to latest version. Issue is fixed
[OnePlus 3 & 3T Cross Device Development] dinesh2695:
Did restart and clear cache from recovery but still torch does not work.

Reverted back to X20 now everything is fine.

I'm on latest Nitrogen OS build.
[OnePlus 3 & 3T Cross Device Development] Mersine:
How do I get MTP to work? I went to developer options--USB--select default USB configuration--MTP. My computers do not recognize my phone.
[OnePlus 3 & 3T Cross Device Development] Agares69:
I'm also on latest Nitrogen with 3T, torch is working with X22 also was with X20. Before that no idea, using the kernel since X20.
[OnePlus 3 & 3T Cross Device Development] twist3d0n3:
Nope, happened to me on X22 during the night - currently late for work!
[OnePlus 3 & 3T Cross Device Development] OSheden:
I did it and my phone boots once.

As soon as I reboot I have a bootloop...
[OnePlus 3 & 3T Cross Device Development] rippledrums:
Can confirm X22 working fine on Omni, no issues whatsoever.

I think most of the issues reported by people happen in Lineage based ROMs but I'm not sure.

Anyway, good work as always [MENTION=7072514]mady51[/MENTION]. :good:
[OnePlus 3 & 3T Cross Device Development] gFknQ:
X22 amazing on Bootleggers Mady. Torch works fine, no reboots...it's all good!
[OnePlus 3 & 3T Cross Device Development] mady51:
Wierd. I used alucard hotplug myself for a day and no issues observed. Could be possible anything heavy application running in bg that requires big clusters? might cause
[OnePlus 3 & 3T Cross Device Development] twist3d0n3:
Not that I'm aware of as i have a lot of apps greenified and battery optimisation is enabled for 95% of apps. I'm going to test it some more and see what happens. I'll also be setting my alarm on my tablet just in case as well!
[OnePlus 3 & 3T Cross Device Development] shantam3108:
Mady is it possible to offline one core from little and one from big cluster instead of offlining entire cluster . I am using custom tunables and they get lost everytime big core goes offline thanks .
[OnePlus 3 & 3T Cross Device Development] Hw4ng3r:
+1

Seems to be LOS related. Tried flashing X22 on clean flash of LOS15.1 and still no torch for me.

UPDATE: had to restart after installing a couple of Magisk modules and torch is now working. Will keep an eye on it to see if it decides to disable it self again in the future.
[OnePlus 3 & 3T Cross Device Development] gFknQ:
For me, this kernel is gold. 31 hrs since charge, and 20% left. Screen on 7hrs.
[OnePlus 3 & 3T Cross Device Development] androidinme:
I know You won't believe me but my 1+3 get very hot in the morning. This is happening with x20 21 22 but these 3 version giving better battery backup as compared to other Xtended kernel version
[OnePlus 3 & 3T Cross Device Development] tanay67:
which rom is best for SOT with X22?
[OnePlus 3 & 3T Cross Device Development] mady51:
Very hot in morning? Could be ur device is in full swing lol and i will believe u. Now tell me What u want me to do
[OnePlus 3 & 3T Cross Device Development] ivar418:
Looks like its working on pixelexperience rom for oneplus 3
[OnePlus 3 & 3T Cross Device Development] mady51:
Its mostly ur apps n usage depends. I feel all roms r good enough though
[OnePlus 3 & 3T Cross Device Development] androidinme:
HhhhhmmmmmmNnnmm. Fix it!!! Stop using cesium kernel code...idk do something....

I usually turn on airplane mode before going to sleep to save some battery . Today my father turned off my phone's alarm and when I woke up he said "Were you using your mobile all night? "........ My phone get very hot This never happened before. since morning many things have happened to me...... Just because of your kernel ..... FIX IT ! BTW my phone never do wierd reboots since I have been using Xtended kernel??
[OnePlus 3 & 3T Cross Device Development] Kartike:
WTF!!
[OnePlus 3 & 3T Cross Device Development] mady51:
Chill dude. Disrespectful to devs whoever is bad. And i can understand ur pain. But u r the first to report this issue. Also what info u provided for me to help u out? U tell me how can i fix without any info eventhough others dont have issue.

And there is no such code that belongs to a person. Its open world and everyone contributes or uses in some or other way and finally its linux.

U can join the tg grp so ppl can help u out