[v1.1.1][KERNEL][lavender] JellyKernelAlpha - Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O

Hello,
I started making kernel builds again.
CHECK BELOW FOR IMPORTANT INFORMATION!
YOU MUST USE MIUI Q FIRMWARE PACKAGE FOR THIS KERNEL TO WORK. OTHERWISE YOU'LL END UP IN FASTBOOT MODE FOREVER.
Camera won't work on a lot of ROMs due to imcompatible camera drivers in the kernel. This kernel uses a patch for MIUI Stable 11.0.4 release, which introduced updated camera blobs back in Android Pie. Double check, whether your ROM uses these blobs. MIUI Q uses different blobs too, thus won't work until Xiaomi releases it's kernel source code.
FLASH THIS BEFORE FLASHING MY KERNEL. I UPLOADED FIRMWARE PACKAGE FOR YOUR CONVENIECE!
DOWNLOAD LINK FOR MIUI Q FIRMWARE PACKAGE
Flashing procedure is standard - through recovery. Magisk is optional, only if you want root.
*big thanks to rama982 for possible insights and some help from his side*
*nathanchance for android-linux stable and helping upstream our kernels*
*franciscofranco for commits that made our phone happier and snappier*
*sultanxda for his beastly development in Android scene and ridiculous understandment in kernels in general*
*also thanks to osm0sis for Anykernel3. Without this, flashing kernels would be a harder process to do*
XDA:DevDB Information
JellyKernelAlpha, Kernel for the Xiaomi Redmi Note 7
Contributors
airidosas252, rama982, nathanchance, Qualcomm, Code Aurora Forums, osm0sis, other developers
Source Code: https://github.com/airidosas252/Xiaomi_Kernel_OpenSource
Kernel Special Features: Stability, latest kernel sources
Version Information
Status: Testing
Created 2019-11-22
Last Updated 2020-02-01

DOWNLOAD LINK FOR GITHUB RELEASES
Due to different kernel base, older releases are irrelevant from now on.
UPDATE: I added a link for MIUI Q firmware package in the OP. Check it out and remember to flash it first before flashing my kernel. Thanks.
-------------------------------CHANGELOG------------------------------
Jelly Kernel Alpha 1.1.1 Hotfix
ALSA: pcm: Add missing copy ops check before clearing buffer (bootloop after voip videocall should be gone now)
-----------------------------------------------------------------------------------------
Jelly Kernel Alpha 1.1 beta release
IMPORTANT INFO! Camera won't work on a lot of ROMs due to imcompatible camera drivers in the kernel. This kernel uses a patch for MIUI Stable 11.0.4 release, which introduced updated camera blobs back in Android Pie. Double check, whether your ROM uses these blobs. MIUI Q uses different blobs, thus won't work until Xiaomi releases it's kernel source code.
If this kernel is not booting for you (going straight to fastboot mode), you need to use MIUI Q firmware package.
Changelog:
*Bringup for Clang 10 and it's now compiled with Clang 10
*Using LZ4 compression for zRAM
*Forcefully load modules (this should fix Wi-Fi problems on various ROMs)
*Rapid GC for F2FS filesystem
*Added fsync and crc check switches
*kgsl fixes and optimizations included
*Introduce additional NEON accelerated arm64 routines
*cfq io scheduler fixes and optimizations
*Tick rate increased to 300HZ for improved responsiveness
*CPU mask affinity set to 4 cores for improved efficiency
*Enabled F2FS filesystem support with encryption
*F2FS fixes
*Increased slmk's aggression rate to 192MB per app kill
*Enabled Dolby DS2 audio standard
*And more I don't really remember, check commit history for more detailed changes
-----------------------------------------------------------------------------------------
Jelly Kernel Alpha 1.0 beta release (don't use this release, it's deprecated)
*Complete rebase on jasmine's Q tag.
*Linux 4.4.211
*Adrenoboost enabled and set on low parameter
*Workqueques reworked for better responsiveness and lower power consumption
*Small UV for both CPU and GPU
*CPU Bitmasking
*DTB debloat (reduced kernel's footprint)
*LA.UM.8.2.r2-00600-sdm660.0 CAF tag
*Using older Wi-Fi CAF tag for better down/up speeds
And more stuff I don't remember.
-----------------------------------------------------------------------------------------
DISCLAIMER:
-There will be 1-3 kernel builds per week, unless there's nothing I can improve, then builds will be as is.
-Anyone, who has tested it already, give me some feedback in the comments.
-If you get freezes, crashes, restarts, write me up with a attached dmesg, log, anything, that can give me a clue what's wrong. Thanks. Happy JellyKernel'ing ^^

Where is the download link?

Zulwiczek1983 said:
Where is the download link?
Click to expand...
Click to collapse
Use the browser - there's a section DOWNLOADS above the thread. There you will find my kernel build. Cheers.

Zulwiczek1983 said:
Where is the download link?
Click to expand...
Click to collapse
Here, for short: https://forum.xda-developers.com/devdb/project/dl/?id=32079

NEW BUILD IS AVAILABLE NOW!
Check higher posts for download link. Happy flashing!

airidosas252 said:
NEW BUILD IS AVAILABLE NOW!
Check higher posts for download link. Happy flashing!
Click to expand...
Click to collapse
Does it support Kcal? Regards :good:

rubentkato77 said:
Does it support Kcal? Regards :good:
Click to expand...
Click to collapse
Yes it does. Look up using kernel manager.

airidosas252 said:
Yes it does. Look up using kernel manager.
Click to expand...
Click to collapse
Thnk you, will flash to test :good:

Is the any chance to get the turbo frequencies on the GPU?
I read that on some other page I can't remember where, can you please why that supposed frequency is not on the stock kernels, does it take to much energy?

tekkaman7 said:
I read that on some other page I can't remember where, can you please why that supposed frequency is not on the stock kernels, does it take to much energy?
Click to expand...
Click to collapse
I believe Qcom left off this frequency just because CPU is already close to some of their flagship SOCs in terms of CPU performance.
Everything in the source code is left done, you just need to modify a code a bit and you have higher frequency. If you want to go any higher, you would need to modify the code a lot more. Tried it and gave up on that.
It could be anything, really.
Moreover, you don't see too many phones using this exact SOC.
P.S. Funny thing though, this OC feels like placebo effect, like CPU is running faster but it's really not.
Think about it, when sdm660 came out, it was between SD821 and SD835 in terms of CPU performance. GPU is more or less the same as Adreno 430.

Gonna release new kernel build soon.
Still working out some quirks I come up every once in the while.
Stay tuned for news. Good day.

airidosas252 said:
Gonna release new kernel build soon.
Still working out some quirks I come up every once in the while.
Stay tuned for news. Good day.
Click to expand...
Click to collapse
Thanks for your work, we will waiting :good:

NEW KERNEL BUILD AVAILABLE NOW!
As usual, check main page for a download link. Happy flashing!

airidosas252 said:
NEW KERNEL BUILD AVAILABLE NOW!
As usual, check main page for a download link. Happy flashing!
Click to expand...
Click to collapse
thank you, downloading. :good:

Overclocked? Using Evira for now on MIUI 11 Pie, but Evira is outdated..... Can't support Android 10
So, hope can have Overclocked kernel support Android 10

xiaomi.lim said:
Overclocked? Using Evira for now on MIUI 11 Pie, but Evira is outdated..... Can't support Android 10
So, hope can have Overclocked kernel support Android 10
Click to expand...
Click to collapse
Yep, it's overclocked and it's for Android 10.
I've seen people running this with MIUI too.

airidosas252 said:
Yep, it's overclocked and it's for Android 10.
I've seen people running this with MIUI too.
Click to expand...
Click to collapse
Overclocked to ? 2.46GHz?

xiaomi.lim said:
Overclocked to ? 2.46GHz?
Click to expand...
Click to collapse
Yes, but I don't think I'll keep the OC for much longer. I really don't see the benefit of it.
Phone is already really fast and snappy.
I did a build with stock clocks and compared it to the OC one. And here's the surprise - there isn't almost any difference.
I fixed several known issues which bugged me a lot and those seem to remedy all of the problems I had.
Moreover, I hate overbloated kernels with features I don't use. I like being clean and compact.

Hi, the sound control (for speaker, earpiece and headphones) available or do you plan to add it in future? They get pretty handy really. I do appreciate keeping the kernel without much bloat though. : D

Related

[D415/D410] xkernel

Custom lollipop kernel based on LG's stock sources. Currently works on D415/D410/D405 stock lollipop only.
Current Features:
Built with Linaro 4.9 optimized for cortex A7
intelliactive governor-build 2
-O3 optimization-build 2
interactive governor (google's gov.)-Build 3
Enabled OTG Support in menuconfig-Build 4
Patched Kernel source to 3.4.2-Build 4
Patched Kernel Source to 3.4.4 build 5
fixed version number in makefile build 5
Used Optimized version of square root algorithm build 5
Enabled Graphite Optimizations build 5
Other small optimizations build 5
Changed Default Scheduler to ROW-build 7
Changed governor to Interactive-build 7
Enable KSM-build 7
Some small mem leak fixes on gpio-Build 8
KSM now runs once every 50000ms instead of 500ms, but scans 200 pages instead of 100-build 8
Shrink highmem pages on kswapd-build 8 (ROM-Jeremy)
SOC Specific random number generation
Future Features:
New CPU/GPU governors
New I/O schedulers: request in the forum
possible OTG support
further optimization
Cyanogenmod support
Current bugs:
Since there are multiple versions of the D415, some versions might work better with this kernel than others.
If you are using a governor other than ondemand, LG's power saving feature will come mess things up, so turn it off.
Thanks to::
LG for providing kernel sources and updating to lollipop
Velosa for testing for D405
GrinningFerret for helping me download CM sources
ROM-Jeremy (I took some commits from his kernel)
Nikita Pro Android (I took some commits from his kernel)
The developers at the Moto G forum (their device is very similar to ours)
**Download Link**build 8 (stable, stock rom)
D415:
Flashable Zip: http://1drv.ms/1LCNDjG
D410
Coming soon
D405n
http://1drv.ms/1GO41u8
Backup boot and system with recovery first!
Benchmarks:
https://ck96ow.bn1301.livefilestore.com/y2pDhojSmYmWQTVhyatGruyakkXKtH2orgUqQnS-dJixfJJ8PIZ2N9SbX6G8nrBgCSChKp7NwbOreQfM-dRq-93Bf1OtrIJDokZOmsYdVnS40eB6DX79JRnd6xCigKoyJtOGI93 2gwXoMnvo823Z8_CaIwDM3RDRWAe52a_7UyNHgI/xkernel.png?psid=1
https://ck96ow.bn1301.livefilestore.com/y2pWHZ70ZNv9B_riJgHeu_AKkjRni6rFwfZWrQH-pAjRstC0zFXTftRKrGfKtrb4tiaU_rwa2-gn0wkiXFZCyfnq0PILELOKTBHy6mmtSX2zqIRN-h_GBXbpAwe2nlbZ9mUt13ovPP3A25oidPfHfDS1LAJ2YdyK0T8 j1CsytC44GE/stock.png?psid=1
XDA:DevDB Information
xkernel, Kernel for the LG Optimus L90
Contributors
zowpow
Source Code (Github-D415): https://github.com/zowpowow/W7_tmo_us-xkernel
Source Code (Github-D410/D405): https://github.com/zowpowow/android_kernel_lge_msm8226_w7ds
Kernel Special Features:
Version Information
Status: Testing
Created 2015-05-03
Last Updated 2015-05-04
XDA:DevDB Information
[D415/D410/D405n] xkernel, Kernel for the LG Optimus L90
Contributors
zowpow
Source Code: https://github.com/zowpowow/W7_tmo_us-xkernel
Kernel Special Features:
Version Information
Status: Alpha
Created 2015-05-03
Last Updated 2015-06-13
The fact that this has working OTG is actually great news!! Can't wait to see this on custom roms, good job!
ToRt1sher said:
The fact that this has working OTG is actually great news!! Can't wait to see this on custom roms, good job!
Click to expand...
Click to collapse
To clarify, OTG is a planned feature in the future, it has not been implemented yet. However, I think there is a very good chance I can get OTG to work.
zowpow said:
To clarify, OTG is a planned feature in the future, it has not been implemented yet. However, I think there is a very good chance I can get OTG to work.
Click to expand...
Click to collapse
Anyway, that's what i mean. It is really useful sometimes.
It's very nice to see so many people working on L90 projects. It's a great device. Too bad there are so many hardware variants that makes it more difficult. The only thing I miss so far is OTG support. I hope you get it working.
I will gladly test it on D410hn if you need testers.
Sent from my LG-D410hn using XDA Free mobile app
Is there a difference betwee this and the stock kernel ... Sorry for the dumb question
santitasheart said:
Is there a difference betwee this and the stock kernel ... Sorry for the dumb question
Click to expand...
Click to collapse
Currently, the only difference is that it is compiled with Linaro instead of gcc. Linaro is generally considered to be more optimized in than gcc, so theoretically the performance should be a little faster. The next build, which I will upload in a few hours, will include the interactivex governor, and -O3 optimization.
Aweosme thanks for the reply look forward to it
@zowpow
I'd like to test it but... I have d405n.
Only d415 currently
@OP
Was the compilation bugsfree?? For me it gives some errors (some file was missing), but maybe it depends on my custom GCC.
Or maybe it was because i compiled for D405n...
judas1977 said:
@OP
Was the compilation bugsfree?? For me it gives some errors (some file was missing), but maybe it depends on my custom GCC.
Or maybe it was because i compiled for D405n...
Click to expand...
Click to collapse
Do you remember exactly what the errors were?
Sent from my LG-D415 using XDA Free mobile app
Too bad - no. and i deleted all sources.
but i remember that other phones had the same errors
Edit: still don't remember the errors, but it was the fix for it (on xiaomi phones), but on our device it only lead to next errors:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/issues/3
Sorry for taking so long with the new build. But here it is (in the OP). If you test the new intelliactive governor, please play w/ the parameters and report back with the best parameters for the governor. Also, install custom recovery and back up /boot! Next builds will probably include more governors, new optimizations. I might try to add d410/d405 support in a few weeks when there are more features.
Build 3 uploaded
Build 3 uploaded. This build has the interactive governor. Make sure to backup /boot with recovery first! Also, if you plan on testing the intelliactive governor, play with some of the parameters and post the ones you find best. Flash these with RASHR or Flashify.
Also, interactive governor has much better battery life from my testing. I don't know about intelliactive though.
Do u plan on over clocking ?
Sure, I'll try to include that in my next build. The next build probably won't be ready until the Sunday though.
No rush man I'm just glad someone is making a kernel I would love to see what a little overclock can do on this phone
Just to let everyone here know, the msm8226 chipset has been hard locked to using stock frequencies. So even though it will say it is operating at an overclocked speed, multiple benchmark's proved it does absolutely nothing to performance. Until someone can figure out how to fix this issue, it's pointless for now. Just a heads up to the dev, and users
Sent from my LG-D415 using XDA Free mobile app

gpl | abyss kernel 5.20 | cm-14.x/cm-13.x

Hi falcon people!
This is my modified kernel with some kernel optimizations and some compiler optimizations.
The goal of abyss is to achieve improved performance/battery without the cost of stability.
I will not be overhauling this project with changes that are not logical to add.
This kernel should work on the latest 7.x.x (and maybe 6.x.x) roms like CyanogenMod and any other AOSP based rom.
How does one achieve this?
- build kernel with an optimized toolchain
- use compiler optimization flags (experimental)
- remove redundant code
- improve existing code with more efficient code
- reduce/increase speed of timers (depends on what type of function)
- etc. (most are not easy to explain)
Built with Linaro GCC 4.9 optimized for Cortex A7 with vfpv4 technology
Is there actually a performance improvement?
With all the changes added up, there should be. Whether or not one notices the difference is another thing.
Personally, I do feel the performance difference. It is easier to notice the difference with lower level specs like ours.
For those interested in how the kernel optimizations will benefit/work, please look at my github source and read the commit messages.
For those interested in how the compiler optimizations/hacks will benefit/work, please look at this article.
Downloads:
Discontinued
Source:
GitHub
Asking for ETA's won't be necessary because I use this kernel as my daily driver.
I do not mind if there's some non-development/off-topic discussion here, just no discussion about other works that is nowhere near related to mine.
Also, please refrain from comparing works here; it really kills the spirit of development. Go do that in some other thread.
XDA:DevDB Information
abyss kernel for aosp roms, Kernel for the Moto G
Contributors
YoshiShaPow, arter97, flar2, Christopher83, Cl3Kener, frap129
Source Code: [url]https://github.com/abyss-kernels/falcon[/URL]
Kernel Special Features: MAJOR KEY
Version Information
Status: Nightly
Created 2016-05-10
Last Updated 2016-12-18
Don't like the defaults?
Use Kernel Adiutor to change the settings!
Frequently Asked Questions:
Is this a custom kernel?
I was asked this question once, and it posed as a real good question. I do not consider abyss to be a "custom kernel" per se, but more so as a modified kernel. The patches and features that go into this kernel do not make it customizable. What they do is improve what has already been implemented. It is like swapping a car's engine for a better one rather than just adding LED flooring lights and fancy car mats.
Can you add [this] and [that] feature to abyss?
Something I pride myself with this kernel is that it does not have a bunch of random, useless features or patches mashed into it. Everything put into this kernel is thought out well and tested. I see a lot of works being made popular because it has [this] and [that] feature when really, it's nothing revolutionary. As a matter of fact, most things added to any kernel will not make it 5x better than any other kernel. Most of the time, simple is better; and in this case it definitely is!
Main Patches and Features:
- intelliplug (default hotplug)
- intelliactive governor
- KCAL Control Driver
- kexec hardboot patch for Multirom
- USB Force Fast Charge patch
- Abyss Optimizations (compiler)
- disabled debugging for more performance throughout
- lots of patches for better performance here and there... too many to list
How to install:
Download kernel from Basketbuild
Boot into TWRP recovery
(If you're coming from a different kernel, dirty flash current ROM)
Flash kernel zip
Reboot
Nice job bro ! [emoji3]
Thank you for this awesome kernel [emoji6]
Sent from my Moto G using XDA-Developers mobile app
this work with both cm and aosp or aosp only
zydes said:
this work with both cm and aosp or aosp only
Click to expand...
Click to collapse
It will work on any 6.x.x AOSP based rom (CyanogenMod included). The only roms it will not work with to my knowledge are Omni and SlimSaber.
edit: turns out it works with them
nx rom based cm work?
Can you add OC made be @h2o64 ? Really is a the difference if you do the benchmarks and in real life just a little so is true OC..
zydes said:
nx rom based cm work?
Click to expand...
Click to collapse
Yes, most likely.
Eurofighter_ty said:
Can you add OC made be @h2o64 ? Really is a the difference if you do the benchmarks and in real life just a little so is true OC..
Click to expand...
Click to collapse
I will look into it.
YoshiShaPow said:
It will work on any 6.x.x AOSP based rom (CyanogenMod included). The only roms it will not work with to my knowledge are Omni and SlimSaber.
Click to expand...
Click to collapse
Works just fine with Omni so far, SlimSaber would probably work also. Nice to see another kernel for us from you, Thanks!
amarc78 said:
Works just fine with Omni so far, SlimSaber would probably work also. Nice to see another kernel for us from you, Thanks!
Click to expand...
Click to collapse
Updated the OP and my earlier post. Thanks for testing
Thanks ? this kernel work perfeft
Sent from my Moto G using XDA-Developers mobile app
Carlos Arriaga said:
Thanks this kernel work perfeft
Sent from my Moto G using XDA-Developers mobile app
Click to expand...
Click to collapse
in androidfilehost you have kernel for falcon or condor carlosarinaga
zydes said:
in androidfilehost you have kernel for falcon or condor carlosarinaga
Click to expand...
Click to collapse
Perfect example of OT that development threads should not have. No more of these type of posts^ please.
YoshiShaPow said:
Perfect example of OT that development threads should not have. No more of these type of posts^ please.
Click to expand...
Click to collapse
soory for my post
can u add feature underclock for yuor kernel
zydes said:
soory for my post
can u add feature underclock for yuor kernel
Click to expand...
Click to collapse
Sorry, I won't be adding underclocking to this kernel. There really isn't much of a need for underclocking a phone. In the long run, battery consumption will not be changed, maybe only at the slightest.
Also, the more frequencies added, the slower a CPU governor works. Most governors run calculations based on cpu load, checking whether or not it needs to move up or down a frequency step. By adding more steps, the cpu will throttle slower.
Just updated the kernel with frandom support. Also added some ramdisk modifications to support it.
More entropy == better performance.
egg-caf-falcon-nightly-20160513.zip
Battery backup is good...give a try
It's great to see feedback from the users. New build with modified values; it should improve multitasking performance.
egg-caf-falcon-nightly-20160515.zip
navaneethkom said:
Battery backup is good...give a try
Click to expand...
Click to collapse
Yes, the battery is great, 18 hours standby and i get almost 4h sot, left with 52% right now. Anybody looking for great battery should go for it.

[KERNEL][E6653/E6683][UBER] PixN Kernel For AOSP

PixN Kernel​So this is the only custom kernel currently available. It's got a custom hotplugging solution and built-in exfat support. The camera fixes are iffy at 2.99b, works in 2.99
This is best used with my custom rom, here, but will work with any AOSP N based rom.
Maybe it'll work on CM devices too but I'm not sure. You may lose recovery on flashing this. Don't panic, just flash Zach's TWRP recovery after the kernel.
Eventually this will see many optimizations.
Built with the regular 4.9 toolchain. (Uber from 3.2)
About the screen dimmer:
You can echo 0 to disable and echo 1 to enable it via the sys path /sys/module/mdss_fb/parameters/backlight_dimmer
Click to expand...
Click to collapse
Or just use ExKernel Manager.
Downloads
In the DevDB Downloads tab. Since for some odd reason DevDB is giving me 410 when I tried to upload the newest kernel, it's uploaded as a 7z file. Extract it and flash/profit.
DevDB is down right now so the latest release is hosted on MEGA (from version 3.4)
The link to the folder is here
Changelogs
Release 1
Initial Release
Added (off by default) brightness dimmer.
Several tweaks for memory management/performance
Some commits for camera management, may or may not help.
Release 2
Interim Release
Added sdcardfs (test exfat behavior?)
Elementalx Governor
Row i/o scheduler
Westwood TCP Congestion Algorithm
Release 2.99
Beta Release
Fixed Camera
Bluetooth temporarily broken
Memory, touch input fixes
Fixed a rare random reboot
Fixed the ipa wakelock and some others
Release 2.99b
Beta Release
Bluetooth still temporarily broken (Will be broken on all 2.99, wait for 3.)
Added the impulse, intelliactive and intellidemand governors
Added proper powersuspend
Also added the Alucard Hotplug
NATIVE EXFAT SUPPORT! (Forgot to enable, sorry)
Release 2.99b1
This is a MAJOR release, but the bluetooth isn't working so still 2.99. Everyone should please use this one for battery and performance. Can't comment on the camera.
Beta Release + Super Stable Battery
Bluetooth still temporarily broken (Will be broken on all 2.99, wait for 3.)
Massive zswap and zram improvements
Fsync on/off support
Frandom
Faster Boot
Adreno Idler
Overclocking
NATIVE EXFAT SUPPORT!
Release 2.99b1b
This is a bugfix release.
Fixed slow charging.
Release 3.1b
This is a major release.
Added color control.
Fully tickless.
Bunch of other stuff.
FIXED BLUETOOTH!!
Rebuilt kernel for single sims with an older config to hopefully fix the SD Card (Needs testing)
Release 3.1b
This is a major release.
Built with Uber.
Also with Clang optimizations.
Rebase config to stock to fix bugs.
Added CPUQuiet.
Release 3.3
This is a major release.
Built with Uber 6.
Bunch of optimizations.
Added Nightmare, Darkness, Chill governors.
Added Alucard Boost.
Also added the Thunderplug Hotplug.
There's a new fiops interactive i/o scheduler.
A lot of wakelocks have been exposed but don't disable them and start filing bug reports, they're as per user discretion.
Release 3.4
This is a major release.
Fixed the Optimizations
More Wakelocks
Updated sources to reflect latest upstream additions
Might have fixed Bluetooth disconnects
Release 3.4
This is a major release. Go for it. It's on DevDB
Lots of Optimizations
Uses Power Efficient Workqueues
Added ARM64 cpuidle
Fixed Zen_interactive
XDA:DevDB Information
PixN Kernel, Kernel for the Sony Xperia Z5
Contributors
HaoZeke
Source Code: http://github.com/HaoZeke/kernel
Kernel Special Features: Camera, Dimmer, Sdcardfs, Overclock, Adreno Idler, Frandom, exFAT
Version Information
Status: Beta
Current Stable Version: 3.3
Stable Release Date: 2016-12-25
Current Beta Version: 3.5
Beta Release Date: 2017-01-12
Created 2016-11-16
Last Updated 2017-01-11
The e6653 kernel will be uploaded in a few hours...
HaoZeke said:
The e6653 kernel will be uploaded in a few hours...
Click to expand...
Click to collapse
Couldv you add exfat support?
albertobom said:
Couldv you add exfat support?
Click to expand...
Click to collapse
Sure, but I think that also needs the rom to specifically add the module too..
(I'll add that to the linked rom)
@HaoZeke, I have been using your rom for almost 2 days now. It is much similar to the other AOSP Nougat. In both the cases, the battery drains fast. Does not even last half a day. The UI is not very smooth. The touch also needs some work on it.
ganeshbiyer said:
@HaoZeke, I have been using your rom for almost 2 days now. It is much similar to the other AOSP Nougat. In both the cases, the battery drains fast. Does not even last half a day. The UI is not very smooth. The touch also needs some work on it.
Click to expand...
Click to collapse
Ok... Did you try the new kernel? The latest version (coming) has elementalx as the governor (enable by kernel auditor mod)..
My battery seems to do ok with the suggestions in the op...
Touch seems ok too.. Actually I build multiple times a day, it's possible an issue sneaked in.
The main reason for this rom is basically the native substratum support..
Does your substratum app show substratum or substratum legacy? In the uploaded release 1 for e6653 there was a small bug which was fixed for 1.1
EDIT:- I'm grateful for the feedback but this thread is for the kernel and related issues... Please post in the right thread...
HaoZeke said:
Ok... Did you try the new kernel? The latest version (coming) has elementalx as the governor (enable by kernel auditor mod)..
My battery seems to do ok with the suggestions in the op...
Touch seems ok too.. Actually I build multiple times a day, it's possible an issue sneaked in.
The main reason for this rom is basically the native substratum support..
Does your substratum app show substratum or substratum legacy? In the uploaded release 1 for e6653 there was a small bug which was fixed for 1.1
EDIT:- I'm grateful for the feedback but this thread is for the kernel and related issues... Please post in the right thread...
Click to expand...
Click to collapse
Sorry for posting in the wrong section. I recognized this after posting, so left it at that.
I am contnuing this in the right section.
Latest version uploaded for both variants. Extract the 7z and fastboot (or twrp) flash the kernels. This release fixes camera issues.
Could e6653 users with sdcard issues please test this kernel?
albertobom said:
Couldv you add exfat support?
Click to expand...
Click to collapse
Added exFAT support...
HaoZeke said:
Added exFAT support...
Click to expand...
Click to collapse
I will wait for a full flashable zip file with your amazing rom and kernel.
Keep up the amazing work.
albertobom said:
I will wait for a full flashable zip file with your amazing rom and kernel.
Keep up the amazing work.
Click to expand...
Click to collapse
Actually a full flashable version isn't currently a priority, since actually the system.img is a bit large to be zipped (cuz of the addition of gapps).
Eventually I'll start zipping the kernels, but again, not a priority..
It should be easy enough to set up.
First download the latest system.img from the ROM thread.
Then get the latest kernel here. (or whichever feature-set you want)
Also grab the recovery.
Put the phone in bootloader mode.
fastboot flash boot boot.img (or whatever the kernel is called)
fastboot flash recovery recovery.img
fastboot flash system system.img
Hey the latest build is up for anyone interested... This might be the last release for a while...
I feel like it's significantly improved... The camera needs work and some other bugs...
Battery life is around 1-1.5% idle.
Testers please post feedback.
@HaoZeke i flash the rom yesterday and the kernel. For me everything was working fine except the camera, whis is upside down. I like the rom, very smooth, i cant tel the battery cause i have 12 hs with it. The kernel you put for test for me is working fine. This kernel will work on CM?
Zaisesl said:
@HaoZeke i flash the rom yesterday and the kernel. For me everything was working fine except the camera, whis is upside down. I like the rom, very smooth, i cant tel the battery cause i have 12 hs with it. The kernel you put for test for me is working fine. This kernel will work on CM?
Click to expand...
Click to collapse
Excellent, I'm glad the test kernel is working, could you try 2.99b1? That has many battery and performance fixes, the older kernels were giving me around 2-3% battery usage per hour, with the new one it's 1-1.5%..
CM I'm not sure, it should maybe work with cm-14.0 but cm-14.0 has been depreciated in favor of cm-14.1 ...
I don't know if there is a cm14.0 for the Z5..
By the way, if I may ask, why are you interested in CM ? Any particular feature?
I ported substratum on AOSP since the cyanogen theme engine wasn't ready for nougat...
So I was wondering if there was anything else people particularly wanted...
HaoZeke said:
Excellent, I'm glad the test kernel is working, could you try 2.99b1? That has many battery and performance fixes, the older kernels were giving me around 2-3% battery usage per hour, with the new one it's 1-1.5%..
CM I'm not sure, it should maybe work with cm-14.0 but cm-14.0 has been depreciated in favor of cm-14.1 ...
I don't know if there is a cm14.0 for the Z5..
By the way, if I may ask, why are you interested in CM ? Any particular feature?
I ported substratum on AOSP since the cyanogen theme engine wasn't ready for nougat...
So I was wondering if there was anything else people particularly wanted...
Click to expand...
Click to collapse
I will give a try tonight. I line cm cause allways works very good for me. Mm.. I like you dont need to flash supersu to get root. But with your rom and cm. There is no diference. Just cm is 7.1 and yours 7.0. I really like both, the only thing i dont like and more useful for me are camera and fingerprint, which both arent working. I will test the new kernel and will tell you in a few hours. Thanks!
Zaisesl said:
I will give a try tonight. I line cm cause allways works very good for me. Mm.. I like you dont need to flash supersu to get root. But with your rom and cm. There is no diference. Just cm is 7.1 and yours 7.0. I really like both, the only thing i dont like and more useful for me are camera and fingerprint, which both arent working. I will test the new kernel and will tell you in a few hours. Thanks!
Click to expand...
Click to collapse
I'm glad the rom is working well... Actually hold off the kernel, in a short while I'll upload another (really the last for a few days)
Actually the sony sources for 7.1 aren't ready since sony uses 3.18 as a Linux kernel base...
The integrated su I was planning to add for the next rom release..
I used to be a huge cm fan but recently I feel cm has left supporting sony phones.. So.. I switched to aosp
HaoZeke said:
I'm glad the rom is working well... Actually hold off the kernel, in a short while I'll upload another (really the last for a few days)
Actually the sony sources for 7.1 aren't ready since sony uses 3.18 as a Linux kernel base...
The integrated su I was planning to add for the next rom release..
I used to be a huge cm fan but recently I feel cm has left supporting sony phones.. So.. I switched to aosp
Click to expand...
Click to collapse
Yes, al cm roms are unofficial. I like aosp and cm cause the battery was allways better. But i do love stock for the camera, fingerprint and stability. And im allways changing roms. I like your aosp rom. For now is very stable. When can i try the kernel i will tell you. Thank!
Camera fix out.
New release fixing the charging.

[WIP] Crimson Kernel [EAS] [8.1.0/9.0]

Hi everyone
As title shows, this is a WIP project
(I don't own the device, all builds are blind!)
What is EAS?
Energy Aware Scheduling (EAS) is an enhancement to Linux power management, unifying CPU power control under the Linux kernel. EAS extends the Linux kernel scheduler to make it fully aware of the power/performance capabilities of the CPUs in the system, to optimize energy consumption for advanced multi-core SoCs including big.LITTLE. With EAS, the Linux kernel will use the task load and a CPU ‘Energy Model’ to control task placement to select the optimal CPU to run on.
Google thinks, EAS is the way to go for the future. With this kernel you can get pixel (2) experience even before the pixel (2) is released.
Interesting links for further research:
https://www.xda-developers.com/google-pixel-fastest-android-phone-eas/
https://developer.arm.com/open-source/energy-aware-scheduling
Features
- Full EAS 1.3 implementation (based on EAS Project and LineageOS official kernel)
- Works on HMP ROMS too (you need to use sched/schedutil, HMP stuff are removed from kernel, otherwise you'll face freqs stuck at 100%)
- STune Boost for better battery and performance
- F2FS supported
- Tweaks and changes under the hood
Feel free to try and report your feedback (and logs too)
Download here
Installation
- Reboot to TWRP
- Backup your current boot.img
- Flash the kernel
- Reboot!
Sources here
Credits
@OrdenKrieger
@jcadduono
@joshuous (EAS Project)
And everyone worked for this device and LineageOS bring-up
Changelog
04/11
- Initial release
07/11
- Completely rebased over the latest CAF Oreo Tag (LA.UM.6.6, it *should* work on Pie, but not guaranteed!)
- 3.18.124
- Completely re-done EAS
- New LMK for better RAM managment
- Android upstream for AIO (check if MTP works better or worse than before)
- Better battery and performance
EAS - Energy Aware Scheduling
WIP - Work in Progress
HMP - Heterogeneous Multi-Processing
HAL - Hardware abstraction layer
Do you plan to update the kernel on a regular base?
sklaes said:
EAS - Energy Aware Scheduling
WIP - Work in Progress
HMP - Heterogeneous Multi-Processing
HAL - Hardware abstraction layer
Do you plan to update the kernel on a regular base?
Click to expand...
Click to collapse
When there are major changes to be applied - then yes
Otherwise makes no sense to push update with little to no changes at all
You tested it?
Currently testing it on LOS16. Boots just fine, I'm charging the phone to 100% now to give it a go and I'll be back with some feedback tomorrow. So far everything I've tested works fine.
Not jet, but EAS sounds interesting
Update: installed - currently testing
@sys01: You've said that it works on ROMs based on LineageOS. But does it work on ROMs that are based on AOSP? Is F2FS supported for data and cache partitions?
Thanks!
---------- Post added at 07:47 AM ---------- Previous post was at 07:46 AM ----------
[/COLOR @sys01: You've said that it works on ROMs based on LineageOS. But does it work on ROMs that are based on AOSP? Is F2FS supported for data and cache partitions?
Thanks!
i use this now on dotos oreo with f2fs data.But on interactive the cpu freq stays on max,whatsup with this?
@Predatorhaze: So, you say this kernel works with F2FS data on DotOS Oreo? I literally just tried that a few days ago, but with Hellsgate/Schwifty kernels, no go. But maybe I'll try again now. Thanks for the heads up!
Predatorhaze said:
i use this now on dotos oreo with f2fs data.But on interactive the cpu freq stays on max,whatsup with this?
Click to expand...
Click to collapse
This is an EAS kernel, you need to use sched/schedutil (interactive gov won't work anymore)
AnonVendetta said:
@sys01: You've said that it works on ROMs based on LineageOS. But does it work on ROMs that are based on AOSP? Is F2FS supported for data and cache partitions?
Thanks!
---------- Post added at 07:47 AM ---------- Previous post was at 07:46 AM ----------
[/COLOR @sys01: You've said that it works on ROMs based on LineageOS. But does it work on ROMs that are based on AOSP? Is F2FS supported for data and cache partitions?
Thanks!
Click to expand...
Click to collapse
F2FS is supported, I'll update the thread to explain that better
AnonVendetta said:
@Predatorhaze: So, you say this kernel works with F2FS data on DotOS Oreo? I literally just tried that a few days ago, but with Hellsgate/Schwifty kernels, no go. But maybe I'll try again now. Thanks for the heads up!
Click to expand...
Click to collapse
i have data in f2fs,and yes it boots and everything works till now.
Only is that dolby atmos dont work anymore,dont know why.On previous build with ext4 it worked.
I was confused because the freq on interactive,but already read a answer and that is due its eas kernel.
good we have eas now,i use helix engine also
if anyone got a working dolby atmos,pls let me know
sys01 said:
This is an EAS kernel, you need to use sched/schedutil (interactive gov won't work anymore)
Click to expand...
Click to collapse
ok.untill now everything seems stable.
can you set schedutil as default on next update? and you think about adding kcal feature (saturations etc) and some wakeblocks?
running on dotos 2.5 oreo,magisk 17.3,crimson kernel,f2fs data partition and los universal v2 bootstack
an update to the current lineage OS kernel would be great since September has changed a lot on the go kernel
Your kernel works with AOSP Basis Rom
(have your kernel briefly tested with the havoc 2.0 Rom)
Running this right now on LOS 15, for the entire day, without any issues that I can see. :good:
Used EX Kernel Manager to set governors.
The kernel runs pretty well on Pie, but I think it's pretty aggressively throttled. Once the temp gets to 40°C the LITTLE cores get set to 960 MHz and the big cores to around the same. It's also kind of sluggish when the phone is taken out of deep sleep, and scrolling isn't that great. However, deep sleep works wonders. The discharge rate with screen off is ~0.3% per hour.
Oh, and it may just be me, but playing audio thtough the speakers makes the phone temp get pretty high, which again makes it get throttled and really slow.
Gases said:
The kernel runs pretty well on Pie, but I think it's pretty aggressively throttled. Once the temp gets to 40°C the LITTLE cores get set to 960 MHz and the big cores to around the same. It's also kind of sluggish when the phone is taken out of deep sleep, and scrolling isn't that great. However, deep sleep works wonders. The discharge rate with screen off is ~0.3% per hour.
Oh, and it may just be me, but playing audio thtough the speakers makes the phone temp get pretty high, which again makes it get throttled and really slow.
Click to expand...
Click to collapse
New version coming soon, hopefully this time around should be way more smooth and stable
Also, EAS takes time to make it perfect, but soon or later it will!
Thank you for your work. This kernel is great and really shows the benefits of EAS on an older SOC like the S820. Sure, it needs polishing, but it's a great start
sys01 said:
New version coming soon, hopefully this time around should be way more smooth and stable
Also, EAS takes time to make it perfect, but soon or later it will!
Click to expand...
Click to collapse
For sure, not complaining at all! Just wanted to give some honest feedback in case you wanted to keep tweaking it
sys01 said:
New version coming soon, hopefully this time around should be way more smooth and stable
Also, EAS takes time to make it perfect, but soon or later it will!
Click to expand...
Click to collapse
Thank you very much! Great work

[9.0/8.1] Baddar Kernel [GCC 10.0][CAF+Linux Stable][Update : 11/7/2019]

Introduction
Hi everyone, after building the updated los kernel I decided to build a fully custom kernel for our device. So why call it "baddar" ? it was the first name I used for the kernel and its my family name so I kept using it .
in this kernel I'm following these rules :
Security. Always updated to latest available stable Linux & CAF patches.
Stability. Tested first by myself and with many other users before posting it here.
Smoothness. Smooth navigation is must, I hate lag.
Balanced. Performance and battery must be balanced.
Features
Fully based on CAF 3.18 kernel source with latest Linux-stable merged in.
Always updated to latest drivers i.e WiFi, sdfat, etc
Built using latest GCC 9.1.1.
Custom features are heavily based on Franco work.
Vibration intensity control.
Wakelock blocker enabled by default with user control (boeffla wakelock blocker).
Fsync control.
USB fast charge up to 900mA.
Westwood TCP enabled and used by default.
zRAM optimization. (Disabled by default)
Fingerprint boost. Slightly increase the unlock speed and make it respond faster.
Interactive governor tweaks and optimization.
Kcal support.
VR & low persistence support (WIP).
50% battery bug fix.
CAD project support.
Common android kernel fixes and optimization.
Wireguard Support
and many more.
Future plans
Adding more governors & I/O that favor performance / battery when needed.
Attempt to fully fix low persistence issue in daydream.
Making the kernel better after every release.
Telegram Group
Want to test latest betas? feature request? a suggestion ? or report your issue , join my kernel group , I'm much more active there and the group community there is the best.
Join Here
Kernel Version : RC1.2
Linux kernel version : 3.18.140
CAF tag : LA.UM.7.5.r1-05300-8x96.0
last update : 11/7/2019
TREBLE ONLY
Kernel Source
Downloads
Here
Credits
@Unjustified Dev
@OrdenKrieger
@nathanchance
@franciscofranco
@deega
@SaintZ93
All telegram testers who without them this kernel would not possible , Huge thanks to them
reserved for future use (FAQ & Changelog)
Changelog :
Update RC1.2
New in this update :
Merge latest CAF updates for both kernel and wifi (LA.UM.7.5.r1-05300).
Merge latest linux stable updates 3.18.140.
Merge latest aosp msm updates (up to 3 of july)
Add input boost again (disabled by default), enable it for extra performance using EXM or similar apps.
Remove Wireguard (temporary)
Compiled with GCC 10.
thank you, i will try it.
Edit: It works amazing! phone is much cooler than before but remained snappy performance. Awesome!
Great work baddar,thank you! My axon 7 has great performance and battery life again with the new os systems
Testing it right now
Does this kernel support DriveDroid? That's a feature I have been missing for a long time.
SkaboXD said:
thank you, i will try it.
Edit: It works amazing! phone is much cooler than before but remained snappy performance. Awesome!
Click to expand...
Click to collapse
Yep , very smooth and fast without any warm up during normal usage , any improvement in battery life ?
Predatorhaze said:
Great work baddar,thank you! My axon 7 has great performance and battery life again with the new os systems
Click to expand...
Click to collapse
you are welcome , enjoy it.
Fuilares said:
Testing it right now
Click to expand...
Click to collapse
how was your test ?
Kingo64 said:
Does this kernel support DriveDroid? That's a feature I have been missing for a long time.
Click to expand...
Click to collapse
Don't know what is this so I would say no.
@king1990 I went back to stock because aex and other custom ROMs i tried have delay when opening apps and it's very annoying. it open apps significantly slower than stock ROM. I set animations same as stock rom, 0.5x,0.5x and 1.0x. I can disable animations but it will look stuttery. Kernel is good, no question, but it wasn't enough for me to stay on custom rom.
With the current corruption happening on 5.x with GCC9, you're brave to use it. I would wait to know more about the issue first.
SkaboXD said:
@king1990 I went back to stock because aex and other custom ROMs i tried have delay when opening apps and it's very annoying. it open apps significantly slower than stock ROM. I set animations same as stock rom, 0.5x,0.5x and 1.0x. I can disable animations but it will look stuttery. Kernel is good, no question, but it wasn't enough for me to stay on custom rom.
Click to expand...
Click to collapse
No problem here and none of the users who tested the kernel reported that.
geearf said:
With the current corruption happening on 5.x with GCC9, you're brave to use it. I would wait to know more about the issue first.
Click to expand...
Click to collapse
what issue you mean ?
king1990 said:
what issue you mean ?
Click to expand...
Click to collapse
https://bugzilla.kernel.org/show_bug.cgi?id=203573
geearf said:
https://bugzilla.kernel.org/show_bug.cgi?id=203573
Click to expand...
Click to collapse
how is this related to android ?
king1990 said:
how is this related to android ?
Click to expand...
Click to collapse
It's the same kernel and the same compiler.
The corruption may only be limited to bcache, but maybe not.
geearf said:
It's the same kernel and the same compiler.
The corruption may only be limited to bcache, but maybe not.
Click to expand...
Click to collapse
We are using 3.18 kernel and a CAF one so nothing to worry about.
THis should work on RR6 right? I have vendor also but RR6 does not use it if I am remembering correct. anyway I am not getting a boot with RR 6 and I cant figure out why. I was on hellsgate before and i just went back and its booting again. Any ideas Maybe I cant simply flash over hellsgate, annoying.
madhits45 said:
THis should work on RR6 right? I have vendor also but RR6 does not use it if I am remembering correct. anyway I am not getting a boot with RR 6 and I cant figure out why. I was on hellsgate before and i just went back and its booting again. Any ideas Maybe I cant simply flash over hellsgate, annoying.
Click to expand...
Click to collapse
yeah if you get any ROM to boot then you can use my kernel and flash it over any other kenerl
king1990 said:
Yep , very smooth and fast without any warm up during normal usage , any improvement in battery life ?
you are welcome , enjoy it.
how was your test ?
Don't know what is this so I would say no.
Click to expand...
Click to collapse
So after few days I must say, that I got much better performance, but comparing to Hellsgate Reborn kernel battery life is worse.
Fuilares said:
So after few days I must say, that I got much better performance, but comparing to Hellsgate Reborn kernel battery life is worse.
Click to expand...
Click to collapse
well you can't get this performance for free but I doubt the hit in battery life is big.
king1990 said:
yeah if you get any ROM to boot then you can use my kernel and flash it over any other kenerl
Click to expand...
Click to collapse
Ok so any tricks to getting it to boot after flashing over hellsgate?
---------- Post added at 06:25 PM ---------- Previous post was at 06:24 PM ----------
Fuilares said:
So after few days I must say, that I got much better performance, but comparing to Hellsgate Reborn kernel battery life is worse.
Click to expand...
Click to collapse
How did you flash over hellsgate, I could not get it to boot. I cleared cache and no dice, anything else you did?
madhits45 said:
Ok so any tricks to getting it to boot after flashing over hellsgate?
---------- Post added at 06:25 PM ---------- Previous post was at 06:24 PM ----------
How did you flash over hellsgate, I could not get it to boot. I cleared cache and no dice, anything else you did?
Click to expand...
Click to collapse
it does not boot ? which RR are you trying and what vendor ?

Categories

Resources