[KERNEL][CM12.1][14/04/16] octopus Kernel [OC/UV/DT2W/Powersuspend/Fastcharge] - Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other

Code:
#include
/*
* 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 ROM
* 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 yo
*/
This is my 2nd kernel for our thomas device. based on latest kumajaya kernel source with some modification added. Compatible only for CM12 roms. if you flashing this to another roms based on cm12 you'll faced audio and camera bug. unless, you ask the developer to update they rom with latest source from kumajaya :fingers-crossed:
Features:
OC cpu to 1.4MHz
UC & OC GPU
18 Cpu govs
Intelliplug, msm hotplug, mpdecision hotplug, alucard hotplug, Thunderplug
Intelli thermal & Custom thermal
Adreno idler
KCAL
USB fastcharge
10 i/o scheduler
qpnp vibration
Fsync & Dynamic fsync
Powersuspend
Advance TCP congestion
State notifier
LCD notifier
More more....
Instalation:
Download the file kernel
Go to your recovery (TWRP recommended)
Backup your boot partition
Install file kernel without wipe
Reboot
Done
Thank to:
Ketut Kumajaya
Tarun93
haikalizz
sultanqasim
Ashish94
Khusika Dhamar Gusti
Mr-AW
XDA:DevDB Information
Octopus Kernel, Kernel for the Xiaomi Redmi 2
Contributors
ocoot
Source Code: https://github.com/ocoot/octopus_kernel_msm8916
Kernel Special Features:
Version Information
Status: Stable
Created 2016-03-28
Last Updated 2016-04-14

Updates section
DOWNLOAD
DEV-HOST
CHANGELOG
14-04-2016:
*new: UKSM added
*new: Add DanceDance Govs

Reserved

Issue/bug
1. Touchscreen not responsive in charging mode
2. Blue flickering in camera

billbuds said:
Issue/bug
1. Touchscreen not responsive in charging mode
2. Blue flickering in camera
Click to expand...
Click to collapse
1. it's not happend here. waiting another respons
2. IMHO. like cm13 before, it's bcz device tree problem. also ask kumajaya to confirmed it

1.4 ghz not mhz correct it bro..!
-Sourav_8434

Thanks for your Kernel for cm12.1. I tested during a normal day of my use (twitter, whatsapp and a few games). Not warmed up and the battery lasted all day. I could not see if the touch hangs during charging because left overnight in charge. In Kernel Auditor that there are several hotplugs connected, is this normal?
My configuration:
HM2014819
Build 20160318 kumajaya
1400~200MHz
Elementalx
sio
Westwood

Revert this bro !
https://github.com/kumajaya/android...mmit/25d12669b4ebaf3213397c9f992ba158e97dc0a2
This is touchscreen problem in CM13 kumajaya Old build

Sourav_8434 said:
1.4 ghz not mhz correct it bro..!
-Sourav_8434
Click to expand...
Click to collapse
thankyou!
bruxef said:
Thanks for your Kernel for cm12.1. I tested during a normal day of my use (twitter, whatsapp and a few games). Not warmed up and the battery lasted all day. I could not see if the touch hangs during charging because left overnight in charge. In Kernel Auditor that there are several hotplugs connected, is this normal?
My configuration:
HM2014819
Build 20160318 kumajaya
1400~200MHz
Elementalx
sio
Westwood
Click to expand...
Click to collapse
it's normal. just switch off the others hotplug
billbuds said:
Revert this bro !
https://github.com/kumajaya/android...mmit/25d12669b4ebaf3213397c9f992ba158e97dc0a2
This is touchscreen problem in CM13 kumajaya Old build
Click to expand...
Click to collapse
as your wish https://github.com/ocoot/octopus_kernel_msm8916/commit/370dca9d236452ec6ef94c2dd1098c0cff3c4bca

Work flawlessly with cm12.1 build 0312 . Thank you ?
Sent from my 2014817 using Tapatalk

asterix14 said:
Work flawlessly with cm12.1 build 0312 . Thank you
Sent from my 2014817 using Tapatalk
Click to expand...
Click to collapse
thankyou. waiting for the review

Waiting new build and testing new commit in your github.

I'm getting a message after restart saying that ( unfortunately com.process. phone) stopped working.
After resetting also the message appears
Rom-Cm12
Help me out

this kernel is by far the best custom kernel for cm 12.1
job executed flawlessly .. nice one bro!

@ocoot maybe you could add DT2W from @pirej to this kernel?
Many thanks!

Riyanx55tu said:
I'm getting a message after restart saying that ( unfortunately com.process. phone) stopped working.
After resetting also the message appears
Rom-Cm12
Help me out
Click to expand...
Click to collapse
What version of your rom you using?
inpamcoxie said:
this kernel is by far the best custom kernel for cm 12.1
job executed flawlessly .. nice one bro!
Click to expand...
Click to collapse
thankyou
proudh0n said:
@ocoot maybe you could add DT2W from @pirej to this kernel?
Many thanks!
Click to expand...
Click to collapse
dt2w still unstable. maybe no for the future until it's stable

in resurrection remix last LP update 5.9.9,the kernel is smooth but am getting error in camera.any solution?

superstar007 said:
in resurrection remix last LP update 5.9.9,the kernel is smooth but am getting error in camera.any solution?
Click to expand...
Click to collapse
you need to ask the developer for update the RR upstream for lolipop

Touchscreen in charging mode is fix ???
Sent from my 2014817 using XDA-Developers mobile app

billbuds said:
Touchscreen in charging mode is fix ???
Sent from my 2014817 using XDA-Developers mobile app
Click to expand...
Click to collapse
i don't know. try it

Related

[KERNEL][CM][M/L][12092016] octopus kernel

Code:
[FONT="Times New Roman"][COLOR="Blue"]/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, dead cats,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and no point
* in pointing the finger at me for messing up your device
*/[/COLOR][/FONT]
This kernel is compiled from official xiaomi source for redmi 2 (ido-l-oss) and much thanks to @premaca for fixing the source code to our device.​
Features:
Built using Google 4.8 toolchains
OC CPU 200-1.4Ghz
OC GPU 100-465Mhz
I/O Schedulers: cfq, deadline, fiops, noop, row, sio, sioplus, tripndroid, zen
CPU Governors: barry_allen, bioshock, blu_active, darkness, despair, hyper, impulse, intelliactive, intellidemand, interactive, lionfish, ondemand, pegasusq, performance, powersave
CPU Hotplug: Zen Decision, MPDecision, IntelliPlug, MSM Hotplug, Mako Hotplug, Bricked Hotplug, Alucard Hotplug, Auto SMP, MSM Sleeper
Double Tap2Wake
KCAL
fsync on-off
Advance TCP Congestion
Qualcomm thermal replaced with Intelli Thermal
LZ4-compressed kernel
Frandom Drivers
Kernel Power Suspend
Disabled updating idle time if cpu offline
Included More ZRAM Devices
More more more...
Instalation steps:
Download the link
Place on your storage
Going to your recovery
Backup you current kernel first
Then, Install the file zip (without wiping anything)
Reboot
You're done
Update changelog L and MM kernel:
F2FS now support
Removed Intelli Thermal
Removed Intellidemand
Download Link:
Kernel Folder: https://www.androidfilehost.com/?w=files&flid=109722
[12-09-2016] For CM12.1 Based Roms: https://www.androidfilehost.com/?fid=24588232905725142
[12-09-2016] For CM13 Based Roms: https://www.androidfilehost.com/?fid=24686680535467946
Dev note:
Bug like music crash on CM13 still on progress to fix. maybe will take a longer time for this and i hope i can solved this one
If you take CM12 Based kernel, you faced camera bug and probably audio bug if you using this kernel. You can use CM12 based rom with uptodate source to solved this problem quickly.
Credits:
Xiaomi
premaca
ketut kumajaya
DoomLoRd
Santhosh
savoca
AudioGod
NeoBuddy
Fransisco Franco
XDA:DevDB Information
Octopus Kernel, Kernel for the Xiaomi Redmi 2
Contributors
ocoot
Source Code: https://github.com/ocoot/octopus-kernel
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2016-09-10
Created 2016-09-10
Last Updated 2016-09-11
Superb finally we can enjoy many hot plug
Thank you so much Dev
xda-x-man said:
Superb finally we can enjoy many hot plug
Thank you so much Dev
Click to expand...
Click to collapse
need a review from user who already using this kernel
ocoot said:
need a review from user who already using this kernel
Click to expand...
Click to collapse
Okay, I flashed this kernel on mokee latest stable version
I must say kernel has lots of tweaks and features.
In term of performance wise it's great and fluent animations.
Well we have so many governors and hotplugs.
Mokee with stock was lagging but with octopus kernel working without a single lag.
Multitasking also smooth.
One word for this kernel it's ...mind blowing
Thank you dev
@ocoot I've flashed it over CM13 nightly and it works very nice. It has many things that can be tweaked and it performs great. I simply love it.
The only issue I've found is that the headset controls are not working. This seems to be a common issue to all the kernels based on official source. Jerrica and Berserk-Jerrica also have this issue. Maybe someone can look into it? CM based kernels have headset controls working fine BTW.
Many thanks for this kernel!
proudh0n said:
[MENTION=4618394]
The only issue I've found is that the headset controls are not working
Click to expand...
Click to collapse
I have apple earpods and all working
WestFring said:
I have apple earpods and all working
Click to expand...
Click to collapse
I have the Xiaomi Piston 3 and with this kernel the volume controls do not work. With stock CM13 kernel they do. Also, the music cannot be played with any music player or file manager. This issue is also present on Jerrica. My model is 2014811 1GB, if that helps.
I'll provide logs as soon as possible
@ocoot Here is the logcat about the music playback and volume controls issue. I think i'll tag also @premaca because as I said this happens also on Jerrica for me. I hope i didn't bother you by tagging both of you on this response.
For more details:
ROM: CM 13.0-20160908-NIGHTLY-wt88047
Kernel: 3.10.49-octopus-g6a3da7c
SELinux: permissive
I didn't touch any kernel configurations and I don't use any audio mod. I've tried playing music with stock CM13 player, Shuttle+ and the file manager Solid Explorer. All of them try to play the song and it gives an error.
Many thanks for your contribution!
so far so good, this kernel should be available when cn14 released for our device
thermal control is not working properly,errors in the records hotplagov-1 core at the maximum frequency, the rest sleep
What about F2FS suport?
Nice to see more and more kernels.
Will try and report for sure, Greetz.
Music crashed
ocoot said:
need a review from user who already using this kernel
Click to expand...
Click to collapse
Have tried a few kernel before this , all of them crashed my music app .. Mybe its my phone , but i dont think so .. Using cyanogenmod official nightlies ..
DenHafiz69 said:
Have tried a few kernel before this , all of them crashed my music app .. Mybe its my phone , but i dont think so .. Using cyanogenmod official nightlies ..
Click to expand...
Click to collapse
It's the kernel based on official sources, the kernels based on kumajaya's source have no issue with music playback on CM13. I have the same problem
proudh0n said:
@ocoot Here is the logcat about the music playback and volume controls issue. I think i'll tag also @premaca because as I said this happens also on Jerrica for me. I hope i didn't bother you by tagging both of you on this response.
For more details:
ROM: CM 13.0-20160908-NIGHTLY-wt88047
Kernel: 3.10.49-octopus-g6a3da7c
SELinux: permissive
I didn't touch any kernel configurations and I don't use any audio mod. I've tried playing music with stock CM13 player, Shuttle+ and the file manager Solid Explorer. All of them try to play the song and it gives an error.
Many thanks for your contribution!
Click to expand...
Click to collapse
i'll check it later. thankyou
zieruchan said:
so far so good, this kernel should be available when cn14 released for our device
Click to expand...
Click to collapse
thankyou :good:
olegst said:
thermal control is not working properly,errors in the records hotplagov-1 core at the maximum frequency, the rest sleep
Click to expand...
Click to collapse
i would to revert the intelli thermal later. this is may cause the problem
boris_k said:
What about F2FS suport?
Click to expand...
Click to collapse
will added soon!
DenHafiz69 said:
Have tried a few kernel before this , all of them crashed my music app .. Mybe its my phone , but i dont think so .. Using cyanogenmod official nightlies ..
Click to expand...
Click to collapse
proudh0n said:
It's the kernel based on official sources, the kernels based on kumajaya's source have no issue with music playback on CM13. I have the same problem
Click to expand...
Click to collapse
thankyou, i'll check it later. i hope can find the problem of this
ocoot said:
will added soon!
thankyou, i'll check it later. i hope can find the problem of this
Click to expand...
Click to collapse
Plss Increase the incall volume it is two low when compared to CM Stock kernel.
Sometimes when the device reboot, CPU stuck at lowest frequency and need to reboot again to fix.
when exiting sleep all the nuclei fixed at the maximum frequency.any hotplage.
This happens with any change frequency settings, or govornona hotplaga
P.S. after switching off locations all earned.very good core
you plan to update security patches?

[KERNEL][7.x][LINEAGE/AOSP] ALIZE [20/7/17]

/*
* Your warranty is... Still valid??.
*
* 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.
*/
WON'T WORK ON STOCK BASED ROM
Introduction:
The main objective of the kernel is to give to any user, a stock kernel with some tweaks like new CPU govenor focused on battery, performance and both of them, I/O scheduler, ...
Click to expand...
Click to collapse
Features:
Updated to lastest Motorola source
Kernel upstreamed to lastest source (3.18.63)
Lionfish, Bioshock, Zzmoove, PegasusQ CPU governors
FIOPS, ZEN I/O scheduler
Fingerprint boost driver
CRC check disabled (Performance boosted)
Vibration control
Sound control
Fsync support
Safetynet patch
Makefile: -0fast and Graphite optimizations
All feature of the boulzordev's kernel
Many other tweaks (check gitlab)
Click to expand...
Click to collapse
Download
Androidfilehost: https://www.androidfilehost.com/?w=files&flid=198747
Click to expand...
Click to collapse
How to flash:
1. Download Alize for Potter
2. Reboot to recovery
3. Flash kernel's zip
4. Reboot and tweak with proper app (Kernel auditor, Ex kernel manager, ...)
Click to expand...
Click to collapse
XDA:DevDB Information
Alize, Kernel for the Moto G5 Plus
Contributors
Martichou, Boulzordev, Flar2, Vache, fAiyaz, Nick
Source Code: https://gitlab.com/alize_kernel/Potter
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 1.0.7
Created 2017-07-20
Last Updated 2017-07-20
Changelog:
Code:
v2.0
- Everything has been redone from scratch
- Switch to Gitlab and setting up CI
- Remove Barry-Allen (too old)
- Added ZEN I/O governor
- Upstream to 3.18.63
- Check Gitlab for more
v1.8
- PegasusQ cpu governor
- Kcal control
- Hight priority workqueue
- Some build fix
v1.7 | Public release
- Lastest source
- Barry-Allen, Lionfish, ... cpu governor
- FIOPS I/O scheduler
- CRC check disabled
- Spectrum support
- Many more on github
Good work! I'm liking the extra gov options. Performance is great with the default profile at the moment. I believe it's barryallen.
dpryor88 said:
Good work! I'm liking the extra gov options. Performance is great with the default profile at the moment. I believe it's barryallen.
Click to expand...
Click to collapse
Yes, default CPU governor is set to Barry-Allen.
Glad you like the kernel.
New build is up!
Check changelog.
Getting error, finger print hardware not available. Also there are 4 fingerprints saved and I can't delete them. Running smooth other than that
Edit,
Not sure what happened but I can't edit fingerprints anymore, I've even re flashed my old backup and kernel and tried re flashing the rom,
Before I flashed this kernel I took off locks, backed upand the flashed kernel. Not sure what's going on
joshk89 said:
Getting error, finger print hardware not available. Also there are 4 fingerprints saved and I can't delete them. Running smooth other than that
Edit,
Not sure what happened but I can't edit fingerprints anymore, I've even re flashed my old backup and kernel and tried re flashing the rom,
Before I flashed this kernel I took off locks, backed upand the flashed kernel. Not sure what's going on
Click to expand...
Click to collapse
My fingerprint works perfectly, not a kernel issue
GtrCraft said:
My fingerprint works perfectly, not a kernel issue
Click to expand...
Click to collapse
Yeah I don't know what happened but nothing could undo the issue other than a clean install. Which sucks lol cause I have to redo everything and my backup is useless
joshk89 said:
Getting error, finger print hardware not available. Also there are 4 fingerprints saved and I can't delete them. Running smooth other than that
Edit,
Not sure what happened but I can't edit fingerprints anymore, I've even re flashed my old backup and kernel and tried re flashing the rom,
Before I flashed this kernel I took off locks, backed upand the flashed kernel. Not sure what's going on
Click to expand...
Click to collapse
I'm sorry for this.
But it's not a kernel issue.
No one have this issue. Good luck to restore your data
I've been running 1.7 / 1.8 for a few days now using Lionfish governor and i have to say it's pretty awesome. :good:
New build is up!
Check changelog.
Martichou said:
New build is up!
Check changelog.
Click to expand...
Click to collapse
Hey bro there's some interesting features on this kernel. Figured I'd share the link with you https://forum.xda-developers.com/oneplus-5/development/render-kernel-oos-n-eas-r1-t3639839
the download link for this kernel is down. can someone provide a mirror, please?
I don't see any extra cpu governors.
What should i do??
Akshatk said:
I don't see any extra cpu governors.
What should i do??
Click to expand...
Click to collapse
Use the v44 at this thrend:
https://forum.xda-developers.com/showthread.php?p=74525704
matze779 said:
Use the v44 at this thrend:
https://forum.xda-developers.com/showthread.php?p=74525704
Click to expand...
Click to collapse
Not there.
Here is a mirrorlink:
https://www.dropbox.com/sh/xr3qe15mjqee6ps/AACOfo2SLn30rYllGC8krvx-a?dl=0
Closed per OP request

[Kernel][7.0][G920-5/F/FD/I/S/K/L]Ultimate Kernel[Linux 3.10.108]

Ultimate Kernel For Samsung Galaxy S6 and S6 Edge​
This kernel aims for best balance between battery life and performance and it was on testing for more than 3 months, so you can be sure that this kernel is very stable. Also I dont think to implement synapse it is not supported by me and will never be
Disclaimer:
Code:
/*
* Your warranty is 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.
*/
Features:
Compiled With Google's TC v4.9
Linux Kernel 3.10.108 Patched
Binder Patch From Linux 4.9
SELinux Permissive
CPU Underclock Support 200mhz both clusters
CPU Overclock Support (1800mhz-A53/2400mhz-A57)
GPU Underclock 100mhz
GPU Overclock 852mhz
CPU and GPU Voltage Controls
Memory Bus Voltage Controls
Fully Working AOD Thanks @AntonioMartitos
Init.d Support Thanks @Noxxxious
Safetynet Bypass
WiFi Forget Fix @Noxxxious
use Android device as USB keyboard/mouse (no driver required; compatible with any OS and BIOS) @minealex2244
DriveDroid Patch @minealex2244
Lot Of CPU Governors and IO Schedulers Added
DT2W Support
Spectrum Support (Profiles Base @Noxxxious)
Optimized HMP
KNOX 0x0
XPAD Support
Wireguard Patch
Frandom Support
Led Controls (FadeLed)
MTweaks (Use Till I Fix Synapse)
!!!DON'T FORGET TO FLASH ROOT (MAGISK OR SUPERSU)!!!​
Installation
Go in to TWRP Recovery
Flash Ultimate-Kernel-G920/5-7.0.zip
Now Flash Root (Magisk or SuperSU)
Reboot Phone and You are Good
If you want to contribute just pm me on telegram @enesuzun
If you like the kernel just press thanks button :fingers-crossed:
Downloads:
Ultimate Kernel V1.0
Credits:
The Sickness (his guide and scripts)
Minealex2244 for his kernel repo for being so clear and helpful
Others I've used the commits from
XDA:DevDB Information
Ultimate Kernel, Kernel for the Samsung Galaxy S6
Contributors
enesuzun2002
Source Code: https://github.com/enesuzun2002/Ultimate-Kernel
Kernel Special Features:
Version Information
Status: Stable
Created 2018-05-30
Last Updated 2018-05-30
reserved 2
Just installed on stock rooted rom and testing... good work
Looks great ! Just to be sure, does it work with Ultimate Nougat V3.1 rom ?
sm-a510f said:
Looks great ! Just to be sure, does it work with Ultimate Nougat V3.1 rom ?
Click to expand...
Click to collapse
yes it works pretty fine
enesuzun2002 said:
yes it works pretty fine
Click to expand...
Click to collapse
Thanks, and how does fadeled, XPAD and use phone as keyboard/mouse works ?
Hello,so far seems very good!will there be undervolt support?
Proximity sensor don't work on Frankenstein rom - like stock.
Synapse too, but you said about that.
Seems to be best kernel for 7.0 stock-based ROMs.
Using it with MIPA S8+ Port. No bugs noticed, except maybe ZSWAP:
It keeps getting re-enabled in MTweaks, and I put it at 0%, but now can't change that.
Superb kernel!! Thank you
does it work with Resurrection Remix-OS ? and can you provide me a good camera app for this Resurrection Remix-OS thanks in advance
Does it support S7 Edge battery mod ? Thx
flashed it on my Stock 7.0 G925i for two weeks, it works fine
Wonderful kernel with mtweaks
King-V said:
Seems to be best kernel for 7.0 stock-based ROMs.
Using it with MIPA S8+ Port. No bugs noticed, except maybe ZSWAP:
It keeps getting re-enabled in MTweaks, and I put it at 0%, but now can't change that.
Click to expand...
Click to collapse
Hi how did you install it? Did you have to dirty flash the rom? Then root after? Thanks
very nice kernel, thank you! are you planning to add a double tap to wake function?
How is gaming on this kernel? Thanks
cosmic899 said:
Hi how did you install it? Did you have to dirty flash the rom? Then root after? Thanks
Click to expand...
Click to collapse
Had MIPA already on my device. Flashed this, and then flashed latest Magisk.
I guess this kernel is not working on ultimate Nougat S8 Port?
Regards
Sent from my SM-G960F with Tapatalk
j1gga84 said:
I guess this kernel is not working on ultimate Nougat S8 Port?
Regards
Click to expand...
Click to collapse
Yes it does work on ultimate nougat s8 port mate

[CLOSED][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 5T
Contributors
LinuxUser0227
Source Code: https://github.com/hejsekvojtech/Affinity-OnePlus5
Kernel Special Features: Fast, Battery friendly, Stable, Up to date
Version Information
Status: Stable
Created 2019-02-20
Last Updated 2020-04-28
I'll take this one
And this one
Thanks for the work, ill give it a try.
2 thing that bugs me are:
1- isnt restoring stock boot.img removes custom recovery and replaces it with stock one?(had that problem before)
2-is the kernel(pie) eas or hmp?
finally:good:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
---------- Post added at 06:41 AM ---------- Previous post was at 06:40 AM ----------
directorli said:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
Click to expand...
Click to collapse
I'm using least oos ob24.
gsser said:
Thanks for the work, ill give it a try.
2 thing that bugs me are:
1- isnt restoring stock boot.img removes custom recovery and replaces it with stock one?(had that problem before)
2-is the kernel(pie) eas or hmp?
Click to expand...
Click to collapse
1. Yes but it's better to do a backup of boot that has Magisk installed so you don't have to reflash TWRP
2. Since r20 it's EAS based
directorli said:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
---------- Post added at 06:41 AM ---------- Previous post was at 06:40 AM ----------
I'm using least oos ob24.
Click to expand...
Click to collapse
Haven't seen such behaviour yet, some users reported that it works perfectly on both 5 and 5T.
If I'm coming from a kernel like bluspark, I must flash the stock boot img first, correct? Where can I find this?
Amisuta said:
If I'm coming from a kernel like bluspark, I must flash the stock boot img first, correct? Where can I find this?
Click to expand...
Click to collapse
Dirty flash your rom
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Sent from my OnePlus5T using XDA Labs
gsser said:
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Click to expand...
Click to collapse
How many sot do you get?
gsser said:
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Click to expand...
Click to collapse
Minimum frequency is 518 and 806 because Qualcomm did it so people follow it
sleepwalking0593 said:
Minimum frequency is 518 and 806 because Qualcomm did it so people follow it
Click to expand...
Click to collapse
Qualcomm or OnePlus? (Not doubting you genuinely curious)
haikalzarith said:
How many sot do you get?
Click to expand...
Click to collapse
8 and 17 standby
Sent from my OnePlus5T using XDA Labs
1 hour of youtube
Sent from my OnePlus5T using XDA Labs
Heisenberg420 said:
Qualcomm or OnePlus? (Not doubting you genuinely curious)
Click to expand...
Click to collapse
Qualcomm did it. So OnePlus followed them
gsser said:
1 hour of youtube
Click to expand...
Click to collapse
Hello
Are you using greenify or any other tweaks of that kind.
Thanks
Teso79 said:
Hello
Are you using greenify or any other tweaks of that kind.
Thanks
Click to expand...
Click to collapse
I dont.
Affinity Kernel r21 is up!
Since r21, Affinity Kernel is available for custom ROMs as well. Should work well with every ROM except of OmniROM and TreskMod (which is Pixel-like OmniROM)
because Omni has its own way of loading the WLAN module so WiFi might be most likely broken. Anyway, you may also notice that on some ROMs that have EAS baked in, Affinity Kernel
default settings are not getting applied. That's because the ROM has its own post boot init script that overwrites my settings, not a big deal.
Here's the changelog:
Upstreamed to Linux 4.4.176
Support for custom ROMs
Some touchups for init script
Added O3 GCC optimalization
Readahead improvements
A bunch of kgsl improvements (adreno driver)
devfreq improvements

[KERNEL][Oreo/Pie/10] Fz Kernel

Code:
#include <std_disclaimer.h>
/*
* Your warranty is... still valid?
*
* I am not responsible for bricked devices,
* 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.
*/
NOTE »
Fz Kernel
Only for 8.1, 9.0 & 10.0 ROMs.​
ABOUT​This kernel was made using the current LineageOS kernel source as base and merged all the necessary changes to work on Android 10 (Ten). On top of it I then added some features for it to be customized by each user if they do want to.
Feature list
Replaced Qualcomm cpu-boost with Sultanxda cpu_input_boost driver.
Replaced Qualcomm MPDecision with NVIDIA CPUQuiet driver from Tegra CPUs.
Charging current customization Interface.
Voltage control for undervolting.
KCAL Color Control support.
Simplified Thermal driver.
Franco's Wakelock blocker.
Franco's Sound Control.
Franco's Backport of POWER_EFFICIENT workqueues.
Enabled Multicore power saving.
A LOT of under-the-hood optimization changes from Sultan, Franco, Boeffla, arter97 and many others.
Fixes USB MTP without enabling USB Debugging.
Fixes Data Saver.
Smooth default kernel behavior using ZaneZam's zzmoove governor with ZZ Battery Plus profile.
Custom Governors:
Alucard
Impulse
Intelliactive
Intellimm
Lionheart
Smartmax
zzmoove
Custom Hotplugs:
MSM Hotplug
AutoSMP Hotplug
CPUQuiet
Custom I/O Schedulers:
FIOPS Scheduler
SIO Scheduler
TripNdroid Scheduler
zen Scheduler
DOWNLOAD HERE​
OTA Updates
Going forward, kernel OTA updates will now be handled via Franco's Kernel Manager app. Users may import the following URL in FKM Flasher to receive updates:
https://raw.githubusercontent.com/Feinzer/fz_kernel_data/master/ota/release.json
Thanks to
CyanogenMod / LineageOS
Ak
Nikhil18
DeadlyIndian
ArtxDev
Sultanxda
franciscofranco
ZaneZam
Lord Boeffla
flar2
Adithya R.
Tomoms
Idprophecy
All of this is possible ONLY because of the work of these people and teams. Thank you.
XDA:DevDB Information
Fz Kernel, Kernel for the OnePlus One
Contributors
Feinzer, LineageOS, AK, Nikhil18, DeadlyIndian, ArtxDev, Sultanxda, franciscofranco, Lord Boeffla, ZaneZam, flar2, Adithya R., ab123321, Tomoms, Idprophecy
Source Code: https://github.com/Feinzer/fz_kernel_oneplus_msm8974
Kernel Special Features:
Version Information
Status: Stable
Created 2019-05-23
Last Updated 2020-01-15
Reserved
Changelog:
Fz v4.3:
Removed CPUQuiet Hotplug driver.
Added Intelli Hotplug driver.
Updated installer zip to anykernel3.
Added FKM OTA Support
Fz v4.2:
Added ZRAM (Disabled by default)
Removed Maple I/O Scheduler due to reboots caused by it.
Back to good ol' zzmoove default setup.
Fz v4.1:
Added back features and optimizations lost in the LineageOS rebase process.
Added some new settings on init to actually use the features this kernel has.
Fz v4:
Complete rebase to bacon's current LineageOS kernel.
Initial release for Android 10.
Fz v3.1 HOTFIX:
Fixed bootloop on ROMs built with AOSP/POSP trees.
Fz v3:
Added NVIDIA's CPUQuiet driver.
Disabled mpdecision by default.
Added Dynamic Interactive governor.
Added ElementalX governor.
Added Maple I/O Scheduler.
Added general optimizations and improvements.
Reserved
I'll give a try.
Currently over LOS 16 20190523 + magisk 19.2 no issue after flashing.
I'll try common things on few days:
1. Gps UNTESTED
2. Bluetooth OK (test with 2 bluetooth headphone and 1 bluetooth sound speaker)
3. Wifi hotspot OK (unlike FC kernel r57)
4. Battery life UNTESTED
5. More?
Been using it for weeks. It's good. Definitely worth trying.
Using it with TugaPower and I'm very satisfied. [emoji106] for good work.
Sent from my A0001 using Tapatalk
This kernel work great on TugaPower P18. Thank you for your great work. All the best.
Sent from my OnePlus One using XDA Labs
Is there any changelog?
kakawait said:
Is there any changelog?
Click to expand...
Click to collapse
Yes, there is but I don't really wanna edit the OP every time I release a new version unless there are like, nice big changes to edit the feature list, I might post changelogs once I drop a new version on the reserved posts or something.
Yo Feinzer! i see your bacon is still alive...
i can't really use telegram rn that's why I've been missing , been trying to revive my damn phone...
(figure out who i am , isn't that hard )
Edit: Glad to see you doing some work hehe
Initial impression of this kernel seems good. The phone is a bit more responsive now.
Using official lineage OS 16.
doesn't work on POSP v2.2 - bacon
meiax93 said:
This kernel work great on TugaPower P18. Thank you for your great work. All the best.
Sent from my OnePlus One using XDA Labs
Click to expand...
Click to collapse
What settings you use on hotplug?
Enviado do meu A0001 através do Tapatalk
VitorMSA said:
What settings you use on hotplug?
Enviado do meu A0001 através do Tapatalk
Click to expand...
Click to collapse
i just flash that kernel and forget. i not tweak any settings. xD
Does.'t boot on AOSP rom also
portfolio said:
Does.'t boot on AOSP rom also
Click to expand...
Click to collapse
You aren't giving details about the problem, which ROM are you using? any mods or something?
RenzozO said:
doesn't work on POSP v2.2 - bacon
Click to expand...
Click to collapse
portfolio said:
Does.'t boot on AOSP rom also
Click to expand...
Click to collapse
This issue has been fixed now with the v3.1 release.
Next time tho, try to tell me more information about the situation because I cannot address an issue that I have no information of, thank you
yes, v3. 1 is booting now with arrowOS, thanks!
Is this kernel support zram with lz4?
Or will it be supported?
SoarStarlight said:
Is this kernel support zram with lz4?
Or will it be supported?
Click to expand...
Click to collapse
Will look into it
Edit: nvm it does, I forgot about it.

Categories

Resources