yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] TheMystic:
Use official TWRP 3.2.3-1.

---------- Post added at 21:27 ---------- Previous post was at 21:25 ----------

Did anyone notice that after flashing latest kernel (8), battery info (since last charge) got reset to since boot. Other info is still available (like SOT).

Also, I feel battery is draining faster than usual. I'll see how it goes in the next couple of charges.
[OnePlus 3 & 3T Cross Device Development] bkuri:
I'm getting the same error using official twrp 3.2.3-1 under 8.1.
[OnePlus 3 & 3T Cross Device Development] qasimtb:
I tried installing Reborn 6 & it worked. Then installed Reborn 7 & it also worked fine. Just issue with Reborn 8. It is saying as Android Version not supported.

I am using Extended TWRP v2
[OnePlus 3 & 3T Cross Device Development] NetSkill:
Thank you for awesome kernel, works great with Havoc 2.1 .. also looking ofrward to adding Alucard governor ?
[OnePlus 3 & 3T Cross Device Development] mady51:
Hey did u tested what u have asked which is added in latest build?
[OnePlus 3 & 3T Cross Device Development] Lycox:
Having the same issue. I'm still on 8.1.0
[OnePlus 3 & 3T Cross Device Development] pratamaaudi:
sometime phone lags so much after unlocking

using havoc 2.1

mad reborn v8
[OnePlus 3 & 3T Cross Device Development] mady51:
Can u be more specific
[OnePlus 3 & 3T Cross Device Development] The.Scram:
I'm seeing something similar. When the phone was sleeping well for some time and I unlock it especially app start is pretty slow compared to when the phone is awake for some time. I'd say this period lasts about 10sec until it normalises.
[OnePlus 3 & 3T Cross Device Development] mady51:
update - MadKernel-Reborn-9.zip

before u flash, try to remove all kernel apps and clear cache to avoid issues. And dont judge immediately that cpufreq are stuck. Give time for it settle down.

changes -

optimized ext4 fsyc

silenced healthd spam logs

fixed TTL for WiFi hotspot

reduce screenoff cap freq

tweak boost values

some interactive tweaks

vmstat: Reduce time interval to stat update on idle cpu

removed highspeed freq raise (to save some juice)

usb - remove indefinite wakeup

FIxup GPU 0mhz clock

updated crc64

msm-core: Rework and improve (re)sampling processing

Added CFQ scheduler and it default

reverted z3fold

many more....

-thanks
[OnePlus 3 & 3T Cross Device Development] bkuri:
I'm getting the same error as v8:

> "Unsupported Android version. Aborting..."
[OnePlus 3 & 3T Cross Device Development] Lycox:
Replace the anykernel.sh inside the zip with the one from the last working version.
[OnePlus 3 & 3T Cross Device Development] android extreme:
[MENTION=7072514]mady51[/MENTION] i've installed the latest kernel(v9) since release on RR but i ve found some strange problems

-on the big core frequency never rises higher than 1.6/1.7 ghz

-in vm setting swappines is raised to 100

While the first one is a little strange but doesn't generate noticeable problem(maybe if the frequency could raise up to maximum we would have higher performance in general use) the second one instead cause a lot of lag, probably because it search for a zram/swap partition that doesn't exist. I've made some test and found that reducing the value(to 60 stock linux and 0) have a positive impact on performance. I get that having a zram partition help in some heavy i/o load but why the partition itself doesn't exist?

Could it be a problem regarding the rom itself?
[OnePlus 3 & 3T Cross Device Development] AnnoyingZlatan:
Switch to interactive cpu governor for the first issue.

For the second I'm not so sure, but try wiping caches and deleting/disabling any of those kernel apps since they tend to interfere, I am running this kernel on Havoc and it's all fine
[OnePlus 3 & 3T Cross Device Development] mady51:
1st issue - do remove kernel related apps and wipe cache and flash kernel. Its taking little time to settle down after that it will be all good.

2nd issue - I havent enabled zram in kernel. And swappiness is default 60 only. Could be rom side overwritten
[OnePlus 3 & 3T Cross Device Development] mady51:
update - MadKernel-Reborn-10.zip

Note : before u flash, try to remove all kernel apps and clear cache to avoid issues. And dont judge immediately that cpufreq are stuck. Give time for it settle down.

changes -

Interactive tweaks and Inputboost tweaks

fixed error while flashing 8.1 roms for some ppl

Hardware Wakelock Suppressor v3

Enabled frandom

tried to improve CPUIDLE

fix memory leaks

mbcache2: reimplement mbcache

Add "Fast-Sleep" CPU idle state

give some kick booster when focusing msm_actuator - helps with camera

tweak some lpm values

try to reduce some pci pme wakeups

Increase the ext4 default commit age

reduce wakeups in ksm

ipv4/tcp: allow the memory tuning for tcp to go a little bigger

vmstat: Reduce time interval to stat update on idle cpu

Reduce screen off cap freq

fixes TTL for WiFi hotspot by enabling CONFIG_IP_NF_TARGET_TTL

printk: silence healthd messages from userspace

optimizee the crap out of ext4 fsync

modules: don't unload wlan.ko

Removed RCU_BOOST Delay for performance improvement

Removed AdrenoIdler

lot many other things lazy to mention them all here.

Just flash and enjoy.
[OnePlus 3 & 3T Cross Device Development] The.Scram:
When u say remove Kernel Apps before install does that mean I can reinstall em after installing the kernel or shouldn't I use EXKM 4 example @ all?
[OnePlus 3 & 3T Cross Device Development] AnnoyingZlatan:
no, he meant before install remove kernel apps, but in general they can cause some issues with kernels, so don't use them if you don't have to
[OnePlus 3 & 3T Cross Device Development] mady51:
U can use them. But before u flash just remove them n after that u can again install.
[OnePlus 3 & 3T Cross Device Development] iceman0826:
I'm experiencing a lot of lags and instabilities after flashing it using the recommended instructions - coming from HolyDragon Kernel + HavocOS. Gonna let it settle for now maybe it just need some cooking time before getting stable. Hope the dev add the Westwood TCP algo and Volume increase or something.

Update. No dice, still experiencing lags and freeze gonna go back to the previous kernel. Thanks for the effort though. ?
[OnePlus 3 & 3T Cross Device Development] The.Scram:
No lags here. Feels very smooth and more performance than battery oriented.
[OnePlus 3 & 3T Cross Device Development] Lycox:
Me too. MSM xtended x10 (8.1.0)
[OnePlus 3 & 3T Cross Device Development] AnnoyingZlatan:
did u wipe caches and let it settle for some time? works amazing on havoc for me, much better than hdk
[OnePlus 3 & 3T Cross Device Development] mady51:
U can just enable cpuinfo and check if ur cpufreq r settled. Or else ur device must be very hot and thermals might have kicked in. Or u didnt flashed properly. Because its tested by many testers on havoc and no issues.

---------- Post added at 01:29 AM ---------- Previous post was at 01:25 AM ----------

Wait what? On xtended 8.1? Really? U didnt followed flashing instructions because 1 of my tester is on 8.1 only and no issues
[OnePlus 3 & 3T Cross Device Development] iceman0826:
I've triple checked on my end, and done proper flashing of the kernel but the problem persist. Would like to post logs but don't have time to do so. Anyway thanks for your work.
[OnePlus 3 & 3T Cross Device Development] Lycox:
Ok, tried it again. Seems to be my fault. Forgot to remove a used kernel manager. Now it works without any issues. :good:
[OnePlus 3 & 3T Cross Device Development] mady51:
Thanks
[OnePlus 3 & 3T Cross Device Development] hhp_211:
Really liking madkernel and last couple have been working very good

I found another kernel manager I've been liking lately, it's a modded version of kernel auditor! called

smartpack kernel manager

A lot more settings you can tweak if you like that kind of thing (which I do ;) )

https://xdaforums.com/android/apps-games/app-smartpack-kernel-manager-t3854717
[OnePlus 3 & 3T Cross Device Development] mady51:
Wonderful. Thanks for sharing. Nice app
[OnePlus 3 & 3T Cross Device Development] mady51:
update - MadKernel-Reborn-11.zip

Note : before u flash, try to remove all kernel apps and clear cache to avoid issues. And dont judge immediately that cpufreq are stuck. Give time for it settle down.

changes -

disable selinux audit (slight increase in perf)

sched: Turn on MIN_CAPACITY_CAPPING feature

cpu_input_boost: Make frame boost timeout configurable (to reduce the frame drops)

cpu_input_boost - tweaks done a lot for better smoothness

fix camera framedrop pattern and period

reduced mdss cpu load average

disable binder debug logs causing huge spam and latency

power: Improved/fixed logs for PM wakeups

arm64: crypto: Improve target optimization flags

kernel: time: reduce ntp wakeups

wlan: Remove WLAN_FEATURE_HOLD_RX_WAKELOCK

usb: dwc3-msm: Remove indefinite wakeup (did properly i think this time, earlier it was not done good)

better CPUIDLE (many tweaks)

Tweak cpuidle governor to enter deep C state faster

some interactive and boost tweak in cgroup

Tweaked thermals to act once the battery temp reaches 38-40 to reduce perf impact.

Lots of other optimizations and changes, go through git.

-thanks
[OnePlus 3 & 3T Cross Device Development] Tronje:
Hi Mady,

sorry to say: I had VERY EXTREME problems after flashing V11.

Never used any kernel apps, never changed any settings, always used default kernel settings. Always clearing dalvic and cache after flashing rom or kernel.

But with new release my OP3 didn't repspond at all, starting with PIN to unlock the SIM (2-3 minutes), later to open widgets (app. 15 minutes) or start any app (each 1 minute). Finally I got no gps signal at all.

After more than 1 hour it got a little better, but still bloody lethargic on every input.

Now I went back to V10 and everything is fine again.
[OnePlus 3 & 3T Cross Device Development] mady51:
Hmm wierd. But i know this prblm since pie. Unless u do a reboot during such prblm u will have that behavior. Its not specific to kernel or rom but its there since oreo or pie.

Also sometimes u can see sim card not detected after flsshing kernel. But its not actually after flashing kernel but its reboot causing issues in pie.

U can give it a try again and see if u still have issue or not n i bet u wont get that issue again
[OnePlus 3 & 3T Cross Device Development] Tronje:
OK, I did it again and now everything seemes to be fine

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Wrong Try again
[OnePlus 3 & 3T Cross Device Development] shantam3108:
Font name pls? And where to get it.?
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Bellota Magisk mod
[OnePlus 3 & 3T Cross Device Development] Prashanthme:
Which app?
[OnePlus 3 & 3T Cross Device Development] mady51:
update - MadKernel-Reborn-12.zip

Note : before u flash, try to remove all kernel apps and clear cache to avoid issues. And dont judge immediately that cpufreq are stuck. Give time for it settle down.

changes -

new Interactive tweaks

KSM tuning

reduced even more wlan wakelock duration

better cpuidle doze

read ahead optimization

fix GPU 0mHZ clock

reduced input boost a bit and increased frameboost (to reduce active drain)

some signals related things

cfq updates

lot many other optimizations

thanks
[OnePlus 3 & 3T Cross Device Development] nurlan555:
Suitable for replaced ones?
[OnePlus 3 & 3T Cross Device Development] mady51:
Try n let me know
[OnePlus 3 & 3T Cross Device Development] nurlan555:
Not suitable for replaced screens.
[OnePlus 3 & 3T Cross Device Development] AlfaRune:
Mad kernel 13 Changelog?
[OnePlus 3 & 3T Cross Device Development] mady51:
update - MadKernel-Reborn-13.zip

Note : before u flash, try to remove all kernel apps and clear cache to avoid issues. And dont judge immediately that cpufreq are stuck. Give time for it settle down.

changes -

incrase performance of KSM application

high prio for kgsl

power: make sync on suspend optional

fix some frame drop issues due to ksm

cgroup: Fix deadlock in cpu hotplug path

Improve load balancing in the presence of idle CPUs

usb: dwc3: Fix dwc3_msm_probe to handle DBM

other misc changes and fixes.

-thanks
[OnePlus 3 & 3T Cross Device Development] Luiscasanova78:
What rom are you recommending to use with this kernel?
[OnePlus 3 & 3T Cross Device Development] mady51:
depends on ur choice, i use colt, xtended most of the time. u can try other roms like havoc or SD.... its purely ur wish
[OnePlus 3 & 3T Cross Device Development] Luiscasanova78:
Thanks, I just installed lineageOS 16, when Xtended is updated I'll try it too
[OnePlus 3 & 3T Cross Device Development] xNAPx:
I installed this kernel over holydragon in skydragon rom but I have some issue, how do I need to install properly? I cleaned cache and dalvik before doing so, did I need to wipe system as well?

At the moment issues are, the phone sometimes doesn't recognize the sim card after reboot and cpu2&3 don't go to min freq but stuck at max with very high temperatures
[OnePlus 3 & 3T Cross Device Development] mady51:
just remove kernel apps, wipe cache only. flash kernel. let it boot. turn off the screen for few min to settle down cpu quickly. thats it.

and regarding sim doesnt detect, reboot again. thats an issue since oreo i have seen.
[OnePlus 3 & 3T Cross Device Development] xNAPx:
By kernel apps you mean spectrum as well? If you only mean kernel managers I don't have any
[OnePlus 3 & 3T Cross Device Development] mady51:
ok. just after flashing just turnoff screen couple of min. it will settle automatically
[OnePlus 3 & 3T Cross Device Development] AyieStyx:
i had device heated up to 42.3C when charging from low battery. it drops when around 70%+, its like the previous issue was coming back to me. but it was Reborn 12, will try reborn 13 and see if it happens again.
[OnePlus 3 & 3T Cross Device Development] mady51:
thats expected when u charge from very low battery. also depends on ur ambient temperature. still as am using simple thermal, u shouldn't worry abt temperature. it will take care of it
[OnePlus 3 & 3T Cross Device Development] Uchihaitachii:
About sim doesn't recognize

Blame magisk :confused:
[OnePlus 3 & 3T Cross Device Development] AyieStyx:
back from work with 40% ish battery. recharge and notice that it has 40C ish temperature. even half battery still has it.
[OnePlus 3 & 3T Cross Device Development] mady51:
r u using ur phone while charging? just turnoff screen and keep it aside while charging. it will cool-down
[OnePlus 3 & 3T Cross Device Development] AyieStyx:
yes i am but it shouldn't be that way though. v11 was fine while charging. I understand that charging makes phone heats up but its not normal from it should. i have the phone playing youtube but it heats up to 42C for no heavy task. since it heats up that high i have issue with using phone as it starts to shutdown some process etc n i dont have other option than turn off screen.

reverted to v12 and charging issue is no more. not high as 42C.
[OnePlus 3 & 3T Cross Device Development] mady51:
nothing is touched related to thermal. it should be same. but sometimes android goes wierd, so a reboot will help things
[OnePlus 3 & 3T Cross Device Development] AyieStyx:
i reflash v13 and let it go few cycles. will see how it goes in few days.
[OnePlus 3 & 3T Cross Device Development] mady51:
next build
[OnePlus 3 & 3T Cross Device Development] dinesh2695:
Any tweaks like wakelock or alarm blocks using?
[OnePlus 3 & 3T Cross Device Development] mady51:
nope, just blocked playservices
[OnePlus 3 & 3T Cross Device Development] kenny_cfc:
Great battery stats! Which rom you running it on? Also where and how did you block playservices?
[OnePlus 3 & 3T Cross Device Development] elbotty:
Can you share a screenshot of the playservices that you blocked? Thanks.
[OnePlus 3 & 3T Cross Device Development] mady51:
in alarms just block analytics abd gms heart beat.
[OnePlus 3 & 3T Cross Device Development] xNAPx:
I didn't get you, could you be more specific please?
[OnePlus 3 & 3T Cross Device Development] mady51:
this
[OnePlus 3 & 3T Cross Device Development] mady51:
update time - MadKernel-Reborn-14.zip

Note : remove ur kernel apps and wipe cache before u flash and give kernel time to settle down. Also, if u feel lags check ur device temp. Let it cool fast to get the speed.

changes -

rcu changes

cpuidle optimization

lz4: Optimize memory usage

sched/core: nr_migrate = 128 increases number of tasks to interate in a single balance run

cpu_input_boost: Block external boosts when the screen is turned off & other changes

cpu_input_boost: reject big cluster's boost when the load is low

devfreq_boost: Simplify screen-awake check

add some flags to skyrocket performance

added frame boost and some input boost weaks

dts: msm8996pro: adjust msm-thermal frequency mitigation plan

lowmemorykiller: remove adaptive lmk

interactive tweaks

gpu tweak some values

kgsl prio to 10 - test

net: rmnet_data: disable HI log level

mm, slab: faster active and free stats

drm: add input boost

improve wifi driver's stablility

completely reduce wlan timeout

-thanks
[OnePlus 3 & 3T Cross Device Development] xRyzer:
Guys, this is normal? :eek:
[OnePlus 3 & 3T Cross Device Development] MuzzamilIhsan:
V13 Had much better Battery backup as compared to 14.
[OnePlus 3 & 3T Cross Device Development] mady51:
hmm some ppl reported little frame drops so increased input boost for that. is that ur first cycle? let it run for couple of cycles. u can decrease input boost if u wwnt more battery though
[OnePlus 3 & 3T Cross Device Development] DanipunK1:
in my case the 14 has much better battery especially in deep sleep
[OnePlus 3 & 3T Cross Device Development] nihilista:
For me both has a very good deep sleep, if one is slightly better, id couldn't be that much....
[OnePlus 3 & 3T Cross Device Development] DanipunK1:
true, both are good but the last days I'm having very good consumption
[OnePlus 3 & 3T Cross Device Development] mady51:
dont worry next build fixed that higher drain
[OnePlus 3 & 3T Cross Device Development] MuzzamilIhsan:
When are you gonna release it?
[OnePlus 3 & 3T Cross Device Development] Notorious:
Hello are more governor's going to be added in the future? I really enjoyed all the options on the previous madkernel but do understand that they could cause issues
[OnePlus 3 & 3T Cross Device Development] Alizard:
Pretty sure I'm getting overall better battery life with 14 compared to 13. The increased input boost is also a noticeable improvement. Thanks for the great work.
[OnePlus 3 & 3T Cross Device Development] rankin1:
This ROM is simple and by far has all the useful features of a daily driver battery life here is fantastic of course it would be it's using the latest mady51 kernel so yeah this ROM rocks thanks guys for a job well done
[OnePlus 3 & 3T Cross Device Development] Prashanthme:
:cowboy:
[OnePlus 3 & 3T Cross Device Development] mauroeden:
Flashed x1 earlier on my op3 running omni rom.

So far so good
[OnePlus 3 & 3T Cross Device Development] mady51:
time for update - MadysXtended-Kernel-X4

changes -

updated to latest stable linux

other changes and optimizations which I dont remember.

Just flash and njoy and report feedback pls.

thanks
[OnePlus 3 & 3T Cross Device Development] anzila:
[MENTION=7030109]mcdachpappe[/MENTION] plans on updating? Getting 9h SoT with your personal build on NoS, paired with the color improvements in your build it's unbeatable.
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
thank you for your feedback.

i left mady51 base for my personal builds and switched to msf-jarvis (caesium) base. there is already an updated version on android file host (stable linux. 98) but DCI-P3 and hbm switches are not working on nitrogenos (because of livedisplay) at the moment.

