CarboniteKERNEL for the OnePlus 5 - OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel

Hi OnePlus 5 peeps!
Today (June 27th), I graduated from high school!
In more important news, I finished upstreaming the OnePlus 5 kernel to the latest stable kernel version...
Whoa, what is this?
This is my personal kernel that I run as the OnePlus 5 is my daily driver.
I will not claim my work as the best at anything, but just know that I would not do anything to this kernel that could potentially ruin my own device.
Additionally, this is the kernel that comes built into CarbonROM.
There are three versions of this kernel:
AOSP aka AOSP/LOS build - Flash this on any source built custom ROM except for CarbonROM
CR-5.1 aka CarbonROM build - Flash this on CarbonROM
OOS aka OxygenOS build - Flash this version on OxygenOS
Main features:
Upstreamed Linux kernel version, went from v4.4.21 -> v4.4.79
Backported random driver from Linux v4.12 (latest and greatest)
Backported scheduler from Linux v4.9 (latest android kernel branch)
Upstreamed F2FS driver from f2fs-stable/linux-4.4.y
KGSL driver improvements
MDSS driver improvements
SOC driver improvements
Built using Optimization Level 2
Added maple io scheduler (default) by frap129
Added adreno idler by arter97 with tweaks from frap129
Vibrator motor control by flar2
Kcal control driver from EX kernel
Many wakelocks disabled
Switched to power efficient workqueues across the kernel
Built with Google's latest stable gcc-4.9
Anykernel 2.0 by osm0sis! Compatible with all OxygenOS based roms
Download:
Latest builds
OxygenOS boot.img
How to install:
1. Reboot into the latest stable TWRP build
2. Download kernel zip and make sure it is in your internal storage (/sdcard)
3. Reboot into TWRP
4. Double check here to see if you require any additional instructions
5a. Install -> Install image -> select oxygen-4.x.x-boot.img -> swipe to install
5b. Install -> select CarboniteKERNEL-XXX-Rx-OP5-N.zip -> swipe to install
6. Reboot
DISCLAIMER!
If you don't understand my instructions, that's too bad >
If you are unsure about what this thing is, I highly advise you do some research before going through with installing...
Updates will come as regular as I want them to, don't ask me when I'll release cause you'll know when it comes out >:'D
XDA:DevDB Information
CarboniteKERNEL for the OnePlus 5, Kernel for the OnePlus 5
Contributors
adinkwok, nathanchance, flar2, Lord Boeffla, osm0sis, etc
Source Code: https://github.com/adinkwok/oneplus5-kernel
Kernel Special Features: One of Taylor Swift's exes should write a song called "Maybe You're the Problem"
Version Information
Status: Testing
Created 2017-06-28
Last Updated 2017-08-02

