[OnePlus 2 Android Development] Pierre2324:
NoGravityKernel

No Gravity Kernel 2.0 + 4.0 App Trailer

Why is it called NoGravity kernel?​

The OnePlus company decided to give the Snapdragon 810 V2.1 to our device. It comes with a little increase in GPU clock speed (from 600MHz to 630MHz) BUT it also comes with a CPU downclock going from 2.0GHz to 1.77GHz on the big cluster to avoid overheating issues. No overclocked kernel has been made for PIE/OREO so this is the reason why I made this kernel. This Kernel is for Performance but it still gets descent battery life due to some added features (see below).

The Kernel will boot using stock (OnePlus 2) CPU frequencies that correspond to the Balanced Profile. Other profiles for battery, performance and gaming can also be switched to in my app.

To tweak the kernel easily, here's my No Gravity app! featuring custom profiles (Battery, Balanced, Performance, Gaming and Gaming+). My kernel offers some features that cant be found in other kernel tweaking apps. You can find them lower in the thread.)

Detailed info about the EAS Kernel in post#3.

-Overclocked CPU (Little 1.56->1.9Ghz, Big 1.8-> 2.2Ghz)

-CPU Underclocked to 302 MHz(idle) and undervolted

-The two CPUs (big and little cpu) can be configured completely separate in terms of min/max frequencies and governors

-Undervolted for better battery life and temps

-Using custom thermal engine for better performance (Less thermal throttling)

-Voltage Control

-Jaw dropping Applications Opening speed

-Unlocked PUBG HDR+Extreme options (Disabled by default, enable it in app)

-DDR Bus boost for frame rendering

-No Gravity app! support

-DTS Eagle Drivers added for better sound

-GPU Overclocked to 650 MHz

-GPU Underclocked to 27 MHz on idle

-Added Adreno Idler

-AdrenoBoost 2.1

-Updated Cpusets for even more smoothness

-Backported Pixel timekeeping

-Smarter GPU

-Disabled ZRAM

-DDR Input Boost

-Max screen off frequency tunable

-Dynamic File Sync

-Slimbus Overclock

-Thermal Throttling Slider

-Added Governors (Chill, Relaxed)

-Added Fingerprint boost

-Added WakeBoost module

-Faux Sound support

-Gestures Support

-FastCharge drivers Support (Now the charging rate is fast even when screen on without increasing temps that much!)

-Maximum charge rate over USB 3.0 increased from 500mA to 900mA

-WireGuard Support

-Added and Using ZEN I/O Scheduler as default for app opening speed && overall Smoothness

-Added Maple, SIO and FIOPS I/O Scheduler

-KCAL Support

-K-Lapse Support

-Blocked wakelock (Boeffla)

-Added Hotplug (Core_ctl)

-Added Gentle fair sleepers toggle

-Debloated

-New battery screen animation with percentage

-F2FS Support leading to ~10% faster write speeds compared to EXT4

-Based on Linux version 3.10.108

-Kernel & App update checker

-Balance, Performance, Battery, Gaming and Gaming+ Profiles for NGK & NGK EAS

-Max Cluster Overclock toggles to apply maximum overclock frequencies to Little and/or Big Cluster

-Custom Profile Creator Page that let's you create and share profiles with the NGK community (/SDCARD/NGK/PROFILES/)

-Displays most accurate CPU temperatures for Little and Big clusters separately

-GPU Stats page to show every GPU Frequencies time in state stats

-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

-App optimization (ART) Button

-PUBG HDR+Extreme config unlocker

-Thermal Switch to select between NoGravity thermal config and stock

-NGK Bootanimation

-NGK Overlay

-PocketMode Switch to turn off fingerprint sensor when device is in pocket or on table face down

-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

-Resolution Changer to switch between 1080p FHD and 720p HD resolutions

-Battery Current Limit Switch to disable or enable BCL on low battery percentage

-Sound page lets user download DTS:Eagle apps (Headphone:X or Ultra)

-CPU Temperature Limit slider to set thermal throttling temps

-K-Lapse Night mode and Brightness mode toggles

-Video Recording Codecs Selector (H.264, H.265, H.265+)

-Backlight Dimmer button to help reduce eye strain

-DDR Input Boost toggle

-Apply On Boot to apply user settings on boot

-EAS page to tweak Load tracker, governors and dynamic schedtune boost!

-More info on those in the app

Most of my work will be on Energy Aware Scheduling Kernel version since NGK is really solid and stable,,,

This kernel works on Android 10, PIE and OREO ROMs.

DO NOT FLASH ON STOCK OXYGEN OS! ​

Initial boot might heat up device a bit, which is normal - Let it settle

I recommend before coming to conclusion, give it at least 2 complete charge cycles and then raise any issue.

Max fully stable overclock is Little/Big 1.8GHz/2.1GHz

Both max 1.9GHz and 2.2GHz may be unstable and are not reacheable using app profiles. They still can be reached using the max overclock toggles the app provide.

Flash No_Gravity_Kernel-vX.X.zip file in TWRP (Latest TWRP Recovery Recommanded)

(Optional) - Clear cache and Dalvik

Made your choice?

Download Links

No Gravity Kernel

Anti Gravity Kernel

NGK-EAS (Post#3)

No Gravity App

Anti Gravity Thread

As I put a lot of time and effort into this project, I now accept donations feel free to help me a little :cool:

Donate

Older NGK builds

Q-PIE-OREO AOSP Based Roms

Q-PIE-OREO LineageOS Based Roms

v3.2 Q-PIE-OREO AOSP Based Roms

v3.2 Q-PIE-OREO LineageOS Based Roms

v3.1 Q-PIE-OREO AOSP Based Roms

v3.1 Q-PIE-OREO LineageOS Based Roms

v3.0 Q-PIE-OREO AOSP Based Roms

v3.0 Q-PIE-OREO LineageOS Based Roms

v2.7 Q-PIE-OREO AOSP Based Roms

v2.7 Q-PIE-OREO LineageOS Based Roms

v2.6 PIE-OREO-NOUGAT AOSP Based Roms

v2.6 PIE-OREO-NOUGAT LineageOS Based Roms

v2.5 PIE-OREO-NOUGAT AOSP Based Roms

v2.5 PIE-OREO-NOUGAT LineageOS Based Roms

v2.4.2 PIE-OREO-NOUGAT AOSP Based Roms

v2.4.2 PIE-OREO-NOUGAT LineageOS Based Roms

v2.4.1 PIE-OREO-NOUGAT AOSP Based Roms

v2.4.1 PIE-OREO-NOUGAT LineageOS Based Roms

v2.4 PIE-OREO-NOUGAT AOSP Based Roms

v2.4 PIE-OREO-NOUGAT LineageOS Based Roms

v2.3 PIE-OREO-NOUGAT AOSP Based Roms

v2.3 PIE-OREO-NOUGAT LineageOS Based Roms

v2.2 PIE-OREO-NOUGAT AOSP Based Roms

v2.2 PIE-OREO-NOUGAT LineageOS Based Roms

v2.1 PIE-OREO-NOUGAT AOSP Based Roms

v2.1 PIE-OREO-NOUGAT LineageOS Based Roms

v2.0 PIE-OREO-NOUGAT AOSP Based Roms

v2.0 PIE-OREO-NOUGAT LineageOS Based Roms

v1.9.2 OREO-NOUGAT AOSP Based Roms

v1.9.2 OREO-NOUGAT LineageOS Based Roms

v1.9.1 OREO-NOUGAT AOSP Based Roms

v1.9.1 OREO-NOUGAT LineageOS Based Roms

v1.9 OREO-NOUGAT AOSP Based Roms

v1.9 OREO-NOUGAT LineageOS Based Roms

v1.8 OREO-NOUGAT AOSP Based Roms

v1.8 OREO-NOUGAT LineageOS Based Roms

v1.7 OREO-NOUGAT AOSP Based Roms

v1.7 OREO-NOUGAT LineageOS Based Roms

v1.6 OREO-NOUGAT AOSP Based Roms

v1.6 OREO-NOUGAT LineageOS Based Roms

v1.5 OREO-NOUGAT AOSP Based Roms

v1.5 OREO-NOUGAT LineageOS Based Roms

v1.4 OREO-NOUGAT(advanced gestures broken for the LineageOS based ROMs (dt2w works)

Changelog

Public Changelog of private startup builds

post#2 for public released build changelogs.

ScreenShots

See screenshots section at the top of the thread!

​

Credits

ShreyanshLodha, Lord Boeffla, Benschhold, Grarak, Francisco Franco, arter97 and also Shreesha.

Thanks To: ShreyanshLodha for helping me out a bit at the begining and to Utkarsh Omer for deeply testing the kernel before stable releases.

XDA:DevDB Information

NoGravity Kernel, Kernel for the OnePlus 2

Contributors

Pierre2324

Source: [url]https://github.com/Pierre2324/NGK_android_kernel_oneplus_msm8994[/URL]

Version Information

Status: Stable

Current Version: 3.5

Created: 2018-03-15

Last Updated: 2020-09-27