Development [Kernel][Overclocked] No Gravity [Android-12-11][2022-04-19][ProtonClang]

Search This thread

Twiiiiin

Member
Jun 3, 2016
37
26
26
Xiaomi Poco X3 Pro
Thats very app specific, I use google map in my car fine, never used waze. Quite hard to get logs since device reboots. Can check in /sys/fs/pstore folder if there is any file after this happens.
Will do next time it happens, my educated guess would be that maybe something about more apps using location at the same time are disturbing the system? When i drive i also share live location on a chat, thing is, it never happened to reboot in any other case, even under heavy loads
 

kitsune_snake

Senior Member
Sep 11, 2010
73
9
Montreal
Hi there,
First of all, thank you for the app and the kernel, it has rejuvenated my phone.
After moving to the x3 pro after the k20 pro I was disappointed by its battery life (860 is a hungrier beast I recon).
Your kernel has helped greatly in that regard.
The only issue was gaming, changing to a different governor was a bit of a hassle. To my surprise, the moment I think about some kind of "per app-tasker" combo you already had an update to change kernel settings "per app", gotta say I am overjoyed. I do have a suggestion, it would to disable the "DND" control requirement (or only have it if an app changes the mode).

I have tasker set up to control the "DND" after the baked in settings kept removing it (didn't want to waste time troubleshooting it since my tasker set up already handles my needs perfectly).

But I see that the nogravity app triggers off the DND, I went ahead and removed that permission from it but now the app requests it every few minutes and every time I open the "recent" menu (and the app as well)

Is there a possibility to remove DND control from the app and lock it to a toggle in the "per-app" settings page instead of having it be a hard requirement?

Thank you for your time.

edit: just thought of a great thing to add, Auto brightness control, that way it can be turned off while in a game (since the palm always covers the sensor)
 
Last edited:
  • Like
Reactions: _OneAm_

K-BOX2022

Senior Member
NoGravityKernel

K8EYuPK.jpg


FKkAugz.jpg

No Gravity Kernel 1.0.0 + 4.3 App Trailer

Hey, NoGravity Kernel dev coming from the good old Pocophone F1 here! I've graduated with a bachelor degree in computer science and I actually work as a C# programmer. I've worked on OnePlus 2, Pocophone F1 and Mi 8 already, first one is discontinued but I still give updates for the 2 others. Welp, I've lost my F1 which is the reason I'm here, on this slightly newer kernel 4.9=>4.14. NGK's mindset is Performance/smoothness while getting decent battery life due to added battery oriented features.

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

For those who want a to know more about my work here is the link to NoGravity Kernel for OnePlus 2 & to NoGravity Kernel for Pocophone F1 / Mi 8.

iaHQ9D3.jpg

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.

ApF0jYF.jpg

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

3f8hs78.jpg

-No Gravity app! support
-Compiled with Proton Clang + O3 + Polly + LTO optimizations
-NGK Thermal locking mechanism*
-Thermal driver optimizations
-F2FS & UFS optimizations (Rapid GC / UFS Boost / Samsung Write boost)
-2133MHz DDR Bus
-GPU UC/OC : 192MHz / 692MHz
-CPU Input boost driver instead of CPU boost
-Enabled WALT, disabled PELT
-Using Big and Prime clusters for specific performance critical events
-Devfreq boosting for various events like app opening
-Touchscreen drivers optimizations
-Updated Touchscreen firmware
-Both 12.5.5 & 12.0.6 Touch FW are present and can be changed from NGK App
-Optional Sultan's PID shrink
-250Hz kernel interrupt rate
-Disabled ZRAM by default
-LZ4 ZRAM compression algorithm
-Exposed vibrator strength
-DTS Eagle software driver
-Boeffla Wakelock Blocker v1.1.0
-Sound Control
-Kcal
-High Brightness Mode
-Content Adaptive Backlight Control
-Dmming
-USB Fast Charging
-Added Powersaving flags to panel
-AdrenoBoost
-Various GPU & libs optimizations
-VDSO for better 32 bit performance
-sdFAT v2.4.5
-Added ZEN I/O Scheduler & used by default
-Added SQRT freq selection algo to schedutil
-Added BBR and WESTWOOD TCP Congestion protocols
-Using Westwood as default with FQ_Codel for better bandwidth use
-Removed many debugging stuffs
-Merged in latest CAF Tags
-Always upstreamed to latest (4.14.275)
-And many more under the hood changes & optimizations

xCkEUzV.jpg


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


fmrRVKR.jpg

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

pmhT9VH.jpg

This kernel should work on any ROM & MIUI!

v0BMu0X.jpg

-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

LBRCN7g.jpg

-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


0tAsweM.jpg

-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_sm2150
Version Information
Status:
Stable
Current Version: 2.2.1
Created: 2021-09-02
Last Updated: 2022-04-19
Do you add KVM support?
 

Gracko

Member
Feb 24, 2016
14
0
Not working after update to latest ArrowOS, it says just "error installing zip file "path...gravitykernel_2.2.1.zip in TWRP

Sorry USB-C pendrive system file failure lol happened 1st time in my life, everything is working
 
Last edited:

CLF78

New member
Mar 17, 2017
1
0
Since installing this kernel on LineageOS 18.1 microG, my wifi keeps dropping. I have checked the logs and it seems to be having trouble with IpReachabilityMonitor losing provisioning, similar to this issue.

I have tested using the ROM without the kernel and this doesn't happen, is there any way to fix this? I love the kernel and it's a bummer that this hampers wifi usage so much.
 

Toxiclizzard

New member
Jun 2, 2022
1
0
Hi Pierre, thanks for this kernel, waited from android ICS for a kernel like this. Gonna try it soon. May I suggest something for future updates. A feature for over-volt, under-volt and CPU,GPU overclocking hence over volting, for exonos & adreno chipsets. I guess u needs DTB's for this one. . .
 

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    NoGravityKernel

    K8EYuPK.jpg


    FKkAugz.jpg

    No Gravity Kernel 1.0.0 + 4.3 App Trailer

    Hey, NoGravity Kernel dev coming from the good old Pocophone F1 here! I've graduated with a bachelor degree in computer science and I actually work as a C# programmer. I've worked on OnePlus 2, Pocophone F1 and Mi 8 already, first one is discontinued but I still give updates for the 2 others. Welp, I've lost my F1 which is the reason I'm here, on this slightly newer kernel 4.9=>4.14. NGK's mindset is Performance/smoothness while getting decent battery life due to added battery oriented features.

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

    For those who want a to know more about my work here is the link to NoGravity Kernel for OnePlus 2 & to NoGravity Kernel for Pocophone F1 / Mi 8.

    iaHQ9D3.jpg

    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.

    ApF0jYF.jpg

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

    3f8hs78.jpg

    -No Gravity app! support
    -Compiled with Proton Clang + O3 + Polly + LTO optimizations
    -NGK Thermal locking mechanism*
    -Thermal driver optimizations
    -F2FS & UFS optimizations (Rapid GC / UFS Boost / Samsung Write boost)
    -2133MHz DDR Bus
    -GPU UC/OC : 192MHz / 692MHz
    -CPU Input boost driver instead of CPU boost
    -Enabled WALT, disabled PELT
    -Using Big and Prime clusters for specific performance critical events
    -Devfreq boosting for various events like app opening
    -Touchscreen drivers optimizations
    -Updated Touchscreen firmware
    -Both 12.5.5 & 12.0.6 Touch FW are present and can be changed from NGK App
    -Optional Sultan's PID shrink
    -250Hz kernel interrupt rate
    -Disabled ZRAM by default
    -LZ4 ZRAM compression algorithm
    -Exposed vibrator strength
    -DTS Eagle software driver
    -Boeffla Wakelock Blocker v1.1.0
    -Sound Control
    -Kcal
    -High Brightness Mode
    -Content Adaptive Backlight Control
    -Dmming
    -USB Fast Charging
    -Added Powersaving flags to panel
    -AdrenoBoost
    -Various GPU & libs optimizations
    -VDSO for better 32 bit performance
    -sdFAT v2.4.5
    -Added ZEN I/O Scheduler & used by default
    -Added SQRT freq selection algo to schedutil
    -Added BBR and WESTWOOD TCP Congestion protocols
    -Using Westwood as default with FQ_Codel for better bandwidth use
    -Removed many debugging stuffs
    -Merged in latest CAF Tags
    -Always upstreamed to latest (4.14.275)
    -And many more under the hood changes & optimizations

    xCkEUzV.jpg


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


    fmrRVKR.jpg

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

    pmhT9VH.jpg

    This kernel should work on any ROM & MIUI!

    v0BMu0X.jpg

    -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

    LBRCN7g.jpg

    -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


    0tAsweM.jpg

    -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_sm2150
    Version Information
    Status:
    Stable
    Current Version: 2.2.1
    Created: 2021-09-02
    Last Updated: 2022-04-19
    8
    Changelog
    NoGravity Kernel v2.2.1 + App v5.2.1
    c849Ar7.png


    Previous Changelogs:


    NoGravity Kernel v2.2.0 + App v5.2.0
    8dHllLu.png


    NoGravity Kernel v2.1.0 + App v5.1.0
    kIHtMlH.png


    NoGravity Kernel v2.0.0 + App v5.0.0
    Note: Custom Profile Creator page added
    BYGHptM.png


    NoGravity Kernel v1.0.0
    xOvCwxe.png


    NoGravity Kernel App v4.3.0
    B4dGV9y.png

    5
    Updates are out!

    NGK App 5.2
    NGK 2.2

    Featuring :
    -Per-App Tweaks Page
    -Dynamic Monet Theme + App Icon
    -And more...

    Full Changelog in the screenshots below.
    Thread and changelog posts updated.

    Just a quick reminder as I'm spending a lot of time on NGK,
    if you want to support my work and keep me motivated:
    https://www.paypal.me/pierre2324

    I wish yall a good time / easter 🐣, stay safe!
    2
    For everyone who think they are having temperature issues just set stock thernals in ngk app or battery (from kernel page).

    A guy on MIUI was getting temp warning playing genshin, going stock thermal profile removed the warning.
    2
    Downloaded and installed.
    So far so good!:cowboy: