yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] mady51:
update time - Mad-Kernel-X43.zip

changes -

some performance and battery optimizations with better smoothness. u can check the git for more changes.

-thanks
[OnePlus 3 & 3T Cross Device Development] jamescable:
I would love to be able to block more wakwlocks as with nougat kernels.....like bluetooth wakelock, etc...when I was on nougat, I could block a lot of wakelocks in a kernel app, now, I can't
[OnePlus 3 & 3T Cross Device Development] mady51:
Did u check the wakelocks section in exkm ?
[OnePlus 3 & 3T Cross Device Development] jamescable:
Yes, only like....4-5 options on wakwlocks....on nougat, I had around 15 options....and no, I didn't even fins the wakwlocls I was looking for using advanced wakwlock control in exkm
[OnePlus 3 & 3T Cross Device Development] qasimtb:
Well check this. Thanks
[OnePlus 3 & 3T Cross Device Development] rippledrums:
Ok, here are the logs. Took them with Caesium, then Stock kernel and then yours, version x42.

I don't notice any app or system function misbehaving, but I find those crashes weird and don't know if that's an important binary or not.

I noticed it while cleaning with SD Maid and also in MatLog.

Also have the same issue that was stated before, frequencies can't be set beyond 1.59 for little and 2.15 for big cores, on a 3T which should be 2.18 and 2.34 respectively.

EDIT: Forgot to attach the logs... :eek:

Having trouble uploading the zips for some reason but you can get them here:

https://drive.google.com/folderview?id=1Pl4oF0BcbGXeU4Pd7sOxGp_sCZxe0E4X
[OnePlus 3 & 3T Cross Device Development] mady51:
Thanks for logs. Regarding freq i have hardcoded them thats the reason u cant change them
[OnePlus 3 & 3T Cross Device Development] IonutGherman:
On HavocOS, when I install the kernel says that Android 9 is not supported...
[OnePlus 3 & 3T Cross Device Development] mady51:
Ignore that **** msg. It works
[OnePlus 3 & 3T Cross Device Development] IonutGherman:
I know it works. I'm just saying that this message appears :)
[OnePlus 3 & 3T Cross Device Development] DrUnknownEMC:
If you already know, don't you think dev knows? Please search before posting.
[OnePlus 3 & 3T Cross Device Development] Itachi_Uchiha:
Spectrum not working
[OnePlus 3 & 3T Cross Device Development] IonutGherman:
I didn't asked your opinion. I just said that message appears. I don't know why you need to be rude. Some people shouldn't be on this forum, really...
[OnePlus 3 & 3T Cross Device Development] kamilmirza:
like yourself, really...
[OnePlus 3 & 3T Cross Device Development] mady51:
Oh ya missed that. Fixed for next build. Thanks
[OnePlus 3 & 3T Cross Device Development] immi803:
[MENTION=7072514]mady51[/MENTION]

I tried your kernel first time and i must say I'm impressed, after initial settling when cores gone to rest after first boot , it has been performing outstanding, with normal usage battery feels super strong with NOS on board, no heating, super job:good:

One noob question, advise a good way to calibrate battery?
[OnePlus 3 & 3T Cross Device Development] Babloo289:
U can use any root battery ? calibration app.
[OnePlus 3 & 3T Cross Device Development] DanipunK1:
Hi, yesterday i updated the kernel to x43, and this morning i had a wled.
[OnePlus 3 & 3T Cross Device Development] mk_1996:
And thank you for the logs
[OnePlus 3 & 3T Cross Device Development] DanipunK1:
I've passed them to the developer in the telegram group but they have a strange format and he could not read them
[OnePlus 3 & 3T Cross Device Development] immi803:
[MENTION=5992364]Babloo289[/MENTION]

I tried to install Gcam modded apk which always used to work fine, it's lagging badly

Initially i thought it's not the kernel issue, than afterwards got to know it's kernel issue, dirty flashed NOS to get stock kernel with NOS, it started to work fine, than tried another custom kernel, gcam worked fine, please look into this? :confused:
[OnePlus 3 & 3T Cross Device Development] The.Scram:
Feels like battery consumption is worse on 43 than on 42. Of course it's very smooth but 42 was smooth enough for me at least.
[OnePlus 3 & 3T Cross Device Development] aboodyaiman:
+1

