[12/09/19][kernel] FENIX [4.4.191-HMP][4.4.185-EAS][Pie/10][CLANG]

paul89rulez

Senior Member
Apr 13, 2010
1,196
668
143
FENIX


Disclaimer:
use this kernel at your own risk. Flashing it may brick your device. I'm not responsible for any software/hardware and any kind of damages/losses.


I make this kernel for my own, and decided to share with community.

The goal of this kernel is to maintain stability over performance, and extend for what possible the battery backup. Enjoy.

What's in it:
Code:
-Lastest Caf Tag
-Lastest wlan drivers
-Kcal, display color full control
-Sound Control 
-PowerEfficientWq
-F2fs
-Vibration Control
-Compiler Optimizations
-Battery Tweaks
-EAS
-Performance tweaks
-Refer to changelog or to git to all the tons of features
-Some other patches, check github
Flash in Twrp.

Changelog-HMP-:
Code:
12/09/2019--LoveEdition--
- Android 10 ready
- Drg: Overclocked big cores too, like sdm660: 2.2ghz
- rebased again to new cleaned sources with latest nikki merges
- upstreamed to 4.4.191 + LA-UM-0074 wlan drivers, built inline
- Sultan's Ion, Iommu, ashman drivers, for improved performances
- Goodboi governor: an impulsed tweaked by me for battery
- kgsl: dispatch commands by using a master ktrhead: to reduce jitter by alot
- pl2: set gpu idle timeout to 64ms (like b2n\drg)
- ddrbus: changed governor to avoid 100% freq stuck
- allowed deeper idle cores\cluster
- source cleaned, keeped only the useful commits
- and alot, alot more. Check git.

13-07-2019-1644:
- rebased all to drg lastest sources to avoid any kind of source corruption
- camera drivers fully reverted to stock source to avoid any kind of problems (i will not touch nothing there in future)
- builded with gcc9 with alot of fixes
- upstreamed to 4.4.185 + LA.UM-0072 wlan drivers, builded inside the kernel
- we are module free
- sdm636 have now only little cpu freqs like sdm660: we cant afford 2.2ghz on 3000mah battery
- sdm630 fully supported
- nokia b2n fixed rotation bug
- cpu input boost
- disabled debugfs, tracing, loggings, debugs, i mean, not all of them but TONS OF THEM
- deleted most of unused drivers, like dvd players, cassette drivers (wtf nikki)
- disabled nikki usless drivers
- alot of workloads on power efficient workqueques
- vibration control (maybe not in b2n)
- sound control , with no metallic sound
- 160mhz initial gpu freq to save power + -50v undervolt for better power consumption 
- sdFat driver, lastest version
- KCAL fixed, updated and optimized for sdm660 family processors
- zram lz4 compression for better perf
- disabled crc check
- blocked ipa and other wakeloks (but no boeffla wkl blocker for now)
- gpu will wake up only if there is a ioctl rather then a touch input, to save power
- reduced the max voltage allowed for the panel 
- lowered cpu\gpu thermals to avoid device damage
- new fenix banner for recovery
- console framebuffer optimizations for 70% better perf
- 3 x faster integer than stock 
- interactive optimizations
- idle lite changes
- don't need to flash magisk after flash
- and other tons of optimizations, but carefully cherry picked from the best devs around here
-refer to build date as build number
Changelog-EAS-:
Code:
-basically, all the feats of Fenix HMP
-EAS energy model by @nysadev (fantastic)
-some governors, blu_schedtuil, schedutil,
-dont let gcam and settings waste power on background
-removed some other logspams\debugs
-cpuidle lpm prediction tuning, for better idle battery saving
-removed dsboost\dynamicstune boost, to save power
-builded with Ofast
-alot of tasks uses interrutible w8s , for better idle
-100hz otpimizations
-backported PELT from 4.14 , for better power consumption/performance
-alot of sched patches
-alot of gpu performance improvements
-enabled ram ECC for faster reboots (this is awesome)
-aligned strcmp to 64kb cache line
-alot of cache optimizations by Sultan
- rewrited iommu/Ashman from sultan
- optimized for armv8
- increased kgsl priority: more smoothness
-boot speed optimizations
-cpu idle further optimizations
-PELT optimizations
- Foxed snapdragon 630 EAS bootloop
- updated my energy model for 630 by porting nysadev capacity based one for sdm660: this will give more battery and smoothness
- suppress debug verbose and disabled exp rcu like in sdm660
- removed the usless tz_log, that was spamming and yelling in the background (tx to bielfiboi to discover this)
- builded with gcc 9.1 -ofast
- very good battery backup, performance
DOWNLOAD-HMP-
DOWNLOAD-EAS-

ALWAYS wipe dalvik cache after flashing the kernel, or you will encounter bugs.

For PL2 only: as bielfiboi stated, you will have low vibration. Kernel comes with vibration control, so after the reboot just use any kernel manager you want (personally i use Fk Kernel manager, but you can use ExKernel or Kernel Auditor too), search vibration control and rise it to fit your needs. I will fix it soon or later.

Enjoy,
feedback is appreciated.

Thanks to:
@madpausa, without him I would never have approached a linux distro
@hmd
@xda
and all the other authors of the hundreds of commits in github !

XDA: DevDB Information
Fenix kernel for NokiaDRG\B2N\PL2
Compiler: GCC-9.1
Branch: Android 9.0
Kernel Version: 4.4
defconfig: nokia_defconfig
Source Code:
FENIX
 
Last edited:

paul89rulez

Senior Member
Apr 13, 2010
1,196
668
143
Relase 1.0:
-switched to nokia 7plus sources
-nfc
-Zen i\o
-Boeffla Wakelock Blocker with specific device wkl
-Sound Control
-Kcal display control
-Fast Charge
-Toggle Input boost
-disabled gentle fair sleepers
-Performance\battery optimizations
-250hz
-Alucard, Darkness, Darknessv5, Nightmare governors
-Disabled crc checks
-Power_Efficient_Wq
-Gpu optimizations
-Simple_gpu driver for battery\performance
-Crypto optimizations
-Cpu target optimizations flags
-Ext4 Optimizations
-selinux tuning
-80mv Gpu Uv
-msm_performance
-Wifi\Network speed tweaks
-ExtFat support
-Ntfs support
-LA.UM-067
-Cpu\DDR boost tweaks
-Gpu Tweaks
-GraviboiFlavours
-GiorgiboiFixes
-many, many more on git.
 
Last edited:

paul89rulez

Senior Member
Apr 13, 2010
1,196
668
143
relase 1.0.1:
-Download-
-compiled with device defconfig
-selinux permissive fix
-cpu optimizations
-gpu optimizations
-disabled a lot of modules
-more threads to pewq
-more threads to little_cluster
-disabled some logs

Enjoy and please report if the kernel it's working or not. Tx.
 

lllluzhnan

Member
May 5, 2018
21
4
0
relase 1.0.1:
-Download-
-compiled with device defconfig
-selinux permissive fix
-cpu optimizations
-gpu optimizations
-disabled a lot of modules
-more threads to pewq
-more threads to little_cluster
-disabled some logs

Enjoy and please report if the kernel it's working or not. Tx.
Does this great kernel work on B2N?:laugh::laugh::laugh:
 

paul89rulez

Senior Member
Apr 13, 2010
1,196
668
143
DFkReborn 1.1.1 PL2:
-rebased all to new sources, made from scratch by me for PL2 only
-fixed Gcam\Camera
-upstreamed to 4.4.180 ALS source
-Wifi drivers Updated to LA.UM.7.2.r1-06900
- fixed "android is corrupted blabla" message on startup
- 3x faster integer
- deleted cpu-boost driver
- indroduced cpu_input_boost and devfreq_boost driver
- inline with B2N\DRG DFkReborn kernel

Download
Enjoy
 
Last edited:

paul89rulez

Senior Member
Apr 13, 2010
1,196
668
143
FENIX Kernel:



changelog:
- rebased all to drg lastest sources to avoid any kind of source corruption
- camera drivers fully reverted to stock source to avoid any kind of problems (i will not touch nothing there in future)
- builded with gcc9 with alot of fixes
- upstreamed to 4.4.185 + LA.UM-0072 wlan drivers, builded inside the kernel
- we are module free
- sdm636 have now only little cpu freqs like sdm660: we cant afford 2.2ghz on 3000mah battery
- sdm630 fully supported
- nokia b2n fixed rotation bug
- cpu input boost
- disabled debugfs, tracing, loggings, debugs, i mean, not all of them but TONS OF THEM
- deleted most of unused drivers, like dvd players, cassette drivers (wtf nikki)
- disabled nikki usless drivers
- alot of workloads on power efficient workqueques
- vibration control (maybe not in b2n)
- sound control , with no metallic sound
- 160mhz initial gpu freq to save power + -50v undervolt for better power consumption
- sdFat driver, lastest version
- KCAL fixed, updated and optimized for sdm660 family processors
- zram lz4 compression for better perf
- disabled crc check
- blocked ipa and other wakeloks (but no boeffla wkl blocker for now)
- gpu will wake up only if there is a ioctl rather then a touch input, to save power
- reduced the max voltage allowed for the panel
- lowered cpu\gpu thermals to avoid device damage
- new fenix banner for recovery
- console framebuffer optimizations for 70% better perf
- 3 x faster integer than stock
- interactive optimizations
- idle lite changes
- don't need to flash magisk after flash
- and other tons of optimizations, but carefully cherry picked from the best devs around here
-refer to build date as build number

DOWNOLOAD
 
  • Like
Reactions: ¥sBielefeld

paul89rulez

Senior Member
Apr 13, 2010
1,196
668
143


FENIX-EAS-
-basically, all the feats of Fenix HMP
-EAS energy model by @nysadev (fantastic)
-some governors, blu_schedtuil, schedutil,
-dont let gcam and settings waste power on background
-removed some other logspams\debugs
-cpuidle lpm prediction tuning, for better idle battery saving
-removed dsboost\dynamicstune boost, to save power
-builded with Ofast
-alot of tasks uses interrutible w8s , for better idle
-100hz otpimizations
-backported PELT from 4.14 , for better power consumption/performance
-alot of sched patches
-alot of gpu performance improvements
-enabled ram ECC for faster reboots (this is awesome)
-aligned strcmp to 64kb cache line
-alot of cache optimizations by Sultan
- rewrited iommu/Ashman from sultan
- optimized for armv8
- increased kgsl priority: more smoothness
-boot speed optimizations
-cpu idle further optimizations
-PELT optimizations
- Foxed snapdragon 630 EAS bootloop
- updated my energy model for 630 by porting nysadev capacity based one for sdm660: this will give more battery and smoothness
- suppress debug verbose and disabled exp rcu like in sdm660
- removed the usless tz_log, that was spamming and yelling in the background (tx to bielfiboi to discover this @¥sBielefeld)
- builded with gcc 9.1 -ofast
- very good battery backup, performance

ALWAYS wipe dalvik cache after flashing the kernel, or you will encounter bugs.

For PL2 only: as bielfiboi stated, you will have low vibration. Kernel comes with vibration control, so after the reboot just use any kernel manager you want (personally i use Fk Kernel manager, but you can use ExKernel or Kernel Auditor too), search vibration control and rise it to fit your needs. I will fix it soon or later.

DOWNLOAD
 
Last edited: