[Xiaomi Poco F4 (Munch) / Redmi K40S] Pierre2324:
NoGravityKernel

Hey, NoGravity Kernel dev here! You may already know me from my other supported phones (OnePlus 2, F1, Mi 8, X3 Pro, Mi 10T, F2, F3) I've graduated with a bachelor degree in computer science and I actually work as a C# programmer. NGK's mindset is Performance/smoothness while getting good battery life due to added battery oriented features.

I currently do not own the device, but if you like my work and want to support me, a crowdfunding was made in order to speed up the development for this phone

(Scroll down for Telegram Group link where I'll be most of the time)

The Kernel will boot using Balance Profile when Magisk is present. Other profiles for battery, performance and gaming can be switched to in my app.

To tweak the kernel easily, here's my No Gravity app! featuring custom profiles (Battery, Balanced, Performance and Gaming & Gaming+). My app offers some device specific features that can't be found in other kernel tweaking apps. You can find them lower in the thread.)

-No Gravity app! support

-Compiled with Proton Clang + O3 + Polly + LTO optimizations

-KernelSU support

-NGK Thermal locking mechanism*

-DC Dimming

-Boeffla Wakelock Blocker

-Optional Proximity Sensor blocking for Telegram / Nekogram

-High Brightness Mode

-AdrenoBoost

-GPU UC/OC : 150MHz / 682MHz

-CPU Input boost driver instead of CPU boost

-Devfreq boosting

-Enabled WALT, disabled PELT

-Using Big and Prime clusters for specific performance critical events

-Devfreq boosting for various events like app opening

-Disabled ZRAM by default (Only if ROM doesn't override it)

-USB Fast Charging

-Various GPU & libs optimizations

-VDSO for better 32 bit performance

-Small debloat

-Merged in latest CLO Tags

-Always upstreamed to latest (4.19.292)

-And many more under the hood changes & optimizations

Note: Some features aren't enabled yet for this specific phone, but they'll come in future updates

-Monet theme adapting to your ROMs colors dynamically

-Injected sepolicies to work on Enforcing SELinux

-Kernel & App update checker (Direct install of kernel and app)

-Balance(Default),Performance,Battery,Gaming & Gaming+ Profiles (QSTile available)

-Custom Profile Creator Page that let's you create and share profiles with the NGK community (/SDCARD/NGK/PROFILES/)

-Precise CPU temperature for each Clusters separately

-Per-App Tweaks Page to load tweaks for specific apps

-CPU Page with following tunables:

-CPU Governor

-CPU Frequency Selection Algorithm (Linear/Exponential)

-CPU Min/Max Frequencies

-Input boost

-NGK Smart Throttling

-NGK Stats Page showing last gaming session FPS+ Chart, throttling, battery drain, avg CPU temps & avg Battery temps, toggle for enabling NGK Stats Overlay displaying FPS and following optional features:

-CPU Temps/Freqs

-GPU Temps/Freqs

-Battery Temps/Percentage

-RAM usage

-Kernel Page to let you control:

-App optimization (ART) Button

-Thermals:

NoGravity (NGK’s default) || Battery || Stock one

-Sultan PID read optimizations

-ZRAM

-GPU Page:

-GPU Stats

-Min/Max GPU Freq Selector

-High Brightness Mode

-Content Adaptive Backlight Control

-Adrenoboost

-Touchscreen firmware selector

-Proximity Gestures Switch to pulse ambient dispay on Hand Wave

-Pick-Up Gesture Switch to pulse ambient display when device is taken

-Pixel 3 Flip to Shhh feature

-DTS Eagle (Sound) Info Page

-More will be added...

-More features...

-Let me know what you want and those may be added!

This kernel should work on any ROM & MIUI!

-I recommend before coming to conclusion, give it at least 2 complete charge cycles and then raise any issue.

- I recommend to use my app, franco app or EX Kernel Manager if you need to tweak the kernel further

-Flash No_Gravity_Kernel-vX.X.zip file in TWRP (Latest TWRP Recovery Recommanded)

-(Optional) - Clear cache and Dalvik => if you do so, Use App Optimization button in NGK App to regenerate ART or let device charge at idle at 100% for some time (that's when android runs optimizations).

Download No gravity Kernel / Download No Gravity App

Donate me! / Telegram Group /

No Gravity App Changelog / No Gravity Kernel Changelog

-The android community and to all my testers for using my kernel and your precious feedbacks and ideas!.​

Contributors

Pierre2324

Source: https://github.com/Pierre2324/NGK_android_kernel_xiaomi_sm8250

Version Information

Status: Stable

Current Version: 1.5.0

Created: 2022-12-18

Last Updated: 2023-08-28