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

Search This thread

KProject

Senior Member
Feb 28, 2016
340
115
Xiaomi Poco X3 Pro
Can you add 13.0.4.0 Touch Firmware?
Screenshot_20220615-191140_NoGravityApp.png
 

felixpaz1992

Senior Member
May 18, 2014
120
17
Could you please add an option to regulate the battery charge, since the fast charge is deactivated when the cell phone takes a little temperature
 
Apr 7, 2015
6
0
Hello pierre! Thanks for the amazing kernel, improving this already amazing phone. Been using it for a couple days with the new LineageOS 19.1 (sticking to it after flashing other roms and not liking them). However, I have 2 issues that I found in my experience. They're nothing major, but they're still annoying.


1. On Battery profile (which is great btw, same perf for longer batt and that's my priority), all sounds became garbled when the screen is off. Song playback, notifications, anything sounds will have a massive static-like crackle and stutter. This doesn't happen in Balanced, but since I prefer battery life over everything, I tend to stick to Battery profile.

2. I cannot take a partial screenshot with the kernel installed on Android 12 roms, tested on crDroid 8, ArrowOS 12.1 and Lineage 19.1. Holding power button, then holding the screenshot button, then selecting the area I want to take a shot of will result in the phone throwing a "Couldn't take screenshot, please try again" message. Works as normal on A11.

Have you heard of others encountering these issues? I would love it if someone does and can help me with them. You've done a great job with this kernel mate.
 

Pierre2324

Senior Member
Oct 25, 2015
1,830
2,600
24
Moto G
OnePlus 2
Hello pierre! Thanks for the amazing kernel, improving this already amazing phone. Been using it for a couple days with the new LineageOS 19.1 (sticking to it after flashing other roms and not liking them). However, I have 2 issues that I found in my experience. They're nothing major, but they're still annoying.


1. On Battery profile (which is great btw, same perf for longer batt and that's my priority), all sounds became garbled when the screen is off. Song playback, notifications, anything sounds will have a massive static-like crackle and stutter. This doesn't happen in Balanced, but since I prefer battery life over everything, I tend to stick to Battery profile.

2. I cannot take a partial screenshot with the kernel installed on Android 12 roms, tested on crDroid 8, ArrowOS 12.1 and Lineage 19.1. Holding power button, then holding the screenshot button, then selecting the area I want to take a shot of will result in the phone throwing a "Couldn't take screenshot, please try again" message. Works as normal on A11.

Have you heard of others encountering these issues? I would love it if someone does and can help me with them. You've done a great job with this kernel mate.
Hello, first one I've encountered it on my moto g 2013, my oneplus 2 as well. I dont think I've faced it on my f1 and never did on my x3pro. But, this usually happens when cpu cant process audio, either stuck in a very deepsleep state or for older phones, at min frequencies. Little trick for that is to change value of the sleep_disabled kernel module in sys. To do so, better use fkm so it can apply on every reboot. Most ROMs set this to Y on boot but maybe your rom doesnt and leads to your issue. So add a new tunable : /sys/module/lpm_level/parameters/sleep_disabled and set to Y and tick apply on boot (just check in a file manager to make sure the path is correctly written, I typed it by memory but should be close enough).

For the screenshots welp I never heard of that, I can take long screenshots fine on arrow with NGK.
 
Apr 7, 2015
6
0
Hello, first one I've encountered it on my moto g 2013, my oneplus 2 as well. I dont think I've faced it on my f1 and never did on my x3pro. But, this usually happens when cpu cant process audio, either stuck in a very deepsleep state or for older phones, at min frequencies. Little trick for that is to change value of the sleep_disabled kernel module in sys. To do so, better use fkm so it can apply on every reboot. Most ROMs set this to Y on boot but maybe your rom doesnt and leads to your issue. So add a new tunable : /sys/module/lpm_level/parameters/sleep_disabled and set to Y and tick apply on boot (just check in a file manager to make sure the path is correctly written, I typed it by memory but should be close enough).

For the screenshots welp I never heard of that, I can take long screenshots fine on arrow with NGK.
I'll check that in a bit. I found the file, but I can't edit it.


And the screenshot thing, it's not long screenshot, that works fine. It's partial screenshot, where you select a region on the screen you want to capture instead of the whole thing.
 
Apr 7, 2015
6
0
You of course need root access for that.

Seconds seems more of a rom issue.
Alright, checked the file, it's already on Y. I'll reflash the kernel (on stock Lineage now) and the ROM again in a bit. Any other clue on why it doesn't work?


I want to say it's a rom issue too, but I've tried it on 3 different roms and all of them has the same issue, as said on my original post.
 

Pierre2324

Senior Member
Oct 25, 2015
1,830
2,600
24
Moto G
OnePlus 2
Alright, checked the file, it's already on Y. I'll reflash the kernel (on stock Lineage now) and the ROM again in a bit. Any other clue on why it doesn't work?


I want to say it's a rom issue too, but I've tried it on 3 different roms and all of them has the same issue, as said on my original post.
Cant really tell I havent faced those nor heard others having those issues. Are you using any force doze or anything?
 
Apr 7, 2015
6
0
Cant really tell I havent faced those nor heard others having those issues. Are you using any force doze or anything?
Huh, weird. I reflashed the rom and kernel and all, and everything is working just fine now. Maybe there was a conflict with some of my other software that I uninstalled before the reflashing. Thank you for the assistance anyway!


I'll monitor my phone for a couple more days, see if the issue pops up. I'll reply again if it does. Again, thanks a lot for the assistance!
 

hicked

Member
Jun 21, 2011
45
22
I'm having a problem when downloading version 2.2.1 and installing, it remains at version 2.2.0 and I can't use the miui 13 touch firmware. I've tried several times and nothing, it's like the last firmware link was wrong
 

Pierre2324

Senior Member
Oct 25, 2015
1,830
2,600
24
Moto G
OnePlus 2
I'm having a problem when downloading version 2.2.1 and installing, it remains at version 2.2.0 and I can't use the miui 13 touch firmware. I've tried several times and nothing, it's like the last firmware link was wrong
For the kernel version thats normal if you look at the compile datetime its ok and you are right for the touch firmware one isnt working and will be fixed.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 28
    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!
    3
    @Pierre2324 Thank you very much for the extreme quality of your work. Asking something not directly related to this Kernel but that you have much more knowledge than me to, it is interesting to install files that update the GPU driver, v530 for example ?

    Sorry for the inconvenient question, but you give me a lot of credibility and I really appreciate your opinion.
    Good day to you, Sir.
    About the drivers question, the most recommended course of action is to update your drivers to the v530 version. It's a flat upgrade over the vanilla drivers, offering bugfixes and optimizations over the base driver, absolutely nothing more, no weird tweaks like disabling particles or similar things that can break the user experience for performance.
    This modification is totally compatible with the No Gravity Kernel in both Aosp and Miui roms.
    PS. I am the tester the dev was talking about.
    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.