[Kernel][Overclocked] No Gravity [2023-04-30][ProtonClang]

Search This thread

symbuzzer

Senior Member
Feb 25, 2013
695
565
Turkey
Which rom, make sure to wait until ngk app grants superuser access so that custom profile is applied
Latest PE rom, sir. I waited nearly 5 minutes and yes, it granted superuser rights succesfully. Also I tried several times. Every try, I can reproduce this bug succesfully

Edit: After reboot, custom profile applied succesfully. But it is parameters resetted to balanced profile. Also I tried it both enabled and disabled apply on boot on CPU page, but still same:(
 
Last edited:

symbuzzer

Senior Member
Feb 25, 2013
695
565
Turkey
Also it has some cosmetic issues
Screenshot_20230411-194205_NoGravityApp.png
 

Pierre2324

Recognized Developer
Oct 25, 2015
2,165
3,002
25
Canada
Moto G
OnePlus 2
Latest PE rom, sir. I waited nearly 5 minutes and yes, it granted superuser rights succesfully. Also I tried several times. Every try, I can reproduce this bug succesfully

Edit: After reboot, custom profile applied succesfully. But it is parameters resetted to balanced profile. Also I tried it both enabled and disabled apply on boot on CPU page, but still same:(
Ye apply on boot should be disabled in cpu/gpu pages as they will apply after profiles.
On my side custom profiles apply fine after a reboot on latest PE+. It not applying for you makes me wonder if it applies at all manually as well for you.
 
  • Like
Reactions: symbuzzer

symbuzzer

Senior Member
Feb 25, 2013
695
565
Turkey
Yea still working on it just really busy at work these days, working 1h more per day so dont have much time left on working days. I work mostly during weekends

Thats because of your screen DPI

thanks for your effort, sir. I really like this kernel and will support future developments.
no, my dpi is same, my icon size are bigger. I hope this can be fixed too.
 

symbuzzer

Senior Member
Feb 25, 2013
695
565
Turkey
Ye apply on boot should be disabled in cpu/gpu pages as they will apply after profiles.
On my side custom profiles apply fine after a reboot on latest PE+. It not applying for you makes me wonder if it applies at all manually as well for you.
Sir finally I found what causes this issue. It seems app gets root permissions too late when boot completes.

So if I run app before it gets root permissions, it still seems to set custom but balanced parameters are applied.

For fixing this issue you can go 2 different way. First one, make early initializing of user choices. Second, make app waits executing scripts
 

Pierre2324

Recognized Developer
Oct 25, 2015
2,165
3,002
25
Canada
Moto G
OnePlus 2
Sir finally I found what causes this issue. It seems app gets root permissions too late when boot completes.

So if I run app before it gets root permissions, it still seems to set custom but balanced parameters are applied.

For fixing this issue you can go 2 different way. First one, make early initializing of user choices. Second, make app waits executing scripts
Or you could just wait until app gets root access before launching it right?
 
  • Like
Reactions: symbuzzer

Top Liked Posts

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

    K8EYuPK.jpg


    Hey, NoGravity Kernel dev here! You may already know me from my other supported phones (OnePlus 2, F1, Mi 8, X3 Pro, F2, F3, F4) I've graduated with a bachelor degree in computer science and I actually work as a C# programmer. NGK's mindset is Performance/smoothness while getting good battery life due to added battery oriented features.

    I currently do not own the device, but if you like my work and want to support me, a crowdfunding was made in order to speed up the development for this phone

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

    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
    -KernelSU support
    -NGK Thermal locking mechanism*
    -DC Dimming
    -Boeffla Wakelock Blocker
    -Optional Proximity Sensor blocking for Telegram / Nekogram
    -High Brightness Mode
    -AdrenoBoost
    -GPU UC/OC : 150MHz / 905MHz
    -CPU Input boost driver instead of CPU boost
    -Devfreq boosting
    -Enabled WALT, disabled PELT
    -Using Big and Prime clusters for specific performance critical events
    -Devfreq boosting for various events like app opening
    -Disabled ZRAM by default (Only if ROM doesn't override it)
    -USB Fast Charging
    -Various GPU & libs optimizations
    -VDSO for better 32 bit performance
    -Small debloat
    -Merged in latest CLO Tags
    -Always upstreamed to latest (4.19.282)
    -And many more under the hood changes & optimizations

    xCkEUzV.jpg

    Note: Some features aren't enabled yet for this specific phone, but they'll come in future updates

    -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!
    -Immensity kernel base


    Contributors
    Pierre2324
    Source: https://github.com/Pierre2324/NGK_android_kernel_xiaomi_sm8250
    Version Information
    Status:
    Stable
    Current Version: 1.4.0
    Created:
    2022-12-18
    Last Updated: 2023-04-30
    3
    NGK community just hit 5k members on Telegram 🙏 Also happy to let you know that I received Recognized Developer tag on XDA with NGK expanding to F2/F3/F4/Mi10T lately.

    Thanks everyone ✨

    A good journey, from OnePlus 2 to Xiaomi phones (F1/Mi 8) and now Xiaomi (Kona) devices (F2/F3/F4/Mi10T) 🎉

    That being said, not forcing anyone to do so but if you would like to support my work and help NGK get features / updates / fixes faster, you can help me get a Kona device from here :

    Crowdfunding
    or from paypal directly :
    Paypal

    Thanks to everyone who already did, that's appreciated 🙏
    2
    @Pierre2324 could you add the feature for a proper compatibility with ACC?

    ACC daemon can not manage to stop the charge by itself
    Its in my plans to add bypass/idle charging later on once every features (that are present on older ngk phones) are added to ngk app. I just need to make sure no kona device is known for pmic issues like the x3pro.
    2
    Thanks for the kernel mate
    2
    No Gravity Kernel 1.3.0 and App 6.3.0 updates are out for kona devices!
    Thread and Changelog post updated
    Also moved app downloads to driveupload