[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Pierre2324:
NoGravityKernel

No Gravity Kernel 2.0 + 4.0 App Trailer

Why is it called NoGravity kernel?

Hey, NoGravity Kernel dev coming from the Pocophone F1. Goal of this kernel is to provide of course solid performance when needed while keeping a solid battery life throughout the day, but main NGK objective is to make every device #SmoothAF.

The Kernel will boot using stock (Mi 8) GPU frequencies that correspond to the Balance Profile. Overclocked frequencies can be selected in my app. Other profiles for battery, performance and gaming can also 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). My app offers some features that usually cant be found in other kernel tweaking apps. You can find them lower in the thread.)

-No Gravity app! support

-Android R (11) ready

-Rebased to full Q CAF (LOS Staging)

-OxygenOS Ports support Please read compatibility section

-9.1.24 & 10.3.7 Novatech Touchscreen Firmware

-Updated, Cleaned up & Optimized NVT/FTS Touchscreen drivers for latency and responsiveness and reduced touch issues

-The two CPUs (Silver and Gold) can be configured completely separate in terms of min/max frequencies and governors

-Unlocked PUBG HDR+Extreme options (Disabled by default, enable it in app)

-CPU Next frequency selection tunable (linear/expnential)

-GPU Overclocked to 835 MHz (GPU overclock/underclock is possible)

-GPU Underclocked to 160 MHz on idle

-Using Evaluation Thermals

-Own Thermal Suspend API

-Own Thermal Locking Mecanism (Mostly for using NGK thermals on MIUI)

-NAP power saving state for Adreno 630 GPU

-Dynamic Stune Boost

-Devfreq boost and Cpu Boosting drivers

-Moved from ZRAM to ZSWAP+VNSWAP (Still disabled by default)

-FSync Control (ON/OFF)

-Faster Applications Opening speed

-Slimbus Overclock

-Added Fingerprint boost

-Added WakeBoost module

-Added and Using ZEN I/O Scheduler as default for app opening speed && overall Smoothness

-Added Maple, SIO, FIOPS, BFQ, ANXIETY I/O Scheduler

-Westwood(Default) & BBR TCP Algorithms

-DTS Headphone X Software Drivers

-Sound Control support

-Vibration Control

-Charging throttling removed

-Maximum charge rate over USB 3.0

-WireGuard support

-USB Ethernet support

-Controller support

-DriveDroid support

-HDR Video Playback support

-KCAL support

-K-Lapse 5.0 support

-Network Guru app support

-Blocked and tweaked wakelocks (Boeffla & more)

-Fingerprint improvements

-Caches optimisations

-Compilation optimisations

-Debloated

-F2FS Support with GC

-Compile with Proton Clang + Polly + Thin LTO

-Latest CAF Tags merged in

-Always upstreamed to latest! (4.9.237)

-And many more under the hood changes...

-Kernel & App update checker (Direct install of kernel and app on Pocophone) + Selection between touch firmware versions

-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 both Clusters separately

-CPU Page with following tunables:

-CPU Governor

-CPU Frequency Selection Algorithm (Linear/Exponential)

-CPU Min/Max Frequencies

-NGK Stats Page showing last gaming session FPS+ Chart, 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

-Kernel Page to let you control:

-App optimization (ART) Button

-Thermals:

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

-Battery Thermal Throttling Removal:

ON (NGK’s default) || OFF

-PUBG HDR+Extreme config unlocker

-GPU Page:

-GPU Stats

-Max GPU Freq Selector

-KLapse (Brightness and Daytime modes)

-Backlight Dimmer

-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/Ports! Since I love OnePlus and I'm myself a OnePlus 2 user, I will do my best to fully support OOS ports.

Reported to work on: OnePlus 6 Holi Edition, OnePlus 7 OB8 & OB8 Quince, Quarantine Edition. OxygenOS devs do not support custom kernels so if you face any issues with NGK don't post in their groups, post here instead.

-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

-CPUs since Snapdragon 845 can't be overclocked from kernel this is why it is removed

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

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!.

-thanasxda for his experience/knowledge on the Pocophone

- [MENTION=4867044]_undead[/MENTION] & [MENTION=4355985]Wmbruckner[/MENTION] for the crowdfunding

-Followings for their donations!

[MENTION=4355985]Wmbruckner[/MENTION]

-@SquireInk

-@samyak032

-@2WildFirE

-@lucyr03

-@bamz1117

-@jackiass

-@Johnjamess

-@Cocolion

-@patrick

​

Contributors

Pierre2324

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

Version Information

Status: Stable

Current Version: 2.0

Created: 16-11-2019

Last Updated: 27-09-2020