[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] 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 i decided to share it with the community.

The current build it's based on Beast kernel [ link ]

When i will have more time to play, i will re-base to my Als source.

From version 0.5 i m using my own source based on Als 4.14.

What's in:

We have two releases:

- Stable (blue wallpaper): tmgallage miui inbuild kernel, can be flashed on all stock vendor roms (yes, stock rom, crdroid, treble ecc)

- Experimental (red wallpaper) : my personal build, a bit more perf oriented, but with good battery too. It comes with more experimental stuff in, in both Oss \ stock vendor flavour.

FENIX SNOWFLAKE

STABLE:
- upstreamed to 4.14.221
- oss vendor for stable too

EXPERIMENTAL:
- upstreamed to 4.14.221

FENIX SNOWFLAKE

EXPERIMENTAL:
- upstreamed to 4.14.214
- additional perf critical patches
- additional tcp's
- erased roxirp, as he left mi a3

FENIX WINTER IS COMING

STABLE:

- ALS 4.14.210
- built with proton clang, thinLto + polly
- zram default to lz4
- int128
- selinux patches
- custom dtbo flashed alongside the kernel
- other minor fixes, check git
- new banner
- packed roxirp into a fabulous x-mas present 🎁

FENIX WINTER IS COMING
EXPERIMENTAL:

- Als 4.14.210
- nuked sboost
- stune_assist \ cpu_set_assist
- stune tweaks
- cpu_set tweaks
- efficient freqs
- nuked qcom boosting \ core control drivers
- SultanXda perf critical patches
- SultanXda stack commits
- SultanXda cib\devfreq boost
- crucial task placement
- zram to lz4
- int128
- ThinLto, polly
- new banner
- oss \ prebuild version
- others, check git
- reverted roxirp ⏪

Fenix -0.9.8-Q-Pelt:

-Pelt
-upstreamed to 4.14.185
-updated proton clang 11 version
-dtbo embedded into the kernel: no need to flash it anymore
-compiled with -03, polly, device specific optimizations
-sultanxda simple low memory killer driver
-sultanxda cpu_input_boost driver
-sultanxda devfreq_boost driver
-sultanxda cpu_idle optimizations
-sultanxda performance critical api
-latency improvements
-qcacld: power saving tweaks
-general sched improvements
-gpu latency optimizations
-little cpu boost at touch
-little cpu boost when switching apps
-little cpu boost when pressing the power button
-moderate cpu boost when launching an app the first time
-don't wake gpu when touching the screen
-display tweaks
-schedutil, and up\down limits tweaks
-removed kcal, its not working anymore
-reduced boot times
-stune top-app to 1
-very good battery, performance :3
-many more, check git!

This time you don't need to flash dtbo.

Enjoy
Fenix -0.9.7-Q-stable
-upstreamed to 4.14.184
-disabled sched debug

Fenix-Miui-Als-Stable
-initial bringup
-upstreamed to 4.14.184
-wlan\techpack drivers updated to LA.UM.8.11.r1-03500-NICOBAR.0
-compiled with proton clang 11, o2
-imported laurus defconfig changes

Fenix_10-0.9.6
-upstreamed to 4.14.183
-removed cpu_input_boost
-disabled cpu_boost \ msm_performance \ core_ctl
-back to android low memory killer
-enabled psi
-enabled memcg
-reduced cache pressure
-disabled highmem and profiling
-arm64: lib: optimizations
-camera: fixed memory leak
-some other process to power efficient wq
-updated wireguard to latest version
-schedutil: don't set freq to uint max
-stune assist
-cpuset assist
-stune top app to 5
-jitter and performance improvements
-fixed random reboots
-disabled seccomp
-reverted some commits that needed extensive testing
-other, check git

FENIX_9-0.9.5

For Miui, Android 9 stock, 9 custom roms:

-upstreamed to als 4.14.181
-less aggressive schedutil
-mm: omm_kill tweaks
-little cpu boost at touch

FENIX_10-0.9.5-Q-hotfix

-fixed an issue where unrooted users cannot boot the kernel (stuck on recovery)

FENIX_10-0.9.5

-Merged Caf tag LA.UM.8.11.r1-03500-NICOBAR.0 for Wlan\Techpack\Kernel
-Merged ALS 4.14.181
-Fixed the suspend freeze issues on some devices
-Disabled android low mm
-Added Simple low memory killer by SultanXda for better mm
-Enabled Ntfs R\W
-Correctly imported Xiaomi Clk changes
-mm: omm_kill tweaks
-mm: tweaks
-updated proton clang to latest Kdragon relase
-reverted some schedutil tweaks to make the governor less aggressive
-some sched patches

FENIX_9-0.9.4

- upstreamed to 4.14.176
- built wlan drivers with different flags (check commits)

FENIX_10 0.9.4

- fully compatible with stock 10 \ android 10 custom roms
- merged caf tag LA.UM.8.11.r1-03300-NICOBAR.0 wlan\techpack\kernel
- upstreamed to ALS 4.14.176
- WALT
- disabled cpu boost, msm performance, corectl
- disabled selinux audit
- compiled with proton clang 11 -o3 optimizations, cortex a53 optimizations ,optimize inlining
- improved cache speed
- lz4 Zram, with lz4 module updated
- zram set to 2gb
- fsync on\off
- some log spams disabled
- disabled frame pointers
- goodix FOD improvments
- schedutil patches
- kcal
- bbr default
- anxiety i\o default
- boeffla wakelock blocker
- wireguard
- locked idle freqs while screen off
- something more, check git