It's due to all cores went to the lowest freq 307mhz causing the GCam to lag, couldn't find anything related in the logs tho.
[OnePlus 3 & 3T Cross Device Development] mady51:
Update time - Mad-Kernel-X44.zip

changes -

caf updates

Spectrum is back.

Added darkness and nightmare governors.

under the hood optimizations.

-thanks
[OnePlus 3 & 3T Cross Device Development] immi803:
It solved Gcam problem on NOS

:D

Thanks
[OnePlus 3 & 3T Cross Device Development] bitubo:
Hi

This version is in the last rom 5.5 ?

OnePlus 3 @ Tapatalk
[OnePlus 3 & 3T Cross Device Development] The.Scram:
Yes, it is
[OnePlus 3 & 3T Cross Device Development] amuzavali:
an overclocked version it's possible please?
[OnePlus 3 & 3T Cross Device Development] lawwd_have_merci:
does this have external USB dac drivers baked into it?
[OnePlus 3 & 3T Cross Device Development] Scorer15:
I lost root after 1 day on this kernel wtf
[OnePlus 3 & 3T Cross Device Development] mady51:
Will see

---------- Post added at 11:59 PM ---------- Previous post was at 11:59 PM ----------

Whats that for?

---------- Post added 4th November 2018 at 12:00 AM ---------- Previous post was 3rd November 2018 at 11:59 PM ----------

Thank god u survived for 1 day with root.
[OnePlus 3 & 3T Cross Device Development] mjemec:
When charging it doesn't work the first time I plug in the cable. I need to unplug it and plug it back.
[OnePlus 3 & 3T Cross Device Development] mady51:
Comeon guys, dont point all stupid issues to kernel which has nothing to do. If there is really any issue, i would have known it as am also using it.
[OnePlus 3 & 3T Cross Device Development] mjemec:
I mean, it isn't a small issue. I woke up to a nearly empty phone since I though it's charging and it wasn't. Luckily we have Dash charge.

I'll try deleting kernel manager an see if that fixes it.
[OnePlus 3 & 3T Cross Device Development] DrUnknownEMC:
You sure you didn't fully plug it in? Are you a able to reproduce this issue? Because I can't. If not a issues if it happens once, and you can't reproduce it.
[OnePlus 3 & 3T Cross Device Development] mjemec:
It was fully plugged in. Even the charging notification was on. It happend 2 nights in a row.
[OnePlus 3 & 3T Cross Device Development] amuzavali:
the best kernels for my phone were overclocked : xceed, elemental x and yours 26
[OnePlus 3 & 3T Cross Device Development] DrUnknownEMC:
Flash a different kernel and see if hardware issue or kernel.... This never happen to anyone else but you.
[OnePlus 3 & 3T Cross Device Development] mady51:
done added for next build
[OnePlus 3 & 3T Cross Device Development] mjemec:
Never had an issue with stock kernel in Havoc OS 2.0 (HDK). I'll try clean flash and flash x44 again to see if that fixes it. It happened again this night, btw. Plugged and saw it charging, went to sleep and when I woke up hours later it was stuck on 34% and charging LED was off. It's strange, never had this issue ever, that's why I'm reporting it. And I'm not sure it would show up on logs.
[OnePlus 3 & 3T Cross Device Development] DrUnknownEMC:
To me sounds like a hardware issue as you have experience from two different kernels. You might want to change a cable or your phone port is damaged.
[OnePlus 3 & 3T Cross Device Development] matrixino:
Why if try to install x44 on NOS it says unsupported Android version and stops? Last working is x42
[OnePlus 3 & 3T Cross Device Development] EViollet:
Actually I had similar issues with the latest version of this kernel. And I think it's linked to thermal throttling.

I believe I read somewhere on this thread that Mady had lowered the CPU temperature limits on the latest versions.

And I can clearly see this whenever I'm using my phone while charging. The temperature rises quickly and the phone just powers off. When this happens, the phone also won't charge anymore.

I once found my phone totally empty once morning because of this. After plugging the cable back in, the phone started charging again.

Also, this may be a false impression, but is it possible that charging is disabled if the temperature is considered to be too high? If this is the case, then there is an issue when the temperature goes down enough to resume charging because charging does not resume.

Hope this helps. (Sorry no logs, I know, I'm a bad person... ?)

Regards
[OnePlus 3 & 3T Cross Device Development] mady51:
Honestly even I use mobile while charging. And i know its not a good practice to use mobile while charging. When ur device is charging there will be some settings applied in the bg to give high priority to charging. And also as its a dash charging need to remember. So if u use ur device while charging priorities will effect and increased temperature is observed because it has to dash charge and at the same time it has to run the apps in foreground. So to avoid ur device to explode thermals will make u to not use ur device.

Also i havent added any ramdisk changes in kernel. So each rom will have their own ramdisk changes. So to comply with those changes, i removed kernel ramdisk changes. So it depends on ur rom as well that what settings in ramdisk is being used when charge is on.

My suggestion, never use any phone while charging.
[OnePlus 3 & 3T Cross Device Development] EViollet:
Thanks for the update. I'm using MSM Extended which comes bundled with the latest Madys kernel, so I guess the ramdisk was OK. I had never flashed any other kernel on this ROM.

What surprises me is that I didn't have this behaviour before. My phone switches off even if I use it in the car with GPS while charging (which, incidentally isn't dash charge). I've had cases of the phone switching off whether I'm using the dash charge or not.

Now, bear in mind that I have a 3 year old OnePlus 3. So maybe it's ageing a bit as well. Perhaps all this is normal given the age of my phone, I don't know, but it really seems to me that something has changed in the last versions of the kernel.

Regards
[OnePlus 3 & 3T Cross Device Development] mk_1996:
i have a op3 too and that's also 3yrs old. that not at all normal. sounds like you're facing random reboots. post the console rampoomps log here.
[OnePlus 3 & 3T Cross Device Development] EViollet:
Hi.

I don't think so. These aren't random reboots. The phone is being powered off, not restarted. A log would have probably shown why this is happening. But unfortunately when it happens while I'm driving, I can't just grab a log file. I tried several governors. Nightmare seemed to be the most problematic. Alucard was quite stable but the phone was still heating up while connected to a charger.

When I have some time, if it helps, I'll try to grab a kernel log.

Regards
[OnePlus 3 & 3T Cross Device Development] mady51:
Come to tg grp
[OnePlus 3 & 3T Cross Device Development] mady51:
friday time - Mad-Kernel-X45.zip

changes -

fixed script saying un-supported crap while flashing.

Overclocked option (someone requested it)

Removed min and max freq hardcode, now users can change their min and max cpu freq

disabled some warning or trace logs which are unnecessary

added some flags for optimization

under the hood many more optimizations, check git.

-thanks
[OnePlus 3 & 3T Cross Device Development] amuzavali:
No owerclok for me and it's impossible to change max frequency :(
[OnePlus 3 & 3T Cross Device Development] mady51:
Not possible, i added it and using it. Can u show ss in ka?
[OnePlus 3 & 3T Cross Device Development] amuzavali:
How to send screen record?
[OnePlus 3 & 3T Cross Device Development] jujak82:
Works great for me v45, for now.

Thx for this update
[OnePlus 3 & 3T Cross Device Development] amuzavali:
This
[OnePlus 3 & 3T Cross Device Development] amuzavali:
And this
[OnePlus 3 & 3T Cross Device Development] mady51:
Can u reflash the kernel and see. And before that remove kernel apps and clear cache. I think its only occuring to u, which rom u r on?
[OnePlus 3 & 3T Cross Device Development] amuzavali:
Done already but I will try again. With this test version works
[OnePlus 3 & 3T Cross Device Development] mady51:
What test version?
[OnePlus 3 & 3T Cross Device Development] amuzavali:
Not working sorry :( x26, x27
[OnePlus 3 & 3T Cross Device Development] damiensturdy:
I'm afraid I was unable to flash this on Havoc OS 2.0. I get the unsupported crap message! XD
[OnePlus 3 & 3T Cross Device Development] Pseudonym:
Same to me. Max is 2342 and 2188
[OnePlus 3 & 3T Cross Device Development] mady51:
It will flash dont worry. But how come u get that msg when others n me not getting. Can u try flash again and take ss and share it
[OnePlus 3 & 3T Cross Device Development] parag60288:
Try clearing cache via twrp.
[OnePlus 3 & 3T Cross Device Development] Pseudonym:
Same
[OnePlus 3 & 3T Cross Device Development] damiensturdy:
It turns out it was time for me to update my recovery. The kernel then flashed just fine and seems to be running wonderfully. Thanks!
[OnePlus 3 & 3T Cross Device Development] mady51:
Whats the max freq u have in previous build in which i didnt overclocked?
[OnePlus 3 & 3T Cross Device Development] Pseudonym:
Same also. I think that is standard in every kernel
[OnePlus 3 & 3T Cross Device Development] matrixino:
Same problem here, still getting it on Nitrogen. And no it isn't flashing anyway.

Which one worked for you? I'm on latest bluspark TWRP and it's not working.
[OnePlus 3 & 3T Cross Device Development] parag60288:
Yes.

After restart again cpu clocks at max.
[OnePlus 3 & 3T Cross Device Development] Pseudonym:
Can you show me your option to overclock? I don't see it in mine
[OnePlus 3 & 3T Cross Device Development] parag60288:
This only happens to little cores. I cant underclock it.
[OnePlus 3 & 3T Cross Device Development] Edikuun:
What app are you using?
[OnePlus 3 & 3T Cross Device Development] parag60288:
currently using ex kernel manager.

but tried franco as well as kernel auditor. But same.
[OnePlus 3 & 3T Cross Device Development] jujak82:
I had the same peoblems with this kernel till v45 but now everythings works great for me
[OnePlus 3 & 3T Cross Device Development] damiensturdy:
I was also on Bluspark. I updated to the latest TWRP.
[OnePlus 3 & 3T Cross Device Development] EViollet:
Hi.

Still having issues while charging with the latest version.

I flashed the latest MSM version yesterday.

No other patches flashed except for Magisk.

Last night my phone had 55% battery when I plugged it in to the wall socket (no dash charge). I then switched the screen of and went to sleep.

1 hour later the phone had charged to 93%.

During this time battery temperature was stable at 27°C.

At 23h50, when the battery level reached 93%, for some unknown reason it started going down again. As if it had stopped charging. 20 minutes later, and after having lost 3%, , CPU rose to 80% usage. CPU frequencies went to max and battery temperature started rising to 43°C.

Battery started trickle charging : it gained 4% in 7 hours!

At 7h30, the phone shut down, and when I found it in the morning, it had finished charging while being powered off.

I didn't have time to capture any logs this morning, but add this happens very often, I should be able to send some one of these days.

FYI, I also tried Franco and HolyDragon. These two kernels do not show the same behaviour.

Hope this helps.

Regards
[OnePlus 3 & 3T Cross Device Development] mady51:
I still dont understand why only u r getting such weird prblm. Honestly if there is such issue, i would have not released kernel or i would have thrown my device or my testers would have killed me. May be some apps causing it.

Can u try 1 thing - do a clean flash and dont install any apps just only rom. Then check ur issue. If it still occurs the let me know.
[OnePlus 3 & 3T Cross Device Development] EViollet:
Yup.

As I seem to be the only one with this problem, I guess a clean flash is due.

I'll get down do it when I find the time/courage... ?

Thanks for your help.

Regards
[OnePlus 3 & 3T Cross Device Development] matrixino:
Thx, confirming bluespark twrp was the culprit. Latest official works fine.
[OnePlus 3 & 3T Cross Device Development] xdazulu:
can anyone please check if Madys kernel has headphone amplifing feature?

thx
[OnePlus 3 & 3T Cross Device Development] lawwd_have_merci:
usb dac. I'm using fiio q1 mk2 as an external dac/amp and it only works with drivers provided by neutron or fiio's music app. but using those apps leads to the dac only being usable by them.

this wasn't the case in oreo/it's kernels.
[OnePlus 3 & 3T Cross Device Development] Edikuun:
Hi, I'm currently on Nitrogen OS 9 with Madys Kernel x45 and using Franco Kernel Manager. Can I ask what settings needs to be tweaked in order to fully utilize the capacity of the Kernel (decent performance with more than average battery life)?
[OnePlus 3 & 3T Cross Device Development] mady51:
If u r not satisfied with stock settings, u can try darkness or nightmare or tripndroid or alucard governor
[OnePlus 3 & 3T Cross Device Development] Edikuun:
I'm currently using this as my intended settings. Is it recommended to turn on min and max frequency for both clusters?
[OnePlus 3 & 3T Cross Device Development] Edikuun:
I'm currently using these settings. Is it recommended to turn on min and max frequency for both clusters?
[OnePlus 3 & 3T Cross Device Development] bitubo:
I have the same problem with the rom MSM Xtended V6

little core stay at 1593 all the time

flash V6 + X44 working good

OnePlus 3 @ Tapatalk
[OnePlus 3 & 3T Cross Device Development] mady51:
Dont worry, i reverted that change. Even i got fed up with ppl not understanding little cluster max usage.
[OnePlus 3 & 3T Cross Device Development] mady51:
update - Mad-Kernel-X46.zip

changes -

upstream

reverted the little cluster max usage

some FP related tweaks

some thermal tweaks for less heat

some more optimizations for better performance and battery

-thanks
[OnePlus 3 & 3T Cross Device Development] Pseudonym:
Where can I find the option to overclock?
[OnePlus 3 & 3T Cross Device Development] amuzavali:
No overclock
[OnePlus 3 & 3T Cross Device Development] Pseudonym:
x45 changelog said it has it. Was it removed?
[OnePlus 3 & 3T Cross Device Development] amuzavali:
I installed it for me the same way it is not overclocked sorry.
[OnePlus 3 & 3T Cross Device Development] mady51:
I think overclock is working only for op3 and not T
[OnePlus 3 & 3T Cross Device Development] amuzavali:
It's possible
[OnePlus 3 & 3T Cross Device Development] Pseudonym:
How
[OnePlus 3 & 3T Cross Device Development] parag60288:
When i tried flashing x46, got ramdisk error.

Oddly, same thing when i flash other kernels as well.

Any help.?
[OnePlus 3 & 3T Cross Device Development] cultofluna:
Try to flash it on top of clean ramdisk ( stock kernel)

Dirty flash the rom and try again
[OnePlus 3 & 3T Cross Device Development] harshil098:
I think spectrum profile is not working on x46. For gaming mode it shows alucard and performance profile it shows conservative also battery life is not so good I am on latest havoc pie 16\11 verson.
[OnePlus 3 & 3T Cross Device Development] harshil098:
Here is the another screen shot
[OnePlus 3 & 3T Cross Device Development] mady51:
Check on whose kernel u r using
[OnePlus 3 & 3T Cross Device Development] mk_1996:
uhmmm.... maybe have a look at the screenshot ?
[OnePlus 3 & 3T Cross Device Development] harshil098:
I am using the latest ×46 verson.i also reflashed the kernel but issue is same, sometimes happens with gaming profile in spectrum
[OnePlus 3 & 3T Cross Device Development] mady51:
Ok which rom? Seems some rom side init scripts r ovewriting it
[OnePlus 3 & 3T Cross Device Development] harshil098:
I am on Latest havoc pie 16/11 verson

Recently i did dirty flash the rom and then flash the kernel no issues so far. everything seems great !!!
[OnePlus 3 & 3T Cross Device Development] Blackz Afiqz:
Kernel Compilation

Hi may I know what toolchain do you use? I got an error while compiling your kernel.

VDSOL arch/arm64/kernel/vdso/vdso.so.dbg
/opt/aarch64-linux-android-8.x/bin/../lib/gcc/aarch64-linux-android/8.0.0/../../../../aarch64-linux-android/bin/ld: cannot find -ldl
collect2: error: ld returned 1 exit status
arch/arm64/kernel/vdso/Makefile:34: recipe for target 'arch/arm64/kernel/vdso/vdso.so.dbg' failed
make[1]: *** [arch/arm64/kernel/vdso/vdso.so.dbg] Error 1
arch/arm64/Makefile:124: recipe for target 'vdso_prepare' failed
make: *** [vdso_prepare] Error 2
[OnePlus 3 & 3T Cross Device Development] mady51:
I use google default google tool chain
[OnePlus 3 & 3T Cross Device Development] mady51:
update - Mad-Kernel-X47.zip

changes -

upstream

added support for volume button wakeup screen (ur rom should also support though)

better idle and smoothness

thermal tweaks

gpu tweaks

under the hood many optimizations.

flash and njoy.
[OnePlus 3 & 3T Cross Device Development] Lycox:
Still don't know what happend, but it's the first time I'm not being able to install this kernel version. Got Error 1. :(

Using your modified TWRP-Version with MSM Oreo.
[OnePlus 3 & 3T Cross Device Development] weeka89:
Bootloops with latest Havoc-OS build on OP3
[OnePlus 3 & 3T Cross Device Development] Pablo.x:
Try dirty flashing your rom+magisk+ Mad's kernel
[OnePlus 3 & 3T Cross Device Development] amuzavali:
can you do something for 3t users or this kernel is just for 3? No overclock no max frequency?
[OnePlus 3 & 3T Cross Device Development] mady51:
Try with xtended recovery and see

---------- Post added at 03:53 PM ---------- Previous post was at 03:50 PM ----------

I will see, but u said it worked earlier in some old build right? I used same commits now also. Will see if am missing anything.
[OnePlus 3 & 3T Cross Device Development] amuzavali:
This version
[OnePlus 3 & 3T Cross Device Development] Lycox:
Hmmm... Still thought, I'm using the extended recovery. Could you link to it again please? Will check, if it differs from my installed version.
[OnePlus 3 & 3T Cross Device Development] mady51:
Seems i fixed it. If u r on tg, ping me so u can test
[OnePlus 3 & 3T Cross Device Development] mady51:
Update - Mad-Kernel-X48.zip

changes -

upstream

Implement screen off ceiling ( explanation - This should limit the cpu frequencies to the next lower match for each cpu/cluster below the defined ceiling while StateNotifier reports that the screen is off.)

lpm tweaks

gpu tweaks

thermal tweaks

give gpu more freq

reduce some wakelocks

disable some debug logs

disabled touchboost (didn't see any difference in perf, so save some battery)

Overclock for 3T (working for my testers, please do check and let me know)

interactive tweaks

and many more things.

-thanks
[OnePlus 3 & 3T Cross Device Development] thom@s:
I am facing repetitive freezes on my OP3T with X47 and X48 + Havoc latest version. I am downgrading to X46 to check if it's running well (was the case with previous Havoc delivery) and try to find-out where it is coming.

FYI I don't use any tweak, but I like your kernel since it allows Android Auto to run smoothly in my VW car!
[OnePlus 3 & 3T Cross Device Development] mady51:
Yes i heard it from few ppl specific to that rom. Am trying to find the cause. Next build will have fix for sure
[OnePlus 3 & 3T Cross Device Development] thom@s:
Appreciated [MENTION=7072514]mady51[/MENTION] even though I am still not sure it's on ROM or kernel side!
[OnePlus 3 & 3T Cross Device Development] mady51:
If u r on tg, can u ping me to test
[OnePlus 3 & 3T Cross Device Development] thom@s:
Not right now but I will ping you as soon as I can!
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
Its good to see active support but it would be better and nicer if its over XDA rather than any other outside medium like Telegram. Active support over XDA would give encourage more users to try out the development and benefit from it and also help other users understand and diagnose the issues faced by other users and follow the solutions provided.

Please refer to this announcement for the reference.

Thank you for your consideration,

Funk