[EOL][KERNEL][OOS][HMP][EAS][4.4.162][CLANG 7.0.3] Reverse Flash v2.1 - OnePlus 5T ROMs, Kernels, Recoveries, & Other Dev

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 5T
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-12
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

In
Sent from my ONEPLUS A5010 using Tapatalk

Great! Thanks

Goodluck![emoji4]

Thank you!! I think this just became my daily driver kernel.

Aside from upstream. I suggest improve the kernel base too and fixes.

radz_ said:
Aside from upstream. I suggest improve the kernel base too and fixes.
Click to expand...
Click to collapse
What improvements do you want?

crian said:
What improvements do you want?
Click to expand...
Click to collapse
You are the expert..lol
of course Flash Kernel is not perfect there will always be a room for improvement. Most devs using Flash as base, all they do is upstream. That's all.

Will this work in op5 not t.
Sent from my OnePlus 5 using XDA Labs

This looks interesting. I wanna try it out. I'm on OOS 5.1.5 with custom kernel. What steps should I do?

bkma said:
Will this work in op5 not t.
Click to expand...
Click to collapse
Will work. It's unified.

crian said:
Will work. It's unified.
Click to expand...
Click to collapse
Thanks.
Sent from my OnePlus 5 using XDA Labs

rushier.ivan said:
This looks interesting. I wanna try it out. I'm on OOS 5.1.5 with custom kernel. What steps should I do?
Click to expand...
Click to collapse
Dirty flash OOS and magisk if you're using this.
To be safe I would recommend to wipe caches, system and vendor and then flash OOS, Magisk and kernel.

Just installed, will give it a try for a week to check performance and battery life. Coming from Zenith which was great already

Will this work on LOS based roms or only OOS? On AICP treble version 5t

kamisan said:
Will this work on LOS based roms or only OOS? On AICP treble version 5t
Click to expand...
Click to collapse
Only on OOS as mentioned in the thread title.

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

works on beta 16?

Related

[KERNEL][UBERTC 4.9.3][Blu_active] Crystal Kernel [03/04/15]

Features:
Based on Chroma Kernel (special credit for TomorrowLand_Ace work)
Blu_active Default Governor
Blu_plug - CPU Hotplug (removed Franco hotplug)
FIOPS I/O Scheduler
Enabled Overclocking CPU & GPU
Undervolted GPU
Build on Ubuntu 14.10
Kernel is secure
Compiled with lastest UBERTC 4.9.3, -O3 flags (GPU included), Graphite, hardfloat, and many other otimizations
FauxSound
PowerSuspend Driver
MSM Sleeper
Battery Life eXtender
LCD KCAL (Last version from @savoca, can't be tuned from any kernel manager for now)
Init.d Support
USB OTG
LZ4 (for a faster boot)
S2W / DT2W
Wake Gestures (huge thanks to @flar2)
Stereo Call Recording
Removed a lot of debug
Some Features from 3.7+ linux kernel
Upstream with Linux kernel .00
Full F2FS support (need to mod ramdisk to make it work, will make it automatic later)
Lots of optimizations from CAF, CM, and other kernels around xda
Main idea: Greatly patched kernel with the best governor, I/O scheduler and hotplug built with UBER toolchain.
Download for Lollipop 5.1
MOD EDIT, Download removed, rule 12 @gregbradley
Credits:
@TomorrowLand_Ace
@eng.stk
@franciscofranco
@faux123
@flar2
@show-p1984
@neobuddy89
@savoca
@RIPng
Source
If you want to support student and his work:
​
XDA:DevDB Information
Crystal Kernel, Kernel for the Google Nexus 5
Contributors
mastero9017
Source Code: https://github.com/mastero9017/hammerhead
Kernel Special Features:
Version Information
Status: Stable
Created 2015-04-03
Last Updated 2015-04-03
Reserved.
Where is the download link.? Can't open
Zonkoprince said:
Where is the download link.? Can't open
Click to expand...
Click to collapse
Fixed, link is under clickable Mediafire.
What app i should use to customise?
Zonkoprince said:
What app i should use to customise?
Click to expand...
Click to collapse
I suggest Kernel Auditor.
Kinda wondering could you maybe add some features from this kernel thread?
http://forum.xda-developers.com/showthread.php?t=2845768
It has nexus 5 kernel too but the devs mainly focused on n4 so maybe you could make the n5 version of it especially the 5.1 version. If it is allowed by the devs. Since the last commit is 2 months old and no new updates for 2 months
JJsevol said:
Ah makes sense now.
@mastero9017 are there any other changes you made from chroma besides the blu changes and toolchain? Liking the kernal so far :good:
Click to expand...
Click to collapse
Everything is listed in OP. I'm not sure yet about future of this kernel. TomorrowLand_Ace will provide great patches for kernel itself and i will try to port changes to blu modules from shamu and tweaks some values, flags, etc
Thread temporarily closed whilst I look in to the multiple reports made
@eng.stk has explicitly said that you have not got permission to share his work.
Download removed, thread remains closed

[64-bit][KERNEL][UBER-TC][15 Oct]Spirit.Kernel r3 [CAF]

[64-bit][KERNEL][UBER-TC][15 Oct]Spirit.Kernel r3 [CAF]
Spirit Kernel
This kernel works on all the latest roms available which require new kernel source.
Statutory Warning: This kernel is not a feature bloated kernel like other kernels available, if you like tons of govs/io and hotplugs all in one and if you like to blow up your device, then you are at the wrong spot. This kernel will be minimal and only necessary features will be added.
A while back my users requested me to make a kernel which supports new ROMs(as few of them fail to). So I have decided to make a kernel which contains essential features along with stability and smoothness.
I will update this regularly as I have time and will add new features and fixes as well.
If you have any feature requests, don't hesitate to post it here!! I will consider if I like it​
PLEASE READ
How to report a bug?
Include the following in your bug report:
The ROM you are currently using + a link to the ROM's thread
A log, preferably dmesgs or kmsgs (use Google to find out how to pull these from your device)
The version of SpiritKernel you use (=rx, e.g.r3)
Bug reports not meeting these requirements will be ignored.
NO BUG REPORTS ON EXPERIMENTAL BUILDS!​
Features
This Hybrid kernel contains features from great kernel devs with like faux,franco etc, optimized for tomato to make it work.Initially there are less features but I will add much more soon
[*]Based on the Latest CyanogenMod sources
[*]CAF Patches by Abhinav
[*]Governors: stock for now
[*]Hotplug: ThunderPlug 2.5
[*]KCAL Driver by savoca
[*]Powersuspend by faux123
[*]FRandom module
[*]Adreno Idler by arter97
[*]Advanced TCP Congestion
[*]Built using UBER TC
[*]LMK Optimizations
[*]Graphite flags
[*]ANY Kernel zip
[*]And other opts
[*]TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD
TO-Do List
New Govs and I/Os
GPU OC and UC
* Recommended app for tweaking the kernel: FauxControl,Kernel Auditor or TricksterMod
How DO I flash this?
Reboot to recovery.
Install zip from SD Card.
Choose the Spirit.Kernel-rx-tomato.zip
Install and Reboot.
Changelog:
Click Me
Downloads:
Basketbuild
Source:
Github(branch:cm-12.1-amss-1.0.2)
Wiki containing changelogs,settings and more
Credits goes to these SUPERHUMAN for Inspiration and support (In no specific order)
Varun Chitre
Abhinav Jhanwar
arter97
faux123
yank55lu
savoca
cyanogen
And my supporters
And more
XDA:DevDB Information
Spirit.Kernel for YU Yureka, Kernel for the YU Yureka
Contributors
DC07
Source Code: https://github.com/DC07/spirit_msm8916
Kernel Special Features: CAF,KCAL,ThunderPlug,Adreno Idler and much more
Version Information
Status: Stable
Created 2015-10-10
Last Updated 2015-10-15
Does it support miui
DC07 said:
and if you like to blow up your device
Last Updated 2015-10-10
Click to expand...
Click to collapse
What do you mean ?
Does a bloated kernel 'blows up' device ?
baratheon16 said:
What do you mean ?
Does a bloated kernel 'blows up' device ?
Click to expand...
Click to collapse
adding unnecessary features and modifying codes without knowing anything does.
for eg. adding 4-5 hotplugs (enabled by default) and all working at once does.
Regards
Update is live.
Changelog
Dynamic FSync
ThunderCharge Control from Varun Chitre
Added Darkness governor
-OFast flags for more opt
Arch Power
vegas tcp tweak
Removed wlan.ko which was accidentally added
For more check github.
Enjoy.
Update is live
======r3=====
What's new?:
* F2FS and NTFS Support
* SWAP Support
* Enable all CPU cores while boot for quick boot
* kill some logspam
Changelog:
a47e11c spirit: use all cores on-boot for faster bootup
184bd1a moar changes
addc11d spirit: rework build script and bump to r3
9d5f29e spirit: add changelog.sh
52fcf5b spirit: Add NTFS Support
031757e Revert "dts : use all cores on-boot for faster bootup"
19b2c34 spirit: enable swap
701bcef mm: page_io.c: remove write error messages for swap devices
db6f10b mm/zswap: NUMA aware allocation for zswap_dstmem
122a852 mm/zswap.c: remove unnecessary parentheses
a37407a mm/zswap: support multiple swap devices
fa8792d mm/zswap.c: update zsmalloc in comment to zbud
58374d9 mm/zswap.c: fix trivial typo and arrange indentation
b1a1ec6 mm/zswap.c: change params from hidden to ro
2d81f29 mm/zswap: refactor the get/put routines
a664710 vnswap: integrate vnswap from Samsung
0a12121 mm/zswap: bugfix: memory leak when invalidate and reclaim occur concurrently
431421d mm/zswap: avoid unnecessary page scanning
4eeb42b mm/zswap: bugfix: memory leak when re-swapon
9a8de22 mm/zswap: use postorder iteration when destroying rbtree
65a7d5a mm/zswap.c: get swapper address_space by using macro
8af692f dts : use all cores on-boot for faster bootup
10b0414 spirit: updates to build.sh
699223a tomato: Enable f2fs
7986854 arm64: Kill logspam
Download: https://basketbuild.com/filedl/devs?dev=DC07&dl=DC07/Spirit/tomato/Spirit.Kernel-r3-20151015.zip
=====r3=====
Enjoy.
can we flash this on stock yureka rom! cm 12.1??
rishivg said:
can we flash this on stock yureka rom! cm 12.1??
Click to expand...
Click to collapse
It won't work on stock COS.
It works on AOSP and CM based roms
does it work for yureka plus?
does it work in blisspop rom
adamnp2000 said:
does it work in blisspop rom
Click to expand...
Click to collapse
Yea... It does... I am using it right now with blisspop
kdhupar0 said:
does it work for yureka plus?
Click to expand...
Click to collapse
yes, it does
Can you give us a daily usage setting for the kernel, please?
fanatic75 said:
Can you give us a daily usage setting for the kernel, please?
Click to expand...
Click to collapse
Check op
Work with cm13 ?
Any update @DC07?
Sent from my AO5510 using Tapatalk
This kernel is good but yureka plus is too damn slow on darkness governer.. Have to keep it on performance.. Any settings for a balanced usage without lags and good battery backup??
Thanks for the kernel.. ??
Does it supports MIUI 7?
Pls add 2.0ghz oc
DC07 said:
It won't work on stock COS.
It works on AOSP and CM based roms
Click to expand...
Click to collapse
So not compatible with Stock CM12.1 rom
Correct

[KERNEL] [LINARO8] [UNDERVOLTING] custom kernel for haruhirom

My custom kernel for oneplus 2
Features until now
- added governors, I/O schedulers and all the other mess you see in other kernels
- spectrum support
- flash and forget
- optimized for sd810
- tickless kernel
- hd audio
- slimbus overclock
- compiled with linaro GCC 8
- enabled CPU dcache word access
- backlight dimmer
- added maple I/O scheduler
- added governors blu_active and darkness
- added gentle fair sleepers
- added wakelock control (basic + WiFi + bluedroid)
- optimized settings
- upstream CAF updates
- upstream Linux kernel upgrades (3.10.105)
- nethunter support
- compatible with mostly all ROMs, including CAF-based ROMs like halogenos
- pdesireaudio
- high performance audio
- fauxsound
- added CPU boost toggle
- power efficient workqueues
- franco thermal driver
XDA:DevDB Information
haruhikernel-op2, Kernel for the OnePlus 2
Contributors
anupritaisno1, benschhold, pdesire, xdvs23
Source Code: https://github.com/Team-DevElite/haruhikernel-op2
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v8.2
Stable Release Date: 2017-07-01
Created 2017-01-26
Last Updated 2017-07-13
Download link: https://srv1.botstack.host:8001/oneplus/op2/custom-kernel-for-haruhios-v8.2.zip
Reserved
Pdesireaudio - FAQ
What is pdesireaudio?
192kHz 24bit audio playback, 24bit audio recording, and higher buffering on kernel
Interesting, how do I configure it?
There is nothing to configure, it should work out of the box
For advanced users, the sysfs paths are
/sys/module/snd_soc_wcd9330/parameters/uhqa_mode_pdesireaudio
/sys/module/snd_soc_wcd9330/parameters/high_perf_mode
/sys/kernel/sound_control_3/highperf_enabled
1 to enable, 0 to disable
Default is enabled at boot
How do I merge pdesireaudio into my code?
Pdesireaudio needs device tree and kernel patches, head over to my github https://github.com/anupritaisno1 to find out the patches you'll need
Wait! So what do I get to control?
Nothing in the case of audio, not to mention that audio is already a mess on op2
You still get basic sound control however
Got it? Anything I should watch out for?
Pdesireaudio can technically work in a ROM that doesn't support it however if you flash anything other than ARISE, then you'll break pdesireaudio completely
Nethunter support
Flash SuperSU
Put a su script to run supolicy --live "permissive *" at boot
That's it?
Interactive governor tweaks?
I use glassfish and most of my testers seem to like fairparkhe
Hotplug?
I just turn it off
Thermals?
Usually turn everything off here too
GPU settings?
I normally don't change anything here
Screen?
Here are my settings
R: 256
G: 250
B: 241
Saturation: 35
Value: 124
Contrast: 128
Hue: 1
You are working hard
Thanks
Enviado desde mi ONE A2003 mediante Tapatalk
Is the v4.2 the latest? Because on description : Current Stable Version: v5.0
xarisCY said:
Is the v4.2 the latest? Because on description : Current Stable Version: v5.0
Click to expand...
Click to collapse
That's a naming error made by the automatic build bot. Please ignore it
The latest version is v5 which you can verify in the settings
is it compatible with oxygen os 3.5.6?
divyansh sinha said:
is it compatible with oxygen os 3.5.6?
Click to expand...
Click to collapse
No
It's only my for my ROM (read the name) and for official lineageos and CAF-based ROMs like halogenos
It may work on derivatives of lineage as such (RR, AICP, etc) but I can't guarantee it
divyansh sinha said:
is it compatible with oxygen os 3.5.6?
Click to expand...
Click to collapse
You can try it.
However I can tell you that WiFi is going to break if you flash this on oos
Also please flash oos 3.5.7
I am using this kernel with RR. I did not see any power efficient improvement.Although everything is running smooth.
playkish said:
I am using this kernel with RR. I did not see any power efficient improvement.Although everything is running smooth.
Click to expand...
Click to collapse
Yes, you need to tune it a bit in kernel adiutor
Also that is a "power efficient workqueue", it does nothing by itself if your configuration is set to consume too much battery
anupritaisno1 said:
Yes, you need to tune it a bit in kernel adiutor
Also that is a "power efficient workqueue", it does nothing by itself if your configuration is set to consume too much battery
Click to expand...
Click to collapse
Can you please explain what I need to tune using kernel auditor ??
playkish said:
Can you please explain what I need to tune using kernel auditor ?
Click to expand...
Click to collapse
That's up to you?
Hey, could You give us a example for a Good Setup?
Speaker gain is not working here as well. Will it be fixed?
StarSix01 said:
Hey, could You give us a example for a Good Setup?
Click to expand...
Click to collapse
stock are best
or if kernel have relaxed governor
anupritaisno1 said:
Here's the download link https://srv1.botstack.host:8000/oneplus/op2/custom-kernel-for-haruhios-v4.2-STABLE.zip
Or use this
http://srv1.botstack.host:9000/oneplus/op2/custom-kernel-for-haruhios-v4.2-STABLE.zip
No pdesireaudio right now, it is being worked on by me
Click to expand...
Click to collapse
In the thread you say that there is pdesire audio. But you are saying now that in the latest build there isnt psidesireaudio?
i was soooo happy to finally see cpu voltage option in the kernel but very disappointed because whatever I do it doesn't change the voltage, beside that I see the same frequency scales displayed once more but with a higher voltage added to each frequency step.

[I9100][KERNEL][LINARO][MM/N][27/03]Custom Kernel

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​
INTRODUCTION
I don't want to disguise the work of any original DEVs. This is my 1st thread if anything goes wrong plz correct me.
I created this thread just to share my personal builds and my intention is only 'share' not to 'kang' the work of Original Devs. I respect all of them.
Kernel
I don't have broadband connection at home so unable upload sources to github and compiled this kernel on my home desktop PC from manually downloaded LineageOS smdk4412 kernel sources and applied patches of commits by many devs(Gustavo_s, arnab, andip71, etc.) to it.
Kernel Adiutor (GT-I9100)
I have ported most of the kernel feature controls from Synapse to Kernel Adiutor (GT-I9100) and modified Package Name & App Name of the original Kernel Adiutor by Grarak to avoid conflicts ONLY.
- Package Name : com.grarak.kerneladiutor -> com.grarak.kerneladiutorsgs2
- App Name : Kernel Adiutor -> Kernel Adiutor (GT-I9100)
KERNEL INFO
- This kernel is based on LineageOS smdk4412 kernel sources and most of the commits from Gustavo_s Kernel.
KERNEL FEATURES
- Following Features available on top of Official LOS 14.1 Kernel:
- All the features given below can be controlled with Kernel Adiutor (GT-I9100)
SELINUX:
- set to PERMISSIVE by default
CPU:
- 6 step CPU frequencies from 200 to 1400 mhz
- CPU hotplug control(thanks to tegrak)
- CPU Voltage Control
GOVERNORS:
- zzmoove (thanks to ZaneZam)
- pegasusqplus (thanks to arnab)
GPU:
- 4 GPU frequency steps
- GPU clock control, from 54 to 520 mhz, 10 different frequencies with vpll mode enabled
- GPU voltage control
- GPU threshold control
SCREEN:
- Brightness curve control
- Gamma control
- slide2wake
SOUND:
- Headphone amplification control
- Microphone amplification control
- Speaker amplification control
BLN:
- BLN (Backlight Notification)
- BLN Effects
- BLNWW (Backlight Notification Without Wakelock)
- Touchkey leds on/off
- Touchkey leds timeout
- Touchkey leds fade in and fade out effects
- Touchkey leds voltage control
IO SCHEDULERS:
- sio replaced with sioplus (thanks to arnab)
TWEAKS:
- GENTLE_FAIR_SLEEPERS on/off
- ARCH_POWER on/off
- Charge current control
SUPPORTED ROMS:
- CM13(CustomKernel-MM-v1.3 and newer) and almost all roms based on same sources as cm13
- LOS 14.1 and almost all roms based on same sources as Lineage OS
Kernel tested on following roms by myself :
- CM13 (21/10/2016 Nightly)
- LineageOS 14.1 (26/02/2017 Nightly)
- AICP 12.1 (07/02/2017 Nightly)
INSTRUCTIONS:
- TAKE A FULL BACKUP.
- Flash ISO-REC recovery if you didn't before
- Download and Flash from recovery (wipes are not necessary)
- Reboot and Use KA(GT-I9100) to fully control kernel features
- To control mDNIe sharpness tweak
1. Open terminal
2. Type 'mdnie_preset enable' to enable and 'mdnie_preset disable' to disable
- DON'T ADD ANY INIT.D SCRIPT TO ENABLE OR WILL BE STUCK AT BOOT
CREDITS
- Gustavo_s, arnab, rINanDo, andip71, Lanchon, arter97
- Saber (for updated Linaro Toolchain & thanks for answering my questions all the time)
- Grarak (for original Kernel Adiutor)
- gokhanmoral, dorimanx, codeworkx, tegrak and all LineageOS devs for their wonderful work
- franciscofranco, faux123, myfluxi, neobuddy89, zeitferne
DOWNLOADS
Kernel Adiutor (GT-I9100)
For MM:-
CustomKernel-MM-v1.3
For N:-
Outdated
XDA:DevDB Information
Custom Kernel for GT-I9100, Kernel for the Samsung Galaxy S II
Contributors
Skyline
Source Code: https://github.com/LineageOS/android_kernel_samsung_smdk4412
Kernel Special Features: as given above
Version Information
Status: Stable
Current Stable Version: 1.3
Stable Release Date: 2017-03-27
Created 2017-02-28
Last Updated 2017-09-18
Changelog
Unreleased Builds :-
Code:
Released Builds :-
Code:
[B][U]Custom Kernel v1.3[/U][/B]
- Fixed wifi for MM builds
- Changed build naming
- Different builds for MM and N
- Added function to enable/disable mDNIe sharpness tweak from terminal
- Reduced Wi-Fi Wakelocks
- Reduced Android Logcat RAM usage
- Tweaked pegasusq governor
- Enabled UNALIGNED_ACCESS
- Backported random driver from Linux 3.17+ (credits arter97)
- Disabled Network File Systems(I can add it back if needed)
- Enabled NTFS Support
- Added exFAT support and updated drivers to v1.2.19(credits andip71)
- Added mDNIe sharpness tweak
- Removed userspace and powersave governors
- Changed default cpu governor to pegasusqplus
[B][U]Custom Kernel v1.2[/U][/B]
- Removed unusable recovery ramdisk from kernel ramdisk to reduce size you must have iso-rec recovery installed
- [STRIKE]Added support for cm13 and roms based on cm13[/STRIKE]
- Added init.d script to load some default kernel settings
- Optimized Deadline and Sioplus for non-rotational storage and to reduced cpu and eMMc overload
- Increased default read ahead for Internal and External storage to 1024 and 512 respectively
- Some minor tweaks for performance and battery(don't expected too much)
- Fixes from LOS 14.1 kernel source
- Updated KA(GT-I9100) to fix BLN Controls(Not tested)
[B][U]Custom Kernel v1.1[/U][/B]
- We will be using different ramdisks for different roms from now
- Updated lineage ramdisk from 26/02 LOS 14.1 Nightly
- Added new ramdisk for AICP 12.1 from 07/02 AICP 12.1 Nightly (better compatibility and full support for AICP 12.1)
reserved
Good to see customisable kernel for Android N for our device... Good luck... I'm still on MM... But will want to try once I'll upgrade to Nought.... Hope Devs around will help you improve your build...
@Skyline
I know it's a bit early for an request. [emoji6] But can you build a "SELinux permissive" version? [emoji41] I want install SuperSU to use FolderMount.
Nick_Knight said:
@Skyline
I know it's a bit early for an request. [emoji6] But can you build a "SELinux permissive" version? [emoji41] I want install SuperSU to use FolderMount.
Click to expand...
Click to collapse
Already permissive
just flashed on xenonHD rom.
thanks
cm13 support
Hello guys, I will try to add cm13 support to this kernel but which one is the latest stable nightly of cm13?
Skyline said:
Hello guys, I will try to add cm13 support to this kernel but which one is the latest stable nightly of cm13?
Click to expand...
Click to collapse
cm-13.0-20161030-NIGHTLY-i9100.zip
link : https://mega.nz/#!rp9mGSBa!aHsSY08pUORSaC1-cKku5ClAESzosqyzpsIGo0C7Bw4
bujjo53 said:
cm-13.0-20161030-NIGHTLY-i9100.zip
link : https://mega.nz/#!rp9mGSBa!aHsSY08pUORSaC1-cKku5ClAESzosqyzpsIGo0C7Bw4
Click to expand...
Click to collapse
Thanks
If you have this rom can you upload the boot.img and PM me the link of it
I got a cm13 nightly from 21/10/2016 on my storage disk
Skyline said:
XDA:DevDB Information
Custom Kernel for GT-I9100, Kernel for the Samsung Galaxy S II
Version Information
Status: Stable
Current Stable Version: 1.1
Stable Release Date: 2017-02-28
Created 2017-02-28
Last Updated 2017-02-28
Click to expand...
Click to collapse
Wow, i'm really glad to hear this.. really cool..
I lost my patient to try tonight.. :victory:
Nick_Knight said:
@Skyline
I know it's a bit early for an request. [emoji6] But can you build a "SELinux permissive" version? [emoji41] I want install SuperSU to use FolderMount.
Click to expand...
Click to collapse
Dude, let me know if you're successfully mounting folder (especially between internal & external storage)..
As i've tried anything i have to alternate internal storage to external storage on Nougat.. i've nearly give up as "Link2sd" app also won't work..
I'm sorry for a bit OT..
im currently on aicp 12 and i tried this kernel,now my phone never get to deepsleep at all..my battery life is on a constant downhill...
sniburn said:
im currently on aicp 12 and i tried this kernel,now my phone never get to deepsleep at all..my battery life is on a constant downhill...
Click to expand...
Click to collapse
I'm in AICP 12.1 build 7 Feb, the kernel works great, and the phone get to deepsleep as normal, maybe a problem of the build you're using...
Can someone post the best CPU and Governor settings for this kernel in the Adiutor for flawless running with bigger apps - always on 1200 MHz - is somebody working permanent with 1200 MHz, what about battery drain?
Nobby1960 said:
Can someone post the best CPU and Governor settings for this kernel in the Adiutor for flawless running with bigger apps - always on 1200 MHz - is somebody working permanent with 1200 MHz, what about battery drain?
Click to expand...
Click to collapse
I don't think always running on 1200MHz will be good, think about cpu and battery temperature our device already have heating problems though. If you want you can try pegasusqplus I felt bit smoother with this one
UPDATE: From next build kernel will also support cm13

			
				
An other experience with the crDroid ROM @GreekDragon (latest build 01/26) . It runs good, flawless and smooth with the following settings:
CPU: min. 1000 MHz, max. 1200 MHz
Governor: pegasusqplus
I/O Scheduler: noop
Read-Ahead: 1280 kB
But: I have no more deepsleep and a little swap, see the following screenshots. The deepsleep mode in this ROM also doesn't work with the integrated power management, switched on "performance".
Thanks
Did you ever think continue @Saber 's Dorimanx N for our old phone, I think it can be amazing.
Saber: If there's anyone who would like to pickup from where I have left, my kernel source will always be available on github.
@Skyline
https://forum.xda-developers.com/ga...ves/kernel-dorimanx-lp-5-x-x-t3145879/page137
Here is a live test with AICP 12.1 build 02/07 - the deepsleep mode works perfect. CPU on both cores with 1200 MHz, no significant heat development - core 1 turns off if not in use. I've played with the I/O and came up for the most smooth run and the fastest response to the "deadline" setting - see screenshots.
Would you adjust the kernel to crDroid too (see above)? It's a wonderful Nougat ROM on Lineage base - I mean the deepsleep issues may be fixed by @GreekDragon.

[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 5T
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-05
Last Updated 2019-01-28
Reserved
Been using this kernel for awhile, and though we have many good options out there (RZ, blu, and the countless custom kernels in the roms we flash daily), I find that π has the best handle on boosting the smaller cores. I also think the input / touch response time is noticeably smoother on this kernel.
TBH it's not the one I'm running right now, but I'll probably be back to π when the next release is posted.
Go to the telegram channel if you need immediate support. I've only tested on stable 9.0.1.
This is the best kernel for the op5
Do not plan to do for custom firmware
Welcome.
[email protected] said:
Do not plan to do for custom firmware
Click to expand...
Click to collapse
Not at the moment.
So you got new op5t?
wOMPZA said:
So you got new op5t?
Click to expand...
Click to collapse
Got one of a friend who bought the OP6.
So yes!
Thanks a lot for sharing your personal kernel for our OP5 9.0.1 PIE .. thank you !!
Please, in the next update give support to "Spectrum".
Wonderful kernel
TioFalopa said:
Please, in the next update give support to "Spectrum".
Wonderful kernel
Click to expand...
Click to collapse
I don't think so...
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
Please add support for custom firmware
[email protected] said:
Please add support for custom firmware
Click to expand...
Click to collapse
Currently not planned.
crian said:
Currently not planned.
Click to expand...
Click to collapse
It is regrettable
crian said:
Currently not planned.
Click to expand...
Click to collapse
Hey this kernel has grown tremendously since I started testing it on TG. I used to think this was a "good", not "great", but I wasn't letting it settle. It seriously takes about a good 15 minutes for things to just feel right. If you gave up on this kernel before, try it again, you will not be disappointed in it's reliability.
preference said:
Hey this kernel has grown tremendously since I started testing it on TG. I used to think this was a "good", not "great", but I wasn't letting it settle. It seriously takes about a good 15 minutes for things to just feel right. If you gave up on this kernel before, try it again, you will not be disappointed in it's reliability.
Click to expand...
Click to collapse
Thanks and good advice!
crian said:
Thanks and good advice!
Click to expand...
Click to collapse
OP San, it might be placebo but when I turn on enable_prediction to 1 in the country governor options, I seem to get better performance. This seems to only benefit the little cores, when I enabled it on the big cores I started to suffer a lot of stuttering.
Why is this setting netting me performance? Is it off by default for a major reason?
I think as long as I'm on oos, I can't leave π kernel for now. To my use, this is the best one I can find right now. Huge thanks to the Dev for bringing this kernel to 5T.

Categories

Resources