[KERNEL][7.1.X/8.X/9.X/Stock 5.1.1] RZ Kernel for Sony Xperia Z1 - Xperia Z1 Android Development

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

Related

[DISCONTINUED][KERNEL][5.1][CM] Phoenix Kernel v1.6 [18-February-2016][OC CPU + GPU]

DISCONTINUED
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 laugh at you.
*/
Hello guys, here I'm introducing a custom kernel for our Moto X Play, based on Squid Kernel . Full credits goes to him:fingers-crossed:. I only added some tweaks and more is coming soon. No more blah blah...
Features:
Reduced VFS cache pressure
Disabled noatime and nodiratime
Dirty ratio tweaks
Enabled Arch power and Disabled GFS
Asynchronous I/O latency to a solid-state disk greatly increased
Optimized SLUB
VM_MAX_READAHEAD set to 1024 kbytes
Optimize apply_slack for size and speed - thanks to varunchitre15
Forward port Dynamic Fsync to Linux 3.10 by varunchitre15
Disabled MMC CRC check
Enabled some extra TCP Congestion Controls
Use all cores on-boot for faster bootup
HMP-aware task placement
Code:
[B]CPU Hotplugs:[/B]
[SIZE=2][STRIKE]Bricked Hotplug[/STRIKE]
MSM Hotplug
[STRIKE]MAKO Hotplug
ZEN_DECISION Hotplug
AUTOSMP Hotplug
MSM SLEEPER[/STRIKE][/SIZE]
Code:
[B]CPU Governors:[/B]
[SIZE=2]LIONFISH
SMARTMAX
BLUACTIVE
SMARTASS2
INTELLIACTIVE
INTERACTIVE_PRO
ZZMOOVE
ALUCARD
BARRY_ALLEN
BIOSHOCK[/SIZE]
How to install:
Download Phoenix kernel flashable zip
Copy it into SD Card
Reboot into custom recovery
Install zip from SD Card
Credits:
squid2 (for the GPL source)
varun.chitre15 (for the GPL source)
Kunal.Kene.1797 (for the GPL source)
HridayHS (for the GPL source)
Shoaib05 (for the GPL source)
Motorola
XDA
Google
Missed you ? sorry pm me I'll add you
Downloads:
See the attachment or Download
*** v1.5 and above are not compatible with Stock 5.1 roms ***​
Click to expand...
Click to collapse
XDA:DevDB Information
Phoenix Kernel, Kernel for the Moto X Play
Contributors
AnoopKumar, squid
Source Code: https://github.com/HelllGuest/phoenix_kernel_lux
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2015-10-24
Created 2015-10-24
Last Updated 2016-02-18
Change log
v1.0 2015 October 24
Initial release
v1.1 2015 November 03
Up to date with Squid Kernel
Added frandom
Network speedup tweak
kernel/sched/fair: reduce latency
power: process: drecrease time to enter sleep
defconfig Enable NTFS,CIFS
Added intelliactive - Paul Reioux
Added smartass2 - Erasmux
Added bluactive - Mike Chan,engstk
Added interactive_pro - Mike Chan
Added smartmax-maxwen
v1.2 2015 November 14
Up to date with Squid Kernel
Added Bricked Hotplug - showp1984
Added MSM Hotplug - myfluxi
Disabled IOSCHED_TEST
v1.3 2015 November 26
Updated Lionfish
Wake mod s2s added
Disabled Bricked Hotplug and added MSM Hotplug as default
v1.4 2015 December 26
Up to date with Squid Kernel
Reduced swappiness to 30
Reduced lag
Some minor fixes too
v1.5 2016 February 08
Up to date with Squid Kernel
Linux 3.10.96
Reduced lag
Improved smoothness
Updated Powersuspend
Adreno idler by arter97
320K AAC Encoding
SELinux: permissive
Compiled with Phoenix GCC 5.2
v1.6 2016 February 18
Up to date with Squid Kernel
Overclocked CPU + GPU
Added zzmoove - Zane Zaminsky
alucard - [email protected]
barry_allen - Javier Sayago
bioshock - James Jamison
Added support for CRC Toggle
Optimized Console FrameBuffer for upto 70% increase in Performance
Optimized Integer SQRT. for upto 3x faster operation
Optimized Task-Search for upto 6% increase in Performance
Reduced RQ Lock-Contention for upto 0.7% increase in Performance
Enabled High-Priority WorkQueue for DevFreq
Fixed High-Load Average due to Drivers
Fixed Reporting of GPU Frequency
MSM_HOTPLUG: min 2 cpu while screen off
msm8939: overclock lux big cluster to 1709 MHz
msm8939: overclock lux little cluster to 1209 MHz
msm8939: overclock GPU to 700MHz
Aren't hotplugs like MSM hotplug, bricked hotplug etc. meant for qcom quad core/krait CPUs? I'm not sure how they'd behave on big.LITTLE. Even the governors, I'm not sure they are adapted to big.LITTLE.... could you shed some light on it? Also, your commit history looks like a kang job.... you should clear that out.
Just tried it and now my phone is rebooting every 30 seconds, clearly there are some problems.
Even flashing other kernels or the stock one from cm 12.1 isn't working ( I also restored the libs ), I had to flash the rom again with a full wipe, sorry but had no time to make a logcat.
It looks like kanged only because I manually committed changes from Yu Yreka's custom kernel source... Because I'm having slow Internet connection. Credits are given in the thread.. I think hotplug is working...
AnoopKumar said:
It looks like kanged only because I manually committed changes from Yu Yreka's custom kernel source... Because I'm having slow Internet connection. Credits are given in the thread.. I think hotplug is working...
Click to expand...
Click to collapse
Tbh cherry-picking commits doesn't need a fast internet connection. (I myself have picked commits on a 512 kbps internet) and credits need to be given in the commit, otherwise it counts as a "kang".
Also, credits for bricked hotplug and alucard hotplug etc. haven't been given even in the thread.
Pardon me.. I will fix it give me some time
AnoopKumar said:
Pardon me.. I will fix it give me some time
Click to expand...
Click to collapse
No problem. Just wanted to alert you, because there are a lot of wolves out there who'll trouble you a lot for unretained commit authorship.
Nice work AnoopKumar. Added to index
eskamhl said:
Just tried it and now my phone is rebooting every 30 seconds, clearly there are some problems.
Even flashing other kernels or the stock one from cm 12.1 isn't working ( I also restored the libs ), I had to flash the rom again with a full wipe, sorry but had no time to make a logcat.
Click to expand...
Click to collapse
Thank you for the feedback.. Some issues are removed and added new zip
Quasar said:
No problem. Just wanted to alert you, because there are a lot of wolves out there who'll trouble you a lot for unretained commit authorship.
Click to expand...
Click to collapse
Bro removed all kanged commits.
Perfect, working 100%!!
Amazing Kernel! Kernel running smoothly, show the ball ! All that remains is to add Faux'123 Sound Control functionality.
No more additional cpu governor on the last version?
Nico3d3 said:
No more additional cpu governor on the last version?
Click to expand...
Click to collapse
Actually I removed them because of some authorization issues...
Abravanelsenor said:
Amazing Kernel! Kernel running smoothly, show the ball ! All that remains is to add Faux'123 Sound Control functionality.
Click to expand...
Click to collapse
Stay tuned its coming in the next version.
AnoopKumar said:
Stay tuned its coming in the next version.
Click to expand...
Click to collapse
Possible to incorporate D2W?
Thanks :good:
possible installation in the RR 5.5.8 ? No Bootloop ?
FilipeRgz said:
possible installation in the RR 5.5.8 ? No Bootloop ?
Click to expand...
Click to collapse
Currently i'm on pac rom, not faced any bootloop.
brom25 said:
Possible to incorporate D2W?
Thanks :good:
Click to expand...
Click to collapse
Im working on that too. Only sweep2sleep working now
AnoopKumar said:
Currently i'm on pac rom, not faced any bootloop.
Click to expand...
Click to collapse
I'll back up and install for testing, thanks

[6.0+]Mimori Kernel [AOSP & Lineage OS Based ROM]

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

[KERNEL][3.10.108][Dec 01] Vegito 7.1/7.05 (Moto G4/G4 Plus)

Vegito Kernel for Moto G4 & G4 Plus
#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
Click to expand...
Click to collapse
Features:
KCAL advanced color control [V2](RGB, Saturation, Value, Contrast, Hue)
AnyKernel2 by @osm0sis
Compile using Linaro toolchain 4.9
CPU Overclocked to 1651 Mhz ( big clusters ) & UnderClocked to 249 Mhz ( Little clusters )
OverClocked GPU to 600MHz
Init.d support
Dynamic Fsync - A driver originally written by faux123- Disables Fsync when phone is being used causing significant IO boost.
Backlight dimmer option
Fsync toggle on/off
Updated to Latest Linux 3.10.108
Reduced idle power consumption
Wakelocks blocked by default thanks to @franciscofranco
Optimized ARM RWSEM algorithm
zSwap support - A Virtual compressed memory pool - Can be used as a swapping devices for extra RAM.
Added iosched switcher by @Sultanxda This enables a driver that switches the I/O scheduler for a single block device to Noop when the screen turns off, and back to its original I/O scheduler after a delay when the screen is turned back on
Disabled Gentle fair sleepers
Enabled arch power
Mild Undervolt
Add blink support to kernel
USB Fast Charge Support
Added FIOPS I/O Scheduler
Added SIO I/O Scheduler
Added Zen I/O Scheduler
Support for Fast-IDLING of CPU
Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
Support for the new PowerSuspend algorithm.
Optimized Console FrameBuffer for upto 70% increase in Performance.
Improved square root algorithm.
Added Faux sound control 3.6
Disabled some debugging.
Added simple GPU Algorithm - An add-on for MSM-Adreno TZ GPU Governor. Developed by @faux123.
Governors enabled: conservativex, interactive
Frandom driver- Fast Kernel Number Generator.
Intelli_thermal v3.0: initial coding for Linux 3.10 Qualcomm kernels.
Add sysfs interface to control intensity.
Fix simple_ondemand crashing
zRAM Support with LZ4 compress
Power efficient workqueue patches
Kernel Samepage Merging
NTFS File System Support
Added bunches of TCP Congestion Algorithm
CPU Boost
Hotplug boost.
Wakeup boost.
State notifier integration.
Downloads
Vegito 7.1 ( Stock 7.0 )
Vegito 7.5 ( Lineage based 7.X.X)
Vegito 3.0 ( Marshmallow )
Google+ Community (Beta testing and releases)
https://plus.google.com/u/0/communities/107248021342303532678
Important:
Do not flash this over other custom kernels!
You should only flash Vegito over the kernel that came with your ROM
Recommended App
Presenting my very own app to control kernel settings. Find it here - Vegito Kernel Manager
Reporting bugs
Grab a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues) right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
See how to submit a bug report for the appropriate place to report your bug
INSTRUCTIONS
Just flash the zip in twrp and you are good to go!
XDA:DevDB Information
Vegito Kernel, Kernel for the Moto G4 Plus
Contributors
Dreamstar
Source Code: https://github.com/nikitsharma15/Vegito_Athene/
Kernel Special Features:
Version Information
Status: Beta
Created 2016-09-13
Last Updated 2017-12-01
Reserved
Announcement
Introducing my own app to update my kernels within 1 click.
Get it from play store- Vegito Kernel Updater
Please Rate or give your feedback for this app.
Vegito 6.8 - 26/May/17
Code:
Merged latest Lineage OS kernel source
Vegito 6.2 - 13/May/17
Code:
-zSwap support - A Virtual compressed memory pool - Can be used as a swapping devices for extra RAM.
-Reduced idle power consumption
-Wakelocks blocked by default thanks to @franciscofranco
-Merged latest Lineage OS kernel source
-Major fixes & cleanup
Vegito 6.2 - 25/March/17
Code:
-Power efficient workqueue patches (squashed).
-Cpufreq: interactive: reduce timer with screen off
-GPU drivers compiled with device specific Cortex-A53 optimizations
-Kernel: reduce overheat
Vegito 6.0 - 06/feb/17
Code:
-Add blink support to kernel thanks to @JackpotClavin
-SELinux set to permissive
-Fix simple_ondemand crashing
Vegito 5.8 - 28/Jan/17
Code:
-Some tweaks for fast charging
-NTFS R/W Support
-Compatible with systemless root
-ZRAM with lz4 compress.
Vegito 5.5- 21/Jan/17
Code:
-Stock nougat supported
-Live Kernel flashing with backup support for previous kernel - Liverepack implementation of @psych.half is used, which also backs up your previous kernel (boot.img) and other system files which would be changed.
Vegito 5.0- 22/Nov/16
Code:
-Added ZSWAP
-Faux sound control 3
-CyanogenMod 14.1 support
-Support for Fast-IDLING of CPU
-Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
-Support for the new PowerSuspend algorithm.
-Optimized Console FrameBuffer for upto 70% increase in Performance.
-Support for CRC-Toggle (Disabled by Default in Misc. TAB).
-Support for Larch Power feature (should improve Battery-Life).
-Improved square root algorithm.
-Disabled some debugging.
-Added simple GPU Algorithm
-Added Adreno idler GPU Alogrithm
Vegito 4.0- 29/Oct/16
Code:
-Nougat support
-NTFS File System Support
-Dynamic Fsync update
-Some other changes which I do not remember.
Vegito 3.0- 21/Sep/16
Code:
-Added USB Fast Charge Support
-Added Darkness Governors
-Disabled Gentle fair sleepers
-Enabled arch power
Vegito 2.0 - 16/Sep/16
Code:
-Added MSM Hotplug driver
-Added AutoSMP Hotplug driver
-Added ThunderPlug Hotplug driver
-Removed various debug traces
-Other optimizations
Vegito 1.0
Code:
- Initial Release
Great job!
Sent from my MotoG(4) using Tapatalk
---------- Post added at 05:13 PM ---------- Previous post was at 05:05 PM ----------
Can I flash it through twrp with elementalx kernel??
Sent from my MotoG(4) using Tapatalk
Pranav Kumar said:
Great job!
Sent from my MotoG(4) using Tapatalk
---------- Post added at 05:13 PM ---------- Previous post was at 05:05 PM ----------
Can I flash it through twrp with elementalx kernel??
Sent from my MotoG(4) using Tapatalk
Click to expand...
Click to collapse
yes
Awesome kernal! benchmark results looks better with this kernal!
Thank-you!!!!???
Sent from my MotoG(4) using Tapatalk
Is this g4plus only or will it work with xt1625?
Screw it. I'll try.
:edit: boot looping on xt1625
Could you port it to Moto G4?
Enviado de meu Moto G (4) usando Tapatalk
Does it work with custom ROMs ?
Sorry my bad...didnt read the heading
does it need supersu (for wifi , like ElementalX) ?
bobthesalesclerk said:
Is this g4plus only or will it work with xt1625?
Screw it. I'll try.
:edit: boot looping on xt1625
Click to expand...
Click to collapse
your r on stock rom ?
Dreamstar said:
your r on stock rom ?
Click to expand...
Click to collapse
Nope. And that's why we have nandroids. For illiterate people like myself. I will delete my previous comment.
nice! new kernel for G4, (you could identify the device on the title, I think..) good work bro
I go to test... in xt1640
V-2.0 Update
Changelog
Added MSM Hotplug driver
Added AutoSMP Hotplug driver
Added ThunderPlug Hotplug driver
Other optimizations
i flashed this over the elemental kernel and suddely my SU wasn't working anymore i'm on 1642
can you add governor darkness?
stkpxl said:
I flashed it over stock and lost root. Just required me to root again and all is well. So far so good for the XT1625. Haven't started tweaking yet, though.
Click to expand...
Click to collapse
Same here, I had to flash Super SU binary again to get root on XT1643
Can you add Darkness & Alucard!?
On XT1621 Boots ok, but after performing a Benchmark with Antutu, Stock Kernel gots 44195, with this Kernel hardly it gets 42111 and cause battery drain (10% less in 7 minutes with only screen on)
Hardly recommend to backup Wifi Driver on location \system\lib\modules for future Restore on this device

[KERNEL] Butterfly for daisy

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

[KERNEL] DragonHeart CAF 3.18.140-msm

=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:

Categories

Resources