there are no more mady based personal builds with working panel switches - sorry.
[OnePlus 3 & 3T Cross Device Development] gFknQ:
X4 is magic on newest NOS. Thanks for your work.
[OnePlus 3 & 3T Cross Device Development] Roulianooo:
Which settings please ? :D
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Basically EXKM powersave settings, but do not apply through EXKM, will not stick. Apply using Kernel Adiutor. And these wakelocks. There is a slight delay coming out of deep sleep, but that's the case with almost any powersave or deep sleep setup on any kernel.

Edit: Keep in mind, these are overnight stats. It's morning where I am, and screen on time is just before I went to bed and since I woke up. I'll post more stats during the day
[OnePlus 3 & 3T Cross Device Development] mauroeden:
Hey guys, I know this is a cross device section in the forums and the thread's title says unified but I still feel compelled to ask if every new version is also unified because AFH only lists 3t as supported devices and I'm somewhat paranoic.

Currently on x1 on the op3 and idle drain is simply phenomenal. Would like to update to x4 and check if active drain lowers a bit. Thanks a lot.
[OnePlus 3 & 3T Cross Device Development] mady51:
Source forge site is creating prblms, so we uploaded in afh. Yes u can flash. Its unified only.
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Still overwhelming numbers :victory:?
[OnePlus 3 & 3T Cross Device Development] vickystarboy:
Sorry for offtopic, how did you changed the fonts?
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Magisk module. Can't remember, but pretty sure [MENTION=7578917]SKULSHADY[/MENTION] shared that with me. I can't spell it. Top magisk module in pic
[OnePlus 3 & 3T Cross Device Development] Tzagor:
Could you tell me how did you tweak the kernel? I get terrible results with latest nitrogen.
[OnePlus 3 & 3T Cross Device Development] The.Scram:
Use EX kernel manager

I'm on interactive with Ghostpepper V2.0 setup
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Honestly I spent days fkn around with different kernels, managers, and tweaks. Mostly Mady's, but also EX & Caesium. X4 is by far the best. But you're usage will be different than mine. I would not use EXKM right now, even though that's my personal favorite. Nothing sticks through reboot most the time. My settings now are applied on boot by Adiutor, then left alone. But I don't want your phone to crash and have you yelling at me on xda. Greenify root helps the idle time a lot. I have a couple of j.son I can send you but I AM NOT RESPONSIBLE FOR YOUR DEVICE ? I always wanted to say that
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Sorry for bombarding your thread. Just thought others might want to see Mady's X4 potential
[OnePlus 3 & 3T Cross Device Development] urgali:
Which app do you use to block kernel wakelocks?
[OnePlus 3 & 3T Cross Device Development] gFknQ:
Deleted
[OnePlus 3 & 3T Cross Device Development] mady51:
may be alucard, tripndroid first preference stability
[OnePlus 3 & 3T Cross Device Development] iAmWiz:
Is it just me or it's just that I can't set maximum clock speed in any of the CPU governors in the kernel? Even with userspace governor, it can't go more than 1550 MHz.

Also [MENTION=7072514]mady51[/MENTION] your kernel is awesome. I have had issues waking up my device since I changed the screen. Sometimes it's until I reboot my phone.

I laid complain in some threads and I was told there are commits that can fix this on kernel level. I believe cause I have not had the screen wakeup delay. Could you please point me to the commits on your GitHub? Pretty please?
[OnePlus 3 & 3T Cross Device Development] SANDY-_-SMS:
Which one to download. There are lot of files in download link. I'm so confused.

I'm running pixel experience Rom latest build. On oneplus 3.
[OnePlus 3 & 3T Cross Device Development] vinoxflame:
check the name & date......latest version is madkernel-reborn-14
[OnePlus 3 & 3T Cross Device Development] mady51:
teaser
[OnePlus 3 & 3T Cross Device Development] amuzavali:
Love alucard and nightmare
[OnePlus 3 & 3T Cross Device Development] mady51:
regarding the max clock speed, yes u cant for now. will expose that in code for users to change.

u can check the file fp1029.tee and its history.

yesterday fixed the issue of fp delay when woke from deeeeep sleeeeep as well.
[OnePlus 3 & 3T Cross Device Development] iAmWiz:
Thank you. You are a savior!! Much appreciated