Development [Kernel][Overclocked] No Gravity [2023-08-28][ProtonClang]

Search This thread

Agar171

New member
May 29, 2023
4
1
Greetings to all. I have a question. When the kernel is flashed on miui, miui.dtbo is flashed. So, at what point should dalvik cache be cleared? before flashing miui.dtbo or after? thanks for the reply
 

Agar171

New member
May 29, 2023
4
1
newly installed kernel on miui 14.0.3 global version, automatic brightness stopped working
 

Agar171

New member
May 29, 2023
4
1
now it works, reinstall persist.img, re-flash non-gravity kernel over stock, but no longer flash miui.dtbo from non-gravity, just flash miui.dtbo from stock. It even stuck restarting at some point, because I suppose some kind of incompatibility between miui.dtbo no gravity and miui 14.0.3 global stock android 13. Now everything works correctly. I still need to do more tests.
 
  • Like
Reactions: Snakeforhire

Pierre2324

Recognized Developer
Oct 25, 2015
2,299
3,084
25
Canada
Moto G
OnePlus 2
Will this kernel reduce ghost touches on poco x3pro? Can I flash it on rooted miui 12.5?
Touch issues are random, but I've optimized the touch drivers and I included 2 touch firmwares that can be flashed from ngk app itself using a simple toggle. So should help. But it will always depend on your phone. Every x3pro behave differently.
 
  • Like
Reactions: onoakino

onoakino

Senior Member
Sep 25, 2015
317
70
Manila
Working just fine on my x3pro. Android 11, stock rooted MIUI 12.5.2. I just want to try if this would lessen the horrible ghost touches. After flashing, I just left it on Balanced mode and only tweaked the Touch firmware to use the 13.0.3 version. I did nothing else.

It has been 31 hours and counting and I have not experienced any ghost touch events as of yet. I would know if there is one because I enabled the "show taps" on the Dev Options to show visual feedback in case a ghost touch happens. I have not encountered one since enabling the firmware.

Looks promising! Would the ghost touches come back? I guess we'll see. Thank you for your excellent work, @Pierre2324.

Will post back if I ever encounter another ghost touch event.
 

Pierre2324

Recognized Developer
Oct 25, 2015
2,299
3,084
25
Canada
Moto G
OnePlus 2
Working just fine on my x3pro. Android 11, stock rooted MIUI 12.5.2. I just want to try if this would lessen the horrible ghost touches. After flashing, I just left it on Balanced mode and only tweaked the Touch firmware to use the 13.0.3 version. I did nothing else.

It has been 31 hours and counting and I have not experienced any ghost touch events as of yet. I would know if there is one because I enabled the "show taps" on the Dev Options to show visual feedback in case a ghost touch happens. I have not encountered one since enabling the firmware.

Looks promising! Would the ghost touches come back? I guess we'll see. Thank you for your excellent work, @Pierre2324.

Will post back if I ever encounter another ghost touch event.
Good to know, i dont think they will come back if you usually notice them quickly
 
now it works, reinstall persist.img, re-flash non-gravity kernel over stock, but no longer flash miui.dtbo from non-gravity, just flash miui.dtbo from stock. It even stuck restarting at some point, because I suppose some kind of incompatibility between miui.dtbo no gravity and miui 14.0.3 global stock android 13. Now everything works correctly. I still need to do more tests.
You da man, brah !
I tried your method (I renamed the .img file of the dtbo supplied with NGK to .bk, so the installer wouldn't see it anymore) and dirty-flashed NGK without the dtbo : now it seems to work flawlessly on Xiaomi.EU14! :D

The only thing that you need to be very mindful of are third-party kernel or system manager apps (like 3C CPU Control, SmartPack Kernel Mgr, Greenify, etc.) and uninstall -or at least disable them- because having them enabled and running concurrently to the NGK app turns your device into a toaster oven (mine got up to 70°C before I managed to figure out what the problem was), and this drains your battery in an eyeblink and even with the phone hooked to the charger... :(
 

Pierre2324

Recognized Developer
Oct 25, 2015
2,299
3,084
25
Canada
Moto G
OnePlus 2
You da man, brah !
I tried your method (I renamed the .img file of the dtbo supplied with NGK to .bk, so the installer wouldn't see it anymore) and dirty-flashed NGK without the dtbo : now it seems to work flawlessly on Xiaomi.EU14! :D

The only thing that you need to be very mindful of are third-party kernel or system manager apps (like 3C CPU Control, SmartPack Kernel Mgr, Greenify, etc.) and uninstall -or at least disable them- because having them enabled and running concurrently to the NGK app turns your device into a toaster oven (mine got up to 70°C before I managed to figure out what the problem was), and this drains your battery in an eyeblink and even with the phone hooked to the charger... :(

No reason for those apps to make the device heat up like this unless you tweak something wrong in them.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Thanks for your work on this Kernel, Pierre ❤️
    1
    Woohoo! new release. We'll see... )
    1
    Thanks very much for the kernel real enjoying kernelSU on awakenOS, my mobile money app (m-pesa) used to detect root with magisk but with kernelSU its 😂😂
    1
    Hi. The core is good. But, that's why they don't want to add a screen from 30 to 120 Hz to this hertz core? :(
    120hz is there. 30hz isnt because its useless and breaks some things in some roms
  • 39
    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
    -Android 13 support
    -Compiled with Proton Clang + O3 + Polly + LTO optimizations
    -KernelSU support
    -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
    -GMU OC to 500MHz
    -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 & 13.0.3 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.332)
    -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_sm8150
    Version Information
    Status:
    Stable
    Current Version: 3.5.0
    Created: 2021-09-02
    Last Updated: 2023-08-28
    9
    Changelog
    NoGravity Kernel v3.5.0 + App 6.5.0
    9NmO40V.png


    Previous Changelogs:

    NoGravity Kernel v3.4.0 + App 6.4.0
    4PAh1K1.png


    NoGravity Kernel v3.3.0 + App 6.3.0
    vNChlkl.png


    NoGravity Kernel v3.2.0 + App 6.2.0
    qKpoiAu.jpg


    NoGravity Kernel v3.1.0 + App 6.1.0
    pocG9fh.png


    NoGravity Kernel v3.0.1 Hotfix
    YYiF9c9.png



    NoGravity Kernel v3.0.0 + App v6.0.0

    PLCi7nV.jpg


    NoGravity Kernel v2.2.1 + App v5.2.1
    c849Ar7.png


    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!
    4
    For thise who aren't following progress on Telegram, X3Pro kernel faced the same issue than F1/Mi 8. So in addition to fixing boot for A13, upstreams had to be fixed to be able to still be on latest linux version 4.14.xxx. This took time and multiple test builds, but I just wanted to let yall know that X3 Pro kernel finally booted fully upstreamed 4.14.295.

    Now thats kernels are fixed, on to the NGK App.
    4
    Good news for #X3Pro gang 🤙🏾 A13 issue fixed. Now on to the upstream issues.

    Thanks to @mahinh611 for helping me out listing the A13 working kernels and to @neobuddy89 for the fix.

    Screenshot_20220916-143015.png