[OnePlus 2 Android Development] Pierre2324:
AntiGravityKernel

Want to unleash the full potential of OnePlus 2?

Get NoGravity Kernel!

Why is it called AntiGravity kernel? ​

Introduction

Familliar with NoGravity Kernel? This is a lite version of the it... AntiGravity doesn't have overclock and custom thermals. AGK was made for ROM developers who wanted to integrate NGK into their ROMs without the heavy modifications that NGK requires. This Kernel is for Performance but it still gets descent battery life due to some added features (see below).

No Gravity 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.)

Kernel Features

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

Jaw dropping Applications Opening speed

No Gravity app! support

DTS Eagle Drivers added for better sound

GPU Underclocked to 27 MHz on idle

Added Adreno Idler

AdrenoBoost

DDR Input Boost

Smarter GPU

Disabled ZRAM

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

New battery screen animation with percentage

60FPS Video Recording support added! (This app is needed)

New Simple Low Memory Killer

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

Based on Linux version 3.10.108

NoGravity app Features

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 NGK & NGK-EAS only

Displays most accurate CPU temperatures for Little and Big clusters separately

[*]Voltage Control page that fits NoGravity Kernel NGK only

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

[*]Thermal Switch to select between NoGravity thermal config and stock NGK & NGK-EAS only

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

Selinux Switch to switch between Enforcing and Permissive SELinux modes

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

Apply On Boot to apply user settings on boot

[*]EAS page to tweak Load tracker, governors and dynamic schedtune boost! NGK-EAS only

60FPS app download link since NGK now supports 60FPS

DDR Input Boost Toggle

More info on those in the app

Planned Features

You tell me ;) I will do what I can

Compatibility

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

DO NOT FLASH ON STOCK OXYGEN OS! ​

Notes

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

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

To install

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

(Optional) - Clear cache and Dalvik

[IMG="What suits you best"]https://i.imgur.com/eUJqbdm.png[/IMG]

Made your choice?

Download Links

v3.2 PIE-OREO-NOUGAT AOSP Based Roms

v3.2 PIE-OREO-NOUGAT LineageOS Based Roms

NGK Thread

No Gravity App 3.3

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 builds

v3.2 PIE-OREO-NOUGAT AOSP Based Roms

v3.2 PIE-OREO-NOUGAT LineageOS Based Roms

v3.1 PIE-OREO-NOUGAT AOSP Based Roms

v3.1 PIE-OREO-NOUGAT LineageOS Based Roms

v3.0 PIE-OREO-NOUGAT AOSP Based Roms

v3.0 PIE-OREO-NOUGAT LineageOS Based Roms

v2.7 PIE-OREO-NOUGAT AOSP Based Roms

v2.7 PIE-OREO-NOUGAT 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

Changelog

post#2 for public released build changelogs.

ScreenShots

See screenshots section at the top of the thread!
​

Thanks To: All of my testers.

XDA:DevDB Information

AntiGravity Kernel, Kernel for the OnePlus 2

Contributors

Pierre2324

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

Version Information

Status: Stable

Current Version: 3.2

Created: 2018-02-15

Last Updated: 2020-01-22