[KERNEL][RM3/PRO][AOSP 6/7] NULL [20170413] - Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now probably voided.
*
* 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.
*/
Introduction/About
Just a hack-ish, unstable, buggy custom kernel for aosp source based rom. Not for miui! Tested on rr mm and mokee mm but should work with n roms too.
Click to expand...
Click to collapse
Features:
Nothing fancy mancy for now, just
Based on los 14.1 kernel source
Compiled using ubertc 4.9.4 with proper optimized flags for armv8
Disabled default hotplug driver, replaced it with zzmoove cpu governor with inbuilt hotplug support.
Zram with lz4 compression backported from kernel 3.18
Preundervolted cpu voltage
Updated prima wlan driver
Updated lowmemorykiller driver
Adreno idler driver
Exfat filesystem driver
Faux sound control
Simple gpu algorithm
Userspace control for ARCH_POWER and GENTLE_FAIR_SLEEPERS
Powersuspend driver
Patched to not report bootloader status to userspace
Goodix fp sensor driver enabled
All available disk io scheduler; noop, deadline, cfq, bfq and row. Default on boot uses noop
All available tcp congestion control; cdg, bic, cubic, westwood, htcp, hstcp, hybla, vegas, scalable, lp, yeah, veno and illinois. Default on boot uses cdg
Enabled zram, ksm, sched autogroup, usb mouse driver, xbox controller driver, ntfs rw driver, cd/dvd rom driver, ttl
Proper init.d sysinit with permission fix
Probably some other things i forgot to list here. Just see the changelog and/or source
Click to expand...
Click to collapse
Changelog:
Code:
20170413
- Synced with los source
- Added zzmoove cpu governor. Its renamed to interactive to make it as default cpu governor on booting.
- Backported zram, zsmalloc, zpool and lz4 from kernel 3.18
- Updated lowmemorykiller driver
20170326
- Synced with los source
- Raised lowmemorykiller default value
- Disabled cleancache
- Enabled ksm
- Changed default disk io scheduler to noop
- Compiled with proper optimized flags for armv8
20170225
- Synced with los source
- Updated exfat driver
- Optimized arm memcopy/memmove
- Enabled ttl
- Updated crc32 hw accelerated module for arm64
20170211
- Synced with los source
- Disabled thunderplug and enabled intelliplug
- Finetuned intelliplug
- Updated prima wlan driver
- Preundervolted cpu voltage
- Updated interactive governor
- Added userspace control for ARCH_POWER and GENTLE_FAIR_SLEEPERS
- Added and enabled simple gpu algorithm
- Added userspace control for mmc crc32 software check
- Added cdg tcp congestion control and made it as default on boot
- Disabled ksm
20170206
- Synced with los source
- Added, finetuned and enabled thunderplug control v5.0
- Added and enabled exfat filesystem driver
- Patched to not report bootloader status to userspace
- Finetuned interactive cpu governor
- Enabled goodix fp sensor driver
- Enabled sched autogroup
- Enabled usb mouse driver
- Enabled xbox controller driver
- Enabled ntfs rw driver
- Enabled cd/dvd rom driver
- Enabled cleancache driver
- Enabled ksm driver
20170202
- Initial beta
Click to expand...
Click to collapse
Known Bugs:
Due to using los 14.1 kernel source as base, inherited the same bugs as los 14.1 kernel too, unless i manage to fix them
Click to expand...
Click to collapse
Download:
FROM HERE
Installation Instructions:
Need unlocked bootloader, either officially or unofficially via the bootloader patch.
If came from other custom kernel, need to flash default rom kernel first to get untouched ramdisk; you're on cm13 then flash default cm13 kernel first, if you're on los14.1 then flash default los14.1 kernel first, if you're on mokee then flash default mokee kernel first etc.
Boot into twrp
Backup, backup, and backup!
Flash the zip
Profit
Click to expand...
Click to collapse
Thanks To/Credits:
God
Google
Xiaomi
Many, many kernel devs whom their source i've cherry picked here and there. Too many to name them all.
Click to expand...
Click to collapse
XDA:DevDB Information
NULL, Kernel for the Xiaomi Redmi 3
Contributors
nulldash
Source Code: https://github.com/nulldash/android_kernel_xiaomi_msm8916
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 20170413
Stable Release Date: 2017-04-13
Current Beta Version: 20170206
Beta Release Date: 2017-02-06
Created 2017-02-02
Last Updated 2017-04-13

wow, is it work on rr cm13 mm build 1127 bro ?

will try on lineage (redmi 3 pro)

EDIT: FIxed problems with installation
Lineage 14.1 booted!

Work with LineageOS ? Can you add dt2w ?

Conte.D said:
Work with LineageOS ?
Click to expand...
Click to collapse
so far seems so.

How to solve it

kzw200015 said:
How to solve it
Click to expand...
Click to collapse
unzip the package or redownload

scricccettoni said:
unzip the package or redownload
Click to expand...
Click to collapse
I will try .Thanks

scricccettoni said:
unzip the package or redownload
Click to expand...
Click to collapse
But there is a new problem.I still can't flash it.I use the latest lineage os

kzw200015 said:
But there is a new problem.I still can't flash it.I use the latest lineage os
Click to expand...
Click to collapse
I've re-downloaded the package NULL-20170202-ido.zip
an it worked, maybe what's inside Kernel.zip is different.
Also if you have still problem set TWRP to english so it's easier to get feedback and help

Tried in my Redmi 3 Pro with MoKee 60.1, but is not work, only into in bootloop.
Thanks for you work.
Enviado desde mi Redmi 3 mediante Tapatalk

kzw200015 said:
But there is a new problem.I still can't flash it.I use the latest lineage os
Click to expand...
Click to collapse
Extract the zip file and you will find another zip file inside kernel folder. Flash that zip...

raffles496 said:
Tried in my Redmi 3 Pro with MoKee 60.1, but is not work, only into in bootloop.
Thanks for you work.
Enviado desde mi Redmi 3 mediante Tapatalk
Click to expand...
Click to collapse
thats weird. i'm using los 14.1 source and if i'm not mistaken los kernel are unified for rm3 and rm3 pro so it should boot.

nulldash said:
thats weird. i'm using los 14.1 source and if i'm not mistaken los kernel are unified for rm3 and rm3 pro so it should boot.
Click to expand...
Click to collapse
Working great on lineageos build 0131. Keep up the good work

Well, i'm using this kernel atm, but i'm getting extreme high battery drain.
Any idea to tweak this phone?, and yes using this kernel.

I'm sorry to tell:
But you should give proper credits as you don't cherry-pick features properly. :silly:
Sent from my Redmi 3 using XDA Labs

atiprusma said:
Well, i'm using this kernel atm, but i'm getting extreme high battery drain.
Any idea to tweak this phone?, and yes using this kernel.
Click to expand...
Click to collapse
I've installed it yesterday and charged full before going to sleep, now after 7 h it's 51%
I don' know hot to make it better, i'll go back to stock for now.

good karnel but if i install this karnel my hotspot is error

Redmi 3 pro unlock not working
Sent from my Redmi 3 using XDA-Developers Legacy app

Related

[Kernel][lux] Ultra Kernel for Moto X Play for 6.0.X[R5]

This is Ultra Kernel for Moto X Play, it is based in the sources of @squid2 with all his changes and the Ultra changes, behind of some cherry-picks of great devs.
Note:
This Kernel is only for Moto X Play (lux), I am not responsible of bricked devices. Flash at your own risk.
SquidKernel original features:
LED notification support
Moderately undervolted
Updated to Linux 3.10.94
Synced with latest CodeAurora changes
Improved memory management
Improved VMA caching backported from Linux 3.15
Optimized ARM crypto routines
Updated f2fs and WiFi drivers
FIOPS and BFQ I/O schedulers
Lionfish CPU governor
ClusterPlug big.LITTLE hotplug (designed for MSM8939)
KCAL MDP5 colour control (by savoca)
Improved zRAM backported from Linux 4.1
Compiled with Linaro GCC 5.1 and optimized for Cortex A53
Stripped down and optimized configuration
For see more of SquidKernel, check the post. Link
Ultra Kernel features
Builded with Archidroid 5.2 GCC (NEW)
WiFi drivers update
Pipe flag and Optimization Level -03
Optimize apply slack
Some optimizations for adreno files and tweaks ratio
Optimize SLUB
Reduce latencies in Kernel
IO Sched deadline tweaked
Added some governors
intelliactive
smartass2
bluactive
interactive_pro
smartmax
Release history:
Code:
r1: January 13 2016
-Initial build
r2b: February 01 2016
-Sync with lastest changes SquidKernel r14b
-mm:don't wait for high-order page allocation
-Updated wlan drivers
-PM / Wakeup: Use rcu callbacks for better performance
r3: February 09 2016
-Builded with Uber TC 5.2 GCC
-Added adreno idler for good work of msm adreno
-Wlan.ko is update and stripped
-Added LCD Notify and Powersuspend 1.7 (thanks to faux123)
-More support of Flags Level -03
-Up to date to SquidKernel r15
-Network speed tweak
r4: March 28, 2016
-Started with base fresh of SquidKernel r16
-Optimized some task for help to the performance
-Improves on SLUB
-Updated wlan.ko driver
-All changes of Squid Kernel r16
-Added 3 new governors:
-Barry Allen
-Alucard
-Bioshock
r5: March 28, 2016
-Overclock to GPU 700 MHz
-Added MSM Hotplug
-Added 2 I/O Shed:
-ZEN
-TRIPNDROID
-Reduce wakelocks
-Allow 320K encoding
-Disable crc software (MORE FAST)
-Enable ARCH POWER
Download:
r1
r2b
r3
r4
r5
Installation Instructions:
Flash the zip downloaded with TWRP and enjoy.
Thanks to:
@squid2 for his Kernel base and testing (special friend)
@GitHub
@xda developers
@AnoopKumar
XDA:DevDB Information
Ultra Kernel, Kernel for the Moto X Play
Contributors
TechnoAnder, squid2
Source Code: https://github.com/Ander-Alvarez/android_kernel_motorola_msm8916-1
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R5
Stable Release Date: 2016-03-28
Created 2016-01-13
Last Updated 2016-03-28
Firts build
This build have excellent changes for the battery life and performance good, because this Kernel have fine features, as more governors and the using of different Toolchain in this case (GCC 5.2), @squid2 tested the Kernel and it is working perfectly, I hope that my work like to you.
Cheers.
Flashing, Thanks a lot
---------- Post added at 10:26 PM ---------- Previous post was at 09:50 PM ----------
In about phone, kernel version shows "unavailable" it works perfectly for the rest
Sent from my XT1562 using Tapatalk
GtrCraft said:
Flashing, Thanks a lot
---------- Post added at 10:26 PM ---------- Previous post was at 09:50 PM ----------
In about phone, kernel version shows "unavailable" it works perfectly for the rest
Sent from my XT1562 using Tapatalk
Click to expand...
Click to collapse
Yes, I found that issue, but in the proxim release I will try fix it, thanks for you report. Cheers.
Would it be possible to add the smartmax_eps powersave governor from the nexus4 taurus kernel? So far everything is running fine here, thank you
Can I use this Kernel in based CM13 ROM's like (RR, Temasek, CrDroid) or CM13 only?
Benjamin_L said:
Would it be possible to add the smartmax_eps powersave governor from the nexus4 taurus kernel? So far everything is running fine here, thank you
Click to expand...
Click to collapse
I will try add it, cheers.
ToninhoTavares said:
Can I use this Kernel in based CM13 ROM's like (RR, Temasek, CrDroid) or CM13 only?
Click to expand...
Click to collapse
This Kernel work on any ROM MarshMallow 6.0.x
One more question @TechnoAnder, I'm very noob in this topic... I'm downloading the Temasek's CM13 ROM to test it, can I flash the Kernel right after flash the ROM + Gapps or just after the ROM is totally configured (boot + optimizing apps)?
Sorry my English and thanks for the help.
ToninhoTavares said:
One more question @TechnoAnder, I'm very noob in this topic... I'm downloading the Temasek's CM13 ROM to test it, can I flash the Kernel right after flash the ROM + Gapps or just after the ROM is totally configured (boot + optimizing apps)?
Sorry my English and thanks for the help.
Click to expand...
Click to collapse
Just you must install the ROM and GApps, reboot normally and when you set all reboot into TWRP and flash the Kernel.
TechnoAnder said:
This is Ultra Kernel for Moto X Play, it is based in the sources of @squid2 with all his changes and the Ultra changes, behind of some cherry-picks of great devs.
Note:
This Kernel is only for Moto X Play (lux), I am not responsible of bricked devices. Flash at your own risk.
SquidKernel original features:
LED notification support
Moderately undervolted
Updated to Linux 3.10.94
Synced with latest CodeAurora changes
Improved memory management
Improved VMA caching backported from Linux 3.15
Optimized ARM crypto routines
Updated f2fs and WiFi drivers
FIOPS and BFQ I/O schedulers
Lionfish CPU governor
ClusterPlug big.LITTLE hotplug (designed for MSM8939)
KCAL MDP5 colour control (by savoca)
Improved zRAM backported from Linux 4.1
Compiled with Linaro GCC 5.1 and optimized for Cortex A53
Stripped down and optimized configuration
For see more of SquidKernel, check the post. Link
Ultra Kernel features
Builded with Archidroid 5.2 GCC (NEW)
WiFi drivers update
Pipe flag and Optimization Level -03
Optimize apply slack
Some optimizations for adreno files and tweaks ratio
Optimize SLUB
Reduce latencies in Kernel
IO Sched deadline tweaked
Added some governors
intelliactive
smartass2
bluactive
interactive_pro
smartmax
Release history:
Code:
r1: January 13 2016
-Initial build
Download:
r1
Installation Instructions:
Flash the zip downloaded with TWRP and enjoy.
Thanks to:
@squid2 for his Kernel base and testing
@GitHub
@xda developers
@AnoopKumar
XDA:DevDB Information
Ultra Kernel, Kernel for the Moto X Play
Contributors
TechnoAnder, squid2
Source Code: https://github.com/Ander-Alvarez/android_kernel_motorola_msm8916-1
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r1
Stable Release Date: 2016-01-13
Created 2016-01-13
Last Updated 2016-01-13
Click to expand...
Click to collapse
Thank for the kernel. Flashing and trying out new governors on CM13.
Can I use this kernel with stock based 6.0 Marshmallux rom?
@TechnoAnder, could you make the voltage settings configurable by apps, like kernel adiutor?
ViperX85 said:
Can I use this kernel with stock based 6.0 Marshmallux rom?
Click to expand...
Click to collapse
Not yet
Which partitions can be f2fs formatted?
ViperX85 said:
Can I use this kernel with stock based 6.0 Marshmallux rom?
Click to expand...
Click to collapse
Nope.
carl_oak said:
Nope.
Click to expand...
Click to collapse
But he said it will work on any Marshmallow rom
This post http://forum.xda-developers.com/showthread.php?p=64795178
Sent from my XT1562 using Tapatalk
K.khiladi said:
But he said it will work on any Marshmallow rom
This post http://forum.xda-developers.com/showthread.php?p=64795178
Sent from my XT1562 using Tapatalk
Click to expand...
Click to collapse
Use squids kernel from r13 on. This one doesnt have the necessary changes. Squid took the moto g kernel sources to make it compatible with stock. or wait until they are merged here
ViperX85 said:
Can I use this kernel with stock based 6.0 Marshmallux rom?
Click to expand...
Click to collapse
No, soon I'll update the Kernel with support for MARSHMALLOW.
Added to index
[INDEX] [MOTO X Play]

[KERNEL][OREO][64BIT]ALIZE-KERNEL[27/01][CEDRIC]

ALIZE KERNEL FOR OREO​
/*
* Your warranty is... Still valid??.
*
* 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.
*/
WON'T WORK ON 32BIT BASED ROM
OTHER ALIZE KERNELS ALIZE KERNEL FOR POTTER :good:
Introduction:
The main objective of the kernel is to give to any user, a kernel with some tweaks like new CPU govenor focused on battery, performance and both of them, I/O scheduler, ...
Click to expand...
Click to collapse
Features:
Boeffla Wl Blocker
Maple I/O sched
Frandom for random number
Wakeup boosted (time in milliseconds instead of seconds)
CRC check disabled (Performance boosted)
Vibration control
Sound control
Kcal support
Backlight dimmer
Fsync support on and off switch
Safetynet patch
Wireguard support
All features of sohams kernel
Underclock and Fixed BCL hotplug
Many other tweaks (check github)
Click to expand...
Click to collapse
Download (ARM64)
**Oreo(V4 - 64 bits)**
Download: Click Here
Changelog: Latest Commits
Click to expand...
Click to collapse
How to flash:
1. Download Alize for Cedric
2. Reboot to recovery
3. Flash kernel's zip
4. Reboot and tweak with proper app (Kernel auditor, Ex kernel manager, ...)
Click to expand...
Click to collapse
TELEGRAM GROUP:
https://t.me/joinchat/EWMwLkNn0rIRNNctA75U3A
Credits:
Lineage Team
Soham - For source and Oreo, and so many things)
@Martichou - Alize Owner and developer
XDA:DevDB Information
alize kernel for cedric, Kernel for the Moto G5
Contributors
infixremix, Martichou
Source Code: https://github.com/AlizeKernel/alize_cedric
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: vFour
Created 2017-12-30
Last Updated 2018-01-27
Tested and it's working. Thank you.
Thread Reopened Bring On ALIZE !
Alize - vTwo! (64bits Oreo only!)
What's new?
- Zen, Fiops & Sioplus iosched
- Blu_active cpu governor
- iosched switcher for better idle
- ‎check GitHub for more..
vTwo 64Bits
https://sourceforge.net/projects/alize/files/Cedric/Alize-8.x_vTwo-64bit_CEDRIC.zip/download
Cheers to @Martichou
delet this
zefyx said:
delet this
Click to expand...
Click to collapse
What you tryna say ?
infixremix said:
Alize - vTwo! (64bits Oreo only!)
What's new?
- Zen, Fiops & Sioplus iosched
- Blu_active cpu governor
- iosched switcher for better idle
- ‎check GitHub for more..
vTwo 64Bits
https://sourceforge.net/projects/alize/files/Cedric/Alize-8.x_vTwo-64bit_CEDRIC.zip/download
Cheers to @Martichou
Click to expand...
Click to collapse
Kernel is working fine, thank you.
DavidKirsch said:
Kernel is working fine, thank you.
Click to expand...
Click to collapse
Your welcome
Alize - vThree! (64bits Oreo only!)
What's new?
- Impulse,Elementalx,Alucard and blue_active Governors
- Updated Frandom
- iosched switcher updated
- ‎Sio Plus and zen Io Scheds added
vThree 64Bits
https://sourceforge.net/projects/alize/files/Cedric/Alize-8.x_vThree-64bit_CEDRIC.zip/download
Cheers to @Martichou
infixremix said:
Alize - vThree! (64bits Oreo only!)
What's new?
- Impulse,Elementalx,Alucard and blue_active Governors
- Updated Frandom
- iosched switcher updated
- ‎Sio Plus and zen Io Scheds added
vThree 64Bits
https://sourceforge.net/projects/alize/files/Cedric/Alize-8.x_vThree-64bit_CEDRIC.zip/download
Cheers to @Martichou
Click to expand...
Click to collapse
v3 is working fine too
DavidKirsch said:
v3 is working fine too
Click to expand...
Click to collapse
Good to here it
Alize - Cedric - vFour! (64bits Oreo only! )ENFORCING ONLY
What's new?
- Linux 3.18.92 (lastest)
- Update boeffla . WakeLocks Blocked By default
- ‎No useless features.
- ‎Selinux Enforcing
/!\ WARNING /!\
Your rom must be updated with lastest commits (Enforcing)
If you're not sure, ask the rom developer. They should add it for every upcoming build. (All builds from 27/01 at the moment only aex) Happy flashing!
https://sourceforge.net/projects/al...nly/Alize-8.x_vFour-64bit_CEDRIC.zip/download
There is a bug that when I play in the music and I lock the screen the cell phone starts the fiber and it blinks the screen.
Sorry, my english is using google translator
BatatinhaDoce said:
There is a bug that when I play in the music and I lock the screen the cell phone starts the fiber and it blinks the screen.
Sorry, my english is using google translator
Click to expand...
Click to collapse
Not my issue , I don't think my kernel could cause that
The bug I reported was wrong the bug is from the rom I'm using, sorry for my mistake.
Alize - CEDRIC - vFive! (64bits Oreo only!)
What's new?
- CPU boost Tweaks
- ‎Added Adreno idler
- ‎Interactive Optimisation
- Upstreamed to .93
- Fixed some memory leaks
Link :
https://www.androidfilehost.com/?w=files&flid=246581
geekbenk
Hello I try this kernel on moto g5 with crdroid 8.1 android gapps 8.1 arm64 and work well but geekbenk is lowered than the stock..why?? Thanks
infixremix said:
Alize - CEDRIC - vFive! (64bits Oreo only!)
What's new?
- CPU boost Tweaks
- ‎Added Adreno idler
- ‎Interactive Optimisation
- Upstreamed to .93
- Fixed some memory leaks
Link :
https://www.androidfilehost.com/?w=files&flid=246581
Click to expand...
Click to collapse
vFive causes boot loop for me with Lineage 64bit last version. I do have magisk and xposed.
DavidKirsch said:
vFive causes boot loop for me with Lineage 64bit last version. I do have magisk and xposed.
Click to expand...
Click to collapse
Hi sorry about this I should have mentioned , it only boots on aex and any roms that are Selinux enforcing . It does work on some permissive roms but only the latest builds ! Thanks in advance
A simple question, I made the same request in the LineageOs trend 15.1 and I repeat it here too. I do not know if the kernel can in any way affect the quality of the calls, if so please check the phone part because the audio in call is really bad on all the buildings here on the forum from the first LineageOs on then thanks .
Inviato dal mio Moto G (5) utilizzando Tapatalk

[CLOSED][KERNEL][Affinity Kernel][OP5/5T][OOS/Custom][4.4.178][6 Apr]

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 5T
Contributors
LinuxUser0227
Source Code: https://github.com/hejsekvojtech/Affinity-OnePlus5
Kernel Special Features: Fast, Battery friendly, Stable, Up to date
Version Information
Status: Stable
Created 2019-02-20
Last Updated 2020-04-28
I'll take this one
And this one
Thanks for the work, ill give it a try.
2 thing that bugs me are:
1- isnt restoring stock boot.img removes custom recovery and replaces it with stock one?(had that problem before)
2-is the kernel(pie) eas or hmp?
finally:good:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
---------- Post added at 06:41 AM ---------- Previous post was at 06:40 AM ----------
directorli said:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
Click to expand...
Click to collapse
I'm using least oos ob24.
gsser said:
Thanks for the work, ill give it a try.
2 thing that bugs me are:
1- isnt restoring stock boot.img removes custom recovery and replaces it with stock one?(had that problem before)
2-is the kernel(pie) eas or hmp?
Click to expand...
Click to collapse
1. Yes but it's better to do a backup of boot that has Magisk installed so you don't have to reflash TWRP
2. Since r20 it's EAS based
directorli said:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
---------- Post added at 06:41 AM ---------- Previous post was at 06:40 AM ----------
I'm using least oos ob24.
Click to expand...
Click to collapse
Haven't seen such behaviour yet, some users reported that it works perfectly on both 5 and 5T.
If I'm coming from a kernel like bluspark, I must flash the stock boot img first, correct? Where can I find this?
Amisuta said:
If I'm coming from a kernel like bluspark, I must flash the stock boot img first, correct? Where can I find this?
Click to expand...
Click to collapse
Dirty flash your rom
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Sent from my OnePlus5T using XDA Labs
gsser said:
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Click to expand...
Click to collapse
How many sot do you get?
gsser said:
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Click to expand...
Click to collapse
Minimum frequency is 518 and 806 because Qualcomm did it so people follow it
sleepwalking0593 said:
Minimum frequency is 518 and 806 because Qualcomm did it so people follow it
Click to expand...
Click to collapse
Qualcomm or OnePlus? (Not doubting you genuinely curious)
haikalzarith said:
How many sot do you get?
Click to expand...
Click to collapse
8 and 17 standby
Sent from my OnePlus5T using XDA Labs
1 hour of youtube
Sent from my OnePlus5T using XDA Labs
Heisenberg420 said:
Qualcomm or OnePlus? (Not doubting you genuinely curious)
Click to expand...
Click to collapse
Qualcomm did it. So OnePlus followed them
gsser said:
1 hour of youtube
Click to expand...
Click to collapse
Hello
Are you using greenify or any other tweaks of that kind.
Thanks
Teso79 said:
Hello
Are you using greenify or any other tweaks of that kind.
Thanks
Click to expand...
Click to collapse
I dont.
Affinity Kernel r21 is up!
Since r21, Affinity Kernel is available for custom ROMs as well. Should work well with every ROM except of OmniROM and TreskMod (which is Pixel-like OmniROM)
because Omni has its own way of loading the WLAN module so WiFi might be most likely broken. Anyway, you may also notice that on some ROMs that have EAS baked in, Affinity Kernel
default settings are not getting applied. That's because the ROM has its own post boot init script that overwrites my settings, not a big deal.
Here's the changelog:
Upstreamed to Linux 4.4.176
Support for custom ROMs
Some touchups for init script
Added O3 GCC optimalization
Readahead improvements
A bunch of kgsl improvements (adreno driver)
devfreq improvements

[KERNEL][Oreo/Pie/10] Fz Kernel

Code:
#include <std_disclaimer.h>
/*
* Your warranty is... still valid?
*
* I am not responsible for bricked devices,
* 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.
*/
NOTE »
Fz Kernel
Only for 8.1, 9.0 & 10.0 ROMs.​
ABOUT​This kernel was made using the current LineageOS kernel source as base and merged all the necessary changes to work on Android 10 (Ten). On top of it I then added some features for it to be customized by each user if they do want to.
Feature list
Replaced Qualcomm cpu-boost with Sultanxda cpu_input_boost driver.
Replaced Qualcomm MPDecision with NVIDIA CPUQuiet driver from Tegra CPUs.
Charging current customization Interface.
Voltage control for undervolting.
KCAL Color Control support.
Simplified Thermal driver.
Franco's Wakelock blocker.
Franco's Sound Control.
Franco's Backport of POWER_EFFICIENT workqueues.
Enabled Multicore power saving.
A LOT of under-the-hood optimization changes from Sultan, Franco, Boeffla, arter97 and many others.
Fixes USB MTP without enabling USB Debugging.
Fixes Data Saver.
Smooth default kernel behavior using ZaneZam's zzmoove governor with ZZ Battery Plus profile.
Custom Governors:
Alucard
Impulse
Intelliactive
Intellimm
Lionheart
Smartmax
zzmoove
Custom Hotplugs:
MSM Hotplug
AutoSMP Hotplug
CPUQuiet
Custom I/O Schedulers:
FIOPS Scheduler
SIO Scheduler
TripNdroid Scheduler
zen Scheduler
DOWNLOAD HERE​
OTA Updates
Going forward, kernel OTA updates will now be handled via Franco's Kernel Manager app. Users may import the following URL in FKM Flasher to receive updates:
https://raw.githubusercontent.com/Feinzer/fz_kernel_data/master/ota/release.json
Thanks to
CyanogenMod / LineageOS
Ak
Nikhil18
DeadlyIndian
ArtxDev
Sultanxda
franciscofranco
ZaneZam
Lord Boeffla
flar2
Adithya R.
Tomoms
Idprophecy
All of this is possible ONLY because of the work of these people and teams. Thank you.
XDA:DevDB Information
Fz Kernel, Kernel for the OnePlus One
Contributors
Feinzer, LineageOS, AK, Nikhil18, DeadlyIndian, ArtxDev, Sultanxda, franciscofranco, Lord Boeffla, ZaneZam, flar2, Adithya R., ab123321, Tomoms, Idprophecy
Source Code: https://github.com/Feinzer/fz_kernel_oneplus_msm8974
Kernel Special Features:
Version Information
Status: Stable
Created 2019-05-23
Last Updated 2020-01-15
Reserved
Changelog:
Fz v4.3:
Removed CPUQuiet Hotplug driver.
Added Intelli Hotplug driver.
Updated installer zip to anykernel3.
Added FKM OTA Support
Fz v4.2:
Added ZRAM (Disabled by default)
Removed Maple I/O Scheduler due to reboots caused by it.
Back to good ol' zzmoove default setup.
Fz v4.1:
Added back features and optimizations lost in the LineageOS rebase process.
Added some new settings on init to actually use the features this kernel has.
Fz v4:
Complete rebase to bacon's current LineageOS kernel.
Initial release for Android 10.
Fz v3.1 HOTFIX:
Fixed bootloop on ROMs built with AOSP/POSP trees.
Fz v3:
Added NVIDIA's CPUQuiet driver.
Disabled mpdecision by default.
Added Dynamic Interactive governor.
Added ElementalX governor.
Added Maple I/O Scheduler.
Added general optimizations and improvements.
Reserved
I'll give a try.
Currently over LOS 16 20190523 + magisk 19.2 no issue after flashing.
I'll try common things on few days:
1. Gps UNTESTED
2. Bluetooth OK (test with 2 bluetooth headphone and 1 bluetooth sound speaker)
3. Wifi hotspot OK (unlike FC kernel r57)
4. Battery life UNTESTED
5. More?
Been using it for weeks. It's good. Definitely worth trying.
Using it with TugaPower and I'm very satisfied. [emoji106] for good work.
Sent from my A0001 using Tapatalk
This kernel work great on TugaPower P18. Thank you for your great work. All the best.
Sent from my OnePlus One using XDA Labs
Is there any changelog?
kakawait said:
Is there any changelog?
Click to expand...
Click to collapse
Yes, there is but I don't really wanna edit the OP every time I release a new version unless there are like, nice big changes to edit the feature list, I might post changelogs once I drop a new version on the reserved posts or something.
Yo Feinzer! i see your bacon is still alive...
i can't really use telegram rn that's why I've been missing , been trying to revive my damn phone...
(figure out who i am , isn't that hard )
Edit: Glad to see you doing some work hehe
Initial impression of this kernel seems good. The phone is a bit more responsive now.
Using official lineage OS 16.
doesn't work on POSP v2.2 - bacon
meiax93 said:
This kernel work great on TugaPower P18. Thank you for your great work. All the best.
Sent from my OnePlus One using XDA Labs
Click to expand...
Click to collapse
What settings you use on hotplug?
Enviado do meu A0001 através do Tapatalk
VitorMSA said:
What settings you use on hotplug?
Enviado do meu A0001 através do Tapatalk
Click to expand...
Click to collapse
i just flash that kernel and forget. i not tweak any settings. xD
Does.'t boot on AOSP rom also
portfolio said:
Does.'t boot on AOSP rom also
Click to expand...
Click to collapse
You aren't giving details about the problem, which ROM are you using? any mods or something?
RenzozO said:
doesn't work on POSP v2.2 - bacon
Click to expand...
Click to collapse
portfolio said:
Does.'t boot on AOSP rom also
Click to expand...
Click to collapse
This issue has been fixed now with the v3.1 release.
Next time tho, try to tell me more information about the situation because I cannot address an issue that I have no information of, thank you
yes, v3. 1 is booting now with arrowOS, thanks!
Is this kernel support zram with lz4?
Or will it be supported?
SoarStarlight said:
Is this kernel support zram with lz4?
Or will it be supported?
Click to expand...
Click to collapse
Will look into it
Edit: nvm it does, I forgot about it.

[KERNEL] DxT [10&11] [HMP]

DxT Kernel ​
* Your warranty is now void.
* I am not responsible for bricked devices, strained relationships,
* 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.
*
"This is a user friendly thread, all your suggestions are important to us and will be taken into consideration.."
This kernel is only for Payton
Features
1. Built with Clang 13 + Polly optimize
2. Merge Linux kernel and driver as soon as possible
3. DxT is CAF based and uptodate with latest tag
4. Fixed all compile-time warnings
Other Features
1. kcal, sound gain control
2. CPU OC using some sdm660 frequencies ,[Little cores = 2.0ghz ,Big cores = 2.5ghz]
3. Added & Updated LZ4 for ZRAM (Enabled by Default)
4. AnyKernel3 Installer Script
5.Compiled With Latest Proton CLANG 12
6. Exfat driver comes from arter97
7. Available I/O scheduler: bfq, cfq(default), deadline
8. Available TCP congestion algorithm: westwood(default)
9. Merge some optimization commits from Sultan
10. Kernel-level cpusets parameter optimization, optimize CPU core calls
11. Latest Wireguard driver
12. Adreno GPU boost
13. Some other visible and invisible optimizations...
Due to different moto action implementation on different roms i made two versions
* normal version support roms like superior,pixel experience,msm-xtended,ancient
* L version support roms like LOS,crdroid,havoc,derpest
DOWNLOAD
DxT v4.2
DxT v4.2-L
DxT UC
OTA SUPPORT:
# DxT Kernel FKM Manager Support
This kernel has FKM Manager support for autoflash updates directly from the app.For this to work you must import the configuration link in the section "Flasher" of the app:
Then you must select the option: "Import a kernel download configuration"
This are the URLs for the two versions,just copy,paste and save. (You must add and save one first and if you want both versions available add the other after)
DxT = https://raw.githubusercontent.com/DhineshCool/Dxt_downloads/new/dxt.json
DxT-L = https://raw.githubusercontent.com/DhineshCool/Dxt_downloads/new/dxt-L.json
Telegram Group
Use the app EXKM, FK Manager, kernel adiutor or smartpack to tweak the kernel!
special thanks to all contributators
attack11, nathanchance , joshuous , akhilnarang , flar2 , kerneltoast , GuaiYiHu , Pzqqt
if u like my works u can donate
[email protected] - upi
https://www.paypal.me/cool585 -paypal
XDA:DevDB Information
DxT kernel, Kernel for the Moto X4
Contributors
dhinesh_cool
Source Code: https://github.com/DhineshCool/Dxt_payton
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v4.2
Created 2020-06-22
Last Updated 2021-07-25
## DxT Changelogs ##
v4.2
*upstreamed to v4.276
*merged latest caf tags
*latest proton clang
*improved cpu frequency
*clean up rarely working freq
*improved cpu idle
*fixed battery drain on idle
*removed prlmk to prevent twrp crash
*more code cleanup fro stability
V4.1
*Fixed battery drain issue
*Fixed some bugs
v4.0
*upstreamed to v4.270
*latest proton clang
*fully rebase
*rework thermal engine
*rework ram-managment
*lot see my git
ota json has been changed
DxT = https://raw.githubusercontent.com/DhineshCool/Dxt_downloads/new/dxt.json
DxT-L = https://raw.githubusercontent.com/DhineshCool/Dxt_downloads/new/dxt-L.json
v3.6
*upstreamed to v4.258
*latest proton clang
*added anxiety io for faster app opening
*added z3fold from sony
*improved zram performance
*updated ashmem
*fixed some thermal sensor spamming on logcat
*more fixes see my git
v3.5
*upstreamed to v4.253
*Merged tag LA.UM.9.2.r1-02000-SDMxx0.0
*latest proton clang
*Backport new vmalloc for "large performance benefits"
*selinux: Allow audit to be disabled
* page_alloc: double zone's batchsize
*nuke more debloat
*more optimation for better smoothness
now ui will be more smooth
*Updated wireguard to "1.0.20210124"
v3.4
*DxT rebased to caf base
*upstreamed to v4.251
*added persist bug fix
*latest proton clang
*Gpu added 710 freq
*more ion fixes from sultan
*Enable CONFIG_HID_NINTENDO
*Updated wireguard to "1.0.20201221"
v3.3
New Year Release
*upstreamed to v4.248
*latest proton clang
*Gpu oc to 800mhz
*no thermal throttling on gpu
*more ion fixes from sultan
*Updated wireguard to "1.0.20201221"
note uc version pushes to bimonthly release
v3.2
*upstreamed to v4.247
*fix payload calculation
*usb: Add Drivedroid Support
*power: msm-core: Fix mutex not getting unlocked in error path
*cpufreq: stats: optimize proc files
*mm: speed up mremap by 20x on large regions
*work on cpu idle
*lot of work done see my git
(https://github.com/DhineshCool/Dxt_payton)
*latest proton clang
**** rework on uc version -it now fully stable no thermal throttling ****
*for the people on xda i released v3.1 on my telegram group , i forget to update on xda
that why directly releasing v3.2
v3.1
*upstream to v4.244
v3.0
*upstreamed to v4.240
*clean up codes
*fixed build warning
*added additional safetynet patch
*rework on thermals
*work on cpu idle
*work on ram managment
*lot of work done see my git
(https://github.com/DhineshCool/Dxt_payton)
*latest proton clan
v2.8
*upstreamed to v4.239
*power: bcl: Improve power efficiency of the workqueue
*used latest proton clang (20201010)
v2.7
*upstreamed to v4.238
*qcacld-3.0: Disable Wifi SAE by default
*optimizations for block
*used latest proton clang (20200930)
v2.6
*upstreamed to v4.237
*New OC for payton (thnx to seba3567)
*Remove some scheduler
*ipc logging disabled
*changes on debugfs
*increase thermal trip points
*optimize gpu
*used latest proton clang (20200923)
Reserved
Much appreciated! I've been wanting a custom kernel for Moto x4!
Running on HavocOS 3.6, seemingly no issues. Definitely feels snappier than the base kernel. Will update after a couple days use.
Thanks again!
Installation instructions?
Zohaibzx said:
Installation instructions?
Click to expand...
Click to collapse
Method 1: Download and install the zip for your rom from the download links, then flash in twrp
Method 2: Use Franco Kernel Manager (requires root) and configure it to use the proper link listed under OTA support. FKM will read any new releases in Dhinesh's github, and update the kernel without a need to flash in recovery.
Hope that helps!
I tried to flash it in twrp but after flashing the phone just reboots to recovery instead of system. I'm using pixel experience and have used the proper variant of your kernel.
I've tried to flash this (Using FKM Manager), to both of my X4's, one is running Havoc 9, and one is running the latest version of Havoc 10.
Both gave the same error message: "Unsupported device. Aborting..."
Flashed using fkm in pixel rom. No issues
Is there anyway to increase the minimum cpu frequency? Whenever i do with fkm it goes back to 300mhz. 300mhz seems too low causing some stuttering while scrolling and in some system animations
helo123 said:
Is there anyway to increase the minimum cpu frequency? Whenever i do with fkm it goes back to 300mhz. 300mhz seems too low causing some stuttering while scrolling and in some system animations
Click to expand...
Click to collapse
U can manually set minimum freq
Zohaibzx said:
I tried to flash it in twrp but after flashing the phone just reboots to recovery instead of system. I'm using pixel experience and have used the proper variant of your kernel.
Click to expand...
Click to collapse
Some people had this issue on pe
I don't know why this happening I will try to fix
Tell your variant with ram
dhinesh_cool said:
U can manually set minimum freq
Click to expand...
Click to collapse
I tried many apps to change minimum frequency. It still goes back to 300.. only i can change the maximum frequency now
RBJ26 said:
I've tried to flash this (Using FKM Manager), to both of my X4's, one is running Havoc 9, and one is running the latest version of Havoc 10.
Both gave the same error message: "Unsupported device. Aborting..."
Click to expand...
Click to collapse
U need clean flash latest havoc then install
helo123 said:
I tried many apps to change minimum frequency. It still goes back to 300.. only i can change the maximum frequency now
Click to expand...
Click to collapse
Weird I will check ,but lag is due to ram management
I added some tweaks for ram management that was causing lag after sometime for 3gb variant I was aware of this issue I will fix soon
dhinesh_cool said:
Some people had this issue on pe
I don't know why this happening I will try to fix
Tell your variant with ram
Click to expand...
Click to collapse
1900-7 Dual Sim 3GB 32GB
dhinesh_cool said:
U need clean flash latest havoc then install
Click to expand...
Click to collapse
Sorry, I should have given more info.
I should have said I had two clean installs of Havoc. On one phone is with Havoc 2.7 (which you say is not supported - OK).
The other phone is a clean install of Havoc 3.6
I have not tried to flash through TWRP would this help? or could there be another issue with my phone.
ETA: I think I understand now. Do you mean without root, etc?
Thanks,
R
RBJ26 said:
Sorry, I should have given more info.
I should have said I had two clean installs of Havoc. On one phone is with Havoc 2.7 (which you say is not supported - OK).
The other phone is a clean install of Havoc 3.6
I have not tried to flash through TWRP would this help? or could there be another issue with my phone.
ETA: I think I understand now. Do you mean without root, etc?
Thanks,
R
Click to expand...
Click to collapse
Flash through twrp
Or u need root to flash via fk manager
dhinesh_cool said:
Flash through twrp
Or u need root to flash via fk manager
Click to expand...
Click to collapse
Flashing via TWRP worked fine, Thanks!
For some reason flashing from FKM would not work, even with root.
RBJ26 said:
Flashing via TWRP worked fine, Thanks!
For some reason flashing from FKM would not work, even with root.
Click to expand...
Click to collapse
On FKM u need to give proper permission to storage then on flasher u need select storage and give access

Categories

Resources