[KERNEL][CLANG] MiPa Kernel [dipper][10.02.2021] - Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introducton
Code:
/*
* Your Warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
In this kernel, I strive for balance battery / performance, as well as it contains the latest patches for Linux and CAF.
Kernel i make for AOSP Q with Q blobs. How each version on MIUI Q works, i don't know and me it not interesting (if you want use this kernel, you always can flash and test, pls don't report what something don't work on MIUI).
Features:
Base on last sdm845 Q CAF tag
Merge Google Common 4.9-q
Upstream last linux version
Compiled with Proton Clang and Full LTO, LLD links, Shadow Call Stack (SCS) and RELR enabled.
Enable support for NTFS r/w, sdFAT filesystem, F2FS and Implement rapid GC
Kcal Advances Color Control
Enable TTL target
Sound Control by flar2
Add Wireguard Driver
Enable support Sony Dualshock PS3/PS4 and Xbox Controller
Disable unused drivers
Scheduler/schedutile improved (WALT)
SchedTune Assist and CPUSet Assist
Enable select TCP algorithm, westwood by default
Network Signal Guru app compatible.
Simple LMK
Optimize for Android Q
Many tweaks/optimize for battery/performance
AnyKernel3 flashable zip by osm0sis
Installation:
Flash in TWRP recovery, then re-flash Magisk.
If another custom kernel (or my old version, up to 4.2 inclusive) is already installed, then you need to flash stock boot.img first, then magisk and my kernel.
Tuning apps:
FK Kernel Manager
EX Kernel Manager
Downloads:
SourceForge (new build 9.5+)
AndroidFileHost (old build)
My Telegram Group:
https://t.me/joinchat/DNw0ZFHSLa3ObU3noUhSwQ
If you like my work, you can buy me Сoffee
​
Credits:
Bruno Martins (bgcngm)
Nathan Chancellor (nathanchance)
Francisco Franco (franciscofranco)
Danny Lin (kdrag0n)
Park Ju Hyung (arter97)
All of developers contributions which i picked from.
XDA:DevDB Information
MiPa Kernel, Kernel for the Xiaomi Mi 8
Contributors
palaych
Source Code: https://github.com/palaych/mipa_kernel_xiaomi_sdm845
Version Information
Status: Stable

Changelog
V5.3:
Merge Linux version 4.9.171
Merge CAF tag 'LA.UM.7.3.r1-07400-sdm845.0'
Merge some CAF / Google patches
Merge some LineageOS repo commits
techpack: audio: checkout dipper-p-oos
Update code drivers by sultanxda
Add KLAPSE
Many other improves/fix
V5.2:
Removed a lot of useless and harmful patches
Crypto upstream bump
dipper: fix gps
Update cpu boost driver by sultanxda
Some other fix/changes
V5.1:
Merge Linux version 4.9.166
Merge many CAF patch
Upstream Google Common 4.9
Compile with Clang 9.0.2
Fix deepsleep with 898000.qcom,qup_uart wakelock
Add API to mark IRQs and kthreads as performance critical
V5.0:
Full re-write kernel tree, cleaner tree, removed many patch (useless and unnecessary), many other changes (patch's)
Merge Linux version 4.9.164
Compile with Clang 9.0.1
Updated Boost Drivers by sultanxda
V4.9:
Fix last merge caf/als
Updated fs/f2fs (support F2FS_FS_VERITY)
Compile with Clang 8.0.9
V4.8:
Upstream Linux version 4.9.161
Merge CAF tag 'LA.UM.7.3.r1-06900-sdm845.0'
V4.7:
Upstream Linux version 4.9.160
Update and clean cpu_input_boost / devfreq_boost drivers
Revert some tweaks
Some optimize in defconfig
Other tweaks/fix/etc..too lazy to write.
V4.6:
Upstream Linux version 4.9.155
Merge some last LOS commits
Revert: 'Dynamic SchedTune Boost v3'
Update cpu_input_boost driver
Some merge fix in wlan driver
Update camera drivers (cleaned patch)
Other tweaks/fix/etc..too lazy to write
V4.5:
Upstream Linux version 4.9.154
Merge last LOS commits
Add some tweaks/fix/etc..too lazy to write.
V4.4:
Merge tag 'LA.UM.7.3.r1-06700-sdm845.0'
Upstream Linux version 4.9.152
Tweaks tcp_westwood
Add Dynamic SchedTune Boost v3
merge some last los commits
revert gpu 180mhz
revert some sched tweaks
other changes/tweaks
V4.3:
Upstream Linux Version 4.9.151
Compile with Clang 8.0.7 and GNU GCC 8.2.1, add optimize for sdm845
GPU UC 180Mhz (test)
Enable LZ4 compression
Some update dts to dipper-p-oos
Fix Kcal
DTS: Adjust Energy Model to be inline with Pixel 3 (test)
Tweak's sched
Other changes
Updated drivers camera (maybe full fix portret mode in miui camera)
Full re-write boot scripts
V4.2:
fix freeze (don`t work) potrait mode in miui camera
some change/tweaks
disabled some debug in defconfig
block kernel wakelock 898000.qcom,qup_uart by default
add sound control by flar2
V4.1:
Update Linux version 4.9.148
drivers camera: checkout dipper-p-oos (fix OIS)
Enable support xbox controller
Some changes in anykernel2 script
V4.0:
Rebase on pie source (based on Bruno Martins commits)
Merge CAF tag 'LA.UM.7.3.r1-06600-sdm845.o'
Upstream Linux version 4.9.147
Compiled with Clang 8.0.6
Optimize defconfig
Add Boeffla Wakelock Blocker
Enable support for NTFS r/w
Enable support for sdFAT filesystem
Backlight Minimum Brightness Control
Kcal Advances Color Control
Enable ttl target
Vibration Control
Add Maple I/O Scheduler
Add Wireguard Driver
Enable support Sony Dualshock PS3/PS4
Boost Drivers by sultanxda
Fix Source Code
Some tweaks for battery/performance
Work only on Android Pie
V3.6:
upstream linux version 4.9.140
removed boost drivers by sultanxda and some others tweaks
enable support sony controller (usb)
compile with Linaro 7.3.1
V3.5:
compiled with GNU GCC 8.2
merge commits binder
merge commits sdcardfs
merge linux version 4.9.137
merged tag "LA.UM.6.3.r4-05800-sdm845.0"
boost drivers by sultanxda
merge los commits fs: sdfat
V3.4.2:
compiled with GNU GCC 8.2.1
add cortex-a75/a55 flags
some fix source code
merge latest los commits
V.3.3.1:
update camera driver (fix ir camera, miui face unlock now work)
V.3.3:
add i/o schedulers maple (by default)
Kcal Advances Color Control (experimental features)
Vibration Control (experimental features)
Backlight Minimum Brightness Control (experimental features)
schedutil tweaks
fix brightness led notification (polaris)
maybe something else...

Reserved

Welcome ! Great work

Thank you so much. Welcome aboard. Will try as soon as the bootloader unlock waiting time ends.

Great news!!! Thank you so much.
Can't wait to IR Camera on MIUI working to be a tester. That's really useful to me

chediak said:
Can't wait to IR Camera on MIUI working to be a tester. That's really useful to me
Click to expand...
Click to collapse
I see on github driver ir sensor, on next version add, maybe will work

thanks bro

Waiting for the bootloader unlock also.
excited that we are getting more devs interested in developing for the Mi8

im also waiting for bootloader unlock
can u add wireguard support also
thanks

saikoz said:
can u add wireguard support also
Click to expand...
Click to collapse
already add in next version, forgot to turn on immediately

MiPa Kernel update:​V3.3:
add i/o schedulers maple (by default)
Kcal Advances Color Control (experimental features)
Vibration Control (experimental features)
Backlight Minimum Brightness Control (experimental features)
schedutil tweaks
maybe something else...
Downloads:
https://yadi.sk/d/z4ukZOA16UzE_A
https://androidfilehost.com/?fid=11410932744536988805
P.s. in next versions will update camera drivers based on stock source dipper and then ir camera will have to work fully
Me for coffee and buns for more productive work:
http://paypal.me/palaych

palaych said:
MiPa Kernel update:​V3.3:
maybe something else...
Click to expand...
Click to collapse
lol. U didn`t know changes in own develop?

peppercute said:
lol. U didn`t know changes in own develop?
Click to expand...
Click to collapse
Well when you develop kernel you can easily forgot what you added etc
Or it's maybe a hidden surprise feature ?
Also you can check on GitHub what he changed ?

Is it possible to set charging speed with this kernel? I'd like to lock it at 1000mA, since I mainly charge with my powerbank and slower charge is better for battery

3lambda said:
Well when you develop kernel you can easily forgot what you added etc
Click to expand...
Click to collapse
yes, there are a couple of files in which I don’t remember what I was doing
and i not commits this files

MiPa Kernel v.3.3.1:
update camera driver (fix ir camera, miui face unlock now work)
Dowload:
https://yadi.sk/d/K5fTOFPng5_FSA
Me for coffee and buns for more productive work:
http://paypal.me/palaych

Any chance for ursa support ?

MiPa Kernel v.3.4.2:
compiled with GNU GCC 8.2.1
add cortex-a75/a55 flags
some fix source code
merge latest los commits
Dowload:
https://yadi.sk/d/h2K6fYo4k0CkKA
https://www.androidfilehost.com/?fid=11410932744536995923
Me for coffee and buns for more productive work:
http://paypal.me/palaych

Kernel Adiuto
Kernel Adiutor non save on reboot

Related

[KERNEL] [KK|LP] TheBeast [01-DEC-2015]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. 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 OF BEAST :
- Compiled with Linaro GCC 4.9 Toolchain @Christopher83
- 4 HOTPLUGS : MPDECISION/MSM HOTPLUG/BRICKED HOTPLUG/ALUCARD HOTPLUG @myfluxi & @neobuddy & @alucard24 & @showp1984
- 18 GOVERNORS : ALUCARD/ABYSSPLUGV2/ADAPTIVE/DARKNESS/IMPULSE/LIONHEART/NIGHTMARE/PEGASUSQ/ZZMOOVE ETC CPU Governors
- CUSTOM MSM THERMAL CONTROL @franciscofranco
- DT2W @thewisenerd
- New KCAL COLOR CONTROL DRIVERS @savoca
- ADRENO IDLER 1.1 @arter97
- FAUX SOUND CONTROL
- MULTIROM SUPPORT
- GPU @ 550mhz
- UPDATED CPU BOOST @neobuddy89
- FAST CHARGE
- CPU UNDERCLOCK
- MSM_CPUFREQ/CONSERVATIVE/MSM-ADRENO/SIMPLE_ONDEMAND ETC ETC GPU Governors
- BFQ/SIO/FIOPS/Zen IO Schedulers
- POWER EFFICIENT WORKQUEUE
- VIBRATE INTENSITY CONTROL
- NEON SUPPORT
- USB KEYBOARD/MOUSE SUPPORT
- OPTIMIZED AES AND SHA1 ROUTINES
- NEON ACCELERATED XOR IMPLEMENTATION
- NEW TCP CONGESTION CONTROL (Westwood, Yeah, Veno, Vegas, SCALABLE, LP etc)
And Much More...Check My Source For Details Features
Download Link :
The Beast Kernel
Mirror Link
HOW TO INSTALL :
BOOT IN RECOVERY
FLASH THE STOCK BOOT.IMG (Important) (confused read this)
WIPE CACHE (Optional)
WIPE DALVIK CACHE (Optional)
FLASH KERNEL
REBOOT AND ENJOY!
CREDITS AND SPECIAL THANKS TO :
@fefifofum @Kra1o5 @rebelos @Khan_frd2002 @YoshiShaPow @Klozz @ak
@franciscofranco @neobuddy @showp1984 @alucard24 @faux123 @RenderBroken
@desalesouche @fermasia @Bhu1 @frap129 @thewisenerd @hurtsky
@Cl3Kener @savoca @Blechd0se @REV3NT3CH @engstk @rebelos @dipanjanforever
@BATVIC @cheeze.keyk @tanaymondal @sherry_94 @ashishranjan738
@GuthrieGovan @JeGuina @teddy0804 @tanaymondal @gkvidhu1979
@unkown rockstar @atifjay @ rajanj1996 @vijay480 @SaberMod @XDA @Xaiomi
thanks a lot guys....without you this is not possible​
XDA:DevDB Information
Beast Kernel , Kernel for the Xiaomi Redmi 1S
Contributors
Luffy.d, YoshiShaPow, Armani Devs,Khan_frd2002,fermasia
Source Code: https://github.com/LuffyXDA/kernel_xiaomi_armani
Kernel Special Features: alucard_hotplug,msm_hotplug,bricked_hotplug,kcal,dt2w,s2w,smoothness,battery and last but the main thing performance
Version Information
Status: Stable
Current Stable Version: v7
Stable Release Date: 2015-12-01
Created 2015-01-10
Last Updated 2015-12-01
Reserved
Change-Log :
BK_v1.0
Code:
[SIZE="2"]initial release
compile with sabermod
add some governors & IO
check source for more[/SIZE]
BK_v1.1
Code:
[SIZE="2"]Merge with armani devs source for better compatibility with rom
removed intillidemand governor
add new 4 governors :
ondemandplus/optimax/smartmax/wheatley Governors
Added Faux Sound..
Enable USB Fast Charge
GPU Optimize & OC at 550mhz
Add Neon Support
Add vibrate Intensity Control
Much More..[/SIZE].
BK_v1.2
Code:
[SIZE="2"]Upstream to 3.4.5
Added Intelli_plug and Intelli_thermal v2 Thanks to Faux123
Added Display Control Drivers
Added Fixes from Armani Devs
Optimize The Kernel Little now enjoy more smoothness
much more[/SIZE]
BK_v1.3
Code:
[SIZE="2"]Upstream to 3.4.75
Fix Intili_plug now working perfectly
Fit Intilli_thermal
Added Intilliactive Governor
O3 and Some Other Optimization
UKSM
Update USB fast Charge Drivers
More Smoother and Snappier
and much much more[/SIZE]
BK_v2.1
Code:
[SIZE="2"]Compile With New KK Base Thanks to @fefifofum @Kra1o5 @rebelos
Compiled with Linaro GCC 4.9 2015 (Cross Compiler Cortex A7) thanks to @Christopher83
Added MSM Hotplug thanks to @myfluxi @neobuddy
intilliactive/intillimm added
BFQ/SIO/FIOPS/Zen IO Schedulers added
Underclock CPU
Dynamic Fsync control Added
exFat Support Added
Enable 12 New TCP Congestion controls
Added vnswap/frontswap/zswap thanks @faux123
the list is goes on check [URL="https://github.com/LuffyXDA/android_kernel_xiaomi_armani/commits/cm-11.0"]my source[/URL] for more[/SIZE]
BK_v2[R16/Mokee]
Code:
[SIZE="2"]Back to 3.4.0 from 3.4.75
compiled with SaberNano toolchain thanks to @frap129
vibration intensity fix thanks to @kairi_zeroblade
Async Fsync from HTC
Dynamic Fsync control Added
exFat Support Added
Added and use csnappy compression
ofast and cortex a7 optimization
Removed intilli-thermal
Removed fast charge
Added and use csnappy compression thanks to zeevt
And lots of patches and other changes added from falcon,hammerhead
And lots more...check [URL="https://github.com/LuffyXDA/BeastKernel_Armani/commits/cm-11.0-old"]my source[/URL] for details features[/SIZE]
BK_v2.2
Code:
[SIZE="2"]Sync with CM R22
update MSM Hotplug driver
removed intilliactive/intillimm for now
Added 11 New Governor
Added kernel support for USB keyboard/mouse
Overall Stats (for better stats of core)
Add optimized AES and SHA1 routines
overclock slimbus (for better audio quality)
Add NEON support for kernel
add NEON accelerated XOR implementation
Add Powersuspend drivers
Some optimization
the list is goes on check [URL="https://github.com/LuffyXDA/android_kernel_xiaomi_armani/commits/cm-11.0"]my source[/URL] for more[/SIZE]
BK_v2.3[KK]
Code:
[SIZE="2"]Sync with latest armani dev changes
Fix Smartass and Add Lagfree Governors
Added S2W && DT2W thanks to @thewisenerd
New KCAL Drivers added (my favorite) thanks to @savoca
Update PowerSuspend drivers
Enable NTFS support
Added MSM CPUFREQ Limiter
[/SIZE]
BK_RC2[L]
Code:
[SIZE="2"]Compile from armani-dev cm-12.0 source
Everything from scratch
Added Both MSM_HOTPLUG and ALUCARD_HOTPLUG @myfluxi @neobuddy @alucard24
Added S2W && DT2W thanks to @thewisenerd
Added 9 New Governors (Alucard,Adaptive,Abyssplugv2,Darkness etc etc)
All the thing in Features @OP
some misc optimization
[/SIZE]
BK_RC3[L]
Code:
[SIZE="2"]Sync with latest armani-dev CM-12.1 changes
TCP CONG is back
Enable unaligned memory access
Added optimized ARM RWSEM algorithm @Ezekeel
Update LZO compression to current upstream version …@faux123
Some SELinux changes
add support for gcc 5/6 toolchain
wake_helpers patches @thewisenerd
some misc changes...
check my source for details feature i am no good in writing :p
[/SIZE]
BK_RC4[L]
Code:
[SIZE="2"]Sync with latest armani-dev CM-12.1 changes
Bricked Hotplug Added @neobuddy &showp1984
Added fast charge option @anarkia1976 ( now charge your phone bit fast ;) )
Simple GPU Algorithm Added @ faux123
improve fairness efficiency
Update min-default GPU frequency to be 200MHz
added userspace knobs for users to filter some common excessive wakelocks @franciscofranco
some more changes...
check my source for details feature i am no good in writing :p
BK_RC5[L]
Code:
[SIZE="2"]Rebase with Rebelos Source (so all the SlimL kernel changes are here)
Compile with Linaro 5.1 Toolchain
New Hotplug added AutoSMP (enable by default)
Custom msm_thermal added by @franciscofranco
dt2w removed (cuz new dt2w is coming by thewisenerd)
GPU OC is back
Added Some New Govs : zzmoove/hellsactive/optimax/impulse/yankactive
Some kernel Optimization
some more changes...
check my source for details feature i am no good in writing :p
[/SIZE]
BK_v3[KK]
Code:
[SIZE="2"]Sync with latest armani dev changes
removed Smartass and Lagfree Governors
Added Alucard Hotplug
Remove msm_hotplug
added Dynamic management of dirty page writebacks @Christopher83
Added Darkness Gov
update conservative gov (become my favorite now)
added msm: memutils: memcpy, memmove, copy_page optimization
and some misc changes
[/SIZE]
BK_RC6[L]
Code:
[SIZE="2"]Back to Armani-dev Source
Compile with UBER 5.1 Toolchain
Fuax Sound Added
dt2w is back again ( plz note : touch freeze is still there so don't enable dt2w at boot)
ondemand patches from @myfluxi
optimize zzmoove @hurtsky
check my source for details feature i am no good in writing :p
[/SIZE]
BK_v5
Code:
Compiled With latest Linaro GCC 4.9 @Christopher83
Now Support Both Rom's cm-11 & cm-12.1 in single kernel
Adreno_idler 1.1 @arter97
4 Hotplugs Now : mpdecisin,msm_hotplug,bricked_hotplug,alucard_hotplug
all cm-12.1 changes and BeastL changes for cm11 user
update cpu-boost @neobuddy &@ak
removed Simple GPU Algorithm
removed dynamic sync control
and some more changes.....check my commit for more details
[/SIZE]
BK_v6
Code:
Sync with Armani-Dev Source
MultiRom Support
Update Hotplug's
Add Custom Script thanks to @RenderBroken
Tune build flags @neobuddy89
update Kcal
update msm_thermal
Some Misc Changes
and little more changes.....check [URL="https://github.com/LuffyXDA/android_kernel_xiaomi_armani/commits/cm"]my commit[/URL] for more details[/SIZE]
BK_v7
Code:
Based on new kk source (armani-dec cm-12.1-clean branch)
Most of Beast v6 feature but not all
enable Intelli hotplug and disable Msm Hotplug
So now Beast have Intelli/Bricked/Alucard Hotplug
Update Alucard Hotplug to latest
Add MSM limiter
Remove Faux sound
Remove some Governors
Remove Savoca Kcal
Dt2w only for ft5x06 touch, sorry other dont worry will add in next build
Update State Notifier to latest (Hope no SOD)
Two New Governor : Intelliactive/smartmax
and i didn't tuned the cpu gov much let me know which one need tuning
Cpufreq optimization from ak & neo
and other upstream changes
and little mores.....check [URL="https://github.com/LuffyXDA/android_kernel_xiaomi_armani/commits/cm"]my commit[/URL] for more details[/SIZE]
Test Builds
Test Builds
How To ​
Native D2W :
There are two ways by which i enable/disable Native D2W
1. By using Terminal Emulator
2. By using Root Explorer
Terminal Emulator :
to enable
echo 1 > /sys/bus/i2c/drivers/ft5x06_i2c/5-0038/d2w_switch
to disable
echo 0 > /sys/bus/i2c/drivers/ft5x06_i2c/5-0038/d2w_switch
Root Explorer
Go to sys/bus/i2c/drivers/ft5x06_i2c/5-0038
Open " d2w_switch" file as text editor
then just changed : 1 to enable and 0 to disable
Hope this Help You All :good:
Faqs
Q. Did BeastKernel Works on All Roms?
A. Yes, From Beast v7 it will work on all roms except MM for now
Q.There are two BeastKernel Which one Should i Install? And Which one is for cm11 or cm12.1 or Miui
A.TheBeast-vX-CM.zip is for both CM11/12.1 and TheBeast-vX-Miui.zip is for Miui
Q. The BeastKernel Have soo many feature but i dont know how to use them or change them...
A. Use Kernel Adiutor App
Q. I am on another awesome kernel and i want to try beast can i flash over
A. No!!!, you can flash beast over any other kernel except stock. So if you are on any other kernel then flash stock kernel or dirty flash the rom then install the beast
Q. I Install the Rom but XYZ not working !! what should i do please help
A. First try to read some previous post and see other are getting the same issue if not then do a clean flash or dirty flash even not work then post here or pm me...i will be happy to help you
Hi, are you compiling a dt.img, or are you using the prebuilt dt.img? If the former, what's the size of your obtained dt.img?
thewisenerd said:
Hi, are you compiling a dt.img, or are you using the prebuilt dt.img? If the former, what's the size of your obtained dt.img?
Click to expand...
Click to collapse
yes i m using compile dt.img.....
edit : size is 4.9 mb
Will the kernel work on any build of cm11 ex( r13,r14,r15)?
Sent from my HM 1S using Tapatalk
Snapdragon815 said:
Will the kernel work on any build of cm11 ex( r13,r14,r15)?
Sent from my HM 1S using Tapatalk
Click to expand...
Click to collapse
no only on latest cm r15.....
Luffy.d said:
no only on latest cm r15.....
Click to expand...
Click to collapse
Is there any chance in near future to get it for R14...?
Sent from my HM 1S using Tapatalk
Snapdragon815 said:
Is there any chance in near future to get it for R14...?
Sent from my HM 1S using Tapatalk
Click to expand...
Click to collapse
no because the older cm use prebuilt kernel.....so any compile kernel wont work for older cm
What are the features of beast kernel?
sinnerz2000 said:
What are the features of beast kernel?
Click to expand...
Click to collapse
for now not much it just the initial release....
check changelog or the commits of my source for more details.....
Great Work Buddy....
khan_frd2002 said:
Great Work Buddy....
Click to expand...
Click to collapse
great work,bro..........Hoping this kernel will coming with best features for our device in the near future...................
Will yu make it compatible with late Carbon rom?
dixan43 said:
Will yu make it compatible with late Carbon rom?
Click to expand...
Click to collapse
no buddy it wont work on any old rom.....
still i will give it a one try.....are you on carbon?
if yes then pm me
Glad to see another kernel :good:
new build is added at op for old cm & cm based rom.....anyone can test and report back
check op for download link or here
Luffy.d said:
new build is added at op for old cm & cm based rom.....anyone can test and report back
check op for download link or here
Click to expand...
Click to collapse
Flashed over Carbon ROM RC5. Booted up and then just shows a blank screen with the Mi logo.
Screen turns on and off, I can hear the volume being adjusted, but that's all.
Reflashed original ROM and all is back to normal.
Thanks for continued development.
Peace.
Please implement OC/OV function.

[KERNEL][AOSP][SM-G930F/FD/W8/S/L/K] Fire Opal Kernel 3.1.0 [Nougat]

/* This project is currently in hiatus at least until the new device and kernel trees are available and sufficiently stable. Thanks for your patience and your support. */
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Welcome to the official thread for the Fire Opal Kernel project for the Galaxy S7 (SM-G930F/FD/W8/S/L/K) running AOSP-based ROMs.
The aim of this project is to provide a good alternative option to the limited stock AOSP kernel.​
Thanks and Credits
> Samsung for their kernel source
> @jesec and @Fevax, 8890dev project developers and hero devices maintaners, for the device tree
> @Tkkg1994 for his clear and vast source code and scripts
> @lyapota for a few ideas
> @flar2, @UpInTheAir, @franciscofranco, @osm0sis and others for their great contributions to the community and Android
Note: the feature list refers to version 2.4.2. The new beta 3.1.0 is closer to stock, but with the new device trees things will change
Features
* based on latest 8890dev kernel sources
* updated with latest Samsung kernel base (DQCG)
* custom built ramdisk based on N2G47E with Resurrection Remix tweaks
* built with Linaro Toolchain 6.3.1 (aarch64-linux-android-6.3)
* updated with Linux patches up to the latest 3.18.48
* init.d support and init tweaks
* added a few CPU governors (elementalx, hyper, alucard, barry_allen, bioshock, bluactive, conservative_x, darkness, despair, electrodemand, impulse, intellicative, intellidemand, intellimm, interactive_pro, interactive_x, ironactive, lionheart, nightmare, ondemand_x, ondemandplus, pegasusq, smartass2, smartmax, smartmax_eps, yankactive and zzmoove) and enabled all the stock ones.
default: interactive
* added a few I/O schedulers (bfq, cfq, fifo, fiops, row, sio, sioplus, tripndroid, vr, zen)
default: cfq
* added a few TCP congestion algorythms (bic, cubic, westwood, htcp, hybla, vegas, scalable, lp, veno, yeah, illinois, dctcp, lia, olia, wvegas, balia)
default: westwood
* full f2fs support, ported from official OnePlus 3/3T kernel source
* fixed some misbehaving drivers
* complete implementation of Synapse, to have everything at your fingertip
* overclock and underclock support for both CPU and GPU
* full voltage control (CPU, GPU, BUS and so on...)
* notification LED fading control
* numerous performance and stability tweaks (defconfig, fstab and Makefile)
* SELinux set to Permissive by default (can be changed by the user if he wants to)
* enable extra compression algorithm and cryptography
* sqlite3, busybox and other binaries are integrated!
* Knox 0x0 and SafetyNet spoofed to pass
* ondemand and conservative governors updated for big.LITTLE architecture
* improved default voltage/thermal management
* enabled Swap (510MB, lz4, 4 compression streams)
* and more...
Notes
So good everything is working now :laugh:
In the near future I'll have fun improving Synapse (as soon as I have free time).
Download:
herolte > Android File Host
Support:
If you want to receive support, find and share settings, report bugs and try Beta versions, join our Telegram group:
Fire Opal Kernel | Official Group
XDA:DevDB Information
Fire Opal Kernel, Kernel for the Samsung Galaxy S7
Contributors
kylothow
Source Code: http://github.com/kylothow/android_kernel_samsung_universal8890
Kernel Special Features: Synapse support, stable f2fs porting, full voltage control, various governors, schedulers, tweaks and patches are just some of the awesome features.
Version Information
Status: Stable
Current Stable Version: 2.4.2
Current Beta Version: 3.1.0
Created 2017-02-27
Last Updated 2017-07-26
Changelogs
While searching the Internet you might also find versions which aren't listed here: these are Beta versions and their changelog isn't available (but included in the one of the next stable version, so you don't miss anything).
All the changes I made are listed on GitHub.
Version 2.4.2
Code:
- update sdcardfs
- updated build scripts and recovery scripts
- changed toolchain to a better version (Linaro Android gcc 6.3.1)
- widely improved ramdisk scripts
- updated ramdisk to latest version from RR with 7.1.2 support
Changelogs for previous versions:
Version 2.4.0
Code:
- updated with latest Linux patches
- various fixes (including thermal management and network communication)
Version 2.3.0
Code:
I'm constantly working to provide a better kernel. This implies a lot of research, testing and stressing my eyes staring at code. I'm adding a lot of small fixes.
So, try to understand me if I don't always have time to report a changelog.
As always, you can check GitHub for a detailed changelog.
Version 2.2.1
Code:
Sorry if I didn't write down a changelog for the last releases, I've been quite busy.
Anyway: since version 2.1.6b there are a LOT of changes, performance, battery, stability... Just check it out (and check GitHub for a full changelog).
Version 2.1.6b
Code:
- updated busybox and sqlite3 binaries with more convenient versions
- changed optimizations, enabled safety features and possibly fixed f2fs cryptography
- getting ready for the Synapse restyling
- build the kernel uncompressed
The latter fix solves most lagging issues and noticeably improve performance over compressed version; I'll look into the kernel size issue soon!
Version 2.1.5
Code:
- ramdisk rebased over RR's one
- kernel size reduced
Version 2.1.4
Code:
- updated interactive governor with Samsung optimized version
- implemented the AMOLED flicker free patch
- updated ramdisk for both herolte and hero2lte to the one from latest LineageOS builds
- updated ramdisk to be compatible with SlimROM (untested)
- removed a few redundant tweaks
- fireactive it's on its way to debut, but still disabled because incomplete, sorry :(
Version 2.1.2
Code:
- init: added a few tweaks
- ramdisk: changes in sepolicy
- ramdisk: try to fool safetynet and fix wakelocks
- updated to DQBO kernel source
- fstab: reworked mount options
- fs: add exfat support
- fs: implement optimised and stable f2fs (from oneplus/QC8996_N)
- enabled Swap (I had the idea while looking into the OP3 sources)
Version 2.1.0
Code:
Many beta versions came before this one, and all of them had their list of fixes... I'll try to summarize:
- some configs were tweaked
- enabled init.d support
- Synapse support
- implemented elementalx
- various fixes
- faked Knox 0x0 and try to hide from SafetyNet
- switched back to cfq as default scheduler
- probably other stuff I can't remember now... I need to sleep ahahah
Version 1.2.4
Code:
- temporarily reverted to Linux 3.18.14 (and so fixed the video playback issue)
- updated mount options to reduce I/O overhead
- tweaked the kernel configuration to have better performance
- enabled additional compression algorithms and cryptography utilities
Version 1.2.3
Code:
- updated zen sched driver to version 1.1
- SELinux is now set to Permissive by default
Version 1.2.2
Code:
- now using zen as default I/O scheduler
- changed the default frequency range for the CPU
- updated to Linux 3.18.17 (still working to bring the latest patches)
- switched to a custom Makefile optimised for our architecture
Version 1.2.0
Code:
- overclock and underclock support for both CPU and GPU
- voltage control (see notes in the OP [B][**][/B])
- moved to Uber Toolchain 7.x (aarch64-linux-android-7.x)
- improved recovery installation script
Version 1.1.0
Code:
- First public release
[TUTORIAL] How to set up your phone with f2fs
1) First you have to install a compatible recovery. Recent TWRP releases can format and mount f2fs, but they don't handle a few installation scripts correcty. I recommend TWRP 3.0.2-4 by @lyapota which has the correct patches. You can find it here.
2) Then you have to backup all your data (internal storage will be wiped too, so make sure to copy ALL your files in the INTERNAL storage). So, any TWRP backup should be taken on external SD card.
3) After this, reboot into TWRP. From Wipe / Advanced Wipe check only /data, then select Change Filesystem and check f2fs. Do the same for /cache. At the moment I don't think there are ROMs that support f2fs on /system too (LineageOS, for example, forces ext4 and formats despite settings).
4) Reboot into recovery once again, so we're sure that it can mount everything.
5) At this point you're done. Flash your ROM of choice, this kernel, any GApps and whatever you want.
Reboot and profit!
ROMs supporting f2fs formatted /system will be listed here when available.
cool
I tried this on RR and saw for so good. I built-it into my RR build to get it to boot and love the different governors and features.
So cool, thank you !
I completed a new release with some stuff added:
Code:
- overclock and underclock support for both CPU and GPU
- voltage control (see notes in the OP [B][**][/B])
- moved to Uber Toolchain 7.x (aarch64-linux-android-7.x)
- improved recovery installation script
The note i refer to, in short, says that voltage control is implemented but not reachable by the user.
Next steps in this kernel development are complete access to GPU overclock and voltage control, followed by latest Linux patches and eventual requests by the users.
Have a nice day
SafetyNet pass possible with Magisk Hide?
tidschi said:
SafetyNet pass possible with Magisk Hide?
Click to expand...
Click to collapse
Without root it passes but Magisk hide isn't working on our AOSP ROMs.
Sent from my SM-G935F using Tapatalk
kylothow said:
Without root it passes but Magisk hide isn't working on our AOSP ROMs.
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
Magisk doesn't work on AOSP Roms ?
Really cool ROM how ever it removes SuperSU on AOSP extended and you will need to reflash however since flashing this it seems my audio stuttering while in apps has I believe disappeared will test further hope to some sound config's (Faux sound or alternative if possible) keep up the good work
Sent from my SM-G930F using Tapatalk
dylem29 said:
Magisk doesn't work on AOSP Roms ?
Click to expand...
Click to collapse
Not on the ones for S7. Magisk hide doesn't work.
Sent from my SM-G935F using Tapatalk
Delete plz
I tried 1.2.0 on my g930w8 with RR and it won't boot. Gets stuck on the RR logo. I even tried clean flash and still won't boot. Yesterday I build the kernel directly into RR and it booted but since the change to 7.0 toolchain I can't even build because I am on Mac which Uber 7.0 doesn't support.
Andrw0830 said:
I tried 1.2.0 on my g930w8 with RR and it won't boot. Gets stuck on the RR logo. I even tried clean flash and still won't boot. Yesterday I build the kernel directly into RR and it booted but since the change to 7.0 toolchain I can't even build because I am on Mac which Uber 7.0 doesn't support.
Click to expand...
Click to collapse
Works for me, I'm using the latest RR on my G930W8 (apk3 bootloader) and I dirty flashed 1.2.0.
noob924 said:
Works for me, I'm using the latest RR on my G930W8 (apk3 bootloader) and I dirty flashed 1.2.0.
Click to expand...
Click to collapse
Yeah wonder what's going on. I am on same boot loader/modem and couldn't get it to work with 1.2.0.. I tried dual boot and even installing RR as main ROM and wouldn't work. I actually had to copy and use my boot.img from 02/26 that contained the OPs source built-in to get boot. If it works for others on official RR, maybe it's something with my custom build. I do use the same manifest as 8890dev. Thanks for letting me know.
W8 here as well had no problem just flashing kernel over everything I already had.. was first release. Waiting on new update assuming it's being uploaded cause download link don't work
New release announcement
New release uploaded while I finish some stuff. I spent yesterday on the Linux patches but I will have to do some "tricks" to make them work... and it's a long work.
Version 1.2.2
Code:
- now using zen as default I/O scheduler
- changed the default frequency range for the CPU
- updated to Linux 3.18.17 (still working to bring the latest patches)
- switched to a custom Makefile optimised for our architecture
Nice bro Thanks! No hurry BTW quality over quantity any day! Just happy for a new kernel for 7.1!!!
Good to see new kernel for s7, which app can I use with this kernel? Synapse ?

[KERNEL]New Kernel 1.29-O/2.12-O [OOS-5.0.x/OOS-5.1.x][4.4.131]

Hello everyone. After some time for building Roms and kernels for the OnePlus One, now I am here for the OnePlus 5.
Some of you already know me for what I focus on my builds.
Functionality
Speed
Smoothness
Battery
Features:
Compiled by a custom toolchain from Google to ensure the best experience.
Schedulers available:
SIO
BFQ
ZEN
CFQ - Default
Deadline
NOOP
MAPLE
Extra TCP advanced algorithm:
Westwood - set as default
Reno
Cubic
Highspeed
HTCP
Vegas
Veno
lp
illinois
yeah
Sound Control - Sound and Microphone control
KCAL - Control colours on your display
Adreno Idler - (Battery saver without compromising performance)
Notification LED control
Sweep2sleep
To control features use kernel adiutor.
Patches from Google Kernel for 4.4 devices
Latest CAF patches LA.UM.6.4.r1-07600-8x98.0
Latest Linux patches 4.4.126
Optimized libraries
Crypto patches
Wakelock blocker to reduce battery drain due to the modules (does not affect functionality)
Upstream code for F2FS
Using noatime
Patches to improve battery life
Passes Safetynet
WireGuard
Upstream code android binder
Screen flickering fixes
Version to use:
2.xx-O - Oreo 8.1 - Recommended to use OB6
1.xx-O - Oreo 8.0
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download New Kernel ​
There are two branches:
Stable - which has all proven and tested development
Beta - new features introductions. Remember if your chip fries... It was done with good intentions, intended only for brave people.
To build this kernel I give a huge thank you to great dev @savoca has had a lot of patience and shared his knowledge to build a kernel with a step by step guide, as also explaining how each stuff works.
@andi79 for the introduction of the 64bit model kernel compilation.
All credits go to the OnePlus team.
Disclaimer: With the use of this kernel I am not responsible for any damage to the phone. It is at your own risk in case happens something wrong. I use this kernel daily and test it before release.
Source code
XDA:DevDB Information
[KERNEL]New Kernel for the OnePlus 5
Contributors
jgcaap
ROM OS Version: 8.0.0 oreo/8.1.0 oreo
Version Information
Status: Stable
Created 2017-12-10
Last Updated 2018-03-23
XDA:DevDB Information
New Kernel, Kernel for the OnePlus 5
Contributors
jgcaap
Source Code: [url]https://github.com/NewRom/android_kernel_oneplus_msm8998[/URL]
Kernel Special Features:
Version Information
Status: Stable
Created 2018-04-01
Last Updated 2018-04-01
Instructions:
1) If you come from another kernel (which is not stock) flash the boot.img of the stock version.
2) Flash the zip file.
Changelog:
v2.05-O
Updated toolchain compilation environment
v2.04-O
SELinux: removed switch option.
updated to Linux 4.4.125
adjusted swap kernel to 10%. It will be very hard to use this.
Added patches from Google related to
Merged new Oneplus patches
Upgraded to wifi LA.UM.6.4.r1-07400-8x98.0
ensure the kernel is compiled for LP64
Added patch to prevent regressions in the compressed kernel image.
Removed some debug options and unnecessary features.
v.2.03-O
Merged LA.UM.6.4.r1-07400-8x98.0
v.2.02-O
Merged linux v4.4.123 patches
v.2.01-O
Reverted some of the code from the last rebase.
v2.00-O
Rebase kernel from oneplus 8.1 sources.
There was added alot of patches for cfq.
Removed some schedulers.
Added wireguard.
Applied changed which use less cpu.
Added display options to provide power savings.
Added display dimmer option.
Added kcal back.
Removed fifo, so, vr schedulers.
v.1.29-O
Rebased current kernel commits as it is with 8.1 sources.
v.1.28-O
More upstream fixes by Google.
v.1.27-O
Screen flickering fixes (was finding this really annoying)
CPU jumping randomly fixed ( more battery)
Upstream code for android binder with loads of fixes from Google
v.1.26-O
Merged CAF patches LA.UM.6.4.r1-06900-8x98.0
v.1.25-O
Merged Linux patches 4.4.120
v.1.24-O
Merged Linux patches 4.4.119
v.1.23-O
Synced with Oneplus changes.
v.1.22-O
Added wireguard back.
v.1.21-O
Merged Linux patches 4.4.118.
Disabled wireguard
v.1.20-O
Merged Linux patches 4.4.117.
v.1.19-O
Updated toolchain
v.1.18-O
Rebased and merged Linux patches 4.4.116.
Ext4 fixes
CPU interactive fixes
Merge tag 'LA.UM.6.4.r1-06500-8x98.0'
Changed some configurations for WiFi.
Lowered min frequency to 300mhz (less heat).
v.1.17-O
Merged Linux patches 4.4.115.
v1.16-O
Merged Linux patches 4.4.114.
v1.15-O
Synced with new oreo beta
Added cpu patch
Added crypto
v1.14-O
Merged Linux. Patches 4.4.113
Updated WiFi from caf drivers
Merge caf LA.UM.6.4.r1-06100-8x98.0
v1.13-O
Compiled with custom toolchain
v1.12-O
Merged Linux patches 4.4.112
v1.11-O
Synced with beta 2 for op5t
v1.10-O
Added Linux patches until 4.4.111
Disabled some debug
Changed binary Wi-Fi to a custom one built by caf
Compiled with google toolchain
Troubleshooting :
No wifi or broken hotspot.
Solution: You probably come from another kernel, please reflash rom, then flash kernel.
Battery drain:
This rom has a bug in the wifi. Please go to advanced settings and turn off scanning always available.
On status appears kernel 4.4.21
Since there is a requirement to the kernel say that is version 4.4.21-perf+ for wifi to work then I named the kernel 4.4.21-perf+. This until I check wifi driver source.
Thanks for making the dedicated thread
Veliion said:
Thanks for making the dedicated thread
Click to expand...
Click to collapse
Welcome, and enjoy.
I'm on OOS 5.0.4 which is on android version 8.0.0. Is newKernel-OOS-1.29-O.zip the latest version that i should use? Or some other. Please help
wow. new kernel . gonna try .
sleepwalking0593 said:
I'm on OOS 5.0.4 which is on android version 8.0.0. Is newKernel-OOS-1.29-O.zip the latest version that i should use? Or some other. Please help
Click to expand...
Click to collapse
Correct.
Can you add tripndroid and Alucard?
Download and ready to flash. Thx for your work.
Thanks for op5 thread
Does it support for RR?
Glad to see you in op5 forum, I'm following you since the good old bacon times
h.castle said:
Does it support for RR?
Click to expand...
Click to collapse
Only on OOS ROMs. It doesn't support custom ROMs currently
New kernel online with latest Linux patches 4.4.127
I have installed this version newKernel-OOS-2.07-O.zip on open beta 8 on my Oneplus 5 but during flash it shows oneplus 5t .Is it good to go or i should wipe my phone ???
Aarju said:
I have installed this version newKernel-OOS-2.07-O.zip on open beta 8 on my Oneplus 5 but during flash it shows oneplus 5t .Is it good to go or i should wipe my phone ???
Click to expand...
Click to collapse
It is fine.. Just a message kernel are unified.
jgcaap said:
It is fine.. Just a message kernel are unified.
Click to expand...
Click to collapse
Thanks developer
2.07 work veey well. Thx dev.
How to update kernel??

[r5] arter97 kernel for OnePlus 5

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
arter97 kernel for OnePlus 5/5T​
/* Details */
Hybrid CAF msm-4.4 kernel
This kernel contains more cutting-edge changes from Qualcomm than the regular msm8998 tag
Latest Linux 4.4 subversion merged
Use CONFIG_HZ = 300
- This changes context switching interval from 10ms to 3.33ms
- Pixel used this for years and Google recommends other vendors to do the same for fewer jitters
Memory management improved(from Pixel 2 & 3)
Pixel's lowmemorykiller used
Scheduler commits cherry-picked from Pixel 3
Timer optimizations
Additional power savings applied to the display panel
Heavily optimized touch panel source code resulting in reduced touch latency
RTL8152/8153 USB LAN adapter support
Other various optimizations from Paranoid Android
Permissive SELinux
Passes SafetyNet
Built with -O3 speed optimizations
Built with latest GCC
Westwood as default TCP network congestion control
UFS optimizations
Entropy hook on storage removed
Latest mainline f2fs support with GC fixes
CFQ I/O scheduler backported from mainline
Systemless installation (the kernel doesn't touch /system or /vendor)
Modules support disabled for lighter kernel
WireGuard support
Removed RTB(interrupt) logging entirely
Various changes merged from the Razer Phone 2 and Snapdragon 855
AnyKernel installation
/* Notice */
Both OnePlus 5 and 5T is supported.
Only OxygenOS is tested at the moment, but it is likely that the kernel will work with other ROMs thanks to the use of AnyKernel2 by osm0sis, though you may encounter minor issues.
Feel free to tip me which commits are needed to fix other ROMs.
/* f2fs */
This kernel fully supports f2fs for /data and I encourage everyone to use f2fs with my kernel for better performance.
See here as to why you might want f2fs.
To use f2fs, download zip files from http://arter97.com/browse/f2fs
Flash f2fs_tools_for_twrp.zip from TWRP. This won’t format your /data partition.
This will replace TWRP's f2fs tools with the latest version and pass the correct parameter to mkfs.f2fs, which is necessary.
This needs to be done everytime you enter TWRP, if you want to re-format to f2fs.
After formatting, or flashing a new ROM or an OTA, /vendor’s fstab needs to be changed.
Flash f2fs_fstab.zip to convert fstab to f2fs again. This won’t format your /data partition.
/* Disclaimer */
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this kernel
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
/* Thanks to */
TheCrazyLex
xboxfanj
Tim Murray
RenderZenith
nathanchance - for android-linux-stable
/* Downloads and links */
arter97.com
Kernel source
XDA:DevDB Information
arter97 kernel for OnePlus 5, Kernel for the OnePlus 5
Contributors
arter97
Kernel Special Features:
Version Information
Status: Testing
Created 2019-04-09
Last Updated 2019-08-10
/* Changelog */
r5
Rewritten IOMMU by Sultan reverted to resolve random reboots
Linux v4.4.188 merged
LA.UM.7.4.r1-05400-8x98.0 merged
LA.UM.7.2.r1-07400-sdm660.0 merged
General scheduler improvements
Inability to display battery status on charging during shutdown fixed
Wi-Fi drivers updated to 5.1.1.73Q
Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan)
Backported speculative page fault to improve system performance
Latest f2fs-stable merged
r4
Linux v4.4.180 merged
LA.UM.7.2.r2-00800-8x98.0 merged
LA.UM.7.5.2.r1-02900-8x96.0 merged
Latest f2fs-stable merged
Removed f2fs debug tracing codes added by Qualcomm
Re-enabled kernel tracers for avoiding janks
32-bit vDSO added for improving performance on arm32 programs
iommu fixes from Sultan
r3b1
Linux v4.4.179 merged
Wi-Fi drivers updated to 5.1.1.71H
Latest f2fs-stable merged
LA.UM.7.4.r1-05100-8x98.0 merged
LA.UM.7.5.2.r1-02600-8x96.0 merged
Merged OnePlus changes
Backported a Qualcomm patch from the 4.9 kernel for lower power consumption
Applied various optimizations to the touch panel drivers
RCU boost enabled for better responsiveness
New patches made to f2fs for more efficient GC and trim
r2
Fixed an issue causing audio to stop working
Wi-Fi drivers updated to 5.1.1.71C
Disabled some debugging options to improve performance
Added kcal
Added vibration control
Added wcd9335 sound control
Improved encryption performance
r1
Initial reboot of the kernel with Pie support
Reserved 2
Reserved 3
Reserved 4
It says "Unsupported device" and i'm on OpenBeta29/Oneplus5.
Hello and thank you for your work
uCristian said:
It says "Unsupported device" and i'm on OpenBeta29/Oneplus5.
Hello and thank you for your work
Click to expand...
Click to collapse
Ow, stupid me.
I made a typo and wrote down "cheeseburget" instead of "cheeseburger".
It's been reuploaded.
Please try again
arter97 said:
Ow, stupid me.
I made a typo and wrote down "cheeseburget" instead of "cheeseburger".
It's been reuploaded.
Please try again
Click to expand...
Click to collapse
Ok flashing went fine and everything works good for now.
I was using stock kernel before , it was smoth and didn't have problems at all but wanted to try yours. I can fell the diference in smothness , l love it .
I'll report back if there will appear problems. Thank you:fingers-crossed::fingers-crossed::good:
Magisk isn't preloaded with this kernel unlike before, right?
EDIT: It's not.
Works with xxx?
Is this kernel eas or hmp
sleepwalking0593 said:
Is this kernel eas or hmp
Click to expand...
Click to collapse
Hmp
Pretty smooth so far. Hope we can add RGB calibration and KLapse. More power to you!
It's good to see your kernel release in xda.
I found magisk hide doesn't work to KT membership(KT membership) and KT customer application(my KT) on magisk 19.0 with your kernel.
I guess you'd know those application I mentioned.
I hope this symptom get better.
The adaptive color tone looks better to me after installing your kernel.
Thank you for your work again as always.
jerrygo2 said:
It's good to see your kernel release in xda.
I found magisk hide doesn't work to KT membership(KT membership) and KT customer application(my KT) on magisk 19.0 with your kernel.
I guess you'd know those application I mentioned.
I hope this symptom get better.
The adaptive color tone looks better to me after installing your kernel.
Thank you for your work again as always.
Click to expand...
Click to collapse
Check maybe your cts might be failing. Magisk hide working fine here for me. I don't know what those apps are but in general it's working fine. I don't think kernel have any commits to change colours of various display modes.
arter97 said:
/* Warning */
Redistribution, modifying files used within this project's file or integrating with other projects are prohibited with no exceptions other than my projects.
Click to expand...
Click to collapse
I don't think you can enforce this; the kernel is licensed GPL v2
espionage724 said:
I don't think you can enforce this; the kernel is licensed GPL v2
Click to expand...
Click to collapse
I can. You're talking about the sources and I'm talking about the binaries I produce.
People are free to do whatever they want to for the sources.
Harregukalerik said:
Hmp
Click to expand...
Click to collapse
Delete
---------- Post added at 09:05 AM ---------- Previous post was at 09:01 AM ----------
Kernel is running great. Thanks developer
Added to the OnePlus 5 Index Thread here. Glad to have you back here, @arter97!
Can someone check one thing. Keep your WiFi on and leave the connectivity area of WiFi and after sometime come back to connectivity area. Does WiFi connect automatically or do you want to turn on the display for it to connect.

[r71] arter97 kernel for OnePlus 7 series

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
arter97 kernel for OnePlus 7 series running OxygenOS​
/* Features */
Supports OnePlus 7, OnePlus 7 Pro, OnePlus 7T and OnePlus 7T Pro
Fully rebased kernel without unnecessary OnePlus' code
Latest CAF msm-4.14 kernel fully merged
Using zswap + vnswap to replace zram
- Ditched conventional zram swap approach for more efficient memory operations
- Backported zsmalloc memory allocator from mainline
- Backported zswap compressed page cache from mainline
- Samsung's Galaxy S9 memory modifications merged for better swapping efficiency tuned for Android
Use CONFIG_HZ = 300
Optimized power configuration
BBR as the default TCP network congestion control
vDSO 32 patches to improve 32-bit performance
vmalloc backported from mainline to improve memory allocation performance
Latest Linux 4.14 subversion merged
DM-verity fully disabled (you can remount /vendor to R/W properly)
Timer optimizations
Additional power savings applied to the display panel
RTL8152/8153 USB LAN adapter support
Passes SafetyNet
Built with -O3 speed optimizations
Built with latest GCC
UFS optimizations
Entropy hook on storage removed
Latest mainline f2fs support with GC fixes
CFQ I/O scheduler backported from mainline
Systemless installation (the kernel doesn't touch /system or /vendor)
Modules support disabled for lighter kernel
WireGuard support
Removed RTB(interrupt) logging entirely
No VLAs(info)
A whole lot more...
/* Details */
- Fully rebased kernel without unnecessary OnePlus' code -
This kernel is not based on stock OxygenOS kernel source provided by OnePlus. Instead, it’s based on the latest and greatest Qualcomm has to offer. Only the necessary parts from the OnePlus kernel has been cherry-picked, such as OnePlus 7 specific device drivers.
This brings 2 major changes: less debugging code and an overall lighter kernel.
There are miscellaneous changes made by OnePlus that are supposed to maximize utilization of system memory. But seeing how it’s implemented(heavily relying on zram and a physical writeback swapfile), I decided to remove it entirely.
Users are recommended to disable the “RAM Boost” feature from Settings > System > RAM Boost.
Due to the completely different base, the memory management with this kernel will be drastically different from other kernels.
- Latest CAF msm-4.14 kernel fully merged -
This kernel is also constantly merging the latest Qualcomm Android 4.14 kernel. This tag contains more up-to-date changes from Qualcomm than the regular Snapdragon 855 tag(sm8150).
- Use CONFIG_HZ = 300 -
This changes the context switching interval from 10ms to 3.33ms. Pixel used this for years and Google recommends other vendors to do the same for less jitter.
This is even more important on displays with higher refresh rates.
- Optimized power configuration -
Stock OnePlus configuration forces display-related processes to use the Gold cluster(formerly known as big cores) exclusively.
This configuration brings a huge power regression since it makes every frame dispatch to wake up and use Gold cores.
This kernel resets this profile to use the configuration Google recommends, which is to use the Silver cluster(formerly known as LITTLE cores) exclusively instead. No performance penalty was noticed with this change while massively improving battery life.
- BBR as the default TCP network congestion control -
BBR is a (relatively)new TCP congestion control developed by Google, and it’s regarded as one of the best things you could do to your network configuration. You can find its benefits easily just by Googling BBR. I’ve been personally running BBR for months on various Linux machines including the server running arter97.com and it’s been great.
Now that our Android kernel is running v4.14, I’ve enabled BBR and backported other BBR changes from mainline.
/* Notice */
5G variant is unsupported.
Only OxygenOS is supported, but it is likely that the kernel will work with other ROMs. Though you may encounter minor issues.
Feel free to tip me which commits are needed to fix other ROMs.
/* f2fs */
OnePlus 7T and OnePlus 7T Pro users cannot use f2fs without involving heavy and risky repartitioning operations due to Dynamic Partitions.
r61+ allows using f2fs on OnePlus 7T and OnePlus 7T Pro.
This kernel fully supports f2fs for /data and I encourage everyone to use f2fs with my kernel for better performance.
See here as to why you might want f2fs.
The process differs with T and non-T series.
/* T variants */
The kernel now detects whether the userdata is in f2fs format and patches fstab on boot for OnePlus 7T and 7T Pro users during boot.
This is done in a volatile manner, which means your system files are not modified and using other kernels will revert the effect.
This is half of the puzzle.
The other half of the puzzle is to getting userdata partition into the f2fs format.
Due to lack of a proper recovery for the OnePlus 7T, I patched up f2fs-tools to support formatting while the Android is up and running.
You can use Franco Kernel Manager's flasher to flash the live-formatter.
This obviously removes all data on the device.
Please make sure your data is fully backed-up.
f2fs live-formatter:
https://arter97.com/browse/f2fs/liveformat
Existing f2fs users won't be affected by any of these changes.
Note that the OnePlus 7T and 7T Pro's OxygenOS has an issue handling FBE(File-Based Encryption) with f2fs(which is presumably why they left it out while the OnePlus 7 Pro had it), and encryption will be disabled when you use my kernel's f2fs live-patching feature.
Without encryption, your entire data will be in danger if you lose your device.
Please use f2fs if you understand this trade-off.
(Non-T series users can safely use f2fs with encryption.)
f2fs installation steps:
1. Download and install my kernel.
2. Download and install f2fs live-formatter.
OxygenOS OTA steps:
1. Install OTA and DO NOT reboot.
2. Download and install my kernel using Franco Kernel Manager.
3. Reboot.
Re-format into ext4 steps:
1. Use stock recovery and perform a factory reset.
Re-format into f2fs steps:
1. Use stock recovery and perform a factory reset and turn the userdata back to ext4.
2. Reboot to Android.
3. Download and install f2fs live-formatter using Franco Kernel Manager.
/* Non-T variants */
TWRP is not integrated to the kernel.
Please use a TWRP installer to install TWRP on top of my kernel.
To use f2fs, simply format /data to f2fs with TWRP.
Afterwards, flash f2fs-optimize.zip from http://arter97.com/browse/f2fs/optimize
There’s no need to flash separate zip files for replacing f2fs-tools or fstab.
/* Disclaimer */
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this kernel
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
/* Thanks to */
TheCrazyLex
xboxfanj
kdrag0n
nathanchance - for android-linux-stable
/* Instructions */
1. Read the above. Please.
2. Flash the zip file from your existing TWRP recovery.
2.1. FK Kernel Manager also works for installation. EXKM is unsupported and reported to brick the device due to installation failures.
/* Downloads and links */
r30 and up only supports Android 10
arter97.com
Kernel source
XDA:DevDB Information
arter97 kernel for OnePlus 7, Kernel for the OnePlus 7 Pro
Contributors
arter97
Source Code: https://github.com/arter97/android_kernel_oneplus_sm8150
Kernel Special Features:
Version Information
Status: Stable
Created 2019-07-28
Last Updated 2020-10-18
/* Changelog */
r71
Merged f2fs fixes from mainline (fixes quota inode corruptions)
Linux v4.14.233 merged
Wi-Fi drivers updated to 5.2.03.32J
Sultan's Simple LMK updated
r70
zswap + vbswap replaced with zram
Commits backported from mainline to improve lz4 performance (better memory performance)
LA.UM.8.1.r1-17100-sm8150.0 merged
Linux v4.14.231 merged
Wi-Fi drivers updated to 5.2.03.32G
2021-04-05 security patch merged
RTL8152/8153 drivers updated
Merged optimizations from Sultan
r65
Enabled SECCOMP to address recent security vulnerability issue
LA.UM.8.1.r1-16900-sm8150.0 merged
Linux v4.14.226 merged
Wi-Fi drivers updated to 5.2.03.32E
2021-03-05 security patch merged
WireGuard updated to v1.0.20210219
Merged mainline f2fs fixes
Merged optimizations from Sultan
r64
Merged mmap/mremap fixes from upstream to fix some Chinese apps causing reboots
Merged mremap optimization from upstream (~19x speed up)
r63
mmap/mremap, TLB invalidation, mmu_gather backported from mainline for a major performance boost
(Including https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.10-Mremap-Optimization )
Disabled PG table mapping for swap memory allocator (increased performance for 64-bit)
Saved 48 MB of RAM by removing unused reserved regions
Applied MAC fall-through patch for Chinese users
LA.UM.8.1.r1-16300-sm8150.0 merged
Linux v4.14.212 merged
Wi-Fi drivers reverted to 5.2.03.31L to fix compatibility issues
2020-12-05 security patch merged
WireGuard updated to v1.0.20201112
Merged OnePlus kernel changes
r62
A major memory management issue fixed for 6GB variants
A scheduler patch from Pixel merged to improve power consumption
Reverted drm changes from July to fix intermittent frame drops (mostly noticeable from app open/close animations)
Linux v4.14.202 merged (includes a fix for critical Bluetooth vulnerability "BleedingTooth")
Thanks to @idkwhoiam322 and @NTLinhHaHa for this release
r61
SELinux is now set to enforcing
f2fs fstab live-patching implemented to allow f2fs on OnePlus 7T and 7T Pro users
Memory swap's aggressiveness tuned to reflect the device's RAM size
Wi-Fi driver backported from LA.UM.9.12.r1-08400-SMxx50.0
(The version jumped from 5.2.03.31A to 5.2.022.4J)
Merged LE.UM.3.3.2-09000-SDX55 tag
OnePlus brain service is disabled in a cleaner manner
Disabled f2fs' background GC
r60
Applied a fix for rare random reboots since r57
The entire SELinux subsystem backported from mainline Linux for better performance and efficiency
(Magisk users must use Magisk v21.0 or the kernel will not boot)
LA.UM.8.1.r1-16000-sm8150.0 merged
Linux v4.14.200 merged
Wi-Fi drivers updated to 5.2.03.31A
Now built with GCC 10.2
2020-09-05 security patch merged
WireGuard updated to v1.0.20200908
Sultan's Simple LMK updated
Merged optimizations from kdrag0n
Latest f2fs-stable merged
r58
LA.UM.8.1.r1-15400-sm8150.0 merged
Linux v4.14.188 merged
Wi-Fi drivers updated to 5.2.03.27R
Minor trivial optimizations
r57
Linux v4.14.186 merged
Wi-Fi drivers updated to 5.2.03.27K
LE.UM.4.3.3.r1-00500-SDX55 tag merged
Minor memory optimization to the graphics drivers (by Yaro330)
r56
Merged OnePlus kernel changes to support optimized charging
Bunch of memory allocations from various subsystems were reworked to perform much better
Now built with GCC 10.1
2020-06-05 security patch merged
Linux v4.14.183 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.26Q
WireGuard updated to v1.0.20200520
Sultan's Simple LMK updated
Merged optimizations from kdrag0n
Latest f2fs-stable merged
r54
Switched to Sultan's Simple LMK to fix lags and stalls on memory-pressured scenarios
Disabled scheduler debug for better performance
Reduced memory allocations on network sockets
Reworked and optimized vnswap (renamed to vbswap)
Reworked Wi-Fi configuration
USB UASP enabled
Minor fixes to previous memory optimization commits
LV.AU.0.2.0-01800-gen3meta.0 merged
2020-03-05 security patch merged
Linux v4.14.173 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.22Q
r52
Fixed slow boot issue on OnePlus 7T series
r51
Fixed Wi-Fi not working on some devices due to MAC address loading failures
Backported Android ion driver from Snapdragon 865 kernel
Latest f2fs-stable merged
Linux v4.14.170 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.19P
r50
Beta details
Cleanly rebased version
OnePlus performance boost hacks removed
Random reboots with WireGuard fixed
Random reboots with f2fs encryption fixed
Added vibration level control (by flar2)
Few patches from LE.UM.4.1.1-02910-sa515m merged including scheduler improvements
LV.AU.0.2.0-00810-gen3meta.0 merged
Latest OnePlus changes merged
Latest f2fs-stable merged
Linux v4.14.163 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.18B
r40
OnePlus 7T and OnePlus 7T Pro support added
Added support for flashing via FK Kernel Manager
Major optimizations to touch panel drivers for lower overheads
Merged a zswap patch for faster lookups - better memory swap performance
Disabled unnecessary kernel log writeback debug feature
Linux v4.14.156 merged
Latest Qualcomm's Android 4.14 kernel merged
(LA.UM.8.1.r1-12200-sm8150.0, LA.UM.8.11.r1-01800-NICOBAR.0, LA.UM.8.9.r1-06500-SM6xx.0)
Wi-Fi drivers updated to 5.2.03.15T
exFAT drivers added
WireGuard updated to 20191127
r33
LA.UM.8.1.r1-10700-sm8150.0 merged
r32
Ported patches from Razer Phone 2 to improve touchboost and general performance (by TheCrazyLex)
Linux v4.14.151 merged
Ported patches from LA.UM.8.9.r1-05300-SM6xx.0
Wi-Fi drivers updated to 5.2.03.14L
Memory management patches applied from kdrag0n kernel
r31
Integrated Google Camera AUX mod
(No need to use a separate Magisk Module)
LA.UM.8.1.r1-10300-sm8150.0 merged
Linux v4.14.150 merged
WireGuard updated to 20191012
Backported patches from LA.AU.0.0.2.c1-07610-gen3meta.0
r30
Rebased the kernel for Android 10 (based on LA.UM.8.1.r1-09500-sm8150.0)
Applied zswap + vnswap for replacing zram
Wi-Fi drivers updated to 5.2.03.13O
Linux v4.14.148 merged
Latest OnePlus changes merged
Latest f2fs-stable merged
Backported BBR TCP congestion control patches (by kdrag0n)
Switched to AnyKernel3
r30 won't work with the OnePlus 7T
r25
Linux v4.14.141 merged
Merged additional f2fs bug-fixes
Kernel download size reduced
LA.AU.0.0.1-15710-gen3meta.0 merged as an extension of SDX55 merge (contains various patches including scheduler enhancements)
GPU runtime overhead reduced
Garbled sound with type-C wired headphones fixed
General stability improvements
r24
Fixed a display-related patch introduced in r20 that may cause severe memory leakage and freezes
r23
Fixed yet another recent f2fs rapid GC changes that caused an indefinite wakelock
Reverted TCP backports and cherry-picked relevant BBR commits to fix rare random reboots
r22
Fixed a recent f2fs rapid GC commit that caused an indefinite wakelock
5G support removed due to improper radio support
Linux v4.14.138 merged
Switched to GCC 9.2.0
r21
Merged some performance improvement patches from kdrag0n
r20
Random reboots due to improper TCP backports fixed (thanks to freak07)
Random reboots due to f2fs rapid GC fixed (thanks to ab123321)
Nightscape fixed
Booting issues with OnePlus 7 non-Pro fixed
Support for OnePlus 7 Pro 5G added
Linux v4.14.137 merged
LA.UM.7.1.r1-15800-sm8150.0 merged
Wi-Fi drivers updated to 5.2.03.11J
Latest OnePlus changes merged
Latest f2fs-stable merged with correct encryption patch
Properly disabled userspace lmkd
Qualcomm RmNet extensions added
Enabled power efficient workqueues
Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan)
r1
Initial release
/* Known issues */
None
/* Telegram */
Join our Telegram group:
https://t.me/joinchat/FW_6TBAlmu0DeMzUDyLkIw
Reserved 4
Reserved 5
I'll be the first. Just formatted my device and rooted it, first kernel im going to test!
Wow, very interesting changelog, will be interesting to see how it performs and what others think!
Conflicting decisions between kernel devs it seems on some features, like ZRAM for example.
Looking forward to flashing
Looking forward to flash, there's no klapse support right?
Edit: Damn this kernel is snappy AF ?
Congrats on this release!
Finally arrived! waiting for it since I know you are about to build one for op7pro.
RazorBlade123 said:
Looking forward to flash, there's no klapse support right?
Edit: Damn this kernel is snappy AF ?
Click to expand...
Click to collapse
You came from stock or something else?
NateDev said:
You came from stock or something else?
Click to expand...
Click to collapse
I came from kirisakura, first went to stock and then this kernel
RazorBlade123 said:
I came from kirisakura, first went to stock and then this kernel
Click to expand...
Click to collapse
Did you still flash the f2fs-optimise zip in the OP?
storytellerz said:
Did you still flash the f2fs-optimise zip in the OP?
Click to expand...
Click to collapse
I'm not using F2FS.
Asop or OOS only kernel?
kenbrownstone said:
Asop or OOS only kernel?
Click to expand...
Click to collapse
/* Notice */
Both OnePlus 7 and 7 Pro is supported.
Only OxygenOS is supported, but it is likely that the kernel will work with other ROMs. Though you may encounter minor issues.
Feel free to tip me which commits are needed to fix other ROMs.
Android Q beta is not supported and I’ll not spend my time adding support for it.
Do not ask for premature Android Q beta support.
Click to expand...
Click to collapse
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
thank you @arter97 ... finally ... its been too long... thank you! :good: kamsahamnida
Nice to see here! Kudos
I know it says not supported on Q, but I will still give a try
RazorBlade123 said:
I came from kirisakura, first went to stock and then this kernel
Click to expand...
Click to collapse
Do you have a link to the stock 9.5.10 kernel is zip, flashable form? Thanks

Categories

Resources