=DRAGONHEART KERNEL=
Your warranty is now void!
We're not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at us for messing up your device, we will laugh at you
Features:
Linux upstream: 3.18.140
CAF & Prima upstream: LA.UM.7.6.r1-05500-89xx.0
• KCAL color control
• Vibration intensity control
• Sound gain control
• Audio codec quality improved
• exFAT Support
• NTFS support
• F2FS support
• SquahFS support
• CIFS/SMB support
• Added CPU Hotplug (default disabled)
• Set lz4 for better zram work
• Boeffla wakelock blocker
• Added defaults rules for Boeffla wakelock blocker
• Disable vendor verify and set no verity
• CRC32: disable by default & enable toogle (average 30% I/O performance profit)
• Few patches from Franco kernel (disabled a lot of debugging stuff)
• Fsync: on/off support
• Battery deep optimisation: undervolt & additional tweaks
• Added Adreno Real Idler (supported turning it on/off)
• Improved interactive governor (patch from Franco kernel)
• Improved CPU boost, default is disabled (patch from Franco kernel)
• Improved conservative governor (patch from Franco kernel)
• I/O schedulers: noop, deadline, bfq, cfq (default), sio, fiops, maple, tripndroid, zen, anxiety, sioplus, fifo, v(r)
• Added CPU governors: darkness, zzmoove, relax, impulse, electron, nonconservative, lionheart, clarity, blu_active, yankactive, intelliactive, conservativex, ondemandx, interactivex, bioshock, darknessv5, alucard, smartmax_eps, pegasusq, lionfish, hyper, despair, barry_allen, xperience, alessa, chill, ondemandplus, ironactive, culvitation, tripndroid
• Added GPU governors: guardian, balanced, msm-adreno-plus
• TCP congestion algorithms: cubic, reno, westwood (default)
• Installer include fix for Wi-Fi SELinux permission
• Kernel installer also support custom ROMs
• GCam focus fix (thanks @teftel1608 and @33bca)
• GPU: clocks table reworked (lags free, performance grew). OC max gpu freq now is 725MHz
• Fix for goodix-fp gestures on stock (thanks to @artyom5613 & @Broomber)
• Also in the v1 installer included fix fpc-fp gestures for the customs rom
Now gestures for both fingerprints is are:
* swipe2right - paste text
* others like in rom's setting
(if you not like this - change it in the /system/usr/keylayout/uinput-*.kl)
• Memory & battery life optimization due config settings for kernel
• Added a block to wakelock from wifi
• I/O optimization
• Added WireGuard 0.0.20190601
• Hide unlocked bootloader state (for apps like bank clients etc)
• Patches from Franco "mido" kernel for battery life improvement
• Added gpu Adreno simple algorithm (beast!!)
• Found a reason for which the CPU could for a long time not to raise the frequency to the maximum, it's all in the file /vendor/etc/thermal-engine.conf
See samples how to improve situation
• Compiled with GCC 9.1.0, which gave an increase in performance and speed of the kernel
• Reworked undervolting, battery lives even longer
• Added voltage control
• Maximum CPU frequency is now 2.4GHz
• EUOC version has a maximum GPU frequency of 750MHz
• added support for display status for CPU Hotplug & some schedulers
• all schedulers that have display status support:
alucard, chill, clarity, cultivation, darkness, electron, impulse, intelliactive, ironactive, nightmare, relaxed, anxiety-iosched and maple-iosched
• added drivers for few USB-Ethernet adapters
• added nightmare and dancedance CPU governors
• updated version with 2.2GHz overclocking
• removed the patch for hiding the bootloader state (there are more problems than good with it)
• new preset in installer for a smooth interface (applied for GSI only)
- DT2W fix for fts_ts [default disabled] (thanks @33bca) * tested on customs and GSIs. for latest maybe need to enable "Handwave gesture" in "Phh Treble Settings" > "Doze features" * #TODO
- Installer include Magisk preserve #TODO
<< DragonHeart v3.3 || DragonHeart v2.2 >>
undervolted (U) lower voltage for decrease overheat. also incredible battery saving
overclocked (OC) CPU max frequency is 2.4GHz, GPU max frequency is 725MHz
extra-overclocked (E) GPU max frequency is 750MHz (if you will face with graphical glitches - don't use it!)
Installations:
Backup boot.img, /system/lib/modules, /system/usr/keylayout and /vendor/lib/modules folders, /vendor/bin/init.qcom.post_boot.sh file if you want to go back
Flash Zip file with any TWRP recovery, wipe Dalvik cache, reboot and enjoy ^_^
Notice: if you have Magisk with modules installed maybe you'll get bootloop.
If you have Magisk don't need reinstall it after kernel because installer will save Magisk #TODO
Right way: if you have Magisk and modules - deinstall all. Then flash stock boot.img, then custom kernel, then other stuff like TWRP and Magisk.
Enough just dirty flashing kernel and then Magisk if you need it. All yours Magisk modules will preserved.
Issues:
- DT2W not work for fts_ts touchscreen
- tell me if find
XDA:DevDB Information
DragonHeart kernel for Xiaomi Mi A2 Lite "daisy"
Contributors:
eremitein
Source Code:
https://github.com/eremitein/xiaomi_kernel_msm8953_daisy_dragonheart
CREDITS:
All people, who made good code for this platform
Version Information
Status: Stable/Experimental
Release Date: 2019-06-13 (UTC +0)
Created: 2019-06-12
Last Updated: 2019-08-08
.
reserv
I will not help users if they are:
- using Magisk and moreover they installed modules;
- made any kernel settings (selected exotic governors, turned on hotplug and etc.);
- using option "Disable HW overlays";
- not sure that the same problems were not on the standard kernel
- not follow installation guide
All OC versions is always have CPU 2.2GHz
if not for you, then this is maybe if:
- you SoC/voltageregulator/phone doesn't support overclocking
- your device overheated due high outside temp or high load
- you system set restrictions to overclocking
.
also for oreo?
What are the differences between this and ButterFly kernel?
whats the difference between this and butterfly? changelog looks the same
Same butterfly only upsteam
How to change from butterfly kernel? Just dirty flash?
Henki98 said:
also for oreo?
Click to expand...
Click to collapse
never. this base have only pie kernel
Sonthaya said:
Same butterfly only upsteam
Click to expand...
Click to collapse
you right)
syukri95 said:
How to change from butterfly kernel? Just dirty flash?
Click to expand...
Click to collapse
yes
eremitein said:
I will not help users if they are:
- using Magisk and moreover they installed modules;
- made any kernel settings (selected exotic governors, turned on hotplug and etc.);
- using option "Disable HW overlays";
- not sure that the same problems were not on the standard kernel
- not read installation guide
All OC versions is always have CPU 2.2GHz
if not for you, then this is maybe if:
- you SoC/voltageregulator/phone doesn't support overclocking
- your device overheated due high outside temp or high load
- you system set restrictions to overclocking
.
Click to expand...
Click to collapse
OC versions always run at 2.2GHz or only when under load such as playing games? If it always run at 2.2GHz, will it hurts CPU in long term?
@Funk Wizard I'll request you to look into it due to violation of GPL license in a kernel thread and also Improper kernel commit history.
What is exactly the difference between this and Butterfly kernel? Furthermore, is it recommended only to flash this on a CAF-based rom? If so, can't we only flash it on the caf-based build of PE?
akkh99 said:
OC versions always run at 2.2GHz or only when under load such as playing games? If it always run at 2.2GHz, will it hurts CPU in long term?
Click to expand...
Click to collapse
i wrote "have"
not "run"
Veran125 said:
What is exactly the difference between this and Butterfly kernel? Furthermore, is it recommended only to flash this on a CAF-based rom? If so, can't we only flash it on the caf-based build of PE?
Click to expand...
Click to collapse
all kernels for daisy is always CAF
different is in base - this base is upstreamed CAF & linux, latest butterfly based on the legacy Xiaomi sources
Tell me if it is better than butterfly.
is wifi working in UV kernel? (DragonHeart-daisy-20190612-v1-U.zip)
akkh99 said:
OC versions always run at 2.2GHz or only when under load such as playing games? If it always run at 2.2GHz, will it hurts CPU in long term?
Click to expand...
Click to collapse
I'm have many temp is down to 1689
DarkFrenzy said:
is wifi working in UV kernel? (DragonHeart-daisy-20190612-v1-U.zip)
Click to expand...
Click to collapse
why you asked?)
all builds have working wifi
but some magisk modules may brick wifi on any kernels
@eremitein is it possible to add voltage control interface so we can control it ourselves in ie. Kernel Adiutor ?
Im on Piexl Experience and magisk installed with some modules installed like youtube vanced etc.
Can i just Dirty flash it or i should i follow some steps??
aerzjee said:
@eremitein is it possible to add voltage control interface so we can control it ourselves in ie. Kernel Adiutor ?
Click to expand...
Click to collapse
maybe in future...
now i don't have much free time for developing. and also my google build server is suspended (trial time is over), so i take pause for rest
the source codes of both of my kernels are available on the Github, anyone can take and use them on the basis of the GPL - learn how to build kernel, add functionality, modify and release(with saving all copy(left)rights in the code and publish it), build into the rom... you can get quick acquainted with the GPL here
CherryFarmer8 said:
Im on Piexl Experience and magisk installed with some modules installed like youtube vanced etc.
Can i just Dirty flash it or i should i follow some steps??
Click to expand...
Click to collapse
please, people, please - read first and third posts and you'll find all answers:angel:
Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
EXPERIENCE HALOGEN | EXPERIENCE AWESOMENESS
For Changelogs please see POST #2.
For FAQ please see POST #3.
DISCLAIMER :-
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will simply laugh at you.
*/
NOTE :-This kernel is ONLY meant for AOSP/CM ROMs.
This IS NOT MEANT for STOCK ROMs.
Upto R14 Kernel supports Lollipop.
From R15 onwards Kernel supports ONLY Marshmallow.
From R18 onwards Kernel supports Doze + Marshmallow.
From R30 onwards Kernel supports ONLY Nougat.
WHAT IS THIS KERNEL ?This kernel is built especially for these 3 things :- 1. Audio, 2. Performance, 3. Battery Life.
The main aim of halogen is to bring performance without compromising stability & battery. And that is what I intend to do. Go ahead and try this kernel, and it should make your device much better.
FEATURES :-(features of ONLY the latest version is mentioned)
Based on Linux Kernel 3.4.42
Updated with the latest CM14.1 sources
Built with UBER Toolchain GCC-4.9
Any Kernel 2 script used
Kexc Hardboot patched
Built with optimization flags for enhanced performance
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam (thanks to @attack11)
Faux Sound Control v3.5
Headset in high performance profile
Slimbus overclocking for superior audio quality
Enabled CPU boost
Add Frandom
Power effecient work queues enabled by default
Reclaim RAM from loggers
Disable gentle_fair_sleepers for increased I/O
Enable advanced unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
intelliactive, intellidemand, zzmoove cpu governors
intelliplug v4.0 cpu hotplug
enabled advanced tcp congestions
Ability to use your device as USB Keyboard / Mouse
Stereo call record support
psx2usb
KCAL v2 by Savoca
Dynamic FSync
Added optimized square root algorithm
Added optimized ARM_RWSEM algorithm
NEON kernel mode
Ex-FAT support
LONG TERM SUPPORT :-
This kernel will be supported for a long time with updates directly streamed from CM kernel sources i . e . as long as CM keeps publishing updates to its base, this kernel will also be updated.
DOWNLOADS :-(do not mirror my links)[ Latest Version ][ Older Versions ]
INSTALLATION INSTRUCTIONS :-
Reboot into recovery.
Make a nandroid BackUp.
Select Install zip from SD Card.
Select the Downloaded zip.
Then Reboot to System.
Leave your phone untouched for 2-3 minutes after first reboot to allow the kernel to spread it's wings.
RECOMMENDED APPS FOR KERNEL TWEAKING :-
Kernel Adiutor
Faux123 Kernel Enhancement Pro
I do not support any other apps.
CREDITS:-~~Google
~~Motorola for kernel sources
~~Flashhhh
~~hurtsky
~~Luk & Luca -for various fixes
~~Thecrazyskull, DC07 -for cherry-picks
~~Faux123
~~Savoca
~~YoshiShaPow
~~attack11
~~many more.......
Please don't start a war here if I forgot to mention someone. PM me and I will add him / her.
XDA:DevDB Information
HalogenKernel, Kernel for the Moto G 2014
Contributors
zakee94
Source Code: https://github.com/zakee94/halogen_kernel/
Kernel Special Features: Faux sound, Kexec, KCAL, Intelliplug
Version Information
Status: Stable
Current Stable Version: R31
Stable Release Date: 2017-01-07
Created 2015-06-11
Last Updated 2017-01-07
Changelog
CHANGELOG(simplified changelog, for full changelog please look at my GitHub commits.)
R31 --> 07/01/2017
Merged CM Updates
For older changelogs :-
R30 --> 30/10/2016
First Nougat release
For changes please see post #670
R29 --> 24/07/2016
Merged CM Updates
R28 --> 08/06/2016
Merged CM Updates
AROMA installer
Added tripndroid IO Scheduler
CPU optimizations
ARM tweaks and updates
R27 --> 12/05/2016
Merged CM Updates
R26 --> 10/04/2016
Merged CM Updates
R25 --> 16/03/2016
Merged CM Updates
R24 --> 18/02/2016
Reverted the following :-
CPU OC/UC - 1593/96 MHz
CPU UV
LMK tweaks + Agressive LMK mode
Following CPU govs --> lionheart, dancedance, bioshock, alucard
Following Hotplugs --> Mako, Auto-smp
Added the following -->
Merged CM Updates
Built with UBER Toolchain GCC-6.0
R23 --> 19/01/2016
Merged CM Updates
Overhauled boot script
R22 --> 11/01/2016
Rebased kernel on android 6.0.1_r10
Rebuilt kernel from scratch
Merged a lot of CM updates
Added futex updates
Cpu UV added (hardcoded values)
Added 2 new hotplugs :- Auto-smp & Mako
Removed Alucard Hotplug
Overhauled updater script
R21 --> 30/12/2015
Add CPU OC/UC - 1593/96 MHz
Adapt cpu_govs for CPU OC/UC
Merged CM Updates
R20 --> 29/12/2015
Merged CM Updates
R19 --> 23/12/2015
Added 3 new cpu_govs: Lionheart, DanceDance & Bioshock
Enabled CPU boost
Added optimized ARM RWSEM algorithm
ARM updates merged directly from CAF (See Git)
Mutex updates (See Git)
LMK updates (See Git)
Add agressive LMK
Build using -O3 & -graphite flags for enhanced performance
Cortex-A7 optimizations in Makefile
block: Disable add_random
Implemented LoUIS cache
Made bioshock as default gov. in boot script
Many other optimizations (smp, rcu, vfs, vfp, etc... See Git)
R18 --> 20/12/2015
Merged latest CM Updates (support for Doze)
R17 --> 17/12/2015
Merged latest CM Updates
Made interactive as default gov. in boot script
R16 --> 03/12/2015
Fixed FM Radio not working
Fixed Section Mismatches
Enabled pipe flag
R15 --> 27/11/2015
Build Kernel from scratch based on cm-13.0 kernel base
Compiled using Hyper-Linaro 5.1 Toolchain
Kernel version brought down to 3.4.42 temporarily
Revert SE Linux force permissive
Revert use Modulo sched & strict alias flags
Enabled Simple GPU Algorithm
R14 --> 11/10/2015
Merged latest updates
Updated kernel to v3.4.109
Updated bfq to v7r8
R13 --> 6/09/2015
Brought back the following :-
SE Linux tweaks
msm:kgsl tweaks
Enable unaligned_access
DOLBY dap dependency fix
Removed the following :-
Simple GPU Algorithm
New features :-
Update with latest CM sources
Implement Adreno Idler
R12 --> 26/08/2015
Removed the following :-
CPU UC to 96MHz
SE Linux tweaks
USB Fast Charge v2
Added optimized ARM_RWSEM algorithm
msm:kgsl & wcnss tweaks
Optimize square root algorithm
Enable unaligned_access
DOLBY dap dependency fix
Ultrasound & ASoC : qdspv2 tweaks
Changed the following :-
Update 'zzmoove' cpu_gov to v1_beta-8
Set 'zzmoove' as the default CPU Gov
R11 --> 22/08/2015
Merged latest CM updates
R10 --> 13/08/2015
Once again rebuilt the whole kernel !
Updated with latest CM sources
Possibly fix interactive deep-sleep issues
R9 --> 25/07/2015
Updated with the latest CM sources
Rebased and built whole kernel from SCRATCH
Removed useless tweaks
Updated cpu_hotplugs & cpu_govs
Optimized zzmoove profiles again
R8 --> 11/07/2015
Updated with the latest CM sources
Reverted RAM OC to 566MHz
Reverted some power hogging tweaks
Updated hotplugs :- intelliplug, msm-hotplug (neobuddy89 versions)
Added Bricked Hotplug
Optimized zzmoove profiles
R7 --> 30/06/2015
Disabled msm_limiter
zzmoove : add back zzopt & zzmod, zzopt unstable for now.
Introduce kernel cooker
Bug fixes
R6 --> 24/06/2015
Updated kernel version to 3.4.108
Enabled kernel_config_neon
zzmoove : remove profiles 'zzopt' & 'zzmod'
Add strict_aliasing & modulo_sched flags
Add msm:kgsl & wcnss tweaks (see GitHub)
Add MSM Frequency Limiter driver v3.6
Add Ultrasound & ASoC : qdspv2 tweaks (see GitHub)
RAM OC to 566 MHz
And many more I can't fit in here, so please checkout GitHub.
R5 --> 20/06/2015
Added USB Fast Charge v2
Enabled NEON mode
Added Ex-FAT support
SE Linux tweaks (see GitHub)
zzmoove : set default profile to 2
tune up some governors
Enable intelliplug by default
Random / entropy tweaks
R4 --> 17/06/2015
CPU UC to 96 MHz
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam
Reclaim RAM from loggers, increasing default ram to 883 Mb
Disable gentle_fair_sleepers for increased I/O
Enable unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
Many tick, clockevents & timer tweaks (see GitHub)
Lower swappiness from 60 --> 45
Added optimized ARM_RWSEM algorithm
Force SE Linux permissive
Added state notifier driver
Enabled quick wakeup
NOATIME and NODIRATIME as default
R3 --> 14/06/2015
CPU Govs removed :- wheatley, nightmare, HYPER, darkness, pegasusq, ondemandplus
Added simple GPU Algorithm
3 new CPU Hotplugs added :- intelliplug, alucard, msm-hotplug.
Power effecient Wqs enabled by default
Reclaim RAM from loggers
devfreq:Add conservative governor
devfreq tweaks (see GitHub)
Dynamic FSync added
Intellithermal v2 added
R2 --> 13/06/2015
New CPU Govs added :-
intelimm, intellidemand, intelliactive, smartmax, pegasusq, alucard, impulse, ondemandplus, wheatley, yankactive, nightmare, HYPER, darkness, zzmoove.
New TCP Congestions enabled :-
westwood, cubic, reno, hstcp, hybla, vegas, veno, scalable, lp, yeah, illinois, hctp, advanced, highspeed.
New I/O Schedulers added :-
fiops, vr, zen, sio, bfq, cfq, deadline, noop, tripndroid, fifo
Added KCAL v2 by Savoca
Optimized slub memory allocation
Increase torch power by 20 mA
Added stereo call recording support
psx2usb
Added NVIDEA Power effecient patches
Changed CFlags = Ofast
Optimize sfck compression
Many sched tweaks and optimizations (see GitHub)
R1 --> 12/06/2015
Initial Release
FAQ
FAQ
This kernel does not have X, Y or Z feature. Please add it !
No such requests shall be entertained.
For this device the closer to stock we are, the better it is. Hence no need for "fancy" useless features/tweaks. The main aim of halogen is to bring performance without compromising stability & battery. And that is what I intend to do.
AND if you really want this or that feature which is not there in halogen, please feel free to compile your own builds.
Oh no ! I encountered a BUG !
Upload the file named last_kmsg that located in /proc/last_kmsg. It contains kernel logs. Clearly state the bug / what you experienced along with your current kernel settings. Bug reports without logs will be ignored.
Recommneded settings ?
Halogen is pre-configured for best. For custom settings please google, do some research and you are encouraged to post your own settings in this forum. You can start here.
My battery drained overnight !! Look at these screenshots...
Not a halogen fault. The kernel does not “drain” battery. On Android devices, the kernel provides a mechanism for keeping the phone awake, called a wakelock. Processes running on the device (e.g. apps and services) can ask the kernel for a wakelock, and the kernel will oblige. So yes, the kernel is technically keeping the phone awake, but only because an app or service has asked it to. It is these apps and services that are misbehaving and causing drain, not the kernel. Doze mode, introduced in Android Marshmallow, is designed to limit the time that apps and services can wake up the device.
All thanks to @flar2 for his excellent post.
Wow,
What is better setting for this Kernel ?
legendsbr said:
Wow,
What is better setting for this Kernel ?
Click to expand...
Click to collapse
There is not much to set in this kernel at present. Leave it as it is. Tweak sound to your hearts desire !
What governors & I/O schedulers are already included? Just the "basic" AOSP kernel ones for now?
Yes...
But updates will come soon !!!
You simply did it! Thank you so much!
There is a long way to go but I hope you can add more stuff, not forgetting the DoupleTap to wake up the screen
Testing
NEW BUILD IS UP !!!
[ 12 June, 2015. Version --> R2 ]
New features added :-
** 14 new cpu govs added !!!(check changelog for their names) **
** New I/O schedulers added (added tripndroid) **
** New TCP Congestions added **
** Stereo call recording **
and MUCH, much more......................CHECK CHANGELOG.
Did you know ? :-
With the release of R2, Halogen Kernel becomes the ONLY kernel with maximum number of cpu govs !!! (among all kernels for stock/cm of titan/falcon).
This kernel has around 20 cpu govs !!!
NOTE :-
Try reading this guide by @gsstudios before selecting out among the many CPU Govs.
E _N_J_O_Y !!!
This kernel really works for battery life... Smooth and fast and also improves battery life. Appreciate you're work!
giannis_mathiou said:
This kernel really works for battery life... Smooth and fast and also improves battery life. Appreciate you're work!
Click to expand...
Click to collapse
Thanks for review...
More updates will come soon !
This kernel mainly focuses on audio and battery life.
zakee94 said:
Thanks for review...
More updates will come soon !
This kernel mainly focuses on audio and battery life.
Click to expand...
Click to collapse
Thank you so much for the updates!
Can you make a post with the recommended settings for battery life and the best performance possible?
TiGuy82 said:
Thank you so much for the updates!
Can you make a post with the recommended settings for battery life and the best performance possible?
Click to expand...
Click to collapse
Of course I will....
zakee94 said:
Of course I will....
Click to expand...
Click to collapse
there is something terribly wrong... at boot maximum cpu frequency is set to 384MHz, this give terribly long boot time, stuttery bootanimation and longer time for apps optimization after a rom update
EDIT: temporarily solved with an init.d script, here it is if someone has the same problem https://www.dropbox.com/s/qmcdlljjj0klzaf/cpufreq.zip?dl=0
ktulu84 said:
there is something terribly wrong... at boot maximum cpu frequency is set to 384MHz, this give terribly long boot time, stuttery bootanimation and longer time for apps optimization after a rom update
Click to expand...
Click to collapse
Even I had been facing the bug...BUT I fixed it out and the BUG IS NO MORE !!!
I will be soon releasing the update ! The problem was with some improperly adapted CPU governors which limited the max cpu freq to 384 at boot. I have removed them and now the cpu clocks @ 11190 during boot.
I appreciate your work with the script. Its good, and I hope you will keep supporting my kernel in the future.
@ktulu84
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Sent from my Moto G 2014 using Tapatalk
Is the kernel stable? i'm using cm12.1 for daily use and some of the kernels i've tried always gave me the problem where the logcat is spammed with something liek "failed to acquire lock" everytime i touched the screen, can someone report?
xeraphael said:
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Sent from my Moto G 2014 using Tapatalk
Click to expand...
Click to collapse
Yes I m aware... It will be improved in future versions.
However it does not matter much, Linux handles memory in a different way and will release appropriate ram when required. What really matters is whether you are getting a smooth experience or not.
xeraphael said:
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Click to expand...
Click to collapse
Yes, there are changes in that. As the OP said, it depends on the kernel. Since our device has 1024MB RAM, the remaining RAM gets allocated to Graphics, audio processing, etc. If you are familiar with it, its very similar to Intel & AMD's allocation of RAM to Graphic memory in computers.
Mimori Kernel | Stability for performance
For Xperia M
Based on Lineage OS 14.1 source
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Mimori Kernel based on Lineage OS 14.1 source, and included many improvement and optimization on processor, I/O and include some feature for Xperia M / M dual devices that use Marshmallow as base ROM.
Mimori offered kernel performance, stability, smoothness process on cpu and already have full support on NEON, this kernel need kernel configuration app to control this kernel, so try to find kernel configuration app after flash this kernel.
Recommended Kernel Configuration :
- Kernel Adiutor (BETA)
- Device Control
Okay this is several features that i include in this kernel.
This kernel feature is :
Kernel Features
* Linux Kernel Version 3.4.113
* Compatibility with AOSP,CM And LineageOS based ROM [Android 6.0+]
* Added overclock up to 1,4Ghz
* Added Double Tap 2 Wake Feature (Incl. Vibration)
* Added custom CPU Governor : Alucard,Intelliactive,IntelliMM,Lionheart,Adaptive & Blu Active (specially for Blu Active is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
* Added custom I/O Sched Governor : zen,sio,sioplus,tripndroid,fifo,fiops,vr and maple (specially for maple is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
* Added custom TCP Modules : Advanced,Bic,Westwood,Hybla,Vegas,Veno,Yeah and more
* Added CPU Voltage Table Control
* Implement Power Efficient Workqueues
* Dynamic management of dirty page writebacks
* Added Interface of Gentle Fair Sleepers, Software CRC and Arch Power (Option Disable by Default)
* Added Frandom Support
* Added Dynamic Fsync 2.0
* Entropy Tweaks
* NEON VFPv4 Optimized (hard)
* Added Intelli Plug v4.0
* Added Intelli Thermal v1.0
* Added F2FS File System Support (Based on Linux 3.4.y Branch) (Working)
* Added EXFAT File System Support (Driver Version v1.2.9) (Need Test)
* Added USB Keyboard Support
* Optimized I/O Sched
* Compiled using GCC 5.4.X Hyper Toolchains
* Updated CVE Patch From LineageOS Kernel Source 20171106
[/LIST]
[/LIST]
How to install :
1. Download Mimori Kernel and install it from recovery mode, use TWRP recovery (TWRP Link)
2. install kernel adiutor from Playstore for kernel configuration (i don't have myself app to control kernel) (Try to use BETA version to get fix for CPU temperature)
3. Final step, let's configure kernel like what you want it :victory: and enjoy my first custom kernel
For download, look at download tab on top of this thread
Thanks to :
@PecanCM [For Kernel Source]
@Alex_Gamer [For Kernel Tester & Troubleshoot]
@thichthat [For DT2W Source]
XDA:DevDB Information
Mimori Kernel For Xperia M, Kernel for the Sony Xperia M
Contributors
Nicklas Van Dam, PecanCM, Alex_Gamer
Source Code: https://github.com/Nicklas373/Mimori-Kernel_MSM8227_LineageOS_14.1
Kernel Special Features: Overclocked, ARMV7 NEON Optimized
Version Information
Status: Stable
Current Stable Version: Seventh Build
Stable Release Date: 2018-02-11
Created 2016-09-03
Last Updated 2018-02-19
Kernel Adiutor OTA Update Information
Now for CyanogenMod And AOSP Based ROM, Hana Kernel Offered OTA Update feature for kernel update using kernel adiutor app for CyanogenMod Based ROM with "download" feature in kernel adiutor.
You can download new build in that menu included ; introduce, kernel feature and changelog update. Now i'm still try to enable it on LineageOS too, i'm just need to wait confirmation from the admin .
For anyone want to install this kernel, can access too using KA. just like normal download and installation for kernel :laugh:
Have fun
Kernel Adiutor Information
For Kernel Adiutor Usage
During new stable version of Kernel Adiutor have problem with CPU temperature, now we should use BETA build from Kernel Adiutor to get fix for that problem.
And for set on boot configuration, i'm not recommended it again , since that only can make kernel error during boot up process.
So set kernel when system is already boot is best option for stability and performance.
If kernel adiutor to hard for configure, then you can try Device Control app to manage your kernel.
This app is almost same like KA but it's little simple and more friendly for configuration
Changelog :
Seventh Build (20180211):
- Fixed some upstream issue
- Upstream to 3.4.113 (REBASE change)
- Fix issue with OTG problem (Recovery or System)
- Updated F2FS to latest 3.4.y and misc fixes
Sixth Build (20180122):
- Updated Kernel Security Patch to 20171106 (Based on MSM8960T Source)
- Change GCC to GCC 5.4.X Hyper Toolchains
- Misc fixes with intelli thermal
- Applied last patch with 3.4.113
- Applied security patch with "KRACKS attacks"
- Removed sdcardfs drivers (not used by device)
- Misc CPU Optimization
- Set readahed to 512kb
- Added GPU optimizations flags
- Improve Hard Floating Point for neon-vfpv4
Fifth Build (20171002):
- Introduce IMAGINE Codename
- Upstream Linux Kernel to 3.4.113 based on git.kernel.org
- Revert change of F2FS (back to old source)
- Revert some optimization change
- Added Maple I/O Sched (specially for maple is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
- I/O Sched Optimization for SIO and ZEN
- Enable Interface Of Software CRC
- Misc CPU Optimization
- Added some sched optimization
- Disabled USB Fastcharge v1
- Reverting Permissive, Back to Enforcing
- Added Blu Active CPU Governor (specially for Blu Active is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
- Added Support for Neon VFPv4 With Hard Floating
- Disabled Quick Wake Up Drivers
Fourth Build (20170913):
- Added Optimization on I/O Sched (Improves SSD Speed)
- Misc fixes for conservative governor
- Added F2FS and EXFAT File System Support
- Added Hyper CPU Governor
- Optimized KSM
- Update Intelli Plug to v4.0
- Optimized SLUB
- Set readahed to 256KB
- Added CCACHE for faster kernel building
- Updated CVE Patch (Kernel Security Patch) to 20170826 Based On MSM8960T
- Misc Optimization
- Added Quick Wakeup driver
- BACKPORT F2FS from branch Linux 3.4.y (git.kernel.org)
- Reverting Quick Wakeup Driver
- Added USB Keyboard features
- Updated SDCARDFS Driver
- Misc fixes
Third Build (20170821):
- Little Improvement on CPU Bus Speed
- Added Dynamic Fsync 2.0
- Added Frandom Support
- Added Interface of Gentle Fair Sleepers (Option Disable by Default)
- Misc change on I/O Partitions
- Dynamic management of dirty page writebacks
- Removed "+" Symbol From Kernel Version String
- Implement Power Efficient Workqueues Feature (Enable by Default)
- Revert Alucard CPU Governor to v1.0
- Added Interface of Arch Power Features (Disable by Default)
- Entropy Tweaks
- Build vfp with softfp
- Misc change with cpufreq
- Added Intelli Plug and Intelli Thermal
- Fix Neon VFP
- Upgraded Kernel to 3.4.4
- Change toolchains to Hyper Toolchains GCC 4.9
- Decrease thermal limits to 70c
Second Build (20170817):
- Set kernel as permissive
- Enabling 972Mhz to fix slow response on boot and skipped frequency on system
- Added Custom TCP Congestion
- Added CPU Voltage Control
- Added DT2W Vibration Support
- Added USB Fastcharge v1
- Adapted Some CPU Governor with CPU Freq Table
First Build (20170816):
- INITIAL BUILD
: - Included Custom CPU Governor
- CPU Overclocked to 1.458Mhz
- Using NEON Optimized as VFP
- DT2W Feature
- CPU Optimization Algorithm
- Custom I/O Sched
Kernel Adiutor Configuration
CPU Manager :
CPU Max Frequency : 972Mhz (For Normal Usage) . 1.2Ghz (For Multitasking Usage) & 1.4Ghz (For Hard/Gaming Usage)
CPU Min Frequency : 384Mhz
CPU Governor: Alucard or Interactive (For Normal Usage), Alucard or IntelliMM (For Multitasking Usage) & Lionheart or Intelliactive, Blu Active (For Hard/Gaming Usage)
(Beside that leave it as stock)
Hotplug Manager :
Mpdecision = Disable
Intelli Plug = Enable
Profile = Eco for Performance
(Beside that leave it as stock)
Thermal Manager:
Thermald : Disable
Intelli Thermal : Enable
Core Control : Enable
Frequency Throttle Temperature : 60c
CPU Throttle Temperature : 70c
Thermal Limit Low = 2
(Beside that leave it as stock)
GPU Manager
GPU Max Freq : 400Mhz
GPU Governor : Ondemand or Performance (For Hard Gaming)
I/O Scheduler =
(Leave it as stock)
Misc =
Software CRC Check = Disable
Dynamic Fsync = Disable
Arch Power = Disable (Not really recommended)
Gentle Fair Sleepers = Disable
TCP Congestions = Depends on your need
Option already update during new kernel feature is include
For explanation (cpu hotplug, and i/o sched) check on this thread
CPU Governor : Link- 1 Link-2
I/O Sched : Link
CPU Hotplug :Link - 1 Link - 2
Special Thanks to @gsstudios for guide :laugh:
[INFO] Double Tap 2 Wake & BETA Build
For Double Tap 2 Wake
Try to use kernel adiutor and check in wake tap, after that choose DT2W and enable it using "full'" option and then let's try DT2W features with vibration on mimori kernel
NOTE : BETA Build For Testing (Not Stable)
github/build
For BETA, try to look date for kernel. Find latest one, and anyone can test latest beta if don't want wait for stable update. I can't promise to make fast update for stable source, i don't want to make any problem. so it's better stay at beta and whenever it ready, and it should release on thread :victory:
Thanks.
Garv Maggu said:
Thanks.
Click to expand...
Click to collapse
you're welcome, i'm still working for optimization in armv7 vfpv4 module.
have fun
Updated
New kernel build v1.1 is released with several fix for vfpv4 and neon modules, download link in on download tab.
have try
Great!
Please add dt2w
Niiiice! I was waiting for new release, I'll test it now
Alex_Gamer said:
Niiiice! I was waiting for new release, I'll test it now
Click to expand...
Click to collapse
my laptop is back from service center , and now is time to back :laugh:
romspeed said:
Please add dt2w
Click to expand...
Click to collapse
i will try on next update, it's to hard to add that anyway .
Nicklas Van Dam said:
my laptop is back from service center , and now is time to back :laugh:
Click to expand...
Click to collapse
Good to hear that your laptop its back to rock
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Kb44994 said:
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Click to expand...
Click to collapse
sound is bursting? i think i'm not to modified to sound on this kernel, maybe that's from high cpu usage so that's make sound is distortion. i will try to look at sound option.
[EDIT]
Kb44994 said:
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Click to expand...
Click to collapse
i'm update kernel with clean build and kernel optimilization, i hope that can fix your problem. i'm already compare sound with stock and my kernel. i'm not hear any particular change on sound volume, maybe very little difference, please to wipe dalvik-cache and cache after install this update
Updated
New kernel build v1.2 is released with several clean build for kernel and optimization on kernel compiler to reduce size, download link in on download tab.
have try
Updated
New kernel build v1.3 is released with first stable build , added auto hotplug drivers and more optimization for armv7 and krait processor
download link in on download tab.
have try
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
Features
I/O Schedulers (these were actually added in upstream kernel source)
BFQ
CFQ
DEADLINE
FIOPS
NOOP
ROW [DEFAULT]
ZEN
CPU hotplugs: intelli_plug (ENABLED BY DEFAULT)
CPU thermal control: intellithermal (ENABLED BY DEFAULT)
Governors
conservative
elementalX
intelliactive
interactive
ondemand
powersave
performance
zzmoove [DEFAULT, profile: 3 (ybatext)]
CPU
Support for Multi-Core Power Saving, reduce CPU usage (available in CPU tab of Kernel Adiutor).
Reduced CPU Average-Load drastically (Less CPU-Load=Cool Device=More Battery-Life).
Support userspace CPU voltage controlling
GPU
Support for Adreno Idler algorithm, reduce high GPU frequencies usage for better battery performance
Support for Simple GPU Algorithm
Memory
Support for Adaptive Low Memory Killer (ALMK) (kill any process that cause thrashing scenario)
Support for Kernel Samepage Merging (KSM).
Support for zRAM compression algorithm (updated to upstream Linux 4.8)
Support for LZ4HC (LZ4 high-compression rate) compression algorithm for zRAM
Other tweaks and optimizations
Init.d support
Support Faux Sound Control (use Faux Sound app to set audio gain profiles)
Optimized Integer SQRT. for upto 3x faster operation.
OVERCLOCKED CPU to 2,5GHz
Westwood TCP congestion algorithm (small boost on network speed)
Hacked swappiness up to 200 by using hacks from Samsung kernel sources (default swappiness is 130)
SELinux Permissive (for V4A and etc...)
Disabled some battery-hogging WAKELOCKS
Support zswap for better memory compression
XDA:DevDB Information
RZ Kernel for Sony Xperia Z1 (honami), Kernel for the Sony Xperia Z1
Contributors
remilia15, SuperLamic
Source Code: https://github.com/remilia15/android_kernel_sony_msm8974
Kernel Special Features:
Version Information
Status: Testing
Created 2018-04-04
Last Updated 2018-09-14
Download link: Drive
CHANGELOG
v1.0: Initial release
v1.5: Post #11
v2.0: Post #17
v2.5:
Post #48
Support for stock 14.6.A.1.368: Post #52
v3.0: Post #97
v4.0 [FINAL]: Post #147
Small notes
The kernel is tested on C6902/C6903/C6906 model. Not sure about other Z1 variants (don't confuse with Z1c). Testers are welcome
As written in the thread name, make sure you're on ROMs mentioned in the thread name. Please report if other ROMs work with this kernel
The kernel is based on @SuperLamic's msm8974 kernel source, and other features were cherry-picked from other sources as well. Original credits goes to them
For dt2w, tap 2 fingers at once on your touchscreen (as mentioned in Modified-kernel thread)
Reserved for future usage
Twrp included ?
Any plans for oreo version?
Is it possible to disable dt2w?
I remember way back it was usually done by modifying a file like
echo "1" > /sys/android_touch/ *some dt2w file*
iga64828 said:
Twrp included ?
Click to expand...
Click to collapse
Well, you have to install it separately through FlashTool
pokepokepoke said:
Any plans for oreo version?
Click to expand...
Click to collapse
Maybe, after Oreo gone stable
SUPERUSER said:
Is it possible to disable dt2w?
I remember way back it was usually done by modifying a file like
echo "1" > /sys/android_touch/ *some dt2w file*
Click to expand...
Click to collapse
You can disable it from Kernel Adiutor -> Wake -> DoubleTap2Wake
Or sysfs way:
Code:
echo 0 > /sys/class/input/input1/wakeup_gesture
Sent from my Xperia Z1 using XDA Labs
nice set of features,,,, gonna give it a test
remilia15 said:
The kernel is tested on C6902/C6903 model. Not sure about other Z1 variants (don't confuse with Z1c). Testers are welcome
As written in the thread name, make sure you're on LineageOS 14.1. I haven't tested other N ROMs yet. Please report if other ROMs work with this kernel
The kernel is based on @SuperLamic's msm8974 kernel source, and other features were cherry-picked from other sources. Original credits goes to them
For dt2w, tap 2 fingers at once on your touchscreen (as mentioned in Modified-kernel thread)
Click to expand...
Click to collapse
Bootloops on RR Nougat 7.1.2 (yeah yeah yeah, read the disclaimer on support for other ROMS, just curious to test this kernel). Strange but offline charging works as expected and even booting into TWRP works. But while in TWRP I notice the device temperature begins to rise rapidly, causing it to reboot,,,,,hope this works in future releases. Device: C6902
RZ v1.5 is up! Changes
Implemented power efficient workqueues (thanks to franciscofranco)
Disabled DT2W by default
Enabled multi-core power saving by default
Reverted GPU OC, obviously because it doesn't do anything
Built with UBERTC 4.9
Disabled battery-hogging wakelocks (thanks to franciscofranco)
Enabled intelli_plug and intellithermal by default (you'll need to disable mpdecision from Kernel Adiutor so intelli_plug will work properly)
RZ v1.5 is available on my Drive folder. Please checkout OP for download link!
Cheers,
Confirmed working with latest Carbon N ?
Sent from my Xperia Z1 using XDA Labs
Good work on my c6903 LOS 14.1 SuperLamic.
Nice work. It's working fine on my C6906 running LOS 14.1 from SuperLamic with Magisk installed and working fine too. My phone was charging too slow but now it's fixed.
Hello, remilia15.
Thank you for your work.
This kernel is flash like update.zip in trwp recovery?
Seand1796 said:
Hello, remilia15.
Thank you for your work.
This kernel is flash like update.zip in trwp recovery?
Click to expand...
Click to collapse
Yes, the kernel is packed inside a flashable ZIP, so just flash it through TWRP
RZ v2.0 is up! Changes
Added support for userspace voltage controller (available in Kernel Adiutor)
Added support for Adreno Idler (reduce high GPU frequencies usage due to msm-adreno-tz overhead), and Simple GPU algorithm
Added governors: zzmoove [DEFAULT], elementalX
Disabled mpdecision and thermanager by default (through my own ramdisk implementation, may support other ROMs for sure, as confirmed with Carbon N and LOS N)
Added support for zswap (ported from Samsung msm8974 kernel source)
Added IO schedulers: zen, fiops (default is still ROW)
Added 100MHz GPU step (should reduce battery consumption on light usage)
Added support for Dynamic Fsync (disabled by default), powersuspend driver (default: HYBRID mode)
Reduced CPU standby voltage
Fixed dt2w deep sleep state (it should function properly now)
RZ v2.0 is available on my Drive folder. Please checkout OP for download link!
remilia15 said:
RZ v2.0 is up! Changes
Added support for userspace voltage controller (available in Kernel Adiutor)
Added support for Adreno Idler (reduce high GPU frequencies usage due to msm-adreno-tz overhead), and Simple GPU algorithm
Added governors: zzmoove [DEFAULT], elementalX
Disabled mpdecision and thermanager by default (through my own ramdisk implementation, may support other ROMs for sure, as confirmed with Carbon N and LOS N)
Added support for zswap (ported from Samsung msm8974 kernel source)
Added IO schedulers: zen, fiops (default is still ROW)
Added 100MHz GPU step (should reduce battery consumption on light usage)
Added support for Dynamic Fsync (disabled by default), powersuspend driver (default: HYBRID mode)
Reduced CPU standby voltage
Fixed dt2w deep sleep state (it should function properly now)
RZ v2.0 is available on my Drive folder. Please checkout OP for download link!
Click to expand...
Click to collapse
Hi
thanks for your works buddy
can u make kernel for other roms like RR too?
u can use anykernel :fingers-crossed:
Luncer said:
Hi
thanks for your works buddy
can u make kernel for other roms like RR too?
u can use anykernel :fingers-crossed:
Click to expand...
Click to collapse
I'm using the very first version of AnyKernel with very minimal patching commands
Somehow it's pretty hard for me to adapt to a newer AK version so I decided to write my own noob-friendly ramdisk patching script instead (compatible with all Z1 AOSP boot.img)
My kernel boots currently on LOS N and Carbon N. For RR, idk why it bootloops. Probably need some other kernel commits maybe?
Sent from my Xperia Z1 using XDA Labs
Runs nice..but I needed to flash the stock kernel from superlamic lineage os and then flash this kernel because the phone went in to a bootloop on the sony logo.
Just a reminder to what to do when your next update is coming
edit: no its magisk thats acting up.. wont't boot when installing this after flashing the kernel
Phone is booting with magisk on stock kernel so something is not right.
I don't have more time atm for this so im gonna let it be
[KERNEL][OC/UC/UV] ꓘⓄ - 4.7.1 [DragonTC 8.0 + Linaro 7.3][.147 + 6.2.r1-10500][EOL]
ꓘⓄ KernelEOL NO MORE UPDATES (exams) FLASH ANY OTHER KERNEL
Telegram DISCUSSION & TESTING GROUP
General Improvements:
Built with DragonTC 8.0 and Linaro 7.3 gcc
Always up to date with Linux stable and latest CAF tag
CPU & GPU Improvements:
Overclocked Big cluster to 2.3Ghz and Little to 1.9Ghz
Underclocked Big and little to 300mhz
Undervolted and voltages adjusted
Several CPU Governors available - Chill, Alucard, Nightmare, Ironactive, Cultivation, Impulse, ZZMoove big.LITTLE Edition, Blu active, Tripndroid, Cafactive
Adreno Idler and Adrenoboost available
Network improvements:
Implemented Wireguard VPN support usable with Azire VPN
Enhanced TCP methods - cubic, westwood, vegas, scalable, CHINA, Agile-SD, many more
I/O improvements:
Several I/O control tweaks
Added schedulers - Maple, Zen, Vr, Tripndroid, Sioplus, SIO, FIOPS, Fifo
Adaptive LMK
Added UKSM
Dynamic FileSync toggle
Disabled I/O CRC check for more performance
Screen Improvements:
sRGB and KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
Backlight dimmer for lower minimum brightness
Battery improvements:
USB Fast Charge
Boeffla Wakelock blocker available
Miscellaneous improvements:
Vibrator Strength tunable
Added Nav Bar gesture
Much more, refer git
DOWNLOADS
XDA:DevDB Information
ꓘⓄ Kernel, Kernel for the Asus ZenFone Max Pro M1
Contributors
Sudeep Duhoon
Source Code: https://github.com/SudeepDuhoon/KO.git
Kernel Special Features: Always up to date with linux stable and caf sources, feature rich and stable
Version Information
Status: Stable
Created 2018-07-18
Last Updated 2018-08-16
ChangeLogs :-
v4.7
nu time to update changelogs sry
flash and feel the difference
v4.0
Check github
v2.5
Merged .141 & .142
Merged LA.UM.6.2.r2-04700
Permissive denials logging disabled
Enable core control
Adrenoboost:conservative governor
Allow 320K AAC encoding
Powersuspend PM kernel driver
Gentle fair sleepers disabled by default
State notifier updates and switch removed
TCP congestion algorithm: CHINA & Agile-SD
Governor: Cafactive
Slow charging fix? (test)
Lot more under the hood changes and improvements
v2-
1. Merged .141
2. CPU governors added:-
Chill
Interactive (additions)
Add Support to Display State
Add powersave bias tunable
Add screen off max frequency tunable
3. Fixed min frequency of Little cluster stuck at 1536
4. CRC Check toggle
5. Added KSM, UKSM
6. Added Nav Bar gesture
7. Added Simple GPU Algorithm.
8. Added CAKE packet scheduler
9. Disabled adreno idler by default
10. LZ4 compressor updates
11. O3 Optimizations
12. Turned off Core Control Hotplug and Performance Hotplug (testing)
13. Updated anykernel2
v1-
1. Merged .140
2. Latest CAF Tag
3. CPU governors:-
alucard, nightmare, ironactive, cultivation, impulse, ZZMoove big.LITTLE Edition, blu active, tripndroid.
4. I/O Scheduler:-
Maple, zen, vr, tripndroid, sioplus, SIO, FIOPS, fifo.
5. TCP congestion algorithms:-
cubic, westwood, vegas, scalable.
6. CRC Check disabled (toggle from next build)
7. State Notifier (enabled by default)
8. WakeLock Toggles
9. KCAL Control
10. Arch Power
11. Arch Capacity
12. Gentle Fair Sleepers
13. Powersuspend
14. Enable FP Boost (testing needed)
15. Adreno Idler
16. Adreno Boost
17. CPU Wake Boost
18. Wireguard Support
19. Boeffla WakeLock Blocker
20. Fsync on/off support
21. USB fast charge
22. MSM Preserve Memory
23. File System Improvements
24. Better Decompression Performance
this kernel works only custom or both stock and customrom ?
savijaysalem said:
this kernel works only custom or both stock and customrom ?
Click to expand...
Click to collapse
both
Sudeep Duhoon said:
both
Click to expand...
Click to collapse
does/would usb otg work after flashing this? see my post here. thanks for any help.
This kernel has increased my mobile's memory management score on DOT OS
Steps to flash !!
anandushari said:
Steps to flash !!
Click to expand...
Click to collapse
Download kernel zip ,flash in recovery , wipe cache/dalvik(not compulsory) , reboot
james11705 said:
Download kernel zip ,flash in recovery , wipe cache/dalvik(not compulsory) , reboot
Click to expand...
Click to collapse
do root is required or not
anandushari said:
do root is required or not
Click to expand...
Click to collapse
No , but u need to unlock ur bootloader and flash a custom recovery like twrp or red Wolf , before flashing this zip.
I do not understand half of the things listed in the improvements. However, something caught my attention: USB Fast Charge. Does this means the phone will support fast charging once this kernel is flashed?
After installing. My phone is asking to format sd card and shows currpted. Rebooted and clear dalvik cache same error back to stock kernel. Using stock rom 316
Update 2.5
Merged .141 & .142
Merged LA.UM.6.2.r2-04700
Permissive denials logging disabled
Enable core control
Adrenoboost:conservative governor
Allow 320K AAC encoding
Powersuspend PM kernel driver
Gentle fair sleepers disabled by default
State notifier updates and switch removed
TCP congestion algorithm: CHINA & Agile-SD
Governor: Cafactive
Slow charging fix? (test)
Lot more under the hood changes and improvements
Aftab_khatri said:
After installing. My phone is asking to format sd card and shows currpted. Rebooted and clear dalvik cache same error back to stock kernel. Using stock rom 316
Click to expand...
Click to collapse
send boot time log
don't wipe anything, just reboot
are you using xposed module?
abubin said:
I do not understand half of the things listed in the improvements. However, something caught my attention: USB Fast Charge. Does this means the phone will support fast charging once this kernel is flashed?
Click to expand...
Click to collapse
through USB 3 port, yes
Dumb question.
How should I use boeffla wake lock blocker
Dt2w support?
Sent from my G5 SE using XDA Labs
Sudeep Duhoon said:
send boot time log
don't wipe anything, just reboot
are you using xposed module?
Click to expand...
Click to collapse
How to take log ? And no i don't use xpose its battery hog and makes.device laggy
Is it possible that we get WiFi 5ghz band as the SoC supports it? And also what about Qualcomm quick charge?
How fast does it charge? 3000mA at 4V? Or even more?
=BUTTERFLY KERNEL=
Your warranty is now void!
We're not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at us for messing up your device, we will laugh at you
Features:
Pie base: CAF & Prima Tag by LA.UM.7.6.r1-04500-89xx.0
Oreo base: CAF & Prima Tag by LA.UM.6.6.r1-11000-89xx.0
Legacy base: not updated pure sources from MiCode github
(prima tag LA.UM.7.6.r1-05500-89xx / LA.UM.6.6.r1-11300-89xx.0)
• KCAL color control
• Vibration intensity control
• Sound gain control
• Audio codec quality improved
• exFAT Support
• NTFS support
• F2FS support
• SquahFS support
• CIFS/SMB support
• Added CPU Hotplug (default disabled)
• Set lz4 for better zram work
• Boeffla wakelock blocker
• Added defaults rules for Boeffla wakelock blocker
• Disable vendor verify and set no verity
• CRC32: disable by default & enable toogle (average 30% I/O performance profit)
• Few patches from Franco kernel (disabled a lot of debugging stuff)
• Fsync: on/off support
• Battery deep optimisation: undervolting & additional tweaks
• Added Adreno Real Idler (supported turning it on/off)
• Improved interactive governor (patch from Franco kernel)
• Improved CPU boost, default is disabled (patch from Franco kernel)
• Improved conservative governor (patch from Franco kernel)
• I/O schedulers: noop, deadline, bfq, cfq (default), sio, fiops, maple, tripndroid, zen, anxiety, sioplus, fifo, v(r)
• Added CPU governors: darkness, zzmoove, relax, impulse, electron, nonconservative, lionheart, clarity, blu_active, yankactive, intelliactive, conservativex, ondemandx, interactivex, bioshock, darknessv5, alucard, smartmax_eps, pegasusq, lionfish, hyper, despair, barry_allen, xperience, alessa, chill, ondemandplus, ironactive, culvitation, tripndroid
• Added GPU governors: guardian, balanced, msm-adreno-plus
• TCP congestion algorithms: cubic, reno, westwood (default)
• Installer include fix for Wi-Fi SELinux permission
• Kernel installer also support custom ROMs
• GCam focus fix (thanks @teftel1608 and @33bca)
• GPU: clocks table reworked (lags free, performance grew). OC max gpu freq now is 725MHz
• Added WireGuard 0.0.20190601
• Fix for goodix-fp gestures on stock (thanks to @artyom5613 & @Broomber)
• Also in the v4 installer included fix fpc-fp gestures for the customs rom
now gestures for both fingerprints is are:
* swipe2right - paste text
* others like in rom's setting
(if you not like this - change it in the /system/usr/keylayout/uinput-*.kl)
• Memory & battery life optimization due config settings for kernel
• Added a block to wakelock from wifi
• I/O optimization
• Hide unlocked bootloader state (for apps like bank clients etc)
• Patches from Franco "mido" kernel for battery life improvement
• Added gpu Adreno simple algorithm (beast!!)
• Found a reason for which the CPU could for a long time not to raise the frequency to the maximum, it's all in the file /vendor/etc/thermal-engine.conf
See samples how to improve situation
• Compiled with GCC 9.1.0, which gave an increase in performance and speed of the kernel
• Reworked undervolting, battery lives even longer
• Added voltage control
• Maximum CPU frequency is now 2.4GHz
• EUOC version has a maximum GPU frequency of 750MHz
• added support for display status for CPU Hotplug & some schedulers
• all schedulers that have display status support:
alucard, chill, clarity, cultivation, darkness, electron, impulse, intelliactive, ironactive, nightmare, relaxed, anxiety-iosched and maple-iosched
• added drivers for few USB-Ethernet adapters
• added nightmare and dancedance CPU governors
• updated version with 2.2GHz overclocking
• removed the patch for hiding the bootloader state (there are more problems than good with it)
• new settings for a smooth interface in installer (applied for GSI only)
- DT2W fix for fts_ts [default disabled] (thanks @33bca) * tested on customs and GSIs. for latest maybe need to enable "Handwave gesture" in "Phh Treble Settings" > "Doze features" * #TODO
- Installer include Magisk preserve #TODO
<< download Pie v5.5 || download Pie v4.4 >>
<< download Oreo v5.5 || download Oreo v4.4 >>
undervolted (U) lower voltage for decrease overheat. also incredible battery saving
overclocked (OC) CPU max frequency is 2.4GHz, GPU max frequency is 725MHz
extra-overclocked (E) GPU max frequency is 750MHz (if you will face with graphical glitches - don't use it!)
Installations:
Backup boot.img, /system/lib/modules, /system/usr/keylayout and /vendor/lib/modules folders, /vendor/bin/init.qcom.post_boot.sh file if you want to go back
Flash Zip file with any TWRP recovery, wipe Dalvik cache, reboot and enjoy ^_^
Notice: if you have Magisk with modules installed maybe you'll get bootloop.
If you have Magisk don't need reinstall it after kernel because installer will save Magisk #TODO
Right way: if you have Magisk and modules - deinstall all. Then flash stock boot.img, then custom kernel, then other stuff like TWRP and Magisk.
Enough just dirty flashing kernel and then Magisk if you need it. All yours Magisk modules will preserved.
Issues:
- DT2W not work for fts_ts touchscreen
- tell me if find
XDA:DevDB Information
Butterfly kernel for Xiaomi Mi A2 Lite "daisy"
Contributors:
eremitein
Source Code:
https://github.com/eremitein/xiaomi_kernel_msm8953_daisy_butterfly
CREDITS:
All people, who made good code for this platform
Version Information
Status: Stable/Experimental
Release Date: 2019-04-15 (UTC +0)
Created: 2019-04-07
Last Updated: 2019-08-08
.
=VARIOUS POWER PROFILES=
[BATTERY DEEP BACKUP]
CPU governor: conservative
CPU max freq: 1804 MHz
GPU governor: msm-adreno-tz or guardian
Adreno idler: on
Tune Boeffla Wakelock Blocker: read this manual
CPU Hotplug: see attached screenshot
# Give ~10 minutes SOT per 1% battery while web browsing #
[NORMAL MODE]
CPU governor: ondemand / interactive
CPU max freq: set highest
GPU governor: msm-adreno-tz or balanced if lagzzs)
Adreno idler: on
CPU Hotplug: off
# Give ~8 minutes SOT per 1% battery while web browsing #
[PERFORMANCE MODE]
CPU governor: intelliactive, blue_active or nonconservative
CPU max freq: set highest
GPU governor: performance or msm-adreno-plus
Adreno idler: on
CPU boost: on
CPU boost freq: set to 1.84, 2.0 or 2.2GHz
CPU Hotplug: off
# Give ~5 minutes SOT per 1% battery while web browsing #
.
I will not help users if they are:
- using Magisk and moreover they installed modules;
- made any kernel settings (selected exotic governors, turned on hotplug and etc.);
- using option "Disable HW overlays";
- not sure that the same problems were not on the standard kernel
- not follow installation guide
All OC versions is always have CPU 2.2GHz
if not for you, then this is maybe if:
- you SoC/voltageregulator/phone doesn't support overclocking
- your device overheated due high outside temp or high load
- you system set restrictions to overclocking
.
Now im using CAF kernel with stock rom i want to flash butterfly what should i do delete CAF then install it??and for magisk delete all modul ?
hendri88 said:
Now im using CAF kernel with stock rom i want to flash butterfly what should i do delete CAF then install it??and for magisk delete all modul ?
Click to expand...
Click to collapse
yes, thats right
you may try dirty install but this is not a guarantee what system boot due to magisk specific
best way is remove all modules from magisk, remove magisk via flashing stock kernel and then boot to twrp and install butterfly
eremitein said:
yes, thats right
you may try dirty install but this is not a guarantee what system boot due to magisk specific
best way is remove all modules from magisk, remove magisk via flashing stock kernel and then boot to twrp and install butterfly
Click to expand...
Click to collapse
Ok i will try it thx bro
added power modes samples
https://forum.xda-developers.com/showpost.php?p=79288538&postcount=2
May I ask if this kernel could be modified so we can overclock? How exactly do we need to go about and do the modifications to the PLL tables? It'd be great if you could help out and make a tutorial or something.
Zewyni said:
May I ask if this kernel could be modified so we can overclock? How exactly do we need to go about and do the modifications to the PLL tables? It'd be great if you could help out and make a tutorial or something.
Click to expand...
Click to collapse
no, this build haven't overclock feature
Kernel updated (download v2)
Changelog v2:
Pie CAF & Prima updated to LA.UM.7.6.r1-04500-89xx.0
Improved interactive CPU governor (patch from Franco kernel)
Improved CPU boost and enable it (patch from Franco kernel)
Reworked conservative and nonconservative CPU governors
Reworked guardian, balanced and msm-adreno-plus GPU governors
Kernel installer now also support custom ROMs
Also have some changes in Power profiles
The touch sensetivity is somehow better with this kernel but I really miss dt2w... I'll be testing it for the week, hope you can fix dt2w! Thanks for your work on our device!
Eddie_53 said:
The touch sensetivity is somehow better with this kernel but I really miss dt2w... I'll be testing it for the week, hope you can fix dt2w! Thanks for your work on our device!
Click to expand...
Click to collapse
dt2w not supporting due missing stuff in official Xiaomi kernel sources
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/issues/1044
I can confirm that touch sensitivity is better on this Kernel. Gcam also runs smoother!
ExFAT support doesn't seem to be working though. I've tried to read an SD Card ExFAT formatted and it didn't work (corrupt error message).
eremitein said:
=VARIOUS POWER PROFILES=
[BATTERY DEEP BACKUP]
CPU governor: conservative
CPU max freq: 1689 MHz
GPU governor: guardian or msm-adreno-tz
Adreno idler: on
Tune Boeffla Wakelock Blocker:read this manual
CPU Hotplug: see attached screenshot
# Give 10-12 minutes SOT per 1% battery while web browsing #
[NORMAL MODE]
CPU governor: ondemand / interactive
CPU max freq: 2016 MHz
GPU governor: msm-adreno-tz or balanced if lagzzs)
Adreno idler: on
CPU Hotplug: off
# Give ~6 minutes SOT per 1% battery while web browsing #
[PERFORMANCE MODE]
CPU governor: nonconservative
CPU max freq: 2016 MHz
GPU governor: performance or msm-adreno-plus
Adreno idler: off
CPU Hotplug: off
# Give 4-5 minutes SOT per 1% battery while web browsing #
.
Click to expand...
Click to collapse
How to switch from one profile to another? I have kernel adiutor installed but there is no profile I the kernel section to select. Thanks to everyone answer and to the Dev for his work. Sorry for my English
Kr47os said:
How to switch from one profile to another? I have kernel adiutor installed but there is no profile I the kernel section to select. Thanks to everyone answer and to the Dev for his work. Sorry for my English
Click to expand...
Click to collapse
you may create various profiles in Kernel Aduitor
Tools > Profile
and which rom you using?
eremitein said:
you may create various profiles in Kernel Aduitor
Tools > Profile
and which rom you using?
Click to expand...
Click to collapse
I'm using stock ROM Pie 10.0.4 update version.
Kernel updates (see topic)
Changelog v2.99:
Added new builds:
- Oreo base CAF & Prima Tag by LA.UM.6.6.r1-11000-89xx.0
- Legacy base (not updated pure sources from MiCode github)
- Installer totally fixed for support wifi on custom roms
Oreo base is only for oreo vendors (9.6.x.0 versions)!!!
Why i built this and legacy variants?)
For compatibility. Because some people still using oreo stock or 8.1 vendor with GSI
BJumperBR said:
I can confirm that touch sensitivity is better on this Kernel. Gcam also runs smoother!
ExFAT support doesn't seem to be working though. I've tried to read an SD Card ExFAT formatted and it didn't work (corrupt error message).
Click to expand...
Click to collapse
for clean testing exFAT you need should be sure what ROM have support this FS
if with other kernel on your rom exfat work then, yeahh, something wrong with my kernel exfat
thanks for feedback)
eremitein said:
for clean testing exFAT you need should be sure what ROM have support this FS
if with other kernel on your rom exfat work then, yeahh, something wrong with my kernel exfat
thanks for feedback)
Click to expand...
Click to collapse
I'm on Stock ROM 10.0.4.0.
So, no exDAT support, right?
I am undecided whether to stay in oreo with this kernel or pie always switch to this kernel.
It is wrong to ask, instead of trying, but I don't have much time to test
No one with any feedback on the battery and stability?
(Noob question, what is it the difference of legacy kernel? )