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

Search This thread

Pierre2324

Senior Member
Oct 25, 2015
1,826
2,597
24
Moto G
OnePlus 2
After flashing NGK kernel for first time, whenever i charge my phone it keeps "looping" into charging and not charging. I am using MIUI 13 latest update together with this kernel at it is outstanding with my performance now. Huge upgrade. Hotfix i found is to restart phone while charging so it doesnt go into "loop" after it turns on.
Hmm thats weird try sending logs of the issue. Is your battery over 40C ?
 

mrshrock221

Member
Apr 20, 2022
12
0
Try recording log using matlog app.

Start recording log
Plug phone (get the issue)
Then send the logs

i tried using matlog. unfortunately, it keeps loading and doesn't end. Is there any other way to get logs?

ill see if there's any fix for this matlog app so i could get it working. In the meantime if u have some alternative suggestions to get logs, Id be happy to do it instead of figuring out matlog (been doing for over an hour now)

EDIT: Soo i used Logcat instead since google says they're pretty much the same and here was my log. I recorded, charged my phone, recreated the issue while log was recording and this was the log file.
 
Last edited:

Pierre2324

Senior Member
Oct 25, 2015
1,826
2,597
24
Moto G
OnePlus 2
i tried using matlog. unfortunately, it keeps loading and doesn't end. Is there any other way to get logs?

ill see if there's any fix for this matlog app so i could get it working. In the meantime if u have some alternative suggestions to get logs, Id be happy to do it instead of figuring out matlog (been doing for over an hour now)

EDIT: Soo i used Logcat instead since google says they're pretty much the same and here was my log. I recorded, charged my phone, recreated the issue while log was recording and this was the log file.
Think you forgot to send the file? 🤔 Are you on miui? I feel like most of the charging issues come from miui.
 

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
Will you be adding custom hz? 180hz
 

Pierre2324

Senior Member
Oct 25, 2015
1,826
2,597
24
Moto G
OnePlus 2
That too, but I was more concerned with the screen
Wont happen, puts more stress on hardware, more heat, more drain, pocos are already fragile. Also, no way you can reach 180hz. On phones I've seen like 5hz increases, which is useless. On monitors I've seen 15hz when lucky and thats pushing it. My monitor broke because of it.
 
Last edited:

tazaga

Senior Member
Jul 19, 2015
487
103
Because of dictators rules on your telegram i cant post logs for you to help solving overheating problem...go check your matlog on poco x3 pro that all can say goodbye
 

Twiiiiin

Member
Jun 3, 2016
37
26
26
Xiaomi Poco X3 Pro
Hi all,
I've been daily running this kernel for a while, initially with ArrowOS 12 and then with MIUI, it works great, also performance, thermals and battery are really well balanced. Only thing i've found is a bug where using Android Auto + Waze (but also only Waze) for navigation while driving, makes the phone reboot at random times. I can say it's not related to thermals, I used it both on the dash and inside the car, same issue and phone was not hot, and i also tried changing 2 or 3 cables, including the original one.

Is there any way i can help with debugging it? It's not the easiest thing to replicate, as it only happened in long drives (i did 10+hrs drives and it started freaking out at around 40/50 minutes)
 

Pierre2324

Senior Member
Oct 25, 2015
1,826
2,597
24
Moto G
OnePlus 2
Hi all,
I've been daily running this kernel for a while, initially with ArrowOS 12 and then with MIUI, it works great, also performance, thermals and battery are really well balanced. Only thing i've found is a bug where using Android Auto + Waze (but also only Waze) for navigation while driving, makes the phone reboot at random times. I can say it's not related to thermals, I used it both on the dash and inside the car, same issue and phone was not hot, and i also tried changing 2 or 3 cables, including the original one.

Is there any way i can help with debugging it? It's not the easiest thing to replicate, as it only happened in long drives (i did 10+hrs drives and it started freaking out at around 40/50 minutes)
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.
 

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: