FORUMS
Remove All Ads from XDA

[KERNEL] DragonHeart CAF 3.18.140-msm

756 posts
Thanks Meter: 482
 
By eremitein, Senior Member on 13th June 2019, 01:09 PM
Post Reply Email Thread
=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_...sy_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


.
The Following 15 Users Say Thank You to eremitein For This Useful Post: [ View ] Gift eremitein Ad-Free
13th June 2019, 01:25 PM |#2  
OP Senior Member
Thanks Meter: 482
 
More
reserv
13th June 2019, 01:25 PM |#3  
OP Senior Member
Thanks Meter: 482
 
More
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


.
The Following 3 Users Say Thank You to eremitein For This Useful Post: [ View ] Gift eremitein Ad-Free
13th June 2019, 02:38 PM |#4  
Senior Member
Thanks Meter: 19
 
More
also for oreo?
13th June 2019, 03:04 PM |#5  
marstonpear's Avatar
Senior Member
Thanks Meter: 112
 
More
What are the differences between this and ButterFly kernel?
13th June 2019, 03:05 PM |#6  
Senior Member
Thanks Meter: 34
 
More
whats the difference between this and butterfly? changelog looks the same
13th June 2019, 03:41 PM |#7  
Junior Member
Thanks Meter: 1
 
More
Same butterfly only upsteam
13th June 2019, 03:50 PM |#8  
Junior Member
Thanks Meter: 0
 
More
How to change from butterfly kernel? Just dirty flash?
13th June 2019, 05:09 PM |#9  
OP Senior Member
Thanks Meter: 482
 
More
Quote:
Originally Posted by Henki98

also for oreo?

never. this base have only pie kernel

Quote:
Originally Posted by Sonthaya

Same butterfly only upsteam

you right)

Quote:
Originally Posted by syukri95

How to change from butterfly kernel? Just dirty flash?

yes
The Following 2 Users Say Thank You to eremitein For This Useful Post: [ View ] Gift eremitein Ad-Free
13th June 2019, 05:59 PM |#10  
Senior Member
Thanks Meter: 23
 
More
Quote:
Originally Posted by eremitein

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?
13th June 2019, 06:11 PM |#11  
Senior Member
Flag Delhi
Thanks Meter: 1,939
 
Donate to Me
More
@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.
Post Reply Subscribe to Thread

Tags
caf, daisy, kernel, msm, xiaomi

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes