[KERNEL][CM BASED] Falcon Kernel 1.3 [OC to 2.5][32GB 2.15GHz] - Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev

Introduction
Falcon Kernel is a project of mine to bring improvements to the Mi 5 from Xiaomi, but without overloading it with buzzwords and bloat.
Click to expand...
Click to collapse
PLEASE KEEP DISCUSSION OF THIS KERNEL/RELATED QUESTIONS (E.G. CAN YOU/DOES IT SUPPORT X KERNEL) OUT OF THE OFFICIAL CM13 THREAD
Standard disclaimer
#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.
*/
Click to expand...
Click to collapse
Installation instructions
This Kernel is for all Mi5 devices AKA "gemini" including 64GB, 128GB.
This is built using the CyanogenMod 13 kernel source as base,
1.4.1 and below is only compatible with ROMs built with the MIUI7.x firmware blobs
2.0 and up are built using the new kernel base and are compatible with MIUI8.x firmware blobs (CM13 11/12 nightly+)
Flash via TWRP recovery
Click to expand...
Click to collapse
Features
- ZEN, FIOPS, SIO I/O governor
- blu_active CPU governor
- Increased charging speed
- Dynamic fsync 2.0
- fsync on/off toggle
- KCAL screen colour control
- Vibration motor control
- Improved boot time
- Cache & swap improvements for Mi5
- Touchboost control
- msm8996 lite/32GB @ 2.15GHz/1.59GHz frequency unlock
- ARM big up to 2.5GHz
- ARM LITTLE up to 1.86GHz
Click to expand...
Click to collapse
Bugs
Bugs present in current CM kernel
-Ambient display (resolved in 1.2.1 - thanks @bgcngm)
-Extremely low performance when below 5% battery - ("fixed" in 1.3.2 by disabling BCL driver, see changelog)
When reporting a bug. Please provide a logcat+dmesg. If reporting a crash, a last kmesg
Click to expand...
Click to collapse
Download link
Legacy Kernel for MIUI7.x Firmware blobs:
Release: 1.4.1
Changelog:
- Reverse aggressive UV pending more testing
- Add overclocking frequencies up to 2.5GHz (big)/1.86GHz (LITTLE)
- Fix voltage tables not working properly (causing crashes on 1.4)
Android 6.0.1:
Release: 2.0
Changelog:
- Updated for new kernel base
- Features found on previous releases
- 32GB GPU @ 624MHz
- No 32GB CPU OC for now due to changes breaking compatibility
Android 7.1:
Release: 1.0
Changelog:
- Updated for new kernel base
- Initial release for Nougat
- Features found on 6.0.1 releases
- 32GB GPU @ 624MHz
- No 32GB CPU OC for now due to changes breaking compatibility
Click to expand...
Click to collapse
Credits
bgcngm, h2o64 and defer for their work on the msm8996 kernel base for our device
Click to expand...
Click to collapse
XDA:DevDB Information
Falcon Kernel, Kernel for the Xiaomi Mi 5
Contributors
Harrynowl, bgcngm, CyanogenMod, flar2, eng.stk, franco, faux123, h2o64
Source Code: https://github.com/harrynowl/falconkernel-gemini
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 2.0
Beta Release Date: 2016-12-06
Created 2016-10-17
Last Updated 2016-12-06

Reserved
Building Falcon Kernel
If you'd like to build Falcon Kernel for yourself you can do so very easily.
You will need a Linux build environment setup. I won't include this but you can read Google's instructions here.
Getting the source
Visit Falcon Kernel kit repo over at: https://github.com/harrynowl/falcon_gemini_2.0
Create a fork of this repository that you can maintain for yourself by pressing the fork button towards the top right.
Now you will need to create a local copy of Falcon Kernel on your build environment. On github click the green clone button to get the clone URL.
Open the terminal and type:
git clone <clone url> -b <branch> <dir>
e.g.
Code:
git clone https://github.com/harrynowl/falcon_gemini_2.0.git -b Nougat mykernel
Now cd into the directory you just cloned the kernel into
Code:
cd mykernel
Building the kernel
Falcon Kernel source code contains two fairly basic scripts to download the toolchain and also run a build.
Start by typing
Code:
./toolchain.sh
When that is done, I'd suggest running through a build to make sure everything is OK.
Code:
./build.sh
Changing the kernel
You can start by changing the Kernel name. Navigate to falcon_gemini_defconfig in arch/arm64/configs and change CONFIG_LOCALVERSION="<name>" to whatever you would like to call the Kernel.
You can now look through other kernel commits and see features you want, and cherry pick their changes.
You can update your changes to github by commiting with git commit and then git push.
This isn't the be-all and end-all of Kernel building, but it's a start.

#There You Go

Harrynowl said:
[...]
Click to expand...
Click to collapse
I'm sorry, I'm not going to use this because I own a 64GB Mi 5, but I didn't understand one thing: this kernel is compatible with?
CM13 with prebuilt kernel
CM13 with new kernel
?
Thank you!

Fortinho said:
I'm sorry, I'm not going to use this because I own a 64GB Mi 5, but I didn't understand one thing: this kernel is compatible with?
CM13 with prebuilt kernel
CM13 with new kernel
?
Thank you!
Click to expand...
Click to collapse
1. CM with new kernel - OK
2. CM with prebuilt kernel - Not Checked
3. AOSP - Not Booting

Fortinho said:
<snip>
Click to expand...
Click to collapse
This kernel is only compatible with CM13 builds running the MIUI7.x firmware blobs.

WhyOrean said:
1. CM with new kernel - OK
2. CM with prebuilt kernel - Not Checked
3. AOSP - Not Booting
Click to expand...
Click to collapse
Harrynowl said:
This kernel is only compatible with AOSP builds running the MIUI7.x firmware blobs.
Click to expand...
Click to collapse
Your replies made the thing pretty unclear
EDIT: I get it, you mean CM builds with MIUI 7.x firmware blobs are the newest CMs with the "custom kernel".
Thank you both.

Fortinho said:
Your replies made the thing pretty unclear
Click to expand...
Click to collapse
See my edit, added this info to OP. Confused myself also with 2 people answering

I installed it on AICP and I got a bootloop. I guess it's only compatible with CyanogenMOD 13 for the moment, and not other ROMs based in cm?
Thanks!

Harrynowl said:
See my edit, added this info to OP. Confused myself also with 2 people answering
Click to expand...
Click to collapse
hahaha...

woonaval said:
I installed it on AICP and I got a bootloop. I guess it's only compatible with CyanogenMOD 13 for the moment, and not other ROMs based in cm?
Thanks!
Click to expand...
Click to collapse
AICP uses a different Ramdisk than this kernel has, so it wont boot.
This will be the same with DU and AOSP.

Let me understand the 32 gb hardware is only limited by software ? the components are the same? i know about de cpu but the other components no

udreac said:
Let me understand the 32 gb hardware is only limited by software ? the components are the same? i know about de cpu but the other components no
Click to expand...
Click to collapse
The LPDDR4 frequency is still lower than the 64/128GB version(s). But my testers earlier could confirm this seems to unlock the full potential of the Snapdragon 820 for 32GB phones :good:

Harrynowl said:
The LPDDR4 frequency is still lower than the 64/128GB version(s). But my testers earlier could confirm this seems to unlock the full potential of the Snapdragon 820 for 32GB phones :good:
Click to expand...
Click to collapse
I wonder how much this oc improves performance, is it possible for you to share some benchmark' screenshots before&after?

33bca said:
AICP uses a different Ramdisk than this kernel has, so it wont boot.
This will be the same with DU and AOSP.
Click to expand...
Click to collapse
what a pity it doesn't work with aicp and your latest aosp

FcukBloat said:
what a pity it doesn't work with aicp and your latest aosp
Click to expand...
Click to collapse
Hoping to implement a solution in upcoming build s

Rocketval said:
I wonder how much this oc improves performance, is it possible for you to share some benchmark' screenshots before&after?
Click to expand...
Click to collapse
A few from my very early testing
www.imgur.com/a/DqRsx

Harrynowl said:
A few from my very early testing
www.imgur.com/a/DqRsx
Click to expand...
Click to collapse
Really good! Thanks! (maybe you could add these screens in the op) :good:

Harrynowl said:
A few from my very early testing
www.imgur.com/a/DqRsx
Click to expand...
Click to collapse
Really looking forward to Blu spark and elementalx governors and also underclocking and undervolting!!

sydeu said:
Really looking forward to Blu spark and elementalx governors and also underclocking and undervolting!!
Click to expand...
Click to collapse
Some oc ... all experimental builds though, first is making it compatible with more ROMs with any kernel v2 or similar

Related

[TW][5.0.1][AndromedaKernel][SM-N910F][Abandoned]

Andromeda Kernel
Supported: SM-N910F & SM-N910V
Do not try to flash this on ANY other variant than the N910F (Snapdragon, European)! It might work, but it can fail and end in a bootloop! Testers for SM-N910G wanted!
Disclaimer
Your warranty is now void.
We are not responsible if your phone will be damaged, broken, bootlooping or detonating in a thermonuclear reaction.
YOU are choosing to make these modifications and accept the fact that something might go wrong.
Click to expand...
Click to collapse
About me and Andromeda / Philosophy
Andromeda Kernel was created by a madman who tries to combine raw power, stability and batterylife in his high-tech laboratory home. IÄm not doing compromises and will always listen to every feedback and feature request!
Click to expand...
Click to collapse
Index
OP Post: About the kernel, basic changelog, Download, Credits
Post 2 : Changelog Preview + Development Status, FAQ
Post 3 : Known Issues, Fixes and Updates about pending fixes
Post 4 : Reserved for future use (Better safe than sorry, right? )
Features:
# Based on Samsung OpenSource Kernel XXU1BOB4
# SeLinux Permissive
# Linux version 3.10.40
# Overclocking and Underclocking (268mhz - 3,07Ghz)
# Governors: Intelliactive, Bluactive (more to come...)
# Compiled with GCC Linaro 4.9.3 Cortex A15 (03.2015) [/CENTER]
Click to expand...
Click to collapse
Changelog
Andromeda Stable 2.1
- Overclock and Underclock (268mhz - 3,07Ghz)
- Kernel NEON mode implemented
- Added KCAL Color Control (v2)(Controllable from KControl or this app: http://downloads.codefi.re/savoca/kcal)
- IntelliPlug is disabled for now (Great change, I know lol)
- Brandnew IntelliThermal from faux *yay*
Andromeda Stable 1.0
- FauxSound 3.6 fully integrated
- IntelliPlug 4.0
- Enhancements and battery optimizations
- Renamed the Kernel in the settings, the last one was a disaster http://forum.xda-developers.com/for...xda-developers.com/images/smilies/biggrin.gif
- 57% Support with KControl currently (Playstore App)
Andromeda Milestone 1.0.0 (Public Release)
- Based on BOB4 Stock kernel
- Added Bluactive and Intelliactive governors
- SeLinux Permissive (Try viper4Android, it's great!)
- Compiled with Linaro 4.9.3 Cortex A15
Click to expand...
Click to collapse
Please check Post Nr.2 for the list of features to be included!
Downloads:
Important: Do NOT make mirrors please! If you want one, please request it. Unofficial mirrors found will be reported, please respect this.
http://d-h.st/tNu1 (Stable 2.1)
Click to expand...
Click to collapse
How to Install
You have to have a custom recovery like TWRP, Philz or CWM installed.
- Download the kernel
- Reboot to recovery
- A backup is always recommended
- Flash the zip file
- You're done! Reboot and enjoy.
Credits:
Pafcholini - If it weren't for you, we'd be stuck at compiling or somewhere else. Massive Thanks for helping, guiding and having incredible patience with my incompetence
Psycho_666 - For boldly flashing what no one had flashed before and for continued support. Try SimpleRom it's an awesome ROM. And there's a new version to be launched soon, with a specially built SimpleKernel, derived from Andromeda
*To be updated in the future*
Rsroms- For being the most fearless Tester there is on the world, thanks for the massive help!
XDA:DevDB Information
AndromedaKernel, Kernel for the Samsung Galaxy Note 4
Contributors
mythos234
Source Code:https://gitlab.com/mythos234/AndromedaN910F-LL/
Kernel Special Features:
Version Information
Status: Abandoned
Current Stable Version: Stable 2.1
Stable Release Date: 2015-03-30
Beta Release Date: 2015-03-17
Created 2015-03-17
Last Updated 2015-05-08
Changelog Preview / FAQ
Changelog Preview
To be included in next build (Andromeda_Stable_V1)
# Synapse Support (Use Trickstermod Pro or Kcontrol for now)
# IntelliPlug 4.0 (make it work finally.. Sorry for the screwup)
# Voltage Control
# Support for the N910T (T-Mobile Variant)
#
# Enhancements and battery optimizations
Click to expand...
Click to collapse
Feature requests are always welcome and highly encouraged! Just as reviews and feedback
Benchmarks:
Just how fast is this kernel? Well, this should answer it:
Frequently asked Questions (FAQ)
Or Questions and answers, since this thread is new.
Q: Can this be flashed on the Exynos Note 4?
A: No, by no means. The Exynos model is completely incompatible, sorry.
Q: And what about other Snapdragon versions?
A: I can't advise to do that, it's untested and might not work. If you know how to handle bootloops and can remove my kernel if it doesn't boot, then you can always try it and tell me how it went. More variants would be awesome.
Q: Yikes, this kernel is too close to stock! What about more features?
A: More features will be included, please check the changelog preview. You can also request features and track the progress. I will make a section on this thread to display the feature request and write if I look at them, make them or - and that might happen - reject them.
- To be updated..
Known Issues / Fixes
Bootloop if you have Viper4Android installed and flashed Andromeda over it
Fix: Uninstall Viper, install Andromeda and then reinstall.
If this issue persists in my future builds, then I'll add an automated script to remove Viper4Android upon installation of the kernel.
Welcome Aboard Mate Good luck Stefan.
G is on kk how to test it. Kernel mentioned as 5.0.1
Sent from my SM-N910F using XDA Free mobile app
bhasg1007 said:
G is on kk how to test it. Kernel mentioned as 5.0.1
Sent from my SM-N910F using XDA Free mobile app
Click to expand...
Click to collapse
Still on kk? Samsung is slower than I thought lol... Thanks for letting me know, edited the thread. Probably better to try it when G receives official 5.0
Seems like a great Kernel, good luck buddy
Going to test on my n910t after work. Ktoonsez is the only booting kernel so far for TW5.0 but we have a data issue
Welcome thanks for the work: Bueno:
Hey stefan, great work, can i use it with simplrom, although i am happy with nadia
Rsroms said:
Hey stefan, great work, can i use it with simplrom, although i am happy with nadia
Click to expand...
Click to collapse
Hi, yes of course you can! We are actually working on deeper and more exclusive support for SimpleRom too. Stay tuned for version 2.1, it will be awesome
My kernel is much closer to the stock base, so you might get some more performance squeezed out - especially if you select Intelliactive as your governor - but at the cost of battery. I'm still not so big on features, the last couple of days my compiler decided to give me a hard time :crying:
Only 910F for now though!
this kernel is the best one for note 4 it is soo fast
nadia kernel not good lag soo much
rowihel2012 said:
this kernel is the best one for note 4 it is soo fast
nadia kernel not good lag soo much
Click to expand...
Click to collapse
same devs in this kernel like nadia , hahahahaha nadia kernel lag , boy, you need to read more before posting
ManDone.vRs said:
same devs in this kernel like nadia , hahahahaha nadia kernel lag , boy, you need to read more before posting
Click to expand...
Click to collapse
I'm not part of their Team, but Pafcholini is teaching me Don't worry, this kernel is not a clone of Nadia. My newest and upcoming build is as fluent as the last one and the batterylife is holding up a ton better too. No compromises on either side, thats my motto!
mythos234 said:
I'm not part of their Team, but Pafcholini is teaching me Don't worry, this kernel is not a clone of Nadia. My newest and upcoming build is as fluent as the last one and the batterylife is holding up a ton better too. No compromises on either side, thats my motto!
Click to expand...
Click to collapse
yeah stefan i know , but when i see a reply from unknow users and said : x kernel got lag , y kernel so bad , hey ! wake up ! need to read more than 1 week to know about a custom kernel Cheers compi .
ManDone.vRs said:
yeah stefan i know , but when i see a reply from unknow users and said : x kernel got lag , y kernel so bad , hey ! wake up ! need to read more than 1 week to know about a custom kernel Cheers compi .
Click to expand...
Click to collapse
Haha, I know what you mean I love the compliment, but I know as well as you do, that Nadia doesn't lag, unless the Synapse settings are set wrong. Too bad that my attempts at Synapse aren't going so great atm..
Hi, this kernel is compatible with BOC3 version, of Lollipop netherland??? Thank u
xxxfirenzexxx said:
Hi, this kernel is compatible with BOC3 version, of Lollipop netherland??? Thank u
Click to expand...
Click to collapse
This kernel is compatible with F version
xxxfirenzexxx said:
Hi, this kernel is compatible with BOC3 version, of Lollipop netherland??? Thank u
Click to expand...
Click to collapse
Yes, it is. I don't know what changes Sammy made to the BOC3 kernel yet, so mine might be a bit slower than the BOC3 stock one. But it works with the version just fine
Andromeda Stable 1.0 released!
Good evening everyone,
it took me a while, but I present you the first Stable build of Andromeda!
Changelog
- FauxSound 3.6 fully integrated
- IntelliPlug 4.0
- Enhancements and battery optimizations (mainly centered around powersuspend and adaptations to the default interactive governor)
- Renamed the Kernel in the settings, the last one was a disaster
- 57% Support with KControl currently (Playstore App)
Click to expand...
Click to collapse
About the Overclocking and Synapse...
I originally intended to include both in this build, but it will still need much more time and work and I didn't want to keep you away from the great upgrades I made in this version, so those two goodies will come later. I can highly recommend trying TricksterMod and KControl, both from the PlayStore.
And a very special announcement...
Perhaps the biggest change is that I recently joined "Team Simple - Simply Awesome" cool and will contribute an adapted version of the Andromeda kernel to SimpleRom, starting with the very close release of it's 2.1 Build. We planned something special - FauxSound is only the cherry on the Audiophile package inbuilt, so be very excited for whats coming up and be sure to try SimpleRom, especially the upcoming 2.1 version!
Oh, btw. I will also open a thread for the SimpleKernel once the Rom is released, to provide an optimized yet very close to stock experience! And there are also plans for an Exynos Build (the N910C), but I need some help with the Exy, so if anyone could lend me a hand, it would be highly appreciated! Now I understand why most devs settle for the Snapdragon..
Link to SimplRom: http://forum.xda-developers.com/note-4/snapdragon-dev/rom-simplrom-v1-t3004628
Download for Andromeda Stable 1.0:
http://d-h.st/TBO4
Click to expand...
Click to collapse

[Kernel] [CAF] [5.1.1] ZigZag R3 11/09

ZigZag Kernel​
Code:
Code:
#include
/*
* [STRIKE]Your warranty is now void[/STRIKE]. JK, this is oneplus
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.[/LEFT]
*/
Not gonna describe why the kernel is made. Just know that this kernel will be very close to stability and no unnecessary features will be added. Aim is to remain as close to stock as possible
Features:
Kernel patched upto linux 3.10.68
Kernel always up-to-date with latest CAF tags(Latest can be found here: https://www.codeaurora.org/xwiki/bin/QAEP/release)
Governors: Impulse
I/O Schedulers: SIO, FIOPS
O3 and many other flags
KCAL post-processing driver(savoca)
Frandom driver
Additional TCP Congestion algorithms
Hell lotta patches to random stuff to improve kernel stability
Note: You must have root and a custom recovery installed before installing this kernel!
Installation Instructions:
Download ZigZag latest kernel release
Put it in your sdcard
Reboot to recovery
Take a backup of current ROM in case anything goes wrong!
Flash the kernel
Reboot
Downloads:
Kernel (Androidfilehost)
Bug reporting:
I will not entertain bugs which are reported without any kernel log.
Credits:
@savoca: for kcal
CAF/Qualcomm: For latest patches and fixes
@neobuddy89: For patches and hotplug
@Grarak: For cm12 and cm12 kernel
@merewood bebox: For being a great tester!
Changelogs on post #2
Now flash dat sh#t and enjoy
XDA:DevDB Information
ZigZag kernel, Kernel for the OnePlus 2
Contributors
##W4TCH0UT##
Source Code: https://github.com/W4TCH0UT/zz_plutonium
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R2
Stable Release Date: 2015-09-04
Created 2015-09-02
Last Updated 2015-09-11
Changelogs:​R3:
Removed experimental overclock support
R2:
Added power-efficient workqueues
LMK patches
MSM hotplug driver by neobuddy89
Intelli-plug by faux123
Bricked Hotplug/MSM MP-Decision by showp1984
Impluse governor by neobuddy89
SIO and FIOPS I/O schedulers
R1:
Initial Release
##W4TCH0UT## said:
Changelogs:​
R1:
Initial Release
Click to expand...
Click to collapse
Any more details on the governors, hotplugs etc?
good, i think the days of over customized kernel are over. What we really need now is a close to stock, with a few but important feature like kcal.
Will flash and report soon!
@##W4TCH0UT##
Edit:Camera app force closes.Tried both stock and 3rd party app.
Logs attached!
Tapped from my ①+②=❸
vaisakh7 said:
Will flash and report soon!
@##W4TCH0UT##
Edit:Camera app force closes.Tried both stock and 3rd party app.
Logs attached!
Tapped from my ①+②=❸
Click to expand...
Click to collapse
OxygenOS or cm12?
Regards
##W4TCH0UT## said:
OxygenOS or cm12?
Regards
Click to expand...
Click to collapse
OOS 2.0.2
Tapped from my ①+②=❸
##W4TCH0UT## said:
OxygenOS or cm12?
Regards
Click to expand...
Click to collapse
oxy
Luigi_2 said:
oxy
Click to expand...
Click to collapse
Hmm, thanks. Will look into this.
Regards
vaisakh7 said:
OOS 2.0.2
Tapped from my ①+②=❸
Click to expand...
Click to collapse
Can you get me a kmsg also? (kmsg or last_kmsg)
Regards
##W4TCH0UT## said:
Can you get me a kmsg also? (kmsg or last_kmsg)
Regards
Click to expand...
Click to collapse
/sys/fs/pstore folder is empty!
Tapped from my ①+②=❸
Wait. Anybody tried the kernel on cm-12.1 and faced same issue of camera FC?
I'm asking this because I have merged some extra CAF stuff only for caf based/cm-12.1 based ROM's not stock, so stock users may face some issues(Didn't know it was related to camera). I'll compile new kernel without CAF for stock users too.
Regards
hey, one more thing, mp3 player doesnt play too, oxy 2.0.2, using phonograph, tried again with solid explorer to no avail.
youtube works though.
I was on 2.0.1 and the camera seemed to be fine will try again on 2.0.2 and provide logs if I can
Hey, could anybody pls post the stock oxygen 2.0.2 boot.img as I dont have the pc with me right now. I need to get the player working till the dev gets this fixed.
Appreciate!
Luigi_2 said:
Hey, could anybody pls post the stock oxygen 2.0.2 boot.img as I dont have the pc with me right now. I need to get the player working till the dev gets this fixed.
Appreciate!
Click to expand...
Click to collapse
Ready to help you but where can i find that boot.img file??
Anybody willing to test out a new ROM for me? You need to test it right away and report to me ASAP.The user must have a knowledge to trigger a logcat.I asked yesterday about the testers in the CM12.1 thread but I failed to get a suitable reply from any of the OnePlus Two users.PM me for the download links.
aniket.lamba said:
Anybody willing to test out a new ROM for me? You need to test it right away and report to me ASAP.The user must have a knowledge to trigger a logcat.I asked yesterday about the testers in the CM12.1 thread but I failed to get a suitable reply from any of the OnePlus Two users.PM me for the download links.
Click to expand...
Click to collapse
Please do not spam my thread asking for testers.
Regards
New kernel uploaded!
New version(R1) is uploaded with probable fixes for all issues.
Please test and report back here if you guys are encountering same issues as before with camera, mp3 etc.
Cheers
##W4TCH0UT## said:
New kernel uploaded!
New version(R1) is uploaded with probable fixes for all issues.
Please test and report back here if you guys are encountering same issues as before with camera, mp3 etc.
Cheers
Click to expand...
Click to collapse
Phone doesn't boot with this Kernel.
Tapped from my ①+②=❸

gpl | abyss kernel 1.20 | cm-14.x

Hi oneplus2 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 roms like CyanogenMod.
It might work on other roms, but there will be little support for them.
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
- etc. (most are not so easy to explain)
This kernel is built with mdalexca's latest UBER GCC 4.9.
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.
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:
Latest release
BasketBuild
Source:
GitHub
This was made by request from dsst22 who also tested this bad boi like crazy.
XDA:DevDB Information
abyss kernel for the OnePlus 2, Kernel for the OnePlus 2
Contributors
kwoktopus, dsst22, OnePlus, grarak, The Flash, arter97, Lord Boeffla, frap129, Linux, Google, CAF, a bunch of other major OEMs
Source Code: https://github.com/abyss-kernels/oneplus2
Kernel Special Features:
Version Information
Status: Nightly
Current Stable Version: 1.20
Stable Release Date: 2016-12-05
Created 2016-12-05
Last Updated 2016-12-13
Key Changes:
- upstream interactive governor (with Flash 1.0 profile by The Flash) (Google and CAF)
- upstream cpufreq driver (Google and CAF)
- upstream cpu-boost driver (Google and CAF)
- upstream random driver from Linux 4.1.31 (performance..!)
- slub/slab/slob/vmalloc patches
- flar2's slightly modified thermal driver
- using Linaro's power efficient workqueues throughout kernel
- using Adreno idler by arter97 to reduce frequency scaling without performance cost
- using power efficient "relaxed" macros throughout kernel (assembler)
- KCAL Control Driver by Savoca
- Android-Keyboard patch, use your device as an external keyboard!
- too many to list here, check out my source
How to install:
Place zip in to your internal storage
Place current ROM zip on to your storage
Boot into TWRP recovery
(If you're coming from a different kernel, dirty flash current ROM)
Flash kernel zip
Reboot
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?
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 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!
For me
Thanks! I'll give it a go.
Giving it a go
Yess! Been waiting for this ever since i saw your OP2 repo!
Does this kernel install on a f2fs formatted system?
suraj.das said:
Yess! Been waiting for this ever since i saw your OP2 repo!
Click to expand...
Click to collapse
You can thank @dsst22 for helping with testing, or else you would have waited a very long time :silly:
socialdistortion said:
Does this kernel install on a f2fs formatted system?
Click to expand...
Click to collapse
I have not made any file system changes to the kernel. If the stock CM kernel supports, then this one will too.
Is kcal support present..??
chl1810 said:
Is kcal support present..??
Click to expand...
Click to collapse
unfortunately no.
good to see new kernel for our device, thanks and good luck
suraj.das said:
unfortunately no.
Click to expand...
Click to collapse
I wish it had
chl1810 said:
I wish it had
Click to expand...
Click to collapse
I can remember the YoshiShaPow falcon kernel
chl1810 said:
I wish it had
Click to expand...
Click to collapse
In the future
PeterImmel said:
I can remember the YoshiShaPow falcon kernel
Click to expand...
Click to collapse
You can probably see how much I've grown as a developer since then too :angel:
Works on a f2fs filesystem based rom. Testing it now...
Edit: No obvious bugs at the moment. Is it possible to implement some sort of charging control. The USB charging speed is super slow (on both this kernel and stock CM kernel).
kwoktopus said:
In the future
Click to expand...
Click to collapse
Nice!! thank you!!
Pretty smooth haven't found any bugs. Love the simplicity.
I can't imagine what it would be like with a little over clock.
adame09 said:
Pretty smooth haven't found any bugs. Love the simplicity.
I can't imagine what it would be like with a little over clock.
Click to expand...
Click to collapse
I trust the engineers that designed the chip to choose a safe maximum clock speed. Here's a pretty good article on the risks vs benefits, which outline some strong points.
But, if I were to add it, I would set the max value at boot to stay as stock values; so I'll leave it up to @dsst22 to decide.
I'll try this out for you dude. Impressive what you've done.

EAS kernel

EAS kernel for op2
Features:
It has EAS
Only compatible with lineageOS
I'm not responsible for any damage to your device
Instructions: flash in recovery, boot and use the kernel manager of your choice to set governor to sched
Bugs: wouldn't have released if there were any
Download link: https://srv1.botstack.host:8001/op2/eas/eas.zip
For ROM developers:
Make sure you have this commit https://github.com/GlassROM-devices/android_device_oneplus_oneplus2/commit/e99b6894e671bb5c6038aa2f287f36a7e7ee11e5
Incorporate all EAS https://github.com/GlassROM-devices/android_kernel_oneplus_msm8994/tree/eas
XDA:DevDB Information
EAS-op2-kernel, Kernel for the OnePlus 2
Contributors
anupritaisno1
Source Code: https://github.com/GlassROM-devices/android_kernel_oneplus_msm8994
Kernel Special Features: EAS
Version Information
Status: Testing
Current Beta Version: v1
Beta Release Date: 2017-08-26
Created 2017-08-26
Last Updated 2017-08-26
Thanks for the new kernel. Got a problem,double tap to wake stop working.
playkish said:
Thanks for the new kernel. Got a problem,double tap to wake stop working.
Click to expand...
Click to collapse
Works fine here
anupritaisno1 said:
Works fine here
Click to expand...
Click to collapse
Gesture and double tap to wake broken here too
I am using dirty unicorn
Vaas_FC said:
Gesture and double tap to wake broken here too
I am using dirty unicorn
Click to expand...
Click to collapse
I have no intentions to support CAF ROMs. I made this kernel compatible with only lineageOS. If you're using it on another ROM that's your problem
Both of these features work fine on lineageOS
anupritaisno1 said:
I have no intentions to support CAF ROMs. I made this kernel compatible with only lineageOS. If you're using it on another ROM that's your problem
Both of these features work fine on lineageOS
Click to expand...
Click to collapse
Wasn't aware that this kernel is for lineage because wasn't mentioned
Anyways nice work this was needed since long
Vaas_FC said:
Wasn't aware that this kernel is for lineage because wasn't mentioned
Anyways nice work this was needed since long
Click to expand...
Click to collapse
Oh yeah sorry
I've always developed for lineage so I thought people kinda knew
Will add to the OP
You forgot EAS blobs
_LLJY said:
You forgot EAS blobs
Click to expand...
Click to collapse
None exist for sd810
I'm on official Nightly, will this have any effect or it requires a change in ROM?
A small fix is required in the device tree. Unfortunately right now there are no ROMs with this fix
You can flash it, it will work fine but I recommend switching to my unofficial builds once I add all the patches to my ROM
In fact there's a lot of work to be done on the ROM. I'll eventually do that too but for now we have a stable EAS kernel
will you continue develope hmp version or only this version?
chxei said:
will you continue develope hmp version or only this version?
Click to expand...
Click to collapse
Both
I have no plans to integrate this in my other kernel
anupritaisno1 said:
None exist for sd810
Click to expand...
Click to collapse
libcutils should work, perfd as well
_LLJY said:
libcutils should work, perfd as well
Click to expand...
Click to collapse
That needs ROM specific support
It is impossible to add an sepolicy for each ROM
@_LLJY I'm not going to add anything to the kernel that modifies the ROM
The msm8994 does not have an optimal energy configuration for EAS besides anything that was derived from Bullhead which is far different.
I'd stick with HMP anyway. You can still make use of most of the benefits of EAS (except for scaling based off of power of course) to a similar dynamic.
Now, you are welcome to experiment but understand that optimum values are not one size fits all
CertifiedBlyndGuy said:
The msm8994 does not have an optimal energy configuration for EAS besides anything that was derived from Bullhead which is far different.
I'd stick with HMP anyway. You can still make use of most of the benefits of EAS (except for scaling based off of power of course) to a similar dynamic.
Now, you are welcome to experiment but understand that optimum values are not one size fits all
Click to expand...
Click to collapse
Well that's why there are 2 kernels
People can pick whatever suits them best
As for EAS it's still smooth without the HAL but a proper energy model is unavailable
anupritaisno1 said:
That needs ROM specific support
It is impossible to add an sepolicy for each ROM
Click to expand...
Click to collapse
Yeah I forgot about that

[EOL][KERNEL][OneUI 1.0/2.0][EAS][EDGE/FLAT]Elite-Kernel

Elite-Kernel is designed to offer unmatched battery life and performance without sacrificing stability.
Kernel is based on N935F source to offer better compatibility with ported One UI ROMs.
Always up-to-date with Android common kernel
Features/Highlights:
Merged Android security patches as of 06/05/2020
Energy-Aware Scheduling. Read here
Compiled with Linaro GCC 4.9
Compiled with O2 for better performance
CPU Undervolt
GPU Undervolt
BUS/INT/MIF/DISP/CAM Undervolt
Binder micro-optimizations
arm64 optimizations
More under the hood optimizations
Credits:
@francitato02 - I used his arianoxx kernel as a base
@morogoku - for Mtweaks and morosound
@AndreiLux - for his work on exposing exynos voltage tables to sysfs
To all who authored the commits I picked
Linus Torvalds for the Linux kernel
Donations are welcome:
Donate to me
Downloads:
Download kernel here
Join our Telegram group:
Join here
XDA:DevDB Information
Elite-Kernel, Kernel for the Samsung Galaxy S7
Contributors
pascua28
Source Code: http://github.com/pascua28/herolte
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v4.0
Stable Release Date: 2020-06-28
Created 2019-12-21
Last Updated 2020-11-18
Reserved
Reserved
Works on Pixel Experience last build?
It has support for f2fs Partition
Andrea17982 said:
Works on Pixel Experience last build?
Click to expand...
Click to collapse
No, only on touchwiz pie roms
neslier said:
It has support for f2fs Partition
Click to expand...
Click to collapse
No, but I will add on the next build
pascua28 said:
No, only on touchwiz pie roms
No, but I will add on the next build
Click to expand...
Click to collapse
Thank you would be very useful for the ROM ui
you give me permission to use your kernel in my rom
luis taylor said:
you give me permission to use your kernel in my rom
Click to expand...
Click to collapse
Yes, it's okay. But it would be better if you wait the next build cause I'm adding f2fs support
pascua28 said:
Yes, it's okay. But it would be better if you wait the next build cause I'm adding f2fs support
Click to expand...
Click to collapse
It's fine and when you plan to release your version because I want to launch my rom these days
luis taylor said:
It's fine and when you plan to release your version because I want to launch my rom these days
Click to expand...
Click to collapse
Okay then
First impression after a couple of hours: very battery friendly and smooth, all working well. Thank you very much!
Good battery life :good:
nicohak said:
Good battery life :good:
Click to expand...
Click to collapse
Idk if its just me but ever since i installed it, i got this weird green tint and it makes me very uncomfortable., I'll revert back to see if this is the cause
Edit: yep it is
0pwn said:
Idk if its just me but ever since i installed it, i got this weird green tint and it makes me very uncomfortable., I'll revert back to see if this is the cause
Edit: yep it is
Click to expand...
Click to collapse
Hello, try going to Mtweaks, Misc, and disable PWM Flicker Free. I'll be disabling it by default on the next build
Hi guys! I just created a Telegram group for discussions, questions and support regarding this kernel as well as test builds. See the first post for the Telegram link
Hi guys! Elite Kernel v2.0 is up!
Changes:
Compiled with Linaro GCC 7.4
Code fixes for GCC 7
Updated MoroSound to 2.1.1
Added f2fs support
Enabled SDFat
Added support for __int128
Implemented task's adj rbtree
Random driver updated
Updated crypto
Scheduler optimizations
Use zbud as default compression pool
Disabled ion stat logging
workqueue: Schedule workers on CPU0 or CPU0/CPU1 by default
Added 112MHz GPU clock
Updated Magisk to v20.3
pascua28 said:
Hi guys! Elite Kernel v2.0 is up!
Changes:
[*]Updated Magisk to v20.3
[/LIST]
Click to expand...
Click to collapse
It might be an idea not to include Magisk. Not everyone wants root.
You can add suport to ntfs sd?

Categories

Resources