[Kernel][Overclocked] No Gravity [Android-11,10,9...][2020-09-27][ProtonClang]

Search This thread

metador

Member
Mar 5, 2021
7
1
Here is something interesting, my primary camera lens stopped working a few days ago, latest NoGravity Kernel + crDroid 7.4. It works again when I flash stock crDroid.
 

joebarnickle

Member
Jun 5, 2013
47
12
Here is something interesting, my primary camera lens stopped working a few days ago, latest NoGravity Kernel + crDroid 7.4. It works again when I flash stock crDroid.
Can't confirm this issue.
I'm running the same configuration with latest magisk.
Stock lineage snap camera and Pixelcam+ are both working perfect.
 

MehmetNY

Member
May 3, 2014
49
4
25
İstanbul
Can't confirm this issue.
I'm running the same configuration with latest magisk.
Stock lineage snap camera and Pixelcam+ are both working perfect.
I have that same problem on my phone. As a solution, I reverted to the old kernel. Rom: Miui Eu Stable.

I think Ngk's testers should test the kernel on miui based roms instead of just trying aosp roms.
Just don't suggest "moving aosp rom" for solution anymore.
 

Top Liked Posts

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

    K8EYuPK.jpg


    FKkAugz.jpg

    No Gravity Kernel 2.0 + 4.0 App Trailer

    Why is it called NoGravity kernel?
    Hey, NoGravity Kernel dev coming from the Pocophone F1. Goal of this kernel is to provide of course solid performance when needed while keeping a solid battery life throughout the day, but main NGK objective is to make every device #SmoothAF.

    iaHQ9D3.jpg

    The Kernel will boot using stock (Mi 8) GPU frequencies that correspond to the Balance Profile. Overclocked frequencies can be selected in my app. Other profiles for battery, performance and gaming can also 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). My app offers some features that usually cant be found in other kernel tweaking apps. You can find them lower in the thread.)

    3f8hs78.jpg

    -No Gravity app! support
    -Android R (11) ready
    -Rebased to full Q CAF (LOS Staging)
    -OxygenOS Ports support Please read compatibility section
    -9.1.24 & 10.3.7 Novatech Touchscreen Firmware
    -Updated, Cleaned up & Optimized NVT/FTS Touchscreen drivers for latency and responsiveness and reduced touch issues
    -The two CPUs (Silver and Gold) can be configured completely separate in terms of min/max frequencies and governors
    -Unlocked PUBG HDR+Extreme options (Disabled by default, enable it in app)
    -CPU Next frequency selection tunable (linear/expnential)
    -GPU Overclocked to 835 MHz (GPU overclock/underclock is possible)
    -GPU Underclocked to 160 MHz on idle
    -Using Evaluation Thermals
    -Own Thermal Suspend API
    -Own Thermal Locking Mecanism (Mostly for using NGK thermals on MIUI)
    -NAP power saving state for Adreno 630 GPU
    -Dynamic Stune Boost
    -Devfreq boost and Cpu Boosting drivers
    -Moved from ZRAM to ZSWAP+VNSWAP (Still disabled by default)
    -FSync Control (ON/OFF)
    -Faster Applications Opening speed
    -Slimbus Overclock
    -Added Fingerprint boost
    -Added WakeBoost module
    -Added and Using ZEN I/O Scheduler as default for app opening speed && overall Smoothness
    -Added Maple, SIO, FIOPS, BFQ, ANXIETY I/O Scheduler
    -Westwood(Default) & BBR TCP Algorithms
    -DTS Headphone X Software Drivers
    -Sound Control support
    -Vibration Control
    -Charging throttling removed
    -Maximum charge rate over USB 3.0
    -WireGuard support
    -USB Ethernet support
    -Controller support
    -DriveDroid support
    -HDR Video Playback support
    -KCAL support
    -K-Lapse 5.0 support
    -Network Guru app support
    -Blocked and tweaked wakelocks (Boeffla & more)
    -Fingerprint improvements
    -Caches optimisations
    -Compilation optimisations
    -Debloated
    -F2FS Support with GC
    -Compile with Proton Clang + Polly + Thin LTO
    -Latest CAF Tags merged in
    -Always upstreamed to latest! (4.9.237)
    -And many more under the hood changes...

    xCkEUzV.jpg


    -Kernel & App update checker (Direct install of kernel and app on Pocophone) + Selection between touch firmware versions
    -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 both Clusters separately
    -CPU Page with following tunables:
    -CPU Governor
    -CPU Frequency Selection Algorithm (Linear/Exponential)
    -CPU Min/Max Frequencies
    -NGK Stats Page showing last gaming session FPS+ Chart, 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
    -Kernel Page to let you control:
    -App optimization (ART) Button
    -Thermals:
    NoGravity (NGK’s default) || Battery || Stock one
    -Battery Thermal Throttling Removal:
    ON (NGK’s default) || OFF
    -PUBG HDR+Extreme config unlocker
    -GPU Page:
    -GPU Stats
    -Max GPU Freq Selector
    -KLapse (Brightness and Daytime modes)
    -Backlight Dimmer
    -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/Ports! Since I love OnePlus and I'm myself a OnePlus 2 user, I will do my best to fully support OOS ports.
    Reported to work on: OnePlus 6 Holi Edition, OnePlus 7 OB8 & OB8 Quince, Quarantine Edition. OxygenOS devs do not support custom kernels so if you face any issues with NGK don't post in their groups, post here instead.

    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
    -CPUs since Snapdragon 845 can't be overclocked from kernel this is why it is removed

    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.







    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!.
    -thanasxda for his experience/knowledge on the Pocophone
    - @[COLOR="#00b5d3"]_undead[/COLOR] & @[COLOR="#00b5d3"]Wmbruckner[/COLOR] for the crowdfunding
    -Followings for their donations!
    @[COLOR="#00b5d3"]Wmbruckner[/COLOR]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]


    Contributors
    Pierre2324
    Source: https://github.com/Pierre2324/NGK_android_kernel_xiaomi_sdm845
    Version Information
    Status: Stable
    Current Version: 2.0
    Created: 16-11-2019
    Last Updated: 27-09-2020
    7
    Changelog


    xkAydoZ.png

    pbyU1uH.png


    Previous Changelogs:

    q1BD6P2.jpg
    px7KJUC.jpg




    xYqspkE.jpg


    3.5 App Changelog
    1nPBaZo.jpg


    EDTezag.jpg


    NoGravity Kernel App v3.4.2:
    General:
    • Changelog/Update page is now scrollable in case of big changelogs to see download buttons
    • App now checks for update when app is resumed also (not just when app is launched)

    Pocophone F1-Mi8:
    • Fixed an issue where frequencies were shown over CPU and GPU labels when turning off respective temps in NGK Stats Overlay

    OnePlus 2:
    • Nothing specific to OP2 added

    NoGravity Kernel App v3.4.1:
    General:
    • Changed text of update checker button 'View changelog' to 'Download!' when an update is present
    • Other small fixes

    Pocophone F1-Mi8:
    • Updated NGK Stats Overlay UI
    • NGK Stats Overlay doesn't block input touches anymore
    • Better FPS Idling algorithm to prevent bad user's FPS stats when display isn't refreshed (e.g just looking at launcher)
    • Last session average FPS now updates right after toggling off the switch when in NGK app

    OnePlus 2:
    • Nothing specific to OP2 added

    1.4 Build:
    NoGravity Kernel App v3.4:
    General:
    • Updated Profiles
    • New App & Kernel Update checker
    • Small fixes

    Pocophone-Mi8:
    • Modified NGK Thermals to fit NGK thermal locking mecanism
    • DT2W Toggle added to Kernel Page (mainly for OOS)
    • Updated Backlight Dimmer
    • New NGK stats page
      -Shows last session average FPS
      -NGK overlay service toggle to show FPS,CPU & GPU stats in real time on screen

    OnePlus 2:

    • nothing specific for oneplus 2 has been added

    Kernel 1.4:
    • NoGravity Thermal locking mecanism
    • Add DT2W node for OxygenOS and enabled by default
    • Input boost driver cleanup
    • Touch drivers tweaks
    • GPU max stable overclock dropped to 800MHz (835MHz still available)
    • Updated profiles
    • Brought back updated Wireguard
    • Added back HDR playback feature
    • Removed old CPU governors
    • Network GURU app can now be opened
    • Merged latest CAF tag
    • Updated to latest Anykernel
    • Always upstreamed to latest (4.9.215)
    • And many more under the hood changes/optimisations

    Notes:
    • Kernel and app updates will now show up when they are released on main page of NoGravityKernel App along with device specific changelog and download buttons
    • NGK Thermal Locking Mecanism prevents ROMs from overriding a thermal selection (Mainly MIUI) (when NGK Thermals are ON only, when they're OFF, ROM will have it's default behavior)

    1.3.1 Build:

    Kernel 1.3.1:
    • Rebased Techpack audio driver entirely to fix sound on some ROMs


    1.3 Build: Welcome to Mi 8!

    NoGravity Kernel App v3.3:
    General:
    • Updated Profiles
    • Lowered Magisk Toast Messages*
    • Max GPU Freq Selector
    • Added an option to refresh GPU Stats
    • Updated descriptions

    Pocophone-Mi8:
    • New GPU Page:
      -GPU Stats
      -KLapse (Brightness and Daytime modes)
      -Backlight Dimmer

    OnePlus 2:
    • DDR Input Boost Toggle

    Kernel 1.3:
    • Fixed Screen Freezes
    • Updated Profiles
    • GPU min 160MHz, GPU max 835MHz
    • GPU optimisations (Governor, Latency)
    • Better CPU idling
    • Optimised Schedutil Governor
    • Changes to EAS Energy model
    • Updated schedtune,devfreq boosts
    • Better app opening speed
    • Exposed a Dynamic Stune Boost Duration tunable to userspace (Now independent to input boost duration) -Small changes to input boost
    • Sched cleanup
    • Added FIOPS,BFQ,ANXIETY I/O Schedulers
    • Updated thermals
    • Brought back RCU 4.14 backport
    • Vibration Control
    • Compiled with DragonTC
    • Huge compilation optimisations for performance
    • POLLY Optimisations
    • Debloated even more
    • Now Permissive by default, Android 10 Q blobs don't seem ready yet
    • Always upstreamed to latest! (4.9.212)
    • And many more under the hood changes...

    Notes:
    • Max GPU frequency of 835MHz is only reachable manually as I don't consider it fully stable. On the other side, 820MHz Overclock is stable and is used in my profiles.
    • I wanted to use relatively longer dynamic schedtune boost duration compared to input boosts so made them separate in terms of length.
    • I would recommend turning off No Gravity app toast notifications from Magisk Manager app.


    1.2 Build:

    NoGravity Kernel App v3.2:
    General:
    • Updated Profiles
    • Auto-dismiss Apply on boot notification
    • Updated descriptions

    Pocophone:
    • New Kernel Page to let you control:
      -Thermals:
      Stock one || Evaluation (NGK’s default)
      -Thermal Suspend API:
      OFF || ON (NGK's default)
      -Battery Thermal Throttling Removal:
      OFF || ON (NGK’s default)
      -SELinux Switch:
      Enforcing (NGK’s default) || Permissive
    • New DTS Eagle (Sound) Page

    OnePlus 2:
    • Fixed App opening on AGK
    • Fixed EAS Dynamic Schedtune Bug

    Kernel 1.2:
    • Updated to latest Touch Firmware
    • Updated with Xiaomi Q Kernel Source (Touch,Sound,PSU,WLAN,GPU,etc)
    • Silver cluster will now ramp all the way down to 300MHz for better idle drain
    • Removed some GPU latency
    • Underclocked GPU on idle to 170MHz (from 180MHz)
    • 820MHz GPU frequncy step added between 710MHz & 835MHz
    • New Thermal Suspend API
    • FSync Control (ON/OFF)
    • DTS Eagle Software Driver
    • Bluetooth changes
    • Optimisations, Removed some bloat
    • Bluetooth Fixed
    • Wifi Speed Meter Fixed
    • Random Reboot Fixed
    • Blackscreen issue Fixed
    • SmartPack/Kernel Adiutor issue Fixed
    • Camera Fix for MIUI Q and ROMs with Q-Blobs (see separate build)
    • Updated AnyKernel3 changes (No Need to flash magisk after updating!)
    • Always upstreamed to latest! (4.9.210)
    • And many more under the hood changes...

    Notes:
    • Thermal Suspend API : This is a small API I’ve written in the kernel directly (to make sure no background services are running for it) that unsets NGK thermals when screen turns off and enables them back when screen is turned back on. (This fixes some issues on some specific ROMs where screen wouldn’t turn on or phone would random reboot while device sleeps or is charging)
    • There is now a camera fix version to fix camera on ROMs with Q-Blobs like MIUI Q, so if your camera isn't working flash this one.

    Kernel 1.1 Pie Edition:
    • NoGravity Kernel v1.1 now working on Pie ROMs
    • Using v1.0 Base

    Notes:
    • This kernel uses v1.0 base so will work on both Android Pie and Q ROMs/Ports/MIUI
    • From now on releases will be separate in 2 builds: [9] and [10]. People on Android 10 should use [10] builds since it is rebased to Full Q CAF sources even tho [9] build would still work.


    1.1 Build: Welcome to No Gravity Kernel App for Pocophone!

    NoGravity Kernel App v3.1:
    • Pocophone F1 support added
    • Balance(Default),Performance,Battery & Gaming Profiles*
    • Precise CPU temperature for both Clusters separately

    Kernel 1.1:
    • Rebased completely to full Q CAF (LineageOS Staging)
    • Removed CPU overclock*
    • Removed charging throttling*
    • Many Optimisations
    • F2FS updated with GC and changes
    • Debloated the Kernel
    • Westwood(Default) & BBR TCP Algorithms added
    • Using 2048kb read ahead
    • Fixed ZEN I/O Scheduler initialisation
    • Picked port of RCU's taken from 4.14
    • Updated SDFAT to EXFAT
    • Removed a CPU boosting driver that could conflict with another
    • Battery oriented tweaks
    • Tried to fix random reboots and other issues some people were getting
    • Always upstreamed to latest! (4.9.206)
    • And many more under the hood changes...

    Notes:
    • Profiles also have a QSTile for fast switching
    • If you didn’t already know it was only placebo/performance wouldn’t change, but don’t worry there are other ways to make performance better
    • If you want charging throttling, you can set it back on here by setting the value to N instead of Y: sys/modules//sys/module/smb_lib/parameters/skip_thermal
    • MIUI ROM/Port variants may have some issues but I didn't have much testers on those so please send logs if you have issues


    1.0 Build: Welcome to Android 10 & Pocophone!

    Kernel:
    • Overclocked CPU (Silver 1.76->2.0Ghz, Gold 2.8-> 3.0Ghz) (Will boot with stock clocks)
    • Energy model modifications to fit NGK overclocked frequencies
    • GPU Overclocked to 835 MHz
    • GPU Underclocked to 180 MHz on idle
    • Using Evaluation Thermals (For now..)
    • NAP power saving state for Adreno 630 GPU
    • Added Adreno Idler
    • AdrenoBoost
    • Dynamic Stune Boost
    • Devfreq boost and Cpu Boosting drivers
    • Disabled ZRAM
    • Faster Applications Opening speed
    • Slimbus Overclock
    • Added Fingerprint boost
    • Added WakeBoost module
    • Added and Using ZEN I/O Scheduler as default for app opening speed && overall Smoothness
    • Added Maple, SIO and FIOPS I/O Scheduler
    • Power Efficient Workqueues
    • Sound Control support
    • Maximum charge rate over USB 3.0
    • WireGuard Support
    • KCAL Support
    • K-Lapse 5.0 Support
    • Blocked wakelock (Boeffla & more)
    • Fingerprint improvements
    • Caches optimisations
    • Compilation optimisations
    • Novatek touch firmware from 10.3.7.0
    • Always upstreamed to latest! (4.9.201)
    • Using Anykernel3
    • And many more under the hood changes...

    6
    Useful Stuffs

    Useful stuffs

    Clean flashing a kernel:
    1. Boot into recovery
    2. Wipe dalvik/art cache, cache, system and vendor(if recovery have this option)
    3. Reboot into recovery (only needed on some recoveries)
    4. Flash latest ROM zip
    (Optional) Flash other zips like GApps, DFE, etc depending on ROM and your preference
    5. Flash latest Magisk zip
    6. Reboot into system (yes boot with stock kernel first)
    7. Reboot into recovery
    8. Flash latest NGK Kernel zip
    9. Reboot and enjoy

    Not to be confused with a ROM clean flash!
    Do not wipe data or internal storage!


    Taking logs

    Screen Freezes:
    -Connect phone to PC
    -Run following commands in terminal:
    [*]adb shell
    [*]dmesg

    Random Reboots:
    -When the random reboot occurs press the TWRP button combo to got straight into TWRP
    -Send the pstore folder as a .zip file located in /sys/fs/

    Any runtime kernel/app related crashes that doesnt make the device reboot or freeze:
    -Use Matlog app on play store
    -Start recording before the issue
    -Stop recording after the issue
    -Send the .zip file created
    6
    Good news! :cool:

    NoGravity Kernel and apps have been updated to 1.4/3.4 respectively! Make sure you read changelog and notes. Thread updated.. Also.. moved from AndroidFileHost to SourceForge

    New kernels and App updates will be shown as available in app from now on when they release.

    Here are some screenshots of the new update

    See yall later :cool:
    4
    App Update

    Good news :cool:

    Just saying if you haven't seen the updates from the app directly, App updated to 3.4.1 and then 3.4.2 fixing small things will add changelog to XDA Thread.

    Keep defying gravity!