[NOUGAT] ab123321 kernel for Oneplus One - ONE Original Android Development

Hi all, now I'm going to present my own custom kernel for Oneplus One!
Feature list:
Compiled with Linaro GCC 6.2 ARM toolchain
kexec patch (Multirom support)
UV support
Working button longpress on wired headset
KCAL display control by savoca
Kernel Samepage Merging (KSM)
Simple Thermal driver by franciscofranco
Qualcomm's MPDecision hotplugging driver is replaced by Nvidia's CPUQuiet for better UX (backported 3.10 version)
CAF's CPU boost driver is replaced by sultanxda's cpu_input_boost driver
Tuned Interactive governor with franciscofranco patches (better freq scaling)
Custom camera blobs from OOS 3.x on any (almost) ROM!
Optimized Low Memory Killer (LMK)
Charging current control by boeffla
QoS patches from Linux 3.10 kernel
Optimized FSync algorithm and ability to disable it <-- Use with caution!
Many many other little adjustments (Over 660 changes have been made to the kernel source!)
Anykernel installation
Very smooth UI
Almost full KA support (WiP)
I've forgotten much, you can check my source on Github
Installation:
Download latest kernel and camera blobs zips (you have to flash blobs only once or after ROM reflash)
Reboot recovery
Flash them
Reboot
Contact me:
If you found any bugs/something doesn't work or you have feature request, contact me in Telegram group
Downloads:
Bacon (OOS 3.x blobs): link
Credits:
franciscofranco, flar2, eng.stk, arter97, sultanxda, lord boeffla and many other people: for contributing to Android kernel development
jcadduono for lazyflasher
@KalilDev for making template for this post because I'm lazy ass very busy
XDA:DevDB Information
ab123321 kernel, Kernel for the OnePlus One
Contributors
ab123321
Source Code: [url]https://github.com/ab123321/android_kernel_oneplus_one/[/URL]

FAQ:
Q: What should I flash first: blobs or kernel?
A: It doesn't matter
Q: Which ROMs are supported?
A: Nougat ROMs with CM kernel are supported. It's most of ROMs for Oneplus One (LOS, AICP, RR etc).
Q: I have issues!
A: Flash ROM => flash SuperSU/Magisk (optionally) => flash needed kernel and blobs
Q: I sill have issues!
A: Take logcat and kmsg and send me in PM (Telegram preferred)
Q: I flashed my favorite Boeffla kernel and camera stopped working! Help!
A: If you want properly working device with custom blobs, flash this kernel, not any other (except it is mentioned by kernel author).

Changelog:
4_2 (09.03.2017) - Simple GPU Algorithm is replaced by Adreno idler, switched from Anykernel to lazyflasher, performance improved much (battery may drain). Now you can flash kernel on ROM with sultanxda camera HAL
3 (17.02.2017) - sultanxda version of blobs is dropped, added lionheart governor, fully reworked default performance profile (better performance and battery life), default read ahead size is 512KB by default
2_1 (06.02.2017) - Little adjustments to sultanxda version (both kernel and blobs zips updated), no need to update if you're currently on beta2. Alpha2_1 version of OOS blobs
beta2 (01.02.2017) - SELinux is set to Permissive mode by default to fix most of camera problems; updates from LineageOS; some charging fixes
beta1 (26.01.2017) - Initial Release

Finally the magic begins.

The magic is out!
Good job

Interesting. So you're saying you can flash this kernel on any ROM and have SultanXDA's camera HAL?

Claudiosvs said:
Interesting. So you're saying you can flash this kernel on any ROM and have SultanXDA's camera HAL?
Click to expand...
Click to collapse
You are right

Do I need to flash sultan blobs separately on lineageos??

Thanks for this mileage.
Installed both zips over the latest resurrection remix 7.1.1 and unfortunately the camera keeps crashing when trying to take photos and videos. Tried with the main and secondary camera and also with flash on and off.
Also saw that 1080p and 2.5k video recording of the secondary camera is not present, so i guess is still a WIP
Logcat after the issues: https://drive.google.com/file/d/0B25zhqsy3xaYSHNQOGd1T1dkaEE/view?usp=drivesdk
Kernek log: https://drive.google.com/file/d/0B25zhqsy3xaYZjFhbEhnQ01CdFU/view?usp=drivesdk

Does this kernel have uv support?

mustang_ssc said:
Thanks for this mileage.
Installed both zips over the latest resurrection remix 7.1.1 and unfortunately the camera keeps crashing when trying to take photos and videos. Tried with the main and secondary camera and also with flash on and off.
Also saw that 1080p and 2.5k video recording of the secondary camera is not present, so i guess is still a WIP
Logcat after the issues: https://drive.google.com/file/d/0B25zhqsy3xaYSHNQOGd1T1dkaEE/view?usp=drivesdk
Kernek log: https://drive.google.com/file/d/0B25zhqsy3xaYZjFhbEhnQ01CdFU/view?usp=drivesdk
Click to expand...
Click to collapse
Thanks! Until I fix this, try to use ut with SELinux Permssive. 1080p and 2.5k formats support is on ROM side

Anyone with official LineageOS? Results? Haha

Gawd said:
Anyone with official LineageOS? Results? Haha
Click to expand...
Click to collapse
It works fine.
Fatsodonkey said:
Does this kernel have uv support?
Click to expand...
Click to collapse
No.
Btw, turn on permissive so that it can save pictures/not crash.

f41lbl0g said:
It works fine.
Click to expand...
Click to collapse
Including the camera? Like literally sultanxda's?

Gawd said:
Including the camera? Like literally sultanxda's?
Click to expand...
Click to collapse
Yes, its literally magical but it works. Try it for yourself.

Awesome kernel, great battery and slick performance.

So this is it. A prophetic hero who would arise to port Sultan's kernel works to Nougat.
Guess I'm keeping my OPO for another year.

flashed the kernel
also flashed the sultan camera libs, no camera crash experienced, so far great, i cant tell the difference though

Hey! Is this a caf kernel?

cudi90 said:
Hey! Is this a caf kernel?
Click to expand...
Click to collapse
It's CM kernel

Related

[KERNEL][5.1.1/6.0.0][GCC 5.3] Omni kernel (06/03/2016)

Overview: ​
This is a custom kernel based on Omni sources for our legendary i9000. This is only for 5.1.1/6.0.1 roms and no other version of android will be suppported
It works on any Omni based 5.1.1/6.0.1 rom.
>The zip you will download is flashable via recovery.
>> Use devil kernel manager or NStools to edit the kernel settings.
Features : ​- Multiple CPU governors (lulzactive, smartassV2, wheatley, lagfree, ondemandX)
- Tweaked smartassV2
- BFQ, Zen, VR & SIOPLUS I/O schedulers added
- Tweaked VR
- New TCP algorithms (westwood is default)
- Bigmem, up to 430mb
- CMA (MM only for now)
- Kernel compressed with XZ
- Compressed initramfs
- Dynamic page writeback
- Dynamic Fsync
- Custom ARM & INT voltages
- Voltages fixed for more stable OC
- Selectable GPU OC (not working properly for now)
- Fast charge
- BLX
- Live OC
- FULL O3 optimisations
- Call volume hack
- Touchwake
- BLN
- Zram
- Swap / Zram optimisations
- LMK tweaks
- SLQB memory allocator
- NEON optimized crypto routines
- Voodoo color
- SquashFS support (module)
- EXfat support (module)
- 720p patched bigmem libs
- Built from the latest Omni source
- Built using custom Cortex-A8 optimized UBERTC 5.3 toolchain of @Cl3Kener
Todo:​- Backport more things from higher linux versions and fix remaining conflicts ...
- Fix GPU OC ... Well we have live OC, not worth the time i guess.
- Make CGROUP_TIMER_SLACK work
- GPU driver to DDK [email protected]
- Make a better (and more fancy) updater script
- Fixing the remaining issues [...]
What I wont do : ​- Enable TV out
- Upgrade linux version
- Add useless CPU governors or I/O schedulers
- make your phone as fast as a i9500
Please use it at your own risk! I am not responsible for any damage that may occur to your device.
Download :
Latest android 5.1.1 kernel :
Kernel_ION.zip MD5 : 2060f96fbffc98a1f2fae9108066b69a
http://www50.zippyshare.com/v/zVr8YvZ4/file.html
Latest android 6.0.1 kernel :
Kernel_CMAEXP.zip MD5 : 236f89a961b559c666a1c064aaccd728
http://www43.zippyshare.com/v/Yxm6WDuA/file.html
Old versions :
https://mega.nz/#F!3x5VTbiQ!87aMOGoDBuQZmiELhKlUkQ
Thanks:
@humberos
@DerTeufel1980
@kasper_h
@Alberto96
@Ezekeel
@xc-racer99, for his help on setting up my Github
@(°_o)
Anyone else who helped me
Source Code:
https://github.com/Coldwindofnowhere/android_kernel_samsung_aries
Custom built UBERTC with A8 optimisations : https://bitbucket.org/Coldwindofnowhere/
XDA:DevDB Information
Omni kernel, Kernel for the Samsung Galaxy S I9000
Contributors
Coldwindofnowhere, xc-racer99
Version Information
Status: Beta
Created 2015-10-02
Last Updated 2016-03-06
>If you like my work, hitting the thanks button won't hurt you<​
good luck
Thanks for sharing ! I really want to check this kernel out, can someone tell me what is the recommended Omni LP release to be used with this kernel? A link in PM or a reply would be great.
Sent from my Nexus 7 using Tapatalk
idCyber said:
Thanks for sharing ! I really want to check this kernel out, can someone tell me what is the recommended Omni LP release to be used with this kernel? A link in PM or a reply would be great.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=61937705
Gesendet von meinem SM-G900F mit Tapatalk
idCyber said:
Thanks for sharing ! I really want to check this kernel out, can someone tell me what is the recommended Omni LP release to be used with this kernel? A link in PM or a reply would be great.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
If you can , that would be great if you test if on different 5.1.1 roms and tell me if it works or not
Coldwindofnowhere said:
If you can , that would be great if you test if on different 5.1.1 roms and tell me if it works or not
Click to expand...
Click to collapse
This kernel works with Code rom 5.1.1 the latest build and mostly everything work perfectly. However, to test this i ported it to my good old vibrant. The only issue is since Im guessing devil kernel manager doesnt support vibrant cant seem to change any values in devil. Thanks for building this kernel
falconscrest123 said:
This kernel works with Code rom 5.1.1 the latest build and mostly everything work perfectly. However, to test this i ported it to my good old vibrant. The only issue is since Im guessing devil kernel manager doesnt support vibrant cant seem to change any values in devil. Thanks for building this kernel
Click to expand...
Click to collapse
Assuming you used the kernel source (github.com/omni) to port to the vibrant, you won't have any options other than bigmem. The source code linked there doesn't have things such as Fast Charge, etc.
However, you can see if support for them is there by manually putting a "1" in the file /sys/kernel/fast_charge/force_fast_charge
(ie echo 1 > /sys/kernel/fast_charge/force_fast_charge from a terminal/adb shell).
Also, look out for selinux issues. If selinux is in enforcing mode, the Devil Manager may or may not be able to access the sysfs paths. Run "setenforce 0" to put it to permissive mode.
Speaking of source code, @Coldwindofnowhere have you uploaded the complete kernel source you used somewhere? I'd be curious to see it. Thanks for taking this project on!
xc-racer99 said:
Assuming you used the kernel source (github.com/omni) to port to the vibrant, you won't have any options other than bigmem. The source code linked there doesn't have things such as Fast Charge, etc.
However, you can see if support for them is there by manually putting a "1" in the file /sys/kernel/fast_charge/force_fast_charge
(ie echo 1 > /sys/kernel/fast_charge/force_fast_charge from a terminal/adb shell).
Also, look out for selinux issues. If selinux is in enforcing mode, the Devil Manager may or may not be able to access the sysfs paths. Run "setenforce 0" to put it to permissive mode.
Speaking of source code, @Coldwindofnowhere have you uploaded the complete kernel source you used somewhere? I'd be curious to see it. Thanks for taking this project on!
Click to expand...
Click to collapse
I didnt use the source code to do anything just replaced the boot image with that of vibrant and it seemed to boot up just fine and i could switch between smartass v2, and other addition. the only thing cant change the bigmem option over xl. It was just random since i have no clue how to build stuff.
falconscrest123 said:
I didnt use the source code to do anything just replaced the boot image with that of vibrant and it seemed to boot up just fine and i could switch between smartass v2, and other addition. the only thing cant change the bigmem option over xl. It was just random since i have no clue how to build stuff.
Click to expand...
Click to collapse
Ah, ok. I could be wrong, but I think if you replaced the boot.img with one from the Vibrant, then you're not even using the kernel from here. Weird that you still had the smartassv2 option...
If I'm wrong, someone please correct me
431mb ram possible??
xc-racer99 said:
Ah, ok. I could be wrong, but I think if you replaced the boot.img with one from the Vibrant, then you're not even using the kernel from here. Weird that you still had the smartassv2 option...
If I'm wrong, someone please correct me
Click to expand...
Click to collapse
Im not sure either because i have all govenors mentioned above while i can tweak everyone of them using kernel aditor apk and plus i can also toggle fast charge which wasnt present in omni rom for the vibrant. I have uploaded some screenshots and it is from code rom.
xc-racer99 said:
Assuming you used the kernel source (github.com/omni) to port to the vibrant, you won't have any options other than bigmem. The source code linked there doesn't have things such as Fast Charge, etc.
However, you can see if support for them is there by manually putting a "1" in the file /sys/kernel/fast_charge/force_fast_charge
(ie echo 1 > /sys/kernel/fast_charge/force_fast_charge from a terminal/adb shell).
Also, look out for selinux issues. If selinux is in enforcing mode, the Devil Manager may or may not be able to access the sysfs paths. Run "setenforce 0" to put it to permissive mode.
Speaking of source code, @Coldwindofnowhere have you uploaded the complete kernel source you used somewhere? I'd be curious to see it. Thanks for taking this project on!
Click to expand...
Click to collapse
Sure, i'll set a github soon, but trust me there are only minimal changes to the origianl code (even if adding liveOC seems harder since i only got build errors xD).
Btw i won't build anything this week, i'm busy with exams.
Github is up !
Coldwindofnowhere said:
Could someone help me to setup my github please ? (PM me)
Click to expand...
Click to collapse
Check your PM, let me know if you need more help.
Hey.
I tested it on 5.0.2 . stuck on bootanimation. Better mention that its for 5.1.1 .
Can you add support or please tweak it for 5.0.2
Now iam using RR lp 5.0.2
I removed some apps. And it have the same apps like omni. Its works faster than ever. Working theme engine. Only removed music and added apollo.
Has anyone have a bug where when you call someone the speaker mode work fine but the audio stops working when you turn off speaker mode
I had no problem with original omni kernel any fix because this is an awesome kernel
falconscrest123 said:
Has anyone have a bug where when you call someone the speaker mode work fine but the audio stops working when you turn off speaker mode
I had no problem with original omni kernel any fix because this is an awesome kernel
Click to expand...
Click to collapse
That's weird, i haven't changed anything concerning the audio in the kernel. You're using it on a vibrant right ? This might be the problem. I'm gonna try to reproduce this bug on my i9000 and see ....
Edit: try this http://www42.zippyshare.com/v/aZ6XgBlE/file.html
DO NOT FLASH, IT DOESN'T WORK (except if you want to give me a log or if you're really curious)
Any feedback on the vibrant version ?
Coldwindofnowhere said:
Any feedback on the vibrant version ?
Click to expand...
Click to collapse
The kernel didnt even flash no errors nothing whenever i flashed via twrp it would instantaneously reboot to recovery. Thanks again for atleast trying to fix the issue.
Coldwindofnowhere said:
Any feedback on the vibrant version ?
Click to expand...
Click to collapse
Bro. Can you add fast charge and the governers in omni kernal 5.0.2. Please
Thanks

gpl | abyss kernel 1.20 | cm-14.x

Hi oneplus2 people!
This is my modified kernel with some kernel optimizations and some compiler optimizations.
The goal of abyss is to achieve improved performance/battery without the cost of stability.
I will not be overhauling this project with changes that are not logical to add.
This kernel should work on the latest 7.x.x roms like CyanogenMod.
It might work on other roms, but there will be little support for them.
How does one achieve this?
- build kernel with an optimized toolchain
- use compiler optimization flags (experimental)
- remove redundant code
- improve existing code with more efficient code
- etc. (most are not so easy to explain)
This kernel is built with mdalexca's latest UBER GCC 4.9.
Is there actually a performance improvement?
With all the changes added up, there should be. Whether or not one notices the difference is another thing.
For those interested in how the kernel optimizations will benefit/work, please look at my github source and read the commit messages.
For those interested in how the compiler optimizations/hacks will benefit/work, please look at this article.
Downloads:
Latest release
BasketBuild
Source:
GitHub
This was made by request from dsst22 who also tested this bad boi like crazy.
XDA:DevDB Information
abyss kernel for the OnePlus 2, Kernel for the OnePlus 2
Contributors
kwoktopus, dsst22, OnePlus, grarak, The Flash, arter97, Lord Boeffla, frap129, Linux, Google, CAF, a bunch of other major OEMs
Source Code: https://github.com/abyss-kernels/oneplus2
Kernel Special Features:
Version Information
Status: Nightly
Current Stable Version: 1.20
Stable Release Date: 2016-12-05
Created 2016-12-05
Last Updated 2016-12-13
Key Changes:
- upstream interactive governor (with Flash 1.0 profile by The Flash) (Google and CAF)
- upstream cpufreq driver (Google and CAF)
- upstream cpu-boost driver (Google and CAF)
- upstream random driver from Linux 4.1.31 (performance..!)
- slub/slab/slob/vmalloc patches
- flar2's slightly modified thermal driver
- using Linaro's power efficient workqueues throughout kernel
- using Adreno idler by arter97 to reduce frequency scaling without performance cost
- using power efficient "relaxed" macros throughout kernel (assembler)
- KCAL Control Driver by Savoca
- Android-Keyboard patch, use your device as an external keyboard!
- too many to list here, check out my source
How to install:
Place zip in to your internal storage
Place current ROM zip on to your storage
Boot into TWRP recovery
(If you're coming from a different kernel, dirty flash current ROM)
Flash kernel zip
Reboot
Don't like the defaults?
Use Kernel Adiutor to change the settings!
Frequently Asked Questions:
Is this a custom kernel?
I was asked this question once, and it posed as a real good question. I do not consider abyss to be a "custom kernel" per se, but more so as a modified kernel. The patches and features that go into this kernel do not make it customizable. What they do is improve what has already been implemented. It is like swapping a car's engine for a better one rather than just adding LED flooring lights and fancy car mats.
Can you add [this] and [that] feature?
Something I pride myself with this kernel is that it does not have a bunch of random, useless features or patches mashed into it. Everything put into this kernel is thought out and tested. I see a lot of works being made popular because it has [this] and [that] feature when really, it's nothing revolutionary. As a matter of fact, most things added to any kernel will not make it 5x better than any other kernel. Most of the time, simple is better; and in this case it definitely is!
For me
Thanks! I'll give it a go.
Giving it a go
Yess! Been waiting for this ever since i saw your OP2 repo!
Does this kernel install on a f2fs formatted system?
suraj.das said:
Yess! Been waiting for this ever since i saw your OP2 repo!
Click to expand...
Click to collapse
You can thank @dsst22 for helping with testing, or else you would have waited a very long time :silly:
socialdistortion said:
Does this kernel install on a f2fs formatted system?
Click to expand...
Click to collapse
I have not made any file system changes to the kernel. If the stock CM kernel supports, then this one will too.
Is kcal support present..??
chl1810 said:
Is kcal support present..??
Click to expand...
Click to collapse
unfortunately no.
good to see new kernel for our device, thanks and good luck
suraj.das said:
unfortunately no.
Click to expand...
Click to collapse
I wish it had
chl1810 said:
I wish it had
Click to expand...
Click to collapse
I can remember the YoshiShaPow falcon kernel
chl1810 said:
I wish it had
Click to expand...
Click to collapse
In the future
PeterImmel said:
I can remember the YoshiShaPow falcon kernel
Click to expand...
Click to collapse
You can probably see how much I've grown as a developer since then too :angel:
Works on a f2fs filesystem based rom. Testing it now...
Edit: No obvious bugs at the moment. Is it possible to implement some sort of charging control. The USB charging speed is super slow (on both this kernel and stock CM kernel).
kwoktopus said:
In the future
Click to expand...
Click to collapse
Nice!! thank you!!
Pretty smooth haven't found any bugs. Love the simplicity.
I can't imagine what it would be like with a little over clock.
adame09 said:
Pretty smooth haven't found any bugs. Love the simplicity.
I can't imagine what it would be like with a little over clock.
Click to expand...
Click to collapse
I trust the engineers that designed the chip to choose a safe maximum clock speed. Here's a pretty good article on the risks vs benefits, which outline some strong points.
But, if I were to add it, I would set the max value at boot to stay as stock values; so I'll leave it up to @dsst22 to decide.
I'll try this out for you dude. Impressive what you've done.

[KERNEL] [EAS] [AOSP] tabp0le v3.04 | 4.0-Oreo w/F2FS, FastCharge USB 2/3 [Feb 12]

Code:
****Disclaimer: I'm not responsible if you destroy your device. Use at your own risk.
Introduction:
I saw a lot of demand/requests for a LOS compatible, F2FS kernel and wanted to make one. This kernel installer includes the kernel with F2FS drivers built-in and the required ramdisk changes to make F2FS mount. Energy Aware Scheduling is baked right into tabp0le kernel. You will get the best battery life and performance this device has to offer. You can find out more about EAS here. This kernel is built for stability, battery life and features without compromising performance. Overclocking is not going to happen. Please do not flash this on any ROM not based off LineageOS.
Note: The 4.0+ versions will ONLY work with Oreo. Please do not try and flash on Nougat!
Bug Reporting:
Please only report bugs and do so in the following format:
Device Firmware base:
Kernel Version:
Device ROM, version and date of release/nightly:
Governor:
Scheduler:
Any changes made within a kernel manager:
Any bootup scripts:
Brief description of bug:
Intended behavior:
Actual behavior:
Steps to reproduce bug:
Do this
Do that
See the bug
****Attach a logcat or you will be ignored****
Features:
F2FS /data support
F2FS /cache support
[*]Disabled verifiedbootstate check (will allow CTS/SafetyNet to pass on unlocked bootloader)
Forced fast charge on USB 2.0 (cherry-picked from CleanSlate Kernel by @tbalden
Double tap fingerprint sensor to sleep
Battery/sleep improvements
Option to disable/enable wakelocks: Bluedroid, wlan_rx, wlan_ctrl, wlan, IPA_WS
Option to disable/enable magnetic cover sensor
Sweep2Sleep option
Disable fsync option (will break reboot to recovery if disabled)
Separate options for I/O schedulers on internal/external storage
I/O enhancements
I/O Schedulers: noop, deadline, cfq, fiops, sio, fifo, sioplus, tripndroid, vr, zen, maple
Governors: sched, schedutil, alucardsched, darknesssched, conservative, ondemand, userspace, powersave, performance, interactive
Requires:
CM/LOS 14.1/AOSP/CAF based ROM
Highly Recommended:
ROM with full EAS support built in
ROM with Marlin or Vox Populi PowerHAL
Changelog:
02.12.18 - v3.03
Add WireGuard support
11.13.17 - v4.0-O
Oreo release
08.27.17 - v3.02
Merge latest caf
Update wifi drivers to latest U11 drivers
Patch kernel all the way up to Linux version 3.18.65
07.31.17 - v3.01
Rebase of latest caf
Fix EAS errors/cgroup errors
Far too much to list on this changelog
06.21.17 - v2.09
Get caught up with upstream
Remove cmdline incompatible with EAS
Many EAS tweaks
Remove force-encrypt
Much more, not going to list it all. See my github
Click to expand...
Click to collapse
Install:
Flash in TWRP.
Install your favorite kernel tweaking app for full functionality. EX kernel manager is my recommendation.
To get F2FS working, you need to research yourself. There are plenty of threads that tell you how.
Download:
Download Repo
Additional Credits:
Thanks to @crpalmer for all his hard work on the HTC 10 LOS kernel
Thanks to @Captain_Throwback for helping me get F2FS working
Thanks to @tbalden for force fast charge code & other code I borrowed too
Thanks to @flar2 for a bunch of code I borrowed from ElementalX
Thanks to @franciscofranco for a bunch of code
Thanks to @CrazyGamerGR for a bunch of code
Thanks to @Eliminater74 for taking a lot of his time to help me make this a reality and for first porting EAS to the HTC 10
Thanks to @Cuffuffles for giving me ramdisk edits to use with AnyKernel2 for EAS to work with LOS
Thanks to @RenderBroken for proper ramdisk settings & EAS v1.2 commits
Thanks to my testers: @rav101, @Meowdib (If I forgot you let me know)
Click to expand...
Click to collapse
tabp0le Sources:
tabp0le EAS Kernel Source
tabp0le AnyKernel2
Original Sources:
LineageOS Kernel
Original EAS Kernel Source
EAS v1.2 Kernel Source
AnyKernel2 by @osm0sis
XDA:DevDB Information
tabp0le HTC 10 EAS CAF/LOS/AOSP Kernel, Kernel for the HTC 10
Contributors
tabp0le
Source Code: https://github.com/tabp0le/android_kernel_htc_msm8996
Kernel Special Features: Energy aware scheduling (EAS), F2FS support, Fast charge USB, much more..
Version Information
Status: Stable
Current Stable Version: 3.04-Nougat | 4.0-Or
Stable Release Date: 2017-11-13
Created 2017-02-27
Last Updated 2018-02-12
Reserved
Reserved
Thanks,but can't find it.
Thanks, but the is no download in the repo.
I think this is the link.
https://cloud.spryservers.net/s/YlwSeyCizqLCyNm?path=/tabp0le-EAS
In v0.9 DoubleTap2Sleep on the fingerprint worked better imo..
I have to disable this function and so I changed it to stock behavior for now.
Fixed the OP with link. Oops!
2 threads?
Hi @tabp0le ! Can you share your EX KM settings (all tuning parts) ? Thanks for the kernel (and the rom).
ali nz said:
2 threads?
Click to expand...
Click to collapse
Yes, the EAS kernel and original kernel are updated differently and have different version numbers. It's too confusing for me to leave them in the same thread.
ordeniz said:
Hi @tabp0le ! Can you share your EX KM settings (all tuning parts) ? Thanks for the kernel (and the rom).
Click to expand...
Click to collapse
Right now I'm not using any custom settings. You could ask @INDIAN-MAfIA what he uses on Nebula, or look at the Nebula EAS thread because those EAS settings should all work here too.
Hi @tabp0le
I just tried your RR builds and while I do know that these are your private builds for your own use its just that they are the best damn AOSP builds! Most feature rich and stable builds at the moment. Hence I had a small request. It's okay if you don't want to implement it. So here goes… could you please implement an option so that the stock android colour scheme could be used for the settings and brightness slider and such? It previously used to be green and teal(? I think. Not good with colour names. I just remember quick settings used to be a different shade of Gray. Like in stock rom) Now it's Gray and blue. Like in the brightness slider and downloads bar. Could you please implement something that allows me to use the old colours? Thanks.
tabp0le said:
Yes, the EAS kernel and original kernel are updated differently and have different version numbers. It's too confusing for me to leave them in the same thread.
Click to expand...
Click to collapse
No...i mean 2 threads for EAS?
jhadsfi said:
Hi @tabp0le
I just tried your RR builds and while I do know that these are your private builds for your own use its just that they are the best damn AOSP builds! Most feature rich and stable builds at the moment. Hence I had a small request. It's okay if you don't want to implement it. So here goes… could you please implement an option so that the stock android colour scheme could be used for the settings and brightness slider and such? It previously used to be green and teal(? I think. Not good with colour names. I just remember quick settings used to be a different shade of Gray. Like in stock rom) Now it's Gray and blue. Like in the brightness slider and downloads bar. Could you please implement something that allows me to use the old colours? Thanks.
Click to expand...
Click to collapse
Thanks man! Best suggestion i have for the color is using substratum to customize.
ali nz said:
No...i mean 2 threads for EAS?
Click to expand...
Click to collapse
One is barebones EAS no tweaks.
tabp0le said:
Thanks man! Best suggestion i have for the color is using substratum to customize.
Click to expand...
Click to collapse
I could find themes for pixel ui which rom has but not for aosp ui which I want. Thanks anyway though. Awesome work on kernel and rom.
jhadsfi said:
I could find themes for pixel ui which rom has but not for aosp ui which I want. Thanks anyway though. Awesome work on kernel and rom.
Click to expand...
Click to collapse
Thanks man. AOSP is pixel actually. AOSP is whatever google says it is in a given year. Nexus is AOSP for MM, Pixel for N. Just the way it goes. I think theres a new tool out there now that you can do the customizations yourself without an entire theme. Not sure what it's called but I think it was in XDA news the other day.
tabp0le said:
Thanks man. AOSP is pixel actually. AOSP is whatever google says it is in a given year. Nexus is AOSP for MM, Pixel for N. Just the way it goes. I think theres a new tool out there now that you can do the customizations yourself without an entire theme. Not sure what it's called but I think it was in XDA news the other day.
Click to expand...
Click to collapse
Oh haha. I thought pixel had some proprietary code so it wasn't AOSP. Guess I was wrong. Thanks for the tip. I'll search for it.
I flashed latest v1.01 but in Ex kernel manager and in phone info i see v0.9. I've already tried to flash again v1.0.1 without success, but in ex kernel manager i see termal throttling option that wasn't there in v 0.9. What could have happened?
Edit: i'm on dirty unicorns 11.1 now
AntoRei said:
I flashed latest v1.01 but in Ex kernel manager and in phone info i see v0.9. I've already tried to flash again v1.0.1 without success, but in ex kernel manager i see termal throttling option that wasn't there in v 0.9. What could have happened?
Edit: i'm on dirty unicorns 11.1 now
Click to expand...
Click to collapse
I know DU has problems with EAS. The thermal settings should all be the same. Not sure what you are seeing. Anyone else having problems flashing 1.01?
tabp0le said:
I know DU has problems with EAS. The thermal settings should all be the same. Not sure what you are seeing. Anyone else having problems flashing 1.01?
Click to expand...
Click to collapse
It's better to use stock kernel? I'd like to use your kernel

[EOL][KERNEL][OOS][HMP][EAS][4.4.162][CLANG 7.0.3] Reverse Flash v2.1

Introduction
Hello everyone, this is my personal continuation of the famous Flash Kernel by Nathan Chancellor for the OnePlus 5/T.
This kernel is made with a focus on performance, battery life and stability.
You got the choice between a HMP version and a EAS version of the kernel.
Hopefully you will enjoy it!
Important thread information!
If you got issues please provide a log.
If you got feature requests, just ask.
OT is allowed.
Flash instruction
On OOS stock kernel:
- Flash kernel zip
On custom kernel:
- Dirty flash stock rom
- Flash kernel zip
Features
Major features of both (HMP and EAS) kernels
- Up to date with OOS (Stable and Beta)
- Up to date with the latest stable Linux version
- Up to date with the latest CAF tag
- Mainline patches from Linux, focusing on bug fixes/security
- Mainline CFQ scheduler improvements
- Kernel hardening from CopperheadOS
- Disables dm-verity
- Several subsystems converted to use power efficient workqueues
- Accidental touch protection on hardware keys
- Backlight dimmer
- KCAL color control
- Sweep2sleep
- Sound control
- Wakelock blocker
- Latest WireGuard snapshot
- Westwood as the default TCP algorithm
- Built with a self compiled Clang 7.0.3 toolchain
- USB fast charge
- CPU Boost improvements
- Pixel2Oreo WiFi MOD v5 Stable included
- Wake Gestures
- Notification LED Control
EAS specific features:
- Schedutil governor
- Dynamic stune boost
HMP specific features:
- CPU input boost
- Devfreq boost
- Simple LMK
Downloads
Primary
Archive
Sources:
Kernel: https://github.com/crian/kernel_oneplus5
AnyKernel: https://github.com/crian/AnyKernel2
Credits and Thanks:
- @nathanchance for Flash and inspiration
- @osm0sis for AnyKernel2
- @Sultanxda for being a Dev
- @franciscofranco for having some nice stuff
- @RogerF81 for WiFi MOD
- @joshuous and @RenderBroken for EAS
- @azaidi for Adaptive Stune app
- and all the other amazing Devs out there
XDA:DevDB Information
[KERNEL][OOS 8.1.0 TREBLE][CLANG] Reverse Flash, Kernel for the OnePlus 5
Contributors
crian
Source Code: https://github.com/crian/kernel_oneplus5/tree/reflash
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v2.1
Stable Release Date: 2018-10-25
Created 2018-09-13
Last Updated 2019-01-05
Misc
Adaptive Stune app
This app calculates the Dynamic stune boost on the EAS kernel for each activity you are running.
It optimizes battery drain while aiming for 60 FPS.
This a slightly modified version of @azaidi's work.
Instruction
- Install the apk
- Give access and su permission
- Settings are available via long-press shortcut
Download
AdaptiveStune.apk
Source
https://github.com/crian/AdaptiveStune
Great.. Will try out soon.. Hopefully will be as good as what Nathan put out.. Really sad he sold his oneplus 5.
Edit: does this include latest CAF updates?
Sent from my OnePlus 5 using XDA Labs
Is this unified by any chance?
persieghini said:
Is this unified by any chance?
Click to expand...
Click to collapse
Yes it's unified.
Custom support?
evanxyj said:
Custom support?
Click to expand...
Click to collapse
Nope. Currently only for OOS.
crian said:
Nope. Currently only for OOS.
Click to expand...
Click to collapse
Hi! Do you know whether this kernel exposes battery life / capacity information ? I recall when I had a 1+3t some kernels did that.
Added to the OnePlus 5 Index Thread here.
crian said:
Yes it's unified.
Click to expand...
Click to collapse
Sorry for the noob question but does unified mean 5 and 5T or single kernel could be flashed on both Stable and beta OOS for OP 5?
Sy1ar said:
Sorry for the noob question but does unified mean 5 and 5T or single kernel could be flashed on both Stable and beta OOS for OP 5?
Click to expand...
Click to collapse
It supports 5/T and stable/beta.
shadowstep said:
Added to the OnePlus 5 Index Thread here.
Click to expand...
Click to collapse
Thanks!
Nice to see a new kernel here. Wish you good luck
The kernel is running perfectly on Open Beta 18! Thank you very much for continuing the Flash kernel for OxygenOS ROMS.
@franciscofranco @nathanchance It would be awesome if users will download this kernel using FK Kernel...
crian said:
It supports 5/T and stable/beta.
Click to expand...
Click to collapse
Is this hmp or EAS? Gonna give it a try
@crian Seems promising.. Your kernel is actually on par with what @nathanchance put out..
Anyway do you include latest CAF updates as well?
Sent from my OnePlus 5 using XDA Labs
infatality said:
@crian Seems promising.. Your kernel is actually on par with what @nathanchance put out..
Anyway do you include latest CAF updates as well?
Click to expand...
Click to collapse
Latest CAF kernel.lnx.4.4.r27-rel and wlan driver are merged in.
Update to v1.1
Changelog
- Upstreamed to Linux 4.4.156
- CPU Boost improvement (Apps start faster on a cold launch)
- USB fast charge
- Upstreamed Android Binder
- Removed Dynamic SchedTune Boost (it is not very effective on a HMP kernel)
Download
Primary: https://raw.githubusercontent.com/crian/rf-zips/master/stable/ReverseFlash-OP5-v1.1.zip
Archive: https://github.com/crian/rf-zips/tree/master/stable
Commits: https://github.com/crian/kernel_oneplus5/commits/reflash
Thanks @crian! I've been waiting for something like this! Great to see someone's continuing Nathan's great work

[KERNEL][OOS][PIE][4.4.172][GCC 8.2.1] π-Kernel v4 [27-01-2019]

​
Introduction
Hello everyone, this is my personal kernel for the OnePlus 5/5T.
This kernel is made with a focus on performance, battery life and stability.
Please flash it only on OOS Pie!
Hopefully you will enjoy it!
Telegram Chat
Important thread information!
If you got issues please provide a log.
If you got feature requests, just ask.
OT is allowed.
Flash instruction
On OOS stock kernel:
- Flash kernel zip
On custom kernel:
- Dirty flash stock rom
- Flash kernel zip
Features
Major features
- Up to date with OOS Pie (Stable and Beta)
- Up to date with the latest stable Linux version
- Up to date with the latest CAF tag
- Mainline CFQ scheduler improvements
- Disables dm-verity
- CPU Boost improvements
- Interactive Gov. improvements
- Touchboost
- Wake Gestures
- Sweep2Sleep
- Backlight Dimmer
- Sound Control
- Wakelock Blocker
- USB Fast Charge
- Several subsystems converted to use power efficient workqueues
- Latest WireGuard snapshot
- Westwood as the default TCP algorithm
- Built with a self compiled GCC 8.2.1 toolchain
- ...
Downloads
Primary
Sources:
Kernel: https://github.com/crian/kernel_oneplus5
AnyKernel: https://github.com/crian/AnyKernel2
Credits and Thanks:
- @nathanchance for upstreaming
- @osm0sis for AnyKernel2
- @Sultanxda for being a Dev
- @franciscofranco for having some nice stuff
- and all the other amazing Devs out there
If you like my work and want to support me, buy me a coffee or two: Donate
XDA:DevDB Information
[KERNEL][OOS][PIE][GCC] Pi-Kernel, Kernel for the OnePlus 5
Contributors
crian
Source Code: https://github.com/crian/kernel_oneplus5/tree/9.0_Beta
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v5
Stable Release Date: 2019-01-27
Created 2019-01-06
Last Updated 2019-01-28
You are back. Awesome
meph02 said:
You are back. Awesome
Click to expand...
Click to collapse
I can only agree
Create a telegram group
rishabh1326 said:
Create a telegram group
Click to expand...
Click to collapse
You can't be serious right? ?
Did anyone else read [oop][sie]
Well I guess I just had an oopsie
rishabh1326 said:
Create a telegram group
Click to expand...
Click to collapse
Read the op!
Running great so far. I had one instance of the phone lagging for a couple seconds, but that hasn't occurred again. Great work!
Added to the OnePlus 5 Index Thread here.
Does this kernel give better battery life then stock
Will you build with eas too?
shadowstep said:
Added to the OnePlus 5 Index Thread here.
Click to expand...
Click to collapse
Thanks!
sleepwalking0593 said:
Does this kernel give better battery life then stock
Click to expand...
Click to collapse
I hope so! ?
CooperBrick said:
Will you build with eas too?
Click to expand...
Click to collapse
At the moment I have not planned that.
First of all, thanks for your work on this (still) awesome phone.
I'd like to try your kernel but I can't live without kcal control (night mode isn't enough for me), so I was wondering if it may be added one day or if there's no chance .
Not really asking to add it, but that's just to know if I should not waste my time, I hope you understand it in the correct way.
Have a nice day [emoji1360]
Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk
J0kker said:
First of all, thanks for your work on this (still) awesome phone.
I'd like to try your kernel but I can't live without kcal control (night mode isn't enough for me), so I was wondering if it may be added one day or if there's no chance .
Not really asking to add it, but that's just to know if I should not waste my time, I hope you understand it in the correct way.
Have a nice day [emoji1360]
Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk
Click to expand...
Click to collapse
I had kcal in a test build and the driver seemed to be broken.
But I can check this again.
Hello dev..
Thank you for the good work for me it works very fine.
I have a question plz.
why is it not possible to permanently turn off processors? The other thing the Boeffla kernel has is the ability to amplify the speakers louder, for example, to listen to music. your kernel does not have that rights.
Jakkomo77 said:
Hello dev..
Thank you for the good work for me it works very fine.
I have a question plz.
why is it not possible to permanently turn off processors? The other thing the Boeffla kernel has is the ability to amplify the speakers louder, for example, to listen to music. your kernel does not have that rights.
Click to expand...
Click to collapse
Hotplugging is a very bad idea on newer SoCs, such as our SD835, thus you shouldn't turn off any core anyways, that's why, there is no option for this.
Update to v2
Changelog
- Merged Linux 4.4.170
- Upstreamed cpufreq times
- Upstreamed sdcardfs
- Bluetooth improvements
- arm64 optimizations
- Switched to HZ 300
- Reduced kernel size
- Boot time improvement
- Fixed issues with Google Camera
AnyKernel2 changes:
- Adjusted read-ahead values
- Added some file permissions
Download
Direct
Commits: https://github.com/crian/kernel_oneplus5/commits/9.0_Beta
Anyone tested this kernel on theOne5Os rom based on OOS ?

Categories

Resources