While this reserved post is not being used, enjoy this video! (Find me at 0:50s and twice at 2:54 :silly

For OxygenOS users:
Code:
[B]If you are on OxygenOS and are coming from another custom kernel:[/B]
Download the latest stock.4.X.X-boot.img
You [B]must[/B] flash the boot.img before flashing the kernel!
[B]If you are on OxygenOS are switching to a different custom kernel:[/B]
Download the latest stock.4.X.X-boot.img
You [B]must[/B] flash the boot.img before switching kernels!
For AOSP/LOS/RR/etc users:
Code:
[B]If you are coming from another custom kernel:[/B]
You [B]must[/B] reflash your ROM build before flashing this kernel!
[B]If you are on AOSP/LOS/RR/etc and are switching to another custom kernel:[/B]
You [B]must[/B] reflash your ROM build before flashing another kernel!
Why is it like this?
I have included some ramdisk modifications that set the default settings for this kernel. When you come from a different custom kernel, the ramdisk changes from that kernel may conflict with the changes I intend to have. Likewise when you switch to a different kernel; my ramdisk changes may conflict with the changes they intend to have. When you flash the stock boot.img, it replaces the modified ramdisk with a clean one, removing these conflicts.

And it's here, get it while it's hot folks! First upstreamed kernel for the OP5

Thanks for joining the party :highfive:
Sent from my OnePlus5 using XDA Labs

gz on graduating! and thx for the kernel :=

Congratulations on the graduation buddy,
Just flashed and I had charging cycling on and off (using dash charger in car on freedom v1.1). Flashed EX and charging is fine. Need charge ATM but maybe a little later I can help you get a log.
Sent from my OnePlus5 using XDA Labs

congratulations! awesome... so smart!!!!!!!

rav101 said:
Congratulations on the graduation buddy,
Just flashed and I had charging cycling on and off (using dash charger in car on freedom v1.1). Flashed EX and charging is fine. Need charge ATM but maybe a little later I can help you get a log.
Sent from my OnePlus5 using XDA Labs
Click to expand...
Click to collapse
Hmmm never noticed this... I guess the graduation drinks are getting to me. I'll re-upload a stable build without upstreaming as that's definitely the culprit.

What an amazing day for you (Congratulations!) and the OP5 community!
I was really loving and enyoing all your efforts you did for the OPO (Pure Nexus port) and the amazing Carbon ROM.

adinkwok said:
Hmmm never noticed this... I guess the graduation drinks are getting to me. I'll re-upload a stable build without upstreaming as that's definitely the culprit.
Click to expand...
Click to collapse
I'm the first to report so let's see if anyone else has the same issue. I will also try for logs later on though I do have a lot on today (so might be this evening).
I didn't actually reboot or get to try a different charger to help diagnose so don't want you doing more work that you need to for what could me my issue
Sent from my OnePlus5 using XDA Labs

rav101 said:
I'm the first to report so let's see if anyone else has the same issue. I will also try for logs later on though I do have a lot on today (so might be this evening).
I didn't actually reboot or get to try a different charger to help diagnose so don't want you doing more work that you need to for what could me my issue
Click to expand...
Click to collapse
I can confirm the issue because while I was bringing up the upstream branch I ran into this issue with dash charging and I thought I solved it. Time to debug!
Edit: link updated without the upstreaming, everything else still stands though

adinkwok said:
I can confirm the issue because while I was bringing up the upstream branch I ran into this issue with dash charging and I thought I solved it. Time to debug!
Edit: link updated without the upstreaming, everything else still stands though
Click to expand...
Click to collapse
No problem buddy,
Be good once it's all resolved and we have the benefits of upstream kernel code as well!! Your time and effort is appreciated!
Sent from my OnePlus5 using XDA Labs

@rav101 happy to see u around buddy

dukat0s said:
@rav101 happy to see u around buddy
Click to expand...
Click to collapse
For sure my friend.
How you finding the OP5?
Sent from my OnePlus5 using XDA Labs

rav101 said:
For sure my friend.
How you finding the OP5?
Click to expand...
Click to collapse
Cool my friend !like it.just got rid of my s8+. Was bored

Is DT2W working for you guys?

bartelamo said:
Is DT2W working for you guys?
Click to expand...
Click to collapse
Seems to be a problem among a few custom built kernels, we're looking into it.

bartelamo said:
Is DT2W working for you guys?
Click to expand...
Click to collapse
adinkwok said:
Seems to be a problem among a few custom built kernels, we're looking into it.
Click to expand...
Click to collapse
It's because OOS has a hal that already uses a switch for dt2w.

New update, still looking into the gestures issue.
However, Dash Charging is fixed on the upstream kernel so here it finally is! I also added a bunch of sched patches, a thermal patch, and some other misc stuff from the latest CAF branch.
Adin-Kernel-R2-OP5-OOS-N.zip

Related

[KERNEL][OP5] FrancoKernel ?- r49 - 27th Aug · Pie & custom roms

Hi all.
Compatibility:
Builds from r1 up to r12 are for Android 7.1.1 Nougat OxygenOS based roms only.
Builds from r13 are for Android 8.0.0 Oreo OxygenOS based roms only.
Builds starting with r18 work with Android 8.1.0 Custom roms.
Builds starting with r28 up to r32 work with OxygenOS 5.1.0 Android 8.1.0
Builds starting with r33 work with OxygenOS 5.1.5 Android 8.1.0
Builds starting with r40 are for OxygenOS 9.0 Android Pie.
Builds starting with r44 are also available for custom roms such as LineageOS.
Download:
https://francokernel.app
Installation:
Flash the zip in your recovery
or
Auto-flash from FK Kernel Manager app, it's magical
Changelog:
https://francokernel.app
Scroll down, choose your device & select the latest release to see the changelog.
Source:
https://github.com/franciscofranco/OP5-5T-unified
Follow me on socials for updates and interesting tidbits
Twitter[/URL
FK Kernel Manager video
[url]https://www.youtube.com/watch?v=ARdNqh71D0E
Disclaimer to moderators:
Slight OT is fine, but when users decide to act stupid they should be dealt with with the appropriate means - its really annoying for me when OT turns crazy. Please put the warning/ban hammer anytime any of you think there's lack of respect and/or too much unwanted OT crap - but if it doesn't meet this criteria let the OT posts alone. Thank you.
Cheers!
Wow nice! For OOS?
As usual there's a large focus on battery life. F2FS is upstreamed to the latest version and I spent a couple days single picking useful commits from Qualcomm's repository with fixes and power consumption improvements.
You should see an improvement in battery life.
Beukhof1 said:
Wow nice! For OOS?
Click to expand...
Click to collapse
Yes.
wowww Franco is here!
25% off sale on FK Manager & Updater for the next 48 hours to celebrate adding One Plus 5 support
https://play.google.com/store/apps/details?id=com.franco.kernel
I'm wait this moment. Thanks FF!
@franciscofranco The king is here!!!!Tnx buddy!!
can it be flash over another custom kernel?
Thank you for supporting Oneplus 5! Using now and it's very smooth.
Just want to report also that the stock screen gestures (double tap to wake, draw O for camera etc) are not working yet
lohaanaa said:
can it be flash over another custom kernel?
Click to expand...
Click to collapse
Nope....first stock kernel...after custom one....
Great work Franco!
After a reboot, the phone boots to default color calibration and it takes like 10-20 seconds to switch to DCI-P3 or SRGB.
PS:Gestures are broken too.
The kernel is systemless?
Sent from ONEPLUS A5000 by Tapatalk
v7 said:
After a reboot, the phone boots to default color calibration and it takes like 10-20 seconds to switch to DCI-P3 or SRGB.
PS:Gestures are broken too.
Click to expand...
Click to collapse
Color calibration did not reset for me. Working fine. But Gestures don't work when screen is off.
I don't see the discount price for the Manager & Updater in the PlayStore.
Edit: price already updated in the store
@franciscofranco
fsync seems to be causing issues for me. With fsync disabled some apps fc after being cleared and some other work fine. After reenableing fsync everything returns to normal.
I´am running the latest stock rom with the only modificatiion being your kernel and magisk.
here is a short vid. of it in action: https://gfycat.com/MemorableMemorableCaecilian
logcat (sorry its quite huge ) https://www.dropbox.com/s/w2rbudldqw3ofvr/log.txt?dl=0
AlfalfaX said:
fsync seems to be causing issues for me. With fsync disabled some apps fc after being cleared and some other work fine. After reenableing fsync everything returns to normal.
I´am running the latest stock rom with the only modificatiion being your kernel and magisk.
here is a short vid. of it in action: https://gfycat.com/MemorableMemorableCaecilian
Click to expand...
Click to collapse
Grab a logcat.
Nice, I missed you (used Franco on my 3T). Already have the app, but nice for new users with discount :highfive:
Nice thanks
lohaanaa said:
can it be flash over another custom kernel?
Click to expand...
Click to collapse
Flash full zip. Let it boot. Boot back too twrp then flash kernel

[Kernel][LOS/CAF][M/N] Linux 3.10 custom kernel v3

Linux 3.10-based kernel for Oneplus One (bacon)
Info:
use this kernel at your own risk. Flashing it the wrong way might brick your device. I'm not responsible for any software/hardware damage.
This kernel is based on top of erorcun's 3.10 kernel. erorcun has spent an enormous time working on this project and he deserves a huge "Thank you" for having succeeded in one of the most difficult tasks in Android development: upgrading a device to a newer Linux release.
Features:
v3 (12th December)
built with O3 optimizations
CAF CPU boosting driver (replaces cpu_input_boost - might be a temporary switch)
kernel code base updated to Linux 3.10.60
sdcardfs updates
minor miscellaneous improvements
old releases:
v2.1
minor stability fix
v2 (12th November)
kernel code base updates reverted, then re-applied only up to 3.10.54
compiled with an improved set of GCC flags
tuned AIO for SSD-only machines
v1 (30th October)
built with GCC 5, UBER Toolchain and the optimal compiler flags for Krait CPUs
kernel code base upgraded to Linux 3.10.88
power-efficient workqueues
sound control by francisconfranco
CPU voltage control
cpu_input_boost by Sultanxda
sdcardfs & f2fs support
support for both LineageOS's and Sultan's camera HALs
Compatibility
The kernel is compatible with all the Marshmallow/Nougat ROMs that use either LineageOS's camera HAL or Sultan's (a.k.a. CAF's). Just make sure you download the right version
Currently, the kernel has been tested only on LineageOS 14.1, but I'm sure the CAF build is safe to flash and works properly as well.
The kernel doesn't work on Oreo (yet)!
Download
The kernel can be download from AFH: 3.10 kernel on AndroidFileHost
Thanks to:
erorcun, franciscofranco, Sultanxda, CAF & UBER, Mecca EL.
XDA:DevDB Information
Tom's Linux 3.10 kernel, Kernel for the OnePlus One
Contributors
Tomoms, erorcun
Source Code: https://github.com/Tomoms/neon_kernel_bacon
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 3.0
Stable Release Date: 2017-12-12
Created 2017-10-30
Last Updated 2017-12-12
thanks man! any plans on oreo version?
criminality said:
thanks man! any plans on oreo version?
Click to expand...
Click to collapse
Everything will come in due time
It's one of the things I'll work on soon. Be patient, and you'll eventually get what you want
Thank you for this.
Don't know if it's your Lineage rom or this kernel, but video that i record is really stuttery. Like very janky.
I recorded the video with the build-in snap camera.
Fatsodonkey said:
Thank you for this.
Don't know if it's your Lineage rom or this kernel, but video that i record is really stuttery. Like very janky.
I recorded the video with the build-in snap camera.
Click to expand...
Click to collapse
Could you tell me the exact resolution you used?
Tomoms said:
Could you tell me the exact resolution you used?
Click to expand...
Click to collapse
Happens with all resolutions. I already tested Sultans Lineage as well with this kernel and the same thing happens. Don't know if it tries to record it too fast as it seems to be too quick and stutters a lot.
The Los kernel seems to work fine with video recording altough i just dirty flashed it on top of Boefflas kernel.
E:It definetly is the kernel that is causing the stutter.
Fatsodonkey said:
Happens with all resolutions. I already tested Sultans Lineage as well with this kernel and the same thing happens. Don't know if it tries to record it too fast as it seems to be too quick and stutters a lot.
The Los kernel seems to work fine with video recording altough i just dirty flashed it on top of Boefflas kernel.
E:It definetly is the kernel that is causing the stutter.
Click to expand...
Click to collapse
I'll compare the camera driver present in this kernel and the one in Sultan's kernel, then try to fix this. Unfortunately at the moment this is the best thing we can achieve, CAF camera support had always got some small problems even in erorcun's build if I recall correctly, and these problems are inevitably "inherited" by my kernel.
Thank you for working on this, I was looking forward to release since I saw your announcement in erorcun's thread.
Firstly i tried to dirty flash kernel on top of LineageOS build (N) by idprophecy, since i got positive experience changing kernels (3.4 ones) this way even with encrypted phone. So when i tried to boot up with new kernel, unfortunately it did not work and phone says my password is correct but encryption partition is broken and i need to hard reset.
I went to clean install, removed encryption and flash same LinOS build + your kernel. Then i encrypted phone again and everything went fine. However now my TWRP refuses password for decrypting partitions (its was like that in early N development for bacon on many roms).
Overall perfomance is not really smooth comparing with 3.4 kernels, but i didnt bothered to play with kernel setting.
Also i cant get MTP working, phone only charging via usb and PC (Windows) cannot see its memory.
I know this report is probably useless without kmsg logs, but i didnt have time to pull them off, so sorry about that. I try do it later
TbMa said:
Thank you for working on this, I was looking forward to release since I saw your announcement in erorcun's thread.
Firstly i tried to dirty flash kernel on top of LineageOS build (N) by idprophecy, since i got positive experience changing kernels (3.4 ones) this way even with encrypted phone. So when i tried to boot up with new kernel, unfortunately it did not work and phone says my password is correct but encryption partition is broken and i need to hard reset.
I went to clean install, removed encryption and flash same LinOS build + your kernel. Then i encrypted phone again and everything went fine. However now my TWRP refuses password for decrypting partitions (its was like that in early N development for bacon on many roms).
Overall perfomance is not really smooth comparing with 3.4 kernels, but i didnt bothered to play with kernel setting.
Also i cant get MTP working, phone only charging via usb and PC (Windows) cannot see its memory.
I know this report is probably useless without kmsg logs, but i didnt have time to pull them off, so sorry about that. I try do it later
Click to expand...
Click to collapse
Definitely would need a log, to see what the issue is, with your experiences.
I've been alpha and beta testing this kernel, and I'm not experiencing any of the problems you and other users are describing. Clean install @idprophecy LOS14.1, flash this kernel, reboot back to recovery and flash MagiskSU, enjoy an ultra responsive OPO.
TbMa said:
Thank you for working on this, I was looking forward to release since I saw your announcement in erorcun's thread.
Firstly i tried to dirty flash kernel on top of LineageOS build (N) by idprophecy, since i got positive experience changing kernels (3.4 ones) this way even with encrypted phone. So when i tried to boot up with new kernel, unfortunately it did not work and phone says my password is correct but encryption partition is broken and i need to hard reset.
I went to clean install, removed encryption and flash same LinOS build + your kernel. Then i encrypted phone again and everything went fine. However now my TWRP refuses password for decrypting partitions (its was like that in early N development for bacon on many roms).
Overall perfomance is not really smooth comparing with 3.4 kernels, but i didnt bothered to play with kernel setting.
Also i cant get MTP working, phone only charging via usb and PC (Windows) cannot see its memory.
I know this report is probably useless without kmsg logs, but i didnt have time to pull them off, so sorry about that. I try do it later
Click to expand...
Click to collapse
I faced the same MTP problem when I started developing this kernel several months ago. But I'm sure it appeared at a later stage of development. So MTP shouldn't be an issue as of now. Also, according to @Mecca EL, there should be a substantial performance improvement.
Mecca EL said:
Definitely would need a log, to see what the issue is, with your experiences.
I've been alpha and beta testing this kernel, and I'm not experiencing any of the problems you and other users are describing. Clean install @idprophecy LOS14.1, flash this kernel, reboot back to recovery and flash MagiskSU, enjoy an ultra responsive OPO.
Click to expand...
Click to collapse
So can you confirm MTP is working on this kernel? What about video recording? Is it lagging or not? I still haven't had enough time to thoroughly try my own kernel :/
Thank you.
Mecca EL said:
Definitely would need a log, to see what the issue is, with your experiences.
I've been alpha and beta testing this kernel, and I'm not experiencing any of the problems you and other users are describing. Clean install @idprophecy LOS14.1, flash this kernel, reboot back to recovery and flash MagiskSU, enjoy an ultra responsive OPO.
Click to expand...
Click to collapse
What about encryption? Are your TWRP able to decrypt data with this kernel?
Tomoms said:
I faced the same MTP problem when I started developing this kernel several months ago. But I'm sure it appeared at a later stage of development. So MTP shouldn't be an issue as of now. Also, according to @Mecca EL, there should be a substantial performance improvement.
So can you confirm MTP is working on this kernel? What about video recording? Is it lagging or not? I still haven't had enough time to thoroughly try my own kernel :/
Thank you.
Click to expand...
Click to collapse
I'll double check, and do a complete run down on this latest one, in case it differs from the last one you sent me.
---------- Post added at 08:56 AM ---------- Previous post was at 08:53 AM ----------
TbMa said:
What about encryption? Are your TWRP able to decrypt data with this kernel?
Click to expand...
Click to collapse
I've not set encryption. I've seen way too many problems with that across almost all android devices. I'll see if it's not too much trouble to set and test for you, if I'm able to revert to unencrypted easily.
Mecca EL said:
I'll double check, and do a complete run down on this latest one, in case it differs from the last one you sent me.
---------- Post added at 08:56 AM ---------- Previous post was at 08:53 AM ----------
I've not set encryption. I've seen way too many problems with that across almost all android devices. I'll see if it's not too much trouble to set and test for you, if I'm able to revert to unencrypted easily.
Click to expand...
Click to collapse
Well i am using encryption since early MM and not a single problem if developer of rom and kernel did his work fine. Biggest payoff its hit battery.
Unfortunately you cant revert encryption without formating whole internal storage, so its a little bit complicated with backups and etc
MTP is not working for me either, I'm using the CAF kernel on LineageOS by Sultan.
SirSoviet said:
MTP is not working for me either, I'm using the CAF kernel on LineageOS by Sultan.
Click to expand...
Click to collapse
Thanks for your feedback, I'll do my best to fix this issue as soon as possible. Do you face the video recording issue?
Tomoms said:
Thanks for your feedback, I'll do my best to fix this issue as soon as possible. Do you face the video recording issue?
Click to expand...
Click to collapse
I never record videos, so I don't know. I'll check later today.
@Tomoms ,just a heads up: kernel works fine with Marshmallow(los13).
Mr.Ak said:
@Tomoms ,just a heads up: kernel works fine with Marshmallow(los13).
Click to expand...
Click to collapse
Thank you for letting me know. I'll immediately update the thread.
SirSoviet said:
I never record videos, so I don't know. I'll check later today.
Click to expand...
Click to collapse
Nothing wrong with video recording here.
SirSoviet said:
Nothing wrong with video recording here.
Click to expand...
Click to collapse
Hmm... I'll try it myself soon. In the meantime, my main concern will be fixing MTP, and it won't take me too much, fortunately.

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

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
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.
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.
FAQs, Status Updates & Others
Reserved
Awesome! I'll be trying this out on Stock OOS (no mods).
Excelent Kernel, no problem for here, fluid, smooth and fast. Waiting for battery duration for tomorrow. [emoji1303][emoji41][emoji1303]
Enviado desde mi ONEPLUS A5000 mediante Tapatalk
Awesome.. Currently using renderzenith. Gonna try this now
Nice to see your work finally here mate
so tempted to try...
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?
Which one will give more battery optimisation - renderzenith or helix kernel - with AKT??
anujyadava said:
Which one will give more battery optimisation - renderzenith or helix kernel - with AKT??
Click to expand...
Click to collapse
It will be more or less the same . Because when the script is applied it will change the governor and the values so result should be the same .
prajnay said:
It will be more or less the same . Because when the script is applied it will change the governor and the values so result should be the same .
Click to expand...
Click to collapse
Should I use the kernel alone or with AKT for more battery optimisation??
Right not using render Zenith.
This is awesome, finally we've got both your kernel and AKT for the cheeseburger and I know there is lot more to come. All the best buddy, I look forward to the development.
@Mostafa Wael glad to see you taking your first step in kernel development! Looking forward for more
I just wanted a post here xD well done mate! Glad to see you in the kernel devving scene!
Sent from my HTC 10 using XDA Labs
Awesome
Enviado desde mi ONEPLUS A5000 mediante Tapatalk
StarzSkyz said:
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?
Click to expand...
Click to collapse
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!
anujyadava said:
Which one will give more battery optimisation - renderzenith or helix kernel - with AKT??
Click to expand...
Click to collapse
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
Would anybody like to share the results ?
Sent from my ONEPLUS A5000 using Tapatalk

[KERNEL][Oreo/P]Ether Kernel

Ether
The kernel for enthusiasts
This kernel is built BY a ROM enthusiast FOR a ROM enthusiast.
The features will always revolve around customization and fluidity.
For now; the kernel includes a SafetyNet patch and KCAL patches to provide easy access to custom color profiles.
The main idea is upstream stability, and ROOT-ability. This kernel can be flashed to the latest android P preview, followed by the latest Magisk beta to obtain root on the latest developer preview.
The Idea
This kernel is meant to be absolutely bear-bones MINIMAL.
In an ideal world, this would mean a safety-net patch, custom cross-compiler/toolchain, and bare-minimum quality-of-life patches (like KCAL for night-light/blue-light-filter).
Requests
You may DM me with feature requests, and I'm sure I will compile a custom kernel for you with the features you request, however I cannot guarantee you a place in the master branch of my Ether kernel. This is simply because this is meant to be absolutely barebones.
Source
The source code is available at my github here. I encourage you to poke around and try to build your own kernel with your own custom patches. It's a very rewarding experience and I'm sure 'hackers' will love to play around with your builds.
I have attached some releases here, I'm sure, but the latest release will always be available at my github releases
XDA:DevDB Information
Ether Kernel, Kernel for the Google Pixel 2 XL
Contributors
TheNightman
Source Code: https://github.com/TheNightmanCodeth/ether-kernel
Kernel Special Features: Ether kernel ships with KCAL and SafetyNet patch. This means that you can use Ether on the latest developer preview to attain root and keep your SafetyNet status.
Version Information
Status: Beta
Current Beta Version: v1.0
Beta Release Date: 2018-03-18
Created 2018-03-18
Last Updated 2018-03-21
Taimen_#1
Thanks
Installed on P ?
TheNightman said:
Ether
The kernel for enthusiasts
This kernel is built BY a ROM enthusiast FOR a ROM enthusiast.
The features will always revolve around customization and fluidity.
For now; the kernel includes a SafetyNet patch and KCAL patches to provide easy access to custom color profiles.
The KCAL patch is a bit new, so some apps (like Night Light on F-Droid) will NOT work ootb. I am, however, working on finding a way around these limitations.
The main idea is upstream stability, and ROOT-ability. This kernel can be flashed to the latest android P preview, followed by the latest Magisk beta to obtain root on the latest developer preview.
The Idea
This kernel is meant to be absolutely bear-bones MINIMAL.
In an ideal world, this would mean a safety-net patch, custom cross-compiler/toolchain, and bare-minimum quality-of-life patches (like KCAL for night-light/blue-light-filter).
Requests
You may DM me with feature requests, and I'm sure I will compile a custom kernel for you with the features you request, however I cannot guarantee you a place in the master branch of my Ether kernel. This is simply because this is meant to be absolutely barebones.
Source
The source code is available at my github here. I encourage you to poke around and try to build your own kernel with your own custom patches. It's a very rewarding experience and I'm sure 'hackers' will love to play around with your builds.
I have attached some releases here, I'm sure, but the latest release will always be available at my github releases
XDA:DevDB Information
Ether Kernel, Kernel for the Google Pixel 2 XL
Contributors
TheNightman, TheNightman
Source Code: https://github.com/TheNightmanCodeth/ether-kernel
Kernel Special Features: Ether kernel ships with KCAL and SafetyNet patch. This means that you can use Ether on the latest developer preview to attain root and keep your SafetyNet status.
Version Information
Status: Beta
Current Stable Version: v10.00
Stable Release Date: 2018-04-20
Current Beta Version: v2.0
Beta Release Date: 2018-03-18
Created 2018-03-18
Last Updated 2018-03-18
Click to expand...
Click to collapse
Welcome & thank you.
Nice to see! Kudos
Yay another kernel! Thank you.
Awesome. Thank you
Sent from my Pixel 2 XL using Tapatalk
Don't think fastcharge is working had on charge for 4 hours from 28% get to 70%
jaythenut said:
Don't think fastcharge is working had on charge for 4 hours from 28% get to 70%
Click to expand...
Click to collapse
New version fixes this. Sorry about that!!
https://github.com/TheNightmanCodeth/ether-kernel/releases/tag/v1.1
Takes me to bootloader screen after installation. Trying on RR
Sent from my Pixel 2 XL using Tapatalk
piyush7243 said:
Takes me to bootloader screen after installation. Trying on RR
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
Did it flash to correct slot
shindiggity said:
Did it flash to correct slot
Click to expand...
Click to collapse
Yep. Every other kernel works fine.
Sent from my Pixel 2 XL using Tapatalk
piyush7243 said:
Yep. Every other kernel works fine.
Click to expand...
Click to collapse
Have you tried removing the dtbo.img like you have to do with elemental?
p70shooter said:
Have you tried removing the dtbo.img like you have to do with elemental?
Click to expand...
Click to collapse
I was wondering why elemental threw me for a loop. How does one remove dtbo.img ?
Guessphx said:
I was wondering why elemental threw me for a loop. How does one remove dtbo.img ?
Click to expand...
Click to collapse
If you're on a custom ROM you sometimes need to remove the dtbo.img file from the zip. I think I'm using an older version of Anykernel. I'll add an updated zip to the OP in a few minutes to see if that sorts it out.
@Guessphx Just updated OP. Give it a shot, and it it doesn't work -- try this one
TheNightman said:
@Guessphx Just updated OP. Give it a shot, and it it doesn't work -- try this one
Click to expand...
Click to collapse
I was having the same issue and can confirm this kernel you just linked, 1.2 w/o dtbo file boots!
TheNightman said:
@Guessphx Just updated OP. Give it a shot, and it it doesn't work -- try this one
Click to expand...
Click to collapse
1.2 worked with me as well. Thanks
Sent from my Pixel 2 XL using Tapatalk
Kcal profiles doesn't work. What app you guys using?
Sent from my Pixel 2 XL using Tapatalk
piyush7243 said:
Kcal profiles doesn't work. What app you guys using?
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
I've been looking into it I think I just left out a config flag. It'll be fixed in the next release

[ROM][4.4][UNOFFICIAL] LineageOS 16.0 with 4.4 kernel

LineageOS 16.0 for Xiaomi Mi 5 with 4.4 kernel
Remember this is a beta release, althought I've been using it for more than a week and it's working perfectly.
If you experience any bugs, panics or so, please report full logs to me (logcat and dmesg, you can look in /sys/fs/pstore)
Installation:
You can flash it on top of OFFICIAL 3.18 LOS also you can always go back within a dirty flash.
For safety reasons always perform a backup of your important data!
Features:
This is well-known LOS, none of the functionalities have been altered.
Build is running 4.4.189 kernel with many improvements over 3.18, it will keep this device alive for upcoming Android releases.
Kernel is suited with initial bug fixes, however, it's a stock kernel without any advanced tweaks. It's built with CLANG (!).
Working:
Probably everything!
Not working:
Kernel is permissive
Temporary MTP fix (I didn't have enough time to investigate it well):
Developer settings -> Default USB conf -> MTP -> connect cable -> profit
READ ONLY IF YOUR DEVICE IS ENCRYPTED:
There is an incompatibility between 3.18 and 4.4 kernels, you have to flash new TWRP with 4.4 kernel, otherwise your data partition will be DAMAGED!
Nevertheless there could be a need to full wipe your /data (magic Format Data button in TWRP) so perform a FULL BACKUP.
Download:
LineageOS zip
TWRP
Future development:
Device tree will be created from scratch over new Qualcomm tag to get rid of old junk. Full Treble compability will be provided.
More kernel bug fixes
Vendor update
FAQ:
Can I install XXX ? Does it support XXX ?
- It's still LOS, it supports everything what stock LOS does.
Can't you ship kernel package only?
- No, ROM has to be modified to meet 4.4 requriements. You can't flash 4.4 kernel on top of 3.18 ROM.
But why 4.4? Do I need it?
- More fixes, more performance, more support. If you want, search for kernel changelog.
EAS?
- Not now, there are more important things to work on.
If you want to buy me a coffee, please consider donating, I've put much effort to make it working.
DONATE
Join Mi5 group on Telegram
Huge thanks to Zuk kernel team for initial 4.4 support!
Credits:
@DD3Boh
@YaroST12
@kenny3fcb
@Luk1337 - fix for USB
@Jawor245 - random stuff
@RadixCube
XDA:DevDB Information
LineageOS 16.0 with 4.4 kernel, ROM for the Xiaomi Mi 5
Contributors
xNombre
Source Code: https://github.com/xNombre/msm-4.4
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Version Information
Status: Beta
Created 2019-09-01
Last Updated 2019-09-01
Reserved
Reserved
In Antutu 7.2.3 tested fresh, stock LOS + nano gapps and fresh this rom + nano gapps on my 32Gb version. Biggest improvement for my device is memory +22% in Antutu points.
Stock: 144 086 overall
CPU: 50 420
GPU: 53 892
UX: 34 159
MEM: 5 615
4.4 LOS: 148 079 overall
CPU: 50 600
GPU: 54 615
UX: 35 657
MEM: 7 207
@xNombre great job!
I'll be testing your ROM in the future for sure. Looks very promising.
It would be great if you pulled the Floppy Kernel mods to tweak your 4.4 kernel
(Just my wish)
However, congratulations man.
I really appreciate your effort I would love to test your ROM But I only want to know 2 things before if someone can help.
1. Can I use it as daily driver?
2. Android Auto is working?
3. Will I need to do clean flash for future updates? Atleast for couple weeks.
Thanks
I'm using it for two weeks and no problems here.
If Android Auto is working on official LOS it will for for mine, too.
Nope, not for now.
#edit
Here is the new kernel you can flash on top of my LOS. (DON'T FLASH IT ON ANYTHING ELSE)
https://androidfilehost.com/?fid=1899786940962575411
Changelog:
add exFAT and NTFS
fix problems with wakelocks
use LZ4 for ZRAM
debloat a bit
skip sync for better battery
@xNombre What is the reason behind choosing 4.4 instead of a newer LTS version like 4.9 or 4.14? Or was the decision out of your hands?
Damn, do you think it's easy to port it on 4.14? For small group of users? Totally for free?
Two devices were fried with 4.9 kernel test version and in result I've spent many many hours of work for nothing.
Och, and remember, I had to buy a new mobo to restore my dd.
msm8996 has official support of 4.4 kernel and that's enough. I won't go any further, even if it's possible.
xNombre said:
Damn, do you think it's easy to port it on 4.14? For small group of users? Totally for free?
Two devices were fried with 4.9 kernel test version and in result I've spent many many hours of work for nothing.
Och, and remember, I had to buy a new mobo to restore my dd.
msm8996 has official support of 4.4 kernel and that's enough. I won't go any further, even if it's possible.
Click to expand...
Click to collapse
Whoa, calm down, mate. I just wanted to know the rationale. Knowing that msm8996 supports 4.4 is good enough for me. :good:
Sorry to hear about the two damaged devices, though. That must have been extremely frustrating.
xNombre said:
Damn, do you think it's easy to port it on 4.14? For small group of users? Totally for free?
Two devices were fried with 4.9 kernel test version and in result I've spent many many hours of work for nothing.
Och, and remember, I had to buy a new mobo to restore my dd.
msm8996 has official support of 4.4 kernel and that's enough. I won't go any further, even if it's possible.
Click to expand...
Click to collapse
Lots of love for 4.4 kernel.
Hello
Thanks for this amazing work.
I have a question (probably stupid) will voWifi work better than with a 3.18 kernel or there is no relationship between kernel and voWifi?
Thank you for your work. This is quite big actually.
Thx
Myxomatom said:
Hello
Thanks for this amazing work.
I have a question (probably stupid) will voWifi work better than with a 3.18 kernel or there is no relationship between kernel and voWifi?
Click to expand...
Click to collapse
There it no correlation between kernel and RIL. No changes here. Maaybe sth nice will happen with new vendor blobs but you have to wait for it.
great job, it heats a lot less than the miui .. today it's only the first day but it seems to me that the battery lasts much longer !!
bido1 said:
great job, it heats a lot less than the miui .. today it's only the first day but it seems to me that the battery lasts much longer !!
Click to expand...
Click to collapse
yeah ... been using it for the last 3 days ... the battery performance is better than the official one without any tweak
can't flash it under lineage-16.0-20190809-nightly-gemini-signed.zip. error code: 7. any clue why?
netrixken said:
can't flash it under lineage-16.0-20190809-nightly-gemini-signed.zip. error code: 7. any clue why?
Click to expand...
Click to collapse
Are you using TWRP provided in first post?

Categories

Resources