[Kernel] Anti Gravity [Q][Pie][Oreo][01-22-2020][Lnx3.10.108][UberTC] - OnePlus 2 Android Development

AntiGravityKernel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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
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
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

3.4.1 Build:
Kernel:
Revert latest LPM changes to fix a blackscreen issue
NoGravity Kernel App v3.4.2:
General:
Updated Profiles
New App & Kernel Update checker
Small fixes
OnePlus 2:
Nothing specific to OP2 added
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
Previous Changelogs:
3.4 Build:
Kernel:
Faster app opening
Added Memfd call for new Android 10 ROMs
Various CPU, GPU, devreq & cpubw optimisations
Proper DDR bus boost when rendering frames to the display (to fit our old kernel)
And more under the hood changes
Kernel EAS:
Updated to latest NGK changes
*Notes :
-I would recommend turning off No Gravity app toast notifications from Magisk Manager app.
3.3 Build:
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
OnePlus 2:
DDR Input Boost Toggle
Pocophone-Mi8:
New GPU Page:
-GPU Stats
-KLapse (Brightness and Daytime modes)
-Backlight Dimmer
Kernel:
Faster app opening
DDR Bus boost on input now disabled by default (use my app to enable it again)
Backported,cleaned up some GPU stuffs
Removed some bloat
Lowered heat and battery drain
Many optimisations
And more under the hood changes
Kernel EAS:
Updated to latest NGK changes
Fixed a notification/call sound distortion
*Notes :
-I would recommend turning off No Gravity app toast notifications from Magisk Manager app.
3.2 Build:
NoGravity Kernel App v3.2:
General:
Updated Profiles
Auto-dismiss Apply on boot notification
Updated descriptions
OnePlus 2:
Fixed App opening on AGK
Fixed EAS Dynamic Schedtune Bug
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
Kernel:
Faster app opening
DDR Bus boost on input (Q Gestures, Animations are much better)
Various changes to make the UI smoother
Backported some small changes from the Pocophone F1 kernel (gpu, cpuidle)
Better Dynamic FSync
Removed some bloat
Many optimisations
Blackscreen fix (Device screen not turning on issue)
And more under the hood changes
*Notes :
-Make sure you flash Magisk after flashing the kernel
-As always when you wipe cache and dalvik, make sure you charge atleast once overnight so ART Optimisation does its job while charging at 100%.
3.1 Build:
NoGravity 3.1 App:
Pocophone support added (Profiles and cluster temps only for now)
Small fixes/optimisations
*Notes :
-You may need to uninstall previous app for it to install
-I recommend using my app over others to tweak EAS kernel since its made for the specific OnePlus 2 implementation
Kernel:
Debloated the kernel leading to smaller kernel
Compiling Optimisations
Removed Simple Low Memory killer (Yea algorithm is better but too aggressive even if its made for 4GB devices) This also fixes some black screen issues.
Improved latency
And more under the hood changes
Updated to latest LineageOS changes
*Notes :
-Make sure you flash Magisk after flashing the kernel
3.0 Build:
NoGravity 3.0 App:
Fixes for Android 10
New EAS page to change Load tracker, governor and enable dynamic schedtune boost!
Added 60FPS app download link since NGK now supports 60FPS
Boot delay removed
No more annoying persistent notification!
Thermals and codecs switching should now work for everyone
DTS Eagle page updated
Adapted profiles for EAS
Small fixes/optimisations
*Notes :
-You may need to uninstall previous app for it to install
-I recommend using my app over others to tweak EAS kernel since its made for the specific OnePlus 2 implementation
Kernel:
60FPS Video Recording support added ((This app is needed))
New more efficient Simple Low Memory Killer
CPU-Boosting, Fingerprint, Cache, MMC & Sched optimisations
Improved F2FS (700 commits+) averaging about 10% better write speeds over EXT4 in my tests
Battery improvements (mostly to screen off drain)
And more under the hood changes
Adapted to Android 10
Updated to latest LineageOS changes
2.7 Build:
NoGravity 2.7 App:
New Backlight Dimmer feature added to GPU page
*Notes :
-You may need to uninstall previous app for it to install
Kernel:
Fixed stucked on 1+ logo while charging issue
While at it, improved that charging screen with battery percentage and colors
Fixed big cores turning off randomly or when gaming resulting in same/constant performance for every sessions or benchmark
Updated to latest LineageOS changes
2.6 Build:
NoGravity 2.6 App:
New App Settings Page
Fast NGK App opening after boot toggle added to app settings*
New Camera Page
New video recording codecs switches added => H.264(Default), H.265(Lower file size) and H.265+(Better Quality)*
Kernel:
DeepSleep issue is fixed!
Reworked Battery profile to make it usable and quite smooth
Battery optimisations
AdrenoBoost modifications to fit NGK’s GPU Overclock and help battery
BCL modifications
Little faster app opening speeds
UI optimisations
Updated to latest LineageOS changes..
[/STRIKE]Placed some performance-critical IRQs and kthreads onto the performance CPU cluster in order to improve performance[/STRIKE] (2.5.1 feature removed in 2.6 to fix deep sleep issues)
And more under the hood changes
*Notes :
-Possibility to remove the delay before opening the app after boot. This works on new ROMs. Old ROMs like Shreesha’s Pixel Experience will need the delay to be enabled.
-H.264 is default OnePlus 2 codecs. H.265 (lowered bitrates) will give you same quality but much lower file sizes. H.265+ may give you slightly better quality with same(stock) bitrates (same file sizes). Best file size reduction will be seen in 4K.
2.5.1 Build:
NoGravity 2.5 App:
Same app just updated Android File Host link because of the "no mirrors found" issue...
Kernel:
Smoothness improvements
GPU maximum frequency is now 650MHz on balance profile instead of 450MHz since not everyone uses profiles and some people like to game on balance too. This will give better gaming experience on default profile.
[*]Random phone not waking up after going in DeepSleep issue should be fixed not fixed will be in next build go 2.4.2 instead if you encounter this issue
Updated to latest LineageOS changes.. Video recording fixed!
2.5 Build:
NoGravity 2.5 App:
K-Lapse Night & Brightness modes toggles added to GPU page
Max overclock toggles states after reboot fixed
No Gravity EAS support
Kernel:
Updated with NGK's latest changes
Missing Underclock frequencies fixed
2.4.2 Build:
NoGravity 2.5 App*:
AGK Kernel support
Kernel:
First Release see features list in OP for full list of features.. AGK has same features as NGK but without Overclocking, Custom Thermals and Profiles.. AGK will continue to follow NGK's features for futur updates
AntiGravity Kernel is now Official CrDroid's integrated kernel! Get the ROM HERE
*Notes : No need to download again support was added way before
ROMS with inbuilt AntiGravity Kernel:
1. CrDroid Pie & Q by Lucy
2. ViperOS by Lucy
3. Pixel Experience by Vicky
4. Liquid Remix by Sarthak
5. Colt Enigma by Abhi
6. Bootleggers by Sarthak

Add elementalx and smartmax_eps governors if you can

Surprise for yall!
New AGK build (2.4.2) is up.. Wait what AGK? Yea you read it right AntiGravity Kernel is here! This kernel is made for ROM developers who wanted to integrate NGK into their ROMs without the heavy modifications that NGK requires. Whats in AGK? everything NGK has to offer except Overclocking, Custom Thermals and Profiles thread updated..

Hey everyone new section added under changelog: ROMS with inbuilt AnitGravity Kernel
This section will be updated when developers release their ROM with AGK inbuilt

Good news! New build(2.5) is out along with new NGK app! Thread updated go see the new What Suits You Best Picture! and please read changelogs...

Good news! New build(2.5.1) is out! Thread updated and please read changelogs...

Good news! New build(2.6) and app are out! Thread updated and please read changelogs...
Yea deep sleep issue is fixed If you are getting app not installed error just uninstall app then re-install!
As I put a lot of time and effort into this project, I now accept donations feel free to help me a little
Donate

Two downloads from two different US mirrors reported as corrupt by TWRP... possible to reupload?

Well I finally got it to load by doing ADB sideload, but when I install the no gravity app, I can't get past the splash screen. It asks for root, I grant it, and it freezes.
Any ideas?

Wonderful kernel - the *only one* that many HAVOC rom's pie camera to work using built-in camera app & 3rd party. ( I tried no-gravity eas but it has that camera/video recording issues ).
is there anyway to add support for fast/quick change for this fork of kernel ( aka "anti gravity" ) ?
thanks !

gps3dx said:
Wonderful kernel - the *only one* that many HAVOC rom's pie camera to work using built-in camera app & 3rd party. ( I tried no-gravity eas but it has that camera/video recording issues ).
is there anyway to add support for fast/quick change for this fork of kernel ( aka "anti gravity" ) ?
thanks !
Click to expand...
Click to collapse
It supports fast charging, but won't be as fast as NoGravity Kernel since it doesn't have a custom thermal configuration

Kernel + App Update
Good news! New build (2.7) and new NoGravity 2.7 app are up , please read changelogs in post #2! thread updated..
Don't forget to take a look at the new Battery Charging Screen! Yea offline charging issue is fixed

Two days in a row I left phone with 20% battery and went to sleep, when i woke up it was turned off. Looks like idle drain on latest version. I have clean flashed crdroid. Will look into battery stats and monitoring, if its some apps caus but i dont think so.

Kernel + App Update
Good news New NGK, AGK & NGK EAS Builds along with the App updates are here! Please do read the juicy changelog! Thread updated quite a lot and new detailed infos about the EAS Kernel in NGK's thread post#3. What suit you best picture with charts to compare the three kernels updated in OP too.
For Android 10 users, make sure you flash latest Magisk after you flash the kernel!
If you don't want root simply do not install the app afterwards
Let's celebrate this new release with a new antutu benchmark record and a new Logo! => (spoiler alert)
As you can see from the new logo, NGK and App will support Xiaomi Pocophone F1 device shortly..
As I put a lot of time and effort into Android development, wmbruckner (OnePlus 2 user now on Pocophone) created a crowdfunding so I can get the device for NGK development,
If you want to support me you can do so here:
https://www.gofundme.com/f/ngk-for-poco

Installed the latest version for android 9. Phone become stop responding. Even after restarting it becomes stop responding after few minutes.

playkish said:
Installed the latest version for android 9. Phone become stop responding. Even after restarting it becomes stop responding after few minutes.
Click to expand...
Click to collapse
Did you wipe dalvik and cache?

does it still make sense to install it on oreo?

chxei said:
does it still make sense to install it on oreo?
Click to expand...
Click to collapse
Yea

playkish said:
Installed the latest version for android 9. Phone become stop responding. Even after restarting it becomes stop responding after few minutes.
Click to expand...
Click to collapse
Thats weird should work no problem.. You can try dirty flashing ROM again and then kernel + magisk

Related

arter97 kernel for Galaxy S6

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
arter97 kernel for Galaxy S6 / S6 edge / Note 5 / S6 edge Plus​
/* Details */
Upgraded to the latest Linux 3.10
Latest Linaro LSK kernel fully merged
Based on the latest Galaxy S6 / Note 5 kernel sources
Fading LED by AndreiLux and other Note 4 developers
Proper, full support for f2fs & backported from latest stable Linux
CPU undervolt support with Synapse
Display color switcher implemented
- Original code from gokhanmoral's Siyah kernel for i9300
- Toggle by quadruply tapping the multitasking button
- This may not work on edge variants
Sound-control by AndreiLux offered for Galaxy S6
- Download soundcontrol zip file
- Control available at Synapse app
- You may encounter in-call audio issues with this
- Install the regular version if you don't need this
--- Performance & responsiveness improvements ---
UI lags fixed with binder patch
Full unaligned access enabled
Processor scheduler improvements from AndreiLux
Uses LZ4 with zswap
Dynamic fsync from faux123
Networking speed improvements
Random driver backported from mainline Linux
Westwood as default TCP network congestion control
Built with latest Linaro GCC toolchain with latest GNU linker
Entropy hook on storage removed
Default file-system mount option with noatime
ROW I/O scheduler added and set to default
Scheduler, workqueue, network drivers, file-system drivers, commits properly ported from mainline Linux and CodeAurora(Qualcomm)
Interactive CPU governor replaced with CodeAurora(Qualcomm)'s one
Reduced screen-on delay with boosted CPU cores on resume
--- Memory efficiency & management improvements ---
LowMemoryKiller source-code revamped
Various memory tweaks applied
Memory-management commits properly ported from mainline Linux and CodeAurora(Qualcomm)
--- Battery life improvements ---
Intelligently moves apps to LITTLE cores
Power-efficient workqueues from Linaro enabled
Interactive CPU governor patched for better battery life
NVIDIA's power-efficiency improvement commits applied
Power-managements commits properly ported from mainline Linux and CodeAurora(Qualcomm)
And many others... please read the changelog
/* Switch to f2fs */
As mentioned above, this kernel fully supports f2fs.
However, you are completely free to choose not to use f2fs.
You can selectively convert partitions to f2fs using TWRP provided in the downloads.
You should use the provided TWRP at all times after you switched to f2fs.
/* Disclaimer */
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this kernel
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
/* Supported devices */
--- Galaxy S6---
SM-G920F
SM-G920I
SM-G920S
SM-G920K
SM-G920L
SM-G920T
SM-G920W8
--- Galaxy S6 edge---
SM-G925F
SM-G925I
SM-G925S
SM-G925K
SM-G925L
SM-G925T
SM-G925W8
--- Galaxy Note 5 ---
SM-N920C
SM-N920I
SM-N920G
SM-N920S
SM-N920K
SM-N920L
SM-N920T
SM-N920W8
--- Galaxy S6 edge Plus ---
SM-G928F
SM-G928C
SM-G928I
SM-G928G
SM-G928S
SM-G928K
SM-G928L
SM-G928T
SM-G928W8
/* Warning */
Redistribution, modifying files used within this project's file or integrating with other projects are prohibited with no exceptions other than my projects.
Making mirrors, re-uploading to another servers are also prohibited with no exceptions.
/* Downloads and links */
I cannot test this kernel with TWRP.
Switching to the provided PhilZ Touch recovery is highly recommended for all users.
arter97.com
/* Thanks to */
AndreiLux
faux123
Linaro
MinL(xens0117)
hsk from Matcl
CodeAurora
/* Contact */
Email : [email protected]
Twitter : @arter97_dev
/* Known issues */
None
/* Installation */
1. Put the downloaded kernel on your internal storage
2. Enter ClockworkMod(or PhilZ) recovery
3. Flash kernel
XDA:DevDB Information
arter97 kernel for Galaxy S6, Kernel for the Samsung Galaxy S6
Contributors
arter97, AndreiLux
Source Code: https://bitbucket.org/arter97/android_kernel_samsung_exynos7420
Kernel Special Features:
Version Information
Status: Stable
Created 2015-08-03
Last Updated 2016-06-19
/* Changelog */
22.0 - EOL
Support for future firmwares are not guaranteed!
Fixed support for systemless SuperSU
Latest G920FXXU4DPGW sources merged
Linux 4.8 random drivers merged(12 times faster)
- Please remove Seeder if installed as it's completely unnecessary
TWRP rebuilt with latest f2fs-tools v1.7.0
I/O scheduler optimization for UFS(nr_requests)
Added support for Note 7(Grace UI) ROMs
- Please download the right kernel; it's in another directory
- Incomplete support. Few features might be broken as Samsung have not released the sources.
21.1 - EOL
Support for future firmwares are not guaranteed!
Added support for systemless SuperSU
ADB daemon replaced to stock ones
ADB switched to secure mode
TWRP rebuilt with stock adbd for better compatibility
Galaxy S6 flat - LDU correction disabled
21.0
Memory managements sources related to compression merged with Galaxy S7
Swappiness set to 190 for Galaxy S6
Reverted HMP scheduler commits that causes random kernel panic
Enabled HW accelerated SHA2, GHASH, AES_CCM, AES_NEON_BLK
Reverted cpuidle commits to improve performance
Recovery rebuilt to fix adb sideload, f2fs conversion
Fixed Synapse error for Galaxy Note 5, S6 edge Plus
Support added for Xbox game controller
20.0
Major memory leak fixed
Implemented new feature that moves background applications to LITTLE cores automatically to save power
- Default is set to move unimportant apps to 1 LITTLE core(cpu0)
- You can use Synapse to make it more aggressive - move all background apps(including apps like music player) to LITTLE cores(cpu0~3)
Applied upstream f2fs bug fixes
Revamped CPU governor to fix misc issues due to improper merges
ren_max_freq renamed to scaling_max_freq to fix apps like Kernel Aduitor
DVFS auto resetter implemented to workaround ROM's DVFS race-condition resulting in 1200 MHz clock stuck
Removed dynamic fsync for better reliability and memory efficiency
Re-applied previous Mali GPU commits (by AndreiLux)
- Fixes voltage control
- Adjusts throttling threshold
Merged latest memory management behaviors from Nexus 6P Android N and Galaxy S6 stock ROM
Latest Samsung kernel sources merged
Re-introduced sound-control by AndreiLux as a separate release for Galaxy S6
- You may encounter in-call audio issues with this
- Install the regular version if you don't need this
SysV IPC removed
LOAD_FREQ adjustment hack removed
Kernel tick clock changed from 100 Hz to 300 Hz for better performance
Memory management commits from Nexus 6P Android N merged
Few commits and hacks attempted to reduce resume time
Stand-by ARP and multicast packet filters enabled on Wi-Fi drivers (by AndreiLux)
Built with Linaro GCC 6.1
Binder replaced with CodeAurora sources used with Snapdragon 810
ADB updated
Support added for SM-G920T/W8
Support added for SM-G925T/W8
Support added for SM-N920C/I/G/S/K/L/T/W8
Support added for SM-G928F/C/I/G/S/K/L/T/W8
13.1
Updated to Linux 3.10.101
f2fs updated to Linux 4.7 merge window
Music studderings while screen-off fixed
DriveDroid support added
Synapse fixed
Few memory optimizations
TWRP recovery updated to 3.0.2-0
13.0
Updated to Linux 3.10.100
f2fs updated to Linux 4.6 merge window
Removed improper OOM operations resulting in lags
Merged some optimizations from Liquorix kernel
vnswap updated to Galaxy S7 kernel
Few arm64 optimizations added from upstream Linux kernel
Re-merged HMP scheduler updates from Linaro LSK kernel
Fixed OTG and MTP on TWRP recovery
12.0
Updated to Linux 3.10.98
Support for Android 6.0 added
Support for Android 5.1 dropped
- You will encounter boot issues if you're not properly on Marshmallow firmware
Switched to TWRP recovery
- Make sure to use SuperSU v2.68+ if you want to root your device
Switched to Linaro toolchain 5.3 with GNU linker 2.26
f2fs updated to Linux 4.5 merge window
Adaptive LMK disabled by default
SLUB memory allocator performance improved
Insecure ADB from Android N merged
- Make sure to disable USB debugging if you don't use that feature
zswap, zsmalloc(used with vnswap) merged from latest upstream Linux
Memory managements tweaked
interactive CPU governor tweaked for better responsiveness
Note 5 - used GPU configurations from the S6
11.0
Updated to Linux 3.10.94
Latest Note 5, S6 kernel sources merged
Latest ramdisk, dtb.img merged
Slow Wi-Fi turn-on issue fixed with memory tweaks
X (10.0)
https://en.wikipedia.org/wiki/Roman_numerals
Few possible binder errors fixed
Minor compiler optimizations done to binder
New linker used with compilation (hg-binutils 2.25.51.0.4)
10.0-beta2
Samsung framework's automatic application killer(SPCM) re-enabled
Adaptive LMK re-enabled
scaling_max_freq renamed to ren_max_freq
- Please use Synapse to change CPU max frequency
Core limit on screen-off removed
- Careful observation shows there's not much of a difference
Responsiveness and power consumption tweaks made to hotplugging driver
10.0-beta1
Stand-by ARP and multicast packet filters enabled on Wi-Fi drivers
- This may potentially help battery drain on Wi-Fi connected
CPU max frequency override blocked
Samsung framework's automatic application killer(SPCM) disabled
All A53 cores are now allowed to be turned on during screen-off
Few commits reverted to fix screen-on delay
Adaptive LMK disabled to improve multitasking and potentially increase battery life
Fixed an issue with bottom keys unusable when external output is connected
9.4
Updated to Linux 3.10.93
10.0-alpha discontinued after confirming zram's performance is worse than zswap+vnswap
10.0's display color switcher implemented
- Original code from gokhanmoral's Siyah kernel for i9300
- Toggle by quadruply tapping the multitasking button
- This may not work on edge variants
Added option to allow A57 cores to be turned on during screen-off
(Check the OP's reserved post for details)
Possible race-condition during boot fixed
Memory reclaiming function completely removed to fix performance degradation as time goes on
10.0-alpha3
9.3 changes merged
A new display's color switcher implemented
- Original code from gokhanmoral's Siyah kernel for i9300
- Toggle by quadruply tapping the multitasking button
9.3
Switched back to Samsung's CPU governor to fix performance weirdness
CPU governor patched to be more responsiveness
Boot time decreased
10.0-alpha2
9.2 changes merged
CPU frequency boosts on hotplugging to improve responsiveness
9.2
CPU governor downgraded to LA.BR.1.3.2 to improve performance
Kernel panics related to process reclaim fixed
10.0-alpha1
f2fs updated to Linux 4.4 merge window
Process reclaiming code from LG G4 added to LowMemoryKiller
Adaptive LMK disabled for better multitasking
zram and its dependencies updated to the mainline Linux
Replaced zswap+vnswap with zram
Swap size reduced from 1280MB to 1024MB
zram can be potentially faster than zswap with parallelized compression - max_comp_streams
If testing doesn't show improved memory managements, zram will be removed
This kernel is unstable and regular end-user should avoid it.
Try this only if you're brave and back-up before you proceed.
9.1
Kies, Smart-Switch issue fixed
Added proploader for customizing kernel parameters
9.0
Major performance degradation issue fixed
9.0-beta7
DT2W(Knock-On) removed for saving CPU cycles
FAST mode on vnswap disabled to fix random reboots(kernel panic)
CPU governor updated to LA.BF64.1.2.2_rb4.6
9.0-beta5
IRQ, CPU hotplug commits reverted to reduce screen-on delay
Hotplugging reconfigured to drastically reduce screen-on delay
Cortex-A53 errata 843419 fix re-enabled to fix invalid instructions
Possible no-deep-sleep issue fixed
9.0-beta4
"CPU cores boosted on screen-on request" reverted to fix screen-on delay
Exynos 7420 IPA and PMU changes applied to CodeAurora's CPU governor
9.0-beta3
Hotplugging properly disabled during screen-on for saving few CPU cycles
Only 2 A53 cores are allowed to be turned on during screen-off
- This significantly helps saving battery life during screen-off
more than just lowering CPU frequency
CPU cores boosted on screen-on request earlier than stock kernel by hundreds of milliseconds
for reduced screen-on delay
Interactive CPU governor replaced with CodeAurora(Qualcomm)'s one
- This version has many advancements compared to stock version
(Benchmark)
8.1
RCU, IRQ, topology merged with CodeAurora(Qualcomm)
ION: system heap allocation time reduced
Korean Wi-Fi firmware installation removed for S6, S6 edge variants
8.0
Updated to Linux 3.10.92
8.0-alpha2
Hundreds of file-system drivers, memory-management commits ported from CodeAurora(Qualcomm)
This kernel is unstable and regular end-user should avoid it.
Try this only if you're brave and back-up before you proceed.
8.0-alpha1
Scheduler, workqueue, network drivers, power-managements commits backported from mainline Linux and CodeAurora(Qualcomm)
for better performance, responsiveness and power consumption
(Thanks to XileForce)
This kernel is unstable and regular end-user should avoid it.
Try this only if you're brave and back-up before you proceed.
7.2
Bluetooth fixed for S6, S6 edge variants
7.1
Wi-Fi drivers updated for S6, S6 edge variants
Unnecessary blobs removed for S6, S6 edge variants
- Reinstalling ROM is recommended before installing 7.1 kernel
7.0
Updated to Linux 3.10.91
Graphics drivers updated
PhilZ Touch recovery updated
- Fixes USB storage unusable after first eject
- Fixes kernel, recovery, EFS backups
7.0-beta2
SELinux completely disabled
- This should greatly increase available memory, however might decrease stability as Touchwiz Android 5.1 is full of hardcoded SELinux stuffs
Dual-Sim model support dropped due to development inconsistencies
7.0-beta1
LowMemoryKiller minfree, vmpressure adjusted for better multitasking
Latest Note 5, S6 kernel sources merged
Latest ramdisk, dtb.img merged
Input booster issue fixed for S6, S6 edge variants
CONFIG_EXYNOS5_DYNAMIC_CPU_HOTPLUG_SLEEP_PREPARE set to 1 for better stand-by battery life
Support for G9208, G9200, G920FD, N9208, N9200, N920CD added (untested)
- Please read the 'Supported devices' section
- These variants are untested, please report if it's not working as intended
7.0-alpha2
LowMemoryKiller durp fixed
Kernel panic log shortened to prevent truncation
This kernel is unstable and regular end-user should avoid it.
Try this only if you're brave and back-up before you proceed.
7.0-alpha1
LowMemoryKiller replaced with CodeAurora(Qualcomm)'s version
LowMemoryKiller optimizations(via RBTREE) by Motorola merged
Adaptive LMK enabled
LMK values updated from Nexus 6
f2fs and other drivers updated to use new shrinker API
Automatic process-based memory reclaim method added and enabled
"Drop file-system caches on screen-off to reduce screen-on delay" reverted
This kernel is unstable and regular end-user should avoid it.
Try this only if you're brave and back-up before you proceed.
6.0
f2fs updated to Linux 4.3-rc4
ROW I/O Scheduler by Qualcomm added and set as the default
5.1
Updated to Linux 3.10.90
TCP Congestion Control set to westwood
N920G and G928G support added
5.0
Updated to Linux 3.10.88
Major memory managements changes for better responsiveness
- Reverted vfs_cache_pressure back to 100
- Dirty writeback adjusted(reduced)
- dirty_expire_centisecs and user_reserve_kbytes tweaked
- Drop file-system caches on screen-off to reduce screen-on delay
- S6 & S6 edge - LowMemoryKiller values tweaked
- Note 5 & S6 edge Plus - LowMemoryKiller values reverted back to stock
- Replaced FHA with DHA
- swap-on-disk disabled by default(/system/swapfile)
4.3
Power efficient workqueues enabled by default
Few optimizations to storage performance
Added option to revert back to stock memory managements
- This will give you even better responsiveness at the cost of vastly reduced multitasking performance and increased chance of background services malfunctioning
- Install use_stock_memory_managements.zip from the recovery to enable
- Remove /system/bin/lmktweak to disable
- This will only work on 4.3+ versions
- This is not enabled by default
4.2
Sound-control temporarily removed for fixing in-call volume
4.1
Potential performance degradation issue fixed
VPNCLIENT_SECURITY enabled
(Fixes Wi-Fi calling on T-Mobile)
4.0
G920FXXU2COH2 source drop merged (S6/S6 edge only)
- Wi-Fi drivers updated
- Sensor drivers updated
- Touch firmware updated
- Modem drivers updated
- Charger/battery drivers updated
G928F,T,W8 support added
Sound-control by AndreiLux added
Synapse loading fixed
Serious malfunction related to LowMemoryKiller issue fixed
Attempt made to fix T-Mobile Wi-Fi calling (Note 5/S6 edge Plus only, untested)
3.5
Boot issues with G925F, G925I fixed
Source codes related to charging has been reverted back to Galaxy S6 ones
(Should fix charging weirdness)
3.4
Reverted - NVIDIA power saving commits extended by AndreiLux
3.3
Attempted to fix durped 3.0 release #2
Accelerometer error fixed
MP3, AAC(M4A) playback error fixed
N920SKSU1AOH4 kernel sources merged
TCP Congestion Control set to bic
3.1
Attempted to fix durped 3.0 release
NVIDIA power saving commits extended by AndreiLux
3.0
Base changed to G928CXXU1AOGF (Galaxy S6 edge +)
- This introduces all sorts of internal improvements including performance, power consumption and compatibility for ROMs like back-to-n0t3 -
- Installing this will switch your ROM's Graphics drivers to the Note 5 ones! -
NVIDIA's power-efficiency improvement commits merged
Potential installation failure fixed
2.4
io_is_busy enabled for better responsiveness
Disabled unnecessary daemons
Fixed I/O scheduler settings
2.3
Updated to Linux 3.10.87
Revert and set overcommit_memory to 1 (Android default)
Renamed G920F, G925F release for G920I, G925I compatibility clarification
2.2
Added Note 5 firmware support
2.1
Fixed potential freezes and performance bottlenecks at the cost of higher app kills(lmk) in the background
2.0
Updated to Linux 3.10.86
G920I,S,K,L,T,W8 and G925F,I,S,K,L,T,W8 support added
(untested)
Exhaustive, periodic freeze fixed
Memory managements improvements
- overcommit_memory set to 0 (heuristic overcommit handling)
- vnswap size decreased back to stock (1536MB to 1280MB)
- vfs cache pressure set to 10000 for more memory reclaims
f2fs updated to Linux 4.2-rc6
Hotplugging scheduler improved by AndreiLux on screen-off
Erratum fixes removed - Exynos 7420 doesn't suffer from this
General installation durp fixed including TWRP
Ramdisk updated for maximum compatibility
HDCP protection disabled
Experimental Synapse support added
(untested, manual installation required)
1.0
Initial release
/* Customizing kernel */
You can install Synapse from the Play store to control voltage and other frequencies.
To control some core kernel parameters, create /sdcard/arter97 as a directory and do the followings
--- Enable Adaptive LMK ---
Enabling Adaptive LMK will increase responsiveness at the cost of reduced multitasking capabilities and battery life.
Create a text file with 1 letter "0" under /sdcard/arter97 named "adaptive_lmk" and reboot
--- Disable LED fade ---
If you have issues with other 3rd-party LED controlling apps, try disabling it.
Create a text file with 1 letter "0" under /sdcard/arter97 named "fade_led" and reboot
/* To kang or not to kang */
I prefer "open" to all stuffs, explicitly except for my personal kernels.
I've once used to use private Git repository for my kernels and just release the source-codes as a tarball,
which means that other developers who are interested in my kernel's changes would not get the specific changes they want while not violating XDA forum rules or GPL.
That was almost 3 years ago which by then, I was a newbie developer on XDA.
I was afraid other big developers merging all of my changes and I'll get buried down.
However, I've changed my mind and opened up my Git access to everyone after thinking my previous actions did not belongs to XDA's spirit.
That was a big move for myself of re-thinking what should be open.
Later down on the road as I gained more development skills, I've contributed into CyanogenMod and other's custom kernel and ROMs for fixing stuffs, introducing new concepts or improving performance.
During such process, there were quite a lot of occurrences where I was actually the first one to do those things.
For those who're familiar with "temasek ROM", you may know that after I became a contributor, temasek rose even more into the center of other AOSP ROMs' attention, as I was the first to introduce new exciting stuffs such as compiler changes or f2fs. And I quickly gained dozens of followers on my GitHub account.
And eventually, people *kang*ed my changes. Sometimes invalidating my authorship.
It surely is not a right thing to do, but I let it slide as it didn't matter that much. I believed that if my changes are good enough, it'd be better to end up with a larger user base rather than being a **** trying to hunt down every ROM developers who're doing it wrong.
Same story goes to my ROMs.
My real first popular ROM was back-to-n00t, which is a ported ROM from Galaxy S3 LTE to provide stable Touchwiz KitKat experience to the Galaxy S3 3G users.
I opened up everything to GitHub. And I even encouraged that other ROM developers to use my ROM as a base to work on their own ROM as I knew there are a lot of Touchwiz ROM cookers who're way better than me on modifying SystemUI or frameworks(via smali) BUT aren't too good on porting ROMs. I hoped that my ports can be a great base for others to work on their own modifications.
Now those spirits repeated on the Galaxy S6, I opened up everything about back-to-n0t3.
However, I do not do or believe those same things with the kernels.
There are far less kernel developers on XDA compared to ROM developers. ROMs are much more appealing for an "Android newbie" to go tweak. You can modify UI, enable some hidden settings and even port features from another devices.
So when ROMs gets copied off, users can easily distinguish if that was stolen or not.
Let’s say a well-known developer A ported S6 designs and features to the S4. Next day, less-known developer B uploads a ROM on XDA that claims to do the same thing. First thing that comes to the users’ mind would be ‘Is that guy a thief?’.
However, same thing cannot be said on the kernels as they work on a much lower level. You can’t distinguish individual custom kernels just by staring at your phone.
If a ROM developer choose to go use other’s custom kernel and integrate it into their ROM, it’s most likely that users won’t appreciate that custom kernel developer whose work powers that ROM. Let’s face it, not all users care about “Thanks to”, “Credits” sections, and let me tell you, those are the majority. Now some custom kernel developers might be OK with that. However, I’m not. Unlike most developers on XDA, I got fascinated to Android because it runs on Linux kernel. Modifying Linux kernel was the first thing I’ve done on my Android device, not modifying ROM. And I spent years and years on gaining information on Linux/Android kernels and tweaking, coding myself. While I don’t necessarily care users choosing to NOT use my kernel, I cannot stand that my kernel would be installed on one’s device which its owner don’t even know which kernel, which developer who made that kernel is. That is why I’m against with the idea of integrating custom kernels into custom ROMs. If you want your users to have a custom kernel, let them learn themselves what that kernel really is, what does it offers, and who developed it. “For the ease of flashing/installation” is not an excuse for me. Take yourself a few more minutes to download a kernel from the web, and a few more seconds to flash a secondary ZIP file from the recovery. Is that hard? Time-consuming? Absolutely not.
I hope everyone gets the idea why I'm sticking with the idea of "don't integrate my kernel into others".
Cheers.
Reserved 4
Reserved 5
Reserved 6
Stuff like this makes me want to root! -_-
Ohhhhhuuuu yes!!!! DT2W ohhhuuuuuuu yes!!!!!
No download link hmmm not working with twrp?
Is it for 5.0.2 or 5.1.1 or both firmware?....can i flash using twrp on my s6 g920f?...TQ
Awesome
Just installed on XtreStoLite DeoModEdition 2.1 and the first thing I noticed was how much faster my s6 boooted up, oh my! Thank you so much! Double Tap 2 Wake doesn't seem to be working for me, any suggestions?
tried to flash recovery on g925f and once its flashed and you try to boot into recovery the screen just flashes and then stays black.
C.H.T.J. said:
Ohhhhhuuuu yes!!!! DT2W ohhhuuuuuuu yes!!!!!
No download link hmmm not working with twrp?
Click to expand...
Click to collapse
Huh?
Sent from my SM-G920F using XDA Free mobile app
hazri1974 said:
Is it for 5.0.2 or 5.1.1 or both firmware?....can i flash using twrp on my s6 g920f?...TQ
Click to expand...
Click to collapse
Sorry, I'll add to the OP later.
Only 5.1. Not 5.0.
Sent from my SM-G920F using XDA Free mobile app
thecrab93 said:
Just installed on XtreStoLite DeoModEdition 2.1 and the first thing I noticed was how much faster my s6 boooted up, oh my! Thank you so much! Double Tap 2 Wake doesn't seem to be working for me, any suggestions?
Click to expand...
Click to collapse
It's disabled by default.
Enable it with TricksterMod or something.
Sent from my SM-G920F using XDA Free mobile app
Synapse works? Or need uses another app? Foe f2fs need a factory reset?
jabawarkie said:
tried to flash recovery on g925f and once its flashed and you try to boot into recovery the screen just flashes and then stays black.
Click to expand...
Click to collapse
G925F support will come in the future.
Sent from my SM-G920F using XDA Free mobile app
thecrab93 said:
Just installed on XtreStoLite DeoModEdition 2.1 and the first thing I noticed was how much faster my s6 boooted up, oh my! Thank you so much! Double Tap 2 Wake doesn't seem to be working for me, any suggestions?
Click to expand...
Click to collapse
Flashed with twrp!?
No, used PhilZ from arter97
Here the link : http://arter97.com/browse/S6/kernel/1.0/
---------- Post added at 11:30 AM ---------- Previous post was at 11:29 AM ----------
arter97 said:
It's disabled by default.
Enable it with TricksterMod or something.
Sent from my SM-G920F using XDA Free mobile app
Click to expand...
Click to collapse
Thanks!
Glad to see you here. Loved your previous work, and hope I can check out your future work if it comes to the G920i.

[KERNEL][G900H] duki994 Kernel v1.9 [MM][STOCK]

duki994 Kernel for Stock TouchWiz MM ROMs​
Development stopped. I don't have device anymore​
This is for MM only!!! For LP go to duki994 LP kernel thread
LP kernel thread
It's based on official Samsung CPE6 sources for Marshmallow firmware.
Important note:
This kernel should work on any custom ROM that is stock lollipop based and is based on stock CPE6 source
Features:
* Wolfson Audio control adapted to G900H implementation (thanks to @AndreiLux)
* Charge control by me (@duki994)
* CPU voltage control for both A7 and A15 cluster (thanks to @AndreiLux)
* Exposed all OPP voltage controls (thanks to @AndreiLux)
* LED fading control (thanks to @AndreiLux)
* Powersuspend v1.7 by @faux123 and @Yank555
* MM and FS powersuspend mods ported from @dorimanx's LG G2 kernel
* SCHED code fixes
* SCHED: HMP thresholds changed and new patches implemented
* OF code updated --> better/faster reading of DTS and faster operation
* Many changes related to ARM instruction code and lowlevel ARM core management
* Enabled NEON mode in kernel with full VFPV4 support
* Added new SHA256 , SHA512, SHA1, ASH2 and AES NEON accelerated algortihms - now blazing fast
* WiFi fixes
* NET updates
* LMK updated and added new feature: Adaptive LMK --> better multitasking
* Enabled all TCP congestion protocols and set Westwood as default (best wireless performance)
* Wakelock disabler: You can disable some common Samsung wakelocks in Synapse "Misc" tab if some of them are draining your battery
* Fully configurable in Synapse application (download from Google Play)
For kernel configuration use Synapse
Download from Google Play.
Google Play link for lazy people:
https://play.google.com/store/apps/details?id=com.af.synapse
/* Important note to other devs */
You cannot include this kernel in your ROMs. I can't be responsible if anything goes wrong, I can't help with any issues without knowing kernel version and users should be routed to this thread if they want this kernel, or if you recommend it. I think that it's best to separately view custom ROM and custom Kernel, so each dev (ROM or Kernel one) can work on bugs/features and make it as compatible as it can.
However, you can add this thread link and mention me in your thread, as so people would know where to ask if kernel problem arises. I will do the same for you
Warranty void
By flashing this kernel you will void your warranty. I'm not responsible if you brick your device, or if someone starts nuclear war.
Note:
Don't change voltages on "Busses" tab if you don't know what you are doing. It can reboot your phone if your memory controllers, ISP or MMC controllers that can't handle low voltage.
If someone happens to have bug with WiFi saved password being lost every reboot, here is fix:
WiFi pasword resetting fix:
Code:
1. open your build.prop file
2. find line ro.securestorage.support
3. change it from true to false (if not already false)
This line being on true WILL make your WiFi forget password each reboot. This is due to Samsung's rooting restriction and other Samsung specific workarounds to stop rooting and flashing. Any custom ROM probably has this line changed to false.
GitHub sources:
Kernel:
https://github.com/duki994/g900h_mm_kernel
Ramdisk:
https://github.com/duki994/g900h_mm_ramdisk
SuperSU problem fix:
After each kernel installation you'll need to reinstall SuperSU from Play Store or from apk.
I'm trying to solve this problem currently.
Root and busybox work as intended. Problem is only with SuperSU app.
Downloads folder:
https://www.androidfilehost.com/?w=files&flid=91231
Downlads mirror:
https://app.box.com/s/v8txuc1n82l48sksdhf2obx2blupol4c
Always make backup of boot partition in case something goes wrong!!! You have been warned
Stock CPE6 flashable kernel:
It's found in downloads folder and in downloads mirror.
Changelog:
Version 1.9 BETA
* MM updates
* IRQ and ARM GIC (Generic Interrupt Controller) updates
* CPUFREQ critical performance and battery saving updates for big.LITTLE architecture
* ARM arch specific updates and workaround for various bugs from Linaro LSK 3.10.x tree and ARM devs
* EXT4 and FS updates for better performance and less CPU usage. Also some code cleanups.
* NET updates
* Silenced mDNIe dmesg hooks. Not needed now as mDNIe control is working as it should.
* RCU NOCB ALL for better softirq workings in kernel (should provide boost to moderate usage)
Version 1.8
* Added mDNIe control (display color interface like KCAL for Qualcomm) (thanks to @AndreiLux)
* Interactive governor updated (will stay on min freq and not ramp up when load is <5%)
Older versions changelog:
Version 1.7
* Further LMK updates. Ported LMK driver from arter97's S6 repository (much faster code with less task searching and choosing loops)
* MM updates needed for new LMK
* Added several protected apps within code
Version 1.6
* Reverted some LMK changes and fully implemented ADJ_RBTREE in Samsung's OOM LMK code (this should fix some performace issues (like small lags) while freeing RAM)
* Added several system processes in LMK protected apps (LMK won't kill them unless your system RAM is highly overloaded and on verge of collapse)
Version 1.5
* Interactive governor optimizations and tunings from other Exynos kernels and other devs + me (mostly from S6 kernels)
* Interactive governor screen off power save
* MM updates
* MemInfo updated so Android OS can have better memory stats and thus better memory management
* Hardcoded some props like securestorage support and TIMA so that they are false/0/off.
* Power management code updated
Version 1.4
* Workaround headset outbound call BUG (thanks to @ponkz for reporting this nasty bug)
* Clean up some code and correct several descriptions in Synapse.
Version 1.3
* Made "Main speaker gain" control for new Clearwater based Arizona-class sound control
Version 1.2.1
* Correctly calibrated equalizer frequencies in sound control (thanks to AndreiLux for tip)
* Updated interactive governor
Version 1.2
* Added IPA thermal trigger temp control
* Removed some battery saving features that were actually DRAINING BATTERY
----> HMP little packing, PE workqueues removed
* Removed Wakelock Control because it causes SoD's when user disables important wakelock!
* Added new 8-band EQ Sound control made for S6 that work awesome (god bless @AndreiLux)
----> it has even per channel 8-band EQ's
* Made some compatibility improvements
Version 1.1
* Added GPU voltage control
* Fixed some ramdisk scripts
* Optimized compiler flags for GPU code
* ro.secure=0 and ro.adb.secure=0 so ADB is now like unchained beast for those who like to play with ROMs and system files and have bootloops
XDA:DevDB Information
G900H MM Kernel, Kernel for the Samsung Galaxy S5
Contributors
duki994
Source Code: https://github.com/duki994/g900h_mm_kernel
Kernel Special Features: Voltage control, Sound control, Charge control, Freq control, LED control
Version Information
Status: Stable
Current Stable Version: 1.8
Stable Release Date: 2016-08-16
Current Beta Version: 1.9
Beta Release Date: 2016-08-21
Created 2016-07-27
Last Updated 2016-11-10
Reserved
CPU OC is unnecessary for our device.
And CPU underclock won't save more battery.
It'll actually drain more battery.
On very low freqs CPU can't finish task and needs to bump freq up. The freq changing is much more power costly than being on stock 500mhz min for A7 and 800mhz min for A15.
Look at power curves.
We have power curves similar to those on 5433, just about 20% lower I think
This are high performance cores (A15, A57, A72...)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And this are for power-saving cores (A7, A53...)
The shape of curve for our chip is almost same, only with lower consumption. Look how exponentially it increases as you put frequency after 1.2GHz.
So if I enable OC to, let's say, 2GHz, then power consumption would be 20% higher than on 1.9GHz and performance would be 4% higher.
But don't let that fool you. Phone may last 2s-3s on 2GHz. Then it would throttle down when it overheats due too much power dissipation.
So in the end you get much lower performance than you would have on 1.9GHz.
And keep in mind that Exynos 7420 is built on 14nm FinFET technology, and Exynos 5422 is 28nm HKMG.
So we may use a bit more power than 7420.
My observation:
I get maximum performance on 1.8GHz. Phone is heating at least 10 celsius degrees less than on 1.9GHz so almost no thermal throttling.
For games and high performance apps, I suggest that you lock A15 core cluster on 1.8GHz.
Source for Exynos 7420 in-depth review:
http://www.anandtech.com/show/9330/exynos-7420-deep-dive/5
Tips & Tricks
I suggest you use Xposed for Samsung MM ROMs and Xposed module called XTouchWiz.
They are both maintained by @wanam
XTouchWiz ​ Recommended settings:
* Disable TouchWiz DVFS (you'll get enormous performance boost)
* Disable KNOX/TIMA (disabled TIMA in kernel, but XTouchWiz uses Xposed method hooks to disable it in ROM)
XTouchWiz thread and download link in @wanam's thread:
http://forum.xda-developers.com/xposed/modules/app-xtouchwiz-customize-stock-samsung-t3296878
Xposed for Samsung Marshmallow ​ Latest version and download links in @wanam's thread:
http://forum.xda-developers.com/xposed/unofficial-xposed-samsung-lollipop-t3180960
:good::good::good:Great great great...My waiting is finished. thanx a lot for great surprise. Flashing...:good::good:
Good to see you back )) you made my day bro
Is it permissive????
Sent from my SM-G935F using Tapatalk
BlueZ said:
Is it permissive????
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
Not on boot. You can set it to permissive in Synapse.
But I use patched sepolicy from SuperSU (thanks to Chainfire), so permissive/enforcing shouldn't make too much difference (or problems) anyway
duki994 said:
Not on boot. You can set it to permissive in Synapse.
But I use patched sepolicy from SuperSU (thanks to Chainfire), so permissive/enforcing shouldn't make too much difference (or problems) anyway
Click to expand...
Click to collapse
Thanks I'll try it
Sent from my SM-G935F using Tapatalk
TheDarkSithLord said:
Good to see you back )) you made my day bro
Click to expand...
Click to collapse
Thanks
P.S
Do not quote OP. Never!
Please edit your post and delete OP qoute before moderators do it. It's against XDA rules for a good number of reasons.
One of them is:
If I make changes to OP they won't be reflected to your quote in your post and someone may miss very important info.
Please consider this. It's for good of other users of any kernel/ROM/app on XDA
Sent from my SM-G900H using Tapatalk
Nice I will try it as soon as i get back home. Thx for the hard work.
what about battery life
shahram Ali said:
what about battery life
Click to expand...
Click to collapse
For me, alpha versions were awesome. This one should be better.
Especially when on WiFi/Data or any other internet connection.
If you have bigger battery drain, then you have something wrong in you ROM setup/boot scripts.
Plus wait for a few days to get accurate battery life. I released this version today so no objective batt life readings yet
Be patient and ot'll pay off
Sent from my SM-G900H using Tapatalk
Does it support private mode and other *stock* kernel supported apps?
iDouvie said:
Does it support private mode and other *stock* kernel supported apps?
Click to expand...
Click to collapse
Try and see. I have no need for private mode and I don't use it.
Fingerprint works, S Health and other work too.
I suggest using XTouchWiz and disabling DVFS
Sent from my SM-G900H using Tapatalk
duki994 said:
For me, alpha versions were awesome. This one should be better.
Especially when on WiFi/Data or any other internet connection.
If you have bigger battery drain, then you have something wrong in you ROM setup/boot scripts.
Plus wait for a few days to get accurate battery life. I released this version today so no objective batt life readings yet
Be patient and ot'll pay off
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
I am tested ut and not that much i will use it for 24 hours then if i saw any bug i will report dude i lived ur LP kernel and this one not bad for battery but greenapple kernel was better hope see next version with better battery
Top notch kernel as always.. can u share ur best battery setting in synapse mr @duki994 because i need a little more battery saving..
Thanks :victory:
Report after first day 0f usage ) kernel is amazing ) battery life is wonderful ) my phone isn't lagging at all)) good job @duki994 ) also thanks to @somadsul for his green apple Kernel ) keep it up too or duki will understand that he beyond compression and will add features not one by one but half by half as nvidia do now )))))
P.S that was a joke
P.P.S about kernel awesomeness it's not a joke
Cheers ))
ponkz said:
Top notch kernel as always.. can u share ur best battery setting in synapse mr @duki994 because i need a little more battery saving..
Thanks :victory:
Click to expand...
Click to collapse
If you really need mre battery saving then replace battery. I'm serious.
I get like 1hr SoT and 80% battery. Just a bit worse than my old G2 with enormous masterpiece, Dorimanx kernel.
Use XTouchWiz and disable DVFS. Everything else sjould work much better.
I can't fully disable DVFS for exynos 5422 in kernel. It's at least 70% userspace and uses ioctl commands.
That's what Samsung did. Disable DVFS via XTouchWiz (via Xposed framework) and you're OK
Can't fix that in kernel. And it uses too much battery.
For power saving, undervolt by 25mV all cores (A7 + A15) and use ROW or NOOP sched. But performance will be at leas 10% lower for maybe 30min more SoT. Maybe !!!
Sent from my SM-G900H using Tapatalk
duki994 said:
If you really need mre battery saving then replace battery. I'm serious.
I get like 1hr SoT and 80% battery. Just a bit worse than my old G2 with enormous masterpiece, Dorimanx kernel.
Use XTouchWiz and disable DVFS. Everything else sjould work much better.
I can't fully disable DVFS for exynos 5422 in kernel. It's at least 70% userspace and uses ioctl commands.
That's what Samsung did. Disable DVFS via XTouchWiz (via Xposed framework) and you're OK
Can't fix that in kernel. And it uses too much battery.
For power saving, undervolt by 25mV all cores (A7 + A15) and use ROW or NOOP sched. But performance will be at leas 10% lower for maybe 30min more SoT. Maybe !!!
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Would you recommend using the PE workqueues and HMP little packing options with your kernel?
@duki994 Dude im waiting for this.. Great work.. Could u please add insecure ADB and enable ADB debugging default so as to easy to take logs while in bootloop as i was always playing with system files.

[KERNEL][ALL VARIANTS][Oreo][1.0] ArtxLite Kernel for Lineage and AOSP ROMs + Extra

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Welcome again! This is a Re-work of the Artx Kernel now working on Oreo! G3X Ultimate Kernel will be released replaced with ArtxUltra AnyKernel Installer. Like I said this is a Re-Work of the Original Kernel so, it's compiled with a more optimized Toolchain (GCC) and works better than before, just give it a try and you'll know of what I'm talking about...
Click to expand...
Click to collapse
• CPU Input Boost
• Multicore Power Saving
• GPU: simple_ondemand fixed
• kcal v2 color control
• Sound control
• Arch Power and Gentle Fair Sleepers
• Krait C-States settings
• Fsync control
• init.d Support
• Synapse support
• Cpufreq.c Optimizations
• Speed up boot
• Exposed PVS Level via Sysfs
• 2-Way Stereo Call Recording
• A lot of optimizations
• Battery optimizations
• State Notifier
• Per-CPU Core boost
• Hotplug Boost
• Fastcharge Support
• Powersuspend, Adreno idler
• 3x faster integer sqrp
• cpufreq optimizations
• Upstramed patches from 3.10.y kernel
• Simple thermal driver
• Frandom Support
• GPU 27Mhz
• Backlight min and max tweaked
----------
I highly recommend to flash my kernel with the lastest TWRP by @Hardstyl3r
----------
ArtxLite for Oreo only:
AnyKernel Installer:
MEGA
Extras:
ArtxUltra for Nougat Only:
AnyKernel Installer:
MEGA
KernelAdiutor:
Kernel Adiutor
Please change the theme to dark! (White its bugged )
LineageStock Kernel for Oreo (And Nougat soon):
Did you installed my Kernel or other Kernel and you just want to go
back to the stock Kernel your ROM had before? This is for you, flash
this and you'll get rid of your custom kernel
LineageStock Kernel
All my work:
My Development Folder
Wanna join a LG G3 Development Telegram group? Any User or Developer is welcome!!
If you have any question or you need help, get in! (let me know if the link is broken )
- Oreo ROM's (ArtxLite & LineageStock)
- Nougat ROM's (ArtxUltra)
@cesarandres_8911, @savoca, @faux123, LineageOS Team, @osm0sis, @frap129
@Feinzer, LG, @matthewdalex, @Andrei F, @yarpiin, @Robshr, @amarullz,
@Hardstyl3r, @ZjemCiKolege and me
Thanks @Francois Amom for his amazing logo design
If anyone is missing here PM me
I'll be updating these kernels until I've pulished every feature and code :good:
If you like the kernel and want to do a small donation it for sure gonna help me a lot and keep me motivated! :laugh:
Thank you and enjoy it!
​
XDA:DevDB Information
ArtxKernel for Oreo, Kernel for the LG G3
Contributors
Stayn
Source Code: https://github.com/Artx-II/ultra_kernel_lge_g3
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v1.0
Stable Release Date: 2018-07-31
Created 2017-10-24
Last Updated 2018-07-31
Changelog!
Artx Kernel:
Code:
* 6.0
- Based on LineageOS Oreo
- Fixed all perfomance related issues
- Cleaned source
- Replaced Thermal control with Simple Thermal Driver
- Fixed Fastcharge
- Added Voltage Control
- Added Custom Kernel Adiutor Solution with FastCharge Controls
* Also available for Nougat *
v5.0
- Added MSM_Limiter
- Gentle fair sleepers and Arch power added
- Overload of Governors!
- Added Artx Governor
- Lots of optimizations
- Battery optimizations
v4.0
- Reverted some v3.0 changes
- Disabled a lot of useless Debug options
- General optimizations
v3.1
- Fixed huge battery drain
- Removed fastcharge till the next release
v3.0
- Added MSM, Alucard, Bricked, Intelli and AutpSMP Hotplugs
- Backlight min and max tweaked
- 27Mhz GPU
- Boosted GPU Freq a bit
- Frandom support
- Simplified thermal driver
- Upstramed kernel 3.10.y patches to cpufreq
- fsync changes
- 3x faster integer sqrt
- other optimizations for battery life and perfomance
v2.1
- Fixed random freezes (Updated RAM Management)
- Stability fixes
- Spectrum Support + App is now optional
v2.0
- Add State notifier
- Added Schedulers: Tripndroid, Fiops, Sio, VR, Maple, Zen, Fifo
- Added Simple GPU Algorithm + Adreno Idler
- Added Powersuspend
- Fastcharge Support
- Per-Core CPU Boost
- Hotplug Boost
v1.0
- Initial Stable release
G3X Ultimate Kernel R.I.P.
Code:
v1.0
- Initial stable release
Kernel goals:
- Re add all governors, schedulers and TPC algorithms!
- Add intellithermal
- Add Per-CPU Boost, hotplug boost and wakeup boost
- FastCharge
- MSM_Limiter
- Look again into Voltage control feature and try to re-add it!
- Adreno Idler and Simple GPU Algorithm
- All the hotplugs
- State Notifier
- Frandom
- Brightness control
- And a lot of optimizations!
Features Guide:
CPU:
- Governors: Read this
- CPU Booost: Boost your CPU Frequency on screen touch event, my kernel has per-core touch boost frequency so you can configure how many CPU's will be boosted at your preferred frequency.
- Hotplug Boost: When a Core is plugged, it gets boosted a little
Thermal:
- Core control: Enable and disable throttling, this enables the thermal engine and enable VDD restriction and core throttle. Be careful with this because an excesive overheat can reduce the device life time (and battery)
- VDD Restriction: Limits CPU voltage, limiting it will decrease temperature
- Core Throttle: Throttles CPU when enabled, this decrease CPU frequency to a lower step when it reaches a specified temperature
GPU:
- Gaming mode: The GPU will be always at maximun avalible frequency (Not always at 578Mhz because thermal engine can throttle the frequency)
- Simple GPU Algorithm: Like the name say, is a simple GPU Governor that works like simple_ondemand, I recommend more Adreno Idler
- Adreno Idler: Please read this
Don't enable Simple GPU and Adreno Idler together, this can result in a bad GPU Managament and it can generates overheat, also, those two algorithms only works on the "msm-adreno-tz" GPU governor
Screen:
- You should know how to config it at your liking
Sound:
- My kernel uses Faux123 sound control, you can set independent headphone gain that's a kernel level sound gain, so, this will not distortion your audio until you put a very high value.
Battery:
- Fastcharge: Forces Fast charging (This can reduce your battery life)
- Arch Power: Enable or disable some Arch especific power funcions for battery saving
- PowerSuspend Mode: I didn't found information about this but I know that the best option is "Hybrid"
- State Notifier: This driver notifies screen events (when you touch it). It works with Maple scheduler (You need to enable this if you're going to use Maple) and other kernel things.
- Krait C-States: Power saving settings, I recommend to disable only "C1 (Retention)" because if can cause screen flickering and slow the phone wakeup.
I/O Scheduler:
- Scheduler: Read this
- Read-ahead: The Re-ahead value on the phone memory, because the device memory is very fast, it should be at 128kB, for SDCards that are a lot more slow a good value is 1024kB or 2048kB
- Rotational storage: Treat device as rotational storage, like HDD Hard drivers, just leave it disabled, we don't need it
- Add Random: In some cases, the overhead of I/O events contributing to the entropy pool for /dev/random is measurable. In such cases, it may be desirable to set this value to 0
- I/O Stats: Like the name says, it maintains I/O statistics, if you disable it, memory monitoring apps will not work. (I don't need this so I disabled it)
- RQ Affinity: Try to have scheduler request complete on the CPU core they were made from. This can be a power saving feature
Kernel Samepage Merging:
Don't touch this if you don't know what you're doing
Low Memory Killer:
- Adaptive Low Memory Killer: Keep this feature enabled because it'll save you from random freezes (It makes Low Memory Killer aggresive dynamically when a thrashing scenario is detected)
- Low Memory Killer profile: "Agressive" is recommended, if you think that it'll close all your apps you're wrong, we've 3GB of RAM and these are the settings:
* Foreground Applications: 4MB
* Visible Applications: 8MB
* Secondary Server: 16MB
* Hidden Applications: 32MB
* Content Providers: 48MB
* Empty Applications: 64MB
Virtual Memory:
Every detail about this settings are well explained in Kernel Adiutor, but in general there's no need to touch this
Misc:
- Android logging: Disabling this can improve your phone a bit (It's not noticeable)
- Software CRC Control: Is a driver that prevents data corruptions but data blocks can lose up to 30% of perfomance, you can safely turn it off
- FSync: The kernel provides system calls for syncing single files and filesystems which flush the corresponding file buffers to storage. Disabling FSync reduces the number of I/O Opetaions which can improve the responsiveness of the device and reduce battery drain. However, disabling it increases the risk of data loss on a crash/freeze.
If your ROM with my kernel is very stable, you can safely turn off FSync and if you're on f2fs filesystem NEVER turn it off because you gonna have to format EVERYTHING if the data gets corrupt by a crash/freeze
You can always recover your phone in case of data corrupt if you're on ext4 filesystem with TWRP, in wiping section -> select which partitions to wipe -> select one and press on partition settings or more settings.
This is all for now! I'll explain each new feature that I introduce in my kernel here, thanks for reading and I happy twaking!
Spectrum Guide:
Spectrum Kernel Manager!! Thanks to @frap129!!
This amazing app let you select between 4 profiles, Battery, Balanced, Perfomance and Gaming,
all of these configured by me:
Battery: I've set various battery savings configs here, it's designed for the best battery savings and if you don't care about UI lags then this is for you
Balanced: As its name says, a very good balanced profile that evit UI Lags and the battery keeps still awesome, you can use this profile to run games without getting your phone overheating
Perfomance: This is not a pure Perfomance profile like others that simply puts your governor in "Perfomance" and things like that, this profile keeps all the UI Smoothness anytime and it doesn't drains the battery, if you're very UI Lag sensitive then this is your profile. Recommended
Gaming: Pure perfomance, play any game with this profile at maximum power, this profile keeps the FPS constants with blu_active governor, if you don't care about battery life or overheating and just want to play games then this is for you
Also, All this profiles are customizable, look at your internal storage ~/Spectrum/profiles/ folder, there's 4 files for each profile. If you don't wanna mess with all the kernel features then I highly recommend to you Spectrum!
Finally guys! We're updating our G3's!
All of my progress from the begginning to now and the future ones, has been made with my Virtual Machine in the cloud, but I'm running out of credit and I can't develop on my computer.
I'll apreciate a lot if someone can donate to me to keep this project for all our G3's alive, thanks you
Thanks for updating the kernel so I could include it in my LineageOS builds!
flashed over 10.23 oreo's build from HardStyl3r on d855, and yes you need to flash mr.bump (got a black screen after aroma setup)
edit: damn, its faaassstt!!!
Thanks!
odjinan said:
flashed over 10.23 oreo's build from HardStyl3r on d855, and yes you need to flash mr.bump (got a black screen after aroma setup)
edit: damn, its faaassstt!!!
Thanks!
Click to expand...
Click to collapse
I'm glad to hear that
First: Thank you for this fast Kernel.
But I encountered a Problem with the external SD card. After installing this new ArtX Kernel, a Notification about a defect SD appeared, it was rendered unusable, unless formatted. That's not true as other Kernels (stock AEX, stock crDroid, stock RRmx) have no Problem with it.
As I don't want to backup all my data (about 90 gigs, as it is a 128gb card), format and recover it, it's a deal-breaker for me.
My suspicion is that the exFAT filesystem isn't implemented, as an old 64gb card formatted as vfat was accepted without problems.
Is there a solution on the horizon?
PS I don't remember the "old" ArtX Kernel having a Problem with this card, but the G3X having one, if that's any help at all.
Thanks in advance.
Addendum: As reverting back to stock AEX Kernel solved the problem, it is definitely Kernel related.
grushnickij said:
First: Thank you for this fast Kernel.
But I encountered a Problem with the external SD card. After installing this new ArtX Kernel, a Notification about a defect SD appeared, it was rendered unusable, unless formatted. That's not true as other Kernels (stock AEX, stock crDroid, stock RRmx) have no Problem with it.
As I don't want to backup all my data (about 90 gigs, as it is a 128gb card), format and recover it, it's a deal-breaker for me.
My suspicion is that the exFAT filesystem isn't implemented, as an old 64gb card formatted as vfat was accepted without problems.
Is there a solution on the horizon?
PS I don't remember the "old" ArtX Kernel having a Problem with this card, but the G3X having one, if that's any help at all.
Thanks in advance.
Addendum: As reverting back to stock AEX Kernel solved the problem, it is definitely Kernel related.
Click to expand...
Click to collapse
I'll look into that and fix it for the next build
Thank you for the prompt answer/promise?! Looking forward to using (i.e. enjoying?) ArtX again!
Tried flashing D850 with straight lineage OS, got a blinking red/blue light.
ROM, Kernel, Magisk 14.
eric93se said:
Tried flashing D850 with straight lineage OS, got a blinking red/blue light.
ROM, Kernel, Magisk 14.
Click to expand...
Click to collapse
and (mr) Bump.
Hi, I had a question. I wanted to know if the sensors were not working because of the ROM or the kernel? I'm confused a little !!!!! you can guide. I am aware of you for continuous activity in this field.
One kernel for D855 2/16gb and 3/32gb ?
Sent from my LG-D855 using XDA-Developers Legacy app
petrre said:
One kernel for D855 2/16gb and 3/32gb ?t
Sent from my LG-D855 using XDA-Developers Legacy app
Click to expand...
Click to collapse
Yes, my d855 is a 2go RAM, op talk about 3go..
D855
First impression:
Lineage 15.0 and kernel. Battery full charged at 00:00 yesterday. Right now (have passed 16 hours, with alarm clock, qcview in the background, 2 calls and 2 whatsapps sent) battery show 98%.
For me, good speed and good battery
joselap said:
D855
First impression:
Lineage 15.0 and kernel. Battery full charged at 00:00 yesterday. Right now (have passed 16 hours, with alarm clock, qcview in the background, 2 calls and 2 whatsapps sent) battery show 98%.
For me, good speed and good battery
Click to expand...
Click to collapse
Can you please update your post with future usage thanks.
Sent from my LG-D855 using Tapatalk
It may temporarily return to marshmallow stock, but right now, 78% after 24 hours, after an oreo gapps flash and after installing and testing several apps. Artx + lineage 15 kernel team promises
Anyone looking or need Mr. Bump
I attached it on this post.
Hey all!
New Builds up!
Artx Oreo Kernel
v2.0
- Add State notifier
- Added Schedulers: Tripndroid, Fiops, Sio, VR, Maple, Zen, Fifo
- Added Simple GPU Algorithm + Adreno Idler
- Added Powersuspend
- Fastcharge Support
- Per-Core CPU Boost
- Hotplug Boost
Have a nice day! Also, G3X Kernel is almost done! :fingers-crossed:
Stayn said:
Hey all!
New Builds up!
Artx Oreo Kernel
v2.0
- Add State notifier
- Added Schedulers: Tripndroid, Fiops, Sio, VR, Maple, Zen, Fifo
- Added Simple GPU Algorithm + Adreno Idler
- Added Powersuspend
- Fastcharge Support
- Per-Core CPU Boost
- Hotplug Boost
Have a nice day! Also, G3X Kernel is almost done! :fingers-crossed:
Click to expand...
Click to collapse
Thank you very much mate for your effort! May I ask what will be the difference between artx and G3x?

[KERNEL][AOSP][AnyKernel][LOS-14.1+EAS] Gamma Kernel for [All Lineage Variants]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DESCRIPTION
Hey guys, I have started a custom Kernel based on LineageOS sources with 98% CAF. So I would like to share my own performance and usability improvements with minimal feature and enhancements on top. The intention is to have a minimal light-weight kernel that is very fine tuned for the device.
FEATURES
Minimal Kernel with a stripped defconfig base to be more streamlined and have less memory footprint
User space display color calibration (KCAL) with screen calibrated against iPhone 8 Plus, also helps reducing screen retention
Schedutil governor making use of EAS features with updates from Linux 4.4 and 4.12
Up to date with LineageOS sources for maximum compatibility and security bugfixes
Memory and cache subsystem optimizations, you will feel it
Adaptive LMK enabled by default
Transparent Hugepages are enabled
ZRAM/Swap partition is disabled by default
BFQ IO scheduler set by default to avoid slow-downs on task intensive scenarios
No overclocking was chosen to avoid unnecessary heat, optimizations were focused on other different areas
Kernel Samepage Sharing enabled with deferred timer by default to gain some memory usage optimizations, the process sleeps on regular basis and I've profiled it so that there's no battery drains due to it
Simple temperature controls for msm_thermals exposed
Compiled with GCC 6.x optimized toolchain and -O3 plus other hardware specific flags
Undervolted the Adreno 530 GPU voltage rail to keep things cooler
CAF Rebase on major portions of the Kernel has helped lower the memory footprint a lot
ES9218 Quad DAC automatic toggling working inside the kernel for headphone HIFI playback, please read here for details
DOWNLOADS
AnyKernel: Click Here (Or check top of the post, download tab)
(Optional) LineageOS 14.1 Netflix Black Screen Fix : Click Here
(Optional) Updated Adreno Drivers by @BlackSoulxxx : Click Here
SOURCE
V20-Kernel-Gamma GitHub Source
NOTES
Here is a GeekbenchV4 result example : http://browser.geekbench.com/v4/cpu/7618872
These is intended to be used primarily with LineageOS, I have not tested other ROM's
Since LineageOS uses a way newer Bluetooth stack, this Kernel will most likely not work on old ROM's such as ResurrectionRemix
This will not work with LineageOS 15.1, please see the other thread
KNOWN BUGS
When using v1.0.0 will fail to boot if you had Magisk previously installed. Please install something newer if using Magisk.
When using v13.0.0 - v15.x.x infrared remote control will not work.
I would also like to thanks to various people who contribute tremendously such as:
@x86cpu
@EvilHowl
@USA-RedDragon
@savoca
@albinoman887
@emdroidle
@Rashed97
@joshuous
@RenderBroken
and many others!
<< If you like my work here is my hat, please donate! >>​
​
XDA:DevDB Information
Gamma Kernel, Kernel for the LG V20
Contributors
Omar-Avelar
Source Code: https://github.com/oxavelar/V20-Kernel-Gamma
Kernel Special Features:
Version Information
Status: No Longer Updated
Current Stable Version: 46.0.0
Stable Release Date: 2018-07-11
Created 2017-12-10
Last Updated 2018-10-22
CHANGELOG
46.0.0 - Started msm_irqbalance by default on boot, disabled lp11 and enabled allow mdss phy powerdown during idle screen.
45.0.0 - Smoother memlat ramp and tuned the schedTune DVR cpusets a bit for better performance overall.
44.0.0 - More deep sleep enhancements.
43.0.0 - Update to Oreo TouchScreen firmware and more MDSS PLL merge fixes that help deep sleep.
42.0.0 - Missing MDSS Oreo merges are now in place.
41.0.0 - Added IPA_WS as a default in the wakelock blocker, as well as enabling CONFIG_PM_SLEEP which if missing would in turn cause some ueventd wakeups.
40.0.0 - Disabled CONFIG_RMNET_DATA_DEBUG_PKT. Full fix for USB OTG and added missing slimport drivers. Tweaked the random wakeup values, added some extra cpusets based on Marlin's android-cts-8.0_r8/init.common.rc and fixed some BFQ IO possible hang.
39.0.0 - Disabled CONFIG_RMNET_DATA_DEBUG_PKT. Full fix for USB OTG and added missing slimport drivers.
38.2.0 - Removed LGE's battery manager alarms.
38.1.0 - Fixed potential wireless packet loss.
38.0.0 - Further tweaked the wlan_rx_wake wakelock, migrated the audio and thermal workers to power efficient queues, and added an arm64 prefetching optimization for memcpy.
37.0.0 - Better deep sleep enhancements with the charger infrastructure borrowed from the V30 Kernel Oreo sources.
36.0.0 - Full fix for 6a00000.ssusb wakelocks while keeping fast charging enabled.
34.0.0 - Added boeffla_wl_blocker to tame NETLINK wakelock, this wakelock is caused by IPC between the wireless driver in the Kernel and Android. This was the reason why when on wireless the battery would drain more compared than radio. Also disabled OTG as this keeps the phone from deep-sleeping for now.
33.0.0 - Enabled OTG.
32.0.0 - Fixed a bug from Oreo merge that causes video to go green and crash sometimes. Disabled ZRAM from the compilation rather than AnyKernel patch.
31.0.0 - Merged some V20 Oreo Kernel changes in, as well as some DAC enhancements to prevent popping, better USB PD and QC 2.0/3.0 charging code.
30.0.0 - Oreo Kernel changes in, trying to unify the Kernel to keep support for a little while on 14.1.
29.0.0 - Merged msm idle from Linux 4.4 as well as full EAS 1.4 support from Linux 4.4, reduced the memory subsystem timer ramp values for speedier operation.
27.0.0 - Enabled wifi.supplicant_scan_interval on boot, and disabled IPv4 TCP Timestamps and ICMP responses as well as CCKM fast secure roaming.
26.0.0 - Full EAS 1.4 from Wahoo (Pixel 2XL) backported.
25.0.0 - Updated EAS (schedutil, walt, fair scheduler) to be in sync with Wahoo (Pixel 2XL) latest changes.
24.0.0 - Fixed another performance regression in multi-core scores within schedutil.
23.0.0 - Screen brightness is 50% while booting to reduce heat when it is regenerating cache on boot. v22.1.0 was 25% but this was barely visible if you were rebooting under direct sunlight. So went for the safe value.
22.1.0 - Reduced the screen brightness while booting to reduce the heat of the device during cache wipes.
22.0.0 - WALT and schedutil cpufreq commit fixes backported from RenderBroken.
21.0.0 - The GPU Voltage rail undrervolt is now ~60 mV, do not see any problem and games run way cooler.
20.0.0 - After feedback on frequency utilization/distribution I've put 3 WELT commits that should help alleviate this. And enabled some extra configurations from our wireless driver for better power savings.
19.0.0 - Trimmed around ~40 mV from the GPU voltage rails, and updating the wireless stack to DHD 1.80.13 - 2017.06.22, from us997 V16a.
17.0.0 - Increased the multi-core benchmark scores.
16.1.0 - Reverted the binder to be Nougat only, since Oreo support will be on a separate Kernel anyway. Fixed the Infrared Remote Control support that I had broken, and tuned the memory scaling to be more responsive.
15.0.0 - More audio fixes. This audio CAF merging has fixed the speaker-phone that suddenly stops recording or suddenly stops recieving audio from the phone call in LineageOS. Also have increased the schedutil timer values to be similar to the Pixel 2 XL (Wahoo). And finally have fixed a CONFIG_LGE_PM_LGE_POWER_CLASS_CHARGER_SLEEP problem, so that the charger module now sleeps better and uses less power in idle.
14.0.0 - Updated WALT (Window Assisted Load Tracking) fixes aggregated by RenderBroken. Fixed an audio bug introduced in 13.0.0 where headphone insertion could change the sampling rate of other audio sessions. Changed again the schedutil timer values to favor benchmarks a tiny bit and increased the external SD read-ahead and minimum number of requests so that there is better merging when using slow SD cards while keeping the internal storage device in a low-latency configuration.
13.0.0 - Merged CAF audio upstream changes and enabled transparent hugepages.
12.0.0 - Tuned the memory subsystem frequency scaling parameters further down to focus on batter savings as well as the EAS timers.
11.0.0 - Added cpuidle optimizations to idle more, bumped up the memlatency trigger.
10.2.0 - Reintroduced back QuickCharge 2.0 and QuickCharge 3.0 fast charging support into the Kernel.
10.0.0 - Bumped up the Kernel to version 3.18.71.
9.0.0 - Full arm64 arch CAF update done to the Kernel based on CAF LA.UM.6.5.r1-05300-8x96.0. Added support for H918 variant too.
8.2.0 - Partial update to get the Kernel in a big percent that of CAF LA.UM.6.5.r1-05300-8x96.0, no bugs introduced and using a CAF / LineageOS kernel base. Using the binder interface that works both for Android Oreo and Nougat to be prepared for Lineage15. Also fixed a bug that I had introduced in previous versions related to wireless access point, hence why I had pulled versions 7.x from the server.
4.1.0 - Reintroduced into the LineageOS kernel the partial-update in the panel, to gain some power savings and overall performance feeling when refreshing the panel and screen elements.
4.0.0 - Raised the EAS schedutil timers and the memlat governor threshold to kick in faster. This will bring up the responsiveness to similar levels to HMP even when still using EAS. Brought back KSM after profiling on battery utilization, it doesn't hurt as long as a the timer value is between 4000.
3.0.x - Bugfixes and testing with Magisk compatibility, I think there are no more compatibility problems with Magisk after this, had to remove KSM for testing.
1.0.0 - Initial version, with KCAL, and streamlined defconfig based on cm-14.1 kernel sources and minor commits on top.
Omar-Avelar said:
DESCRIPTION
Hey guys, I have started a custom Kernel based on LineageOS sources to get and share my own performance improvements up and adding minimal feature and enhancements on top. The intention is to have a minimal light-weight kernel that is very fine tuned for the device.
FEATURES
Minimal Kernel with a stripped defconfig base to be more streamlined and have less memory footprint
User space display color calibration (KCAL) with less blue tints by default
Schedutil governor making use of EAS features
Up to date with LineageOS sources for maximum compatibility and security bugfixes
Memory and cache subsystem optimizations, you will feel it
Adaptive LMK enabled by default
ZRAM/Swap partition is disabled by default
BFQ IO scheduler set by default to avoid slow-downs on task intensive scenarios
No overclocking was chosen to avoid unnecessary heat, optimizations were focused on other different areas
Kernel Samepage Sharing enabled with deferred timer by default to gain some memory usage optimizations, the process sleeps on regular basis and I've profiled it so that there's no battery drains due to it
Compiled with GCC 6.x optimized toolchain and -O3 plus other hardware specific flags
Re-introduced stock thermal values and engine for a safer device operation
DOWNLOADS
1) AnyKernel: Click Here (Or check top of the post, download tab)
2) EAS-Project OP3 Prebuilts Flashable : Click Here
3) Thermal Engine Flashable : Click Here
SOURCE
V20-Kernel-Gamma GitHub Source
NOTES
These is intended to be used primarily with LineageOS, I have not tested other ROM's
Please flash all *.zip's mentioned in the download sections for optimal results
KNOWN BUGS
Hopefully none
I would also like to thanks to various people who contribute tremendously such as:
@x86cpu
@EvilHowl
@USA-RedDragon
@savoca
@albinoman887
@emdroidle
@Rashed97
and many others!
<< If you like my work here is my hat, please donate! >>
​
XDA:DevDB Information
Gamma Kernel, Kernel for the LG V20
Contributors
Omar-Avelar
Source Code:https://github.com/oxavelar/V20-Kernel-Gamma
Kernel Special Features:
Version Information
Status: Testing
Current Stable Version: 1.0
Stable Release Date: 2017-12-09
Created 2017-12-10
Last Updated 2017-12-09
Click to expand...
Click to collapse
I don't know how 'in-depth' testing I can do. But I'll be willing to do what I can!
I'll be flashing this soon.
I'm on Desolation ROM, VS995. I'll report back. Thanks for your hard work!
Edit: not necessarily a problem, but it has static on boot.
nightra88 said:
I don't know how 'in-depth' testing I can do. But I'll be willing to do what I can!
I'll be flashing this soon.
I'm on Desolation ROM, VS995. I'll report back. Thanks for your hard work!
Edit: not necessarily a problem, but it has static on boot.
Click to expand...
Click to collapse
Oh, I didn't compile specifically for VS995 so it will have static on boot. Since these two are mostly the same devices I might give u a VS995 Kernel next week with that static gone.
Here are some Geekbench results in case anyone is interested : http://browser.geekbench.com/v4/cpu/5506983
Great to have someone finally building an AOSP kernel!
Any chance you'll be compiling for the H918 sometime in the future? No worries if you aren't. I'm just curious =p
Omar-Avelar said:
Oh, I didn't compile specifically for VS995 so it will have static on boot. Since these two are mostly the same devices I might give u a VS995 Kernel next week with that static gone.
Click to expand...
Click to collapse
That sounds great! I'll look forward to it! But I'm about 12-14hrs in the kernel now, and so far so good! With normal usage.
Have updated Kernel to 1.1.0 version with two minor changes that improve the performance by quite a big. Figured out the OP3 and the Marlin Kernel was using 300 Hz tick timers. But for some reason our Kernel was only using 100 Hz tick's. So two changes in this version.
1. Enable high-res timers for schedulercks
2. arm64: hz: make it configurable
Click to expand...
Click to collapse
Plus I have decided to go on and change the perfd binary again. I was not aware how much of impact this has to EAS and the fluidity, since with EAS the input freq boost in the Kernel is now gone. You can read more about it here : https://github.com/EAS-Project/android_device_voxpopuli in the README.md. I am not yet using 100% of the capabilities of Vox Populi Power HAL but a lot of features from it turned off for now.
NippleSauce said:
Great to have someone finally building an AOSP kernel!
Any chance you'll be compiling for the H918 sometime in the future? No worries if you aren't. I'm just curious =p
Click to expand...
Click to collapse
Most likely yes, but after I polish a few features and once I am 100% happy with the performance
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
x86cpu said:
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
Click to expand...
Click to collapse
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Omar-Avelar said:
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Click to expand...
Click to collapse
I only tried the latest one. I did not try without Magisk though or the older version, the all 3 reference was all 3 files you had. gamma/vox/thermal.
I noticed in your thermal, that the camera files are the same as Lineage, so you could take those out. I also took out the mixer one as I bumped those VOL up as it was hard to hear on calls without it. If you do find any adjustments that the op3 or marlin did, we might be able to get those into the Lineage msm8996 kernel. Ideally, the commits from op3 in the Lineage tree, then I can cherry pick it to preserve history. I'm all for getting things into Lineage where we can.
Omar-Avelar said:
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Click to expand...
Click to collapse
I flashed with Magisk, on the first version, and everything is going fine for me
nightra88 said:
I flashed with Magisk, on the first version, and everything is going fine for me
Click to expand...
Click to collapse
Thanks man, let me re-upload the 2nd version just in case then and will verify the MD5 hash...
Omar-Avelar said:
Thanks man, let me re-upload the 2nd version just in case then and will verify the MD5 hash...
Click to expand...
Click to collapse
No problem! Glad to help.
x86cpu said:
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
Click to expand...
Click to collapse
So I got home to try just in case @x86cpu and I was able to flash Magisk-v14.5(1456).zip after all of the 3 files had been flashed on my system and it booted fine.... so I've re-uploaded the Kernel as v1.1.1 in the downloads section just in case...
Wiped /system (as I had su from LineageOS flashed before)
Flashed system with lineage-us996-*.zip
Flashed OpenGapps
Flashed perfd update (2nd of my zips)
Flashed the 'hotfixes' (3rd of my zips)
Flashed gamma-kernel (1st zip)
Flashed Magisk-v14.5(1456).zip
Hit reboot
If you can let me know if the v1.1.1 version works on your side then I can blame the bad upload. If not I can do more experiments to see if there is some other condition that depends on the order of flashing with my AnyKernel approach... and then I can try and replicate and fix it , please do let me know...
UPDATE: I am able to hit the failure now @x86cpu... let me see if AnyKernel needs any update or something to allow to re-install the Kernel if Magisk is already pre-installed. In order to hit it I had to:
Wiped /system (as I had su from LineageOS flashed before)
Flashed system with lineage-us996-*.zip
Flashed OpenGapps
Flashed perfd update (2nd of my zips)
Flashed the 'hotfixes' (3rd of my zips)
Flashed Magisk-v14.5(1456).zip
Flashed gamma-kernel (1st zip)
Hit reboot
Essentially flashing the Kernel last... which might be a common thing that could happen, let me polish that up...
I've uploaded flashable-us996-gamma-kernel-v1.2.0.zip now with an updated AnyKernel script that seems to now be working even with Magisk installed previously. Thanks to @x86cpu for reporting this bug.
U
Omar-Avelar said:
So I got home to try just in case @x86cpu and I was able to flash Magisk-v14.5(1456).zip after all of the 3 files had been flashed on my system and it booted fine.... so I've re-uploaded the Kernel as v1.1.1 in the downloads section just in case...
Wiped /system (as I had su from LineageOS flashed before)
Flashed OpenGapps
Flashed the 'hotfixes' (3rd of my zips)
Flashed Magisk-v14.5(1456).zip
Wiped /system (as I had su from LineageOS flashed before)
Flashed OpenGapps
Flashed the 'hotfixes' (3rd of my zips)
Flashed gamma-kernel (1st zip)
Hit reboot
Essentially flashing the Kernel last... which might be a common thing that could happen, let me polish that up...
Click to expand...
Click to collapse
I just installed the v1.1.1 before the fix. So. In other words before I saw this update, I just flashed it with no wiping, Desolation rom, and it booted fine, it's just now, in Magisk I can't pass cts or basic integrity. I'll try your updated method and see if that fixes the problem.
Edit: did the above steps, minus wiping twice and flashing the hot fixes twice. Rebooted it. And now I can successfully pass safetynet on the latest gamma kernel!
Edit#2: false hope, my apologies, safetynet apparently isn't passed.
Edit#3: okay. I had a blonde moment. I forgot to wipe my dalvik. It passes now.
What do the HAL's do? And what order should I flash the zips?
Obamaloominaty said:
What do the HAL's do? And what order should I flash the zips?
Click to expand...
Click to collapse
The order doesn't matter as they are independent. And I would suggest you read about the EAS perfd HAL in here : README.md
However keep in mind that I haven't implemented all of the VoxPopuli features from the HAL in the AnyKernel as it needs some SELInux permissions updates (which I can do later on). But without all of those enhancements it will behave like the Pixel HAL.

[KERNEL] NX Kernel | R30 | 07 AUG '20

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​Short summary:
NX kernel aims at providing you a smooth experience, while maintaining the best of your battery life. The kernel requires no further user customization and therefore should be used as available.
Features:
• First unified S8/S8+ kernel for F(D)/N variants only: 1 kernel to support both devices.
• Permissive by default
• Knox 0x0 with Safetynet bypass
• LED fade control
• Wakelock control (blacklisting not adviced)
• Moro sound control
• Wake gestures mod by Flar2
• Memory management improvements
• Improved touch latency
• Drivedroid support (0.10.48+)
• Unofficial DEX support
• Wireguard VPN support
• Other misc. optimizations
Download link:
Pie
Credits to my dear testers:
@Benji1983
@bininga59
@destan4503
@hans_olo
@jeebspawnshop
@moelle
@mwilky
@parser
@pcvroon
@s-advance
@sswagonman
@teutate
@zafer61
Caution:
I am not responsible for anything that happends after flashing the work provided here.
Sharing is caring, so according to the (much unwelcomed) rule 12 you can use my open source on GitHub without my explicit consent or credits. But this is where the caring stops as I do not allow you to use any of my own provided files (except for unmodified stock files). Section 3 of this rule states that you can try to bypass my explicit consent by releasing it as your own when you succeed to make significant changes to the work.
Goodluck and happy CopyMaxing.
Source Code: Github
Changelog
R28
- Updated to DSF source
- Improved performance and efficiency.
Old changelog:
V1 - Initial XDA release, based on 2nd test 38
R2:
- Fixed freezes that was caused to a minority of users on particular roms
- Fast charging fixed to work for everyone
- Potentially improved battery life at the cost of slight overhead
R3:
- Fixups and hiccups
- GPU control added in Synapse
R4:
- Removed Synapse and OC, mtweaks is good enough
- Based on Test 50
R5:
- Oreo release
R6
- Merged N8 March Oreo source
- LED fixed
- WiFi blob detection fixed (still requires a few files due nvram path..)
- Faster booting
- Tweaked for better idle drain and battery life
R7
- Bug fixes caused by N8 merge
R8
- Rebased the kernel by filtering out bad changes for battery life, performance and so on.
- Updated to latest CRD source
- Fixed LED (hopefully definitely)
- Fixed WiFi (works like stock kernel)
- Mount system earlier to boot faster
- Added overclock for cluster1
- Fully Permissive (no longer fake enforcing)
R9
- Removed lots of useless stuff -> faster kernel and less size
- Still CRD7 based with CREF ramdisk (CRED source has worse battery life according to my groups experience)
- More stable LED implementation
- Removed Fsync/CRC toggles because data stability is way more important than this benchmark cheater
R10:
- Fixup of R9
R11
- REQUIRES NEW MODIFIED TWRP FIRST
- New fading led approach -> enabled by default and not bugging anymore. You can control it with Mtweaks V2.9
- Quotas enabled, which works thanks to the new TWRP. More info
- Some fixes and optimizations.
R12
- REQUIRES NEW MODIFIED TWRP
- Middle of rebase, not done yet..
- Manually updated to CRF
- Added CRGB support
- More unification work done (fixes Samsung's screw up by delaying probe after booting up, which would result in an unresponsive lockscreen until init occured.
R13
- REQUIRES NEW MODIFIED TWRP
- Merged CRGB source update (seems the R12 fix was short lived)
- Re-added changes I forgot for R12, e.g. Drivedroid support, OC.
- Fixed WiFi-calling as confirmed by @bininga59
R14
- Requires modified TWRP - See post for explaination
- Almost done rebasing
- Fixed bad code using GCC 7.3 (also fixed booting compiled kernel with 7.x/8x toolchains due bad alignment)
- Reduced kernel overhead, improved security (fully disabled debugfs)
- Removed ability to overclock the big clusters
R15
- Added TWRP patcher: During installation it will detect unmodded TWRP and modify it. If it detects a modified TWRP it will skip this step. If you care for MTP in TWRP then you still must flash the TWRP provided in post #644. The only reason I added this script is because many fail to follow instruction (flash modded twrp and kernel/rom).
- CRGH source update
- Re-added GPU sysfs and underclocked to 112Mhz
- Some under the hood optimizations for more stability, better consumption and idle improvements.
- Probably N9 port ready (untested)
- Still rebasing...
R16
- Linaro 7.3 compiled
- Re-added big cluster OC
- Fixed Gear VR & recording call bugs
- Not N9 ready (requires more ramdisk changes + still waiting for a working port)
R17
- Requires modified TWRP (due to proper Oreo support) -> See post 644
- CRI based
- Forgot the rest
R18
- CRK source drop merged
- Improved touch latency
- Updated LZ4 module to 1.8.3
- Other misc improvements; e.g. improved idle consumption, bug fixes, smoothness, snappiness etc.
R21
- Last kernel to support Oreo.
R23
- Properly upstreamed to 4.4.176 with no cpu bugs etc.
- Compiled with GCC 8 and fixed all buffer overflows -> should improve stability but also has an overall positive effect
- Better idle -> Don't take my word for that as I don't know how upstream will affect the change
- Touchscreen backport from Pixel 3 for better touch latency on S8 devices (too bad S8+ uses a different panel)
- Re-added overclock abillity
- Other minor optimizations that positively affect performance and battery life
R24
- Updated to latest DCSB source
- Upstreamed to 4.4.178*
- Sound control mod backported (requires latest Mtweaks)
- Wakegestures backported: Doubletap2wake, sweep2sleep, sweep2wake.**
- Fixed permissive state to work with banking apps (no reboots)
- Fixes on top of fixes and optimizations that will affect performance and idle drain.
* Still indecisive about upstream
** Enabling gestures will kill AOD touch and hard press to wake
R25
- Dropped upstream as I always was convinced it resulting in worse battery life.
- Switched from Zswap to ZRam.
- Added overclock abillity for little cores to 1898Mhz (fixed this possibility)
- Big cluster min clock is set to 858MHz
- Added GPU OC abillity to 572MHz
- Compiled with my custom compiler to target exynos-cortex (big.LITTLE)
- Some other minor optimizations to improve idle and battery life.
R26
• Compiled with custom GCC 9.1.1
• Updated to the latest available source for S8/N8.
• Selinux: now you can switch enforcing by writing "setenforce 0" in a terminal or by using an app like Mtweaks. This can be useful incase your banking app requires an enforced phone (e.g. rebooting)
• Updated moro sound control: fixes unlinked L/R control and resets
• Wake gestures: added a proximity state check so that an enabled wakegesture cannot wakeup the phone when the proximity sensor is active, like during a phone call.
• Other changes to improve performance, reduce kswapd usage and hopefully preserve a bit more battery life.
Reserved
FAQ​
Q: Does this support non stock roms?
A: The kernel does not support ports, e.g. note 9 port, while it may have the possibility to support note 8 based roms. This kernel will never have AOSP support.
Q: Can you add X to the kernel?
A: No, this is a personal kernel and therefore won't have what I don't want. This is a take it or leave it kernel, so if it doesn't have Spectrum, Flickerfree etc. then I'd leave it.
Q: I lost root
A: The zip contains no root, because rooting is optional. You need to flash Magisk manually after flashing the kernel.
Q: I have a problem!
A: Make sure you use no Xposed framework. If we have that cleared, please post a dmesg and last kmsg of the moment right after the problem occured. You can use Syslog app for that from the play store.
Q: Want my benchmark score?
A: No this is no pissing contest thread who can reach the furthest.
Q: Can I donate you?
A: No, I am doing this to improve my phone in the first place and sharing takes 2 clicks. Not into the money business by putting up a big ass donation button in the first post. Go spend your money on family or yourself instead.

			
				
Which build do it base on?
good!!!
Great kernel!!!
Glad to see it here
Best kernel about. Its been a pleasure testing and meeting you bro.
Running this kernel for ages :victory:
This is by far the best kernel for me
This is really good work
Never wanna miss it
Great work I will surely stay forever
Greetz benji1983
Nameless said:
Best kernel about. Its been a pleasure testing and meeting you bro.
Click to expand...
Click to collapse
That signature needs an update :laugh:
Thanks to the developer for this kernel. I'm gonna test this one. Anybody got problems with Synapse?
Verstuurd vanaf mijn SM-G950F met Tapatalk
Noxxxious said:
That signature needs an update :laugh:
Click to expand...
Click to collapse
I noticed and deleted for now lmfao :laugh:
@Noxxxious
Nice work mate
Finally !
In case of retirement, you have to ban me out of your telegram group and put me on ignore on private,
otherwise i'll never retire :laugh::laugh::laugh:
I enjoyed every single minute testing this great project..
Best kernel on Samsung S8 /S8+ planet....
Wow smooth...but battery baaaaaad
ibrakadabrax87 said:
Wow smooth...but battery baaaaaad
Click to expand...
Click to collapse
You've tested that faster than Zlatan
Installed, but phone completely freezes after a few seconds...
ikafka said:
Installed, but phone completely freezes after a few seconds...
Click to expand...
Click to collapse
So far nobody reported a freeze in the test versions, so I am curious. Do you own a S8(+) F/FD/N variant? If yes, reboot directly in TWRP on the freeze and make a dmesg + last kmsg.

Categories

Resources