Introduction
nem0 Kernel is CAF based kernel aiming to provide great stability and performance while maxing out battery life!
Code:
// 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 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.
Main Features:
- Unified for OOS 10 and Android 10/11 Custom ROMs
- Based and upstreamed to latest CAF tags for the SD855
- Upstreamed to latest Linux-Stable
- Upstreamed to latest F2FS stable
- Compiled with Clang 13 and -O3 speed optimizations flags
- SCS, CFI, DCE, Polly optimizations
- Simple LMK driver from kerneltoast
- BBR2 TCP congestion algorithm
- 675 MHz GPU OC
- PELT scheduling mechanism
- Many scheduler backports from mainline and/or 4.19 Google kernel
- Zip made using latest AnyKernel3 release, retains root on flash (Stable Magisk 21.4 or higher reccommended)
- Zip flashable through EXKM/FKM/TWRP
*FKM over-the-air updates are supported, import the following json:
*(https://raw.githubusercontent.com/nem0-z/android_kernel_oneplus_sm8150/master/ota/update.json)
- Many more features I don't remember right now, check source if you're interested or contact me on Telegram!
Bug reports:
- If you want to report a bug, please provide some sort of logs (logcat, dmesg)
Flashing instructions:
- Just flash it through TWRP or EX or Franco's Kernel Manager apps
- No sorts of configs needed, flash and be happy out of the box
Downloads
Stable and Test builds: Google Drive
Kernel being actively tested in this group: Telegram
Donations
If you would like to keep this project going with more improvements, feel free to support it: PayPal
Thank you to:
@0ctobot(Adam Willis) for great Neutrino Kernel base
@osm0sis for AnyKernel
@nathanchance for help with upstreams
@topjohnwu for magisk
@idkwhoiam322, @KuranKaname for being good friends
@BobAzzon, @npv12, @Gabyrx7, @Reechings and rest of my dear friends that tested the kernel (really, wouldn't be possible without you guys <3)
Contributors
nem0 aka AnnoyingZlatan
Source Code: GitHub
Version Information
Status: Stable
Created 2021-01-31
Last Updated 2021-01-31
Reserved
Meh, just in case
Works fine with latest crDroid build so far, although I lost root after flashing kernel only in TWRP (using Magisk Canary).
AnnoyingZlatan said:
- Zip made using latest AnyKernel3 release, retains root on flash
Click to expand...
Click to collapse
Toutatis_ said:
Works fine with latest crDroid build so far, although I lost root after flashing kernel only in TWRP (using Magisk Canary).
Click to expand...
Click to collapse
Yeah, latest AnyKernel 3 update works best with stable Magisk, so v21.4 and higher(once that comes), sorry about that, will edit the OP.
Unified for OOS 10 and Android 10/11 Custom ROMs
so is it not for OOS 11 OB1? Sorry for bad English
Get it while it's hot, been using this for a month. Great battery, snappy as sh*t. And the overall performance is second to none.
WesTD said:
Unified for OOS 10 and Android 10/11 Custom ROMs
so is it not for OOS 11 OB1? Sorry for bad English
Click to expand...
Click to collapse
No not yet
Ok people, v1.1 is out. It's a minor update.
Changelog:
- Switched to latest Clang 13 compiler
- Disable TTWU_QUEUE (noticed some regressions with it)
- Increase limit on schedtune groups from 7 to 8
You can find the build on Google Drive as always, link in OP
AnnoyingZlatan said:
Ok people, v1.1 is out. It's a minor update.
Changelog:
- Switched to latest Clang 13 compiler
- Disable TTWU_QUEUE (noticed some regressions with it)
- Increase limit on schedtune groups from 7 to 8
You can find the build on Google Drive as always, link in OP
Click to expand...
Click to collapse
Of course, you had to push this update mere minutes after I installed V1 to try it out. I feel so silly.
Regardless, installation has been smooth, doesn't overwrite Magisk in either release case, and performance feels about the same(?) as what I last used, kernel-wise? But I appreciate niceties like USB fast charge implemented. Working well on Resurrection8.x.
Can't connect to camera on guacamoleb on crDroid 6.14.
jmax91 said:
Can't connect to camera on guacamoleb on crDroid 6.14.
Click to expand...
Click to collapse
Now that you mentioned it, Camera (GCam) crashes out when it worked earlier today with my previous kernel.
Whelp. :x
SeongGino said:
Now that you mentioned it, Camera (GCam) crashes out when it worked earlier today with my previous kernel.
Whelp. :x
Click to expand...
Click to collapse
Can you try and reflash the previous kernel and see if it still happens? If yes then please share logs of those crashes as I can't reproduce it on my end and my testers had no issues.
AnnoyingZlatan said:
Can you try and reflash the previous kernel and see if it still happens? If yes then please share logs of those crashes as I can't reproduce it on my end and my testers had no issues.
Click to expand...
Click to collapse
Flashed, and it happens on v1 as well as v1.1. Log attached, using built-in camera app as the example.
The camera worked just a few hours ago, i.e. prior to me flashing this kernel, on the very same ROM (ResurrectionRemix 8.6.6), as well as there being no other substantial change (ROM, app updates, etc.) between then and now, so the environment isn't the issue.
2MIN_EDIT: Just to be sure, I reflashed my kernel previous to nem0 with no other change, and the Camera works as it should. No Camera-related Magisk tweaks installed with either; just QuickSwitch and Universal SafetyNet Fix.
SeongGino said:
Flashed, and it happens on v1 as well as v1.1. Log attached, using built-in camera app as the example.
The camera worked just a few hours ago, i.e. prior to me flashing this kernel, on the very same ROM (ResurrectionRemix 8.6.6), as well as there being no other substantial change (ROM, app updates, etc.) between then and now, so the environment isn't the issue.
2MIN_EDIT: Just to be sure, I reflashed my kernel previous to nem0 with no other change, and the Camera works as it should. No Camera-related Magisk tweaks installed with either; just QuickSwitch and Universal SafetyNet Fix.
Click to expand...
Click to collapse
Okay, would you mind coming to the Telegram group, I would like you to test some stuff out.
AnnoyingZlatan said:
Okay, would you mind coming to the Telegram group, I would like you to test some stuff out.
Click to expand...
Click to collapse
I don't usually do this, but am willing to follow through if it helps.
SeongGino said:
I don't usually do this, but am willing to follow through if it helps.
Click to expand...
Click to collapse
Ehm just to check something real quick, what device are you running?
@AnnoyingZlatan Can confirm built-in OOS Camera that comes with crDroid 7.2 (OnePlus 7 Pro) crashes after updating to 1.1. Works fine with 1.0.
Log attached.
Toutatis_ said:
@AnnoyingZlatan Can confirm built-in OOS Camera that comes with crDroid 7.2 (OnePlus 7 Pro) crashes after updating to 1.1. Works fine with 1.0.
Log attached.
Click to expand...
Click to collapse
Did you try the good old trick of long holding camera icon and going into portrait mode? I see nothing kernel related in those logs sadly.
New test build is up in Test Builds folder on Drive. Some of my testers verified camera working, need others here to test it as well. Report back please
Related
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 ①+②=❸
Code:
#include <std/disclaimer.h>
/*
* 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.
* 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. :P
* blah blah blah you get the point.
*/
This is a simple unofficial CyanogenMod 13 build with a few small tweaks and my custom kernel.
Builds are made with that day's nightly source code, with my roomservice. I try to keep my repos up to date.
How to install this:
Download this build (and MD5, if you want to verify integrity)
Download Gapps (Optional, I use OpenGAPPS Nano)
Download SuperSU (Optional, I use SuperSU Beta 2.74)
Reboot into Recovery
Wipe /cache, /data, and /system (Should only be needed on initial flash, upgrading should be seamless)
Flash ROM Zip
Flash Gapps Zip (Optional)
Flash SuperSU Zip (Optional)
Reboot & Enjoy!
How to build this (if you don't trust my builds, or want to DIY):
Sync CM13
Add my local manifest: https://github.com/javelinanddart/roomservice/blob/cm-13.0/roomservice.xml
Sync
Go to kernel/samsung/ (you may have to mkdir samsung folder, if it doesn't exist)
Clone my kernel manually into a folder called jf
git clone https://github.com/javelinanddart/android_kernel_samsung_jf -b cm-13.0 jf
Build
Make sure you manually git pull the kernel when you run a new build.
Bug Reporting:
Please read http://forum.xda-developers.com/showthread.php?t=1520508 & http://forum.xda-developers.com/wiki/Reporting_A_Problem_-_Android
before reporting any bugs. It is incredibly frustrating and useless to receive bug reports like "bt broke plz fix thx in advance....." without any other information. I would more than like to help fix your bug for you, but I cannot help without proper information.
Credits (off the top of my head):
CyanogenMod Team
@arter97
@show-p1984
and many more I can't think of off the top of my head....
Source Code:
Kernel: https://github.com/javelinanddart/android_kernel_samsung_jf
Local Manifest: https://github.com/javelinanddart/roomservice/blob/cm-13.0/roomservice.xml (for the rest of my repos)
OP Post List:
#1: Introduction
#2: Changelog
#3: Feature List
#4: Downloads
#5: Feature Explanations
#6: Known Bugs
#7: Reserved for future use
XDA:DevDB Information
Unofficial CyanogenMod 13 with Cake Kernel, ROM for the T-Mobile Samsung Galaxy S 4
Contributors
javelinanddart, CyanogenMod Team
Source Code: https://github.com/javelinanddart/
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
ROM Firmware Required: NK2
Based On: CyanogenMod
Version Information
Status: Stable
Created 2016-06-02
Last Updated 2016-06-02
Changelog:
Aug 1, 2016
Sync with CM
Initial Rerelease
Cleaned Everything Up
Enable LiveDisplay by Default
June 7, 2016
Sync with CM
Fix 1080p Video Playback
Potentially fixed micro lag while scrolling
June 1, 2016
Initial Release
ROM Feature List:
Built with -O3 Optimization (GCC & Clang)
Built with UBERTC GCC 5.3 Toolchain
Built with Java 8
Some apk Optimizations (from @arter97)
Kernel Feature List:
Built with -O3 Optimization
Built with UBERTC GCC 5.3 Toolchain
Fsync Toggle
MSM_MPDEC
Bricked Thermal
CPU Toggle
IO Scheduler Optimizations
/dev/frandom Support
Gentle Fair Sleepers & Arch Power Toggle
MMC CRC Toggle
Dynamic Readahead
Lowered Swappiness
Aggressive Multi Core Power Saving
Simple GPU Governor
CPU Voltage Control
GPU Voltage Control
Fast Charge
Badass Governor
FIOPS I/O Scheduler
Sound Control
Backlight Dimmer
Disabled Input Boost
Added patch to fix Entropy Depletion
Potential Benefits of These Features:
Better Battery Life
Downloads:
NOTE: You will need to turn off ad block in order to download these builds. The wonderful Codefire team has provided me with access to this build server for free (thanks specifically to @thecubed) and in order to try to make it break even, they rely on ad revenue. @thecubed takes a loss on this server every month, so please help this guy to keep providing this wonderful service to developers for free. Thanks for understanding!
MIRRORS ARE NOT ALLOWED!!! (Mods: Please help me enforce this)
BUILDS PULLED
KNOWN BUGS:
Upstream CM Bugs
Micro Lag when Scrolling (Possibly)
You tell me....
Reserved 6
Reserved 7
javelinanddart said:
KNOWN BUGS:
Upstream CM Bugs
Micro Lag when Scrolling (Working on it)
You tell me....
Click to expand...
Click to collapse
Do you mind my asking if you are using this rom now or are you just working on it?
I would like to update to a 6.0 rom but don't really want to give up much functionality. I am using 5.1.1 and I do like it but would like the security updates of the newer rom while I decide which new device if any to purchase. Thanks
darazor said:
Do you mind my asking if you are using this rom now or are you just working on it?
I would like to update to a 6.0 rom but don't really want to give up much functionality. I am using 5.1.1 and I do like it but would like the security updates of the newer rom while I decide which new device if any to purchase. Thanks
Click to expand...
Click to collapse
I am both using it and working on it. As far as I know, all device features are fully functional (camera, GPS, IR, etc). Nothing I've tried has been broken, except the occasional google play services crash, which is Google's fault. As far as ROM features go, I haven't done much of a comparison with any LP ROMs.
To clarify, what I meant by working on it, I meant I was trying to fix that bug.
javelinanddart said:
I am both using it and working on it. As far as I know, all device features are fully functional (camera, GPS, IR, etc). Nothing I've tried has been broken, except the occasional google play services crash, which is Google's fault. As far as ROM features go, I haven't done much of a comparison with any LP ROMs.
To clarify, what I meant by working on it, I meant I was trying to fix that bug.
Click to expand...
Click to collapse
Thanks for the quick response. I am still on the MDL boot loader with OK3 base band is that a deal breaker?
Also is this compatible with xposed. I've read that they don't work well together. At this stage I could live without it but just for clarification and planning purposes. I like to have a path in my mind as I update.
darazor said:
Thanks for the quick response. I am still on the MDL boot loader with OK3 base band is that a deal breaker?
Also is this compatible with xposed. I've read that they don't work well together. At this stage I could live without it but just for clarification and planning purposes. I like to have a path in my mind as I update.
Click to expand...
Click to collapse
I've no idea with either, unfortunately. I've only ever had this phone with NK2 baseband, and I've never used Xposed, I've never had a use for it. Sorry.
javelinanddart said:
I've no idea with either, unfortunately. I've only ever had this phone with NK2 baseband, and I've never used Xposed, I've never had a use for it. Sorry.
Click to expand...
Click to collapse
I've spent the last several hours installing etc. This rom is GREAT! While I will have to test more, at this stage everything I've installed works perfectly and the bootloader/baseband doesn't seem to be an issue. Even AdAway has been perfect so far. I will expore the Xposed option later but if it isn't viable I can live very well with the current setup. I will report more unless someone else covers the topic. If anyone is hesitant to try this rom, don't be. Out of the box it is much more than I could have hoped for.
Disable adblock ?
Nope
Grudger said:
Disable adblock ?
Nope
Click to expand...
Click to collapse
1. Just to download the ROM
2. If you're not willing to help support the people who do this FOR FREE by turning off adblock for a few minutes, or even just on the download site, then realize that it's people like you who are going to cause free services to go extinct.
javelinanddart said:
1. Just to download the ROM
2. If you're not willing to help support the people who do this FOR FREE by turning off adblock for a few minutes, or even just on the download site, then realize that it's people like you who are going to cause free services to go extinct.
Click to expand...
Click to collapse
I just prefer donations and the thanks button
As soon as I try out the ROM though.
Grudger said:
I just prefer donations and the thanks button
As soon as I try out the ROM though.
Click to expand...
Click to collapse
I don't really care about donations, but the ad supported download page helps the owner of the build server I use, he gives it to me for free. I could not provide these builds if he wasn't so gracious as to let me use his build server for free. He consistently pulls losses from it, which makes it difficult to justify after a while. If you want to donate to someone (you'll still need to turn off adblocker on the download page, because he can't disable ads just for you unfortunetely), donate to @thecubed, it's his server.
javelinanddart said:
I don't really care about donations, but the ad supported download page helps the owner of the build server I use, he gives it to me for free. I could not provide these builds if he wasn't so gracious as to let me use his build server for free. He consistently pulls losses from it, which makes it difficult to justify after a while. If you want to donate to someone (you'll still need to turn off adblocker on the download page, because he can't disable ads just for you unfortunetely), donate to @thecubed, it's his server.
Click to expand...
Click to collapse
As I said before like this rom very much. Only issue so far is the standard CM bluetooth problem "Unfortuneatly bluetooth share has stopped". Are or have you been able to connect with BT?
darazor said:
As I said before like this rom very much. Only issue so far is the standard CM bluetooth problem "Unfortuneatly bluetooth share has stopped". Are or have you been able to connect with BT?
Click to expand...
Click to collapse
I unfortunately have not tested BT, and I don't really have any devices to test, except maybe connecting to my other phones. I will be out all of today, however I noticed a very annoying video playback bug that I will try to fix today.
New build is UP!
Changelog:
-Synced with CM
-Fix 1080p Video Playback
-Possibly fixed scrolling lag
Many thanks for your work on this ROM for our phones! :good::good:
Fingers xx'd that someday soon BT problems will be past us.
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
Enchanted LineageOS 17.1 with 4.4 Infinity EAS Kernel
Gemini forever alive!
Download:
TWRP with 4.4 kernel
LineageOS 17.1
Installation:
If you are on stock TWRP you need to flash 4.4 to avoid any problems like /data corruption!
You need to perform a factory reset (format /data)!
Flash rom, gapps/microG and optionally magisk.
Known bugs:
Camera hang in Snap when switching to HDR (click back button and open camera again, boom, it's working)
Join Mi5 group on Telegram
Please consider donating to my hard work
https://paypal.me/xNombre
XDA:DevDB Information
Enchanted LineageOS 17.1 with 4.4 kernel, ROM for the Xiaomi Mi 5
Contributors
xNombre
Source Code: https://github.com/xNombre
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
Version Information
Status: Stable
Created 2020-01-06
Last Updated 2020-04-02
Reserved
Antutu Score
Reserved
¯\_(ツ)_/¯
Thanks for your hard work
hi
tanx 4 ur hard work
i want know about battery life plz..
install instruction?
and best frimware?
tanx
Can not change battery icon style it is stuck on Icon Portrait.
Hi @xNombre, just 2 quick questions regarding the the kernel used in your LOS release:
1- Does the kernel support HW Encryption? I remember on Havoc 2.9 (Android P) there was a port of 4.4 kernel with working HW crypto.
2- Will you release a standalone package of the infinity kernel in the future that can be used with other ROMs?
Thanks!
do we need jdc treble for this or what? since it "treble"
What about battery life?
can i flash other android 10 gsi based on this rom since it "treble"
immediately banned from telegram group right after joined. not even wrote a message or got a warning. interesting way to manage a community group.
i'll be around for feedbacks. thanks for your effort anyways.
nebik said:
Can not change battery icon style it is stuck on Icon Portrait.
Click to expand...
Click to collapse
It's LOS bug.
3V0LU710N said:
Hi @xNombre, just 2 quick questions regarding the the kernel used in your LOS release:
1- Does the kernel support HW Encryption? I remember on Havoc 2.9 (Android P) there was a port of 4.4 kernel with working HW crypto.
2- Will you release a standalone package of the infinity kernel in the future that can be used with other ROMs?
Thanks!
Click to expand...
Click to collapse
1. AFAIR not yet because it's not merged on LOS.
2. Probably no because there are too many custom changes made (dt & vendor) and I don't like listening to moaning that something is broken. I want to release more interesting ROMs some day (Syb... uhh ekh... eria).
shandianex1 said:
can i flash other android 10 gsi based on this rom since it "treble"
Click to expand...
Click to collapse
Hmmm, that's interesting question. I've only focused on making it fulfill all Android Q requirements concerning vendor separation (and such as APEX), not intended to make it GSI friendly. I guess there are still some incompabilities and you can't expect such and old device to be GSI friendly.
jackryder38 said:
What about battery life?
Click to expand...
Click to collapse
Test yourself, the biggest culprit about I can do nothing more is RIL. Maybe when Xiaomi releases Q for daisy, the blobs will make it better.
RmznDndr said:
immediately banned from telegram group right after joined. not even wrote a message or got a warning. interesting way to manage a community group.
i'll be around for feedbacks. thanks for your effort anyways.
Click to expand...
Click to collapse
The group is protected with antibot, I've checked your nickname and youre not banned for sure.
Enchanted LineageOS updated!
Changelog:
Merge latest kernel_common and CAF tag into kernel
Merge latest branch into qcacld driver
Use fq_codel queuing discipline, faster net
Update some blobs (those I have access to) from LA.UM.8.6.r1-02900-89xx.0
Remove unused move time data script
Add missing wifi mac generator
Fix USB tethering
Uprev Mapper to 2.1
Tweak Dalvik parameters accroding to new google configs
Go back to stock WiFi config and add some new Xiaomi edits - fixes connectivity problems
Rootdir updates
Minor cleanup
Fixup microG location
Massive overlay update from LA.UM.8.6.r1-02900-89xx.0
Selinux enforcing
Safetynet PASS!!!
Important LOS updates:
Fixed battery style
Updated to android 10.0 r23
Added survival script (magisk reflashes itself)
Repo sync all
Download via sf:
https://sourceforge.net/projects/xn...-17.1-20200119-UNOFFICIAL-gemini.zip/download
Please consider donating...
https://paypal.me/xNombre
xNombre said:
Enchanted LineageOS 17.1 with 4.4 Infinity EAS Kernel
Known bugs:
Speaker playing only left channel
5GHz hotspot
Camera hang in Snap when switching to HDR (click back button and open camera again, boom, it's working)
Click to expand...
Click to collapse
Fixed?
PavelPerm said:
Fixed?
Click to expand...
Click to collapse
Camera still hangs on HDR on/off. 5Ghz Hotspot works and about speaker i do not know.
nebik said:
Camera still hangs on HDR on/off. 5Ghz Hotspot works and about speaker i do not know.
Click to expand...
Click to collapse
Use this Gcam
https://easyupload.io/5ms9tu
It's version 7.2 - optimized and working 100% on gemini
PavelPerm said:
Fixed?
Click to expand...
Click to collapse
Not listed so not fixes, I thought it's clear.
New build could have some problems due to selinux change (dt2w or so) and I will push hotfix when I can.
xNombre said:
Not listed so not fixes, I thought it's clear.
New build could have some problems due to selinux change (dt2w or so) and I will push hotfix when I can.
Click to expand...
Click to collapse
I have problem with permission name (icon != Permission name)
Introduction
Dora kernel is a successor of popular nem0 kernel for A10/A11 ROMs.
Dora Kernel is CAF based kernel aiming to provide great stability and performance while maxing out battery life!
Code:
// 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 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.
Main Features:
- Unified for OOS 11 and Android 11 Custom ROMs (Check with your maintainer if they have R blobs merged in)
- Based and upstreamed to latest CAF tags for the SD855
- Upstreamed to latest Linux-Stable
- Upstreamed to latest F2FS stable
- Compiled with Clang 13 and -O3 speed optimizations flags
- Compiled with Clang Polyhedral Loop Optimizations (Polly)
- Simple LMK driver from kerneltoast
- BBR2 TCP congestion algorithm
- 675 MHz GPU step
- Custom energy-freq scheduling model for maximizing performance and battery life
- Custom frequencies setup (dropping to CAF default minimums during idle)
- S2idle suspend mechanism with patches from Google P4/P5 kernels
- PELT scheduling mechanism
- Many scheduler backports from mainline and/or 4.19 Google kernel
- Zip made using latest AnyKernel3 release, retains root on flash (Stable Magisk 21.4 or higher reccommended)
- Zip flashable through EXKM/FKM/Smartpack/TWRP
- Integrated OTA updates in Franco's Kernel Manager *(link for the json: JSON)
- Many more features I don't remember right now, check source if you're interested or contact me on Telegram!
Bug reports:
- If you want to report a bug, please provide some sort of logs (logcat, dmesg)
Flashing instructions:
- Just flash it through TWRP or EX or Franco's Kernel Manager apps
- No sorts of configs needed, flash and be happy out of the box
-There are 2 versions per release: one with SDCARD_FS disabled (default) and one with it enabled. Motivation behind this is recent updates to AOSP 11 ROMs (Yaap, Derp, etc.) that have disabled the support for it. And even though that builds with SDCARD_FS could still work, it's not recommended.
So, in layman terms, if you are running OOS or any custom ROM that still hasn't followed the path of those custom ROMs, please use the sdcard-fs zip or update through OTA.
Downloads
Stable and Test builds: Google Drive
Kernel being actively tested in this group: Telegram
Donations
If you would like to keep this project going with more improvements, feel free to support it: PayPal
Thank you to:
@osm0sis for AnyKernel
@nathanchance for help with upstreams
@topjohnwu for Magisk
@idkwhoiam322, @KuranKaname for being good friends
@BobAzzon, @npv12, @Gabyrx7, @Reechings and rest of my dear friends that tested the kernel (really, wouldn't be possible without you guys <3)
Contributors
nem0 aka AnnoyingZlatan
Source Code: GitHub
Version Information
Status: Stable
Created 2021-05-01
Last Updated 2021-07-20
Reserved
Reserved #2
really pru kernel, I like it
my sot tripled
jk, best kernel on here!
Best kernel ever since Nemo,,now Dora,,congrat bro,,awesome kernel,,work perfect with new official PE rom,,,
Best for A11 on OOS11 blobs and OOS11 !!!!
Ex-nem0 Kernel user here, thank you so much @AnnoyingZlatan for this one
I've just installed 1.0 with adb sideload on latest PixelExperience, all good
Love ur kernel looking forward to help u testing hehe
Toutatis_ said:
Ex-nem0 Kernel user here, thank you so much @AnnoyingZlatan for this one
I've just installed 1.0 with adb sideload on latest PixelExperience, all good
Click to expand...
Click to collapse
I'd like to try it on YAAP, but I didn't know how to go back to stock kernel. I read somebody says to restore boot.img & dtbo but not sure how to do it
Zhuang zhuang said:
I'd like to try it on YAAP, but I didn't know how to go back to stock kernel. I read somebody says to restore boot.img & dtbo but not sure how to do it
Click to expand...
Click to collapse
In Franko kernel manager you can make a backup of your current kernel. Then flash this, then restore kernel if you want it back.
Of fastbootd flash boot img from yaap, same as you most likely did when you originally installed it if you used that method. (Ps, make sure it's matching your ROM though, so you're not updated to the latest but flashing a boot image from a previous version..)
Currently using your Nemo kernel. I flashed this kernel via Franco's kernel manager but I get kicked back to my recovery..any ideas? Tia your kernels are awesome
This kernel is awesome. With Dora Freq i've the best UI performance with AOSP like LOS/CrDroid , another world compared to OOS. Thanks Dev.
bushninja07 said:
Currently using your Nemo kernel. I flashed this kernel via Franco's kernel manager but I get kicked back to my recovery..any ideas? Tia your kernels are awesome
Click to expand...
Click to collapse
Yes, this is meant for OOS 11 and A11 ROMs that switched to R blobs, as it's stated in the OP. It won't be compatible with the builds you've run Nemo on
Amazing experience out of the box, super thanks !
tested with OP7 on oos 11.0.0.2
super smooth and really impressive battery
I flashed via FKM on YAAP. Everything started good but just few minutes ago, when the screen turned off, it didn't turn on again & auto reboot. I had it 2 times in just a couple of minutes
Zhuang zhuang said:
I flashed via FKM on YAAP. Everything started good but just few minutes ago, when the screen turned off, it didn't turn on again & auto reboot. I had it 2 times in just a couple of minutes
Click to expand...
Click to collapse
Yaap has a built in logcat, perhaps check to see if there's any traces of the error. It might help Zlatan if you post that..
I have OOS 11 and and currently using a custom kernel. Should I flash OOS 11 again before your kernel? Thanks in advance.
Zhuang zhuang said:
I flashed via FKM on YAAP. Everything started good but just few minutes ago, when the screen turned off, it didn't turn on again & auto reboot. I had it 2 times in just a couple of minutes
Click to expand...
Click to collapse
I am aware of the issue. Will be fixed in next update, just a bit busy atm.
Teso79 said:
I have OOS 11 and and currently using a custom kernel. Should I flash OOS 11 again before your kernel? Thanks in advance.
Click to expand...
Click to collapse
Nope, just flashing a kernel is enough.
I have tried this version of the kernel and it feels very good! But the memory of my phone is too small, I hope there will be swap space in the future. Does the developer have plans to add zram or zswap in the future?