[Nokia 6.1 (2018) ROMs, Kernels, Recoveries, & Othe] paul89rulez:
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:

-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-:

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-:

-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:

[MENTION=4336600]madpausa[/MENTION], without him I would never have approached a linux distro

[MENTION=2119314]hmd[/MENTION]

[MENTION=243864]xda[/MENTION]

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