gpl | abyss kernel 2.00 | B170/B180/NCS/fRomFuture

adinkwok

Retired Forum Moderator / Inactive Recognized Deve
May 28, 2013
2,712
10,116
0
6ix
adin.dev
Hi Huawei P9 people!

This is my modified kernel with some kernel optimizations and some compiler optimizations.
The goal of abyss-caf is to compromise stability and improved performance.
I will not be overhauling this project with changes that are not logical to add.

This kernel should work on all stock based roms; there is a separate version for NCS 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)
This kernel is built with Linaro GCC 4.9.4 that is optimized for ARM64 devices.

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.
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:
BasketBuild
AFH

Source:
GitHub

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 stock and stock based roms, Kernel for the Huawei P9

Contributors
kwoktopus, paulobrien, arter97, flar2, Christopher83, Cl3Kener, frap129
Source Code: https://github.com/kwoktopus/abyss_kernel_eva

Kernel Special Features: MAJOR KEY

Version Information
Status: Testing

Created 2016-08-24
Last Updated 2016-10-08
 

adinkwok

Retired Forum Moderator / Inactive Recognized Deve
May 28, 2013
2,712
10,116
0
6ix
adin.dev
Main Patches and Features:
- Abyss Optimizations (compiler)
- optimized square root algorithm (3x faster)
- added BFQ io scheduler (now default)
- backported random from Linux 4.2+ (better entropy, better performance)
- utilize power efficient workqueues all over the kernel
- port quickwakeup driver for hisi from moto
- optimized lib patches
- optimized arm64 lib patches
- disabled gentle_fair_sleepers for better UX
- enhanced multicore decision making

How to install:
Flash the proper kernel zip in TWRP.
 
Last edited:

adinkwok

Retired Forum Moderator / Inactive Recognized Deve
May 28, 2013
2,712
10,116
0
6ix
adin.dev
New to phone development?
If you are new to these forums or development in general,
please consult other members before trying this out.
There is no shame in asking for help politely and respectfully,
as long as you don't quote the whole OP or think slower than a sloth.

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!
 
Last edited:

jeremymolina

Senior Member
Jul 19, 2011
330
312
0
Awesome, will stay tune about new releases, will try the kernel later.

Just for clarify, kernel works in any P9 or just for L09 or L19?
 

darthkir

Senior Member
Dec 24, 2010
361
64
0
Kuala Lumpur
Finally! May God bless you!

---------- Post added at 08:13 AM ---------- Previous post was at 08:07 AM ----------

I have a question though.

Will it conflict with the L Speed app I'm currently using?
 

adinkwok

Retired Forum Moderator / Inactive Recognized Deve
May 28, 2013
2,712
10,116
0
6ix
adin.dev
And to finish off my day (the start of many of yours), here is my 2nd release for y'all.
Code:
- optimized square root algorithm (3x faster)
- added BFQ io scheduler (now default)
- backported random from Linux 4.2+ (better entropy, better performance)
- utilize power efficient workqueues all over the kernel
- port quickwakeup driver for hisi from moto
- optimized lib patches 
- optimized arm64 lib patches
- disabled gentle_fair_sleepers for better UX
- enhanced multicore decision making
abyss-caf-eva-nightly-20160824.zip
 

adinkwok

Retired Forum Moderator / Inactive Recognized Deve
May 28, 2013
2,712
10,116
0
6ix
adin.dev
Finally! May God bless you!
God has blessed me alright :victory:

Will it conflict with the L Speed app I'm currently using?
Not sure why it would, what tweaks do you have turned on? It should be good to go, I highly doubt anything can go wrong with any sort of non-kernel related tweaks.
 
  • Like
Reactions: darthkir

edint3000

Senior Member
Mar 29, 2007
511
337
0
Sarajevo
Not exactly sure. If fRomFuture has ramdisk modifications then probably not, I'll have to make a separate version for it. If you would like to try, download both versions of the kernel and try.
Neither working on fRomFuture, tried with TWRP flash image method, when i get home ill try with fastboot also.
 

adinkwok

Retired Forum Moderator / Inactive Recognized Deve
May 28, 2013
2,712
10,116
0
6ix
adin.dev
Neither working on fRomFuture, tried with TWRP flash image method, when i get home ill try with fastboot also.
If it doesn't work even through fastboot, try flashing my test versions.I will upload it with changes for fRomFuture that may work. Stay posted

edit: i am running low on bandwidth from all the source downloading lately, can someone upload the boot.img from the latest fRomFuture build
 
Last edited: