[EOL][KERNEL][9.0.0] Sultan Kernel [April 2, 2019] - Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth

Code:
/*
* Your warranty is no longer valid, unless you lie.
*
* 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 no-frills custom kernel for the Pixel 3 and Pixel 3 XL designed to be used with the stock ROM and custom Pie ROMs. It's intended to be a simple replacement for the stock kernel that brings several under-the-hood enhancements. This kernel is not meant to be customized by users.
Changelogs for each update can be found in the 2nd post of this thread.
Features:
Compiled with the latest official GCC toolchain for the kernel
Removed lots of excessive bloat (improves security and performance)
Fast fingerprint unlock and screen power on
Improved app launch performance
CPU Input Boost: a custom CPU boost driver to keep the phone smooth while maximizing battery life
MSM Thermal Simple: a custom thermal monitor driver that keeps the phone cool
WireGuard, a next generation secure VPN tunnel
Passes SafetyNet bootloader unlock check
Reduced power consumption
Improved overall system fluidity and graphics performance
Improved stability
Westwood+ TCP congestion algorithm
Many other miscellaneous improvements not listed here
Source code - 9.0.0-sultan branch:
https://git.zx2c4.com/android_kernel_google_bluecross
or
https://github.com/kerneltoast/android_kernel_google_bluecross
Credits:
zx2c4 (for WireGuard, providing project resources, co-authorship on parts of this kernel, and sending me stickers)
osm0sis (for AnyKernel2)
If your name should be here and it isn't, then replace my camera with a OnePlus device
Installation instructions:
To install this kernel, simply download and flash it in a custom recovery. Do the same when there is a new update available.
Download:
Latest version: https://github.com/kerneltoast/andr.../release/Sultan-kernel-bluecross_20190402.zip
XDA:DevDB Information
Sultan Kernel, Kernel for the Google Pixel 3 XL
Contributors
Sultanxda, zx2c4
Kernel Special Features:
Version Information
Status: Stable
Created 2019-01-23
Last Updated 2019-04-10

Changelog:
April 2, 2019:
*Merged April Security Bulletin fixes
*Removed CPU underclock (the instability was due to a missing driver)
*Improved CPU Input Boost driver efficiency and performance
Old changelogs:
March 30, 2019:
*Removed Simple LMK (it's not ready yet; it still causes freezes)
March 29, 2019:
*Fixed performance issues and microstutters
*Added rewritten Simple LMK driver for improved memory management
March 27, 2019:
*Fixed frequent stuttering due to a bug in the CPU clock driver
March 26, 2019:
*Improved touchscreen latency
*Fixed occasional bouts of intense lag
*Fixed scheduling issue that reduced performance
March 25, 2019:
*Underclocked gold CPU cluster to 2553 MHz to improve performance (speeds higher than 2553 MHz actually run slower)
*Forced all kernel processes to run on the silver CPU cluster to save power
*Improved the performance of string operations in the kernel
March 14, 2019:
*Removed Simple LMK (fixes freezes)
*Removed CPU underclock
March 10, 2019:
*Rewrote Simple LMK for vastly improved memory management
*Re-enabled all gold cluster CPU cores
March 4, 2019:
*Merged March Security Bulletin fixes
March 3, 2019:
*Actually fixed front camera not working for some users
*Added MSM Thermal Simple, a custom thermal driver to keep the phone cool
*Reduced gold CPU cluster max frequency to 2323 MHz to save power
*Improved memory management (Simple LMK kills fewer apps each time it is invoked)
*Improved performance when multitasking
*Adjusted scheduling to improve overall performance and power consumption
February 16, 2019:
*Merged February Security Bulletin fixes
*Fixed front camera not working for some users
*Fixed support for custom ROMs
*Fixed screen not turning off in TWRP
*Improved memory management (Simple LMK kills apps less often and kills less-recently-used apps first)
*Reduced CPU boost frequencies (reduces power consumption)
*Switched from BBR to Westwood+ TCP congestion algorithm
*Fixed WireGuard not turning on sometimes
January 23, 2019:
*Initial release

Reserved

Sultan on Pixel 3 .. nice to see you here

FYI I've only tested this on the 3 XL, not the 3 (though it should work fine on the 3). If anyone with a 3 could test this and report back, that'd be greeeaaaaat

Sultanxda said:
FYI I've only tested this on the 3 XL, not the 3 (though it should work fine on the 3). If anyone with a 3 could test this and report back, that'd be greeeaaaaat
Click to expand...
Click to collapse
Works great on Pixel 3 as well!

Device boots to bootloader after installing. Everything is fine when I revert to previous kernel. Should I be flashing stock boot first?
---------- Post added at 01:40 PM ---------- Previous post was at 01:39 PM ----------
Jackaroop said:
Device boots to bootloader after installing. Everything is fine when I revert to previous kernel. Should I be flashing stock boot first?
Click to expand...
Click to collapse
Forgot to mention I'm on Crosshatch.

Woww im so excited. Do you have a telegram group to test a beta release?

Jackaroop said:
Device boots to bootloader after installing. Everything is fine when I revert to previous kernel. Should I be flashing stock boot first?
---------- Post added at 01:40 PM ---------- Previous post was at 01:39 PM ----------
Forgot to mention I'm on Crosshatch.
Click to expand...
Click to collapse
Are you on stock or a custom ROM?

Sultanxda said:
Are you on stock or a custom ROM?
Click to expand...
Click to collapse
I'm on a custom rom sorry for not mentioning. Bootleggers Rom

Jackaroop said:
I'm on a custom rom sorry for not mentioning. Bootleggers Rom
Click to expand...
Click to collapse
Got a pstore log?

He from Neuschwabenland....
The Rise of the Fourth Reich
This performance are not from Earth.
Thank you for visiting us

Dark_Eyes_ said:
Works great on Pixel 3 as well!
Click to expand...
Click to collapse
Stock rom?

After switching from Proton to Sultan Kernel got back to bootloader.
On latest DU Rom.

He's arrived! Thanks for developing for our device!

peikojose said:
Stock rom?
Click to expand...
Click to collapse
Yep, had to reinstall Magisk though, but no biggy. Runs great as always with @Sultanxda. Thanks man!

@Sultanxda welcome on board buddy ! Happy to see you here ! Great work as always
Sent from my Pixel 3 XL using XDA Labs

Jackaroop said:
I'm on a custom rom sorry for not mentioning. Bootleggers Rom
Click to expand...
Click to collapse
Did you happen to get it working on Bootleggers?

blaze9090 said:
After switching from Proton to Sultan Kernel got back to bootloader.
On latest DU Rom.
Click to expand...
Click to collapse
Can you send pstore logs?

Hello,
I am currently in a different Kernel. Could I flash this in top or should I go back to the stock kernal first and I am on stock ROM by the way.
Thanks.

Related

[Kernel][osprey] SomeFeaK for Moto G 2015 (3rd gen.)

This is SomeFeaK kernel, based on Squid2's kernel for device codename "osprey".
This is the first time I build a kernel, also, the first time I post something in DevDB. Hope you like this kernel and please expect many releases.
The kernel should work in stock and custom ROMs, with any variant. Tested and working in XT1601 (LATAM).
Disclamier:
Code:
[COLOR="red"]* Include <std_disclaimer.h>
* 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.
*[/COLOR]
Features:
From squid2's r19 build:
Moderately undervolted
Updated to Linux 3.10.104
Synced with latest CodeAurora changes
Improved memory management
Improved memory caching backported from Linux 3.15
Improved storage performance
Optimized ARM crypto routines
Updated f2fs and WiFi drivers
FIOPS and BFQ I/O schedulers
Lionfish CPU governor
IntelliPlug CPU hotplug (by faux123)
KCAL MDP5 colour control (by savoca)
Improved zRAM backported from Linux 4.9
Vibration intensity control
Compiled with Linaro GCC 6.2 and optimized for Cortex A53
Stripped down and optimized configuration
Added by me:
Governors: impulse and elementalX, yankactive, zzmoove, darkness and bioshock.
Double tap to wake (DT2W).
Permanently fixed screen flickering: SELinux works fine in permissive or enforcing mode.
Enabled advanced TCP congestion managers: veno, westwood, vegas, illinois, and more.
Drastically improved CPU thermal control: should react approximately from 40°C and end if lower than 35°C are reached. Otherwise it'll keep trying to cool the device, protecting, mainly, the battery.
Automatic thermal throttling and CPU cooling driver added and enabled.
Enabled CPU current throttling driver.
Use the hidden LED as a notification light.
Enabled forced consistency checks for F2FS (/data).
Multi-Cluster Power Management (less CPU battery drain).
KSM (Kernel Samepage Merging).
Advanced Power Management (emulated).
SMT (Simultaneous Multi-Threading).
Fixed temperature handling.
Dev info:
In order to make use of the new hidden LED's available behavior, it's needed that some Java developer (not me, I don't know a thing about Java) to develop an application. Here I'll give you a sort of "API" that you should use to wake up the required triggers for "if there's a notification or not".
To turn on the LED set trigger to default-on:
Code:
su -c "echo default-on > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"
To turn off the LED set trigger to none:
Code:
su -c "echo none > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"
I've also added the required modules for the LED to be able to process a hold on during "x" milliseconds and keep off during "x" milliseconds. To set it do it like as follows.
Switch trigger to timer:
Code:
su -c "echo timer > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"
Now, set time on during 0,5 seconds (500 milliseconds):
Code:
su -c "echo 500 > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/delay_on"
Now, set time off during 1 second (1000 milliseconds):
Code:
su -c "echo 1000 > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/delay_off"
For now, you must have a charger connected. It seems to be a hardware issue but I'll try to investigate it anyways.
Click to expand...
Click to collapse
Release history:
Code:
4.53 (stable): June 16, 2017:
Kernel changes:
- fs: fsync will now be enabled by default (prevents data loss if a kernel panic occurs).
- cpu/hotplug: removed broken lazyplug hotplug driver, better handling for hardware hotplugging.
- cpufreq: added intellidemand, smartmax, wheatley, smartmax_eps, pegasusq, authority.
- input/touchscreen: updated DT2W driver, still not stable, more responsive and stable touchscreen.
- sched: fixed zen, fixed and added sio.
Other changes: first build for osprey coming soon.
4.30 (stable): June 14, 2017:
Kernel changes:
- hotplug: added lazyplug (broken, don't use).
- input/touchscreen: fixing DT2W.
- sched: added sio.
Other changes: none.
4.25 (stable): June 13, 2017:
Kernel changes:
- ksm: updated code and better management, enabled checking before swapping pages, reduce cpu
- swap: updated code, got better management by adding some compression drivers.
- input/soc: added powersuspend driver, this will help DT2W work better.
- random: added frandom support, decrease CPU load for entropy generation.
- mem: enabled memory changes tracking.
- sched: added tripndroid, vr, zen.
- usb: enabled fast charge by default.
Other changes: no tool required to setup anymore, default setup won't overheat your device nor damage it; due to recently added support for surnia, every new release will be respectively named with a suffix like '-harpia' or '-surnia'; new project logo (for DevDB), thanks to @lecron89 .
4.18 (stable): June 12, 2017
- cpu: rolled back extreme overclock, new max clock: 1593 MHz.
- gpu: rolled back extreme overclock, new max clock: 465 MHz.
- cpufreq: fix build for 'darkness' governor.
- cpufreq: added new CPU governors: yankactive, zzmoove, darkness and bioshock.
4.00 (stable): June 9, 2017
- cpu: undervolted and overclocked, max freq. 1785 MHz (recommended: 1593Mhz).
- gpu: overcloked, max freq. 650 MHz.
- flashing: fixed bug where the touchscreen would become unresponsive after any kernel update.
3.90 (stable): June 8, 2017
- usb: use your device as an USB gadget, including keyboard and mouse.
- general: updated defconfig for harpia at source to match new features.
3.81 (stable): June 7, 2017
- wlan: updated drivers, solved remaining crashes and battery drain.
- prima: updated drivers.
- usb: added support for xpad joysticks (XBOX).
- cpu: fixed hotplugging driver "thunderplug", used to crash the device while allowing the user to pick "octa-core mode" when it's a quad-core device.
- cpu: hotplugging driver "alucard", default minimum of 1 (one) cpu online.
- general: performance improvements for touchscreen, GPU and variables definition.
3.61 (stable): June 4, 2017
- Added S2S (Sweep to Sleep): swipe from the navbar from right to left or from left to right to make the device go to sleep.
3.60 (stable): June 4, 2017
- In the stock ROM, the audio won't skip anymore (tested).
- The wlan driver shouldn't crash again (updated with Heliox sources).
- Re-added missing Adreno Idler driver.
3.52 (stable): June 1, 2017
- Hotfix: DT2W won't freeze the screen anymore.
3.51 (stable): May 31, 2017
- Hotfix: re-added missing hotplug driver (thunderplug).
3.5 (stable): May 31, 2017
- Reverted patches for sdcardfs (they broke the media scanner).
- USB fast charge.
- FauxSound gain control.
3.11 (stable): May 29, 2017
- Patches for sdcardfs.
- Patches for wlan.
- Patches for less power consumption.
- Re-added missing features: KSM (Kernel Samepage Merging) and TCP congestion control algorithms (veno, illinois, westwood and vegas).
3.0 (stable): May 29, 2017
- Added governors: impulse and elementalX.
- DT2W (Double tap to wake).
- Adreno Idler (reduce GPU frequency and resources if inactive).
- Added hotplug drivers: allucard and thunderplug CPU.
2.1 (stable): Februrary 8, 2017
- Rolled back to default SELinux setup.
- Switched default GPU governor from "msm-adreno-tz" to "simple_ondemand" for better battery and performance balancing.
- Fixed screen flickering bug by disabling debugging in graphics card. (SELinux socket overflow).
- Fixed noisy output if using audio MODs by disabling aggressive debugging for sound card. (SELinux socket overflow).
2.0 (stable): February 5, 2017
- Permanently fixed the screen flickering: you won't see any flickers while running SELinux in permissive or enforcing mode. This is going to work even if you build the kernel from source.
1.3 (stable): January 31, 2017
- Enabled advanced TCP congestion managers: veno, westwood, vegas, illinois, and more.
- Set default TCP congestion manager to "veno" for lesser lags while heavily loading the networking area.
1.2 (beta): January 29, 2017
- Fixed SELinux: permissive mode works again.
- Decreased SELinux activity (even more).
1.1 (beta): January 29, 2017
- Restored previous setup for audio amplifier DAC: switched input gain from 4 to 5. Reason: the output felt like if it is cropping some frequencies.
- Modified CPU cooling driver to get more sensitivity as when to react and how far the temperatures should reach. (experimental, please report if horribly lags)
1.0 (beta): January 27, 2017
- Automatic thermal throttling and CPU cooling driver added and enabled.
- Enabled CPU current throttling driver.
- Decreased audio amplifier DAC input gain to 4 from 5 (solves distorted output while using audio mods like [B]Dolby Atmos[/B])
0.3 (experimental): January 26, 2017
- Added available triggers for LED to: show cpu usage by core, blink like heartbeat, blink with interval and full on.
- Disabled swap pages caching (frontswap).
0.2 (experimental): January 25, 2017
- Enabled swap pages compression.
- Enabled swap pages caching (frontswap): better RAM management.
- Enabled cleancache for faster swap handling.
- Decreased SELinux activity and removed almost every security check.
- Enabled F2FS forced consistency checks.
- Enabled Multi-cluster power management (even better power management and less temperature).
0.1 (experimental): January 24, 2017
- Initial release.
Downloads:
Click here or go to Downloads tab at the top of the thread.
If something goes wrong with the XDA download server or you simply want to download from somewhere else, I've been approved as developer at AFH. All downloads will also be posted here.
NEW! Ask for features, report bugs, get help with installation, usage and everything else. Join us at Telegram: t.me/somefeak
Bugs:
Doubled frequency on GPU clocking (465 MHz step repeats).
You tell me.
Bugs marked with a "*" will be fixed in the next release.
XDA:DevDB Information
SomeFeaK Kernel for Moto G 2015 (3rd gen.), Kernel for the Moto G 2015
Contributors
facuarmo, chijure, Dark98, squid2, TeamMex
Source Code: https://github.com/FacuM/android_kernel_motorola_msm8916
Kernel Special Features: The kernel features: everything from r19 Squid2's build, KSM (Kernel Samepage Merging), SMT (Simultaneous Multi-Threading), Advanced Power Management (emulated), advanced LED contro, DT2W and impulse and elementalX governors.
Version Information
Status: Stable
Created 2017-06-17
Last Updated 2017-06-27
Changelog (v4.53):
Kernel changes:
fs:
* fsync will now be enabled by default (prevents data loss if a kernel panic occurs).
cpu/hotplug:
* removed broken lazyplug hotplug driver.
* better handling for hardware hotplugging.
cpufreq:
* added intellidemand.
* added smartmax.
* added wheatley.
* added smartmax_eps.
* added pegasusq.
* added authority.
input/touchscreen:
* updated DT2W driver, still not stable.
* more responsive and stable touchscreen.
sched:
* fixed zen.
* fixed and added sio.
selinux:
* only show errors.
Other changes:
None.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25196
Alternative link: https://www.androidfilehost.com/?fid=745425885120742248
Finally, thanks! Testing
Laloo' Hdez said:
Finally, thanks! Testing
Click to expand...
Click to collapse
No problem . Test and report back, please. I'd like to know if it's working.
Don't forget to join our Telegram group if you're interested on chatting, asking for features, help, etc.
facuarmo said:
No problem . Test and report back, please. I'd like to know if it's working.
Don't forget to join our Telegram group if you're interested on chatting, asking for features, help, etc.
Click to expand...
Click to collapse
Testing
facuarmo said:
No problem . Test and report back, please. I'd like to know if it's working.
Don't forget to join our Telegram group if you're interested on chatting, asking for features, help, etc.
Click to expand...
Click to collapse
Don't booting on MokeeROM 20170616
facuarmo said:
No problem . Test and report back, please. I'd like to know if it's working.
Don't forget to join our Telegram group if you're interested on chatting, asking for features, help, etc.
Click to expand...
Click to collapse
It's not booting on official RR for osprey.
It's not booting on Viper OS 2.0...
Thanks for testing, an experimental hotfix will be up in some minutes.
Changelog (v4.53-1):
EXCLUSIVE BUILD: only for osprey, fixed boot (cpu not starting).
Kernel changes:
None.
Other changes:
config:
* fixed defconfig for osprey.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25198
Alternative link: https://www.androidfilehost.com/?fid=889764386195909633
I'm very thankful with everyone who had flashed and tried it.
@facuarmo, it still won't boot on official RR. I flashed the kernel, wiped cache and dalvik. It doesn't go past the boot logo.
adityak1303 said:
@facuarmo, it still won't boot on official RR. I flashed the kernel, wiped cache and dalvik. It doesn't go past the boot logo.
Click to expand...
Click to collapse
Thanks for reporting, please stay tuned at the Telegram group, I'm gonna throw away some exp. builds for you to test so I stop bothering with non-working builds. Please help .
facuarmo said:
Thanks for reporting, please stay tuned at the Telegram group, I'm gonna throw away some exp. builds for you to test so I stop bothering with non-working builds. Please help .
Click to expand...
Click to collapse
No problem. I'm there to help.
It's not booting up. Aosp extended 4.3 build. Doesn't get past to the boot logo.
it still won't boot on aospxtended. I flashed the kernel, wiped cache and dalvik. It doesn't go past the boot logo. Is the xt1543 variant
Changelog (v4.80):
Kernel changes:
sensors/accelerometer:
* fix bugs and driver random crashes.
sound/ALSA:
* fix crashes and crackling.
* get rid of inifinte loops.
video/kgsl:
* general performance and stability improvements.
power/wake:
* added wakelock toggles for wlan_rx, wlan_ctrl, wlan and bluesleep.
* better performance and responsiveness after suspend.
usb:
* less console spamming.
networking:
* speed improvements.
input/touchscreen:
* add generic touchboost driver.
cpufreq/general:
* prevent random scaling failiures.
Other changes:
flashing:
* added Aroma Installer. (only harpia)
* pick if you want to flash bootlogo or not thanks to Aroma Installer.
bootlogo:
* added built-in SomeFeaK's official bootlogo, made by @jasonmerc . P.S.: thank you so much.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25334
Alternative link: https://www.androidfilehost.com/?fid=673368273298966924
Code:
MD5: 6de0da7f970db0b98321604a4ccb7dc8
facuarmo said:
Changelog (v4.80):
Kernel changes:
sensors/accelerometer:
* fix bugs and driver random crashes.
sound/ALSA:
* fix crashes and crackling.
* get rid of inifinte loops.
video/kgsl:
* general performance and stability improvements.
power/wake:
* added wakelock toggles for wlan_rx, wlan_ctrl, wlan and bluesleep.
* better performance and responsiveness after suspend.
usb:
* less console spamming.
networking:
* speed improvements.
input/touchscreen:
* add generic touchboost driver.
cpufreq/general:
* prevent random scaling failiures.
Other changes:
flashing:
* added Aroma Installer. (only harpia)
* pick if you want to flash bootlogo or not thanks to Aroma Installer.
bootlogo:
* added built-in SomeFeaK's official bootlogo, made by @jasonmerc . P.S.: thank you so much.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25334
Alternative link: https://www.androidfilehost.com/?fid=673368273298966924
Code:
MD5: 6de0da7f970db0b98321604a4ccb7dc8
Click to expand...
Click to collapse
It works! thank you so much
I'm in MokeeROM 71.2 20170624
Laloo' Hdez said:
It works! thank you so much
I'm in MokeeROM 71.2 20170624
Click to expand...
Click to collapse
WOAH!!! THANKS FOR REPORTING. Finally got this booting on osprey, hope you enjoy it :fingers-crossed:.
facuarmo said:
WOAH!!! THANKS FOR REPORTING. Finally got this booting on osprey, hope you enjoy it :fingers-crossed:.
Click to expand...
Click to collapse
Booted on lineage os 14.1 official
---------- Post added at 06:04 AM ---------- Previous post was at 05:52 AM ----------
@facuarmo, the kernel is working on official RR for osprey. DT2W is also working fine for now. Would you recommend any particular governer or settings for good performance?

[kernel] [7.x.x] [Lineage/Aosp] Paradox Kernel R4 [condor]

Paradox Kernel​
HTML:
#include <std_disclaimer.h>
/*
* 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 everyone...This is my first step towards developement...I created Paradox kernel for learning and after adding many features, its time to release it to community...Paradox kernel is based on latest Lineage 14.1 sources and supports LineageOs 14.1 and all other lineage based Aosp (7.x.x) roms...My moto is to make a stable and balanced kernel having better performance as well as good battery life with usefull features
Once again, Paradox kernel is for NOUGHT ONLY (LINEAGE 14.1 and AOSP 7.X).
Features
* Based on latest lineage 14.1 sources
* Compiled using Linaro 5.4.1 toolchain
* Added cpu governores
-Impulse
-Smartmax
-lionheart
-ondemandplus
-wheatly
* Added i/o schedulors
-Sio
-Tripndroid
-zen
*Wake gestures (DT2W,S2W,Pocket Mode)
* Faux sound 3.4
* Franco Fsync control (enabled by defualt)
* KCAL colour control
* Powersuspend and LCD Notifier
* Power efficient workqueues
* Optimised crypto routines
* Push readahead to 512kB
* Optimized square root algorithm
* Lz4 compression
* Many Zram tweaks
* Disable crc check for faster performance (upto 30% increase in i/o operations)
* Blocked some wakelocks for extra battery life
* Added many tcp controllers
default : westwood
Many more features to be added...so stay tuned
Installation Instructions
Note:- If you are coming from other kernel, flash your rom before installing it(dirty flash will work too) to avoid any conflicts.
Also if you are updating to latest release of paradox kernel,you must flash your rom before flashing latest paradox kernel.
Steps to flash :-
- reboot to twrp recovery
- clean cache and dalvik cache
- flash paradox zip
- reboot
- enjoy
Downloads
For download link and changelogs have a look at post #2
Credits
@LineageOs @google @savoca @faux123 @fransiscofranco @rainforce279 @hurtsky @xda community
I am doing it as my hobby in free time...and i am asking for just one thing in return...press the thanks button...it will encourage me to make this kernel better and better.
Click to expand...
Click to collapse
XDA:DevDB Information
Paradox kernel, Kernel for the Moto E
Contributors
DarkElf
Source Code: https://github.com/Akshay7273/MotoE
Kernel Special Features: DT2W,S2W,KCAL colour control
Version Information
Status: Stable
Current Stable Version: R4
Stable Release Date: 2017-10-10
Created 2017-08-27
Last Updated 2017-10-10
Downloads + Changelogs
Downloads
Download latest release :- Paradox Kernel R4
Changelogs
*Paradox R4 10/10/17)
Merge latest lineage changes
Optimized ARM RWSEM algorithm (RWSEM implementation for ARM using atomic functions)
Lock the initial TCP window size to 64K
Optimize copy_page for modern ARM platforms
Entropy : random write wakeup thresh to 256)
Selinux : permissive
Silence some selinux logs
Older changelogs:-
*Paradox R3 (04/09/17)
Added Ondemandpus and Wheatly cpu governors
Added Conservative gpu governor
Enable lionheart cpu governor (forgot to enable in last update)
Revert KCAL commit (it was already integrated,i readded it by mistake and thus some conflicts occured...But now its fixed)
zram: set default compressor to lz4
lib/int_sqrt.c: optimize square root algorithm
init: don't force selecting debug
mm: push readahead to 512kB
proc: much faster /proc/vmstat
block: scheduler: add ZEN
USB: android: Fix memory leak in mass_storage_function_init()
sync: don't block the flusher thread waiting on IO
writeback: fix occasional slow sync
writeback: fix race that cause writeback hung
readahead: make context readahead more conservative
its not over...many other patches
*Paradox R2 (30/08/17)
Switched to Linaro 5.4.1 toolchain
Remove anykernel method and using new template zip (thanks to @rainforce279)
Added wake gestures :-
DT2W
S2W
Pocket mode for dt2w
Added KCAL colour control
Added lionheart cpu governor
Added fsync on/off support
Enable fsync by default
arm: crypto: Add optimized SHA-256/224
crypto: arm/aes update NEON AES module to latest OpenSSL version
sched: cpu_power: Add controls for sched features
sched: archpower: disabled by default
bfq-sched: Forcefully lookup entities when the cache is inconsistent
some more patches
*Paradox-R1-08/26/2017
initial release
merged latest lineage 14.1 sources
added cpu governors :- impulse,smartmax
added i/o schedulors :- sio,tripndroid
added faux sound 3.4
added powersuspend and lcd notifier
disable crc check (faster performance)
added power efficient workqueues
block some driver wakelocks
added many tcp congestion controllers
set default tcp controller to westwood
FAQ section
FAQs
[Q] This kernel works in stock rom?
NO, this kernel is based on lineage sources and works on Lineage 14.1 and all other AOSP 7.x.x roms.
[Q] Got errors during flashing/after flashing this kernel...what to do now?
Well if you are coming from any other kernel you must dirty flash your rom once to avoid any conflicts.After dirty flashing your rom flash this kernel and you won't face any problems.Also use twrp latest version (recommended)
[Q] I am having some random reboots/bugs...what to do?
Just report it with last_kmsg which is located in /proc/last_kmsg or in case of any bugs report it with logcat and proper information about how you encountered it.I will do my best to resolve it asap.
[Q] how to tweak this kernel for advanced features (like dt2w on/off,s2w on/off or changing cpu governor or i/o sechdulors) ?
Use kernel adiutor app for playing with the kernel and change the settings according to your own taste.
[Q]How to ask for any features ?
You can ask in this thread...if I find feature useful and logical then it'll be added...I would appreciate if you link me with commit. It's really hard to dig in the sources and find the exact commit.
Double tap to wake is there ??
No i have not added it yet...but i am planning to add it soon...many more features are going to be added
Update R2
Hello guyss...here comes a big update Paradox R2.Many features have been added and many things have changed to make it better.
Remember to dirty flash your rom before installing this update
*Paradox R2 (30/08/17) Download here
Changelogs -
Switched to Linaro 5.4.1 toolchain
Remove anykernel method and using new template zip (thanks to @rainforce279)
Added wake gestures :-
DT2W
S2W
Pocket mode for dt2w
Added KCAL colour control
Added lionheart cpu governor
Added fsync on/off support
Enable fsync by default
arm: crypto: Add optimized SHA-256/224
crypto: arm/aes update NEON AES module to latest OpenSSL version
sched: cpu_power: Add controls for sched features
sched: archpower: disabled by default
bfq-sched: Forcefully lookup entities when the cache is inconsistent
some more patches
after installing it my screen looks green and calibrated the colors and returns to look green
Luis Infante said:
after installing it my screen looks green and calibrated the colors and returns to look green
Click to expand...
Click to collapse
Luis actually its LiveDisplay conflicting with KCal...turn off live display from settings>> Display >> LiveDisplay ...after that display willbe normal. Thanks for trying my kernel by the way...
DarkElf said:
Luis actually its LiveDisplay conflicting with KCal...turn off live display from settings>> Display >> LiveDisplay ...after that display willbe normal. Thanks for trying my kernel by the way...
Click to expand...
Click to collapse
Ok i Will try it but i like use live display, another solution? And s2w is not working
Luis Infante said:
Ok i Will try it but i like use live display, another solution? And s2w is not working
Click to expand...
Click to collapse
Edit :- Ok guyss...i figured out the real issue...it was a tiny mistake by me and that's why when kcal colour was caliberated it automatically turned back...All is well now nd i will be updating it in an hour...this time the changelogs is gonna be huge.
S2W is working without any issues...its just disabled by default...if you want to use it then enable it first by kernel adiutor app.
Update R3
Paradox kernel R3
Download here
Remember to dirty flash your rom before installing this update (as always)
Changelogs
Added Ondemandpus and Wheatly cpu governors
Added Conservative gpu governor
Enable lionheart cpu governor (forgot to enable in last update)
Revert KCAL commit (it was already integrated,i readded it by mistake and thus some conflicts occured...But now its fixed)
zram: set default compressor to lz4
lib/int_sqrt.c: optimize square root algorithm
init: don't force selecting debug
mm: push readahead to 512kB
proc: much faster /proc/vmstat
block: scheduler: add ZEN
USB: android: Fix memory leak in mass_storage_function_init()
sync: don't block the flusher thread waiting on IO
writeback: fix occasional slow sync
writeback: fix race that cause writeback hung
readahead: make context readahead more conservative
its not over...many other patches
Nice kernel
Update R4
Yo guysss...its time for an update... I have been pretty much busy due to exams...finally its over and i'm back to developement.
This is the build for 7.x.x only...i haven't started on oreo yet...but i will do that shortly.
Paradox kernel R4
Download Here
Dirty flash you rom once before flashing as always...
Changelog
Merge latest lineage changes
Optimized ARM RWSEM algorithm (RWSEM implementation for ARM using atomic functions)
Lock the initial TCP window size to 64K
Optimize copy_page for modern ARM platforms
Entropy : random write wakeup thresh to 256)
Selinux : permissive
Silence some selinux logs
DarkElf said:
Yo guysss...its time for an update... I have been pretty much busy due to exams...finally its over and i'm back to developement.
This is the build for 7.x.x only...i haven't started on oreo yet...but i will do that shortly.
Paradox kernel R4
Download Here
Dirty flash you rom once before flashing as always...
Changelog
Merge latest lineage changes
Optimized ARM RWSEM algorithm (RWSEM implementation for ARM using atomic functions)
Lock the initial TCP window size to 64K
Optimize copy_page for modern ARM platforms
Entropy : random write wakeup thresh to 256)
Selinux : permissive
Silence some selinux logs
Click to expand...
Click to collapse
I have installed this and working fine.
sherindroid said:
Nice kernel
Click to expand...
Click to collapse
praveen139 said:
I have installed this and working fine.
Click to expand...
Click to collapse
Thanks for trying and using it mates...i'm happy my work is being used by moto e community...
Can you add FAUX SIMPLE GPU CONTROL please?
sherindroid said:
Can you add FAUX SIMPLE GPU CONTROL please?
Click to expand...
Click to collapse
Yes sure...i'll add it in next update...
DarkElf said:
Yes sure...i'll add it in next update...
Click to expand...
Click to collapse
Thanks
Viper OS + Paradox
Can anyone tell the battery life after installation of this kernal....?

[KERNEL][Z017/Z012][TREBLE][P5] Advanced Kernel for Custom ROMs

Code:
#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.
*/
This kernel should be compatible to all up to date Pie/Oreo custom ROMs. Its goal is to further improve battery life and to offer as many features as possible while maintaining perfect stability. All battery tweaks are toggleable so you can decide whether you prefer performance or battery life.
Every release will be tested with the latest LineageOS 16.0 build before release.
Compatibility to other custom ROMs is very likely but cannot be guaranteed.
Advanced Kernel for Oreo is now discontinued. The non-treble Pie version should work fine with Oreo ROMs.
Features
Built with bleeding edge GCC 10.0.0 toolchain, optimized for Cortex-A53
Linux 3.18.140, CAF Tag LA.UM.7.6.r1-05500-89xx.0
Treble ROM support.
Spectrum
WireGuard VPN
KCAL v2 color control
Sound control
Intellithermal v3
USB keyboard support
Arch power
Adreno idler
Adreno boost
Slimbus OC
Fingerprint boost
State notifier
Boeffla wakelock blocker
CPU wake boost
Vibration intensity control
Force fast charge to enforce maximum charging speed on any charger. (Use at your own risk! Disabled by default.)
Qnovo driver for better charging temperatures
Powersuspend
Toggleable touchboost
Powersaving work queue by default
Tuned interactive governor
Additional lower frequencies: 307MHz and 480MHz
Additional overclocking frequencies: 2208MHz and 2150MHz - Only selectable in OC version.
Disabled CRC check for up to 30% faster I/O, toggleable
Fsync switch
Improved zram with lz4 compression
Native CIFS and BTRFS filesystem support
Support for SMB2 and SMB3
SdFat for FAT and exFAT support
Support for rtl8812au and rtl8814au usb wifi adapters.
CPU governors: relaxed, chill, electron, elementalx, impulse, zzmoove, alucard, darkness, nightmare, yankactive, intelliactive, blu_active, interactive, conservative, ondemand, powersave, performance, userspace
Hotplug governors: alucard_hotplug, thunderplug, blu_plug, msm_hotplug, intelli_plug, lazyplug, autosmp, AiO_hotplug (Pie only)
I/O schedulers: noop, deadline, cfq, bfq, sio, fiops, zen, maple
TCP congestion algorithms: westwood, reno, bic, cubic, highspeed, htcp, vegas, veno, scalable, lp, yeah, illinois
Countless additional improvements
Overclocking
With every version of Advanced Kernel two files are released: One with overclocking support and one without. Be aware that overclocking may physically damage your phone! If you still want to use it, download and install the kernel zip from the "Overclocking" subfolder. The default zip from the main folder doesn't allow overclocking and is "safe".
The overclocked kernel will first boot with 2.2GHz, then the maximum frequency is lowered by the active spectrum profile. To enable overclocking after booting you have to use a kernel manager app to select a higher maximum cpu frequency. The tradeoff is that higher frequencies also come with higher CPU-voltages so your battery level will drop faster while OC frequencies are in use.
Force fast charge:
Available on the OC and non-OC kernel. This feature overrides the detected charging current with the maximum possible current for the Zenfone 3 (1910ma) so that every charger is fully utilized. Please be especially careful when using this feature as possible safety measures are disabled! It's disabled by default and can be enabled by enabling "USB fastcharge" at KernelAdiutor's "Battery" section or in EX Kernel Manager under "Miscellaneous".
Installation
Simply flash the provided zip file via TWRP over your custom ROM installation. No need to wipe anything!
Before flashing you may want to backup the "Boot" partition. Restore it to revert any changes.
Flashing a ROM will overwrite this kernel: You'll have to flash the kernel zip again after updating your ROM.
In order to use all of the features you'll need some additional apps and root:
Spectrum: Offers some easily selectable profiles. These are still WIP and in no way comprehensive!
A kernel manager like EX Kernel Manager (paid) or Kernel Adiutor (free).
Spectrum profiles
Battery: Very battery friendly profile. It sacrifices performance for battery life.
Balanced: As close to stock as possible with only minor tweaks.
Performance: Tuned for CPU performance.
Gaming: Everything always runs as fast as possible. Burns away your battery!
Reporting issues
Before reporting an issue please check that it only occurs when having this kernel installed. Otherwise it may be an issue with the ROM.
The above also applies the other way around: Don't report issues to the maintainer of a ROM unless they also occur without this kernel.
Be aware that performance issues are very likey related to your personal settings. Don't blame me for your decision to run only one core at 307 MHz
Always use the latest Advanced Kernel release with the latest build of you ROM of choice. If the kernel is much newer than the ROM or the other way around weird issues may arise.
Download
All zip files support both the ZE520KL and the ZE552KL.
The treble version is only compatible to treble ROMs using APD as the vendor partition.
The non-treble version is compatible to non-treble Pie ROMs and SHOULD be compatible to Oreo ROMs too.
Flashing the wrong version won't harm your device but will prevent your ROM from booting! This can be easily fixed by flashing the right version or re-flashing your ROM.
Download: https://drive.google.com/drive/folders/1cel2AB59-6kOaLkk7dK6uBPwejdw6s4C
Additional credits
Due to the sheer amount of features it's not possible to list all of the contributors here. Please check the commit history for a comprehensive list.
XDA:DevDB Information
Advanced Kernel for Custom ROMs, Kernel for all devices (see above for details)
Contributors
planet9
Source Code: https://github.com/Planet-X/android-kernel-zenfone3_advanced
Kernel Special Features: Overclocking, Force Fast Charge
Version Information
Status: Stable
Created 2019-07-19
Last Updated 2019-07-19
Changelog
P5 - 2019-07-19:
Updated Toolchain to GCC 10.0.0 (experimental).
Updated AnyKernel2 to AnyKernel3.
Updated rtl88XXau kernel module.
Updated kernel to Linux 3.18.140, CAF Tag LA.UM.7.6.r1-05500-89xx.0.
P4 - 2019-04-19:
Now compatible to latest Treble ROMs! (APD partition only!)
Check the release post for compatibility information: https://forum.xda-developers.com/showpost.php?p=75805766&postcount=100
Updated rtl88XXau kernel module.
Updated kernel to Linux 3.18.138, CAF Tag LA.UM.7.6.r1-04500-89xx.0.
P3 - 2019-02-20:
Added adreno boost.
Updated rtl88XXau kernel module.
Updated toolchain to GCC 9.0.1 (experimental).
Updated kernel to Linux 3.18.135, CAF Tag LA.UM.7.6.r1-04100-89xx.0.
P2 - 2018-12-01:
New rtl88XXau kernel module for usb wifi adapters.
Check the post below for more information.
Updated AnyKernel installation scripts.
Updated spectrum balanced profile to use elementalx with maple.
Added AiO_hotplug.
Updated kernel to Linux 3.18.127, CAF Tag LA.UM.7.6.r1-03600-89xx.0.
P1 - 2018-11-02:
Initial release of Advanced Kernel for Pie
Kernel source has been fully rebased.
New version labels: Releases for Pie ROMs start with a P followed by the release number.
Updated kernel to Linux 3.18.124, CAF Tag LA.UM.7.6.r1-03100-89xx.0.
V 1.1 - 2018-10-11:
Added USB keyboard support.
Added support for SMB2 and SMB3.
Updated kernel to Linux 3.18.123, CAF Tag LA.UM.6.6.r1-09900-89xx.0.
V 1.0 - 2018-08-11:
The zip file is now signed with my release-key.
Added CPU wake boost driver.
Removed asusdebug for a lighter kernel.
Updated BFQ I/O scheduler.
Updated F2FS driver.
Added SdFat for FAT and exFAT support.
Imported many more misc fixes and improvements.
Updated Toolchain to GCC 8.2.1.
Updated kernel to Linux 3.18.118, CAF Tag LA.UM.6.6.r1-09500-89xx.0.
Thanks to @makorn645:
Modifications for "Swipe up to wake".
Misc improvements of the defconfig for more performance.
V 0.9 - 2018-06-11:
Added elementalx cpufreq governor.
Updated Toolchain to GCC 8.1.1.
Updated kernel to Linux 3.18.112, CAF Tag LA.UM.6.6.r1-08600-89xx.0.
V 0.8 - 2018-05-21:
The wifi mac can now be changed by specifying a wlan_mac.bin file.
Check the release post for more information: https://forum.xda-developers.com/showpost.php?p=76580561&postcount=44
Updated kernel to Linux 3.18.109, CAF Tag LA.UM.6.6.r1-08500-89xx.0.
V 0.7 - 2018-05-10:
Updated blu_plug defaults.
Fixed lazyplug display state detection.
Rebased and cleaned up the kernel.
Updated kernel to Linux 3.18.108, CAF Tag LA.UM.6.6.r1-08300-89xx.0.
V 0.6 - 2018-04-25:
Added AutoSMP hotplug. (May be unstable, please report any crashes when using it.)
Added force fast charge feature - Thanks to @Saktis_STi for helping!
Important: Check the main post for more information before using force fast charge. This is NOT QC.
Updated kernel to Linux 3.18.106, CAF Tag LA.UM.6.6.r1-07400-89xx.0.
V 0.5 - 2018-04-06:
Added vibration intensity control.
Added fsync switch.
Imported many other improvements.
Updated compiler to Linaro GCC 7.3.1.
Updated kernel to CAF Tag LA.UM.6.6.r1-07200-89xx.0.
V 0.4 - 2018-03-25:
Updated kernel to Linux 3.18.102.
V 0.3 - 2018-03-23:
Added (optional) overclocking support for up to 2.2GHz.
Advanced Kernel version now visible in settings, with OC indicator.
Updated kernel to Linux 3.18.101, CAF Tag LA.UM.6.6.r1-06700-89xx.0.
V 0.2 - 2018-03-11:
Updated spectrum profiles: See main post for more detailed descriptions.
Updated kernel to Linux 3.18.99.
V 0.1 - 2018-03-07:
Initial release.
Kernel Modules
Here you'll find a description of every currently available kernel module for Advanced Kernel for Pie. (The oreo version is not currently supported.)
Kernel modules are drivers that can be loaded into the kernel in order to use hardware that would otherwise not work. A kernel module comes as a .ko-file and is only fully compatible to the kernel version it was released for. Modules can be loaded by executing "insmod [module].ko" within a terminal as root on the phone.
Every new Advanced Kernel release will come with a new version of all available modules.
The modules can be downloaded from the "Kernel Modules" subfolder (here).
Available modules:
RTL88XXau/RTL8814au
The rtl88XXau module allows you to use usb wifi adapters with the rtl8812au or rtl8814au chipset with your phone.
This driver was forked from aircrack-ng and features monitor mode and frame injection. TX-power can be tweaked too.
Check the readme on github (still WIP) on how to use it: https://github.com/Planet-X/rtl8812au/blob/v5.3.4/README.md
I only ported the driver to this kernel. Check the module's sources for credits: https://github.com/Planet-X/rtl8812au/tree/v5.3.4
I feel like my device is lagging. Even when I set everything to Performance.
So many features...
ra.ndy said:
I feel like my device is lagging. Even when I set everything to Performance.
Click to expand...
Click to collapse
It's all about finding the right settings
Just take your time to find them - I do admit that default settings are very conservative/battery friendly...
However I can assure you that this kernel can be just as fast or even faster than stock kernel. It's actually based on it so with exact stock settings you should get at least stock performance. The real problem is just tuning all these features which is why my spectrum profiles are still very basic ... too many variables take time for testing.
The next kernel version will move the current "Balance" profile to "Battery" and change "Balance" to be very stock-like. The current "Balance" and especially "Battery" profiles may be a little too extreme... :silly:
The system wide mic gain is working perfectly for whatsapp voice messages,but unfortunately it is not applied to video recording it seems... I tested it with Lineage Camera App and Whatsapp camera
Great, that I dont have to fiddle around with mixer_paths.xml, but can you adjust the kernel to let the mic gaion also apply to the video recordings? Many thanks!
kreutzfeldt_808 said:
The system wide mic gain is working perfectly for whatsapp voice messages,but unfortunately it is not applied to video recording it seems... I tested it with Lineage Camera App and Whatsapp camera
Great, that I dont have to fiddle around with mixer_paths.xml, but can you adjust the kernel to let the mic gaion also apply to the video recordings? Many thanks!
Click to expand...
Click to collapse
Mic gain worked for me with Lineage and stock asus camera videos
planet9 said:
Mic gain worked for me with Lineage and stock asus camera videos
Click to expand...
Click to collapse
Well, i guess i Flash your new Rom Update and kernel and test it again
Maybe the videos are Sounding low volume to me, because they need more Gain Boost than pure sound records?
The slider for the kernel is raising the gain equally for all inputs in general, but maybe the video recording gain is less sensitive then pure volume.
hey whem I use cell my mic and speaker can't Normal movement.
edouwu said:
hey whem I use cell my mic and speaker can't Normal movement.
Click to expand...
Click to collapse
I don't understand but...
If you're talking about the speakerphone, it's a known bug.
It is compatible with XenonHD Rom? (because it's based on lineage 15.1)
rafael_gavarron said:
It is compatible with XenonHD Rom? (because it's based on lineage 15.1)
Click to expand...
Click to collapse
It somehow is and isn't: Currently there should be no problems and it should work fine.
I can't guarantee, however, that it'll stay this way in the future. Just be aware that issues may arise due to kernel incompatibility.
I can only assure that my kernel is fully compatible to LOS 15.1. With every LineageOS update a new advanced kernel version will be released. As Xenon kernel improvements get merged into LOS and vice versa it should stay compatible but, again, I can't guarantee it...
planet9 said:
It somehow is and isn't: Currently there should be no problems and it should work fine.
I can't guarantee, however, that it'll stay this way in the future. Just be aware that issues may arise due to kernel incompatibility.
I can only assure that my kernel is fully compatible to LOS 15.1. With every LineageOS update a new advanced kernel version will be released. As Xenon kernel improvements get merged into LOS and vice versa it should stay compatible but, again, I can't guarantee it...
Click to expand...
Click to collapse
Thanks, I'll try it
How do i go back to stock kernel on LOS ?
vaidhy2007 said:
How do i go back to stock kernel on LOS ?
Click to expand...
Click to collapse
To go back to the stock kernel you simply have to reflash the LOS zip file in twrp, then reboot. You don't need to wipe any partitions.
0.3 version is out. Read the OP.
Advanced Kernel V0.4
Advanced Kernel V0.4 has arrived.
It's just a minor update to accompany the release of LineageOS build 2018-03-25.
Changelog:
Updated kernel to Linux 3.18.102.
Advanced Kernel V0.5
Advanced Kernel V0.5 is now available.
Changes:
Added vibration intensity control.
Added fsync switch.
Imported a load of other improvements.
Updated compiler to Linaro GCC 7.3.1.
Updated kernel to CAF Tag LA.UM.6.6.r1-07200-89xx.0.
Awesome work buddy

[ROLEX/RIVA] [KERNEL] [OREO/NOUGAT] Infinity Kernel

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The Infinity Kernel is a custom kernel for Redmi 4A (rolex) and Redmi 5A (riva).
For Redmi 4A and Redmi 5A, from Team Infinity!
Code:
#include "std_disclaimer.h"
/*
* Your warranty is void.
*
* Team Infinity is 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 us me for messing up your device, we will laugh at you.
*/
Steps to flash:
1. Clear Kernel Auditor's data.
2. Wipe "Dalvik Cache" and "Cache".
3. Flash kernel.
4. Reboot.
Configuring the kernel:
Please use "alucard" governor instead of "interactive".
Other than that, we can't give any other advice. We already have our recommendations set as default.
Bugs:
OREO VERSION:
Murali tree based ROMs may give an error at boot. It doesn't affect functionality, though. Most likely a bug in the device tree itself.
"ondemand" CPU governor is pretty broken but it shouldn't be used anyway. "interactive" is the way to go.
We couldn't find any other, tell us if you do!
NOUGAT VERSION:
Overclocking to 1.57GHz doesn't work for now. (We fixed this on Oreo and will fix this on Nougat too. Sometime.)
Wi-Fi in some ROMs seems to be broken, since those ROMs require Wi-Fi driver built into the kernel itself. (ROM specific bug.)
Also, turning on the option to schedule workload on awake CPUs to save battery is causing CPU frequency to fall to 200MHz when phone is idle and is not letting it scale back to normal when phone is unlocked, so we strongly advise you not to turn this option on in CPU settings for a better experience.
Changelog:
Code:
OreoUnified V5.1F: Rebased kernel, removed Spectrum support, will be followed in separate builds, fixed Hotplugs and added Alucard Hotplug.
Oreo Build 15.1M: Rebased kernel, removed Spectrum support, will be followed in separate builds, restored 200MHz clock, fixed in-call heating natively, fixed Hotplugs and added Alucard Hotplug.
Oreo Unified V5F: Added Spectrum support thanks to @anirudhgupta109 and Franco, limited underclock to 499MHz, removed manual undervolting control.
Oreo Build 15M: Added Spectrum support thanks to @anirudhgupta109 and Franco, limited underclock to 499MHz, removed manual undervolting control.
Oreo Unified V3.7: Added Intellithermal V3.0, compiled using latest Linaro 7.3.x
Oreo Unified V3.6 Revised: Added Governors: Alucard, Impulse, ElementalX, Bioshock, Lionheart; added Hotplug: Thunderplug with Alucard control; fix 1.65GHz overclock issue; upstream to 3.18.113; removed unnecessary governors.
Oreo Unified V3.5: Added KCAL V2 colour control, added sound control.
Oreo Stable v2: Up the charging current to 2A.
Oreo Stable v2: Supports both Murali and Fabian tree now.
Oreo Test Build 12M: Since it's a stock, fresh base; it means there are no bugs (as we know of!) now!
Oreo Test Build 12M: Stock, fresh base. You can call this "New Generation Infinity" if you want to. :D
Oreo Test Build 11M: Fixed a bug. Sorry, our idiocy.
Oreo Test Build 9.9.7.6M: Tuned interactive, added Electron
Oreo Test Build 9.9.7.6M: Tuned CPU Boost
Oreo Test Build 9.9.7.6M: Tuned CPU, deep sleep, wakelock blocker
Oreo Test Build 9.9.7.6M: Addd Live Display, LCD notify
Oreo Test Build 9.9.7.6M :Better performance, battery overall.
Oreo Test Build 9.9.7.6M: Added initial Nethunter support.
Oreo Test Build 9.9.7.6M: Upstreamed Linux version to .108
Oreo Test Build 9.9.7M: Xiaomi sure put A LOT of debugging statements. They cause slowdowns. Disabled more debug.
Oreo Test Build 9.9.7M: Tuned interactive governor to be stupidly fast.
Oreo Test Build 9.9.7M: Added more governors (Cultivation, chill, nightmare and darkness)
Oreo Test Build 9.9.7M: Added Alucard hotplug
Oreo Test Build 9.9.6M: Fix GPU clock (19mhz bug)
Oreo Test Build 9.9.6M: improve and update binder
Oreo Test Build 9.9.6M: Fixed memory leaks
Oreo Test Build 9.9.6M: Improved suspend state
Oreo Test Build 9.9.5M: Implemented Murali's DTS commits.
Oreo Test Build 9.9.5M: Increased maximum charging current to 1.5A.
Oreo Test Build 9.9.5M: Reverted to gcc 4.9 as 5.3.1 introduced some problems.
Oreo Test Build 9.9.2M: Updated gcc to 4.9 -> 5.3.1
Oreo Test Build 9.9.2M: Fixed Qnovo bug present in older build
Oreo Test Build 9.9.2M: Disabled more debuging and logging
Oreo Test Build 9.9M: Improved Sound quality
Oreo Test Build 9.9M: Some debugging and logging features are turned off now
Oreo Test Build 9.9M: Improve overall performance and battery
Oreo Test Build 9.9M: Zram and LZ4 optimized
Oreo Test Build 9.9M: Addef USB HID gadget support
Oreo Test Build 9.9M: Added Wireguard
Oreo Test Build 9.9M: Crypto for ARM64 has been added and optimized
Oreo Test Build 9.9M: Fixed deep sleep
Oreo Test Build 9.8M: Improved Bluetooth
Oreo Test Build 9.8M: Added new hotplug governors (AutoSMP, AiO)
Oreo Test Build 9.8M: Added KSM
Oreo Test Build 9.8M: OC, UC
Oreo Test Build 9.7: Implemented Mac's battery commits.
Oreo Test Build 9.7: Fixed underclocking.
Oreo Test Build 9.7: Fixed Overclocking. (FINALLY)
Oreo Test Build 7-9.6: Mostly bug fixes.
Oreo Test Build 6: Fix powered off charging LED
Oreo Test Build 6: Add IntelliThermal
Oreo Test Build 6: Dynamic Sync Control
Oreo Test Build 6: Optimizations
Oreo Test Build 6: High CPU usage fix (hopefully)
Oreo Test Build 5: Added Qnovo fast charge technology
Oreo Test Build 5: Added Touchboost
Oreo Test Build 5: Added Undervolting.
Oreo Test Build 4: Added Adreno Idler
Oreo Test Build 4: Added Simple GPU Algorithm
Oreo Test Build 4: Add Change CRC
Oreo Test Build 4: Add more TCP
Oreo Test Build 4: Added ExFAT
Oreo Test Build 4: Optimizations
Oreo Test Build 4: KCAL
Oreo Test Build 4: Turning off unnecessary chipsets
Oreo Test Build 3: Added LZ4 support
Oreo Test Build 3: Added Alucard governor
Oreo Test Build 3: Added Sound Control
Oreo Test Build 3: Added ZEN I/O.
Oreo Test Build 3: Added NTFS support.
Oreo Test Build 3: Added MSM hotplug support.
5.5: Support for overclocking upto 1.57GHz (not recommended but still implemented)
5.5: Added Ironactive governor.
5.5: Added zzmoove governor.
5.5: Removed Simple GPU Algorithm due to compatibility issues.
5.5: Added qnovo instead of USB Fast Charge. (enabled by default)
5.0: Optimized the kernel.
5.0: Disabled CRC by default.
5.0: Added exFAT support.
5.0: Added Adreno Idler.
5.0: Added simple GPU algorithm.
5.0: Added LED fix.
4.5: Added MSM Hotplug
4.5: Added KCAL Support
4.2: Added Alucard Governor
4.2: Optimised Hotplug
4.2: Added Sound Control
4.2: Improved Gain
4.2: ZEN I/O Scheduler
[I]Before that:[/I]
Added AIO Hotplug
Overclock to 1.49GHz and underclock to 200MHz
NTFS Support
IMPORTANT: Fabian? Murali? Who are those?
There was a time where we had to build two versions for two different device trees.
Do not worry, though. Those days are over.
Downloads:
GET INFINITY KERNEL FROM HERE
Frequently Asked Questions (FAQ):
Q: My kernel is acting weird!
A: Please do a "Dalvik cache + cache" wipe, reinstall Infinity Kernel and clear Kernel Auditor's data. If this didn't solve your problem, reach us on this Telegram group.
Q: My backlight doesn't turn off when screen is off!
A: Install the latest MIUI firmware for your device (recommended) or install this firmware (newer, try this first) or this firmware (older, only if the newer one doesn't work) (at your own risk, of course) if you haven't already or if your ROM doesn't do that automatically.. That'll fix the backlight bug in custom ROMs.
Contact Us / I need help!
The best way to contact us is through this Telegram group since we are online most of the time on there. Please try using that group first if you need help or want to ask something.
XDA:DevDB Information
Infinity Kernel, Kernel for the Xiaomi Redmi 4a
Contributors
SouradeepB, #Malpa73, caghandemir, Yousef Algadri, Muralidharan Kumaresan, Myroynaldig, Ryan Andri, Carlos Arriaga, Aryan, MacTavish, Wzedlare
Source Code: https://github.com/TeamInfinity/Infinity_Kernel_FN
Kernel Special Features: Alucard hotplug, exFAT and NTFS Support, Overclock up to 1.61GHz, charging upto 2A.
Version Information
Status: Stable
Current Stable Version: v2
Stable Release Date: 2018-06-02
Created 2018-04-09
Last Updated 2018-06-27
Yousef Algadri :good:
Sent from my Redmi 4X using Tapatalk
For miui or aosp based rom?
kraken77 said:
For miui or aosp based rom?
Click to expand...
Click to collapse
Both as a matter of fact.
Is there (or do you have any plans on adding) sound control and more CPU governors?
Btw, thanks for the hard work!
Work great on MIUI9 V9.2.6.0. Do you can push the CPU clock @ 1.7 ~1.8 GHZ?
Great work.
Thank you all, I had a lot of help from experienced developers. The encouragement really helps!
minimaster4734 said:
Is there (or do you have any plans on adding) sound control and more CPU governors?
Btw, thanks for the hard work!
Click to expand...
Click to collapse
In due course probably.
beckno said:
Work great on MIUI9 V9.2.6.0. Do you can push the CPU clock @ 1.7 ~1.8 GHZ?
Great work.
Click to expand...
Click to collapse
Slow and steady, as soon as I can make sure it would be safe. All in good time.
Sound Control and Gain improved
Click to expand...
Click to collapse
What does that mean exactly?
Are you going to add undervolting?
Wifi bug
Cannot turn on wifi on Lineage OS 14.1 (april build)
Seems like it is not reading MAC address correctly
less good to play moba game feels heavy and lag
neXt___ said:
What does that mean exactly?
Are you going to add undervolting?
Click to expand...
Click to collapse
In due course probably, Team Infinity is still quite new and we are learning. As soon as we are successful, we will add a host of new features. As for sound control, you can control microphone and headphone gains.
SimonVN said:
Cannot turn on wifi on Lineage OS 14.1 (april build)
Seems like it is not reading MAC address correctly
Click to expand...
Click to collapse
Very few users are facing this bug, I suggest you join the Telegram Global group at t.me/redmi_4a for extensive help. Also try flashing a new ROM (dirty flash) or try flashing MIUI AM firmware before flashing kernel. These have been known to fix such issues. If we might suggest try ROMs like Citrus CAF, crDroid, DotOS, etcetera. Often some ROMs are causing problems but others work perfectly mostly because the were created before the kernel was made and are incompatible.
What's new in v4.5? Or is the 4.0 changelog for 4.5?
Thanks btw.
rolebay said:
less good to play moba game feels heavy and lag
Click to expand...
Click to collapse
Turn off Thermal Throttling in Thermal settings in Kernel Adiutor and set Minimum CPU frequency to 1.49 GHz while gaming.
MaxisMan said:
What's new in v4.5? Or is the 4.0 changelog for 4.5?
Thanks btw.
Click to expand...
Click to collapse
Read carefully, version 4.5 and 4 Changelogs are clearly mentioned. Changelogs by nature only document changes, so features listed in changelogs for previous versions are also present in latest version.
perfect:good:
Wifi drivers
Could you guys can add external wifi card support over otg which will be considered as wlan1 which will help net Hunter users
CPU doesn't go to 1.57GHz. Option is avaiable in Kernel, but inapplicable.
I use this variant of Kernel Adiutor:
https://forum.xda-developers.com/android/apps-games/approot4-0-ka-mod-reborn-v18-t3714105
This is ok?
Thank.

[KERNEL][4.14.198][MIUI/AOSP] ?Quantic Kernel ? [MIUI WORKS][23/09/20]

Welcome to Quantic-Kernel, builded specially for Xiaomi Mi 9 codename: Cepheus​
/* I'm not responsable for any damage on your device, for X or Y reason, also I'm not responsable if you loose your alarm and got fired, anything like that, installing this kernel you renounce to make me responsable of any unwanted behavior of your device */
/*Compatible ONLY with Android 10*/
Hi everyone, I want to introduce you my new kernel named Quantic-Kernel, this is my personal build kernel with my prefered features. Hope everyone enjoy it and I'll be maintaining it so people can used it with their preferred AOSP ROM and MIUI ROM(See details below)
/*
* HALL OF DONATORS
* @Kris Chen
* @mitjat (Mitja Tavcar)
*/
FEATURES
Added Underclock down to 180MHz and Overclock up to 825MHz with a 735MHz step and official 675MHz step by CAF (Overclock isn't recommended only when using emulators suchs as Dolphin Emulator)
wq_pwer_saving toggle unlocked (Only visible in EX kernel Manager)
Kernel can be updated using FK Manager or Smartpack manager (see info below on how to add the .json)
Wireguard VPN core support
Added K-Lapse v5.0 module by tanish2k09
Added Sound Control (Thanks to @TeamMex for the fresh implementation)
Added Boeffla Wakelock Blocker v1.1.0
Upstreamed to Linux-4.14.172
Fsync toggle (Use only when your F2FS is your current filesystem)
Dynamic Fsync
Simple Low Memory Killer by Sultan Alsawaf (@kerneltoast)
sched backports from mainline 4.19 kernel
Lates CAF tag of sm8150, SDX55, SD6XX.
KCAL Reimplemented
INSTALLATION PROCEDURE
Flash magisk (If not flashed previously)
Make a TWRP backup of BOOT and DTBO partitions
Flash Quantic-Kernel_rX.zip
Flash Magisk-v20.4
Reboot to system
Enjoy it
BUGS:
Working on all MIUI ROM with broken DC-Dimming (Anti Flicker screen)
AOSP with no bugs
DOWNLOAD HERE
https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases
TELEGRAM CONTACT
https://t.me/Ayrton990 <-- Personal TG
https://t.me/QuanticKernel <-- Discussion group for support
https://t.me/ayrton990mods <-- My update channel
THANKS LIST
Huge thanks to @TeamMex for the help when making some codes
Thanks to @LOswaldoRO for a lot of testing
Thanks to @Giton22 for testing
SCREENSHOTS ATTACHED BELOW
XDA: DevDB Information
Quantic Kernel, Xiaomi Mi 9 (Cepheus)
Contributors
Ayrton990
Source Code: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/
Kernel Special Features:
Version Information
Status: Stable
Created 2020-03-08
Last Updated 2020-07-12
Releases and Changelog
Quantic-Kernel reborn
What's this kernel:
It's a new concept kernel as the usual, this is focused on a improved UI experience to feel the smoothness of a Pixel device.
It's based on latest CAFEST base of sm8150 with clean code, including a several backports from 4.19 CAFEST kernels into the scheduler, making the optimum approach to low jank and jitter experience.
Working over WALT scheduler following the recommendations of CAF:
- CONFIG_HZ=100 instead of 300 used on most custom kernels out there
- SchedTune predictions.
- No AOSP overlayed code
- No riced code inside.
Quantic puts it's enhancements on:
- Backported Wireguard module to July
- ExFAT compatible OTG Devices
- LZ4 Crypto upgraded
- 2GB ZRAM for the best multitask experience
- heavily adapted scheduler aligned with CAF recommendations.
- CAF energy management by default instead of Xioami's.
- GPU OC Temporary disabled (will be ready next update until upstream arrives)
- Recalculated EAS Capacity in DTS
- Latest Long Term Support 4.14.193
- Latest tag for sm8150
- In kernel boosting drivers rather than common CAF Boost that causes massive task migration impacting performance and battery life.
- Battery life improved drastically
NOTES:
- BUGS: NONE SO FAR.. (You tell me?)
- Flash over the ROM stock kernel.
- This kernel works perfect aligned with my latest AOSiP build ?
- Screen OC will be added on next build
- Edit : Added Hotfix version
Download:
- http://quantic.carlosayrton.com/Quantic/Cepheus/AOSP/Quantic-Kernel-REBORN-Fixed.zip
OLD RELEASES
Quantic-Kernel r22
Changelog:
- Fixed BSD (Black Screen of Death while device locked)
- Switched to PELT Scheduler (New reworked sched, same as MIUI variant)
- Implemented turbocharge by wloot (To use generic chargers with 3A+ of flow)
- Bringed back GPU Overclock up to 810MHz
- Fixed performance regression (Geekbench: 761 single core, 2618 Multi-Core)
- Bringed back Sound Control
- Jitter with less disparity
BUGS: None so far
Battery Consumption: Acording to my weak test battery drain on simple task should be arround 9.80%/h and idle arround 0.36% please report back if you see high consumption
Download AOSP and MIUI: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases
Quantic-Kernel r21
Changelog for AOSP | Download here
Changelog for MIUI | [URL="https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r21-MIUI"]Download here
MIUI Users, Disable DC-Dimming or Anti-Flicker before flashing, else you will have a bootloop.
Join to my telegram group for support or to my channel to get faster updates
Quantic-Kernel r17
Changelog for AOSP:
- Upstreamed to LTS: 4.14.186
- Upstreamed Low Memory Killer by Sultan Alsawaf @Kerneltoast
- FOD Improvments (Use qcom drm notifier for event blanks)
- disp: msm: sde: prevent CPU from sleeping while processing display IRQ
- soc: qcom: smp2p: keeping inbound entry on freeze
- ARM64: dts: sm8150-common: Disable all PCIe and MHI nodes
- cpufreq: Only block min freq setting for booster processes
- qos: Don't allow userspace to impose restrictions on CPU idle levels
NOTE: Kernel version remains on r16 because I forgot to change it
NOTE: Userspace is the plain where rom and user can tamper in kernel settings by a good or bad way
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r17
Changelog for MIUI- Initial Release
- Upstreamed to LTS: 4.14.186
- Upstreamed to CAF: LA.UM.8.1.r1-15100-sm8150.0
- FOD Fixed by @sekaiacg
- FOD Improvments by @laulan56
- AOD and FOD on AOD Fixed by @official-Ayrton990
- GPU Overclock to 835MHz
- Fsync toggle and Dynamic fsync
- Disabled all qcom boost
- Use qcom drm notifier and all fingerprint and touch drivers and objects
- PELT Scheduler
- Scheduler backports for general performance and baterry consumption
BUGS: Anti screen flickering not working and dont try to enable or your would never be able to boot the rom
BUGS: Since I'm using magisk to solve some issues of FP coming from M.O.D Kernel or Evira Kernel will bootloop your device, be aware.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r17-MIUI
Quantic-Kernel r14
Fod Improvments in accuracy and speed according to
Changed interpolation method from linear to non-linear using logarithms (base 2) for a better accuracy and response in brightness (see: f8658e8)
Fixed high birghtness after unlocking device using fod.
avoid atomics to trigger drm_notifier
Massive improvments in performance and battery consumption, according to
Custom Implementation of cpu_input_boost
Selected minimum optimal frequencies for sm8150 (Thanks to kdrag0n)
Boosting DDR Bus when a new frame is ready to be commited.
Boost when memory pressure becomes high
Upstreamed CAF to: LA.UM.8.1.r1-15100-sm8150.0
Upstreamed LTS: 4.14.183
Scheduler improved, reduced Jank and Jiter (UI)
WALT Dropped
Idle improved (Tweaked s2idle)
Minor battery improvments in general.
OC restored back (recommended default 675MHz)
NOTE: Improvments on FOD are only avaliable in the FOD-IN-KERNEL version
FOD-IN-KERNEL only compatible with: LOS, PE, P-404, Syberia, Descendant and crDroid.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r14
Quantic-Kernel r12
rebuilt FOD changes from the ground up to avoid flickering (kernel side changes obviously, requires updated trees)
Enable lz4 zRAM compressor for PELT version
wakeup logging under new s2idle flow
Improve general performance of the scheduler
sched/fair: don't migrate stune boosted tasks to little cores
sched/tune: remove WALT support from stune assist (performance improved, because this enable full stune assist on PELT)
Upstreamed to 4.14.18 from kernel.org
Latest CAF Tags
For FP, there will be 2 versions, one for updated roms with optimized fod by Demon000, such as Pixel Experience and LOS, other version [PELT(2)] will work on other roms like derpfest based and crDroid.
Some little performance improvments and idle consumption lowered
ExFAT added to PELT(2)
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r12-PELT
Download here (Optimized FOD): https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r12-PELT_DERP
Quantic-Kernel r10
Upstreamed to 4.14.181 from android-linux-stable
Embedded dtbo.img into the kernel, this will let modders to alter the dtbo partition without messing with fp.
Updated sched_energy driver
Checkout to sched_energy to common kernel android 4.14
Idle drain improved (please don't use meme apps such as greenify, naptime and GMS Doze, because aren't compatible with sleep2idle)
New complementary build with PELT Scheduler (NO GPU OC, NO KLAPSE and NO Boeffla Wakelock Blocker)
Upstreamed osm0sis Anykernel3
HEX-PATCHED boot.img support on anykernel.sh to support no-root users
Added schedION (See info below) optimized for PELT mechanism
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here WALT Version: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r10
Download here PELT Version: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r10-PELT
Quantic-Kernel r9
Enabled sleep2idle
Fix excessive packing on the max capacity CPU
updated LZ4 decompressor module
tcp: up initial rmem to 128KB and SYN rwin to around 64KB
Enable simple_lmk (Simple low memory killer upstreamed)
Updated vmpressure
Code cleaned at 80%
Introduce devfreq_boost
Boost CPU DDR bus when commiting a new frame
Forced ULPS on dsi_panel instead of my dtsi forced method
Nuked Dynamic_schedboost since it was making a lot of jitter while navigating on the UI and draining battery so fast
Merge tag 'LE.UM.3.3.2-0800-SDX55'
Merge tag 'LA.UM.8.9.r1-09200-SM6xx.0'
Upstreamed to latest AOSP 4.14-q tag
Added some flags optimization to Makefile (NOTE: I know that Linus Torvalds disapproves using -O3 optimizations but I'm compiling with clang instead of gcc)
Nuked default up|down_rate_limit_us values
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r9
Quantic-Kernel r7 and r8
Upstreamed to Linux 4.14.180 of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux
Enabled exposure adjustment and also changed some minor values (DC Dimming or Flicker Free, also tunned to avoid visual artifacts)
Merge tag 'LE.UM.4.2.2.r1-01000-SDX55'
Merge tag 'LA.UM.8.1.r1-14900-sm8150.0'
Merge branch 'android-4.14-q' of https://android.googlesource.com/kernel/common
Backported features that will help CPU to distribute the loads on the cores
Nuked some useless boost from CAF
Tunned thermals zones
Imported binder changes from 4.19
Leds: class: ensure workqueue is initialized before setting brightness
Nuked sched_boost feature
Tweaked schedutil
Avoid thermal_core to not throttle prime core
reserve prime core for high_cap tasks only
disallow taking down big and prime cores by userspace
avoid 100% CPU usage during compaction when a task is killed
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r8
Quantic-Kernel r6
Partially fixed dt2w, some users reporting not working on PA but the rest of the ROMs works
Upstreamed to **linux stable 4.14.178**
Added a new CFS thread for freeing GPU memory. Improves performance when tearing down processes and lets UI to submit work to the GPU. (more info here: 24c27d8)
Offload mementry destroy work to separate thread, this is done to reduce the time spent by user applications in waiting for memory to be freed. (more info here: 0dc7bcd)
Use optimized spinning loop for arm64, this makes about 20% performance improvement on the CPU multithread load. (more info here: 9abedaf)
Fix race between runtime distribution and assignment (more info here: 0d521cd)
Align rq->avg_idle and rq->avg_scan_cost, The only difference between the two is that rq->avg_scan_cost is computed using a pure division rather than a shift (more info here: f3721e1)
Get rid of the big mutex lock on ashmem (more info here: 3ec8f26)
Enable ZRAM to 3GB and use z4 as compressor.
Most of the new features were backported.
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r6 or use FK Manager/smartpack to Update
Quantic-Kernel r4
Merge tag 'LA.UM.8.11.r1-03300-NICOBAR.0'
Merge tag 'LE.UM.4.2.2-00800-SDX55'
Added dynamic schedtune boost
Tweaked cpufreq_schedutil.c again
By consequence of the prior changes, performance is better than last r3 without loosing battery backup.¿t
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r4 or use FK Manager/smartpack to Update
Quantic-Kernel r3
paranoid kernel base by @markakash now deprecated, thanks to him to let this project start
New base build from scratch synced with demon000 fp changes
DDR4 2133MHz OC
Enabled Ultra Low Power State (UPS)
Enabled LZ4 on ZRAM
Enabled CONFIG_IP_NF_TARGET_TTL requested by Vladislav Polyakov this let the user to change TTL by their own value in safe way
Tuned schedutil to reach better performance without damaging the battery life
Use PELT instead of WALT
MIUI not compatible at the moment
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r3 or use FK Manager to Update
Quantic-Kernel v2.1-HF
Fixed tethering, this means that modded TTL to avoid tethering on carries has been reverted. Check: 8b8ef87
Synced with Demon000 changes
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v2.1-HF or use FK Manager to Update
Quantic-Kernel v2.1
Merge tag **'LA.UM.8.1.r1-14700-sm8150.0'** of https://source.codeaurora.org/quic/la/kernel/msm-4.14
Merge tag **'v4.14.176'** of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux
IMPORTANT NOTE: Upstreams could downgrade battery performance, I don't test and review every single commit of an upstream (Takes a lot of hours) so this is likely the price to pay to have an Up to date Kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v2.1 or use FK Manager to Update
Quantic-Kernel v2.0
Merge tag 'LE.UM.3.3.2-07400-SDX55' from CAF
Merge tag 'LE.UM.4.1.2.r1-03500-qcs405.0' from CAF
Avoid tethering carrier detection (EXPERIMENTAL) changing TCP time to live (TTL) packages to 64 (ISP dettects tethering when a value of TTL is dfferent than 64)
Use power efficient workingqueues on GPU
Sycned doze changes from Demon000
Disable readahead by default; could improve performance and power consumption by 70% (sequential; 60% for random).
dtbo regenerated (please test this could break the fingerprint)
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v2.0 or use FK Manager to Update
Quantic-Kernel v1.9
Merge tag 'LE.UM.4.2.2-00500-SDX55'
Added Demon000 screen doze implementation for battery savings
Disabled all debuggers and loggers
Testing new cpu mask to set idle frequencys.
Wireguard is enabled by default
should see better screen off drain
Added the necessary commits for the new flicker-free implementation on PE+ to work
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.9 or use FK Manager to Update
Quantic-Kernel v1.8
Upstreamed to 4.14.175 from https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux
Changed frequency bus (max and min) to achieve better efficiency on GPU OC, this means: Less heat, less battery consumption
IMPORTANT NOTE: Upstreams could downgrade battery performance, I don't test and review every single commit of an upstream (Takes a lot of hours) so this is likely the price to pay to have an Up to date Kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.8 or use FK Manager to Update
Quantic-Kernel v1.7
Support for MIUI (Custom ROMs that doesn't support avb) with broken fp
Force idle 403MHz frequency to silver core (https://github.com/Official-Ayrton9...mmit/49b531db5b553aaac1a42ed6852e4a34ba714190)
Merge tag LE.UM.4.2.2-00400-SDX55.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.7 or use FK Manager to Update
Quantic-Kernel v1.6
Tweaked schedutil governor, now better consumption and battery drain achieved
Removed Spectrum profiles, not necessary now with this tweak on schedutil
Now kernel is upgradable with Franco Kernel Manager and smartpack just adding the following url: https://www.carlosayrton.com/kernel.json
Overclock downgraded to 825MHz, this because some reports about antutu failing on benchmark and lower results, also a lot of shuttering on the UI
Underclock down to 96MHz to idle the gpu and save energy, when watching videos or static images.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.6
Quantic-Kernel v1.5
Upstreamed to 4.14.174 from linux-stable (See my github to review changes)
IMPORTANT NOTE: Upstreams could downgrade battery performance, I don't test and review every single commit of an upstream (Takes a lot of hours) so this is likely the price to pay to have an Up to date Kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.5
Quantic-Kernel v1.4 (Birthday update! :victory
Synced with akash changes
schedION governor added (Battery Friendly ONLY and see INFO Post for details)
Updated Spectrum profiles
IMPORTANT NOTE: Upstreams could downgrade battery performance, I don't test and review every single commit of an upstream (Takes a lot of hours) so this is likely the price to pay to have an Up to date Kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.4
Quantic-Kernel v1.3
Upstreamed to 4.14.173
Spectrum profiles reverted
Kernel updated to LA.UM.8.1.r1-14500-sm8150.0
Flashing method:
Backup stock boot and dtbo
Flash Kernel
Flash Magisk v20.3
Reboot
Notes:
Fingerprint on Screen should be fixed since I'd made a dtbo.img to avoid that issue, however because of the lack of testers I can't guarantee fingerprint working since I reimplemented spectrum profiles again.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.3
Quantic-Kernel v1.2
Deleted Spectrum as fingerprint still not working (sorry for that)
Added houston library from OnePlus 7 PRO
Added blu_schedutil, a governor created by @eng.stk extracted from his kernel implementation on blu spark. (This governor saves battery and unleash power when needed)
Removed several log instructions from defconfig to avoid unnecessary charge on the system.
Added Device_Tree_blob_overlays to completely solve the issue of missing fingerprint in some devices and ROMs (Like crDroid and ArrowOS)
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.2
Quantic-Kernel Hotfix-v1.1
Temporary removed Spectrum, as is the known bad guy that is causing trouble with some people dissapearing fingerprint on display
People that doesn't have problems with fingerprint can stay on v1.0 without problem, this update is made to restore fingerprint.
Please restore your boot and dtbo partition backup made on twrp and then flash the kernel (no need to reflash magisk as I'm not touching ramdisk anymore because no spectrum)
Thanks to Peter Jakson for testing the fixed version Apologizes to everyone for the inconvenience
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/Hotfix-1.1
Quantic-Kernel v1.0
Updated K-Lapse to v5.0 this fixes FK Manager force close issue when activating it
Reimplemented KCAL from scratch, that fixes a lot of shutterings and adds color control to the screen
Added missing header (display_state.h) that causes issues with KCAL
Performance improved massively
Added Spectrum profiles support to the kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.0
Kernel Modules INFO
Introducing schedION governor
schedION is a governor developed by me, it's main purpose is to save battery with PELT Scheduler, you can play game with lower drain and heat, performance still better than stock kernel. This is governor is activated selection "schedion" on the tree clusters and ONLY on PELT edition.
Introducing Spectrum profiles
Spectrum is a simple kernel manager app created by @frap129 in 2017 supporting kernels since Android 5.0 Lollipop, its very special because allows the kernel dev to ship a kernel with preconfigured profiles, with balance, battery, performance and gaming mode, so you can try the best setup made for the kernel without manipulating any kernel variable using others kernel managers.
Spectrum is shipped with Quantic-Kernel since version 1.0, prior versions doesn't support it: like pre-releases and RC.
Spectrum profiles can be applied using Spectrum from Playstore
Spectrum profiles can be applied using smartpack from Playstore
This kernel is going really good and some other good features are coming on next builds. All should try rn.
Thank you, it's working as expected.
Thank you. Tried with latest 11.0.5 stable and worked fine
karrouma said:
Thank you. Tried with latest 11.0.5 stable and worked fine
Click to expand...
Click to collapse
Hey thanks for the testing, did you found issues with fingerprint scanner? :highfive:
Gj mate
Sent from my Xiaomi Redmi Note 7 using XDA Labs
i installed on aosp crdroid and i lost my fingerprint, how can i solve it? thank you
Ayrton990 said:
Hey thanks for the testing, did you found issues with fingerprint scanner? :highfive:
Click to expand...
Click to collapse
Not working
FP not found in security .
TeamMex said:
Gj mate
Click to expand...
Click to collapse
Hey thanks mate, appreciate all your help
baggino said:
i installed on aosp crdroid and i lost my fingerprint, how can i solve it? thank you
Click to expand...
Click to collapse
That's because stock crDroid kernel hasn't the newest changes of fp made by markakash, please try to delete your saved fingerprint and add it again, should work normally.
karrouma said:
Not working
FP not found in security .
Click to expand...
Click to collapse
I expected that, fp scanner differs between AOSP and MIUI, I'll try to make something to let fp work but big chances are that it would not work.
Ayrton990 said:
That's because stock crDroid kernel hasn't the newest changes of fp made by markakash, please try to delete your saved fingerprint and add it again, should work normally.
Click to expand...
Click to collapse
fingerprint is gone and there is no possibility to insert it again because the menu "device security> fingerprint" no longer exists
Another bug
Speed meter all time is 0.0KB/s
karrouma said:
Another bug
Speed meter all time is 0.0KB/s
Click to expand...
Click to collapse
Thanks for feedback, I have bad news, xiaomi changed the FP implementation on 11.0.5 and source code hasn't released, so I can't make anything to make it work until xiaomi release the sc, you can try with another version such as 11.0.2
Using pixel experience but fingerprint disappeared after flashing this
Ty Mate. Kernel is so good working.
Hello
The smoothness and battery on this kernel + pixel experience are fantastic (10-11% screen on drain and 0.3-0.6% screen off) but I've got a problem with the 835mhz oc of the GPU.
On 835 it crashes on 3d apps right away (games and AnTuTu) while on 735 it is smooth and stable.
Is it because if the aosp rom or just the fact that the gpu is not stable at 835? Thanks.
Using the kernel along with Pixel Experience ROM, FP works well, no random reboot. And this kernel has something that I'm looking for, 735 MHz GPU. Sometimes my phone stuttered using the 835 MHz, that's why the 735 is really important instead of the 675 MHz ones. Thank you dev!

Categories

Resources