[KERNEL] DragonHeart CAF 3.18.140-msm

Search This thread

eremitein

Senior Member
May 16, 2017
1,186
1,521
Xiaomi Mi A2 Lite
=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


.
 
Last edited:

eremitein

Senior Member
May 16, 2017
1,186
1,521
Xiaomi Mi A2 Lite
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


.
 
Last edited:

akkh99

Senior Member
Mar 1, 2014
120
23
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


.
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?
 

Veran125

Senior Member
Jun 26, 2013
68
9
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?
 
  • Like
Reactions: HeyImVitor

eremitein

Senior Member
May 16, 2017
1,186
1,521
Xiaomi Mi A2 Lite
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?
i wrote "have"
not "run"

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?
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
 

eremitein

Senior Member
May 16, 2017
1,186
1,521
Xiaomi Mi A2 Lite
@eremitein is it possible to add voltage control interface so we can control it ourselves in ie. Kernel Adiutor ?
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

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??
please, people, please - read first and third posts and you'll find all answers:angel:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    =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


    .
    6
    DragonHeart kernel updated to v3

    for customs || for stock


    Changelog

    • Found and fixed two errors in the installer. Important fix, update required!
    Now all necessary settings should be automatically applied even to the stock rom without additional manipulations (z-ram, interactive, etc.)
    • 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


    For stock builds:

    • Compiled with GCC 4.9
    • Removed "hide bootloader state" patch



    BEFORE INSTALL YOU MUST READ THIS and THIS


    .
    5
    DragonHeart kernel updated to v2.1

    https://yadi.sk/d/b9IGc5vYXtMJdg/v2.1


    Changelog

    • returned stock driver for the focaltech touch panel (ghost taps - goodbye! dt2w, you also goodbye !!)
    • found the 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
    attached are three examples of config how to fix the situation.
    do not ask how to install and etc. everything is in Google, I just shared)



    BEFORE INSTALL YOU MUST READ THIS and THIS


    .
    5
    Download DragonHeart v3.3 || DragonHeart v2.2

    Changelog

    • updated base & wifi driver to latest CAF tag
    • 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)
    • compiled with GCC 4.9



    BEFORE INSTALL YOU MUST READ THIS and THIS


    .