Kernel only support stock MIUI, No Lineage/Oreo SUPPORT!!!
Kernel is based on sagit-oss and some CAF patches and some upstream backports, kernel is for my own use, so don't expect too much on it for fancy features
Disclaimer
/* * * Your warranty is now void. * We are not responsible for anything that may happen to your phone by installing any custom kernels. * You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers. * */
What inside this kernel:
Kernel support MIUI 7.11.23
Kernel compiled with GCC 7.2 Android Bionic 64Bit
Kernel build with -O2 with full optimization
Kernel build with debug disabled to improve performance
Kernel updated up to 4.4.104 build.
Kernel operate in 300HZ
Kernel include IPA/TIMERFD/WIFI/NETLINK wakelocks removal code by @franciscofranco
Kernel include open source QUALCOMM Wi-Fi driver updated to max without debugs.
Kernel include advanced binder driver from main line 4.10.y kernel.
Kernel include latest F2FS driver for 4.4.y with fixes for ICE(not tested yet)
Kernel include ZEN,NOOP,CFQ,MAPLE govs
Kernel includes Blu_active, Interactive Performance CPU GOVS.
Kernel support FSYNC mode for FS. (Off by default)
Kernel includes ARM enhanced performance and battery patches
Kernel includes random driver backported from mainline
Kernel includes fast finger print sensor mod when screen is off.
Kernel includes @FLAR2 sound/mic gain control interface.
Kernel include boost to I/O by mounting partitions with optimized flags,
Kernel include fix to various selinux warning in stock kernel
Kernel include ext4 improvement backports
Kernel include memory allocator improvement backported from 4.6 kernel
Download and Installation
Check github release page and use fastboot to flash it
Releases
Release v1.2
* memory allocator improvements backported from upstream 4.6
Release v1.1
* ext4 file improvements backports
Release V1.0
* Initial release, see github commits for what inside
XDA:DevDB Information
UNKNOWN, Kernel for the Xiaomi Mi 6
Contributors
lance.zhou, Neo
Source Code: https://github.com/carck/sagit_kernel
Kernel Special Features:
Version Information
Status: Beta
Created 2017-12-05
Last Updated 2017-12-07
Hey, on GitHub are two source codes, i have to compile them or you didnt upload kernel image?
Cfibel said:
Hey, on GitHub are two source codes, i have to compile them or you didnt upload kernel image?
Click to expand...
Click to collapse
I forgot to upload the image, now it is there.
lance.zhou said:
I forgot to upload the image, now it is there.
Click to expand...
Click to collapse
Thanks
MokeeOS support?
Android 7.1
abc0922001 said:
MokeeOS support?
Android 7.1
Click to expand...
Click to collapse
Nope, In the first post say "only miui support"
Enviado desde mi MI 6 mediante Tapatalk
Kaneki said:
Nope, In the first post say "only miui support"
Enviado desde mi MI 6 mediante Tapatalk
Click to expand...
Click to collapse
but I tried, can't reboot lol
abc0922001 said:
but I tried, can't reboot lol
Click to expand...
Click to collapse
Do you mean you can boot MIUI with this kernel? any logs
lance.zhou said:
Do you mean you can boot MIUI with this kernel? any logs
Click to expand...
Click to collapse
no, I use MokeeOS Android 7.1.2
I can't boot MokeeOS with this kernel
Related
Hi everyone, I would like to share my personal u11+ kernel here. I am an amateur and love to cook kernel (previously >LG Nitro HD Wind kernel) for my own daily device.
OFC, Performance, Battery life and Stability aimed.
Hopefully you enjoy!
Changelog
r2
undervolted & lower freq step [email protected],[email protected] (credit: freak07)
add kcal supported
add wq_power_efficient toggle & on by default (credit: matthewdalex)
add fsync toggle & off by default (credit: franciscofranco)
updated cfq i/o scheduler & set it to default
linux v4.4.128
removed some unused drivers in defconfig
misc patches added & reverted some patches/tweaks in r1
r1
base: u11+ tw 1.05.709.12
merged: u11 tw 2.42.709.1_R2
upstream: Linux v4.4.78 -> v4.4.126
lowmemorykiller commits for managing free ram properly
i/o scheduler: maple
tcp: westwood
power-efficient workqueues
boeffla's generic wakelock blocker
misc patches/hacks for responsiveness and battery, view commits for detail
>download here<
Installation
save in external sd
flash via TWRP
optional: backup boot partition
>source<
Credit
nathanchance - linux upstream conflict fixes
tbalden - verity patch
boeffla - generic wakelock blocker
osm0sis - anykernel2
and developers sharing their source
XDA:DevDB Information
Wind Kernel, Kernel for the HTC U11+
Contributors
lyfkevin
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: r2
Beta Release Date: 2018-04-06
Created 2018-04-06
Last Updated 2018-04-06
Which security update is this on?
bosmon said:
Which security update is this on?
Click to expand...
Click to collapse
Stock one. I didnt touch it yet.
I hope doing these progressively. I found difficult to debug if adding massive features or patches at once.
This is stable .
Thank you.
newyesor said:
This is stable .
Thank you.
Click to expand...
Click to collapse
Glad to hear. Feedback are welcome.
r2 is released!
undervolted & lower freq step [email protected],[email protected] (credit: freak07)
add kcal supported
add wq_power_efficient toggle & on by default (credit: matthewdalex)
add fsync toggle & off by default (credit: franciscofranco)
updated cfq i/o scheduler & set it to default
linux v4.4.128
removed some unused drivers in defconfig
misc patches added & reverted some patches/tweaks in r1
lyfkevin said:
r2 is released!
undervolted & lower freq step [email protected],[email protected] (credit: freak07)
add kcal supported
add wq_power_efficient toggle & on by default (credit: matthewdalex)
add fsync toggle & off by default (credit: franciscofranco)
updated cfq i/o scheduler & set it to default
linux v4.4.128
removed some unused drivers in defconfig
misc patches added & reverted some patches/tweaks in r1
Click to expand...
Click to collapse
HI mate, thank's for you work...please would tell me how make it work kcal ?....everytime i tried open the app just close. Thnak's
neofrost37 said:
HI mate, thank's for you work...please would tell me how make it work kcal ?....everytime i tried open the app just close. Thnak's
Click to expand...
Click to collapse
Which app are u using?
You may use Kernel Adiutor, EX Kernel Manager
Personally I am using Ex Kernel Manager.
@lyfkevin
This kernel camera can't be opened. Did you find this a problem?
poppy22 said:
@lyfkevin
This kernel camera can't be opened. Did you find this a problem?
Click to expand...
Click to collapse
Camera should work fine in my released version.
You compiled from my github?
They are buggy in CAF-merged branches.
The stock rom is not fully capable with updated CAF patches.
lyfkevin said:
Camera should work fine in my released version.
You compiled from my github?
They are buggy in CAF-merged branches.
The stock rom is not fully capable with updated CAF patches.
Click to expand...
Click to collapse
Yes, I am the CAF version compiled from your GITHUB, but I can't work with your compiled brush into my mobile phone camera.
poppy22 said:
Yes, I am the CAF version compiled from your GITHUB, but I can't work with your compiled brush into my mobile phone camera.
Click to expand...
Click to collapse
You mean version r2? Any logcat.
Because camera works for me in either r1 and r2.
If you mean caf-branches in github, it's normal because they are still under testing.
lyfkevin said:
Which app are u using?
You may use Kernel Adiutor, EX Kernel Manager
Personally I am using Ex Kernel Manager.
Click to expand...
Click to collapse
Thank's for answer !!, i'm using kernel adiutor and let me play with some parameters of the screen, but i'm looking for more bright, so is possible to "overwrite" the settings to let the brightness go higher?
Introduction:
Affinity Kernel is a custom kernel based on the latest Stable Linux 4.4 release from kernel.org.
This kernel is developed with performance and great battery life in mind offering some goodies cherry-picked from other popular kernels such as Flash Kernel, ElementalX, blu_spark, Boeffla Kernel, Sultan Kernel and Franco Kernel.
The kernel is always up to date with mainline linux kernel and is regulary updated with the latest fixes.
The goal is to provide a butter smooth experience, simmilar to what you get with the latest Pixel devices.
Affinity Kernel is based on the official kernel source released by OnePlus.
Code:
/*
* Your warranty is not void (Thank you OnePlus!).
*
* 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:
Upstreamed to the latest Linux Stable 4.4.x
Upstreamed to the latest CAF tag LA.UM.6.4.r1-11500-8x98.0 & LA.UM.7.4.r1-04800-8x98.0
Tunable with Kernel Adiutor and others
Additional CPU gorvernors
Sound Control
Adreno Idler by @arter97
Full WireGuard implementation
Sweep2Sleep gesture
Fast charging on USB
FS fsync toggle (enabled by default)
Additional IO schedulers (Maple, FIOPS, SIO, ZEN)
Qualcomm MDSS v2 (sRGB + KCAL)
dm(avb)-verity disabled
Faster app cold-launch
IO Tuning
Optimized with oFast and O3
Westwood TCP algorithm as default
Full Treble compatibility with Treble related fixes
Individual Input Boost frequency for each cluster
Disabled the BCL battery driver
Backlight Dimmer by @flar2
Boeffla Wakelock blocker v1.1.0
CDROM emulation
init.d support
ARM target optimizations
Passes SafetyNet check
Crypto Routines optimizations
High Brightness mode
Adreno driver improvements
EAS
Dynamic SchedTune Boost v3
KLAPSE Driver
Decreased swappiness
Installation:
Before you install the kernel, make sure you have
a backup of boot partition in case something goes wrong!
If you are coming from stock kernel:
Reboot into TWRP
Flash the Affinity Kernel.zip
Reboot
If you are coming from another custom kernel:
Reboot into TWRP
Dirty flash your rom or restore boot backup if you have any
Reboot recovery
Flash the Affinity Kernel.zip
Reboot
Updating:
Just flash the latest Affinity Kernel build over the previous one
Downloads:
{Mod edit}
On ROMs like Dirty Unicorns, WLAN won't work because the wlan module is required
to load on device initcall rather than late initcall like other ROMs do. There's a workaround for it but
it breaks WLAN on all ROMs that have the module built inline or the CAF way
{Mod edit}
Thanks to:
@joshuous for his EAS commits and Dynamic Sched Boost
@osm0sis for his AnyKernel2 installer
@nathanchance for his android-linux-stable project and helping me
@Lord Boeffla for Boeffla Wakelock Blocker and LED control
@Sultanxda for his fixes and other stuff
@eng.stk for his tweaks
@flar2 for his Sweep2Sleep gesture driver
@tanish2k09 for KLAPSE Driver
And all those folks contributing to Linux Kernel
XDA:DevDB Information
Affinity Kernel, Kernel for the OnePlus 5
Contributors
LinuxUser0227
Source Code: https://github.com/hejsekvojtech/Affinity-OnePlus5
Kernel Special Features: Fast, Battery friendly, Stable, Up to date
Version Information
Status: Stable
Current Stable Version: r24
Stable Release Date: 2018-09-27
Created 2018-09-27
Last Updated 2019-04-06
Compatible with Magisk? If so dirty flash followed by Magisk fine? ?
New Kernel for OOS, amazing, i try this
thx a lot
Nice that you asked me whether you could use my mod... And not even thank me....
RogerF81 said:
Nice that you asked me whether you could use my mod... And not even thank me....
Click to expand...
Click to collapse
Sorry, I forgot. The thread will be updated
Im_Mattgame said:
Compatible with Magisk? If so dirty flash followed by Magisk fine?
Click to expand...
Click to collapse
Yes, you can flash Magisk after flashing Affinity Kernel
Nice I'm going to test it.
Added to the OnePlus 5 Index Thread here.
Affinity Kernel r2 is up!
This build includes just some small changes, mainly new IO schedulers and governors
Here's the changelog:
Enabled all TCP congestion algorithms (westwood is still default)
Enabled full support for Xbox gamepad
Added new IO schedulers:
SIO
ZEN
FIOPS
Added new governor - blu_active
Set Maple IO scheduler as default
Use the same input_boost values as Pixel 2
You can get it HERE
Dash charge doesn't work on r1.
obol2 said:
Dash charge doesn't work on r1.
Click to expand...
Click to collapse
Works for me on both r1 and r2
obol2 said:
Dash charge doesn't work on r1.
Click to expand...
Click to collapse
everything works great!
Khaos said:
Yes, you can flash Magisk after flashing Affinity Kernel
Click to expand...
Click to collapse
So if Magisk is already installed, do you have to flash magisk again after flashing kernel or do you have to uninstall/reinstall after Affinity?
Thanks
bigjailerman said:
So if Magisk is already installed, do you have to flash magisk again after flashing kernel or do you have to uninstall/reinstall after Affinity?
Thanks
Click to expand...
Click to collapse
Nope, you don't have to reflash Magisk after installing Affinity
Thanks for fast reply!!
new kernel! i try it
Affinity Kernel r3 is up!
Here's the changelog:
Upstreamed to Linux Kernel 4.4.159
Added Backlight Dimmer
You can get it HERE
with r3 my phone reboot alone
gege0202 said:
with r3 my phone reboot alone
Click to expand...
Click to collapse
What do you mean ? Does it not boot ? Or does it go in a loop ? Does it give you a blue led black screen ?
Please be more specific
Thanks for your work. I'm using this kernel with Oneplus 5T OB17 and works great.
CAF ( Code Aurora Forum) Pure Qcom MSM8953 Kernel For daisyWelcome All ...
Nice to introduce My first kernel for Mi A2 Lite (daisy) ..
What is CAF ?
CAF stands for Code Aurora Forum .. Stock, Clean and pure Sources for Qualcomm devices ..
What is this kernel ?
This Kernel is a pure CAF kernel merged with Xiaomi Mi A2 Lite changes and drivers released by Xiaomi MiCode for our device .. also it contains some of the latest released P kernel drivers changes and Some more fixes from kernel developers ..
What is the EAGLE version of the kernel ?
Eagle Version is the customized version of the pure CAF kernel for users who wanna us custom governors, hotplugs, Overclocking, and others.
What is included in this Kernel ?
CAF Kernel December Updates from LA.UM.7.6.r1-03900-89xx.0 tag
Prima WLAN drivers from CAF December Updates
Xiaomi touchscreen update from P Kernel
Xiaomi fingerprint update from P Kernel
Disabled dm-verity for system and vendor
Some Google config changes for 3.18.x kernel
MSM8953 Optimizations
sdfat merged
KCAL included
MSM Sound Control included
-----------------------------------------
Jan 29 Update
-----------------------------------------
Merged with CAF kernel LA.UM.7.6.r1-04000-89xx.0 tag
Upstreamed to 3.18.133
Adreno Idler included
Some networking tweaks
-----------------------------------------
FEB 17 Update
-----------------------------------------
Merged with CAF kernel LA.UM.7.6.r1-04100-89xx.0 tag
Upstreamed to 3.18.134
Alucard HotPlug
SMP HotPlug
Prima wlan Upgraded to LA.UM.7.6.r1-04100-89xx.0
-----------------------------------------
FEB 23 Update
-----------------------------------------
UpStreamed to 3.18.135
CPU Input Boost Included
Thermal Monitor Sample included
DevFREQ Boost driver Included
CPU ctrl Enabled
Some Fixes and improvements to avoid some memory leaks
-----------------------------------------
March 16 Update
-----------------------------------------
Upstreamed to 3.18.136
Merged with CAF kernel LA.UM.7.6.r1-04300-89xx.0 tag
FIOPS IO Scheduler
SIO IO Scheduler
BFQ IO Scheduler
WESTWOOD TCP congestion Algorithm
[*] -->> WIFI problem should be fixed .. if not please tell me
-----------------------------------------
April 5 Update
-----------------------------------------
Merged With 11 May Update!
-----------------------------------------
May 11 Update
-----------------------------------------
Upstreamed to 3.18.139
Merged with CAF kernel LA.UM.7.6.r1-04800-89xx.0 tag
GPU Overclocked to 750
Prima Updated to LA.UM.7.6.r1-04800-89xx.0 tag
Adding CPU Boost for Pixel Launcher
Using SCHED_FIFO for mmc thread
Add backlight dimmer option
-----------------------------------------
June 15 Update
-----------------------------------------
Upstreamed to 3.18.140
Merged with CAF kernel LA.UM.7.6.r1-05300-89xx.0 tag
Fix the GPU Overclocking problem (up to 725)
Prima Updated to LA.UM.7.6.r1-05300-89xx.0 tag
Intelliactive gov
Compiled with UberTC 4.9
-----------------------------------------
Jul 13 Update
-----------------------------------------
Pure CAF Version
Merged with CAF kernel LA.UM.7.6.r1-05500-89xx.0 tag
Prima Updated to LA.UM.7.6.r1-05500-89xx.0 tag
Some Fixes and improvements for F2FS
--------------------------------------------------------------------------
Eagle CAF Version
Merged with CAF kernel LA.UM.7.6.r1-05500-89xx.0 tag
Prima Updated to LA.UM.7.6.r1-05500-89xx.0 tag
Some Fixes and improvements for F2FS
Implus, ElementX, alucard, darkness, and nightmare CPU Governors Added
AIO Hotplug
Maple, and Zen IO Schedules added
Boot with 8 cores
Coretex-A53 Optimizations
Crypto Optimizations
ARCH_POWER Added
Intelli Thermal Added
State Notifier Added
Note : The Eagle Version comes with Overclocked and non-Overclocked versions
Compatible Systems with this Kernel
This is an Initial version of this kernel and it's only tested on Stock Oreo Rom and works 100%
may works also on custom GSI roms but need someone to test and report here!
- For android P beta it works well but has some issues like no sound in call .. will be fixed in next update --- FIXED!
TIME TO DOWNLOAD
Jul 13 2019 ! UPDATE LA.UM.7.6.r1-05500-89xx.0
---------------------------------------------------------------------------------------------------------------
- Pure CAF Version
- EAGLE CAF V1
- EAGLE CAF V1 Overclocked
ANNOUNCEMENT: Next version will contain the pure CAF version and Eagle customized version
How To Install This Kernel
follow these steps one by one :
Install TWRP recovery by following this guide ----- If you have already installed TWRP recovery Skip this step
Boot into TWRP recovery
Flash the CAF Kernel ZIP file
Reboot to System
NOTICE: If the kernel not boot so u have to flash Magisk Root file and DM-Verity Disable files from Justice Kernel links HERE -- Big Thanks for @artyom5613
This Kernel will receive updates with CAF tags (Probably Monthly)
Huge Thanks for :
Xiaomi
CAF
rama982
@artyom5613
@franciscofranco
XDA:DevDB Information
CAF Kernel for Mi A2 Lite (daisy), Kernel for the Xiaomi Mi A2 Lite
Contributors
Ahmed Hady
Source Code: https://github.com/Ahmed-Hady/android_xiaomi_daisy
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: LA.UM.7.6.r1-04800-89xx.0
Stable Release Date: 2019-05-11
Created 2018-12-17
Last Updated 2019-05-11
XDA:DevDB Information
CAF Kernel for Mi A2 Lite (daisy), Kernel for the Xiaomi Mi A2 Lite
Contributors
Ahmed Hady
Source Code: https://github.com/Ahmed-Hady/android_xiaomi_daisy
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: LA.UM.7.6.r1-05500
Stable Release Date: 2019-07-13
Created 2018-12-17
Last Updated 2019-07-12
Reserved
Initial Release
https://www.androidfilehost.com/?fid=11410963190603877356
- LA.UM.7.6.r1-03700
- Only oreo
2nd December Update
https://www.androidfilehost.com/?fid=11410963190603881219
- LA.UM.7.6.r1-03900
- In-call sound issue in PIE fixed
-----------------------------------------
Jan 29 Update
https://www.androidfilehost.com/?fid=11410963190603910591
-----------------------------------------
- Merged with CAF kernel LA.UM.7.6.r1-04000-89xx.0 tag
- Upstreamed to 3.18.133
- Adreno Idler included
- Some networking tweaks
-----------------------------------------
FEB 17 Update
https://www.androidfilehost.com/?fid=1395089523397894400
-----------------------------------------
Merged with CAF kernel LA.UM.7.6.r1-04100-89xx.0 tag
Upstreamed to 3.18.134
Alucard HotPlug
SMP HotPlug
Prima wlan Upgraded to LA.UM.7.6.r1-04100-89xx.0
-----------------------------------------
FEB 23 Update
https://www.androidfilehost.com/?fid=1395089523397900247
-----------------------------------------
UpStreamed to 3.18.135
CPU Input Boost Included
Thermal Monitor Sample included
DevFREQ Boost driver Included
CPU ctrl Enabled
Some Fixes and improvements to avoid some memory leaks
-----------------------------------------
March 16 Update
https://www.androidfilehost.com/?fid=1395089523397918129
-----------------------------------------
Upstreamed to 3.18.136
Merged with CAF kernel LA.UM.7.6.r1-04300-89xx.0 tag
FIOPS IO Scheduler
SIO IO Scheduler
BFQ IO Scheduler
WESTWOOD TCP congestion Algorithm
[*] -->> WIFI problem should be fixed .. if not please tell me
-----------------------------------------
May 11 Update
https://www.androidfilehost.com/?fid=1395089523397963676
-----------------------------------------
Upstreamed to 3.18.139
Merged with CAF kernel LA.UM.7.6.r1-04800-89xx.0 tag
GPU Overclocked to 750
Prima Updated to LA.UM.7.6.r1-04800-89xx.0 tag
Adding CPU Boost for Pixel Launcher
Using SCHED_FIFO for mmc thread
Add backlight dimmer option
-----------------------------------------
June 15 Update
https://www.androidfilehost.com/?fid=6006931924117896442
-----------------------------------------
Upstreamed to 3.18.140
Merged with CAF kernel LA.UM.7.6.r1-05300-89xx.0 tag
Fix the GPU Overclocking problem (up to 725)
Prima Updated to LA.UM.7.6.r1-05300-89xx.0 tag
Intelliactive gov
Compiled with UberTC 4.9
Wlan problem fix by @eremitein included -- thanks for his efforts.
-----------------------------------------
Jul 13 Update
Pure: https://www.androidfilehost.com/?fid=6006931924117915387
Eagle: https://www.androidfilehost.com/?fid=6006931924117915389
Eagle OC: https://www.androidfilehost.com/?fid=6006931924117915388
-----------------------------------------
Pure CAF Version
Merged with CAF kernel LA.UM.7.6.r1-05500-89xx.0 tag
Prima Updated to LA.UM.7.6.r1-05500-89xx.0 tag
Some Fixes and improvements for F2FS
--------------------------------------------------------------------------
Eagle CAF Version
Merged with CAF kernel LA.UM.7.6.r1-05500-89xx.0 tag
Prima Updated to LA.UM.7.6.r1-05500-89xx.0 tag
Some Fixes and improvements for F2FS
Implus, ElementX, alucard, darkness, and nightmare CPU Governors Added
AIO Hotplug
Maple, and Zen IO Schedules added
Boot with 8 cores
Coretex-A53 Optimizations
Crypto Optimizations
ARCH_POWER Added
Intelli Thermal Added
State Notifier Added
Note : The Eagle Version comes with Overclocked and non-Overclocked versions
Reserved
Enable double tap to wake up please
work for gsi?
What are the risks of flashing this
The only risk with it is that u need to unlock bootloader and may lose your warrenty
Danvitayan said:
Enable double tap to wake up please
Click to expand...
Click to collapse
Will make a customized version of it and add DT2W .. But for this kernel it's designed to be stockich and pure
irfaniphank2 said:
work for gsi?
Click to expand...
Click to collapse
Maybe .. Can u try and tell us ?
Ahmed Hady said:
Will make a customized version of it and add DT2W .. But for this kernel it's designed to be stockich and pure
Maybe .. Can u try and tell us ?
Click to expand...
Click to collapse
Hope you will successful make dt2w.i want it long time ago
will my data be wiped if i flash this, and is there a chance ill get bootloop?
leitseleac said:
will my data be wiped if i flash this, and is there a chance ill get bootloop?
Click to expand...
Click to collapse
If u have your bootloader already unlocked the kernel wont affect your data
But if your booloader is locked so u have to backup your data first and follow this guide
https://forum.xda-developers.com/mi-a2-lite/how-to/guide-how-to-unlock-bootloader-erasing-t3878453
i have bootloader unlocked, but now my problem is, i dont want to install twrp, how can i flash it in other way
If you try true like i said mia2 lite will boot nomarlly
leitseleac said:
i have bootloader unlocked, but now my problem is, i dont want to install twrp, how can i flash it in other way
Click to expand...
Click to collapse
Actually twrp is needed ..
Ahmed Hady said:
Actually twrp is needed ..
Click to expand...
Click to collapse
What about something like flashify? Do you think that would work?
https://play.google.com/store/apps/details?id=com.cgollner.flashify
hossman said:
What about something like flashify? Do you think that would work?
https://play.google.com/store/apps/details?id=com.cgollner.flashify
Click to expand...
Click to collapse
Ok .. May works .. Try and tell us ..
I think the app will falsh the kernel .. But if u reboot and dm-verity disabler is needed u will get into a big problem
Ahmed Hady said:
Ok .. May works .. Try and tell us ..
I think the app will falsh the kernel .. But if u reboot and dm-verity disabler is needed u will get into a big problem
Click to expand...
Click to collapse
I may try tonight, I'm not at a place I can deal with borked device ATM.
Just remembered using that app on previous device that also had wonky twrp
Edit: Im trying to install TWRP now to use this kernel.
Ive been wanting to have KCAL
Hello, good job. I don't understand how to make kernel work on encrypted system. I test my kernel on encryted and they dont boot, system broke, ans need flash rom. I suggest disable encription for my kernel becouse this.
I need to disable dm verify in kernel?
artyom5613 said:
Hello, good job. I don't understand how to make kernel work on encrypted system. I test my kernel on encryted and they dont boot, system broke, ans need flash rom. I suggest disable encription for my kernel becouse this.
I need to disable dm verify in kernel?
Click to expand...
Click to collapse
Thanks man ..
for skipping FEC and verity problems apply these commits from my CAF kernel respectively:
(1) Disable dm-verity and FEC
(2) Disable DTB fstab verity
(3) Add xiaomi A2 Lite x509 dm-verity keys from P kernel (Optional)
INTRODUCTION
Canting is a kernel based on Google Common 4.9 merged over CAF-kernel.lnx.4.9.r25-rel. Built to provide security and stability improvement
Code:
/*
* 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.
*/
FEATURES----------------------------------------------
• NOTE: Don't flash this kernel over MEMEUI.
• Linux version 4.9.280
• CAF Tag LA.UM.8.3.c25-03100-sdm845.0
• Build with Clang-12
• CPU Governors: schedutil, powersave
• I/O Schedulers: noop, cfq
• Compat vDSO from Pixel kernel
• TCP Congestion Algorithm: bbr, westwood, reno, cubic
• WireGuard VPN support (Current version: 1.0.20210424)
• Boeffla wakelock blocker (Nothing is blocked by default)
• Simple Low Memory Killer
• Sound Control: Speaker, Microphone, Headphone (Per-channel control)
• KCAL & KLapse Interface
• Vibration Intensity Control
• backlight min option
• Removed safetynet flags (no need of magisk to bypass safteynet)
• F2FS & NTFS Support
• for more info check my commits
INSTALLATION INSTRUCTIONS
Download latest kernel version
Boot to recovery
Flash kernel.zip
reboot to system
DOWNLOAD LINK
Github Latest Release
CREDITS
• nathanchance
• bgcngm
• abhishek987
• fransiscofranco
• flex1911
• All of contributors from my git history
XDA:DevDB Information
Canting, Kernel for the Xiaomi Mi 8
Contributors
khusika
Source Code: https://github.com/khusika/canting_kernel_xiaomi_sdm845
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 3.6
Stable Release Date: 2021-08-22
Created 2019-03-05
Last Updated 2021-08-22
Reserved
Reserved
Nice to see you here!
My favorite Kernel for my new phone!
welcome mate[emoji16]
Gesendet von meinem Mi 8 mit Tapatalk
Is f2fs fully working? Afraid bootloop
We all know this is one good kernel....happy to see it for mii now...using this kernel on my wife's mi a1 phone and she is very happy..I'll try ...wait for Los March update...
Wow. New kennel for dipper. Great job. Going to test it soon
@khusika Sound Control: Speaker, Microphone, Headphone (Per-channel control)
Does this effects negative to dolby/AML soundlibs in general? because i have them installed and want to test your crispy kernel [emoji1787]
Gesendet von meinem Mi 8 mit Tapatalk
For MIUI or customs only?
Seriously fast!
ffaka said:
Is f2fs fully working? Afraid bootloop
Click to expand...
Click to collapse
Yes it is
darkwader18701 said:
@khusika Sound Control: Speaker, Microphone, Headphone (Per-channel control)
Does this effects negative to dolby/AML soundlibs in general? because i have them installed and want to test your crispy kernel [emoji1787]
Gesendet von meinem Mi 8 mit Tapatalk
Click to expand...
Click to collapse
No
kael2404 said:
For MIUI or customs only?
Click to expand...
Click to collapse
Not for MIUI
actualy great kernel...i dont have to adjust anything, it just works . Can we excpect an update soon to make it even better? looking forward to it, good job buddy
Release 0.2
New build is up
Changelogs :
Merge 4.9.163
Upstream with Lineage tree
Upstream with Google Common 4.9
Fix various clang warn
Add power saving flags to the panels
Introducing KLapse - A kernel level livedisplay module v4.3
clk: qcom: clk-cpu-osm: Use CLK_GET_RATE_NOCACHE
Download link in the OP, enjoy it
Don't flash?
Please fix !! Thanks !
kimngoc38 said:
Don't flash?
Please fix !! Thanks !
Click to expand...
Click to collapse
I guess you are on MIUI, use open source project instead.
Release 0.3
New build is up
Changelogs :
Merge 4.9.164
Download link in the OP, enjoy it
Release 0.4
New build is up
Changelogs :
Merge 4.9.165
Upstream with Lineage tree
Upstream with Google Common 4.9
Merge upstream f2fs-stable/linux-4.9.y
Download link in the OP, enjoy it
Release 0.5
As of many user ask me to add support of MIUI variant, start with this version and later will support it. But i won't accept kind of bugs comes from MIUI based rom. Because this kernel using lineage tree as based, which some of dummy codes from Xiaomi Opensource are not merged into lineage. And also there are fews driver was introduced in the lineage tree but not supported in the MIUI. There might some of debug codes required by MIUI but not implemented in the kernel. This why i warn you to use lineage based rom for better experience with kernel based on lineage tree.
Changelogs :
Add support for MIUI based ROM (Stupid idea)
Merge 4.9.166
Upstream with Lineage tree
Upstream with Google Common 4.9
Update default RNDIS class for Xiaomi (Fix usb tether issues)
Release 0.6
New build is up
Changelogs :
Merge 4.9.167
Upstream with Lineage tree
Upstream with Google Common 4.9
firmware: update novatek from 9.1.24 beta
Download link in the OP, enjoy it
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now probably 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.
*/
Works only on AOSP roms.Do not try to install on MIUI.
Compiled using Clang 9.0.0
It is recommended to use the SmartPack Kernel Manager to use and control this kernel.
WARNING:TAKE A BACKUP OF YOUR BOOT.IMG AND THEN FLASH THIS KERNEL.I WILL NOT BE RESPONSIBLE IF YOU BRICK YOUR DEVICE.
Latest Updates will be announced here.
(+) 4.9 Kernel v1 Released!
What's new:
- Initial release, check CHANGELOG
Check the CHANGELOG and NOTES below for more details
Click to expand...
Click to collapse
FEATURES:
4.9 kernel:
*CPU Governors:Schedutil,Blu_Schedutil,Pwrutilx,Pixutil
*Undervolt support (read NOTES)
*Power saving workqueues
*Flar2 Sound control
*GPU Governors:Simple_ondemand
*I/O schedulers:sio,zen,fiops,anxiety,bfq
*Dynamic fsync 2.0
*Screen:KCAL,Backlight dimmer
*TCP Congestion Algorithm:westwood,reno,cubic,cdg,agile,scalable,tsunami
*Custom crypto algorithms:Chacha20*,ZSTD algorithms
*SCH_CAKE net scheduler
*Optimized ZRAM
*Printk logging switch added
*Various optimizations and fixes
Click to expand...
Click to collapse
INSTALLATION:
Make sure you have a proper recovery.
*Backup your boot.img.
*Press INSTALL,locate and flash the zip.
*Reboot.
NOTE:If you want to reinstall the kernel,restore stock boot image and flash
Click to expand...
Click to collapse
DOWNLOADS:
Mediafire:
4.9 kernel (v1):
REVVZ Kernel 4.9 v1
Click to expand...
Click to collapse
CREDITS:
The Android Project for the Clang compiler,
and all other kernel devs whom I cherry-picked sources from.
Special thanks to my tester @ada12 for patiently helping me to debug the kernel,
reporting various issues carefully and in effect,making this kernel possible for the Xiaomi Mi A2 Lite.
Please PM me for proper credits if not given.Thanks.
Click to expand...
Click to collapse
CHANGELOG:
4.9 kernel
v1:
#Initial release
-- Upstreamed to 4.9.190
-- Added blu_schedutil,pwrutilx,pixutil governors
-- Added ZEN,BFQ,FIOPS,sio,fiops,anxiety I/O schedulers
-- Added CDG,Agile,Scalable,Tsunami TCP algorithms
-- Added FRandom RNG driver
-- Added Chacha20* and zstd algorithm
-- Added Flar2 Sound Control
-- Ainur DTS enabled
-- Added Voltage control
-- Added KCAL
-- Added Undervolting support
-- Added CAKE net scheduler for faster network packets processing
-- Arm64 improvements
-- Turned on TTWU_QUEUE feature (beneficial to WALT)
-- Optimized the regulator for better performance
-- Optimized builds of various drivers,and the kernel as a whole.
-- Optimized ZRAM and ZSMALLOC with ZSTD
-- Forced systemwide powersaving workqueues only (commit)
-- Balanced sound output with increased quality (commit)
-- Lower OOM dump burst
-- Merged some optimizations from POCO F1
-- Migration Hysterisis Filter feature from Hisilicon EAS
-- Modified CPU/GPU frequencies,powerlevels to save power
-- Various patches/fixes from mainline Linux 5.0-5.4
|__ UCLAMP support
|__ CPUIDLE governor TEO added
|__ RNG(Entropy) generation from bootloader
|__ Improved and tuned scheduler and memory management
|__ Improved memory accounting for sl[aou]b
|__ Fixed high throttling with low CPU usage
|__ Other small fixes
-- Set some sysctl values as default for improved memory situation
-- Removed HQSYSFS dependency
-- Removed AUDIT instances and disabled it
-- Various small fixes to EAS
Click to expand...
Click to collapse
NOTES:
*This kernel has been designed with stability and performance enough to get you a
good battery life.It has been specifically designed for normal app usage and multitasking.
*Undervolting is an experimental feature.In case you do want to modify voltage values,open Smartpack/Kernel Aduitor Kernel Manager,go to the CPU Voltage Tab,and modify only the values labelled as "perfcl_Vmin".Reducing the values by 5 is recommended.
If during undervolting,the device freezes,simply long-press the POWER button until the device reboots.
*This kernel is not for heavy gaming.Please be aware while playing games/using heavy apps.
*RAM usage,battery life,performance etc. can vary with usage.Please dont complain about any problem if you apps
are wildly running in the background or you dont maintain your device properly.Sometimes it is not the fault of the kernel.
.Please provide proper bugreports(/proc/last_kmsg,dmesg output,/sys/fs/pstore/console-ramoops files can be provided)
otherwise your bugfix request will be ignored.
*This kernel gives me a maximum of a one-and-a-half days on a single charge.I use lots of apps and multitasking is smooth.Obviously,don't take these claims for real,test test test and apply settings that are perfect for you.
Everything depends on how you use it.
Click to expand...
Click to collapse
A Huge Thanks to you people for downloading my kernel.If you like it,leave a Thanks!
XDA:DevDB Information
REVVZ Kernel, Kernel for the Xiaomi Mi A2 Lite
Contributors
darkhzy_kh
Source Code: https://github.com/darkhz/revvz_daisy
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 4.9-v1
Beta Release Date: 2019-12-07
Created 2019-12-07
Last Updated 2019-12-07
Thanks for your work, feel really smooth Evo x 3.4 + revvz
Please state whether it's compatible with Pie only, Q only or both.
yashinodon said:
Please state whether it's compatible with Pie only, Q only or both.
Click to expand...
Click to collapse
4.9 its only for Android 10
Using with Evo X 4.0 and it looks very smooth!
Kernel works normal with the stock android Q, but the WIFI isn't working. Can you update the Kernel to Android stock 11.0.2.0