FENIX 0.9.3 WALT

- upstreamed to ALS 4.14.175
- WALT
- disabled cpu boost, msm performance, corectl
- disabled selinux audit
- compiled with proton clang 11 -o3 optimizations, cortex a53 optimizations ,optimize inlining
- improved cache speed
- lz4 Zram, with lz4 module updated
- zram set to 2gb
- fsync on\off
- some log spams disabled
- disabled frame pointers
- goodix FOD improvments
- schedutil patches
- kcal
- bbr default
- anxiety i\o default
- boeffla wakelock blocker
- wireguard
- locked idle freqs while screen off
- disabled read ahead
- something more, check git

FENIX 0.9.2 PELT
- reworked from scratch as my main ssd died
- all previous fenix features (more or less)
- built with proton clang 11
- upstreamed to 4.14.171
- meged caf LA.UM.7.11.r1-04700-NICOBAR.0
- silenced some log spams
- anxiety i\o by default
- additional pelt sched patches
- disabled sched autogroup
- disabled sched_boost
- disabled memcg
- enabled optimized inlining
- sched child runs first: faster app opening
- mm: Disable readahead by default
- much, much more on github

FENIX 0.9.1 PELT
-Upstreamed to Als 4.14.167
-zen default
-reverted some commits
-little tweaks on cpu idle
-misc tweaks \ fixes
-bored to write the log as you can see so,
-check git

FENIX 0.9 PELT
-Built with Proton Clang 11
-Upstreamed to Als 4.4.165
-Wireguard (yeah, i ve lost the war)
-Fod improvments (thanks to @Harukey for the findings)
-KLAPSE
-locked min\max freqs
-performance regression fixed :highfive:
-300hz (should give us better smoothness \ bb)
-i\o latency otpimizations
-cache perf improvments
-ufs tweaks
-disabled shed autogroup
-bbr upstreams
-maybe others, check git

FENIX 0.8a PELT
hotfix:
-fix voip bug

FENIX 0.8 PELT
-Upstreamed to als 4.4.163
-Full Pelt instead of Walt
-Alot of sched patches for Pelt
-Advanced Tcp's, Sociopath default (bbr too)
-Disabled all caf boosting drivers (msm_perf \ cpu_boost)
-Cleaned up the sources and fixed derps
-Schedutil Tweaks
-Disabled selinux audit
-SultanXDA Iommu and Ashman drivers
-Tweaked MM for better memory managment
-Fixed high idle drain
-see git history fo others

Always wipe dalvik after flash kernel.

Fenix 0.7
Upstreamed to 4.14.158
re-enabled zram
lz4 compression for zram
new zip, with banner
no need to re-flash magisk after flash (present from 0.5)
fixed exfat driver import, thanks to @HarukeyUA
enabled overlayfs

Fenix 0.6
- enabled exfat driver
- enabled ntfs driver

Fenix 0.5
- fully rebased to my als sources
- upstreamed to 4.4.157 + la.um8.11-01800-nicobar wlan tag
- built with aosp clang 9.0.8 + -o3 optimizations
- kcal color control
- re-enabled audit (for now)
- simple low memory killer driver by Sultanxda
- disabled adreno tracing
- disabled zram
- disabled frame pointers
- some logging disabled (im planning to disable kernel_dubug and debugfs in future)
- alot of Arter cache_pool patches
- Sultanxda dyn allocation patches
- ufs optimizations
- safety net should pass
- boeffla wakelock driver inside
- random linked to urandom
- nuked schedboost
- schedtune assist
- disabled cpu_idle, msm_perf, cpu-boost
- devfreq/kgsl:use high priority workqueque

Fenix 0.3

- Built with Clang 9.0.8 -o3
- Kcal color control
- Seccomp disabled
- Selinux Audit disabled
- Frame_pointer disabled
- Random linked to urandom
- disabled some logging\tracing
- Re-enabled \ tweaked cpu-boost driver
- Simple Low Memory killer instead of standard Android lmk
- some cache optimizations
- Safety net should pass
- Disabled Zram
- Disabled Crc Checks

DOWNLOAD (new releases)

DOWNLOAD (old releases)

note: this is for me an hobby, not a work. If you encounter a problem, send me a logcat i will look into it if i have spare time, but make sure its kernel related. I will not take in consideration logs if you didn't wipe dalvik, or mods like "FedeAi, LKT, exposed" are used.

Enjoy

How to flash:

- reboot into recovery

- make a backup of your original boot.img

- flash fenix zip

- flash magisk if needed

- wipe dalvik (mandatory!)

PAY ATTENTION PLS:

If after flash you're stuck on recovery, flash dtbo.img with fastboot:

fastboot flash dtbo_a dtbo.img

fastboot flash dtbo_b dtbo.img

- enjoy

Source:

Fenix Git

Fenix Gitlab

Image source:

Thanks:

@madpausa

@mdeejay

Android Linux Stable team

@xda

and all the other authors of the hundreds of commits in github