FORUMS
Remove All Ads from XDA

[Kernel][Overclocked] No Gravity [Android-10,9...][10-12-2019][Clang]

919 posts
Thanks Meter: 940
 
By Pierre2324, Senior Member on 16th November 2019, 04:35 PM
Post Reply Email Thread

Introduction

Hey, NoGravity Kernel dev coming from the good old OnePlus 2 here! I'm a graduating student in computer science and I actually work as a programmer. I made a pretty solid kernel for that old Oneplus device and even added Energy Aware Scheduling (EAS) support to it backporting new features like Dynamic Schedtune Boosting to this old 3.10 kernel. With it being pretty much at its apogee, I need a new challenge on a newer kernel (4.9+) while keeping NGK's mindset of Performance/smoothness while getting decent battery life due to added battery oriented features.

For those who want a to know more about my work here is the link to NoGravity Kernel for OnePlus 2.

Default configuration

The Kernel will boot using stock (Pocophone F1) CPU & GPU frequencies that correspond to the Balance Profile. Overclocked frequencies can be selected in any kernel manager app. Other profiles for battery, performance and gaming can be switched to in my app.

No Gravity App

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 cant be found in other kernel tweaking apps. You can find them lower in the thread.)

Kernel Features
  • No Gravity app! support
  • Rebased to full Q CAF (LOS Staging)
  • The two CPUs (Silver and Gold) can be configured completely separate in terms of min/max frequencies and governors
  • GPU Overclocked to 835 MHz (GPU overclock/underclock is possible)
  • GPU Underclocked to 180 MHz on idle
  • Using Evaluation Thermals (For now..)
  • NAP power saving state for Adreno 630 GPU
  • 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 I/O Scheduler
  • Westwood(Default) & BBR TCP Algorithms
  • Sound Control support
  • Charging throttling removed
  • 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
  • Debloated
  • F2FS Support with GC
  • Novatek touch firmware from 10.3.7.0
  • Always upstreamed to latest! (4.9.206)
  • And many more under the hood changes...

NoGravity app Features
  • Balance(Default),Performance,Battery & Gaming Profiles (QSTile available)
  • Precise CPU temperature for both Clusters separately
  • More will be added...

Planned Features
  • More features...
  • Let me know what you want and those may be added!

Compatibility

This kernel should work on any ROM!
EDIT: May have some issues since CAF rebase on MIUI Roms please send logs if you face issues.

Notes
  • I recommend before coming to conclusion, give it at least 2 complete charge cycles and then raise any issue.
  • Any variant of Kernel Adiutor may cause device to reboot.. I recommend to use my app, franco app or EX Kernel Manager instead
  • CPUs since Snapdragon 845 can't be overclocked from kernel this is why it is removed

To install
  • Flash No_Gravity_Kernel-vX.X.zip file in TWRP (Latest TWRP Recovery Recommanded)
  • (Optional) - Clear cache and Dalvik => if you do so, charge atleast once overnight to let ART Optimisations do its job as this happens only when phone is ilding at 100% battery.

Download Links
NoGravityKernel Builds

No Gravity App

I do not own the device for now..
As I put a lot of time and effort into android projects (kernels and app),
wmbruckner and undead(Oneplus 2 users now on Poco) have created a crowdfunding
for the ones who want to help me get the device in post#4:
Crowdfunding
or directly via paypal :
Donation


Changelog
post#2 for released builds changelog.

ScreenShots
See screenshots section at the bottom of the thread!


Thanks To...
-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
- @_undead & @Wmbruckner for the
-Followings for their donations!
@Wmbruckner
crowdfunding!
-SquireInk
-samyak032
-2WildFirE

Contributors
Pierre2324
Source: https://github.com/Pierre2324/NGK_an..._xiaomi_sdm845
Version Information
Status: Second release
Current Version: 1.1
Created: 16-11-2019
Last Updated: 10-12-2019
Attached Thumbnails
Click image for larger version

Name:	Geekbench 5 Multi core Record v1.1.png
Views:	1948
Size:	135.5 KB
ID:	4898455   Click image for larger version

Name:	Antutu Record v1.1.png
Views:	1924
Size:	175.0 KB
ID:	4898457   Click image for larger version

Name:	3.1 NGK app.jpg
Views:	1908
Size:	176.0 KB
ID:	4898473  
The Following 63 Users Say Thank You to Pierre2324 For This Useful Post: [ View ] Gift Pierre2324 Ad-Free
16th November 2019, 04:36 PM |#2  
Pierre2324's Avatar
OP Senior Member
Thanks Meter: 940
 
Donate to Me
More
Changelog
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


Previous Changelogs:

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...

The Following 40 Users Say Thank You to Pierre2324 For This Useful Post: [ View ] Gift Pierre2324 Ad-Free
16th November 2019, 04:36 PM |#3  
Pierre2324's Avatar
OP Senior Member
Thanks Meter: 940
 
Donate to Me
More
reserved
The Following 16 Users Say Thank You to Pierre2324 For This Useful Post: [ View ] Gift Pierre2324 Ad-Free
16th November 2019, 04:37 PM |#4  
_undead's Avatar
Senior Member
Flag Chandigarh
Thanks Meter: 359
 
Donate to Me
More
Great work as always, glad to see you here! NGK was one of the best kernels for OnePlus 2, I'm excited to see what NGK brings in for Poco. You deserve much more appreciation for your work, I am doing my bit. For whosoever appreciates his work, following is a crowdfunding link that we created for getting Pierre a Pocophone, as he does not own one. Just to be clear, he isn't involved with this anyway, we, the OnePlus 2 family has done this on our own will, as a token of appreciation of all the work he has done for the community.
https://bit.ly/34b406p

Congrats on the kernel.
The Following 21 Users Say Thank You to _undead For This Useful Post: [ View ] Gift _undead Ad-Free
16th November 2019, 04:44 PM |#5  
lucyr03's Avatar
Senior Member
Flag Constanța
Thanks Meter: 565
 
Donate to Me
More
Best kernel in the west is out for poco
The Following 6 Users Say Thank You to lucyr03 For This Useful Post: [ View ] Gift lucyr03 Ad-Free
16th November 2019, 04:56 PM |#6  
Junior Member
Thanks Meter: 9
 
More
can it be used in PIE ?
The Following User Says Thank You to Hutabarat For This Useful Post: [ View ] Gift Hutabarat Ad-Free
16th November 2019, 04:59 PM |#7  
Junior Member
Thanks Meter: 1
 
More
add some screen overclock pls
and also, can i use it to one plus rom? thank you
16th November 2019, 05:00 PM |#8  
Pierre2324's Avatar
OP Senior Member
Thanks Meter: 940
 
Donate to Me
More
Quote:
Originally Posted by Hutabarat

can it be used in PIE ?

Yea can be used ! Thanks for giving it a go
16th November 2019, 05:01 PM |#9  
Pierre2324's Avatar
OP Senior Member
Thanks Meter: 940
 
Donate to Me
More
Quote:
Originally Posted by lucyr03

Best kernel in the west is out for poco

Hehe hell yea!
The Following 4 Users Say Thank You to Pierre2324 For This Useful Post: [ View ] Gift Pierre2324 Ad-Free
16th November 2019, 05:02 PM |#10  
Pierre2324's Avatar
OP Senior Member
Thanks Meter: 940
 
Donate to Me
More
Quote:
Originally Posted by _undead

MOD EDIT: quote removed

Thanks to yall for it, its appreciated and makes me want to make the best kernel I can Cool stuff coming!
The Following 3 Users Say Thank You to Pierre2324 For This Useful Post: [ View ] Gift Pierre2324 Ad-Free
16th November 2019, 05:05 PM |#11  
Pierre2324's Avatar
OP Senior Member
Thanks Meter: 940
 
Donate to Me
More
Quote:
Originally Posted by cloudzzz00

add some screen overclock pls
and also, can i use it to one plus rom? thank you

Havent been tested on Oxygen OS port yet.. Let me know how it goes! I'm not really into screen overclocking unless you want your screen to be damaged in a year...
The Following User Says Thank You to Pierre2324 For This Useful Post: [ View ] Gift Pierre2324 Ad-Free
Post Reply Subscribe to Thread

Tags
gaming, kernel, ngk, overclock, performance

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes