[DISCONTINUED][KERNEL][land] JasperKernel - r9 - Oct 14 - 8.1/9.0 - Xiaomi Redmi 3s ROMs, Kernels, Recoveries, & Other

{
"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"
}
Jasper is a kernel based on CAF 3.18 kernel source with linux-stable merged in coming-out with bunch of a features.​
Disclaimer
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.
Please read completely this thread before using. If you are coming from other custom kernel, please restore to stock boot.img or dirty flash your rom before flash this!
Click to expand...
Click to collapse
Features:
Compiled with GCC 8.2
Powered by osm0sis' AnyKernel2
Linux version 3.18.124
LA.UM.6.6.r1-09900-89xx.0 caf tag
F2FS v4.19-rc1 with GC patches
Upstreamed binder, SDcardFS, FUSE, and uid_sys_stats
Updated Prima (LA.UM.6.6.r1-09900-89xx.0)
CPU & GPU tuning
Sound control
Voltage Control
Adreno changes
KCAL Color Control
Boeffla Wakelock Blocker
SafetyNet bypass code
GPU boost added
Disabled GFS
Misc: Fsync and CRC toogle
CPU Governor: lisi, elementalx, electron, blu_active, alucard, darkness, interactive (default), clarity, conservative, ondemand, powersave & performance
I/O Scheduler: noop, deadline, cfq, bfq-v8r12, maple (default), fiops, sio & zen
TCP congestion algorithm: westwood (default), cubic, reno, bic & lp
CPU Hotplug: AutoSMP & AiO Hotplug
Tweaked interactive governor
Vibration intensity control
F2FS support
Backlight dimmer
Blocked many wakelocks
Disabled CRC check (up to 30% faster I/O)
SHA256 cypto support
Optimized SHA256
Load average fix
Zram optimization
Random updated to 4.2
Frandom number generator
Wake gestures with vibration control
Wireguard support
Idle power consumption reduced to the absolute minimum
Boost device when the screen is woken
Power efficient workqueues enabled by default
MM tweaks
USB HID gadget support
SdFat filesystem support
Other small improvements...
Some features might not appears in KA nor ExKM vice versa.
Release criteria:
Update will be provided whenever a new caf tag is available!
Compatibility:
r1+: 8.1.x Oreo, both Treble and non-Treble ROMs.
r6+: Supports installation on P Semi-GSI 9.0 Pie based ROMs.
TG Group:
https://t.me/JasperKernel
Note:
No feature requests. Suggestions are still welcome, however.
Credits:
(alphabatical order)
@DyWN
@HridayHS
@krasCGQ
@nathanchance
The Linux Foundation, CAF
All others who have their commits or contributions picked.
And everyone who helped me.
XDA:DevDB Information
Jasper Kernel, Kernel for the Xiaomi Redmi 3S
Contributors
Pawan.S 5277!
Source Code: https://github.com/PawanS5277/JasperKernel
Kernel Special Features: Mentioned above!
Version Information
Status: Stable
Current Stable Version: r9
Stable Release Date: 2018-10-14
Created 2018-06-04
Last Updated 2019-03-04

Downloads:
AndroidFileHost
MediaFire
8.1 -- Non-treble, 8.1T -- Treble!
Known issues:
On every (re)boot, treble-enabled ROM users may get a message regarding vendor image mismatch/internal problem. This is harmless and can be safely ignored.
Should be fixed since r4 for most users.
Installation Instructions:
Download the JasperKernel zip file.
Reboot to recovery
Backup your boot.img
Flash the zip you have downloaded
Reboot
Note: Don't flash kernel and magisk together. A reboot is necessary.
How to report bugs:
You should report bugs with format:
Rom information
Release of this kernel
Any setting that you have done after flash this kernel
log: logcat and dmesg if you encounter drivers problem.
log: last_kmsg if you encounter random reboot.

Changelogs:
r9 - October 14, 2018 (UTC +5:30)
Linux 3.18.124
CAF LA.UM.6.6.r1-09900-89xx.0
F2FS v4.19-rc1
Misc Changes
r8 - August 28, 2018 (UTC +5:30)
Linux 3.18.120
CAF LA.UM.6.6.r1-09600-89xx.0
sdfat: Update to version 2.0.8
Added ElementalX Governor
r7 - August 09, 2018 (UTC +5:30)
Merged Linux 3.18.118
CAF LA.UM.6.6.r1-09500-89xx.0
Reverted a potentially troubling commit, MMC related changes.
r6 - July 30, 2018 (UTC +5:30)
Merged Linux 3.18.117
CAF LA.UM.6.6.r1-09400-89xx.0
F2FS v4.18-rc1
Synced rapid GC with F2FS v4.18-rc1
AK2: Allowed installation on P Semi-GSI - krasCGQ
r5 - July 22, 2018 (UTC +5:30)
Upstreamed to 3.18.116
Reverted 2 commits
r4 - July 20, 2018 (UTC +5:30)
Single zip for both treble and non-treble builds
Eliminated vendor mismatch warning on every (re)boot
Upstreamed to 3.18.115
LA.UM.6.6.r1-09200-89xx.0 caf tag
Prima Updates
Reduce Advanced TCP congestion control
Removed some more unwanted wakelockes
Initial GPU frequency is set to 216 MHz
Miscellaneous changes
r3 - July 04, 2018 (UTC +5:30)
Upstreamed to 3.18.114
LA.UM.6.6.r1-09000-89xx.0 caf tag
Miscellaneous changes
r2 - June 17, 2018 (UTC +5:30)
Upstreamed to 3.18.113
LA.UM.6.6.r1-08900-89xx.0 caf tag
F2FS updates
Updated prima
Added lisi governor
Removed few governors
Fixed broken devfreq governors
Miscellaneous changes
r1 - June 01, 2018 (UTC +5:30)
Initial release.

Just in case!

Looks promising,definitely gonna try it,thank you so much,and congrats for your first work

Can you give best performance settings for heavy games? I am a noob.
And can I flash it on [03/06]AEX.Mod v5.5 Oreo[OMS/DUI] by jar2105

Wink Wink... Awsome man..

This kernel is indeed awesome, another good Kernel for Redmi 3S is here
Have tried it on Pixel Experience latest, and indeed it improves Battery performances. Will try it for Bootleggers soon
Thanks for this kernel!

Chris828 said:
This kernel is indeed awesome, another good Kernel for Redmi 3S is here
Have tried it on Pixel Experience latest, and indeed it improves Battery performances. Will try it for Bootleggers soon
Thanks for this kernel!
Click to expand...
Click to collapse
Hi
Please can you inform the config used in your case?
Thanks.

Chris828 said:
This kernel is indeed awesome, another good Kernel for Redmi 3S is here
Have tried it on Pixel Experience latest, and indeed it improves Battery performances. Will try it for Bootleggers soon
Thanks for this kernel!
Click to expand...
Click to collapse
Try for Franken ROM before Bootleggers...
The Franken is also one of the best ROM I've used... But due to some battery issues I've changed to other ROM...
So, please request you to try it on Franken ROM first

Thanks great work sir tried on pixel experience ROM became smooth and bullet fast

Very good kernel. Plz can you tell nature of electron & Clarity Gov ?

Ani96 said:
Very good kernel. Plz can you tell nature of electron & Clairty Gov ?
Click to expand...
Click to collapse
Electron is a governor based on interactive from the latest MSM8994 CAF branch with more upstream improvements, powersave bias, screen off max frequency, and some other tweaks to improve battery life without hindering performance.
Ryan added this as commit msg for clarity "Basicly this from interactive CAF with aditional tunables and tweaks. such as: - Remove boost functional - Limit max frequency when screen off. - Using relation cpu frequency Current (C) (Low power as possible). - additional down load tunable. "

tejjoshii said:
Can you give best performance settings for heavy games? I am a noob.
And can I flash it on [03/06]AEX.Mod v5.5 Oreo[OMS/DUI] by jar2105
Click to expand...
Click to collapse
Yes, you can use this kernel in that rom.
Use performance as cpu & gpu governor, set deadline as I/O scheduler.
If you use msm-adreno-tz gpu governor, then also set gpu boost accordingly.

What about fast charging ?

Only 6 of the 8 cores are used.

sinrequilorios said:
Only 6 of the 8 cores are used.
Click to expand...
Click to collapse
Disable core control.
You can manage how cores should work by using KA or ExKM.

Pawan.S 5277! said:
Disable core control.
You can manage how cores should work by using KA or ExKM.
Click to expand...
Click to collapse
I'm using Kernel Adiutor.

Why the cpu max freq doesn't remain 1497 and comes back to 998 , no matter what the governance is.

Nice work bro!
Working good with extended rom

Related

KERNEL | CM13 / AOSP | 24th July | HalogenKernel R29 | UBER TC 6.0 | AROMA | 3.4.42

{
"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"
}
EXPERIENCE HALOGEN | EXPERIENCE AWESOMENESS​
For Changelogs please see POST #2.
For Recommended Settings please SEE HERE.
DISCLAIMER :-​
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will simply laugh at you.
*/
NOTE :-​This kernel is ONLY meant for AOSP/CM ROMs.
This IS NOT MEANT for STOCK ROMs.
Upto R14 Kernel supports Lollipop.
From R15 onwards Kernel supports ONLY Marshmallow.
From R18 onwards Kernel supports Doze + Marshmallow.
If you don't know what Doze is, google it.
WHAT IS THIS KERNEL ?​This kernel is built especially for these 3 things :- 1. Audio, 2. Performance, 3. Battery Life.
I will try to bring in as many features as possible, and at the same time ensure that there are no conflicts / incompatibility issues.
FEATURES :-​(features of ONLY the latest version is mentioned)​
Based on Linux Kernel 3.4.42
AROMA installer v3.0
Updated with the latest CM13 sources
Built with UBER Toolchain GCC-6.0
Any Kernel script used
Kexc Hardboot patched
Built with -O3 & -graphite flags for enhanced performance
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam (thanks to @attack11)
Implemented LoUIS cache
Audio :-
Faux Sound Control v3.2
Headset in high performance profile
24 bit audio support
Low latency audio playback
Slimbus overclocking for superior audio quality
DOLBY dap dependency fix
Ultrasound & ASoC : qdspv2 tweaks
Battery Saving/ Performance :-
Readahead set to 512
Set sched_mc_power_savings to 2
Enabled CPU boost
NVIDEA Power efficient patches
Optimized slub memory allocator
Optimize Sfck Compression
Sched Tweaks (see GitHub)
Add Frandom
Power effecient work queues enabled by default
Reclaim RAM from loggers, increasing default ram to 886 Mb
Disable gentle_fair_sleepers for increased I/O
Enable advanced unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
Many tick, clockevents & timer tweaks (see GitHub)
Lower swappiness
msm:kgsl tweaks(see GitHub)
CPU Governors :-
intelimm, intellidemand, intelliactive, smartmax, conservative, ondemand, userspace, powersave, performance, interactive, impulse, yankactive, zzmoove
CPU Hotplugs :-
Intelliplug, MSM Hotplug, mp-decision, Bricked Hotplug
GPU Governors :-
msm-cpuferq, msm-adreno-tz, userspace, powersave, performance, simple_ondemand, conservative.
I/O Schedulers :-
fiops, vr, zen, sio, bfq, cfq, row, deadline, noop, fifo, tripndroid
TCP Congestions :-
westwood, cubic, reno, hstcp, hybla, vegas, veno, scalable, lp, yeah, illinois, hctp, advanced, highspeed.
Others :-
Ability to use your device as USB Keyboard / Mouse (use this apphttps://play.google.com/store/apps/details?id=remote.hid.keyboard.client&hl=en)
Stereo call record support
Increase torch power by 20mA
psx2usb
KCAL v2 by Savoca
Added Adreno Idler
GPU tweaks (see GitHub)
Dynamic FSync
Intellithermal v2
Added optimized square root algorithm
Added optimized ARM_RWSEM algorithm
Added state notifier driver
Enabled quick wakeup
NOATIME and NODIRATIME as default
NEON kernel mode
Ex-FAT support
SE Linux tweaks
SE Linux set to permissive
Random / Frandom / Prandom tweaks
Entropy tweaks
Mutex & futex tweaks
LONG TERM SUPPORT :-​
This kernel will be supported for a long time with updates directly streamed from CM kernel sources i . e . as long as CM keeps publishing updates to Motrola's Kernel, this kernel will also be updated.
Further, I will also be personally adding features to this kernel along with tweaks and optimizations as and when needed.
DOWNLOADS :-​(do not mirror my links)​[ Latest Version ]​[ Older Versions ]​
TEST BUILDS with OC & UV :-​These builds contain the following extra features ( when compared to normal /stable builds ) :-
CPU OC to 1593.6 MHz
CPU UC to 96 MHz
CPU UV hardcoded and can't be changed
Associated RamDisk changes
Since OC will not work without associated ramdisk changes, hence test builds are available as boot images rather than anykernel zips.
Now there had been reports of bootloop with blisspop & rr roms and certain other roms. I looked into this and found out that even though they are based on cm kernel, their ramdisk sizes are different, hence bootloop on using boot.img but no bootloop on using anykernel zip ( since, anykernel works irrespective of ramdisk size).
Now it is highly unfeasible to build a boot.img for every different rom and upload them separately. Hence, I have decided NOT to include OC/UC in the stable builds.
Hence these images will only work on aosp and cm13 roms.[/I] Any rom having ramdisk size different than that of official cm13 or official slim(aosp), will not be supported. Hence no support for OC in rr/bliss.
INSTALLATION INSTRUCTIONS :-​
Reboot into recovery.
Make a nandroid BackUp.
Select Install zip from SD Card.
Select the Downloaded zip (different builds are present as an option in AROMA).
Then Reboot to System.
RECOMMENDED APPS FOR KERNEL TWEAKING :-​
Kernel Adiutor
Faux123 Kernel Enhancement Pro
I do not support any other apps.
CREDITS:-​~~Google
~~Motorola for kernel sources
~~Flashhhh
~~hurtsky
~~Luk & Luca -for various fixes
~~Thecrazyskull, DC07 -for cherry-picks
~~Faux123
~~Savoca
~~YoshiShaPow
~~attack11
~~many more.......
Please don't start a war here if I forgot to mention someone. PM me and I will add him.
XDA:DevDB Information
HalogenKernel, Kernel for the Moto G 2014 LTE
Contributors
zakee94
Source Code: https://github.com/zakee94/halogen_kernel/
Kernel Special Features: Ultra High SOUND, Kexec, KCAL, Intellithermal, MSM Hotplug
Version Information
Status: Alpha
Current Stable Version: R29
Stable Release Date: 2016-07-24
Created 2016-02-02
Last Updated 2016-07-24
Changelog
CHANGELOG​(simplified changelog, for full changelog please look at my GitHub commits.)​​​
R29 --> 24/07/2016​
Merged CM Updates
For older changelogs :-​
R28 --> 08/06/2016​
Merged CM Updates
AROMA installer
Added tripndroid IO Scheduler
CPU optimizations
ARM tweaks and updates
R27 --> 12/05/2016​
Merged CM Updates
R26 --> 10/04/2016​
Merged CM Updates
R25 --> 16/03/2016​
Merged CM Updates
R24 --> 18/02/2016​
Reverted the following :-
CPU OC/UC - 1593/96 MHz
CPU UV
LMK tweaks + Agressive LMK mode
Following CPU govs --> lionheart, dancedance, bioshock, alucard
Following Hotplugs --> Mako, Auto-smp
Added the following -->
Merged CM Updates
Built with UBER Toolchain GCC-6.0
R23 --> 19/01/2016​
Initial Release
Reserved
... flashed this kernel - and works like a charm!
Thanx!
As a POSITIVE side effect after flashing this kernel, my LTE connection stays as stable, as I had it never before:good:
bitstra said:
... flashed this kernel - and works like a charm!
Thanx!
Click to expand...
Click to collapse
Thanks for the positive review !
bitstra said:
As a POSITIVE side effect after flashing this kernel, my LTE connection stays as stable, as I had it never before:good:
Click to expand...
Click to collapse
There are certain commits which improves and stabilizes cellular connectivity.
It works very well!
The overclocking is overvolting the CPU? Or it just changes the frequencies?
LuuchoRocha said:
It works very well!
The overclocking is overvolting the CPU? Or it just changes the frequencies?
Click to expand...
Click to collapse
It's using more voltage. Look here.
Speed and stability are amazing but Camera app can't find the camera anymore. Any advice?
---------- Post added at 02:34 PM ---------- Previous post was at 02:13 PM ----------
Also any suggestions on best TCP settings for speed?
t-pip said:
Speed and stability are amazing but Camera app can't find the camera anymore. Any advice?
---------- Post added at 02:34 PM ---------- Previous post was at 02:13 PM ----------
Also any suggestions on best TCP settings for speed?
Click to expand...
Click to collapse
You shouldn't face any issues with camera, which ROM are you on ??
For TCP try Westwood.
Hello,
Will be possible to make it for CM12, if I install, the camera stops to work, the rest work perfectly.
Thanks,
Sent from my Moto G 2014 LTE using XDA Free mobile app
zakee94 said:
You shouldn't face any issues with camera, which ROM are you on ??
For TCP try Westwood.
Click to expand...
Click to collapse
Thanks for the reply.
I'm running AOSP 5.1.1
todobarato said:
Hello,
Will be possible to make it for CM12, if I install, the camera stops to work, the rest work perfectly.
Thanks,
Sent from my Moto G 2014 LTE using XDA Free mobile app
Click to expand...
Click to collapse
t-pip said:
Thanks for the reply.
I'm running AOSP 5.1.1
Click to expand...
Click to collapse
This kernel is strictly for marshmallow based roms only.
However if you want to use it on lollipop based roms try an older version.
You can download it HERE.
zakee94 said:
This kernel is strictly for marshmallow based roms only.
However if you want to use it on lollipop based roms try an older version.
You can download it HERE.
Click to expand...
Click to collapse
Will give that a go. From what I could see yesterday this version worked fine with Lollypop apart from the camera.
Edit
Seems that kernel won't run the processor any faster than 787.
Is there any chance of updating to include over clock or modding current version to work with Lollypop camera?
t-pip said:
Will give that a go. From what I could see yesterday this version worked fine with Lollypop apart from the camera.
Edit
Seems that kernel won't run the processor any faster than 787.
Is there any chance of updating to include over clock or modding current version to work with Lollypop camera?
Click to expand...
Click to collapse
No.
I'm kinda curious, the title says Moto G, but will this work for Note 1 running CM13?
roimarco said:
I'm kinda curious, the title says Moto G, but will this work for Note 1 running CM13?
Click to expand...
Click to collapse
Are u serious? Of course it won't.
Hello,
The kernel is broken, with last nighty.
In cm13 was updated the Wi-Fi , now if I install the kernel Wi-Fi is inoperative.
Best regards,
Sent from my Moto G 2014 LTE using XDA Free mobile app
Kernel Updated​[ DOWNLOAD ]​
For details CLICK HERE.​
Thanks a lot, Wifi is fixed now. Your kernel is really awesome. A few tweaks and battery life is stellar, such as performance. Thanks

[KERNEL] [N5X] [7.1.1] [3.10.104] [UBER 6.3.1] Flash Kernel - v2.2 - December 25th

{
"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"
}
Introduction
Hello everyone, this is my kernel for the Nexus 6P ported on over to the Nexus 5X. I won't claim that you will get hours upon hours of battery life (even though optimization really is my focus here) but I will say I have added quite a few options for you guys and the optimization patches should improve your experience with this device. Hopefully you enjoy! Please read this entire post, most of your questions will be answered in here!
Features
Here are the major features of the kernel (feel free to explore Github)
Upstream Linux versions 3.10.74-3.10.104
Updated to the December security patch
Patches for some CVEs
Upstream patches from CAF and Linux
Support for overclocking to 2016 MHz on big and 1632 MHz on little (stock values by default)
Support for underclocking to 302MHz on big and little (stock values by default)
CPU governors: chill, conservative, despair, elementalx, impulse, intelliactive, interactive, ironactive, ondemand, performance, powersave, and zzmoove
Touchboost fully disabled
MSM_Hotplug v2.4
Backlight dimmer
KCAL color control
Adreno Boost
Adreno Idler
Wake gestures (sweep2wake, doubletap2wake, sweep2sleep, and camera launch gesture)
Faux Sound Control with high performance audio
Upstream zram commits (from 3.18)
UKSM support (disabled by default)
Upstream zswap commits (up to 4.7)
I/O schedulers: bfq, cfq, deadline, fiops, maple, noop, row, sioplus, and zen
Wakelock controls
TCP algorithms: bic, cubic, highspeed, htcp, hybia, illinois, lp, reno, scalable, vegas, veno, westwood (default)
Kexec patch for MultiROM support
F2FS support
Compiled with an Uber-based 6.3.1 toolchain located here
Makefile optimizations
Forced encryption and dm-verity disabled
Hides bootloader unlock from SafetyNet (can still fail through other means)
Built with AnyKernel2 thanks to @osm0sis
Downloads
7.1.1 (2.x): Main
7.0 (1.x): Main
Installation
If you are on stock:
If you are on the stock kernel: flash the kernel zip and reboot
If you are on a custom kernel: flash the stock boot image matching your build number, flash the kernel zip, and reboot
If you are on a custom ROM:
If you are on the kernel that came with your ROM: flash the kernel zip and reboot
If you are on a custom kernel: dirty flash your ROM zip, flash the kernel zip, and reboot
Upgrading from one Flash version to the other:
Just flash the kernel zip and reboot
Changelog
Nougat 7.1.1
Code:
[B]2.2[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=70246171]release post[/URL])
[LIST]
[*]Adaptive low memory killer (disabled by default)
[*]Process reclaim
[*]Other low memory killer improvements
[*]Binder improvements
[*]Improved Adreno Idler (thanks to [user=5051294]@frap129[/user])
[*]Improved Makefile flags (thanks to [user=5284595]@kwoktopus[/user])
[*][URL="https://lwn.net/Articles/621046/"]Lazytime[/URL] for EXT4 and F2FS
[*]Toolchain bumped to 6.3.1
[/LIST]
[B]2.1[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=70112916]release post[/URL])
[LIST]
[*]Upstream F2FS commits
[*]Upstream sdcardfs commits
[*]Upstream blu_active commits (thanks to [user=5996255]@jollaman999[/user])
[*]Remove ironactive (we already have all of the upstream CAF commits that make it special in interactive)
[*]Improvements to cpuidle
[*]Improvements to locking
[*]Double tap to wake now works when either halfscreen or fullscreen is selected in KA
[*]Improvements to Live Display (work with KCAL thanks to [user=4684315]@flar2[/user])
[*]Improvements to wakelocks (disable a few by default to improve battery)
[*]Attempt to fix 2% battery drop issue
[*]Security patches here and there
[/LIST]
[B]2.0[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69964903]release post[/URL])
[LIST]
[*]Updated for the December security patch
[*]Merged some Pixel security patches
[*]Updated AnyKernel
[*]New toolchain (Uber 6.2.1 with some Linaro opts)
[/LIST]
[B]2.0-rc1[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69859710]release post[/URL])
[LIST]
[*]Same as 1.5 but with DP source as a base
[/LIST]
Nougat 7.0/7.1
Code:
[B]1.5[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69859703]release post[/URL])
[LIST]
[*]Fixes for sdcardfs on certain ROMs like CM 14.1
[*]Upstream patches from CAF and Linux
[*]Allow big cluster to be boosted without a task on it
[*]UKSM improvements
[*]Add exFAT driver
[*]Detect when kernel is flashed on an unsupported Android version
[*]Add support for FK Updater's performance profiles
[/LIST]
[B]1.4[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69513015]release post[/URL])
[LIST]
[*]Chill governor updates (thanks to [user=5051294]@frap129[/user])
[*]Upstream CAF and Linux patches
[*]Fixed some compiler warnings (thanks to [user=4231562]@Yoinx[/user])
[/LIST]
[B]1.3[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69264478]release post[/URL])
[LIST]
[*]Upstream Linux patches for vmstat and libgcc
[*]Backported MDSS and GPU patches from Marlin (thanks to [user=3292224]@franciscofranco[/user])
[*]Low memory killer improvements
[/LIST]
[B]1.2[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69247027]release post[/URL])
[LIST]
[*]Linux version 3.10.104
[*]Move back to a constant tickrate of 300HZ
[*]Add a patch to hide bootloader unlock from SafetyNet
[/LIST]
[B]1.1[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69183236]release post[/URL])
[LIST]
[*]Add ironactive governor
[*]msm_hotplug
[*]Underclocking to 302 MHz
[/LIST]
[B]1.0[/B]
[LIST]
[*]Initial release
[*]List of features above
[*]Compiled with latest Linaro 6.2 from Uber repo
[/LIST]
Customization
Since the whole point of installing a custom kernel is to have more options available to you, here is some information regarding the tweaks available in the kernel.
Default settings: the phone will boot with the following settings (the ones I recommend sticking with if you are not into tweaking):
Governors: interactive on both clusters
Frequencies: 384-1440MHz on little and 633-1824MHz on big
Input boost: 1248MHz on little and 768MHz on big for 40ms
core_control on, msm_thermal off
Wake gestures and backlight dimmer disabled
Adreno Idler enabled
Sound controls set at 0
ZRAM enabled and UKSM disabled
zen at 128kb
Governor profiles: If you want to try and squeeze a little bit more battery life out of your phone or increase performance, you may consider exploring governor profiles. Below are some links to various posts containing links/descriptions of these profiles:
From @soniCron - HawkTail, GlassFish, and FairPark
From @Alcolawl - list of profiles
Virtual memory: I have implemented ZRAM and UKSM in the kernel and there are many ways to tweak these. I would only recommend messing with vm_swappiness but you can read about ZRAM tunables here and UKSM tunables here. To make the kernel use more or less ZRAM, type this in a terminal emulator (or change it in EX Kernel Manager under the Memory section):
Code:
echo # > /proc/sys/vm/swappiness
This number can be between 0 and 100. 0 will make the kernel swap to ZRAM only if there is an out of memory error, 100 will make the kernel swap to ZRAM as much as it can. I set it at 15 by default, I would set it to 1 if you don't want to use it as much as 1 will use the minimum amount possible (basically when the phone is super under load). Highest I would go is 60 (which is the stock/default value in the Linux kernel). Read more about swappiness here. Additionally, UKSM is disabled by default. You can either enable it with EXKM or echo 1 to the sys path /sys/kernel/mm/uksm/run
Frequently asked questions
1.1 Q: I am having an issue, can you help me?
1.1 A: I am not a superstar kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue. With that, I'll do my best to assist you.
Code:
adb logcat -d > logcat.txt
adb shell dmesg > dmesg.txt
1.2 Q: Can you add xyz feature?
1.2 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not go digging super hard for commits and I will ignore requests that don't include this information. I won't promise that I will merge every request but I will always take it into consideration.
1.3 Q: How do I control the kernel?
1.3 A: I'd recommend using either @flar2's EX Kernel Manager or @Yoinx's Kernel Adiutor-Mod; both are extremely solid and have given me no issues.
Thanks to:
@REV3NT3CH for showing me what a good developer and kernel looks like
The various developers for their patches (@ak, @Buckmarble, @flar2, @franciscofranco, @frap129, @imoseyon, @jollaman999, and @Yank555 to name a few)
@osm0sis for AnyKernel2
@mdalexca for helping me with some kernel compilation issues and the prebuilt toolchain I use
@kwoktopus for giving me good advice on Makefile flags and other patches
@malybru for my nifty new signature and thread banner!
All of you guys for viewing the thread
A note about donations
Quite a few people have asked to donate to me in the past and I have turned them down. I am not in this for the money, this is my hobby, something I truly enjoy. If you truly want to donate to something (it is not expected in the slightest), I recommend an entity like the Open Source Initiative, the Free Software Foundation, XDA, or any one of the people I have thanked in the OP. Additionally, you are free to copy any and all of my work; the only thing I request is that you not ask for donations as well (though I can't really enforce this lol). Thank you.
Kernel source links
7.0: https://github.com/nathanchance/bullhead
DISCLAIMER: I openly welcome off topic in my threads. Mods, please do not clean off topic discussion and users, do not complain about off topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.
XDA:DevDB Information
Flash Kernel, Kernel for the LG Nexus 5X
Contributors
The Flash
Source Code: https://github.com/nathanchance/bullhead
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 2.2 - Nougat 7.1.1
Stable Release Date: 2016-12-25
Created 2016-10-15
Last Updated 2019-07-02
I wanted to dedicate this post to my devoted testers:
@SM210
@Mrcactuseater
@vampire36
@ulxerker
@Psychofrantics
@Char_G
Without them, this project would not have been possible as I do not own this device. On that note, I will need a testing group for future builds, as there will be no guarantee the builds works properly without in-depth testing. If you would like to participate, join my Hangouts group through this link.
Reserved
First
Are you THE FLASH ?? Barry it's you ???
Thank you so much gentleman for your work
It's good to see good devs contributing to our N5X.
So welcome
This is one awesome kernel! And I don't just say that!!! The audio is what amazes me on exterior speaker and all ways. Fast, smooth and snappy it is! My phone isn't even close to what it was like before!! Amazing work!!!! Thanks for bringing us your great kernel even know you don't have a Bullhead! Appreciate all you do bud! It was an honor to be one of the testers. Running like a dream!! :good:
Sent from my Nexus 5X using XDA Labs
SM210 said:
This is one awesome kernel! And I don't just say that!!! The audio is what amazes me on exterior speaker and all ways. Fast, smooth and snappy it is! My phone isn't even close to what it was like before!! Amazing work!!!! Thanks for bringing us your great kernel even know you don't have a Bullhead! Appreciate all you do bud! It was an honor to test. Running like a dream!! :good:
Click to expand...
Click to collapse
How many Kernels are you using at the same?
crian said:
How many Kernels are you using at the same?
Click to expand...
Click to collapse
Just this. And will be staying here.
Sent from my Nexus 5X using XDA Labs
Thanks a lot for this, really. I have been waiting for kernel like this! Everything works beyond expectations. ?
bootloop on Pure Nexus nougat.
keaheng said:
bootloop on Pure Nexus nougat.
Click to expand...
Click to collapse
Can you give some more info?
TW1ST3D1NS4N3 said:
Can you give some more info?
Click to expand...
Click to collapse
i reflashed the rom and then kernel, phone bootloop
and I boot into the recovery agian and flash this one http://forum.xda-developers.com/and...-fed-patcher-v8-forceencrypt-disable-t3234422
it's working now.
keaheng said:
i reflashed the rom and then kernel, phone bootloop
and I boot into the recovery agian and flash this one http://forum.xda-developers.com/and...-fed-patcher-v8-forceencrypt-disable-t3234422
it's working now.
Click to expand...
Click to collapse
Did you wipe anything at all?
For me everything runs well, I am on PN
Nougat, thank mod
Sent from my Nexus 5X using XDA-Developers mobile app
TW1ST3D1NS4N3 said:
Did you wipe anything at all?
Click to expand...
Click to collapse
No bro
keaheng said:
No bro
Click to expand...
Click to collapse
Try a clean flash then.
Namautoenx said:
For me everything runs well, I am on PN
Nougat, thank mod
Sent from my Nexus 5X using XDA-Developers mobile app
Click to expand...
Click to collapse
Same here, no loops, runs well. Thx dev !
Sent from my Pixel XL using XDA-Developers mobile app
I'm on PureNexus nougat too and it works fine. No bootloop.
@The Flash thanks for making this kernel :laugh:

[CLOSED][Kernel][mido] ReVolt Kernel [Los/Aosp]

{
"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"
}
Code:
/*
* Your Warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, dead dogs, or cats,
* but i'm very interest in thermonuclear war, so if you point the finger
* at me for messing up your device just because this kernel, I will
* send you to the mars with Nuclear Rocket. Act accordingly.
* I know this paragraph is conspiracy-included, so
* dont ask about it. Welcome.
*/
ReVolt Kernel For Redmi Note 4​
Features :
--Upstream to 3.18.99 & based on LA.UM.6.6.r1-06700-89xx.0 caf tag
--Android O (8.0&8.1) only
--New display supported
--Compiled with Linaro 7.x A53 tool-chain
--Optimized for msm8953 chip
--KCAL color control
--Sound control
--Pdesire audio drivers
--GPU boost added
--Virtual memory : KSM,ZRAM, ZCACHE & FONT SWAP
--Misc : Dynamic Fsync, Arch Power,CRC & Gentle fair sleepers toogle
--Added Intelitermal solution
--I/O SCHEDULERS :FIOPS,MAPLE,SIO,BFG,CFQ,deadline,noop
--Gpu oc to 750 MHz [removed]
-- Governor :Blue_active,,chill,relaxed ,conservative, ondemand, userspace, powerspace, interactive, performance.
--Tweaked interactive /electron governor
--Early suspend driver
--Vibration intensity control
--F2FS support
--Fingerprint sensor boost driver
--exFAT Support
--Disabled CRC check (up to 30% faster I/O)
--Blocked many wakelocks
--USB fast charge
--KSM optimization
--Zram optimization
--random updated to 4.2
--Frandom number generator
--HZ 100 for best performance
--HW 32,chacha20poly1305,poly1305 & SHA256 cypto support
--Load average fix
--Optimized SHA256
--Nvidia power saving tunnigs
--Ardeno idler
--Lazyplug hotplug [removed]
--Power suspend
--Quick wakeup
--USB fast charge 2.0
--KCAL color control
--Wireguard support
--Gestures :
*Swipe to wake
*Swipe to sleep
*Double tap to wake
--Boeffla wakelocker
-- TCP congestion algorithm : bic,cubic, htcp, highspeed, vegas, reno, scalable, lp, , illinois, Westwood,hybla,veno,yeah
--spectrum support
--Works in both AOSP/LineageOS based ROMs
--General Performance & Battery life optimizations
And more you can find on my GitHub in commits
DOWNLOADS on this post ​
Credits :
- LINUS for the sources
- @LordArcadius
- @DroidTug
[email protected]
- @franciscofranco
[email protected]
[email protected]
[email protected]
- @Arnav Gosain​
-all the other developers from i cherry-picked commits
-all the other testers:silly:
For support join our telegram group
ReVolt group
Requirements
*Mido
*Working brain
*Basic understanding on how to read things
*Capability to use Google.com
*Not messing things up ,just to look cool
XDA:DevDB Information
[Kernel][mido] ReVolt Kernel [Los/Aosp], Kernel for the Xiaomi Redmi Note 4
Contributors
Boomshiva, NATO66613
Source Code: https://github.com/kondors1995/android_kernel_xiaomi_msm8953
Kernel Special Features: Compiled with Linaro 7.x A53 tool-chain && Optimized for msm8953 chip
Version Information
Status: Stable
Current Stable Version: O-R-20
Stable Release Date: 2018-03-17
Created 2017-10-22
Last Updated 2018-03-17
DOWNLOADS​
Nougat {dropped support }
Oreo
Changelogs
17/03/2018
Code:
*upstream to 3.18.99
*updated to caf LA.UM.6.6.r1-06700-89xx.0.xml
*compiled with my own uber tc gcc 7.3
*Added YouTube crash fix
*Added features back (based on v19)
08/03/2018
Code:
*Upstreamed to 3.18.98
*prima updated to caf LA.UM.6.6.r1-06500-89xx.0
*Switched camera stack from old mido N to caf LA.UM.6.6.r1-06500-89xx.0* (latest Oreo caf)
*Changed Ardeno idler implementation to use display state api instead of state notifier api
*Sources based on omni sources
*Fixed youtube issues (as reported by users )
*Few features like spectrum support , few TCP algorithm , others removed as its initial build, will be added later
*Misc changes
27/02/2018
Code:
Updated to 3.18.96
Updated sdcardfs
Few improvement for battery conservation
25/02/2018
Code:
Updated to 3.18.95
f2fs: updates on v4.16-rc1
Added Speck cipher support
HZ set to 1000
Improved charging
Updated QNS system
improvements to ARCH power & gentle fair sleepers
Improved Impedance detection;
Improved Sampling formats;
Improved Samplerates;
Improved SoundControl;
Added some sound tables.
Added Intelitermal V3 optimized
10/02/2018
Code:
Updated to 3.18.94
GPU improvements
Enabled D2W
Improved D2W & SW2 responsiveness
Touch-sensor improvements
Updated mm controller
07/02/2018
Code:
*Omnivision cam fix
*Binder switched to aosp
*Misc fixes and optimization
05/02/2018
Code:
*updated prima
*sdcardfs
*cpuidle improvments
*and many misc changes
03/02/2018
Code:
Updated to caf LA.UM.6.6.r1-06200-89xx.0
updated F2FS for batery life
Some GPU stuff
Misc changes
Batery life improvents
01/02/2018
Code:
updated to 3.18.93
misc AOSP changes
Boeffla wakelock blocker ( war against deepsleep):p
And few optimisation here and there for better user experience .
23/01/2018
Code:
)Addressed deep sleep issue and included a possible fix for that.
2)sorted out system has been destroyed issue
20/01/2018
Code:
Upstreamed to 3.18.92
Updated f2fs
Merge aosp changes to arm64
Misc updates
16/01/2018
Code:
Cpu boost
Arm64 instructions updates
Added gestures (swipe gesture) wake /sleep
Improved fp responsiveness
And many more fixes under the hood
05/01/2018
Code:
Fix for new display
Upstreamed to 3.18.91
Caf updates
Updated bfq to r8v12
Reverted many dts changes doe to reported cam / boot issues
Many more misc fixes
02/01/2018
Code:
upstreamed to 3.18.90
Caf updates
Updated DTS
misc fixes
Rebased to new sources
More Oreo optimization.
Interactive set as default
24/12/2017
Code:
Upstreamed to 3.18.89
Updated AOSP sources
Updated CAF tags
Added all remaining features from nougat
Fixed hdr
F2FS updated
Added RCU boost
Optimized adreno idler
Made changes in adreno boost
Updated ZRAM && swap
Improved memory management
Improved ram management && optimized for performance
Updated battery profile in spectrum
Added WIREGUARD support
15/12/2017
Code:
kernel is rebased on oreo base (works with nougat too) and optimized
updated to 3.18.87
It works on Oreo roms 8.0 /8.1
baseed of LA.UM.6.6.r1-04500-89xx.0 caf tag
Removed multiple features to debloat kernel
Tunned more for msm8953 chipset
updated devfreq ( GPU drivers)
updated cpuidle (cpu powersaving stuff)
19/11/2017
Code:
Updated to 3.18.82
Fixed krack vulnerability
Updated prima driver
Led drivers [new drivers]
18/11/2017
Code:
updated to 3.18.81
Updated cypto from according to 3.18 aosp changes
updated CAF to LA.UM.5.6.r1-06300-89xx.0
Led drivers fixed[old drivers] ..(notification light works now )
Manuals && Announcement:
Installation instructions:
download the kernel from above links (post 3)
Boot to twrp
flash the zip
reboot
If coming from another custom kernel :
Extract the boot.img from your current rom zip
boot to twrp
flash the extracted boot.img
flash the kernel (revolt kernel zip)
flash magisk or super su (optional )
reboot
swipe gestures
Watch a video how it works (reference is of one plus ) :
https://www.youtube.com/watch?v=UvyUJxna-1E
How to take logs ?
Check the below thread
https://forum.xda-developers.com/showthread.php?t=2185929
General flashing way
This is how u should flash stuff
Rom+gapps+root+mods(sound,kernel etc )
When flashing stock kernel
Kernel +root
Flashing custom kernel after stock
Stock kernel +root+custom kernel
Check the zip is corrupt or not my comparing the md5(available on afh )
Still if U are getting system destroyed then check what u have done wrong .
Like
1) what magisk modules u guys are using
2) xposed is there or NOT
3)data is encrypt or not
4) mount system partition issues
5) outdated recovery
5)changed system file partition
Good Job @Kevin Saiza
Reserved
If it's the same kernel source from Soviet kernel, it probably has the MTP bug. Takes always connecting to MTP. Also the boot animation hangs a little bit in the start. I am not sure about this one specifically. But from the looks of it seems to be the same kernel.
Going to test now!
Do the OC-s are overvolting, or 2.2 GHz uses the same voltage which uses 2.0GHz? And the GPU oc?
MIUI MM supported ??
Work on RR rom
magnum_2007 said:
If it's the same kernel source from Soviet kernel, it probably has the MTP bug. Takes always connecting to MTP. Also the boot animation hangs a little bit in the start. I am not sure about this one specifically. But from the looks of it seems to be the same kernel.
Click to expand...
Click to collapse
To fix MTP , Add this to build.prop and report .
kaushal_1711 said:
MIUI MM supported ??
Click to expand...
Click to collapse
Only for Nougat & Oreo
david kapek said:
Work on RR rom
Click to expand...
Click to collapse
Spectrum support is also present . You can use that too .
holozis_HUN said:
Going to test now!
Do the OC-s are overvolting, or 2.2 GHz uses the same voltage which uses 2.0GHz? And the GPU oc?
Click to expand...
Click to collapse
No Over volting
Kevin Saiza said:
To fix MTP , Add this to build.prop and report .
Click to expand...
Click to collapse
What to add in build.prop ?
Sorry its in op saw r8 now
david kapek said:
Work on RR rom
Click to expand...
Click to collapse
Should work on RR and all custom Nougat and Oreo roms
itsRJT said:
What to add in build.prop ?
Click to expand...
Click to collapse
Add The code in OP
Folder in miui is blank
Wow. Thanks man for many features. i glad for see hotplug kernel. But not work on my aosp rom lazyplug.
exodius48 said:
Folder in miui is blank
Click to expand...
Click to collapse
As soon as kernel is tested it will be uploaded .

[3.18.140][EAS][O/Pie][GESTURES]Chimera Kernel[FINAL]

Disclaimer :
* Your warranty is now void.
*
* We're not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
Click to expand...
Click to collapse
{
"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"
}
Chimera is a fusion of stol... picked features from different custom kernels and Uniqueness.
Tested working perfectly on Pixel XP , Nitrogen OS and crDroid, LineageOS Treble build and Reloaded CAF as well.​
Governors :
conservative
ondemand
userspace
powersave
schedutil (for EAS)
IO-scheds :
BFQ
FIOPS
NOOP
Features (Fusion of uniqueness and picking) :
Code:
[LIST=1]
[*]Energy Aware Scheduling
[*]CPU Boost
[*]DT2W v2.0 with Haptic Feedback! (thanks to sir [user=5913332]@tanish2k09[/user] )
[*]Optimized CPU voltages (from Beatrix kernel)
[*]Adreno Idler (From Beatrix kernel)
[*]Disabled crc check for faster I/O (from ElectraBlue kernel)
[*]Force USB fastcharge
[*]CPU OC and UC frequency table
[*]f2fs support
[*]Voltage Control (thanks to [user=8676174]@DyWN[/user])
[*]Sweep2Wake + Haptic Feedback
[*]Disabled Sweep2Sleep to prevent annoying sleeps while gaming
[*]CD-ROM Emulation (For drivdroid)
[*]QC 2.0 (Thanks to nichcream -- Should work now, extensive testing still needed)
[*]Sound Control (From Spicy Kernel)
[*]SDFAT support
[*]Treble Build
[*]Up To date with latest linux-stable and CAF Tags
[*]Built with Bootlin TC and graphite (GCC 8.2)
[*]Integrated Treble and Non-Treble Builds
[*]Spectrum Profiles
[*]KCAL
[*]KLapse
[*]Android P Support
[*]Android Q Pre-Release Support
[/LIST]
Downloads :
Note - You can flash the zip both on Treble and Non Treble. Please stop spamming the thread and my telegram with that!
GDrive -- OR -- Old builds
Credits :
@Swapnil Soni... respect! Helped me 24/7
@mayu19 (for beatrix features)
@tanish2k09 (for helping me get into the android dev world, DT2W V2, Haptic Feedback and Klapse! )
@nathanchance (for this- https://forum.xda-developers.com/an...erence-how-to-compile-android-kernel-t3627297)
@riteshsaxena and TeamReloaded (for Treble base kernel source and helping me a bit)
@LordArcadius (for features from electrablue)
@DyWN (for features from spicy kernel)
@bawaviki (for feature(s) from beacon kernel)
@Sultanxda (for Safety Net flags)
@nichcream (for new base kernel) !
@difr (for UC and OC , and some tid bits )
Drive Droid Team
Linux Kernel Chat (telegram)
@ATechnoHazard (for giving me Linux kernel chat link)
@Akshat2k for 2.1 kernel base
@krasCGQ for helping me to integrate treble and non treble builds
@jar2105 for initial spectrum config
@Shoaib05 for old EAS model
People who have helped in testing
@shreyas_kulkarni (febbit)
@NoNe on telegram
@parvezch
@shaikh lukman
@mhd.faisal.alfaruqi
(Did I miss anyone? Let me know via PM if I missed you. We'll work it out )
Coming soon?
Feel free to post your thoughts or new ideas in this thread, and tag me or @tanish2k09, preferably both
Bugs:
You tell me
Extra Stuff I want you to know :
Check out @tanish2k09 's DT2W v2.0 module (and add it to your kernel too!) - DT2W v2 thread
Also if you are a dev and you want to know how to integrate non-treble and treble builds into 1 zip, I made a guide for that - Unified builds guide
Check out @erfanoabdi 's semi-GSI Android P port here
Important Notes if you wish to add the kernel to a ROM
Revert the following commits :
Commit 1
Commit 2
Commit 3
Or Even better, bundle chimera-lite, a more daily-user intended kernel!-
https://github.com/ChimeraKernelProject/chimera_land-current -b lineage-16.0-lite
Finally cherry-pick these commits in your device tree :
Commit 1 - schedutil
Commit 2 - schedutil fix
Commit 3 - Spectrum
(This is important or else schedutil won't be the default governor and spectrum won't work)
Optionally, you can bundle Spectrum and KA apps from this commit
If you wish to build Non-Treble, Remove this block of code
Based on - Ritesh Saxena's kernel
Other Sources - GitHub
XDA:DevDB Information
Chimera Kernel, Kernel for the Xiaomi Redmi 3S
Contributors
rupanshji, tanish2k09, RiteshSaxena, Swapnil Soni
Source Code: https://github.com/ChimeraKernelProject/chimera_land-current
Kernel Special Features: Custom kernel deer
Version Information
Status: Stable
Current Stable Version: Final
Stable Release Date: 2019-07-03
Created 2018-01-10
Last Updated 2019-07-03
RESERVED
CHANGELOG
Final r2
Code:
Bump klapse to v5.0
Merge LA.UM.7.6.r1-05300-89xx.0
OLD LOGS
FINAL Re- release
Code:
Fix deadlock issue causing display failure while using klapse
FINAL
Code:
Upstream to 3.18.140
Merge LA.UM.7.6.r1-04500-89xx.0
Use a proper KLapse implementation
v6r3
Code:
upstreamed to v3.18.138
compiled with updated toolchain
Update AnyKernel2
v6r2
Code:
fix mdss kernel panics caused by klapse_push
v6
Code:
Added KLapse support
Upstreamed to 3.18.136
v5.2_r3
Code:
Fix major EAS bug where cost data wasn't dynamically calculated in the previous build
Build with Graphite flags
Increase minimum brightness
Remove Nethunter/HID support
v5.2_r2 rebased
Code:
Upstreamed to 3.18.132
Merged LA.UM.7.6.r1-04000-89xx.0
Remove -dirty append in Kernel version
Fixed DT2W v2 implementation
Disable DT2W v2 by default(Can be enabled via KA)
Add Haptic Feedback to S2W
Remove useless features
v5.2_r2
Code:
Merged 3.18.131
Fix Schedutil not being applied upon boot
v5.2
Code:
Upstreamed to 3.18.126
Merged LA.UM.7.6.r1-03400-89xx.0
Revamp EAS Model
Compile with BootlinTC+Graphite
v5.1r3
Code:
Rebased to <insert latest CAF tag here>
Upstreamed to 3.18.124
Tweaked spectrum and init config
Removed Alucard and Darkness governors
Fixed Max GPU clock in spectrum not being applied (tenks @parvezch boi)
v5.1r2
Code:
Fixed Vendor Mismatch on all ROMs
v5.1
Code:
Upstreamed to 3.18.122
Rebased to LA.UM.7.6.2.r1-03200-89xx.0
Removed Interactive Governor
Fixed Vendor Mismatch Issue
Compiled with DragonTC 8.0
Cross Compiled with Linaro 7.3.1
Tweaked Spectrum configs
schedutil is the default governor now
v5.0r2
Code:
Upstreamed to 3.18.120
Merged [Insert Latest CAF Tag here]
Rebase Non treble to TeamReloaded
v5.0
Code:
Added EAS support
removed wakelock triggers
Enabled Adreno Idler(I forgot to enable it in the defconfig F)
Added CPU Boost
Removed Lisi
Removed Electron
Upstreamed to 3.18.116
Switched DT2W to half screen by default
Added Performance profile in spectrum
Adjusted frequencies in spectrum profiles
Switched to schedutil governors in spectrum profiles
V4.1
Code:
Added Android P sGSI support
Upstreamed to V3.18.14
Spectrum Profile Fixed
Added FIOPS IOSCHED
Enabled NOOP IOSCHED
Enabled BFQ IOSCHED(In non-treble)
Added Lisi Governor
Added Electron Governor
Fixed Kernel Version
V4
Code:
INTEGRATE TREBLE AND NON TREBLE BUILDS INTO ONE ZIP
Upstreamed to v3.18.113
Rebased Treble source
Spectrum Profiles Added
Compiled with DTC 7.0 Clang TC
Re-Added KCAL
V3.0(Includes Treble)
Code:
Switched base kernel source
Add Haptic feedback for DT2W V2
Add S2W back
Disabled S2S in S2W
Downstreamed to 3.18.71(only in non treble build)
Remove exfat as no longer needed
Add UC and OC frequency table
V2.1
Code:
Upstreamed to 3.18.104
Add Voltage Control For Little Cores
Add Faux Sound Control
Add SDFAT Support
Fix Kernel Version in Settings
Disabled S2W(Since working to implement t2s)
V2.0-r2
Code:
Fix Stability Issues in some ROMs
Remove Overclock for battery performance and stability
Switched Base Source
V2.0
Code:
Switched to Rebased kernel
Wireguard VPN Support added
QC2.0 (Should work, Extensive Testing still needed)
Switched to DyWN's & bawaviki's OC
CD-ROM Emulation added
Sweep2Sleep added
KCAL Removed(Due to some problems, Will re-add soon)
v1.2r2
Code:
Upstreamed to 3.18.102
V1.2
Code:
Added Wakelock triggers
Added Voltage Control
Dt2w v1.0 --> v2.0 thanks to tanish2k09
V1.1
Code:
Fixed Kernel Aduitor problems
Added dt2w
Fixed governers not showing up
V1.0
Code:
Initial build
Cool
Reserved
This kernel works in which android versions?
Speaker87 said:
This kernel works in which android versions?
Click to expand...
Click to collapse
8.1
More Custom Kernels than ROMs very soon... Well Done...
I have now tested the kernel. Kernel Auditor isn't working properly but the phone is working fine. No heating issues and all. I will find a workaround/fix asap
Thanks for the feedback
@rupanshji
You are much pro. Congo.
Wut sort of cpu gov is TheNewBeginning?
Haven't seen that anywhere before...
tanish2k09 said:
@rupanshji
You are much pro. Congo.
Wut sort of cpu gov is TheNewBeginning?
Haven't seen that anywhere before...
Click to expand...
Click to collapse
Thanks Mate!
Btw I made the first build around 5AM governers were not showing up
I fixed it a few minutes ago. I haven't myself tested it much will tell you more about it once I test it well xD . Tho I will ask mayu09(got it from his kernel ) more about it once he is free .
.
.
.
.
.
UPDATED to V1.1
Added dt2w support
fixed governer problems (check changelog)
Kernel should be stable af now guys
Does it work on miui roms too...?
Awesome work @rupanshji ?
Ali_Waris said:
Does it work on miui roms too...?
Click to expand...
Click to collapse
Muui ??? Oreo?
Anyone tried?
Khudoshynserge said:
Muui ??? Oreo?
Click to expand...
Click to collapse
nope.. nougat (7.1.2) redmi 4x
@rupanshji
Try adding my Trace2sleep, dt2w V2 and swipe2wake modules.
Adding two more gestures above dt2w doesn't consume noticable battery because the screen is already kept active by dt2w.
Ali_Waris said:
Does it work on miui roms too...?
Click to expand...
Click to collapse
This kernel is only for land device running custom Oreo ROMs,don't try to flash this on non-land or miui ROMs,if you don't want to brick your phone
Ali_Waris said:
nope.. nougat (7.1.2) redmi 4x
Click to expand...
Click to collapse
hats off. You're lucky if its working and your phone too. Welcome to redmi 3s/x with your 4x
wolverinemaister said:
hats off. You're lucky if its working and your phone too. Welcome to redmi 3s/x with your 4x
Click to expand...
Click to collapse
Oops.... I totally ignored that its a 3s forum.
Now, ignore me please..
I am sorry.
Congo sur:good:

[KERNEL][EAS][MIDO][9.0] || Clarity Kernel || HANA-CI

Clarity Kernel | Stability for performance ​From HANA-CI Build Project​
{
"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"
}
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Clarity is an EAS based kernel that have aim to get fully balanced with battery and performance usage without need any configuration to use. and also, always up-to-date with CAF, AOSP/Common, F2FS & SDFAT, designed for flash & forget kernel :3.​
Features
Based on CAF Kernel Tag 'LA.UM.8.6.r1-04200-89xx.0'
Up-to-date for aosp common kernel 3.18 (https://source.codeaurora.org/quic/la/kernel/msm-3.18/log/?h=aosp/android-3.18)
Up-to-date for f2fs stable branch (https://github.com/jaegeuk/f2fs-stable)
Up-to-date for exfat stable branch (https://github.com/arter97/exfat-linux)
Compiled using Clang 11.0.0 NusantaraClang (Compat VDSO)
Merge EAS Based on (https://github.com/EAS-Project/msm-3.18)
Schedutil & Pwrutilx CPU Governor
CPUSets & Stune Assist (EAS Assist Management)
Upstreamed CFQ and BFQ I/O Schedulers
Audio Optimizations (UHQA, Slimbus OC, etc)
Updated LZO/LZ4 Compressor/Decompressor Module
Optimized CPU Boost for EAS (Dynamic Stune Boost v3)
Upstreamed ZRAM,ZSMALLOC & ZCACHE
Improved Power Efficient Workqueue
Cortex a53 Optimizations
USB Fastcharge
Backlight Dimmer
And any other improvement or feature that i forget to tell '_' (Check git for more details)
AnyKernel Features
Up-to-date for AnyKernel3 master branch (https://github.com/osm0sis/AnyKernel3)
Import optimized powerhint for listed EAS Based ROM (Alvian Wahyu Humaini)
Compatibitlity
AOSP / LOS Based ROM
NOT Compatible with MIUI and Never be...
How To Install
Flash using recovery mode, reboot, done
Downloads
Sourceforge
Credits
The Linux Foundation, CodeAurora
@krasCGQ - For initial mido bringup kernel
@NATO66613 - For EAS initial mido bringup
@thehitman7 - For EAS initial mido bringup
@najahiii - For Nusantara Clang 10.0.0
@ramadhanr124 - For upstream support from new caf tag
@alanndz - For help me solved some issue on compiling kernel
@alvian29 - For optimized powerhint (EAS Based ROM)
And all others who have their commits or contributions picked
Tell me if i'm miss with credits
Join my telegram channel for new updates : Telegram Channel
No Telegram Group Support for now..
XDA:DevDB Information
Clarity Kernel For Redmi Note 4 from HANA-CI Build Project, Kernel for the Xiaomi Redmi Note 4
Contributors
Nicklas Van Dam
Source Code: https://github.com/HANA-CI-Build-Project/kernel_xiaomi_msm8953-3.18-2/tree/dev/kasumi
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r18
Stable Release Date: 2020-04-05
Created 2019-10-27
Last Updated 2020-04-05
Changelogs​
r18 - 04-05-2020 (GMT+7)
Merge latest aosp/android-3.18 from common kernel changes up to 20200320
Merge latest kernel and wlan update from codeaurora with tag LA.UM.8.6.r1-04200-89xx.0
Merge latest stable update from https://github.com/KudProject/kernel_msm-3.18 with branch LA.UM.8.6.r1/aosp-updates to fix several issue with old upstream and missing commit
Switch to Proton clang version 11.0.0 build 20200330 (@kdrag0n)
Enable dead code elimination and LTO
Enable LLVM Polly optimizations
Move to full PELT half life 16ms implementation (Disable WALT)
Several improvement for PELT, Sched, NOHZ, CPUSets & schedutil cpu governor
Enable Ultra Low Power Save for all display panel
Properly set GPU Timeout to 64 ms
Switch to 100HZ Kernel tick rates
Apply several cpu qos optimizations from @Kerneltoast
Use default qos for active/wakeup latency
Include several latest optimizations from wahoo kernel @Kerneltoast)
Reworked ion/iommu & binder (Thanks to @zeta96)
Import binder from android-4.19 wahoo kernel (Thanks to @zeta96)
Import cpumask & irq updates from https://github.com/ProtoDump/kernel_xiaomi_santoni (Thanks to @ProtoChuz)
Import SLMK from wahoo kernel @Kerneltoast)
Set several worker to run as performance critical @Kerneltoast)
Re-import boeffla wakelock blockers and several wakelock handling commit
Misc changes with wlan driver
Optimized charging driver
Add QNS charging driver
Fixed msm performance issue
Sync with general link updates
F2FS Rapid GC Updates
Disable other IPC Log error when IPC Logging is disable
Disable several kernel modules, debugging & tracing drivers
Drop DTS Eagle Audio Driver
Revert all mutex_lock commit
Misc optimizations
r17 - 01-28-2020 (GMT+7)
Merge latest aosp/android-3.18 common branch as per 20200128
Revert several commit from aosp/android-3.18 to fix issue on A/V or failure compilation
Upstreamed AnyKernel3 (No need to reflash magisk on android 10 after flash kernel)
Switch to Proton clang version 10.0.0 (@kdrag0n)
Disable LLVM Polly optimizations
Merge more missing upstream changes @krasCGQ)
Use proper fix for last workaround on wifi drivers @krasCGQ)
Code cleanup for mido kernel specific changes @krasCGQ)
Import Xiaomi Thermal changes and several msm thermal optimizations
Misc gpu optimizations @Kerneltoast)
Switch to 80Hz arbitrary tick rates (@tytydraco)
Several I/O optimizations (@tytydraco)
Other misc optimizations
r16 - 01-06-2020 (GMT+7)
Merge latest aosp/android-3.18 branch as per 20200105
Fix other old upstream issue for missing changes on aosp-3.18 (Thanks to @krasCGQ)
Apply ion/iommu optimizations from @Kerneltoast (Thanks to @ramadhanr124 & @Zile995)
MSM Thermal optimizations
Memcmp optimizations
Improve CPUSets Assist
Implement crypto NEON XOR accelerated + CRC32 performance
Disable other left debugfs drivers
Disable auditing on selinux
Disable backlight dimmer by default
Disable several audio tweaks features by default
Disable sched_boost tune on kernel features
Removed Boeffla Wakelock Blocker
Other misc optimizations
r15 - 12-20-2019 (GMT+7)
Merge kernel AOSP / Google Common Source as per 20191220 (GMT+7)
Updated Kernel CAF & PRIMA Wlan Tag to 'LA.UM.8.6.r1-02900-89xx.0'
Apply qualcomm mismerges commit for 3.18 (thanks to @LilBlinx)
Revert backport totalram new pages api from kernel 4.4
Merge PELT Halflife 16ms features from thanks to @NATO66613
Disable sched walt
Introduce Energy Model Management Framework for legacy support
Several schedutil governor optimization
Introduce SchedTune Assist v3 and optimized it
Improve CPUSets Assist
Disable userspace cpu boosting
Disable top-app prefer idle tuning
Use 100Hz timer tick rate frequency
Kill google camera and settings from background
Disable DebugFS drivers on kernel (debugging think)
Remove audit dependency on selinux
Import msm thermal optimizations from @TheHitMan7
Update powerhint from @alvian29
Other misc optimizations
r14 - 11-28-2019 (GMT+7)
Compiled using latest nusantara clang 10.0
Switch prima WLAN to tag 'wlan-driver.lnx.1.0-r33-rel'
Merge kernel AOSP / Google Common Source as per 20191128 (GMT+7)
Fixup older AOSP / Google Common merge issue Thanks to @krasCGQ (github)
Fixup unstability / random reboot issue from last build
Drop completely yama kernel security
Drop blu schedutil governor
Misc GPU Optimizations
Other misc fixes, look git for more details :v
r13 - 11-16-2019 (GMT+7)
Merge Latest CAF Kernel tag 'LA.UM.8.6.r1-02600-89xx.0'
Merge Kernel AOSP / Google Common Source as per 20191115 (GMT+7)
Fixup old upstream issue after patch 3.18.125
Updated swait functions
Upstream LZ4 decompression
Implement system wide power efficient workqueue
Cleanup old SLMK Merged
Import Blu Schedutil CPU Governor (Thanks to @TheHitMan7)
And other misc optimizations (look git for more details)
r12 - 11-01-2019 (GMT+7)
Merge Kernel AOSP / Google Common Source as per 20191101 (GMT+7)
Merge Latest EXFAT FS as per (20191030 GMT+7)
Migrate all init customizations to kernel (hardcoded) during SAR implementation on some android 10 ROM
Backported totalram_pages api from kernel 4.4
Add few kgsl optimizations
Add SHA256/512 Encryption
Remove a few HZ dependency
Revert some thermal optimizations
Remove dirty hack compiler workaround for kernel
Remove Qualcomm Panic data corruption commits from old sources
And other misc optimizations (look git for more details)
r11 - 10-27-2019 (GMT+7)
Merge latest CAF kernel tag 'LA.UM.8.6.r1-02300-89xx.0'
Merge kernel AOSP / Google Common Source as per (20191027 GMT+7)
Merge latest EXFAT FS as per (20191027 GMT+7)
Switch to CFQ as default I/O Schedulers
Revert simple LMK and switch back to ALMK
Improve clang Kernel Hardening
Remove some high priority workqueue on kernel
Enable kernel sched sysctl sysfs
r10 - 10-27-2019 (GMT+7)
Based on LA.UM.8.6.r1-01900-89xx.0 CAF Kernel & Prima tag
Compiled using NusantaraDevs Clang 10.0.0 (Compat VDSO)
Merged Latest AOSP/Common kernel changes for 3.18 from https://github.com/aosp-mirror/kernel_common as per 20191018 (GMT +7)
Use LLVM Polly Optimizations for clang
Rebased EAS algorithm to https://github.com/EAS-Project/msm-3.18
Removed several EAS patch & CPU Governor (energy capacity, power allocator & energy modelling, sched_boost)
Removed several unused patch during new base migration
Removed several GPU optimizations
Removed several GPU patch optimizations
Removed SDFAT FS & Import EXFAT FS (use vfat fs as default for fat partition)
Introduce CPUSets Assist
Add audio-app stune boost configuration
Import optimized intelli thermal v3.0
Enable CPU CAF Boost toggle & Dynamic Stune Boost (0ms)
Reset schedutil to default google value state (also cleanup)
Fix some wakelock issue
Other misc cleanup & optimizations
Older changelog isn't available for public, due still experimental builds
Two Builds Temporary
NOTE:
- Build split to 2 versions, look 'Android Version' code [P / Q] at the end of file name for installation
- For android 10, please enable thermal manager manually from kernel manager
Reason:
- Android 10 build on mido was implement SAR in ROM and that was mess init kernel patching, so android 10 init can't be patched from anykernel normally. Another workaround is only from hardcoded directly to kernel only for android 10
- Android 9 version doesn't have this issue, and still can use init tweaking instead.
Wow cool post , thanks for sharing
New kernel. 2 version in one day !
henxui25 said:
New kernel. 2 version in one day !
Click to expand...
Click to collapse
Not 2, there's actually one. Another is only old version that still have close related with a new one.
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Quick wake up, schedutil + cfg = 10+ working hours of my phone screen.
Nice job, thanks
Liquid Remix Pie + Clarity Kernel r11
fortrose said:
Quick wake up, schedutil + cfg = 10+ working hours of my phone screen.
Nice job, thanks
Liquid Remix Pie + Clarity Kernel r11
Click to expand...
Click to collapse
You're welcome
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Tnx for cpu thermal feature.
Echo MsK said:
Tnx for cpu thermal feature.
Click to expand...
Click to collapse
You're welcome
Can anyone check jitters using Benchkit magisk module?
New r12 build is up
Some Notes:
- Look at Here
Download Link:
- Here
Watanabe_You said:
Can anyone check jitters using Benchkit magisk module?
Click to expand...
Click to collapse
Any problem with jitter, sir?
Thank you for this kernel, I have installed it on Resurrecting Remix and it says its not EAS based rom. Is it importan this?
Also, how can it be set backlight dimmer?
Enviado desde mi Redmi Note 4 mediante Tapatalk
amibumping said:
Thank you for this kernel, I have installed it on Resurrecting Remix and it says its not EAS based rom. Is it importan this?
Also, how can it be set backlight dimmer?
Enviado desde mi Redmi Note 4 mediante Tapatalk
Click to expand...
Click to collapse
Not important, that just algorithm to replace powerhint.json if exist.
Backlight dimmer you can set using FK Kernel manager for more details, if you're using smartpack or etc, then it'll show only simple on/off toggle.
Nicklas Van Dam said:
Any problem with jitter, sir?
Click to expand...
Click to collapse
I'm not on eas ROM right now. Previous eas kernel I used usually had high jitter, so I want to see if this one is better
Watanabe_You said:
I'm not on eas ROM right now. Previous eas kernel I used usually had high jitter, so I want to see if this one is better
Click to expand...
Click to collapse
I'm currenrly not on EAS rom too now, is this testing only for EAS based ROM?
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Hi. This is based Android 10 or Android 9?
Nicklas Van Dam said:
I'm currenrly not on EAS rom too now, is this testing only for EAS based ROM?
Click to expand...
Click to collapse
It's for testing all devices.
Omg dude. I just flashed from telegram your caf kernel on advanced lineage and is extremely fast

Categories

Resources