[Kernel][EAS][OOS-N] Helix Kernel

Mostafa Wael

Recognized Contributor
Jan 11, 2013
6,106
5,564
0
22
Gotham
Helix Kernel for the OnePlus 5!
For OOS-N


Code:
Disclaimer: Despite everything being tested before release, anything can go wrong, and the one held responsible shall be you and you only. Don't come crying that your phone ate your cat after flashing my kernel, because, needless to say, I will just be blown away laughing at you.
Objective:
To provide a more battery-oriented kernel based on the rock solid EAS-based RenderZenith kernel, by my fellow developers and mentors @RenderBroken and @joshuous and, as well as anyone else on XDA probably, to learn and encourage others to learn more about EAS - the latest endeavour from Google, Linaro, ARM and many others to improve both the efficiency and performance of Android powered devices.

Features:
-> Based on the wonderful RenderZenith kernel
-> Up-to-date with latest EAS changes, as long as they are stable enough (currently at EAS r1.4)
-> Built with Linaro 6.3.1
-> Added support for a new experimental governor pwrutilx, in an attempt to improve battery life
-> Added support for Wake Gestures, Sound Control, KCAL Control and LED Control
-> Merged as much as possible from Google's latest Pixel devices

Installation:
1- Download latest build from the download link below
2- Reboot into recovery mode
3- Backup existing /system and /boot partitions
4- If stock OOS kernel is not installed, reflash OOS with no wipes
5- Flash latest zip file
6- Reboot
7- Profit!

Download:
Google Drive: here

Credits:
Massive thanks to @Funk Wizard and Mr Adam Krisko for giving me the opportunity to develop for such a great device
Loads of thanks to @ZeroInfinity for his massive help :highfive:
Thanks to my mentors @RenderBroken and @joshuous for their equally massive help, couldn't have done it alone
Thanks to my fellow teammates @CharliesTheMan @DeeZZ_NuuZZ @p50kombi
@Kyuubi10 @TotallyAnxious @RogerF81 for helping me pass through my hardest times

Note: OP still subject to changes (WIP)


XDA:DevDB Information
Helix Kernel, Kernel for the OnePlus 5

Contributors
Mostafa Wael
Source Code: https://github.com/mostafawael/OP5-OOS-Helix-Kernel

Kernel Special Features: up-to-date with latest stable EAS changes with some experimental goodies

Version Information
Status: Testing
Current Stable Version: R1
Stable Release Date: 2017-11-13

Created 2017-11-13
Last Updated 2017-11-13
 
Last edited:

Mostafa Wael

Recognized Contributor
Jan 11, 2013
6,106
5,564
0
22
Gotham
Useful Write-ups & Links - Collective Post

-> Dynamic Stune Boost v2 and why should we use top-app schedtune.boost values greater than or equal to 1
-> WALT vs PELT
-> HMP vs EAS, what's EAS all about (briefly)
-> Simple sketch I drew to demonstrate EAS in a simple way
-> How to report bugs properly - thanks to @Freak07 || Example of precise bug reporting
-> Useful link from Linaro
-> Useful link from ARM

N.B.
Should you feel the need to correct any of the write-ups linked upon reading, do not hesitate to post your queries or contact me. We are here to learn after all. No one is too knowledgeable to learn and admit faults.
 
Last edited:

Mostafa Wael

Recognized Contributor
Jan 11, 2013
6,106
5,564
0
22
Gotham
Changelog & Known Issues

Changelog
R1
- Initial release

Known Bugs
- YouTube 60fps videos: audio gets off sync for a couple of seconds after skipping forwards/backwards, followed by noticeable stuttering.
- WiFi: Some users may face troubles getting WiFi to work properly after flashing the kernel. WiFi refuses to turn on and/or connect to the access point.
 
Last edited:

StarzSkyz

Member
May 11, 2014
25
0
21
Currently on latest stock OOS w/o any type of root, encrypted, runs smoothly, but have that "Unable to turn on Wifi" bug.

Tried flashing the no-verity zip which usually fixed up that bug for me, got stuck at the boot logo, then I tried an older no-verity zip and got stuck at the boot animation.

Flashed OOS (wiped dalvik & cache, and system) booted up fine and already connected to wifi, rebooted back to recovery(blu_spark v49), flashed the kernel, and booted up and found wifi off already.

Is there anything I can try to fix this?
 

Mostafa Wael

Recognized Contributor
Jan 11, 2013
6,106
5,564
0
22
Gotham
Currently on latest stock OOS w/o any type of root, encrypted, runs smoothly, but have that "Unable to turn on Wifi" bug.

Tried flashing the no-verity zip which usually fixed up that bug for me, got stuck at the boot logo, then I tried an older no-verity zip and got stuck at the boot animation.

Flashed OOS (wiped dalvik & cache, and system) booted up fine and already connected to wifi, rebooted back to recovery(blu_spark v49), flashed the kernel, and booted up and found wifi off already.

Is there anything I can try to fix this?
That's a very weird issue. I have tested the kernel on stock official OOS 4.5.14 and I don't have any issues with the WiFi... I use Magisk 14.0 stable, encrypted as well. The only thing that is different is the recovery but I don't see why would flashing the kernel using a different recovery would break WiFi. Nevertheless I will have a closer look asap. Thanks for your report!
 

Mostafa Wael

Recognized Contributor
Jan 11, 2013
6,106
5,564
0
22
Gotham
Which one will give more battery optimisation - renderzenith or helix kernel - with AKT??
AKT is compatible with RenderZenith and Helix kernel, as long as you use schedutil as the CPU governor [for both clusters]. However, if you chose to install Helix Kernel and use pwrutilx as the CPU governor, AKT won't be compatible.
P.S. pwrutilx is already battery oriented