[KERNEL] [LineageOS] [EAS] Energy Aware Scheduling [Mar 07] - HTC 10 ROMs, Kernels, Recoveries, & Other Developm

Code:
****Disclaimer: I'm not responsible if you destroy your device. Use at your own risk.
Introduction:
This kernel is to be used to enable Energy Aware Scheduling (EAS) on a LineageOS based device. No features will be added, unless they are directly related to the bare-bones functioning of EAS. You must leave the scheduler as either sched or schedutil to maintain EAS functionality. Feature requests will be ignored and reported.
Note to developers: Please feel free to use my 14.1-master-eas branch to base your LOS kernels off.
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:
Same as LOS + EAS
Requires:
CM/LOS 14.1 based ROM
Changelog:
Code:
3.07.17
-------------------------
*Upstream LOS changes (rebased)
2.27.17
-------------------------
*No longer doing standard versioning. Just going to be a date.
*Re-based with most recent LOS/upstream changes
*Fixed bug with schedutil causing a bunch of cgroup warnings in logs (Thanks Renderbroken and Eliminater74)
2.22.17- v0.1
-------------------------
*Initial release
Install:
Back up.
Flash in TWRP.
Download:
Download Section
Additional Credits:
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 @crpalmer for all his hard work on the HTC 10 LOS kernel
Thanks to @cufuffles for suggestions on the ramdisk
Thanks to my testers: @rav101, @Meowdib (If I forgot you let me know)
Original Sources:
LineageOS Kernel
Original EAS Kernel Source
AnyKernel2 by @osm0sis
XDA:DevDB Information
PME MSM8996 LineageOS EAS Kernel, Kernel for the HTC 10
Contributors
tabp0le
Source Code: https://github.com/tabp0le/android_kernel_htc_msm8996/tree/14.1-master-eas
Kernel Special Features: LineageOS kernel with Energy Aware Scheduling (EAS)
Version Information
Status: Snapshot
Stable Release Date: 2017-03-07
Created 2017-02-22
Last Updated 2017-03-07

Reserved

Reserved

Sorry, but for illiterate peons like myself....
Pros and cons of this vs your pure AOSP kernel?
Thanks.

Really great, thank you for your work

mcwups1 said:
Sorry, but for illiterate peons like myself....
Pros and cons of this vs your pure AOSP kernel?
Thanks.
Click to expand...
Click to collapse
My other kernel has modifications and additional features. This kernel only enables EAS. You can find out more about EAS here.

Kernel seems to cause SDcard corrupted message, my external SDCard is formatted in vFat.

Flashed your kernel 4hrs ago and so far so good no problem at all im running latest RR by eliminater. youtube seems fine at 60fps great battery life no heavy drain everything runs smooth thank you keep going man!

What is the difference of sched and schedutil governor?

AntoRei said:
What is the difference of sched and schedutil governor?
Click to expand...
Click to collapse
I believe schedutil is newer and still being worked on. Try both.

I tried, maybe with schedutil a slight increase of performance

AntoRei said:
What is the difference of sched and schedutil governor?
Click to expand...
Click to collapse
Sched is external governor which was made especially for qcom-based devices.
Schedutil is the new governor that available in upstream since 4.7 kernel.
Schedutil works purely on update callbacks that triggered by task scheduler on any CPU utilization changes.
This allows governor to response to the load changes immediately and then scale frequency using scheduler information.
I can't say anything about sched, but personally I recommend to use schedutil.

Updated with latest LOS changes and some bugfixes

Related

[KERNEL][JB/KK][UNOFFICIAL][LINARO]Neatkernel 2.0

Neatkernel2.0 by gsstudios​
This project is now no longer updated. I won't be using my sgs for a while.​
It is compatible with all JB (4.1.2,4.2.2,4.3, 4.3.1) and KK (4.4.2, 4.4.4) ROMs based on AOKP and CM layout!
The Mission:
To continue giving support for the much loved kernel. New features and additions will be added to improve flexibility and speed to the already amazing kernel. My goal is to improve Neatkernel kernel as much as I can, without sacrificing stability.
DISCLAIMER:
ONLY FOR AOSP BASED ROMS
I'm not responsible for bricked devices or wrong version flashing
You are using this kernel at your own responsibility​
——— !!!!!!!! YOU HAVE BEEN WARNED !!!!!!!! ———
FEATURES:
- Linux kernel 3.0.101
- Double Recovery
- Swap SD card
- OC up to 1500mhz
- BLN & CM LED
- Compiled with Linaro 4.9.4
- Fast charge
- Vibration intensity
- Deep Idle
- Governor ondemand
- Governor intelliactive
- Governor OndemandX
- Governor lagfree
- Governor wheatley
- Governor smartassV2
- Governor lulzactive
- Governor conservative
- Governor interactive
- Governor interactiveX
- Governor SavagedZen
- Governor minmax
- Governor brazilianwax
- Governor adaptive
- Governor ondemand
- Governor userspace
- Governor powersave
- Governor lionheart
- Governor perfomance
- bfq I/O scheduler
- cfq I/O scheduler
- deadline I/O scheduler
- fifo I/O scheduler
- noop I/O scheduler
- row I/O scheduler
- sioplus I/O scheduler
- vr I/O scheduler
- zen I/O scheduler
- Fast Charge support
- SWAP support
SWAP SD
the hard way is to modify /system/.neatkernel/swapsd from "swapsd=0" to "swapsd=1" and you External Card Will Be use like internal.
delete /system/.neatkernel/swapsd will go back to stock storage status.
CWM Recovery is by default.
To boot in TWRP just hit any volume keys after vibrate to boot into TWRP recovery.
THINGS TO DO:
- Why don't you tell me what to do
THINGS I WILL NOT ADD:
Code:
- LZ4 Compression (Our Boot partition is way too small to support this)
- Useless CPU governors such as Userspace
- Colour tuning support (Unless someone helps me with this)
- Higher thermal limits (We all know what happens if we do this)
- Higher overclocking/Lower underclocking capabilities (So you want less stability and more SODs?)
- Synapse support (Stweaks is the only app that can fully support this kernel)
- Linux Kernel version updates (My skills need to improve first before taking on something this big)
CREDITS:
mohammad.afaneh (For original Neatkernel source)
Domnesu (For providing builds for the galaxy s)
Christopher83 (For Linaro toolchain)
Chet Kener (For UBER toolchain)
Pawitp
Stratosk
DerTeufel
Kasper_h
neobuddy89
alberto96
DOWNLOAD:
Kernel downloads
See post 3
Video libs
DOWNLOAD links to Standard CyanogenMod video libs. WARNING! Download libs for your version of android!
JB_41_CM_libs.zip
JB_42_43 CM_libs.zip
KK_44_CM_libs.zip
CHANGELOG:
See post 2
KERNEL SOURCE:
Source code of the kernel can be found here:
https://github.com/gsstudios/NeatKernel_captivate
And for the original Neatkernel source:
https://github.com/mohammad92/NeatKernel_captivate
ISSUES:
Sometimes Camera video recording and Gallery video playing do not starts from first attempt. Do not panic! It is not bug it is feature of CMA memory allocation! Close Camera or Gallery. Try again. - Fixed in build b002
If video playback is crashes with error then you need to flash standard CyanogenMod video libs. This error is due to you use bigmem libs from previous ROM or KERNEL.
USEFUL LINKS
- CPU Governor and I/O Scheduler Guide
TCP Algorithm guide
HAVING PROBLEMS?
Check the troubleshooting guide before asking questions
HOW TO FLASH?
Check the troubleshooting guide
WHICH APP TO TUNE KERNEL?
Use devil tools
​
XDA:DevDB Information
Neatkernel 2.0, Kernel for the Samsung Galaxy S I9000
Contributors
gsstudios
Source Code: https://github.com/gsstudios/NeatKernel_captivate
Kernel Special Features:
Version Information
Status: No Longer Updated
Current Stable Version: b002
Stable Release Date: 2015-11-02
Current Beta Version: b001
Beta Release Date: 2015-11-02
Created 2015-11-01
Last Updated 2015-11-07
Changelogs:
--UNRELEASED VERSIONS--
Code:
- Nothing to see here :)
--RELEASED VERSIONS--
Code:
[B]Neatkernel 2.0 b002 (STABLE)[/B]
- CMA removed (Too many problems when enabled. A lot of related commits were reverted)
- Fixed BFQ, you can now set in kernel tuning apps
- Fixed Westwood not being default TCP algorithm
- SIOPLUS is now the default IO scheduler
[B]Neatkernel 2.0 b001 (BETA)[/B]
- Built with latest linaro 4.9.4 from Christopher83
[STRIKE]- Introduced BFQ io scheduler v7r8 [/STRIKE] - Broken. Fixed in next release
- Initial support for TCP algorithm changing
[STRIKE]- Westwood is now the default TCP algorithm[/STRIKE] - Fixed in next release
- Selinux changed to permissive, please confirm
Downloads
I test most of these builds to make sure they are stable. There may be some cases where I might not test out a build before releasing it. Kernels marked with '(STABLE)' are safe for everyday use, but only take this as a indication.
Which version to get?
galaxysmtd = international i9000 variant - This is the main version I will be building for
captivatemtd = SGH-i897
galaxysbmtd = Samsung Galaxy S B
vibrantmtd = SGH-T959
MAKE SURE YOU'RE DOWNLOADING THE RIGHT KERNEL. OTHERWISE YOU COULD BRICK YOUR DEVICE!
Main download link:
https://www.androidfilehost.com/?w=files&flid=42683
Mirror download link:
https://github.com/gsstudios/NeatKernel_captivate/releases
​
Beta builds and stable builds will only be uploaded on AFH and github.
Troubleshooting
(Probably one of the most detailed troubleshooting guides for kernels on XDA)
For general help, please use the Q&A thread
Q:How do I flash your kernel?
A: You flash kernels like flashing roms, except you don't have to factory reset your phone. If you can't flash the kernel for some reason, you can either flash philz recovery then flash the kernel OR you can just make your own kernel .tar file and flash via ODIN by following this guide: http://forum.xda-developers.com/galaxy-s2/development-derivatives/convert-kernel-zip-to-tar-t2994381
Q: Which kernel version build should I flash?
A: Flash the latest stable version if you want the most stable experience. Builds that have not been marked with 'Stable' are mostly stable, or haven't been tested enough to earn a stable tag. Either way, it's up to you which one you want to flash. Read the changelog for any important changes that might have occurred in a particular build.
Q: I get constant FCs after flashing your kernel!
A: Have you wiped your cache partition, dalvik cache and reset stweaks settings? If you've done all of these already, a logcat would be nice
Q: What is a TCP algorithm?
A: Congestion control strategies (or algorithms) are used by TCP, the data transmission protocol used by many Internet applications. The main goal of a TCP algorithm is to avoid sending more data than the network is capable of transmitting, that is, to avoid causing network congestion.
Q: Why not use XYZ toolchain?
A: See this post
Q: What is UBER?
A: After years of using different custom toolchains like Linaro and SaberMod, I found there were things I liked about both of them but also things that didn't sit quite as well with me. SaberMod always seemed to have UI lag (especially in scrolling) but opened apps well and Linaro always seemed to be buttery smooth but had terrible app opening speed. Linaro battery was also worse for me than SaberMod. After going back and forth between toolchains I finally had this epiphany! Why not just take all of the best parts of all toolchains and merge them into one? So I began bringing up my own toolchain from gnu.org. At first I patched in all of the AOSP toolchain pactches (much like how SaberMod did it originally however it is important that you realize that No! I did not copy and paste SaberMod into my source I'm simply stating that I used their idea of merging aosp into gnu.org) to my source. Then I went through and added all of the linaro patches that I could to the source. I also made sure that I had the very latest of every toolchain component. I then made very minimal changes to the aosp toolchain build folder to allow for building with these newer toolchain components and UBERTC was born!!! (Note: both Linaro and SaberMod both made lots of modifications to the toolchain build folder, UBERTC is the closest to the aosp build process)
Click to expand...
Click to collapse
Do you guys want UBER toolchain or Linaro toolchain for this kernel? If you want to know what I think, I think linaro will be better suited as for older devices, linaro usually performs better.
Kernel will be released sometime this week, hopefully by today, I will be able to upload.
There seems to be a problem with the Neatkernel script as the zip files are not being created properly. Will fix this issue soon.
Test builds are up, must be flashed using ODIN or heimdall. Won't be a 'official' release until I fix the zip issues.
regards, gsstudios
Update: All good now. Just renamed the zimage from the .tar file to boot.img, then it should be flashable in a zip file. This kernel is officially released now.
great work
many thanks
Next build will have CMA reverted. Bigmem is much more stable and reliable compared to CMA, but that means of course we get less ram. BFQ will now be able to be selected and Westwood is now the default TCP algorithm. I will decide whether to build with UBER toolchain later on the kernel development, right now the focus is on improving the stability of the kernel and porting new features.
regards, gsstudios.
Just flashed NeatKernel_galaxys_v2.0b002-[11-02]-[17-33].zip. Live OC is not supporting, Custom Voltages is not supporting... A lot of features from description of kernel are not supporting. Why it happened?
jupiter5700 said:
Just flashed NeatKernel_galaxys_v2.0b002-[11-02]-[17-33].zip. Live OC is not supporting, Custom Voltages is not supporting... A lot of features from description of kernel are not supporting. Why it happened?
Click to expand...
Click to collapse
Will be available hopefully in next build. Was supposed to edit the OP and add those features later.
Regards, gsstudios.
gsstudios said:
Will be available hopefully in next build. Was supposed to edit the OP and add those features later. Regards, gsstudios.
Click to expand...
Click to collapse
It will be great if you port this kernel to ICS.
may I know the ram for this kernel ? thanks
yah7733 said:
may I know the ram for this kernel ? thanks
Click to expand...
Click to collapse
v2b002 ram amount is about 382Mb
Due to the lack of activity on my i9000, I have decided to abandon this project and will no longer give updates to this kernel. The thread will remain open until it becomes unused.
regards, gsstudios.
:crying::crying::crying:
gsstudios said:
Due to the lack of activity on my i9000, I have decided to abandon this project and will no longer give updates to this kernel. The thread will remain open until it becomes unused.
regards, gsstudios.
Click to expand...
Click to collapse
OK. But you must to delete your feature list, cause it is fake most of all, unfortunately.
jupiter5700 said:
OK. But you must to delete your feature list, cause it is fake most of all, unfortunately.
Click to expand...
Click to collapse
Just think of it as incomplete. I just don't have the time to work on the sgs anymore (need more time on my sgs 2 as this is my main device, main development device). Sorry I couldn't bring all promised features.
Regards, gsstudios
Update: OP updated. This will be the last post on this thread. Seems like a good time to close it.

[Kernel][CAF][7.1] Neon kernel v23

Neon kernel for Oneplus One (bacon)
Disclaimer:
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.
Features/changelog:
v23 (June 8th)
kernel code base updated to Linux 3.4.32
DCACHE_WORD_ACCESS optimization for ARM devices
old releases:
v22 (May 13th)
AutoSMP hotplug
support for wakelock blocker (by franciscofranco)
code base updated to Linux 3.4.18
minor fixes & improvements
v21.1 (May 6th)
a couple of fixes for the GPU drivers
v21 (May 3rd)
CPU undervolting & overclocking
kexec-hardboot patch
zen I/O scheduler
impulse CPU governor
msm_limiter v5.4
sound control interface
miscellaneous fixes, tweaks & improvements
v20 (April 21st)
added State Notifier
added bricked hotplug
many miscellaneous improvements and fixes
a few security fixes
v19 (April 15th)
built from scratch on top of Sultan's latest sources - read this post for more info
built with QUVNTNM-TC (based on GCC 7)
f2fs backported from Linux 3.10
sdcardfs support
many architecture-specific improvements, tweaks and optimizations
many of the latest CVE fixes have been implemented
CPU underclocking (268,8 MHz)
unaligned memory access enabled
zen-tune scheduler tweaks
lots of minor updates, fixes and improvements (check Github for more details)
v18.5 (27th February)
security fixes
v18.4 (17th February)
minor updates & fixes for cpufreq and f2fs
v18.3 (14th February)
adreno crashes are possibly fixed
v18.2 (February 10th)
cpufreq governor tweaks
minor updates & fixes
v18.1 (February 4th)
cpufreq governor improvements & fixes
a few security updates
zen-tune scheduler tweaks
v18 (20th January)
lots of source updates (among which, spi & qseecom backports from 3.10)
minor optimizations and improvements
v17.1
a couple of security fixes
fixed some issues with the getrandom syscall
v17 (8th January)
f2fs driver backported from Linux 3.10
random number generator driver backported from Linux 4.1
several updates & optimizations for the ARM platform and our MSM8974 SoC
some security fixes
improved memory management parameters (might provide better battery life)
up-to-date with Sultan's kernel
new (and default) TCP congestion control algorithm: "ascarex" by Klozz
ZRAM, zcache, zsmalloc are supported (they are disabled by default)
v16.2 (27th December)
a few source updates
swap support
improved power consumption during suspension
v16.1 (24th December)
compiled with more GCC optimizations
fix for issues with Magisk modules
minor updates and improvements
v16 (21st December)
additional GCC optimizations
loads of source updates applied to: locking, cpuidle, binder and other parts of the kernel
AutoSMP has been re-added and updated
added & implemented quickwakeup
other minor, miscellaneous changes
v15 (December 15th)
improved memory compaction routine
some security fixes
patches by Nvidia to improve power usage
v14.1
minor security & bug fixes
improved automatic memory compaction algorithm
v14 (4th December)
up-to-date with Sultan's kernel
removed zzmoove governor, added ondemandplus and impulse
removed AutoSMP, added intelliplug by faux123
kernel/workqueue and cpufreq backports from Linux 3.10
directIO patches ported from Linux 3.16
random number generator improvements
CPU overclocking (disabled by default) and underclocking
max CPU freq. set to 1,9 GHz during the booting process
task scheduling algorithm updates & improvements
kexec-hardboot patch fixed
KCAL color control interface updates
binder updates
hundreds of minor security fixes, improvements, and optimizations
v13 (12th November)
Efficient unaligned memory access & dcache word access
random number generator driver backported from Linux 3.16
several backports for the kernel's task scheduling algorithm
memory management/lowmemorykiller source updates & backports
zzmoove CPU governor added
minor source updates, fixes and backports
v12 (5th November)
Spectrum support (profiles will be perfected in the next releases)
added the possibility to block certain wakelocks (thanks to franciscofranco)
UKSM v0.1.2.3 added and enabled by default
maple I/O scheduler tweaks
minor miscellaneous improvements and fixes
v11 (23rd October)
code base updated to Linux 3.4.113
I/O schedulers: maple
built with the most appropriate set of compiler optimizations for Krait CPUs
hundreds of source updates & backports, mainly related to the kernel's task scheduler
completely renewed and up-to-date sdcardfs driver
smarter AutoSMP hotplug
v10 (6th October)
kernel code base updated to Linux 3.4.108
I/O schedulers: fiops
built with an up-to-date gcc-5 based UBER Toolchain
v9.1
performance improvements (?)
v9 (27th September)
built with up-to-date GCC 5 UBER toolchain
kernel code base updated to Linux 3.4.83
v8 (21st September)
kernel code base updated to Linux 3.4.60
minor improvements (more details on Github)
v7 (9th September)
kernel code base updated to Linux 3.4.45
several minor optimizations and security fixes (see Github for more details)
f2fs driver updated
I/O schedulers: added cfq and zen (default)
kexec-hardboot fix (still not working)
v6 (28th August)
kexec-hardboot patch (not working at the moment)
support for charging at up to 2,5 A
up-to-date with Sultan's kernel
v5 (26th August)
kernel code base rolled back to 3.4.27
CPU memory bandwidth overclock & tweaks
added new compiler optimizations as suggested by the Linaro team
security updates & fixes
v4 (15th August)
kernel code base updated to Linux 3.4.64
minor improvements, fixes and optimizations
v3.1 (7th August)
rebased on top of Sultan's latest updates
"impulse" CPU governor
v3 (5th August)
CPU undervolting
battery charging limiter (learn how to use it here: https://forum.xda-developers.com/showpost.php?p=73126071&postcount=2)
kernel base updated to Linux 3.4.27
built with O3 optimizations
other misc improvements/fixes
v2 (2nd August)
built with krait and neon vfpv4 optimization flags (for Krait CPUs)
KSM is available
source updated to Linux 3.4.8
Gentle fair sleepers and Arch power toggles
Power-efficient workqueues
optimized Krait memcopy libraries
frandom support
other minor tweaks/improvements/fixes
v1 (22nd July)
built with UBER gcc 4.9 toolchain
no CPU underclocking
async fsync
sdcardfs support
franciscofranco's sound control
state notifier with PM suspension hooks
AutoSMP hotplug by mrg666 and neobuddy89
other minor improvements and optimizations (check commits on Github)
Compatibility
The kernel is fully compatible with Sultanxda's LineageOS 14.1. It should be compatible with all the other CAF/"sultanized" ROMs. If you decide to try it on any other ROM please report if it's working or not. The kernel is obviously not compatible with non-CAF ROMs.
Download
The kernel can be download from AFH: Neon kernel on AndroidFileHost
Credits to:
@franciscofranco
@neobuddy89
@faux123
@AdrianDC
@dorimanx
XDA:DevDB Information
Neon kernel for Oneplus One, Kernel for the OnePlus One
Contributors
Tomoms
Source Code: https://github.com/Tomoms/neon_kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 23.0
Stable Release Date: 2018-06-08
Created 2017-07-22
Last Updated 2018-06-08
Reserved
Not supported as of v19.
How to tweak the parameters that are not shown in Kernel Adiutor
battery charging limiter:
open
Code:
/sys/kernel/charge_levels/charge_level_ac
or
Code:
/sys/kernel/charge_levels/charge_level_usb
and write the maximum charging current you want (measured in mA). Obviously the -ac file applies the limit when charging via the wall charger, the -usb file when charging via USB. 0 = stock settings.
Reserved
Bugs:
in v19 there are no major bugs or known issues.
Does this kernel have LCD KCAL?
aocboe said:
Does this kernel have LCD KCAL?
Click to expand...
Click to collapse
Yes, indeed.
Fast charge
pankspoo said:
Fast charge
Click to expand...
Click to collapse
Is that a question or a feature request or whatnot? This kernel hasn't got fast charging and I'll probably add it soon.
Ok thanks. I just used sdcardfs with u r kernel and RRM sutenized rom is running snappiest ever. Thanks your kernel is really amazing.
pankspoo said:
Ok thanks. I just used sdcardfs with u r kernel and RRM sutenized rom is running snappiest ever. Thanks your kernel is really amazing.
Click to expand...
Click to collapse
Thank you! Yeah, I've noticed too that with this kernel and sdcardfs the phone really flies.
Tomoms said:
Thank you! Yeah, I've noticed too that with this kernel and sdcardfs the phone really flies.
Click to expand...
Click to collapse
Your kernel will work with aosp-caf?
Mr.Ak said:
Your kernel will work with aosp-caf?
Click to expand...
Click to collapse
I have no idea. I'm still a beginner in the world of OPO's ROM's. If AOSP-CAF uses Sultan's camera, my guess is that the whole kernel will probably work. If you try, let me know the result.
Autosmp was developed by mrg666.
Which thermal driver? And a way to use sdcardfs instead of fuse on sultan's los? And thank you for sharing this with us.
DerRomtester said:
Autosmp was developed by mrg666.
Click to expand...
Click to collapse
Thanks for the clarification. I'll correct the first post as soon as possible.
Lisko said:
Which thermal driver? And a way to use sdcardfs instead of fuse on sultan's los? And thank you for sharing this with us.
Click to expand...
Click to collapse
Sultan's thermal driver. To use sdcardfs on ROMs that normally use fuse, just add ro.sys.sdcardfs=true at the end of your build.prop and reboot.
Tomoms said:
I have no idea. I'm still a beginner in the world of OPO's ROM's. If AOSP-CAF uses Sultan's camera, my guess is that the whole kernel will probably work. If you try, let me know the result.
Click to expand...
Click to collapse
I don't think aosp-caf ROM that I'm using,is using sultan's camera.Here's the ROM that I'm using,
https://forum.xda-developers.com/oneplus-one/development/rom-aosp-caf-t3584633
I'll give your kernel a try and let you know what works and what not.Thanks for your work!
Mr.Ak said:
I don't think aosp-caf ROM that I'm using,is using sultan's camera.Here's the ROM that I'm using,
https://forum.xda-developers.com/oneplus-one/development/rom-aosp-caf-t3584633
I'll give your kernel a try and let you know what works and what not.Thanks for your work!
Click to expand...
Click to collapse
I don't think it will work.
Meanwhile i created video how to use sdcardfs with this kernel
MOD EDIT: YOUTUBE LINK REMOVED
But video recording is upside down in RRM CAF rom is it bug?
pankspoo said:
Meanwhile i created video how to use sdcardfs with this kernel
MOD EDIT: YOUTUBE LINK REMOVED
But video recording is upside down in RRM CAF rom is it bug?
Click to expand...
Click to collapse
Please take permission from OP before creating such videos,or,otherwise noted in OP.
---------- Post added at 04:49 PM ---------- Previous post was at 04:46 PM ----------
Tomoms said:
I don't think it will work.
Click to expand...
Click to collapse
The camera or the whole kernel?
Mr.Ak said:
Please take permission from OP before creating such videos,or,otherwise noted in OP.
---------- Post added at 04:49 PM ---------- Previous post was at 04:46 PM ----------
The camera or the whole kernel?
Click to expand...
Click to collapse
Only camera screen while taking video. But saved video is playing ok.
And regarding OPs permission if he is not Ok with my work he will tell me about that, but he don't. So nothing is wrong man! I ak just spreading his work so most of peoples will get in touch, i am not copying anything.
pankspoo said:
Only camera screen while taking video. But saved video is playing ok.
And regarding OPs permission if he is not Ok with my work he will tell me about that, but he don't. So nothing is wrong man!
Click to expand...
Click to collapse
It's a ROM bug. On my phone it doesn't happen.
Yeah no problem with the video, asking for permission is right when you need to mirror a file, or publish it somewhere etc. To show my work in a simple video is totally fine!

[KERNEL][4.4.83+][LOS] Vision1 - fast/smooth/battery-friendly

Vision1 Kernel
Working with LineageOS (Sync with LineageOS Kernel Source)
Kernel Version : 4.4.83+
CPU up to little/big 2.0/2.6 GHz
CPU down to little/big 69/69 MHz (300/300 MHz _nuc version)
GPU up to 710 MHz
GPU down to 180 MHz
blu_active, alucard, ondemand, interactive, performance, conservative, powersave, ... CPU Governors - interactive default
ZEN, VR, FIFO, MAPLE, SIO, SIOPLUS and FIOPS IO Scheduler - MAPLE default
IOsched switcher
Adaptive LMK
more TCP Cong - Westwood default
Adreno Idler - default on
Adreno Boost - default off
Backlight dimmer option - default off
Workque Power Saving - default on
Tunable Wakelock
Input Boost - default on
Touch Boost - default off
Soundcontrol
KCAL
DT2W
Wifi driver from CAF
Stock Camera Driver <- use all camera and better picture quality
NTFS FileSystem R/W
SafetyNet patched
Working with Kernel Adiutor (I prefer EX Kernel Manager)
Anykernel Installer
Fingerprint is useable as Homebutton
optimized UBERTC 4.9.4 with mixed -O2/-O3 + pipe + graphite flag
more...
Be careful!!! Make backup before flash. Please report if you find an issue. Thanks
Download @ XDA
Download @ AFH
Thanks to:
LineageOS for base
@RenderBroken for EAS port
codeworkx for working on base
flar2 for patches
sultanxda for patches
UBERTC for toolchain
more
XDA:DevDB Information
[KERNEL][4.4.83+][LOS] Vision1 - fast/smooth/battery-friendly, Kernel for the OnePlus 5
Contributors
AuxXxilium
Source Code: https://github.com/AuxXxilium/kernel-msm8998
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: Vision1_2017_08_23
Stable Release Date: 2017-08-23
Created 2017-08-11
Last Updated 2017-08-23
Changelog and more...
Upcoming
Vision1_2017_08_XX
--- anything to do?
Changelog
Vision1_2017_08_23
first build after a complete rebase of the kernel. all upstream patches and the most CAF patches are done. clean merge with all commits.
old and stable WiFi driver
no CPU UC/OC
Vision1_2017_08_21 <- wipe cache
new EAS version with patches from RenderBroken
bring back interactive as default and iosched switch to go to noop if screen is off
WiFi driver update
only little changes
Vision1_2017_08_20
2 versions: a normal one and one without underclock.
CAF - reduced some voltages or make them dynamic
CAF - performance and camera related patches
Build System optimizations
Vision1_2017_08_19
Biggest Bugfix-Build ever
pocket judge working
removed cpu input boost from big cluster
removed temp throttle from big cluster
and much more...
Vision1_2017_08_18
Linux Kernel 4.4.83
go back to UBERTC 4.9.4 <- is smoother than 5.3
some little changes
Vision1_2017_08_17
use UBERTC 5.3
go back -Ofast -> -O2 for stability
battery optimization
more compiler optimization
fix a charging related bug
fix an input delay
tristate-key sync with LOS
remove old camera driver
VisionOne_2017_08_16
new Camera Driver - now we can use all camera
new WiFi Driver
more LOS changes
Careful please: there is a version with new and old memory setup. LOS uses from today the new memory setup. i build both versions because not all custom rom have ported this.
VisionOne_2017_08_15_new_wifi
updated wifi driver from https://review.lineageos.org/#/c/185015/
more...
VisionOne_2017_08_15 <- wipe cache please
Dash fixed
Deepsleep fixed
Fingerprint Homebutton is working with 20170815 build from codeworkx
synced with LineageOS upstream
new CPU Steps 69MHz, 160MHz, 230MHz
set Touchboost --> default off / CPU Input Boost -> default on
Linux Upstream 4.4.79 -> 4.4.82
optimized UBERTC 4.9.4 compiler
mixed -O2/-O3/-Ofast compiler flag for stabilty and speed
more compiler changes
more...
VisionOne_2017_08_13_CAF <- wipe cache after flashing
Sync with CAF Upstream
something more
VisionOne_2017_08_13
Linux 4.4.21 -> 4.4.79
some little fixes for more smoothness
VisionOne_2017_08_12_fix - 177xxx in Antutu - see Screenshots
fix build
faster boot
some little fixes
VisionOne_2017_08_11
initial build
Reserved
Wow!! You are the man who made the best lollipop rom for OP2
I'm going to flash this one, If something goes wrong you'll gift me a new 1+5=?...
Just kidding, Thanks @AuxXxilium..
Amazing
Enviado desde mi ONEPLUS A5000 mediante Tapatalk
I'm going to try this one out right now..Thanks for ur efforts.
angelmakumbe said:
Wow!! You are the man who made the best lollipop rom for OP2
Click to expand...
Click to collapse
thanks. nice to see someone knows me after a long time away.
tested the kernel briefly on Unofficial RR, the UFS speeds seem to be much better than LK or Carbonite... missing the home button though flashing like crazy today, can't catch a break
@AuxXxilium as you've stated in OP home button is not usable, But mine is working fine..
OMG, you are alive still? Used to use your kernel before I learned how to make kernels
AuxXxilium said:
thanks. nice to see someone knows me after a long time away.
Click to expand...
Click to collapse
I remember you from the G2 times too, I used to follow your work back then, I'm happy to see you again. I'll definitely try your kernel and keep my eye on this thread!
Glad to see more kernel devs are supporting us folks on LOS. Flashing this kernel presently.
DespairFactor said:
OMG, you are alive still? Used to use your kernel before I learned how to make kernels
Click to expand...
Click to collapse
i know it's a joke.
thanks.!!
best kernel!!!
AuxXxilium said:
i know it's a joke.
Click to expand...
Click to collapse
Not a joke at all, I used to use your kernel on Nexus 5, I think?
DespairFactor said:
Not a joke at all, I used to use your kernel on Nexus 5, I think?
Click to expand...
Click to collapse
Oh that is nice. Now you are a great dev.
AuxXxilium said:
Oh that is nice. Now you are a great dev.
Click to expand...
Click to collapse
Thanks I am just a noob haha, you didn't want to believe me
I'm running latest Codeworkx build. Home button doesn't work with stock or vision kernel, but works with lightning kernel. Don't know why
Please be careful. i removed the latest version - because it crashes the dash charge. search for the problem and will fix it soon.

[EOL][KERNEL][3.18.106][7.x-8.x] Polonium Kernel For J7-2016

Polonium Kernel is made with a view that it will give a more stable experience to users of j7-16 and It is to make a user more comfortable with his own device!
This kernel has undergone several days of test before releasing in the stable branch.
This kernel works with ALL ROMS. That being said all TouchWiz-N, Aosp oreo and nougat are supported
Quick overview of Features
Upstreamed to latest linux-stable-3.18.106 from 3.18.14
Improved interactive
List of CPU GOVERNOR
HTML:
alucard
barry_allen
bioshock
blu_active
conservative
dancedance
darkness
electrodemand
HYPER
impulse
intelliactive
intellidemand
intellimm
interactive
ironactive
lionheart
nightmare
ondemand
ondemandplus
ondemand_x
pegasusq
performance
powersave
relaxed
smartass2
smartmax
smartmax_eps
userspace
wheatley
yankactive
IO SCHEDULERS
HTML:
bfq
fifo
fiops
maple
row
sio
sioplus
tripndroid
vr
zen
noop
* Compiled with GCC version 4.9.x
* Frandom
* Low Memory killer
* Fsync toggle
* Dynamic Fsync
* lz4 compression
* Enabled Work Efficient Queue for cpu by default
* Disabled knox & tima
* SafteyNet patches
* Force permissive
* Disabled CRCs (30% performance boost)
* State Notifier
With many under the hood optimisation!!!
Downloads:
Latest version: Polonium V2 for all roms
* Please correct version according to your ROM/Android Version.
Old releases:-
Polonium V1
Please press the thanks button and If u like gift me a pizza or coffee
* paytm *
https://photos.app.goo.gl/olZEKE5OPqA5dEyZ2
XDA:DevDB Information
Polonium Kernel , ROM for the Samsung Galaxy J7
Contributors
abhayruparel, DarkLord1731, lzzy12
Source Code: https://github.com/redking12/polonium_j7xelte
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
Version Information
Status: Stable
Current Stable Version: v2.0
Stable Release Date: 2018-04-28
Created 2018-04-16
Last Updated 2018-08-30
Reserved
Reserved
Awesome work.Thanks)
Good job my friend
Great work bro. Finally custom kernel for AOSP based ROMs. ?
Good Job
Finally An Custom Kernel For J7 2016:fingers-crossed:
Will it work on the samsung stock ??
hi what improvements does the rom make that kernel? improves whatsapp's audio? can you play from the sd card with folder mount as 7.1.2 aosp? Is the problem of counting with parallel space fixed? From already thank you very much
Can you overclock it a little bit like in Oxygen Kernel? It'll be really helpful in gaming.
ahsan_ said:
Will it work on the samsung stock ??
Click to expand...
Click to collapse
Only for AOSP Oreo.
Very nice work and great effort for our j7 6 device.
install the kernel in the slimrom and I get out every time the systemui poster stopped working and the screen is all black. any solution?
Please add spectrum support, kernel manager
On cosmic os 3.1 it breaks certain apps (like electricity bill payment app that you cant log in anymore).
rainspx said:
On cosmic os 3.1 it breaks certain apps (like electricity bill payment app that you cant log in anymore).
Click to expand...
Click to collapse
I will try when it's stable and OC on cosmic os 3.1. Regards from Argentina
Polonium V2 with support for all roms
hey guys after a lot of work, efforts & time im releasing Polonium Kernel V2 which now has support for All TouchWiz, Aosp nougat and oreo support.
ChangeLogs:
* As always upstreamed to Linux stable version 3.18.106
* Revert BFQ as default
* Governor Whitelist for incomplete governors
* Misc. changes which leads to improvements
Download the correct version since now Polonium Supoorts AospOreo, Touchwiz-N & Aosp-N
Download Link
https://github.com/redking12/polonium_j7xelte/releases/tag/v2.0
Join the Telegram Group for testing and general talks or just wanna talk with me: https://t.me/polonium_kernel
abhayruparel said:
hey guys after a lot of work, efforts & time im releasing Polonium Kernel V2 which now has support for All TouchWiz, Aosp nougat and oreo support.
ChangeLogs:
* As always upstreamed to Linux stable version 3.18.106
* Revert BFQ as default
* Governor Whitelist for incomplete governors
* Misc. changes which leads to improvements
Download the correct version since now Polonium Supoorts AospOreo, Touchwiz-N & Aosp-N
Download Link
https://github.com/redking12/polonium_j7xelte/releases/tag/v2.0
Join the Telegram Group for testing and general talks or just wanna talk with me: https://t.me/polonium_kernel
Click to expand...
Click to collapse
Amazing job. Perfectly stable until now with Oreo Dot OS. Eliminated constant freezes of the previously tested kernel.
Polonium Kernel Manager app
Hello to all !
Which kernel manager app should I use in order to modify the Polonium Kernel settings ?
Thank you in advance !
Belfast82 said:
Hello to all !
Which kernel manager app should I use in order to modify the Polonium Kernel settings ?
Thank you in advance !
Click to expand...
Click to collapse
You can use Kernel Adiutor, from Play Store.

[KERNEL][Affinity Kernel][OP5/5T][OOS/Custom][4.4.178][6 Apr]

Introduction:
Affinity Kernel is a custom kernel based on the latest Stable Linux 4.4 release from kernel.org.
This kernel is developed with performance and great battery life in mind offering some goodies cherry-picked from other popular kernels such as Flash Kernel, ElementalX, blu_spark, Boeffla Kernel, Sultan Kernel and Franco Kernel.
The kernel is always up to date with mainline linux kernel and is regulary updated with the latest fixes.
The goal is to provide a butter smooth experience, simmilar to what you get with the latest Pixel devices.
Affinity Kernel is based on the official kernel source released by OnePlus.
Code:
/*
* Your warranty is not void (Thank you 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.
*/
Features:
Upstreamed to the latest Linux Stable 4.4.x
Upstreamed to the latest CAF tag LA.UM.6.4.r1-11500-8x98.0 & LA.UM.7.4.r1-04800-8x98.0
Tunable with Kernel Adiutor and others
Additional CPU gorvernors
Sound Control
Adreno Idler by @arter97
Full WireGuard implementation
Sweep2Sleep gesture
Fast charging on USB
FS fsync toggle (enabled by default)
Additional IO schedulers (Maple, FIOPS, SIO, ZEN)
Qualcomm MDSS v2 (sRGB + KCAL)
dm(avb)-verity disabled
Faster app cold-launch
IO Tuning
Optimized with oFast and O3
Westwood TCP algorithm as default
Full Treble compatibility with Treble related fixes
Individual Input Boost frequency for each cluster
Disabled the BCL battery driver
Backlight Dimmer by @flar2
Boeffla Wakelock blocker v1.1.0
CDROM emulation
init.d support
ARM target optimizations
Passes SafetyNet check
Crypto Routines optimizations
High Brightness mode
Adreno driver improvements
EAS
Dynamic SchedTune Boost v3
KLAPSE Driver
Decreased swappiness
Installation:
Before you install the kernel, make sure you have
a backup of boot partition in case something goes wrong!
If you are coming from stock kernel:
Reboot into TWRP
Flash the Affinity Kernel.zip
Reboot
If you are coming from another custom kernel:
Reboot into TWRP
Dirty flash your rom or restore boot backup if you have any
Reboot recovery
Flash the Affinity Kernel.zip
Reboot
Updating:
Just flash the latest Affinity Kernel build over the previous one
Downloads:
{Mod edit}
On ROMs like Dirty Unicorns, WLAN won't work because the wlan module is required
to load on device initcall rather than late initcall like other ROMs do. There's a workaround for it but
it breaks WLAN on all ROMs that have the module built inline or the CAF way
{Mod edit}
Thanks to:
@joshuous for his EAS commits and Dynamic Sched Boost
@osm0sis for his AnyKernel2 installer
@nathanchance for his android-linux-stable project and helping me
@Lord Boeffla for Boeffla Wakelock Blocker and LED control
@Sultanxda for his fixes and other stuff
@eng.stk for his tweaks
@flar2 for his Sweep2Sleep gesture driver
@tanish2k09 for KLAPSE Driver
And all those folks contributing to Linux Kernel
XDA:DevDB Information
Affinity Kernel, Kernel for the OnePlus 5
Contributors
LinuxUser0227
Source Code: https://github.com/hejsekvojtech/Affinity-OnePlus5
Kernel Special Features: Fast, Battery friendly, Stable, Up to date
Version Information
Status: Stable
Current Stable Version: r24
Stable Release Date: 2018-09-27
Created 2018-09-27
Last Updated 2019-04-06
Compatible with Magisk? If so dirty flash followed by Magisk fine? ?
New Kernel for OOS, amazing, i try this
thx a lot
Nice that you asked me whether you could use my mod... And not even thank me....
RogerF81 said:
Nice that you asked me whether you could use my mod... And not even thank me....
Click to expand...
Click to collapse
Sorry, I forgot. The thread will be updated
Im_Mattgame said:
Compatible with Magisk? If so dirty flash followed by Magisk fine?
Click to expand...
Click to collapse
Yes, you can flash Magisk after flashing Affinity Kernel
Nice I'm going to test it.
Added to the OnePlus 5 Index Thread here.
Affinity Kernel r2 is up!
This build includes just some small changes, mainly new IO schedulers and governors
Here's the changelog:
Enabled all TCP congestion algorithms (westwood is still default)
Enabled full support for Xbox gamepad
Added new IO schedulers:
SIO
ZEN
FIOPS
Added new governor - blu_active
Set Maple IO scheduler as default
Use the same input_boost values as Pixel 2
You can get it HERE
Dash charge doesn't work on r1.
obol2 said:
Dash charge doesn't work on r1.
Click to expand...
Click to collapse
Works for me on both r1 and r2
obol2 said:
Dash charge doesn't work on r1.
Click to expand...
Click to collapse
everything works great!
Khaos said:
Yes, you can flash Magisk after flashing Affinity Kernel
Click to expand...
Click to collapse
So if Magisk is already installed, do you have to flash magisk again after flashing kernel or do you have to uninstall/reinstall after Affinity?
Thanks
bigjailerman said:
So if Magisk is already installed, do you have to flash magisk again after flashing kernel or do you have to uninstall/reinstall after Affinity?
Thanks
Click to expand...
Click to collapse
Nope, you don't have to reflash Magisk after installing Affinity
Thanks for fast reply!!
new kernel! i try it
Affinity Kernel r3 is up!
Here's the changelog:
Upstreamed to Linux Kernel 4.4.159
Added Backlight Dimmer
You can get it HERE
with r3 my phone reboot alone
gege0202 said:
with r3 my phone reboot alone
Click to expand...
Click to collapse
What do you mean ? Does it not boot ? Or does it go in a loop ? Does it give you a blue led black screen ?
Please be more specific
Thanks for your work. I'm using this kernel with Oneplus 5T OB17 and works great.

Categories

Resources