Development [KERNEL][AOSP/MIUI] N0Kernel 2.4 - Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40

DISCLAIMER: I AM NOT RESPONSIBLE IF YOUR PHONE BRICKS! YOU ARE FLASHING THIS KERNEL AND ITS YOUR CHOICE TO DO IT OR NOT TO DO IT AND YOU'RE THE ONE DOING IT. I JUST WANT TO HELP OTHERS OUT.
REQUIREMENTS: UNLOCKED BOOTLOADER AND AOSP BASED ROM, IT MAY WORK PERFECTLY FINE ON MIUI AS WELL BUT I DO NOT GIVE SUPPORT FOR IT, SORRY.
Features:
- Based on IMMENSITY KERNEL;
- Compiled with Zyc Clang 14.0.6 with LTO + O3 + Cortex optimizations;
- LTO patches from linux mainline kernel;
- Only 0.02-0.07 jitter in uibench.
- Sultan's Devfreq Boost;
- Sultan's IRQ Affine API;
- Sultan's Simple LMK;
- Modified CpuSets;
- Latest caf tag and linux upstream merged;
- RCU backported from 5.10 caf kernel;
- Kernel locking backported from 5.10 caf kernel;
- Kernel/power backported from 5.4 caf kernel;
- Sleep states from soc/qcom backported from 5.4 caf kernel;
- Binder backported from 5.10 caf kernel;
- KGSL improvements;
- Cache improvements;
- PmQoS improvements;
- Disabled walt;
- Scheduler Improvements;
- Updated Energy Model from freqbench result;
- Latest Srandom by josenk;
- Sultan's pidmap optimisation & pidmap header shrink optimization SWITCH which massively improve performance in games made in Unity Engine (such as GENSHIN IMPACT), thanks to @lybxlpsv. How this works? You have to use lyb kernel manager from playstore, open it, allow it root, go to profiles and create a profile, select the profile and enable sultan's optimisations (PID HEADER SHRINK OPTIMISATION & PID MAP OPTIMISATION AND THEN APPLY SETTINGS FOR THIS PROFILE), and press on the square to get the app list you can apply the profile. Please do not select other games than UNITY ENGINE based games, because you will get banned in games with anti-cheat such as pubg & codm, if you don't enable it on those or globally you won't get banned and everything will be fine, its especially made for unity games.
- Many other improvements, you can check my github.
Download: Google Drive.
Source: Github.
Support Group: Telegram.
Special thanks to:
- UtsavTheGreat;​- Ayrton990;​- Sultanxda;​- GtrCraft;​- Sahil Sonar;
- Many other great devs that i have picked commits from.

Changelog:
N0kernel 2.4:
- Upstreamed to 4.19.246;
- Added support for Android 13 roms;
- Updated CAF/CLO tags to LA.UM.9.12.r1-14100-SMxx50.QSSI13.0 of kernel tree and all submodules, as well as device trees;
- Compiled with Zyc Clang 14.0.6 (The best atm), with LTO + O3 + Cortex optimisations;
- The kernel is now compiled with LTO (Link Time Optimization);
- Fixed all warnings generated while compiling the kernel;
- Backported LTO patches from mainline linux kernel;
- Backported Binder from 5.10 kernel;
- Backported RCU from 5.10 kernel;
- Added support & backported EROFS From 5.10 kernel;
- Backported kernel locking from 5.10 kernel;
- Fixed an issuse where apex mobile/pubg mobile after their latest updates would cause immense lagging;
- Fixed an issuse where Tiktok would hang while scrolling through videos;
- Updated lz4 compression/decompression algorithms from mainline linux kernel;
- Updated arm-optimized-routines from mainline kernel;
- Reimplemented PELT and further improved scheduler;
- Fine tuned schedutil rate limits;
- Imported SLMK(Simple Low Memory Killer) from Sultan, which improves ram management and performance on high memory pressure;
- Updated camera & fingerprint driver from psyche;
- Disabled ZRAM_WRITEBACK (Causes stutters in time);
- Further optimized KGSL (GPU driver) & display drivers;
- Further optimized MM;
- Debloated further the kernel and reduced its size;
- Updated cpu-input-boost driver, now matching with devfreq one;
- A lot more changes have happened during these months, i just can't list 2000 commits and expect people to understand what they mean, i tried to make the changelog it as "nooby friendly" as possible, this update drastically improves over the previous version on all categories, ram management, battery, performance, smoothness and most importantly stability.
N0Kernel 2.3:
- Upstreamed to v4.19.235;
- Merged LA.UM.9.12.r1-14000-SMxx50.QSSI13.0 caf tag in kernel tree;
- Merged LA.UM.9.12.r1-14000-SMxx50.QSSI13.0 caf tag in qcacld-3.0 subtree;
- Merged LA.UM.9.12.r1-14000-SMxx50.QSSI13.0 caf tag in qca-wifi-host-cmn subtree;
- Merged LA.UM.9.12.r1-14000-SMxx50.QSSI13.0 caf tag in fw-api subtree;
- Merged LA.UM.9.12.r1-14000-SMxx50.QSSI13.0 caf tag in techpack/display subtree;
- Merged LA.UM.9.12.r1-14000-SMxx50.QSSI13.0 caf tag in techpack/audio subtree;
- Merged LA.UM.9.12.r1-14000-SMxx50.QSSI13.0 caf tag in techpack/video subtree;
- Merged LA.UM.9.12.r1-14000-SMxx50.QSSI13.0 caf tag in techpack/camera subtree;
- Merged LA.UM.9.12.r1-14000-SMxx50.QSSI13.0 caf tag in techpack/data subtree;
- Backported sleepstates in soc/qcom entirely from 5.4 caf kernel;
- Backported kernel/power entirely from 5.4 caf kernel apart pm_qos;
- Backported binder from 5.4 caf kernel;
- Backported latest changes in RCU from 5.4 caf kernel;
- Updated some arm routines;
- Improved bitmap;
- Minimised wakeup time of android's alarm timer which is used very often;
- Tuned scheduler capacity margin;
- Made battery percentage more linear, what this means? Now it wont drain so slow between 100-90% and very fast between 30-0%, it should be more linear/monotonic than before;
- With all the changes done, idle drain should be drastically improved now, battery life and performance as well;
- More improvements and changes under the hood, just check my github.
N0Kernel 2.2:
- Upstreamed to v4.19.234;
- Merged LA.UM.9.12.r1-13800.02-SMxx50.QSSI12.0 caf tag in kernel tree;
- Merged LA.UM.9.12.r1-13800.02-SMxx50.QSSI12.0 caf tag in qcacld-3.0 subtree;
- Merged LA.UM.9.12.r1-13800.02-SMxx50.QSSI12.0 caf tag in qca-wifi-host-cmn subtree;
- Merged LA.UM.9.12.r1-13800.02-SMxx50.QSSI12.0 caf tag in fw-api subtree;
- Merged LA.UM.9.12.r1-13800.02-SMxx50.QSSI12.0 caf tag in techpack/display subtree;
- Merged LA.UM.9.12.r1-13800.02-SMxx50.QSSI12.0 caf tag in techpack/audio subtree;
- Merged LA.UM.9.12.r1-13800.02-SMxx50.QSSI12.0 caf tag in techpack/video subtree;
- Merged LA.UM.9.12.r1-13800.02-SMxx50.QSSI12.0 caf tag in techpack/camera subtree;
- Merged LA.UM.9.12.r1-13800.02-SMxx50.QSSI12.0 caf tag in techpack/data subtree.
- Dropped LNRG for srandom;
- Introduced latest srandom 1.40 by josenk;
- Updated arm routines to their latest version from arm (memcmp, strcmp, strlen, memcpy, memmove, memchr);
- Backported rpmsg from 5.4 caf kernel;
- Backported soc/qcom from 5.4 caf kernel, this drastically improves idle drain;
- Added new cpu idle governor, CPU_IDLE_GOV_TEO which improves idle drain;
- Backported PM_SLEEP_MONITOR and softirq changes which improve idle drainl
- Backported FUSE passthrough from 5.4;
- Backported haptics driver from MI12 series thanks to Utsav;
- Debloated and optimised focaltech_spi driver (touchscreen driver);
- Optimised charging current. How this works? Temperature limit now its 43C from 48C which xiaomi uses as default, with that your PMIC can burn and your phone will get bricked, in order not to reduce charging speeds so dramatically because of the temperature limit i optimised how current works, reduced the peak current to a lower value (5300mah repsectively) and increased mid and low values in order to keep a stable temperature so it can charge almost as fast as before while keeping your device cooler and safe.
- Back to CONFIG_HZ_250, better, more efficient, better jitter;
- Added scheduler fixes and improvements from pixel;
- Optimised console framebuffer;
- Optimised spinning loop for arm64;
- Backported CFQ changes from samsung's kernel, thanks to Utsav;
- Introduced ZSWAP + VBSWAP which will replace ZRAM because its a more efficient way which uses both ram and storage which will reduce i/o and cpu overhead therefore having better results, value has been set to 4gb. This will improve ram management.
- Improved UFS speeds;
- Zsmalloc optimisations;
- Lowered Display's Jitter to match with the jitter results with N0kernel, this drastically improves response time and percived smoothness.
- Fixed Reddit/other apps small images;
- IF YOU HAVE TELEGRAM/WAPP SWIPING ISSUSES ON AOSP, FLASH MIUI VERSION, IT WILL BOOT AND WORK ACCORDINGLY, SOME ROMS REQUIRE THE FIX MIUI ALSO NEEDS.
- More changes under the hood which i forgot.
N0kernel 2.1:
- Downstreamed to 4.19.227. Why? Because miui sucks and some users bootloop because of that;
- Fixed bootloop on MIUI, reason above;
- Fixed freezes/random reboot when watching netflix or other instances;
- Moved all KGSL and Display workers to SCHED_RR to keep up with the low jitter in order to reduce janks;
- Swiched to 300HZ scheuler tickrate from 250HZ to achive a smoother experience, our jitter is low enough to not need 250hz now;
- Updated cpuset configuration;
- Affined cpu input boost worker to prime core to reduce delays;
N0kernel 2.0:
- Introducing Battery version of N0kernel which improves battery life without sacrificing much from performance.
- Upstreamed to v4.19.229;
- UNICODE VERSION IS MEANT FOR AOSPA, DO NOT USE THAT VERSION ON MIUI.
- Added cpu input boost from Sultan;
- Added Simple LMK from Sultan which will improve gaming stability;
- Boosting cpu to render upcomming frames to reduce jank;
- Building with Ofast optimisations;
- Marked KGSL workqueues to CPU INTENSIVE;
- Added low_prio_worker thread to KGSL to free gpu memory, affining more important threads on perf cluster with higher priority;
- Upstreamed dtc to v1.6.1-19;
- Removed a lot of logging and debugging to reduce overhead in order to improve performance;
- Increased data processing limit in KGSL;
- Backports from linux mainline kernel in lib/list_sort, lib/string_helpers and atomic;
- Added back full frequency table to support better xiaomi's thermals as well as thermal modules;
N0kernel 1.9:
- Upstreamed to 4.19.227;
- Introduced LRNG - Linux Random Number Generator which is much faster than traditional one;
- Using dedicated kmem_cache pool to avoid costly dynamic memory allocations;
- Scheduler improvements;
- Removed xiaomi's UFS/f2fs "optimisations", they were doing worse than better.
- Using the better samsung ufs tw/hpb drivers;
- Inline the spinlock function family regardless of preemption;
- Reverted back to default gpu frequency calculation. This will make your gpu to not ramp up frequencies in normal usage, reducing the power consumption.
- Lowered ddr boost frequency which improves battery life;
- Crypto improvements
- Nuked hysteresis feature;
- Properly set gpu timeout;
- Reverted qcom's KGSL timelines which add a considerable ammount of overhead, and they are not used by anything.
- Added miui's millet optimisations;
- Don't allow s2idle to be used, will use only deepsleep;
- Changed default SCHED_RR timeslice from 100 ms to 1 jiffy;
- Implemented f2fs rapid GC from arter97;
- Scrapped entirely qualcomm's pmqos usage for UFS;
- Implemented simple IRQ-affined PM_QoS operations for UFS;
- Using HIGH priority workqueue for ufs gating work;
- Using SCHED_FIFO for KGSL workqueue;
- Added KGSL POPP back.
N0kernel 1.8:
- Fixed gestures in MIUI;
- Using PELT_UTIL_HALFLIFE_16 instead of PELT_UTIL_HALFLIFE_32 for better smoothness;
- Reverted some commits that were decreasing performance;
- Aligned defconfig with CAF.
N0kernel 1.7:
- Removed 90hz support (because its bad and causes issuses with adaptive refresh rate for 60/120hz);
- Compiled with Proton Clang 13.0.0;
- Merged LA.UM.9.12.r1-13700-SMxx50.QSSI12.0 CAF tag in kernel tree;
- Merged LA.UM.9.12.r1-13700-SMxx50.QSSI12.0 CAF tag in qcacld-3.0 subtree;
- Merged LA.UM.9.12.r1-13700-SMxx50.QSSI12.0 CAF tag in qca-wifi-host-cmn subtree;
- Merged LA.UM.9.12.r1-13700-SMxx50.QSSI12.0 CAF tag in fw-api subtree;
- Merged LA.UM.9.12.r1-13700-SMxx50.QSSI12.0 CAF tag in techpack/display subtree;
- Merged LA.UM.9.12.r1-13700-SMxx50.QSSI12.0 CAF tag in techpack/audio subtree;
- Merged LA.UM.9.12.r1-13700-SMxx50.QSSI12.0 CAF tag in techpack/video subtree;
- Merged LA.UM.9.12.r1-13700-SMxx50.QSSI12.0 CAF tag in techpack/camera subtree;
- Merged LA.UM.9.12.r1-13700-SMxx50.QSSI12.0 CAF tag in techpack/data subtree;
N0Kernel 1.6:
- Fixed the message pop-up on boot "There's an internal problem with your device".
N0Kernel 1.5:
- Rebased again on IMMENSITY KERNEL;
- Upstreamed to v4.19.225;
- Fixed an issuse where after fully charging the phone it would have a massive battery drain;
- Drastically reduced idle drain;
- Significantly improved battery life;
- Improved performance;
- Improved the performance stability;
- Improved ram management;
- The phone heats less than previous versions;
- Introduced Sultan's pidmap optimisation & pidmap header shrink optimization SWITCH which massively improve performance in games made in Unity Engine (such as GENSHIN IMPACT), thanks to @lybxlpsv. How this works? You have to use lyb kernel manager from playstore, open it, allow it root, go to profiles and create a profile, select the profile and enable sultan's optimisations (PID HEADER SHRINK OPTIMISATION & PID MAP OPTIMISATION AND THEN APPLY SETTINGS FOR THIS PROFILE), and press on the square to get the app list you can apply the profile. Please do not select other games than UNITY ENGINE based games, because you will get banned in games with anti-cheat such as pubg & codm, if you don't enable it on those or globally you won't get banned and everything will be fine, its especially made for unity games.
- More stuff has been changed but the changelog would be too big, check my github for more.
N0Kernel 1.4:
- Compiling now with AOSP Clang 12.0.7;
- Enforced deep sleep whenever the phone is on idle for lower idle drain;
- Merged LA.UM.9.12.r1-13400-SMxx50.0 caf tag;
- Upstreamed to v4.19.216;
- Improvements for sched pelt;
- Binder backports;
N0Kernel 1.3:
- Rebased on Optimus Drunk Kernel v11.17 (the one based on quantic kernel);
- Merged LA.UM.9.12.r1-13300-SMxx50.QSSI12.0 caf tag;
- Upstreamed to v4.19.213;
- Introducing Simple LMK by SultanXDA;
- Fixed Internal Error message at boot;
- Many other misc improvements, check my github for more details.
N0Kernel 1.2:
- Rebased on latest IMMENSITY Kernel;
- Merged latest caf tag LA.UM.9.12.r1-12900-SMxx50.QSSI12.0 in kernel tree, qcacld-3.0, qca-wifi-host-cmn & fw-api;
- Added support for "Increased Touch Responsiveness" that most of the roms have as a feature;
- Using sched capacity margins values from latest pixel devices;
- Other misc improvements.
N0Kernel 1.1:
- Optimised pidmaps from Sultanxda should improve gaming experience, especially unity based games.
- Reduced walt window size.
- Forced colocate for foreground and top-app.
N0Kernel 1.0:
- Initial release.

This works! Thank you!

CAVADIAS said:
This works! Thank you!
Click to expand...
Click to collapse
Welcome

{
"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"
}
Great kernel! Smooth af, but there is error after reboot on POSP, ArrowOS on alioth.

Asoroka said:
View attachment 5411403
Great kernel! Smooth af, but there is error after reboot on POSP, ArrowOS on alioth.
Click to expand...
Click to collapse
Don't mind it, its because android is set to give that on boot if you disable some configs in kernel. Nothing to worry about, eventually ill fix that popup by faking using stock defconfig for the sake of people not getting worried.

Asoroka said:
View attachment 5411403
Great kernel! Smooth af, but there is error after reboot on POSP, ArrowOS on alioth.
Click to expand...
Click to collapse
Fixed in 1.3 .

Very nice kernel emanuel, as always. Thanks for sharing.

thanks for the great kernel!!!

EmanuelCN said:
DISCLAIMER: I AM NOT RESPONSIBLE IF YOUR PHONE BRICKS! YOU ARE FLASHING THIS KERNEL AND ITS YOUR CHOICE TO DO IT OR NOT TO DO IT AND YOU'RE THE ONE DOING IT. I JUST WANT TO HELP OTHERS OUT.
REQUIREMENTS: UNLOCKED BOOTLOADER AND AOSP BASED ROM.
Features:
- Based on Optimus Drunk v11.17 (the one based on quantic kernel);
- Compiled with Aosp Clang 12.0.7;
- Only 0.03-0.07 jitter in uibench.
- Sultan's Custom Input Boost;
- Sultan's Devfreq Boost;
- Sultan's IRQ Affine API;
- Sultan's Simple LMK;
- Sultan's pidmap optimisations for a better gaming experience;
- Modified CpuSets;
- Latest caf tag and linux upstream merged;
- RCU backports;
- KGSL improvements;
- Cache improvements;
- PmQoS improvements;
- Disabled walt;
- Scheduler Improvements;
- CONFIG_HZ = 250 (because it offers best jitter);
- Fixed direct HZ references;
- Updated Energy Model from freqbench result;
- Many other improvements, you can check my github.
Download: Google Drive.
Source: Github.
Special thanks to:
- UtsavTheGreat;​- Ayrton990;​- Sultanxda;​- GtrCraft;
- Many other great devs that i have picked commits from.
Click to expand...
Click to collapse
I am new here and idk any technical terms, while i was surfing and comparing different kernels for my alioth by personally installing each one of them, i wanted to say this is one of the best kernel for alioth, but I just encountered a problem that whenever I watch YouTube or watch Instagram stories, my device lags and buffer....
This didn't happen in any of the other kernels, i installed this kernel thrice, but this problem appeared everytime...

extremely0p said:
I am new here and idk any technical terms, while i was surfing and comparing different kernels for my alioth by personally installing each one of them, i wanted to say this is one of the best kernel for alioth, but I just encountered a problem that whenever I watch YouTube or watch Instagram stories, my device lags and buffer....
This didn't happen in any of the other kernels, i installed this kernel thrice, but this problem appeared everytime...
Click to expand...
Click to collapse
Weird, what rom are you using>? I'm using xdroid caf, works fine here, as well as on AOSPK. POSP, PPUI worked fine too.

EmanuelCN said:
Weird, what rom are you using>? I'm using xdroid caf, works fine here, as well as on AOSPK. POSP, PPUI worked fine too.
Click to expand...
Click to collapse
Now it works fine, I reflashed my arrow os rom...
I am new to this, so I had a doubt, idk even if this question is valid or not but...
when will you update the kernel linux version like the ODK ia doing..?

extremely0p said:
Now it works fine, I reflashed my arrow os rom...
I am new to this, so I had a doubt, idk even if this question is valid or not but...
when will you update the kernel linux version like the ODK ia doing..?
Click to expand...
Click to collapse
Yeah i will, currently im in university and i don't have too much free time that i want to spend it for it but for sure when i release an update it will have last version of CAF tag ( what qcom provides) and upstreaming the kernel to last linux revision.

Bro,
This kernel has too much idle battery drain...
today I missed my morning alarm..
yesterday my battery was 80 % charged with no background apps running.
And midnight while I was asleep, it got discharged...

extremely0p said:
Bro,
This kernel has too much idle battery drain...
today I missed my morning alarm..
yesterday my battery was 80 % charged with no background apps running.
And midnight while I was asleep, it got discharged...
Click to expand...
Click to collapse
wtf, thats very weird, my phone does not drain more than 3% overnight.

EmanuelCN said:
wtf, thats very weird, my phone does not drain more than 3% overnight.
Click to expand...
Click to collapse
I was so confused man, i do not know much technical stuff but I've flashed and tried so many roms and kernels but this happened first time...
I was also shocked...

Sir does this kernel boots on a12. If so can u tell me which branch of the source works for a 12??

EmanuelCN said:
DISCLAIMER: I AM NOT RESPONSIBLE IF YOUR PHONE BRICKS! YOU ARE FLASHING THIS KERNEL AND ITS YOUR CHOICE TO DO IT OR NOT TO DO IT AND YOU'RE THE ONE DOING IT. I JUST WANT TO HELP OTHERS OUT.
REQUIREMENTS: UNLOCKED BOOTLOADER AND AOSP BASED ROM.
Features:
- Based on Optimus Drunk v11.17 (the one based on quantic kernel);
- Compiled with Aosp Clang 12.0.7;
- Only 0.03-0.07 jitter in uibench.
- Sultan's Custom Input Boost;
- Sultan's Devfreq Boost;
- Sultan's IRQ Affine API;
- Sultan's Simple LMK;
- Sultan's pidmap optimisations for a better gaming experience;
- Modified CpuSets;
- Latest caf tag and linux upstream merged;
- RCU backports;
- KGSL improvements;
- Cache improvements;
- PmQoS improvements;
- Disabled walt;
- Scheduler Improvements;
- CONFIG_HZ = 250 (because it offers best jitter);
- Fixed direct HZ references;
- Updated Energy Model from freqbench result;
- Many other improvements, you can check my github.
Download: Google Drive.
Source: Github.
Special thanks to:
- UtsavTheGreat;​- Ayrton990;​- Sultanxda;​- GtrCraft;
- Many other great devs that i have picked commits from.
Click to expand...
Click to collapse
Please bring the pid map read tool to your kernel please, your kernel is by far what gave me the most performance on genshin Impact, I have a friend who can run Genshin Impact at almost 60 fps on Poco X3 PRO, recording the game, thanks to this function is simply amazing

Lutheriusfer said:
Please bring the pid map read tool to your kernel please, your kernel is by far what gave me the most performance on genshin Impact, I have a friend who can run Genshin Impact at almost 60 fps on Poco X3 PRO, recording the game, thanks to this function is simply amazing
Click to expand...
Click to collapse
You using a11 or a12?

dhanual said:
Você está usando a11 ou a12?
Click to expand...
Click to collapse
Crdroid 7.13 , A11

Related

[CAF KERNEL] Chaos 17.0 Nightly Builds [18/MAR]

✯ ✯ ✯ CHAOS KERNEL ✯ ✯ ✯
Welcome to the Future - CAF Hybrid Kernel
Synapse Support Included
PROJECT CHAOS IS THANKFUL TO ALL FOLLOWING MAJOR CONTRIBUTORS
Code Aurora Forum (Qualcomm Innovation)
CyanogenMod - CAF supported ROMs
Motorola - Many optimizations for MSM Board and LMK
LGE & Google - Device specific fixes
All developers mentioned in credits below
Description:
Chaos kernel is specially developed for CAF ROMs to enhance user experience.
Chaos kernel aims to provide organized, stable, feature-packed, smooth and performance-driven kernel for daily use.
More and more enhancements and improvements will be added based on reviews and requirements.
Daily updates from 4.0 Kernel upstream and CAF, as and when feasible. (That's why HYBRID)
Follow github source to know more in detail.
Features: (Updated after v12.0)
MultiROM support. Read instructions HERE. Not fully supported on CM12-CAF
CPU Controls, GPU Controls, Touch-Wake Controls, Memory Control and many more in one single app
Linux Kernel mainline updates to version 3.4.106
Kernel with most BACKPORTS from 3.14 Mainline kernel
Color Tweak control (Vivid and slightly cooler color preset)
Color Profiles
OOM advance controls and profiles
Compatible with most external kernel apps!
Entropy depletion fixed.
Samsung native Exfat inbuilt support
I/O schedulers: BFQ v7, CFQ, Deadline, FIOPS, ROW, SIO, VR, ZEN
Highly updated and tuned governors
Auto mount OTG
NTFS support enabled
Massive Driver updates
CAF Sound improvements and Sound Control via Synapse
Sweep2Wake, Sweep2Sleep and DoubleTouch2Wake interface with Power Key Toggle
USB Fast Charge Driver (to improve charging with cheap charger sources)
SELinux improvements
Default ROW i/o scheduler
GPU, USB, Vibrator, NET drivers updated from Google CAF
ZRam (Compressed memory) backported from 3.15 kernel with new compression algorithm and fixes
ZSMAlloc backported from 3.15 kernel (Compressed pages memory allocator)
CPU Idle driver backported from 3.15 kernel (CPU gets better deep sleep and settles faster when idle)
New Hotplug Mechanisms: MSM Hotplug (Default), Intelliplug Hotplug, Bricked Hotplug and CyanogenMod Default, switch between easily them using Synapse.
And much more... Read changelogs!!
Links:
▷ Download Link:
Nightlies: Download Here
▷ General Discussions, Tips & Tricks on NXTweaks Settings: Click Here
▷ Kernel Source: Click Here
Installation Method:
Backup YOUR entire ROM in your favorite way
Reboot in Recovery
REFLASH YOUR ROM IF YOU WERE USING ANOTHER CUSTOM KERNEL ON YOUR CAF ROM
Flash downloaded Zip File
Reboot
Trouble Shooting:
Weird Battery Drainage?
Wipe Cache, Dalvik Cache from recovery and reboot
Let battery drain such that about 10% remains. Now charge via AC source till 100%.
Please make sure there is no rogue app in background draining battery.
Credits:
myfluxi
dorimanx
The user community (reviews and feedback)
If I have forgotten credit to your contribution, please send me a PM. Thank you.
You may post anything related kernel. Make sure to mention ROM name, Governor name, IO Scheduler name.
Feature request is served if feasible.
XDA:DevDB Information
Chaos Kernel, Kernel for the Google Nexus 5
Contributors
neobuddy89
Source Code: https://github.com/neobuddy89/hammerhead/commits/kitkat-caf
Kernel Special Features: Everything!
Version Information
Status: Nightly
Created 2013-12-01
Last Updated 2015-03-17
Changelog
CM12 CAF got fresh builds from the scratch. Here is the changelog of each builds:
Code:
[B]Chaos_v17.0-[03-18]-[01-53][/B]
* Rebased to sync GPU and memory allocations with CM12.
* Updates from lollipop-mr1.
* Improved stability.
* Updated linaro toolchain.
[B]Chaos_v17.0-[03-09]-[00-21][/B]
* Sync with CM12-CAF builds
* Compiled with latest linaro toolchain (We will switch to own compiled toolchain later.)
* Misc updates from CAF, google 3.4 and 4.0 mainstream.
[B]Chaos_v16.1-[02-26]-[02-45][/B]
* Unified Ext4 and F2FS build.
* Improved stability.
* Misc updates.
[B]Chaos_v16.1-[02-04]-[05-11] / Chaos_v16.1-[02-04]-[05-19]_F2FS[/B]
* Fixed bug - CPU min-max frequencies resetting to stock values. Thanks @[URL="http://forum.xda-developers.com/member.php?u=5701151"]5echo2[/URL] for reporting.
* Linux 3.4.106 update (lots of bug fixes for file system, updates for generic drivers, memory improvements, NET driver upgrades and fixes)
* Increased boost period for CPU to 500 ms for smoothness. (You can reduce using Synapse if you wish.)
[B]Chaos_v16.1-[02-01]-[18-00] / Chaos_v16.1-[02-01]-[18-31]_F2FS[/B]
* Fixed Synapse Backend Support for CM12 built-in superuser. (Needs more testing)
* Updated interactive governor.
* Completed sync with Linux 3.4.105
* NET and USB driver updates from linux 3.4.y upstream
* Misc updates
[B]Chaos_v16.1-[01-29]-[09-26] / Chaos_v16.1-[01-29]-[09-34]_F2FS[/B]
* Enabled Power Collapse for Panel
* Added Yankactive governor. Needs testing.
* Updated Zzmoove governor
* Modem update
* Sync with CAF24 kernel
* Updated F2FS, test with F2FS build.
* Updated WiFi driver
* Backport kernel locking mechanism from 3.14.
* Stability improvements
[B]Chaos_v16.1-[01-23]-[07-46] / Chaos_v16.1-[01-23]-[07-52]_F2FS[/B]
* Panel updates and cleanup for new doze mode support. (More to come later by myfluxi [IMG]http://forum.xda-developers.com/forum.xda-developers.com/forum.xda-developers.com/forum.xda-developers.com/forum.xda-developers.com/cdn3.xda-developers.com/images/smilies/wink.gif[/IMG] )
* Added Zzmoove, Intelliminmax and Smartmax governors from Hybrid kernel.
* ARM updates.
* Minor update for sound codec driver.
* Ramdisk update from CM12-CAF.
[B]Chaos_v16.1-[01-17]-[15-50][/B]
* Devfreq cleanup and final update
* Crypto update including ARM optimization with NEON acceleration
* Sound codec driver update
* MMC driver bug fixes and updates
* Android IPC subsystem update from android-3.10
* Updates and fixes from 3.4.y stable.
[B]Chaos_v16.1-[01-09]-[18-34][/B]
* Devfreq update
* Filesystem sync with 3.4.y
* Memory management update with 3.4.y
* ARM optimizations.
[B]Chaos_v16.1-[01-07]-[09-39][/B]
* Devfreq Cleanup
* IRQ handling improvements
* Potential memory corruption fix
[B]Chaos_v16.1-[01-06]-[01-56][/B]
* Misc fixes and optimizations.
[B]Chaos_v16.1-[01-05]-[03-27][/B]
* Activated ULPS (Ultra Low Power) for panel.
* Updated GPU driver.
* Memory allocation updates from CAF.
* Lots of performance optimizations from [B]Motorola[/B], CAF and mainstream.
* ARM architecture updates and optimizations
* CPUIdle driver backported from 3.14 mainstream
* Build optimizations for toolchain
* Newer and faster lowmemorykiller (LMK)
* Synced with CAF11 build.
* EXFAT 1.2.9 support
* Synapse Update
[B]Chaos_v16.0-[12-30]-[01-40][/B]
* Add F2FS support
* Enable Network Filesystem
* Enable KSM support (disabled by default)
* Improved workqueues + Power efficient workqueues
* Optimizations
[B]Chaos_v16.0-[12-29]-[23-50][/B]
* New SEPolicy - works with latest CAF06.
* Misc updates for ARM Crypto and audio driver
[B]Chaos_v16.0-[12-27]-[11-53][/B]
* Initial version based on Stock CAF CM12 kernel.
* Synapse support
* Added MSM, Bricked and Intelli Hotplug
* Added BFQ, VR, SIO and FIOPS I/O scheduler
* Added latest fast charge implementation
* Added Sound Control
* Added Charging LED control
* Added Voltage Control
* Added OC
* Added MSM Limiter Driver for Per-CPU Total Control
* Added SMP Hotplug infrastructure based and load-based sync CPU Boost Driver.
* Fixes here and there. Phew...
Old !! Old !! Old !!
HIGHLIGHTS:
v14.0:
Linux 3.4.104 update
Updates for backported drivers and features from 3.18 mainline.
Removed NXTweaks app and support. Added Synapse app support. Install app from Play Store.
ARM architecture updates.
Reverted voltage structure to use older and higher values for stability across different devices.
Improved overall smoothness.
Compiled using updated toolchain non-linaro 4.8.4 from Sabermod Sources - Optimized for Hammerhead.
Crypto driver fixes and updates from msm-3.10
Reduced debug crap from kernel.
Enabled ONDEMAND governor only for test-basis. You may run into random issue using it. Do not use.
Added BACON governor which is interactive governor of OnePlus one.
Improved INTERACTIVE governor. More smoothness and more power saving when idle.
Tegra patches from Nvidia for improved power efficiency.
Improved overall smoothness.
Video playback driver updates from CAF.
Audio driver updates from msm-3.10.
Sound control driver updates. Removed PA gain which is fully automatic now - changes dynamically.
CPU Idle driver updates from 3.16 mainline.
ZRam driver updates from 3.16 mainline.
Android specific driver updates
Fixed and enabled DIAG mode.
Improved routines for hotplug and limiter drivers.
Updates from google kernel common branch.
Better PM driver - from CAF kk-3.5.
v13.2:
Restored MDSS panel driver to stable point of CM-11.0.
Linux 3.4.100 update
Qseecomm driver bug fixes from CAF
v13.1:
Sync mount options with CM11
Disable ULPS and Partial update features of panel
Add FLAC to sound compress driver.
v13.0:
Update Linux version to 3.4.99 (from upstream)
Renewed hotplug mechanisms. Updated MSM Hotplug and Intelli Plug drivers.
Improved internal memory allocations
Tweaked interactive governor to kill microlag
Completely reworked Audio!! Feel the difference.
Bluetooth memory corruption issue resolved
Reliable BT connections for most cases
Fixed Encryption
Modem driver updated from msm-3.10
Updates from Linux kernel 3.16
GPU updates from msm-3.10
Android L kernel updates merged (No, it won't work with Android L preview release)
CPU governor updates
ARM architecture updates from msm-3.10
Added Ultra Low Power updates for Panel driver
Removed Morpheus mode code
Added CPU Limiter Driver and controls to NXTweaks
BFQ Scheduler update
CPU-Boost driver updated and tweaked. Added controls to NXTweaks.
Android specific driver updates
IDR memory allocation backport from 3.16 kernel
v12.0:
Update Linux version to 3.4.91 (from upstream)
Completely renewed and optimized MSM Hotplug.
Added option to switch between Cyanogenmod Hotplug, MSM Hotplug and new Intelliplug Hotplug
New CPU Boost Driver and new tunables for NXTweaks.
Camera, Video and Audio driver updates from CAF
ZRam Backport from 3.14 kernel
Smaller kernel size. Better compression.
Critical fix of voltage structure application via NXTweaks
New BFQ v7r4 I/O scheduler update
Added support for USB Keyboard app on Play Store
Misc driver updates from CAF and 3.14 kernel
Updated WiFi driver to suspend better
Soft IRQ handler backport from 3.14 kernel
Bluetooth fixes and Serial driver updates
Updates for interactive, intelliactive governors.
MSM Shared memory driver updates from CAF
Crypto driver updates from CAF
Smoother GPU and GPU fixes
EXT4 updates from 3.14 kernel
Synced with CM11
v11.1:
Update Linux version to 3.4.88 (from upstream)
Fix recurring audio glitch.
Camera, Video and Audio driver updates from CAF
Improved hotplugging routines..
v11.0:
Update Linux version to 3.4.87 (from upstream)
Add Sound Control to NXTweaks with different sound profiles
Enhance Wake Controls to NXTweaks
Add backlight dimmer controls to NXTweaks
Add HOTPLUG controls to NXTweaks
Updated COLOR profiles and new defaults for NXTweaks
Backports and updates for new task scheduler SCHED_DEADLINE from 3.14 Mainline Kernel
Updates for existing task scheduler from 3.14 mainline kernel
Backport enhancements for Red-Black Tree algorithm (RBTree) used widely
Workqueues enhancements and backports from 3.14 kernel
MUTEX enhancements and backports from 3.14 kernel
Improve SMP and Hotplugging operations - backported from mainline kernel
Enhanced, fastest and smartest LMK (low memory killer)
Massive updates and fixes from CAF! (Including sound, USB, video, GPU, CRYPTO, and many drivers)
Many fixes and implements from Motorola, Redhat, Linaro, SuSe, Intel and IBM sources
CPU load reduction (save power)
Reduction in retention voltages (save more power when idle)
Improved KSM
Update ExFat to latest v1.2.8 from Samsung sources
Initiate SELinux in enforcing mode (more secure)
Updates from Android-3.4 common kernel branch by Google.
New memory utilities for faster mem operations (from Motorola)
Performance optimizations
Dropped obsolete features
Sync with latest CM11
v10.2:
Update Linux version to 3.4.80 (from upstream)
Add Color Profiles to NXTweaks
Add option to disable additional logs to NXT
Add option to prevent memory hog to NXT
Revert CPUIDLE and WORKQUEUE updates for this release
Restore ondemand governor from stable base
Updates fro GPU and VIDEO driver
Stability and smoothness
Add more governors: Hyper, Nightmare, Pegasusq, Intellidemand, Intelliactive
Performance optimizations
v10.1:
Update VIDEO driver (from CAF)
Fixes and updates for CPUIDLE driver
Minor improvement for Ondemand governor, CPU Boost driver, CPU bandwidth governor
Update for SELinux
Update BFQ I/O scheduler from v6 to v7r1
Implement new power efficient workqueue (patches from Linaro!)
Use new hashtable implementation for workqueue
Heavy reduction of high load avg on CPU by using interruptible threads (CPU gets idle faster than before!)
Upgrade and improve generic Interrupt code - GENIRQ and new lib code for RCTREE (patches from redhat and intel)
Core throttling for temperature is now enabled but only when screen is off. Requires morpheus mode enabled.
Revert an commit done earlier for page-writeback to sync with CM11 - gives more optimal usage of RAM
Fix power config in ramdisk - lpmlevels
Minor memory leak fixes
Performance improvements
v10.0:
Drop support for stock based ROMs => Read more HERE
Support only CAF based ROMs (CM and CM-based ROMs)
Complete rewrite of the code
New power saving architecture
New voltage structure (lower volts than previous)
Clean the zipped file (Now only boot.img within zip, rest required files are auto installed from ramdisk)
Charging not supported if kernel flashed separately on secondary ROM you may share with secondary though.
OC upto 2.5 GHz
CRON Jobs added to NXT for self-maintenance
Removed unupdated governors (which were causing instability issues)
Retune all the profiles
Core throttling disabled. Theoretically, at higher temperature cores should not be throttled; frequencies should.
mpdecision replaced by msm_hotplug driver. This driver does the job and is less aggressive.
zRAM and KSM added (Off by default)
Updates for CPU Freq driver (interactive and ondemand governors)
Updates for GPU driver
Updates for Video driver
Updates for Camera driver
Updates for Thermal driver
Minor updates for other drivers
Linux version of kernel updated to 3.4.79
Scheduler optimization
TCP optimization
Add logger control to NXT
Retain only few steps to offset voltages of NXT (to prevent users messing too much with voltages)
EXFAT is now built-in just like FRANDOM
Reduced Panel Voltage - to save power when Screen on
Reduced CPU DMA latency - more performance
Sync some latest updates from Android-kernel-3.4 common branch
Sync Ramdisk with CM11 and specifications from Qualcomm
Many minor performance optimizations all over
Add debug capabilities to NXT - Please submit all logs while reporting any bug
Compiled with Google GCC Toolchain 4.8.2
v9.2:
Disable touch boost by mpdecision (+1 for power saving)
Enable CPU Boost drivers (to compensate boost feature and alleviate any lag due to lack of touch boost)
Experimental support for PAC ROMs (not tested)
v9.1:
Performance optimization
More smoothness
Power saving settings
Add Ondemandplus Governor - Semi-agressive governor based on interactive and ondemand
v9.0:
Linux version updated to 3.4.76
Updated Linaro Toolchain to 4.8-2013.12
Added Profile Management to NXTweaks - Now you can save your settings and switch between different profiles
Available profiles: Balanced, Performance, Power -saving
Added Voltage Control to NXTweaks - You need to enable master switch from NXT
New Gamma Calibration App (Find in attachments)
Gamma Correction on restart option added to NXTweaks
Restore old mount options (should fix data persistence issue)
Updated Ramdisk from latest CM ROM (should fix drain issues if any to some extent)
Added CM11 led support
Implemented Slimbus overclock (better audio?)
OOM Tweaks and fixes
New Fastcharge Driver with custom charge control
Advanced performance optimization (Backport from kernel 3.11)
Advanced performance optimization for workqueues (Backport from kernel 3.8)
EXT4 and UNIX code optimization
export SECONDARY_STORAGE option
Multi-core power saving technique adapted from Franco kernel
Network tweaks & Fixes -- Better data connection
TCP Congestion Prevention method set default to stock "cubic" - more reliable and battery friendly
GPU drivers update from CM11 and CA
CPUFreq drivers update from CM11 and CA
WiFi drivers update from CM11
USB drivers update from CM11
Miscellaneous updates for ARM
Retune NXT defaults
v8.1:
Update GPU driver - Sync with CM
Restore old frequency structure to fix battery drain
Maintain slightly lower voltage for 300 MHz
Tune low memory killer and OOM
Disable UKSM by default
v8.0:
Completely renewed source code. You can find it HERE. Thanks to all beta testers.
Linux Kernel mainline updates from version 3.4.75
No more stutter, freezes and micro lag. If you are facing any freeze, please clean install your ROM.
Added Morpheus mode to NXT - Screen on/off tweaks
Better camera picture quality
New frequency structure, 268 MHz is new lowest frequency with slightly lower voltage
Switched to kernel's thermal engine (ROM's thermal engine switched off)
Added thermal controls to NXT
Revised compiler flags - switched back to Linaro -O2 optimization. More smoothness.
GPU updates, GPU frequencies listed properly in NXT
New defaults in NXT
UKSM turned on by default
Sync with android 3.4 kernel branch
Added "Disabled" switch to Color Tweak in NXT to avoid interference with Faux Gamma app
mpdecision is on (it was turned off in v7.0)
NXT control to disable IPv6
Heavy performance optimizations
Removed intelli hotplug and intelli thermal engine
Previous Version changelogs:
v7.0: Cancelled
v6.0:
Separate build available for CM11 latest nightlies where battery indicator is broken on custom kernel (Do not use this on other ROMs)
Added and tested MultiROM support. Read more HERE.
Added OTG auto-mount support
Added Power Key Toggle (PKT) for DT2W/S2W
Added Sweep2Sleep
Added control to disable GENTLE_FAIR_SLEEPERS to increase UI responsiveness
Added vibrator strength control
GPU updated and synced with CM11
GPU controls added - Max/Min Frequency, Polling interval, Governor
Fixed CPU governor/frequency settings not being applied to sibling cores
Added Color Tweak control (Vivid and slightly cooler color preset. NXTweaks => Miscellaneous)
Added support XBOX360 controllers with camera-spin fix
Complete in-sync with CM11 kernel
Deadline governor optimizations
Updated Ondemand and Interactive governors
v5.1:
Fix ART reset on reboot bug
Update SMP driver
Performance optimizations
Fix panel bugs at boot
v5.0:
Updates pulled from 4.4.2 kernel
Linux Kernel mainline updates from version 3.4.74
MTP Driver update - More speed
Video Driver update
Camera Driver update
MSM ARM code upgrades
Prevent thermal engine setting overclock frequency if not set
Boot at stock frequencies or user defined frequencies
Attempt fixing ART reset on boot issue
Remove zRAM as we have enough RAM already
Trim kernel from debugging codes
Backlight optimizations
I/O optimizations
Minor other optimizations
v4.0:
Linux Kernel mainline updates from version 3.4.73
Add new governors: SmartAssH3, AbyssplugV2
Add new I/O schedulers: VR, ZEN
Update Interactive governor and set as new default
Use 1.27 GHz as Max freq for Interactive governor when screen off
Update ROW I/O scheduler and tune values
Update BFQ I/O scheduler
Update CPU frequency driver
Use Neon library with hard float (for performance)
v3.2:
CPU Idle for C0, C1 and C3 enabled. Idle for C2 disabled. [Better deep sleep?]
Use SIMPLE governor as default for GPU.
Added simple GPU governor controls to NXTweaks
Better loading of NXTweaks config on boot
Updated and cleaned ramdisk
Better mount options for performance
v3.1:
Fixed ART compatibility issues
[*]Removed Thermal control to fix bootloop issues
[*]Minor Optimizations from Google MR1 release
[*]Enabled ASync File sync
[*]CPU boost disabled as it caused conflict with mpdecision
v3.0:
Fixed Root and Full compatibility with all ROMs including 4.4.1
[*]Linux Kernel mainline updates from version 3.4.72
[*]Updates from Google Kernel common source
[*]Added ZRam with LZ4 (fastest) compression/decompression.
[*]Added Ultra Kernel Samepage Merging (UKSM)
[*]Added new thermal driver control with throttling temperatures
[*]OOM advance controls. Control behavior of OOM Killer when screen on/off.
[*]Added Backlight Dimmer Control
[*]Added CPU Governor Control
[*]Added IO Scheduler Control
[*]Added Frandom, EDS module Control
[*]Added few more miscellaneous tweaks and controls
[*]Fixed hysteria of backlight at boot
[*]Fixed auto reset of governor at boot
[*]Driver updates for GPU and vibrator from Google
[*]WiFi fixes
[*]Minor bluetooth and USB fixes
[*]Fixed Clean Cache button and functionality in NXTweaks app
[*]Removed OC
[*]Auto-install compatible Busybox
v2.1:
Root on Stock based ROMs NOT Fixed yet
[*]Enabled -O3 optimization for linaro toolchain 4.8
[*]Added NXTweaks app to satisfy your fantasy!! More controls later.
[*]Added new thermal driver, enabled by default.
[*]Intellidemand Hotplug option in NXTweaks
[*]S2W/DT2W controls in NXTweaks
[*]Added OC but default max frequency is stock max frequency
[*]CPU controls added in NXTweaks
[*]Dynamic Fsync and USB Fast charge controls added in NXTweaks
[*]Compatibility with Faux's reverse engineering tool for gamma.
[*]Corrected reset of governor on reboot. Intellidemand is default governor.
[*]FIOPS is new default scheduler.
[*]Use EXT4 code for EXT3/2 as well.
v2.0:
Linux Kernel mainline updates to version 3.4.71
Linaro Toolchain 4.8 - 2013.11 compiled
Entropy depletion fixed. No depletion anymore.
Samsung native Exfat modular support
Faux Sound improvements and interface (Thanks @faux123)
Sweep2Wake and DoubleTouch2Wake interface (Thanks @showp1984)
Exponential brightness delta (replaced Linear)
Voltage Control interface
Dynamic File Sync
Power Suspend Driver (replacing deprecated Early Suspend)
Improvements in MSM hotplug driver
Added Intelliplug Hotplug driver
Reduced Wifi wakelocks
Performance optimizations with unaligned memory access
Added USB Fast Charge Driver (to improve charging with cheap charger sources)
SELinux improvements
Auto junk clean stored in Cache and Data
SWAP Enabled
Reduced Logger RAM usage
Improved Load Handling
Default ROW i/o scheduler
Default intellidemand governor
v1.0:
Linux Kernel mainline updates to version 3.4.30
Linaro 4.7 Based for performance
Fully CyanogenMod compatibility
SWAP enabled
NXTweaks is no longer supported Chaos 14.0 nightlies onwards.
Install Synapse app from Play Store. We have backend developed to support Synapse app!
NXTweaks FAQ:
What is NXTweaks?
NXTweaks is a core app for this kernel which gives many controls at your finger tips.
These controls will help you to easily customize interfaces developed in this kernel.
So as you won't need to use Terminal Emulator and echo commands!
Try it once, and you will love it.
Why not TricksterMod or other kernel apps?
I would recommend NXTweaks since there are many interfaces like hotplug control, limiter driver, etc
will only available in NXTweaks. Also, NXTweaks classify different controls in different tabs making easy
for you. If you still don't like NXTweaks, leave it alone as it is.
NXTweaks vs STweaks
NXTweaks app is same as STweaks app in Play Store, however NXTweaks is updated one to fix crashes and comparatively better UI.
How can I install NXTweaks?
It gets auto-installed once this kernel boots. If not, read below.
NXTweaks not getting auto-installed / NXTweaks not showing up in App Drawer
This issue can be faced by users with encryption where data partition is not easily available to inject script.
You can install manually from here: http://forum.xda-developers.com/showpost.php?p=53849779&postcount=2808
NXTweaks app showing "Kernel Not Supported"
This issue can be faced by users with ROMs other than CM11 due to missing bash binary.
You need to flash fix from here: http://forum.xda-developers.com/showpost.php?p=54026032&postcount=2921
Reserved #2
Looks good. I think the link is broken. Won't let me download on tapatalk app.. :/
Sent from my Nexus 5 using Tapatalk
Carbajal3009 said:
Looks good. I think the link is broken. Won't let me download on tapatalk app.. :/
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Try again:
http://d-h.st/yTS
Oh man glad to see you here on nexus 5 neo! Been using your ROM back in the day with the galaxy s. Great Dev!
Sent from my Nexus 5 using Tapatalk
New Kernel for cm is good. I'll test it next time.
Inviato dal mio Nexus 5
teambestyrandy said:
Oh man glad to see you here on nexus 5 neo! Been using your ROM back in the day with the galaxy s. Great Dev!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Oh thanks, took me 4 hours to make fist standalone linaro-based kernel for Google device. The source code is very clean and neatly maintained by Google unlike Samsung folks. And took me another 4 hours to upgrade from 3.4.0 to 3.4.30... more to go.
I am on DroidKang ROM currently (love the features of it) However, felt experience can be maximized with custom kernel and so starts Chaos kernel project.
I am also on latest droidkang ROM actually with elementalx kernel.
Feature request for your Kernel: s2w and dt2w like in bricked kernel and elementalx kernel
Thank you.
rokahaal said:
I am also on latest droidkang ROM actually with elementalx kernel.
Feature request for your Kernel: s2w and dt2w like in bricked kernel and elementalx kernel
Thank you.
Click to expand...
Click to collapse
Yep. They are in my todo list along with an app to control same. Should be covered within this week.
Current progress: Patched successfully upto 3.4.50. We need to go upto 3.4.71.
Google devs are making these patches difficult since provided source code has few code updated well and left behind major chunk of code as of 3.4.0.
So, it take times to go through code and update.
https://github.com/neobuddy89/chaos_hammerhead_kernel/commits/cm-11.0
Nice to see you here again my friend...
Gesendet von meinem Nexus 5 mit Tapatalk
Hi Neo, nice to meet you again after a lot of mods in the Noteworld
Inviato dal mio Nexus 5 utilizzando Tapatalk
giaris said:
Hi Neo, nice to meet you again after a lot of mods in the Noteworld
Inviato dal mio Nexus 5 utilizzando Tapatalk
Click to expand...
Click to collapse
Nice to meet you as well Giaris.
We will be implementing app like NXTweaks here to control kernel parameters soon enough.
@all: New kernel update in couple of hours with major improvements and implementations.
No custom app for now.
Hey @neobuddy89 where the link to v2?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Major update available.
For those who know how to enable S2W, D2W via console commands, please help yourself... if you wish Sweep2Wake, DoubleTouch2Wake
Others can wait for next release. Reviews welcome!!
Changelog:
v2.0:
Linux Kernel mainline updates to version 3.4.71
Linaro Toolchain 4.8 - 2013.11 compiled
Entropy depletion fixed. No depletion anymore.
Samsung native Exfat modular support
Faux Sound improvements and interface (Thanks @faux123)
Sweep2Wake and DoubleTouch2Wake interface (Thanks @showp1984)
Exponential brightness delta (replaced Linear)
Voltage Control interface
Dynamic File Sync
Power Suspend Driver (replacing deprecated Early Suspend)
Improvements in MSM hotplug driver
Added Intelliplug Hotplug driver
Reduced Wifi wakelocks
Performance optimizations with unaligned memory access
Added USB Fast Charge Driver (to improve charging with cheap charger sources)
SELinux improvements
Auto junk clean stored in Cache and Data
SWAP Enabled
Reduced Logger RAM usage
Improved Load Handling
Default ROW i/o scheduler
Default intellidemand governor
Kernel is compatible with Stock ROMs and derivatives as well.
Tested on Cataclysm ROM.
Kernel has lcd tweaks also? to enhance display?
varun.gid said:
Kernel has lcd tweaks also? to enhance display?
Click to expand...
Click to collapse
Which one? One to support Faux Free App?
That is planned for next release.

[KK 4.4][KERNEL] Neo-Kernel TWRP Linaro 4.9

At first i have to say that i am not a developer.
I only pick comments from other devs and add them into my kernel.
This kernel is based on didhiy sources with some additions.
Thanks a lot to didhiy who helped me to get this working.
Sry for my bad english
And thx to kasper_h for his Mackay-TWRP
Differts to didhiy:
- Build using the Cortax-A8 optimized Linaro 4.9 toolchain of Christopher83: http://forum.xda-developers.com/showthread.php?t=2098133
- O3 optimization
- hard float + neon
- ROW tweaks from francisfranco
- CPU boost driver
- Lowered swappiness 60->45
- fifo + zen scheduler
- sry no own kernel logo till now
Source + Changelog:
https://github.com/DerRomtester/android_kernel_samsung_aries/commits/stable2
Bigmem libs for any kernel:
http://rootaxbox.no-ip.org/kasper_h/kernels/KK/bigmem/
Credits:
-didhiy
-pawtip
-DerTeufel1980
-Alberto96
-Christopher83
-faux123
-TK-glitch
-neobuddy89
-kasper_h
-stratosk
Changelog:
09.03 Changelog
- Now working with latest nightly
- one version with and one without zram
- 144 mb zram available
- ramdisk: from cm-11-20140307-NIGHTLY
- 1100 mhz step
- dma-contiguous: do not retry other addresses
without zram
with zram
13.03 Chagelog
- samsung bootsplash
- completly removed zram (causing lags)
- kernel: Prevent unnecessary rfkill event generation. (maybe increases battery life)
- AIO: Don't plug the I/O queue in do_io_submit() Asynchronous I/O latency to a solid-state disk greatly increased between the 2.6.32 and 3.0 kernels. By removing the plug from do_io_submit(), we observed a 34% improvement in the I/O latency
Download
15.03 Changelog
- Entropy Tweaks
- tmpfs: fix mempolicy object leaks
- switch the protection of percpu_counter list to spinlock
- timer slack controler
- optimized AES and SH1 routines
- backport CPUIDLE from 3.5
- backport AIO (Asyncronous IO) from linux 3.5
- mm: Dont use CMA pages for page cache
- irq: Set CPU affinity right on thread creation
- sync: allow async waits to be canceled
- powerpc: Align p_dyn, p_rela and p_st symbols
Download
16.03 Changelog
- latest toolchain from Christopher83 4.8.3 for cortex a8
Download
26.03 Changelog
- Many Entropy tweaks (cherry-picked from faux123)
- some Mutex changes
- some vmalloc changes
- ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above
- ARM: dcache: select DCACHE_WORD_ACCESS for little-endian ARMv6+ CPUs
Download
31.03 Changelog
- gcc 4.9 linaro toolchain from Cl3Kener
- enabled graphite
Download
7.04 Changelog
- ramdisk: update from cm-11-20140331-NIGHTLY
- latest bfq v7r2 added
- mm: vmscan: If kswapd has been running too long, allow it to sleep
- net: loopback: set default mtu to 64K
- ksm: check and skip page, if it is already scanned
- defconfig: Enable Advanced TCP Congestion Control
- defconfig: Enable KSM_CHECK_PAGE
Download
Changelog 14.04.2014
- mm/readahead.c: fix readahead failure for memoryless NUMA nodes and limit readahead pages
- ARM: s5pv210: enable IDE support in MACH_TORBRECK
- ARM: msm: add missing include of linux/module.h
- ARM: msm: export legacy DMA interfaces
- cma: Remove potential deadlock situation
- cpufreq: interactive: Remove unnecessary cpu_online() check
- reverted to christophers83 toolchain lets wait for his optimized cortexA8 toolchain
Changelog 23.04.2014
- sry i am too lazy now look at my github account
Changelog 12.05.2014
-defconfig: bfq default
-cpufreq: interactive: turn boost_pulse off on boost off
-ARM: be strict about FP exceptions in kernel mode
-ARM: add support for kernel mode NEON
-ARM: crypto: add NEON accelerated XOR implementation
--sysfs: Removed dup_name entirely in sysfs_rename
-mm/swapfile.c: do not skip lowest_bit in scan_swap_map() scan loop
-defconfig: CONFIG_KERNEL_MODE_NEON=y
-CRYPTO: Fix more AES build errors
-ARM: add .gitignore entry for aesbs-core.S
-ARM: add support for bit sliced AES using NEON instructions
-ARM: move AES typedefs and function prototypes to separate header
-ARM: pull in <asm/simd.h> from asm-genericcrypto: create generic version of ablk_helper
-ARM: 7837/3: fix Thumb-2 bug in AES assembler code
-ARM: 7723/1: crypto: sha1-armv4-large.S: fix SP handling
-ARM: 7626/1: arm/crypto: Make asm SHA-1 and AES code Thumb-2 compatible
-ARM: only allow kernel mode neon with AEABI
-ARM: 7835/2: fix modular build of xor_blocks() with NEON enabled
Changelog 4.06.2014
Changelog:
- removed cma
- added bigmem support so flash bigmem libs look op
- no problems with latest nightly
- latest mackay twrp 2.7
- bfq update v7r4
- for more details check github
nice work :thumbup:
imo -O3 + christoper toolchain should make a better optimizing like on mackay
Just installed.
Seems good.
The few mb less seems to solve front camera problems (no freeze on video recording or screenshot).
Will see for stability with the use.
I just miss one thing: Fast charge.
darckengel said:
Just installed.
Seems good.
The few mb less seems to solve front camera problems (no freeze on video recording or screenshot).
Will see for stability with the use.
I just miss one thing: Fast charge.
Click to expand...
Click to collapse
I try to include fast charge in the next version.
Sent from my GT-I9000 using xda app-developers app
Looks good :thumbup:
Sent from my GT-I9000 using xda app-developers app
liveOC ?
-Tex- said:
liveOC ?
Click to expand...
Click to collapse
I think i do not include it because of instability problems.
Sent from my GT-I9000 using xda app-developers app
My feedback after 1 day use:
I have some freeze issues for many seconds with some apps (games/browser), i didn't face it with other kernels, sounds like memory issues..
darckengel said:
My feedback after 1 day use:
I have some freeze issues for many seconds with some apps (games/browser), i didn't face it with other kernels, sounds like memory issues..
Click to expand...
Click to collapse
I know this problem .
Do not tick ksm and the other thing. Maybe it solves the problem.
Sent from my GT-I9000 using xda app-developers app
If the problem still exist pls test this version.
The problem could be this comment : backport SLUB from Linux 3.3 (thanks to faux123)
DerRomtester said:
If the problem still exist pls test this version.
The problem could be this comment : backport SLUB from Linux 3.3 (thanks to faux123)
Click to expand...
Click to collapse
Thx i will give a try.
Is the kernel i posted above without heavy lags?
Sent from my GT-I9000 using xda app-developers app
Test Kernel:
Changelog check github 1.March
Little Changelog:
- fast charge
- 512 readahead
- zcache cherry-picked from didhiy
- backport slub from linux 3.3
How much ram with this kernel? does it affect front camera?
LiveOC on Semaphore is quire stable, when you say it's unstable this is caused by user.
pacc said:
How much ram with this kernel? does it affect front camera?
LiveOC on Semaphore is quire stable, when you say it's unstable this is caused by user.
Click to expand...
Click to collapse
415 mb, no issues on front camera.
I tried it, but it's unstable on my phone, got many freezes (tried to uncheck memory options but i still have freezes).
darckengel said:
415 mb, no issues on front camera.
I tried it, but it's unstable on my phone, got many freezes (tried to uncheck memory options but i still have freezes).
Click to expand...
Click to collapse
Great, 415MB of ram without any issues, this is a winner.
Please add overclocking to 1100 which is quite stable on most devices.
pacc said:
Great, 415MB of ram without any issues, this is a winner.
Please add overclocking to 1100 which is quite stable on most devices.
Click to expand...
Click to collapse
I try it.
Sent from my GT-I9000 using xda app-developers app
You guys want a version without CMA ? This will solve the freezes
Or a version without zram ?
Sent from my GT-I9000 using xda app-developers app
Changelog:
- 1100 mhz oc step added
- disabled zram and zram for android
- many cherry-picks from startosk and from faux123: https://github.com/DerRomtester/android_kernel_samsung_aries/commits/stable

[TW/CM][Emotion Kernel r26][SM-N910F-G][9-SEP-2016][6.0.1]Emotroid Team

{
"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"
}
- Emotion nightly Kernel Note 4 -
-SM-N910F SM-N910G -​
Developed by Placiano and Pafcholini
More stable, more performance, more of everything!​
Introduction
Introducing the Emotion Revolution Roms & Kernels for Android Devices.
Emotion Rom/Kernel is a modified, aftermarket firmware/Kernel distribution few Android devices (Note 2, Note 4, HTC M7, Newman N2). Based on the Android Open Source Project , Emotion Rom & Kernel is intended to increase performance and stability over Android-based Devices released by sellers, for example, Samsung, HTC and so forth. Emotroid additionally offers a mixed bag of features & improvements that are not presently found in stock variants of Android.​​
*** Disclamer***
Your warranty is now void.
We are not responsible for any damage or problems you may have!
YOU are choosing to make these modifications.
Click to expand...
Click to collapse
Thread IndeX
POST 1: Kernel Information, Changelog, Credits,Screenshots
POST 2: Synapse, Recommended settings, FAQ, etc.
POST 3: Know/Reported issues
Request new features here
Features:
Kernel compatible with SM-N910F SM-N910G
Based on Samsung Open Source Code
Kernel compatible with TW and CM
Compiled with Toolchain Linaro GCC 5.1.2 Stable
Linux version 3.10.40
GPU OC/UC -> 800MHz / 166MHz
PowerSuspend Driver
KSM enabled
Wake Gestures (DT2W, DT2S, S2W, S2S)
Adreno idler Algorithm
Simple GPU Algorithm
Voltage Control
KCAL - Advanced color control
Led Control / Fading
CRC Settings
Advanced TCP control
Selinux Permissive
CIFS Support
NTFS Support
LZ4 compression algorithm
Reduced wakelocks
Kernel Adiutor
Governors: Barry-Allen, interactive_pro, intelliactive, bluactive, conservativex, alucard,darkness, nightmare, smartassV2, ondemandplus, umbrella_core, yankactive, dancedance, bioshock, lionhearth, conservative, interactive, ondemand,powersave, userspace, performance, impulse, zzmoove
I/O Scheldures: bfq, vr, fiops, zen, fifo, sio, test-ioshed, cfq, row, deadline, noop
Click to expand...
Click to collapse
LZ4 compression algorithm
LZ4 is a lossless data compression algorithm that is focused on compression and decompression speed.
The algorithm gives a slightly worse compression ratio than algorithms like gzip. However, compression speeds are several times faster than gzip while decompression speeds can be significantly faster than LZO.
The LZ4 algorithm represents the data as a series of sequences. Each sequence begins with a one byte token that is broken into two 4 bit fields. The first field represents the number of literal bytes that are to be copied to the output. The second field represents the number of bytes to copy from the already decoded output buffer (with 0 representing the minimum match length of 4 bytes). A value of 15 in either of the bitfields indicates that the length is larger and there is an extra byte of data that is to be added to the length. A value of 255 in these extra bytes indicates that yet another byte to be added. Hence arbitrary lengths are represented by a series of extra bytes containing the value 255. The string of literals comes after the token and any extra bytes needed to indicate string length. This is followed by an offset that indicates how far back in the output buffer to begin copying. The extra bytes (if any) of the match-length come at the end of the sequence.
Compression can be carried out in a stream or in blocks. Higher compression ratios can be achieved by investing more effort in finding the best matches. This results in both a smaller file and a faster decompression.
Click to expand...
Click to collapse
Sep- 9 -2016 r26
-Fixed semi-bootloops
Sep- 9 -2016 r25.1
-Fixed CVE-2016-2504
Sep- 8 -2016 r25
-Thermal improvements
-More fixes
June- 24 -2016 beta r25 rc7
-Fixed wifi issues for G variant and probably P,T and W
-Fixed GPU freq
-Fixed root issue
-Updated the topology masks before calling CPU_STARTING notifiers
June- 24 -2016 beta r25
-Initial Marhsmallow release
-all the features from LP
January- 1 -2016 nightly r23
-Kernel reworked
-Kernel works for F, G, P, T and probably W8 variants. (Note 4 and Note edge)
-Linux 3.10.94
-Based on DOK2 source code
-No more Synapse support, we moved to Kernel Adiutor (KA)
-Interactive governor improved
-mdss updates
-timer fixes
-Added touchboost (thanks to franco for the code) for Interactive (probably we'll add it for more governors)
-Fixed mpdecision issue (mpdecision has to keep 2 cores online always)
-Selinux updates
-Enabled pstore/ramoops dump for kernel panics (/sys/fs/pstore/console-ramoops)
-Added f2fs support (You need a recovery that support full f2fs)
-Net updates
-Ram managment improved
-Sched updates
-and a lot of CAF patches,etc.
-Checkout our github for more information
September- 23 -2015 nightly r21
-Linux 3.10.89
-Enabled HMP (Only for CM kernel)
-dt2w: prevent touches during phone calls
-Fixed fast charger
-Probably fixed random reboots while charging (need more feedbacks)
-Zzmoove back to beta7 (looks the best for the Note 4)
-Makefile: added optimizations
-Kcal updates and fixex (thanks to fflokes)
-Fixed some thermal issues
-Added option to disable ipv6 (seems to cause wake ups while wifi is connected,just for some routers)
-Another small changes and fixes, check out our github
September- 6 -2015 nightly r20
-Kernel based on COG5 (Android 5.1.1)
-Kernel 5.1.1 compatible with SM-N910F, SM-N910P and SM-N910T
-Compiled with Christopher83 Toolchain Linaro GCC 4.9.4 Cortex A15
-Kernel rebased from beginning and revised all the changes
-Cleaned unnecessary code and patches
-All the features from r19 are present
-Reverted UKSM (Caused some memory issue)
-Reverted Wifi PM (Caused issues)
-Swap set to stock (1280mb)
-Small fixes, etc.
August- 24 -2015 nightly r19
-Linux 3.10.87
-Kernel compatible with CM
-Makefile optimizations
-Wake Gestures:
"Double tap 2 wake
Double tap 2 sleep ( Control to allowed the width and height)
Sweep 2 wake
Sweep 2 sleep
Wake Gestures
Vibration Strength
Wake timeout"
-Wifi Calling fixed (T-Mobile variant)
-Proximity sensor during calls fixed (Sprint variant)
-LZ4 patches
-workqueue improvements and fixes
-Introduced new flag WQ_POWER_EFFICIENT for power oriented workqueues
-ext4 improvements and fixes
-PM QoS: Add GPU frequency limits to PM QoS and another patches
-Added UKSM
-mm/rmap made rmap_walk to get the rmap_walk_control argument
-cpufreq: Disable light-weight init/teardown during suspend/resume
-Added MSM Hotplug driver (neobuddy89)
-Added Bricked Hotplug Driver
-Intelli-plug updated (neobuddy89)
-cpu-boost: Several optimizations
-Added Sioplus & tripndroid
-msm: mdss fixes and patches
-mach-msm: DEFAULT_REDUCTION_PERCENTAGE to 65
-Added option to change the SELinux status
-cpufreq: added darnkess, nightmare and pegasusq governor updated the newer cpufreq driver to support "older" governors credits for the 3 -governors: Alucard24
-bcmdhd4358: WIFI PM support for KitKat driver [halaszk]
-bcmdhd: reduce rx wakelock timeout via sysfs node
-qcom: Update clock vote for improved performance
-Reworked voltage tables to reduce overload
-qcom:apq8084: reduced the maximum current for each frequency
-arm/dt: 8084: Drop retention voltages/Drop min allowable voltage (Thanks to XileForce)
-Reduced lower constraint for GPU (Flar2)
-frandom updates
-Synapse: changes, fixes, new tabs, etc. (thanks to UpInTheAir for some nice codes)
-For more info and changes check out our GITHUB
Jule- 28 -2015 nightly r18
-Linux 3.10.84
-Compiled with UBERTC Toolchain 5.2
-Source and ramfs updated to POF2
-Speed up console framebuffer imageblit function
-Fixed ZeroLemon Fuel Gauge (Thanks to TheLoneWolf20)
-Reverted some commits from r17
-Fix stuck CPU frequencies (Thanks to gekkehenkie11)
-qseecom: updates
-msm_hsic_host: reduce wakelock
-Crypto: updates and fixes
-dm: updates and fixes
-Added PFT (Per-File-Encryption)
-inr_sqrt: improved 3x faster integer sqrt and correction square root algo with naming
-mhi: fixed building of mhi driver
-Reverted Kali NetHunter (For now)
-Interactive: updates
-Added impulse governor and changed part of the code by neobuddy89
-Added zzmoove governor
-Added lcd_notify
-Sweep2wake: added s2s_only and sweep from left to right
-Row I/O: added magic values by Franco
-Synapse: updates, fixes and added Adreno idler
-For more info and changes check out our github
June- 28 -2015 nightly r17
-Linux 3.10.81
-Kernel compiled with Linaro Toolchain 5.1
-Added adreno idler algorithm by Arter97
-Sweep2wake works (Now we have sweep2wake and sweep2sleep)
-Hardlimit 2.2 Emotion Edition for Note 4 (Cleaned to be pure hardlimit)
-Google play services wakelock fixed
-bluesleep: reduced wakelock
-pinctrl: msm: Enabled irqs on resume
-wireless: dhd: Enable standby ARP and multicast packet filters
-Allow untrusted apps to read from debugfs
-input: keyboard: qpnp-keypad: register private data in SPMI dev
-mhi: core: Fix double increment on event counter and removed useless atomic variables
-Swap up to 1.5GB
-Add some tweaks for performance from LSpeed Mod
-net: wireless: bcmdhd4358: Fixed failure to enter PS
-frandom: Dynamically allocate the char device numbers and clear up checkpatch conflicts
-msm: mdss: update and fixes from codeaurora patches
-binder: Quiet Binder and Ratelimit binder debug messages
-ARM: convert all "mov.* pc, reg" to "bx reg" for ARMv6+
-block: BFQ updated to V7r8 for 3.10.X
-USB: android: Fix memory leak in mass_storage_function_init()
-cpuidle: updates and fixes from Linaro patches
-Fast charge adapted and fixed for Note 4 (Thanks to yank555.lu and ktoonsez for the initial code)
-cpufreq: Prevent mpdecision changing scaling freq
-qcom-cpufreq: updates and fixes
-Barry Allen updated to 1.0
-PM: devfreq: Fix show available freqs
-msm:kgsl: fixes
-msm: vidc: updates and fixes from codeaurora patches
-Added msm zen decision (replacement for MPDecision)
-force -Os -std=gnu89 and don't use GCC wrapper for GCC 5.1+
-Makefile: Additional Optimizations
-gpio_keys: force sync on KEY_POWER, KEY_HOME press (This should help in situations when the device or the OS is stalled but the kernel is alive and running.)
-arm: added arm optimized memcmp and Krait optimized strcmp
-readahead: make context readahead more conservative
-dtsi: fixed 268MHz frequency
-mm: zswap: fixes
-Synapse: clean up and fixes
-For more details check out our source code
June- 2 -2015 nightly r16
-Linux updated to 3.10.79
-Added LED Control/fading available in Synapse (Thanks to @UpInTheAir and halaszk)
-SM-N910F kernel is compatible with SM-N910G variant (BOE1+ firmware)
-SM-N915P (Note edge sprint variant) compatible
-Fix screen brightness issues: workaround for KK bootloaders not reporting the panel name (SM-N910V kernel)
-arm: vfpmodule: Fixed warning procfs vfp_bounce reporting failed
-dts: msm: disabled support of 50MHz for i2c for apq8084
-GPU Overclock and Underclock to 800MHz/166MHz
-GPU reduced frequency on boot from 300MHz to 266MHz
-msm: kgsl: show current power level
-suspend: Return error when pending wakeup source is found
-Barry Allen governor updated to 0.7
-mmc: sdhci-msm: Added Samsung 64G search after tune quirk
-Compile with -O3 flag
-KCAL updated (Fixed some issues)
-kernel/smp.c: fixed memory leak
-Default to NOATIME and NODIRATIME for FS performance improvement
-Optimized copy_page for modern ARM platforms
-cpufreq: Added stop CPU callback to cpufreq_driver interface
-PM: Introduce suspend state PM_SUSPEND_FREEZE
-PM / suspend: Make cpuidle work in the "freeze" state
-power: Adds functionality to log the last suspend abort reason
-ACPI / PM: Hold ACPI scan lock over the "freeze" sleep state
-power: catch wake-up requests in suspend_again
-PM / sleep: fix freeze_ops NULL pointer dereferences
-dm-req-crypt: Free resources in destructor
-qce50: Update clock vote for improved performance
-Optimized kernel size
-scheduler: update to BFQ-v7r7 for 3.10.8+
-Interactive: changed CPUFREQ_RELATION_C to CPUFREQ_RELATION_L
-DEFAULT_GO_HISPEED_LOAD to 90
-DEFAULT_TARGET_LOAD to 90
-DEFAULT_MIN_SAMPLE_TIME to 40
-suspend: Return error when pending wakeup source is found
-msm: kgsl: Add check to protect against operating on NULL pointer
-msm: kgsl: Avoid a possible NULL reference in kgsl_ioctl_helper
-futex: Add another early deadlock detection check
-Synapse added in the zip
May- 18 -2015 nightly r15
-Linux updated to 3.10.78
-Added compatibility to SM-N915-F-G-T (Note Edge)
-Added SWAP to 1.4gb
-Added support to Kali NetHunter (Thanks to FutureBSD and thehacker911)
-cpufreq: Added if cpu is online check in show
-cpufreq: Protect against hotplug in cpufreq_register_driver()
-cpufreq: Fixed timer/workqueue corruption by protecting reading governor_enabled
-Revert "cpufreq: make the "scaling_cur_freq" sysfs entry pollable"
-cpufreq: Use correct locking for cpufreq_cpu_data
-cpufreq: Return directly in __cpufreq_get if policy is NULL
-cpufreq: governor: Be friendly towards latency-sensitive bursty workloads
-cpufreq: governor: removed copy_prev_load from 'struct cpu_dbs_common_info'
-cpufreq: removed race while accessing cur_policy
-DriveDroid support (DEFAULT, MTP, PTP, UMS)
-Increased swappiness from 60 to 70
-Improved performance
-NTFS fixed
-Updated Ramfs to BOD2
-Added USB mode in Synapse
-Profiles updated in Synapse
-Fixed gamma and lmk profiles
-Added stock profile in Synapse
-Another minor changes and fixes
May- 11 -2015 nightly r14
-Linux updated to 3.10.77
-Selinux back to full permissive (Fixed gear vr compatibility, etc.)
-WIFI optimized (Thanks to @javilonas)
-Fixed T-Mobile Synapse compatibility
-Crypto: Updated to armv7-a Neon
-Busybox updated to 1.23.2 to fix some issues with Synapse
-Fixed all known bugs from r12+1
-Fixed some minor bugs in the ramfs
-Another minor fixes
May- 8 -2015 nightly r13
-Linux updated to 3.10.76
-Kernel compatible with SM-N910T
-Reverted "power: make sync on suspend optional"
-KCAL updated
-The kernel boot on Selinux enforcing but you can change the status from Synapse
-qcom-cpufreq: Removed save/restore of scheduling policy
-cpufreq_interactive: updated again from Shamu source
-cpufreq: stats: Don't update cpufreq_stats_table if it's NULL
-cpufreq: Break out early when frequency equals target_freq
-msm: lpm-levels: add suspend_again handler
-msm: Fix high load average from uninterruptible waits
-qcom: mpm-of: fix bug in finding the pending interrupts
-Added new governor Barry-Allen by Javilonas
-CIFS and NTFS built in the kernel
-Ramfs optimized (New tweaks,etc. thanks to Javilonas for some scripts)
-Synapse support KCAL control
-Added profiles in Synapse
-Added profiles for LMK in Synapse
-Added global voltage control in Synapse
-Change Selinux status from Synapse>MISC
-Fixed some bugs in Synapse
April- 23 -2015 nightly r12
-Kernel compatible with SM-N910F SM-N910G SM-N910P SM-N910V
-Based on BOC3
-Linux updated to 3.10.75
-Fixed random reboots for some users
-Added crypto optimized SHA-256/224
-percpu: implemented generic percpu refcounting
-mm: disabled zone_reclaim_mode by default
-mm: reordered can_do_mlock to fix audit denial
-Enabled Zram with lz4 compression by default (Synapse>Kernel Tweaks)
April- 18 -2015 nightly r11
-binfmt_elf.c: use get_random_int() to fix entropy depleting
-Reverted "sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire" (Thanks to andip71 to report the lag)
-arm/kernel/irq.c: removed irq affinity warnings
-Restored CPU frequency during resume
-Silenced some annoying last_kmsg
-futexes: Increase hash table size for better performance
-Improved/fixed some typos in the ramfs
April- 15 -2015 nightly r10
-Compiled with Linaro GCC 4.9 2015.03 Cortex A15
-Linux updated from 3.10.40 to 3.10.74
-Compression changed to LZ4
-Power: made sync on suspend optional
April- 12 -2015 nightly r9
-Back to Linux 3.10.40 (For now, we are working to bring stable 3.10.73)
-Added Intelli-thermal v3.0
-bcmdhd4358: filter multicast packages while suspended
-fs/namei.c: fix potential memory leak in path_lookupat
-pinctrl: msm: fixed potential NULL pointer dereference
-usb: ks_bridge: by default debugging is disabled
-slub: fix kmem_cache_shrink return value
-mm: slub: fixed format mismatches in slab_err() callers
-power:Enable/Disable power collapse after camera open
-Implemented CPU Core Control by andip71
-tick: don't update idle time if cpu offline
-msm: kgsl: Only wake GPU on multitouch events
-Interactive: don't boost cpu if already boosted
-rtc: qpnp-rtc: Sets RTC time correctly
-rtc: qpnp-rtc: Set alarm control register properly
-Added Mobile Storage Analyzer
-soc: mbhc: Fix ID Tech card reader detection
-power: catch wake-up requests in suspend_again
-pinctrl: msm: prevent bogus wake up from suspend
-asoc: wcd9xxx: Improved headset detection
-Implemented Motorola MSM memcpy enhancements "memutils" (Faster memcpy performance for Krait)
-Improved Memutils
-Added CIFS as module
-Adde NTFS as module
-ASoC: msm: qdp6v2: handle proxy read failure
-ASoC: msm: qdsp6v2: Fix timestamp query during gapless transition
-mmc: core: Update PON (Power Off Notification) based on the system state
-mm: Fix NULL pointer dereference in madvise(MADV_WILLNEED) support
-netfilter: IDLETIMER: fix invalid deference of timer
-Fixes and improvements in Synapse
-Added CPU Binning (pvs information) Synapse> CPU VOLTAGE
-Added CPU core control in Synapse> CPU DRIVERS
-For more info check our Github
March- 27 -2015 nightly r8
-Linux update to 3.10.71
-Powesuspend updated to 1.7
-Intelli-plug updated to 4.0
-OC/UC -> 3072MHz / 268MHz
-Added Hardlimit Control
-Added new governors
-Addeded new scheldures
-Added memcopy & string use glibc version
-Added quickwakeup driver (improve battery life)
-Optimized Kernel Samepage Merging (KSM)
-deadline: Optimized for non-rotational
-mm: Clear page active before releasing pages
-ARM: 8119/1: crypto: sha1: add ARM NEON implementation
-ARM: 8120/1: crypto: sha512: add ARM NEON implementation
-ARM: crypto: add NEON accelerated XOR implementation
-ARM: add support for kernel mode NEON and only allow kernel mode neon with AEABI
-Fixed failure to enter PS mode while roaming
-Sched: Set MC (multi-core) sched domain's busy_factor attribute to 1
-Disabled add_random for more performance on SSD's
-tcp: enabled tcp fast open functionality (franciscofranco)
-For more info check our Github
March- 5 -2015 nightly r7
-Added KCAL - Advanced color control (Thanks to @savoca for his great job) check this thread for more info
March- 3 -2015 nightly r6
-Based on XXU1ANK4 (KitKat version) and compatible with "F,G,T,V,W8"
-Based on XXU1BOB4 (Lollipop version) and compatible with "F"
-Lollipop version has all the features except mdnie control and S-View hack
-Kernel compiled with Linaro Toolchain 4.9.3 2015-02
-FauxSound updated to 3.6
-Fixed some issues in FauxSound and Synapse
-cpufreq: Introduced new relation for freq selection Introduce CPUFREQ_RELATION_C
-Interactive Governor: Use CPUFREQ_RELATION_C
-Added Gentle fair sleepers (Synapse -> KERNEL TWEAKS)
-Enabled Kernel SamePage Merging (KSM) (Synapse -> KSM)
-Added key disabler (Synapse-> SCREEN/MISC)
-Added userspace vibration strength control (Synapse-> SCREEN/MISC)
-Changed some stuff in Synapse
-Reverted some commits
-Another minor changes
January- 27 -2015 nightly beta r5
-FauxSound implemented
-FauxSound in Synapse
-Added high performance mode in Synapse->Sound
-Fixed battery drain on wifi (My fault)
-Reverted another commits
January- 16 -2015 nightly r4
-Fixed cpu voltage control (No more 0MHz frequency in cpu voltage table)
-ASoC: wcd9xxx: use hwdep node for codec calibration
-ASoC: wcd9320: use hwdep nodes to get calibration
-ASoC: wcd9xxx: Changes for High performance mode
-ASoC: wcd9xxx: Change PA on and VDDIO switch sequence
-ASoC: wcd9xxx: Avoid micbias glitches during audio playback
-In conclusion better quality sound on headsets
-Sched/fair: reduced latency
-Decreased DHD_PACKET_TIMEOUT_MS to 250 ms (Before 500ms)
-Drecreased time to enter sleep
-Net: wireless: Increased scan entry expiration to fit new scan time
-PM: devfreq: Use high priority workqueue
-Msm: kgsl: Report correct GPU frequency in sysfs
-Some minor changes
January- 11 -2015 nightly r3
-Added Frandom as module and set by default (Synapse>I/O>Frandom) "For more info check this"
-Network speed tweak
-Reduced wakelocks "wlan_rx_wake" and "wlan_ctrl_wake"
-dtsi: realigned voltages with userspace values (Thanks to twistedumbrella)
-cpu-boost more performance (Thanks to franciscofranco)
-sched: LOAD_FREQ (4*HZ+61) "For more info check this"
-Interactive governor imported from the Nexus 6 (No more lag on interactive)
-Added bluactive and interactive_pro governors
-Reverted some changes that made the kernel laggy in some cases.
-Selinux set to permissive by default
-Gpu: msm: for higher priority you want to use nice level of -7
-Now you can change the governor tunables from Synapse (Issue fixed) (Thanks for the tip to AndreiLux)
-Synapse shows all the available gpu governors (Thanks to my friend Friedrich!)
-Cleaned some things in Synapse
-Other minor changes
January- 4 -2015 nightly r2
-Fixed Ondemand governor
-mm: slub: Default slub_max_order to 0 (Improved performance)
-Increased io performance
-writeback: fix occasional slow sync
-Fixed min frequency (Finally!)
-msm: Fix high load average from uninterruptible waits
-Cpu boost sysfs to enable/disable it (Synapse>cpu drivers)
-S-View hack (Twistedumbrella) enable/disable (Synapse>miscellaneous)
-Minor fixes
January- 1 -2015 nightly r1
-Based on Samsung Open Source N910FXXU1ANIE
-Compiled with Toolchain Linaro GCC 4.9.3 2014.12 Cortex A15
-PowerSuspend Driver
-Intelli-Plug V3.9
-Stereo Call Recording Support
-cpufreq_limit: don't override cpu min frequency
-Fast Charge V1.2
-Sweep2wake
-Simple GPU Algorithm
-Sysfs interface to Enable/Disable Logger Android (Default disable)
-Voltage Control
-Intelli-Thermal V1
-mDNIe Hijack control
-Advanced TCP control (westwood default)
-Sysfs interface to Enable/Disable CRC
-Dynamic Fsync Control V1.5
-Added Intelliactive, Smartmax and SmartassV2 governors
-Led Control
-Panel Color Control
-mDnie mode adapter for Synapse
-Selinux Enforcing/Permissive
-Synapse Support
Click to expand...
Click to collapse
Installation instructions
You need to have TWPR, CWM o Philz Recovery.
Download the last kernel
Reboot in recovery mode
Make backup (recommended)
Flash the zip
Don't be shy / lazy leave your feedback!​
Click to expand...
Click to collapse
Downloads
Strictly No Mirrors Please. In the event that you need to make one ask us first with purpose behind what valid reason.
Current Version
Emotion TW Kernel SM-N910F/G Downloads
Emotion CM Kernel SM-N910F/G Downloads
As you can see there are 2 version for every variant. 1 variant it's for Zerolemon batteries and the another for stock batteries.
Click to expand...
Click to collapse
Source code:
Emotion kernel Github
Wake Gestures:​
Thanks To/Credits
Thanks to @hsbadr for contribute on the SM-N910V source code
Andip71, AndreiLux, apb_axel, Arter97, Civato, Christopher83, Codeaurora, DerTeufel, Faux123, Ffolkes, Flar2, Franciscofranco, Franlov, Friedrich420, Gokhanmoral, Imoseyon, Infernum, Javilonas, ktoonsez, Linaro, LoungeKatt (TwistedUmbrella), myfluxi, neobuddy89, savoca, UpInTheAir, Yank555.lu, ZaneZam.
Testers: @myaslioglu @Jdidtht @aloom @moe67er @anthony92170 @ronnie498 @blacklabel2020 @ravenseb @TheGrandFinale2001 @coolfire @monleylord @_Sofos_ @Rsroms @masterchif92 @piretia @nymikey @vanito @Teknodad1974 @JoeBear1975 and @Flashvetrin (R.I.P.)
And all users that support the thread and the kernel!
I hope I have not forgotten anyone!
Hit the "thanks" button if you like our work.
You can follow new updates here (Spanish)
XDA:DevDB Information
Emotion Kernel, Kernel for the Samsung Galaxy Note 4
Contributors
Pafcholini, aukhan, placiano
Source Code: https://github.com/Pafcholini/emotion_kernel_note4_mm
Kernel Special Features:
Version Information
Status: Nightly
Current Stable Version: Emotion nightly r25.
Stable Release Date: 2016-09-09
Created 2015-01-01
Last Updated 2016-09-09
Recommended settings & FAQ
Synapse Profiles
Go to Synapse
Profile
Choice the profile that you want
Apply it
Then Reset Selected Profile
Synapse will get FC (Don't worry)
Just reboot your device. DONE
How to backup profiles
Synapse and all available options:
- LIVE STATISTICS: Time in states, Uptime,etc.
- CPU - GOV: cpu scaling, cpu governor and governor tunables.
- CPU voltage: separate frequency voltage.
- GPU: GPU scaling min/max frequency, GPU governor, Simple GPU Algorithm.
- I/O: schedulers, internal storage read-ahead, externalSD read-ahead, Frandom Module, Scheldure Tunables Internal/External
- CPU DRIVERS: PowerSuspend and Intelli-Plug
- THERMAL: Intelli-Thermal Control
- MISCELLANEOUS: Dynamic FSYNC Driver, Logger Mode, CRC Settings, S-View bypass, Selinux Status, Optimize Database.
- BATTERY: Live Statistics and Fast Charge
- MDNIE/SCREEN: Panel Control, mDNIe Mode and mDNIe Mode Hijack
- LED: Led Control
- SCREEN WAKE CONTROL: Sweep2Wake Control
- KERNEL TWEAKS: low memory killer, kernel entropy, panic and panic on oops.
- NETWORK: tcp congestion control, hardering the TCP/IP stack to SYN attack,ignore pings,etc.
- VM-FS: dirty radio, swappiness,etc.
- BUILD.PROP: Build.prop Tweaks
- LOGS: Clearn Synapse, Logcat and Dmseg
- INFO-REBOOT: info about the kernel, reboots,etc.
Click to expand...
Click to collapse
Balance between performance and battery
Above is what I use personally. MAY NOT be optimal for all. Share your settings.
CPU frequency: 2649MHz/268MHz
Hardlimit Max Screen ON: 2649MHz
CPU governor: Interactive or Umbrella_core
CPU voltage: -25mV
GPU: msm_adreno or simple_ondemand
I/O schedulers: row or zen
I/O Readahead: 1024 for both
PowerSuspend: DisplayPanel_hook
KSM: disabled
MPDECISION: enabled
Intelli-Thermal: enabled
MISCELLANEOUS: fsync enabled, logger mode disabled, crc disabled
TCP: westwood
Click to expand...
Click to collapse
Performance configuration
CPU frequency: 2918MHz/268MHz
Hardlimit Max Screen ON: 2918MHz
CPU governor: Interactive_pro or Bluactive
CPU voltage: ----
GPU: performance or simple_ondemand
I/O schedulers: deadline
I/O Readahead: 1024 for both
PowerSuspend: DisplayPanel_hook
KSM: enabled
MPDECISION: enabled
Intelli-Thermal: enabled
MISCELLANEOUS: fsync enabled, logger mode disabled, crc disabled
TCP: westwood
Click to expand...
Click to collapse
Aukhan recommended settings
F.A.Q
Can I flash this kernel on Note 4 SM-N910C or other variant?
No, you can not. This kernel is only for SM-N910F, SM-N910G, SM-N910P and SM-N910V.
When I switch to Ondemand governor I noticed that cpu-boost is disabled.
Exactly, Ondemand and cpu-boost doesn't work well together. When you switch to Ondemand governor cpu-boost will be disabled automatically. Don't re-enable cpu-boost if you are using Ondemand governor. (Synapse>CPU DRIVERS)
Which app can control this kernel?
By default, the kernel is controlled by Synapse, but you can use the app that you like (Trickster Mod, Kernel Tweaker, etc.).
I flashed the kernel and Synapse says: "No support UCI detected".
Reflash the kernel, since it was a bad installation and Synapse does not detect the scripts.
After flashing the kernel lost root what to do?
In case you loose root just flash SuperSU
Any recommended settings to follow using Synapse?
At the beginning of the second post.
After flash the kernel some apks give me FC.
Go to Google Play Store and reinstall those apks.
From where can I remove int.d script?
Go to /system/etc/init.d using any root based file manager and delete.
Note: There is an important one related to superSU and if you remove it by mistake you're gonna have trouble with root permissions.
My device doesn't show any reaction to undervolting (battery life is same as before) or gets unstable even on light undervolting?
Use DVFS disabler Module(standalone) (dynamic voltage and frequency scaling), this feature was kept in touchwiz for benchmark boosting purposes and will conflict with any undervolting and custom governors because it scales the voltages and frequency on regular intervals and is framework integrated, so gets a higher priority than kernel based voltage and scaling controls.
For people who don't know what is DVFS please refer Wikipedia.
Min/Max frequency don't stick?
If your frequency settings don’t stick, it's because on certain Qualcomm devices, there are certain system services (thermald/mpdecision/project butter) or kernel service that rewrite frequency settings based on current thermal status and/or touch input.
I made a logcat but my file is empty. How I can "fix" it?
By default Android logger is disable. Go to Synapse > MISCELLANEOUS and enable Logger Mode.
What is it PowerSuspend?
This new powersuspend PM kernel driver is a replacement for it and existing early_suspend drivers. It should give better battery life.
What is it Intelli-Plug?
Intelliplug is a replacement for mp decision. Intelli-Plug is Faux123 open source solution to Qualcomm's closed source mpdecision. Intelli-Plug is disable by default. It conflicts with mpdecsion, so is HIGHLY recommend turning off mpdecision when using intelli-plug! (If you use Synapse the change is automatic. If you enable Intelli-plug mpdecision will turn off).
What is it Intelli-Thermal?
an intelligent MSM thermal throttling kernel driver designed to replace the
closed sourced thermald(aemon) from Qualcomm.
What is it Frandom?
Frandom is a kernel random number generator, which is 10-50 times faster than what you get from /dev/urandom. And it uses very little (/dev/frandom) or none (/dev/erandom) of the kernel's entropy pool, so it is very useful for applications that require a handy source for lots of random data.
What is it CRC?
CRC is a mechanism aiming to prevent data corruption when is enabled (reduce the performance around 30%). So if you disable it improve the performance but your data can be corrupted. Use it at your risk.
/sys/module/mmc_core/parameters/crc
Do you have issues in Synapse?
Go to the Play store and install busybox on rails.
Ve a la play store e instala busybox on rails, eso arreglará cualquier fallo en Synapse.
Shealt doesn't work (FC's)
Clear data of Shealt
How to use NTFS OTG?
Install USB OTG Helper . Connect your ntfs otg then open USB OTG Helper apk click on "mount". That's it. Use your favorite xplorer to open the OTG.
Know/Reported/Fixed issues
Know issues
1. Synapse doesn't show CPU governor tunables.
I'm trying to fix it. FIXED
2. Sometimes Synapse (and others kernel control apks) show that the min frequency is 1190MHz (or other frequency).
Just cancel it. FIXED
3. Ondemand doesn't work well. FIXED
Thanks for the report @Vangelis13
4. The OTG doesn't work in r8. FIXED
First!
Thanks man i try it now.
Looks good, lots of stuff to play with in synapse. Thanks.
The kernel is real fast. Atm im playing the settings. Only 1 thing what i cant get work is sweep2wake i dont know im wrong or it dont work atm.
Anyway thank you for this kernel
yussuf007 said:
The kernel is real fast. Atm im playing the settings. Only 1 thing what i cant get work is sweep2wake i dont know im wrong or it dont work atm.
Anyway thank you for this kernel
Click to expand...
Click to collapse
Slide your finger from right to left until half the screen. try it a couple of times until you find the the right movement.
Wow One More Dev Is Here For Showing Love To Our Monster Device..
Sent from my SM-N910G
---------- Post added at 05:20 AM ---------- Previous post was at 05:19 AM ----------
Downloading.. Will Give Response Soon
Wait A Min..
Sent from my SM-N910G using XDA Free mobile app
sh*t just got real!
will test this bad boy out... Thanks!
Very nice kernel. No issues as yet
sent from Dan's galaxy
Well Done my friend!!
Im very happy to see this baby live :good::good:
just reporting that I get stuck at the samsung logo at the start after flashing
wiped cache and dalvic cache
rico13 said:
just reporting that I get stuck at the samsung logo at the start after flashing
wiped cache and dalvic cache
Click to expand...
Click to collapse
Can you give some details of your configuration? ROM, recovery, phone model?
albireox said:
Can you give some details of your configuration? ROM, recovery, phone model?
Click to expand...
Click to collapse
echo rom
twrp 2.8.1.0
and on the G model
rico13 said:
echo rom
twrp 2.8.1.0
and on the G model
Click to expand...
Click to collapse
You should try with Phil's recovery. I've had problems with TWRP.
friedrich420 said:
Well Done my friend!!
Im very happy to see this baby live :good::good:
Click to expand...
Click to collapse
You're not alone anymore..
Nice kernel! Ondemand freezes & reboots under quite small load, has anyone seen the same? I can probably reproduce & send a last_kmsg if the dev needs it.
Here is a few recommended settings as a lot of members would ask share you setting for the extended battery life.
So here are few basic setting epically for them.
Watch "Nadia Kernel Note 4 Recommended settings" on YouTube - Nadia Kernel Note 4 Recommended settings: http://youtu.be/Vtuz0dT1qkk
---------- Post added at 04:05 PM ---------- Previous post was at 04:01 PM ----------
albireox said:
You should try with Phil's recovery. I've had problems with TWRP.
Click to expand...
Click to collapse
It works well with TWRP I've tried it multiple times. Try to place the zip in internal storage if still doesn't work then install Philz.
rico13 said:
echo rom
twrp 2.8.1.0
and on the G model
Click to expand...
Click to collapse
---------- Post added at 04:07 PM ---------- Previous post was at 04:05 PM ----------
Vangelis13 said:
You're not alone anymore..
Nice kernel! Ondemand freezes & reboots under quite small load, has anyone seen the same? I can probably reproduce & send a last_kmsg if the dev needs it.
Click to expand...
Click to collapse
We will try to reproduce this issue could u please submit catlogs.
i think any other kernel for note 4 have the same problem whit OnDemand
with your raccomended settings the camera lag a lot and doesn't work :-/
aukhan said:
It works well with TWRP I've tried it multiple times. Try to place the zip in internal storage if still doesn't work then install Philz.
Click to expand...
Click to collapse
installed philz and tired flashing the kernel from the internal storage and still stuck at the samsung logo
ill send you a logcat when I get a chance

[Kernel] Blue Bolt [Oreo][Linux 3.10.108][02-06-2018][LinaroTC]

[size=+3]Blue Bolt Kernel[/size]​
{
"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"
}
Code:
#include<disclaimer.h>
void main()
{
/*
* I am not responsible if I brick your device.
* Flash at your own risk.
*/
exit(0);
}
[size=+2]Introduction[/size]
This kernel is based on Lineage OS's kernel source code for OnePlus 2, the main aim of this kernel is to provide Good battery life,
and to do so I have added bunch of stuff and tweaked code to improve battery and also to make sure that you don't get lag and delay I have improved the performance enough, and you can be the boss of your own device(Check Features you'll understand).
[size=+2]Features[/size]
Based on Linux version 3.10.108
CAF tag 'LA.BF64.1.2.3-03310-8x94.0'
Added Governors (Electron, Chill, Relaxed)
Blocked wakelock (by Boeffla)
Added Hotplug (Core_ctl)
GPU Underclocked to 27 MHz
Totally Re-worked GPU frequencies
Added Adreno IDLER and Adreno Boost
CPU's underclocked to minimum frequency 302MHz for both big and LITTLE
Enabled Fast Charging
Gentle fair sleepers toggle added (to save some more juice)
Faux Audio 3.6 & pDesireAudio
KCAL Support
Enabled fingerprint boost
Added Maple IO schedulers
Voltage Control
Dynamic Fsync
Improved interactive governor
Compiled with a Linaro Toolchain to get more juice out of your device
A lot of miscellaneous changes have been made to improve battery.
Slimbus Overclocked.
Added new GPU frequencies.
[size=+1]Compactibility[/size]
RC / Beta 2.x Works with all Nougat ROMs
RC / Beta 3.x Works with all Oreo ROMs
Note
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.
[size=+2]
Latest Download Link​| | for Lineage Based Oreo ROMs | |​| | for Other Oreo ROMs | |​
Bluebolt Kernel Tweaking App - One Dot One HotFix​[/size]
Beta : They are compiled with new commits and some bugs might be there. If the things work the way they are supposed to be, those commits will make to the RC
RC : Release Candidate, it is supposed to be stable
Flashing and tweaking
Installation / Flashing - Download the zip, beta or RC which ever you want to, now boot into recovery and flash from there and then boot into system Voila the kernel is flashed
(Optional) - Clear cache and Dalvik
To tweak use Kernel Adiutor Mod or EXKM.
Spectrum - I've made 4 predefined settings in kernel (Battery, Balanced, Performance, Gaming) which can be switched through this app as per your need, default is balanced. Download Link is in the change-log post.
Credits
Pranay Narang, MZO, ZaneZam, Suraj Das, Francisco Franco, Lord Boeffla, Wang Han, Simao (xdevs23), Ashok Soni, Subham, Sultanxda
Sorry if I have missed anyone
Thanks
To all the members of Tester's crib, Blue testers.
You can contact me on telegram if you have any issues : Shreyansh Lodha
Happy Flashing
Source Code
My Source Code for Lineage based ROM's Kernel : GitHub
My Source Code for AOSP based ROM's Kernel : GitHub
XDA:DevDB Information
Blue Bolt Kernel, Kernel for the OnePlus 2
Contributors
ShreyanshLodha
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: RC 3.3.1
Stable Release Date: 2018-02-06
Current Beta Version: Beta 3.0
Beta Release Date: 2017-10-10
Created 2017-06-05
Last Updated 2018-04-19
Change Log
19th April 2018 -- RC 3.5 (Oreo Only)
- Dynamic Fsync
- Voltage Control
- Fixed lag in various ROMs
- Default mode in spectrum - Changed default governor to interactive
- Improved Interactive governor
- A lot of security patches
- A lot of important sched patches.
- Attempt to improve fp recognition. (Don't complain if it slows down instead, its just an attempt, will revert back if it doesn't help)
- more under the hood changes
06 February 2018 -- RC 3.4 (Oreo Only)
- Sched improvements
- Fixed Device Name when connected to a PC / Laptop.
- Improvements to GPU Driver
- Little Core Overclocked to 1651 MHz
- Added Wireguard
- Imported some changes from google's Angler
- Set CFQ as default IO Schedular.
- Enabled MSM Thermal by default.
- A ton lot of under the hood changes.
11 January 2018 -- RC 3.3.1 (Oreo Only) - Not for Delight ROM
- Slimbus Overclocked
- Improvements and fixes to pDesireAudio
- Fingerprint improvements
- Fixed CVE-2017-8824
- Improvements to LMK
29 December 2017 -- RC 3.3 (Oreo Only)
- Improvements to onDemand governor
- A ton of commits for USB related stuff
- Improvements to Fingerprint (Don't expect quicker wakups.)
- Sched related changes
- New TCP algorithm (CDG)
- Multiple changes to GPU stuff.
- Ton of RCU changes
- A lot of changes to make kernel more battery friendly.
27 November 2017 -- RC 3.2 (Oreo Only)
- Fixed issue with delayed registering of FP.
- Pocket Mode added (Doesn't register FP when phone is in pocket)(Enable it using BlueBolt Tweaking App)
- More under the hood changes
NOTE : Pocket mode is not enabled by default.
Read Second Post to know more about the App.
16 November 2017 -- RC 3.1 (Oreo Only)
- Linux kernel update 3.10.107 -> 3.10.108
- Unlocked new GPU frequencies (110,250,320,390) and removed 305MHz
- Now using Linaro 7.x toolchain for compilation
- Previous heating issue is resolved
- Added Fsync toggle
26 October 2017 -- RC 2.5 & RC 3.0
NOTE : Both Nougat and Oreo Kernel's are now having same features. Also features in Beta 3.0 are there in both the releases and new changes are listed below
- Soft Vibrate on double tap to wake
- Added GPU boost
- Using relaxed atomic_read now
- Optimized Building for both cores now A53/A57
- Improved audio Playback
- Added support for USB keyboard (https://play.google.com/store/apps/details?id=remote.hid.keyboard.client).
- Various DTS and Sched related changes.
10 October 2017 -- Beta 3.0 (Oreo)
- Rebased Kernel Again
- Governors (Chill, Relaxed, Electron, Interactive, Ondemand, Performance)
- PDesireAudio with High Performance Audio Toggle
- Faux Audio Control 3.6
- Adreno Idler
- Adreno Boost
- Display Dimmer
- Core_ctl only hotplug
- I/O sched (no-op, Deadline, row, cfq, bfq, maple)
- ZRAM enabled
- CPU (302MHz freq enabled, No over clocking as performance is enough with 1555MHz on LITTLE and 1766MHz on big)
- GPU wih 27MHz enabled
- Gestures work on Unofficial Lineage 15.0 (All gestures are enabled by default)
- Fastcharge support added
- Popular battery consuming Kernel wakelocks have been blocked by default.
- Spectrum Support is added by default (Download from Here for better experience.)
- Note This boots up on Nougat ROMs as well, gesture work on most AOSP-CAF based N ROM. But separate release of Nougat Kernel will be done later this week.
04 August 2017 -- RC 2.4
- Removed Userspace, Tripandroid, Darkness governors and added Blu Active governor
- AutoSMP hotplug
- Updated to latest CAF tag
- Addressed the issue which caused current freq jumping to max freq all the time.
- fixed a few memory leaks
- A lot of CVE in the kernel are fixed now
- Tried Improving haptic experience
- Using power efficient Workqueues
- Synced with latest Lineage kernel
- Tons of minor changes are done to improve experience.
- Bug Fixes
Some of the users are having issue with KA app (It shows the current freq to max all the time even when cores are not active)
Use KA mod app as it is working correctly.
11-07-2017 -- RC 2.3-Final
-Updated to latest Linux kernel source
-Updated to latest CAF tag
-Added maple IO Scheduler
-Rabased kernel to Franco kernel
-added back pDesireAudio and removed faux audio
If some users face lag while streaming music consider turning off hotplugs off. That will resolve the lag
-A lot of battery improvements.
-Removed HCube hotplug.
-Undervolted by default now.
17-06-2017 -- RC 2.1
-Updated to Linux 3.10.106
-Updated Impulse governor
-Updated ZEN to v2
-updated cfq
-Updated HCube with OOS 3.5.8 version
-WiFi drop fixed for some routers
-Fixed a lot of memoty leaks
- Improved Interactive governor
-Lot of Inside changes
11-06-2017 -- RC 2.0
-Released 2 Builds for AOSP and Lineage based ROMs separately to make gestures work.
-Reworked from scratch to remove unstable codes.
-Removed few Hotplugs as they were causing conflicts and drains.
-Added SmartassH3 governor
-Added fingerprint boost driver (attempt to make fingerprint recognition better)
-Added IO Switcher(It switches the IO scheduler to no-op once the screen stays off for more than 60 seconds, and with screen wake the IO scheduler will change back to what it was. This is added to improve Idle drain as no-op is the most battery friendly IO scheduler)
06-06-2017 -- Beta 1.3
-pDesireAudio removed
-Some users reported me crash in media operation which is now resolved in this update.
BlueBolt Kernel Tweaking App (Requires Root)
This app is made to give users feature which they want to control but are not supported by other Kernel tweaking app, this app might not work as intended on other kernels.
The app is in its initial stage, So, if there's a issue report it so that I can work on it, also in case any crashes or issue provide logs also if possible steps to reproduce it.
V OneDotOneHotFix (Oreo):
- Fixed App FC when pocket mode was activated.
V OneDotOne (Oreo):
- Pocket mode Notification won't stay on top and neither will it show up in status bar.
- Pocket Mode quick tile has been added for more convince.
V OneDotZero (Oreo) :
- Added Apply on Boot option. (Only I have tested it so far, and it worked fine. If you find any issues provide me steps to reproduce it.)
- UI / UX improvements.
- Performance improvements.
v 1.3.Beta : (Oreo)
- UI Fixes and Improvements for screen with lower DPI.
- Backlight control are reworked.
- Give user an appropriate message in case device is not rooted.
v 1.2.Beta : (Oreo)
- Added true Splash screen till the time app doesn't loads fully.
- Changed App Theme (Colours).
- Added BCL toggle.
v 1.1.Beta : (Oreo) (Uninstall the previous versions 1.1 or 1.0 and then install this version, otherwise you'll face FC)
- Fixed issue with app not applying settings after coming from another app and using it.
- Fixed issue with PocketMode not applying right away.
- Fixed issue with app using unnecessary SU permissions all the time.
is it undervolted? little bit undervolting on lowest frequency can improve battery life ?
chxei said:
is it undervolted? little bit undervolting on lowest frequency can improve battery life ?
Click to expand...
Click to collapse
It is in a way.
As its min frequency is 302MHz and it is volted at 780mAh
Before it was 384MHz at 855mAh
you can undervolt yourself by changing it in KA app
KA -> CPU Voltage
change it for the frequency you want
Beware that. After changing the default rates in CPU voltage I wont be responsible.
If I use it with dirty unicorns can I enable dt2w in kernel adiutor?
@ShreyanshLodha music stops playing if i turn off screen. using latest rc build and blackplayer
PeterImmel said:
If I use it with dirty unicorns can I enable dt2w in kernel adiutor?
Click to expand...
Click to collapse
No it'll breaks, This is the issue with every Lineage OS Based kernel.
chxei said:
@ShreyanshLodha music stops playing if i turn off screen. using latest rc build and blackplayer
Click to expand...
Click to collapse
I'll check and revert back to you!
meanwhile just add the music player in whitelist of battery optimisation.
ShreyanshLodha said:
No it'll breaks, This is the issue with every Lineage OS Based kernel.
Click to expand...
Click to collapse
There's no possibility to make it work?
PeterImmel said:
There's no possibility to make it work?
Click to expand...
Click to collapse
At the moment no, Request the dev to add the commit that I have mentioned in OP.
Which will make atleast DT2W work.
ShreyanshLodha said:
I'll check and revert back to you!
meanwhile just add the music player in whitelist of battery optimisation.
Click to expand...
Click to collapse
now it plays but it slutters and is very laggy
---------- Post added at 13:50 ---------- Previous post was at 13:47 ----------
tryed different hotpluges, governors and schedulers but with no luck
chxei said:
now it plays but it slutters and is very laggy
---------- Post added at 13:50 ---------- Previous post was at 13:47 ----------
tryed different hotpluges, governors and schedulers but with no luck
Click to expand...
Click to collapse
Its probably a bug of pdesireAudio I'll check if I can fix it
Or I'll revert back to just Faux audio...
If you want You can flash RC 1.1 It doesnt have pdesireaudio.
@chxei just tell me what music players have you used and are you using any audio mods or not and also tell me if you were playing music online or music was stored on device.
ShreyanshLodha said:
@chxei just tell me what music players have you used and are you using any audio mods or not and also tell me if you were playing music online or music was stored on device.
Click to expand...
Click to collapse
music player: blackplayer
music mods: none
music stored localy
chxei said:
music player: blackplayer
music mods: none
music stored localy
Click to expand...
Click to collapse
I'd suggest you use phonograph or play music, and test it with them, none of my testers have reported this issue!!
I am personally using phonograph and the playback it smooth and clear!
And if you get equalizer or some music mod app that comes with your ROM like in DU, RR and AEX then also put them in whitelist for battery optimisation.
ShreyanshLodha said:
I'd suggest you use phonograph or play music, and test it with them, none of my testers have reported this issue!!
Had the similar issue n now it solved!! i'm on Unofficial RR+Viper4Arise+Play Music. Songs play just fine:good:
Also charging speed increased far better than stock kernel.:highfive:
Minor thing is, i feel bit laggy while using Google now, FB & Insta. Is there anyway to speed it up a little?? what governor do you suggest?? let me know buddy?!!
Thanks @ShreyanshLodha for such an effort maann! appreciate it very much.
Click to expand...
Click to collapse
Harish Diesel said:
ShreyanshLodha said:
I'd suggest you use phonograph or play music, and test it with them, none of my testers have reported this issue!!
Had the similar issue n now it solved!! i'm on Unofficial RR+Viper4Arise+Play Music. Songs play just fine:good:
Also charging speed increased far better than stock kernel.:highfive:
Minor thing is, i feel bit laggy while using Google now, FB & Insta. Is there anyway to speed it up a little?? what governor do you suggest?? let me know buddy?!!
Thanks @ShreyanshLodha for such an effort maann! appreciate it very much.
Click to expand...
Click to collapse
If you feel that there's lag then,
make sure you are using any one hotplug (dont disable it and you cant use multiple)
And also you can increase min freq of the big core to 38X MHz
There are many ways, I'd suggest that you google it or read this thread.
And adjust make adjustments accordingly.
Click to expand...
Click to collapse
PeterImmel said:
There's no possibility to make it work?
Click to expand...
Click to collapse
This kernel is los based !They only way for it to work is the kernel to be based on aosp so those gestures will not work on any aosp-caf roms!
PeterImmel said:
There's no possibility to make it work?
Click to expand...
Click to collapse
Sent from my ONE A2003 using Tapatalk
Reported. This is not original development. This thread belongs to the android development section
It looks like a bunch of stuff pulled in from my repos and also from darkbeast kernel

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

NoGravityKernel
{
"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"
}
No Gravity Kernel 2.0 + 4.0 App Trailer
Why is it called NoGravity kernel?
Hey, NoGravity Kernel dev coming from the Pocophone F1. Goal of this kernel is to provide of course solid performance when needed while keeping a solid battery life throughout the day, but main NGK objective is to make every device #SmoothAF.
The Kernel will boot using stock (Mi 8) GPU frequencies that correspond to the Balance Profile. Overclocked frequencies can be selected in my app. Other profiles for battery, performance and gaming can also be switched to in my app.
To tweak the kernel easily, here's my No Gravity app! featuring custom profiles (Battery, Balanced, Performance and Gaming). My app offers some features that usually cant be found in other kernel tweaking apps. You can find them lower in the thread.)
-No Gravity app! support
-Android R (11) ready
-Rebased to full Q CAF (LOS Staging)
-OxygenOS Ports support Please read compatibility section
-9.1.24 & 10.3.7 Novatech Touchscreen Firmware
-Updated, Cleaned up & Optimized NVT/FTS Touchscreen drivers for latency and responsiveness and reduced touch issues
-The two CPUs (Silver and Gold) can be configured completely separate in terms of min/max frequencies and governors
-Unlocked PUBG HDR+Extreme options (Disabled by default, enable it in app)
-CPU Next frequency selection tunable (linear/expnential)
-GPU Overclocked to 835 MHz (GPU overclock/underclock is possible)
-GPU Underclocked to 160 MHz on idle
-Using Evaluation Thermals
-Own Thermal Suspend API
-Own Thermal Locking Mecanism (Mostly for using NGK thermals on MIUI)
-NAP power saving state for Adreno 630 GPU
-Dynamic Stune Boost
-Devfreq boost and Cpu Boosting drivers
-Moved from ZRAM to ZSWAP+VNSWAP (Still disabled by default)
-FSync Control (ON/OFF)
-Faster Applications Opening speed
-Slimbus Overclock
-Added Fingerprint boost
-Added WakeBoost module
-Added and Using ZEN I/O Scheduler as default for app opening speed && overall Smoothness
-Added Maple, SIO, FIOPS, BFQ, ANXIETY I/O Scheduler
-Westwood(Default) & BBR TCP Algorithms
-DTS Headphone X Software Drivers
-Sound Control support
-Vibration Control
-Charging throttling removed
-Maximum charge rate over USB 3.0
-WireGuard support
-USB Ethernet support
-Controller support
-DriveDroid support
-HDR Video Playback support
-KCAL support
-K-Lapse 5.0 support
-Network Guru app support
-Blocked and tweaked wakelocks (Boeffla & more)
-Fingerprint improvements
-Caches optimisations
-Compilation optimisations
-Debloated
-F2FS Support with GC
-Compile with Proton Clang + Polly + Thin LTO
-Latest CAF Tags merged in
-Always upstreamed to latest! (4.9.237)
-And many more under the hood changes...
-Kernel & App update checker (Direct install of kernel and app on Pocophone) + Selection between touch firmware versions
-Balance(Default),Performance,Battery,Gaming & Gaming+ Profiles (QSTile available)
-Custom Profile Creator Page that let's you create and share profiles with the NGK community (/SDCARD/NGK/PROFILES/)
-Precise CPU temperature for both Clusters separately
-CPU Page with following tunables:
-CPU Governor
-CPU Frequency Selection Algorithm (Linear/Exponential)
-CPU Min/Max Frequencies
-NGK Stats Page showing last gaming session FPS+ Chart, battery drain, avg CPU temps & avg Battery temps, toggle for enabling NGK Stats Overlay displaying FPS and following optional features:
-CPU Temps/Freqs
-GPU Temps/Freqs
-Battery Temps/Percentage
-Kernel Page to let you control:
-App optimization (ART) Button
-Thermals:
NoGravity (NGK’s default) || Battery || Stock one
-Battery Thermal Throttling Removal:
ON (NGK’s default) || OFF
-PUBG HDR+Extreme config unlocker
-GPU Page:
-GPU Stats
-Max GPU Freq Selector
-KLapse (Brightness and Daytime modes)
-Backlight Dimmer
-Proximity Gestures Switch to pulse ambient dispay on Hand Wave
-Pick-Up Gesture Switch to pulse ambient display when device is taken
-Pixel 3 Flip to Shhh feature
-DTS Eagle (Sound) Info Page
-More will be added...
-More features...
-Let me know what you want and those may be added!
This kernel should work on any ROM/Ports! Since I love OnePlus and I'm myself a OnePlus 2 user, I will do my best to fully support OOS ports.
Reported to work on: OnePlus 6 Holi Edition, OnePlus 7 OB8 & OB8 Quince, Quarantine Edition. OxygenOS devs do not support custom kernels so if you face any issues with NGK don't post in their groups, post here instead.
-I recommend before coming to conclusion, give it at least 2 complete charge cycles and then raise any issue.
- I recommend to use my app, franco app or EX Kernel Manager if you need to tweak the kernel further
-CPUs since Snapdragon 845 can't be overclocked from kernel this is why it is removed
-Flash No_Gravity_Kernel-vX.X.zip file in TWRP (Latest TWRP Recovery Recommanded)
-(Optional) - Clear cache and Dalvik => if you do so, Use App Optimization button in NGK App.
Download No gravity Kernel / Download No Gravity App
Donate me! / Telegram Group /
No Gravity App Changelog / No Gravity Kernel Changelog
-The android community and to all my testers for using my kernel and your precious feedbacks and ideas!.
-thanasxda for his experience/knowledge on the Pocophone
- @[COLOR="#00b5d3"]_undead[/COLOR] & @[COLOR="#00b5d3"]Wmbruckner[/COLOR] for the crowdfunding
-Followings for their donations!
@[COLOR="#00b5d3"]Wmbruckner[/COLOR]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
​
Contributors
Pierre2324
Source: https://github.com/Pierre2324/NGK_android_kernel_xiaomi_sdm845
Version Information
Status: Stable
Current Version: 2.0
Created: 16-11-2019
Last Updated: 27-09-2020
Changelog
​
Previous Changelogs:
3.5 App Changelog
​
NoGravity Kernel App v3.4.2:
General:
Changelog/Update page is now scrollable in case of big changelogs to see download buttons
App now checks for update when app is resumed also (not just when app is launched)
Pocophone F1-Mi8:
Fixed an issue where frequencies were shown over CPU and GPU labels when turning off respective temps in NGK Stats Overlay
OnePlus 2:
Nothing specific to OP2 added
NoGravity Kernel App v3.4.1:
General:
Changed text of update checker button 'View changelog' to 'Download!' when an update is present
Other small fixes
Pocophone F1-Mi8:
Updated NGK Stats Overlay UI
NGK Stats Overlay doesn't block input touches anymore
Better FPS Idling algorithm to prevent bad user's FPS stats when display isn't refreshed (e.g just looking at launcher)
Last session average FPS now updates right after toggling off the switch when in NGK app
OnePlus 2:
Nothing specific to OP2 added
1.4 Build:
NoGravity Kernel App v3.4:
General:
Updated Profiles
New App & Kernel Update checker
Small fixes
Pocophone-Mi8:
Modified NGK Thermals to fit NGK thermal locking mecanism
DT2W Toggle added to Kernel Page (mainly for OOS)
Updated Backlight Dimmer
New NGK stats page
-Shows last session average FPS
-NGK overlay service toggle to show FPS,CPU & GPU stats in real time on screen
OnePlus 2:
nothing specific for oneplus 2 has been added
Kernel 1.4:
NoGravity Thermal locking mecanism
Add DT2W node for OxygenOS and enabled by default
Input boost driver cleanup
Touch drivers tweaks
GPU max stable overclock dropped to 800MHz (835MHz still available)
Updated profiles
Brought back updated Wireguard
Added back HDR playback feature
Removed old CPU governors
Network GURU app can now be opened
Merged latest CAF tag
Updated to latest Anykernel
Always upstreamed to latest (4.9.215)
And many more under the hood changes/optimisations
Notes:
Kernel and app updates will now show up when they are released on main page of NoGravityKernel App along with device specific changelog and download buttons
NGK Thermal Locking Mecanism prevents ROMs from overriding a thermal selection (Mainly MIUI) (when NGK Thermals are ON only, when they're OFF, ROM will have it's default behavior)
1.3.1 Build:
Kernel 1.3.1:
Rebased Techpack audio driver entirely to fix sound on some ROMs
1.3 Build: Welcome to Mi 8!
NoGravity Kernel App v3.3:
General:
Updated Profiles
Lowered Magisk Toast Messages*
Max GPU Freq Selector
Added an option to refresh GPU Stats
Updated descriptions
Pocophone-Mi8:
New GPU Page:
-GPU Stats
-KLapse (Brightness and Daytime modes)
-Backlight Dimmer
OnePlus 2:
DDR Input Boost Toggle
Kernel 1.3:
Fixed Screen Freezes
Updated Profiles
GPU min 160MHz, GPU max 835MHz
GPU optimisations (Governor, Latency)
Better CPU idling
Optimised Schedutil Governor
Changes to EAS Energy model
Updated schedtune,devfreq boosts
Better app opening speed
Exposed a Dynamic Stune Boost Duration tunable to userspace (Now independent to input boost duration) -Small changes to input boost
Sched cleanup
Added FIOPS,BFQ,ANXIETY I/O Schedulers
Updated thermals
Brought back RCU 4.14 backport
Vibration Control
Compiled with DragonTC
Huge compilation optimisations for performance
POLLY Optimisations
Debloated even more
Now Permissive by default, Android 10 Q blobs don't seem ready yet
Always upstreamed to latest! (4.9.212)
And many more under the hood changes...
Notes:
Max GPU frequency of 835MHz is only reachable manually as I don't consider it fully stable. On the other side, 820MHz Overclock is stable and is used in my profiles.
I wanted to use relatively longer dynamic schedtune boost duration compared to input boosts so made them separate in terms of length.
I would recommend turning off No Gravity app toast notifications from Magisk Manager app.
1.2 Build:
NoGravity Kernel App v3.2:
General:
Updated Profiles
Auto-dismiss Apply on boot notification
Updated descriptions
Pocophone:
New Kernel Page to let you control:
-Thermals:
Stock one || Evaluation (NGK’s default)
-Thermal Suspend API:
OFF || ON (NGK's default)
-Battery Thermal Throttling Removal:
OFF || ON (NGK’s default)
-SELinux Switch:
Enforcing (NGK’s default) || Permissive
New DTS Eagle (Sound) Page
OnePlus 2:
Fixed App opening on AGK
Fixed EAS Dynamic Schedtune Bug
Kernel 1.2:
Updated to latest Touch Firmware
Updated with Xiaomi Q Kernel Source (Touch,Sound,PSU,WLAN,GPU,etc)
Silver cluster will now ramp all the way down to 300MHz for better idle drain
Removed some GPU latency
Underclocked GPU on idle to 170MHz (from 180MHz)
820MHz GPU frequncy step added between 710MHz & 835MHz
New Thermal Suspend API
FSync Control (ON/OFF)
DTS Eagle Software Driver
Bluetooth changes
Optimisations, Removed some bloat
Bluetooth Fixed
Wifi Speed Meter Fixed
Random Reboot Fixed
Blackscreen issue Fixed
SmartPack/Kernel Adiutor issue Fixed
Camera Fix for MIUI Q and ROMs with Q-Blobs (see separate build)
Updated AnyKernel3 changes (No Need to flash magisk after updating!)
Always upstreamed to latest! (4.9.210)
And many more under the hood changes...
Notes:
Thermal Suspend API : This is a small API I’ve written in the kernel directly (to make sure no background services are running for it) that unsets NGK thermals when screen turns off and enables them back when screen is turned back on. (This fixes some issues on some specific ROMs where screen wouldn’t turn on or phone would random reboot while device sleeps or is charging)
There is now a camera fix version to fix camera on ROMs with Q-Blobs like MIUI Q, so if your camera isn't working flash this one.
Kernel 1.1 Pie Edition:
NoGravity Kernel v1.1 now working on Pie ROMs
Using v1.0 Base
Notes:
This kernel uses v1.0 base so will work on both Android Pie and Q ROMs/Ports/MIUI
From now on releases will be separate in 2 builds: [9] and [10]. People on Android 10 should use [10] builds since it is rebased to Full Q CAF sources even tho [9] build would still work.
1.1 Build: Welcome to No Gravity Kernel App for Pocophone!
NoGravity Kernel App v3.1:
Pocophone F1 support added
Balance(Default),Performance,Battery & Gaming Profiles*
Precise CPU temperature for both Clusters separately
Kernel 1.1:
Rebased completely to full Q CAF (LineageOS Staging)
Removed CPU overclock*
Removed charging throttling*
Many Optimisations
F2FS updated with GC and changes
Debloated the Kernel
Westwood(Default) & BBR TCP Algorithms added
Using 2048kb read ahead
Fixed ZEN I/O Scheduler initialisation
Picked port of RCU's taken from 4.14
Updated SDFAT to EXFAT
Removed a CPU boosting driver that could conflict with another
Battery oriented tweaks
Tried to fix random reboots and other issues some people were getting
Always upstreamed to latest! (4.9.206)
And many more under the hood changes...
Notes:
Profiles also have a QSTile for fast switching
If you didn’t already know it was only placebo/performance wouldn’t change, but don’t worry there are other ways to make performance better
If you want charging throttling, you can set it back on here by setting the value to N instead of Y: sys/modules//sys/module/smb_lib/parameters/skip_thermal
MIUI ROM/Port variants may have some issues but I didn't have much testers on those so please send logs if you have issues
1.0 Build: Welcome to Android 10 & Pocophone!
Kernel:
Overclocked CPU (Silver 1.76->2.0Ghz, Gold 2.8-> 3.0Ghz) (Will boot with stock clocks)
Energy model modifications to fit NGK overclocked frequencies
GPU Overclocked to 835 MHz
GPU Underclocked to 180 MHz on idle
Using Evaluation Thermals (For now..)
NAP power saving state for Adreno 630 GPU
Added Adreno Idler
AdrenoBoost
Dynamic Stune Boost
Devfreq boost and Cpu Boosting drivers
Disabled ZRAM
Faster Applications Opening speed
Slimbus Overclock
Added Fingerprint boost
Added WakeBoost module
Added and Using ZEN I/O Scheduler as default for app opening speed && overall Smoothness
Added Maple, SIO and FIOPS I/O Scheduler
Power Efficient Workqueues
Sound Control support
Maximum charge rate over USB 3.0
WireGuard Support
KCAL Support
K-Lapse 5.0 Support
Blocked wakelock (Boeffla & more)
Fingerprint improvements
Caches optimisations
Compilation optimisations
Novatek touch firmware from 10.3.7.0
Always upstreamed to latest! (4.9.201)
Using Anykernel3
And many more under the hood changes...
Useful Stuffs
Useful stuffs
Clean flashing a kernel:
1. Boot into recovery
2. Wipe dalvik/art cache, cache, system and vendor(if recovery have this option)
3. Reboot into recovery (only needed on some recoveries)
4. Flash latest ROM zip
(Optional) Flash other zips like GApps, DFE, etc depending on ROM and your preference
5. Flash latest Magisk zip
6. Reboot into system (yes boot with stock kernel first)
7. Reboot into recovery
8. Flash latest NGK Kernel zip
9. Reboot and enjoy
Not to be confused with a ROM clean flash!
Do not wipe data or internal storage!
Taking logs
Screen Freezes:
-Connect phone to PC
-Run following commands in terminal:
[*]adb shell
[*]dmesg
Random Reboots:
-When the random reboot occurs press the TWRP button combo to got straight into TWRP
-Send the pstore folder as a .zip file located in /sys/fs/
Any runtime kernel/app related crashes that doesnt make the device reboot or freeze:
-Use Matlog app on play store
-Start recording before the issue
-Stop recording after the issue
-Send the .zip file created
Kernel + App Update
Good news !
NGK 1.3 and 3.3 app are up with some good additions! Mi 8 is now supported. Make sure you read the changelog...
Thanks to everyone who donated until now, that's really appreciated. I don't want to force anyone to do so, but we are almost there as you can see here: Crowdfunding
thanks again
Back to work
camera disconnected on ion Os 10.0
thanks for ur great job.
-------------
edit
I try other version with P Blobs and works fine thx.
megaxp said:
camera disconnected on ion Os 10.0
thanks for ur great job.
-------------
edit
I try other version with P Blobs and works fine thx.
Click to expand...
Click to collapse
Thanks glad you like it ?
Looking forward to testing this bad boy
there is no sound on last miroom beta rom with this kernel
Thanks for this man, the only thing I'm jealous of the poco community is the amount of roms and kernels they get haha.
I'll try this when I get home!
Me too, no sound on Revolution rom 20.1.31
Murik01 said:
there is no sound on last miroom beta rom with this kernel
Click to expand...
Click to collapse
chickyboy001 said:
Me too, no sound on Revolution rom 20.1.31
Click to expand...
Click to collapse
There are P blobs and Q blobs versions, try both, one should work. (this is not for Android P and Android Q versions, it's for blobs, blobs are a different thing, google if you want to get technical).
If not working with any version then it's indeed a bug.
Sorry but I don't understand it. Can you give more detailed instructions?
Where I can find P blobs and Q blobs versions?
chickyboy001 said:
Sorry but I don't understand it. Can you give more detailed instructions?
Where I can find P blobs and Q blobs versions?
Click to expand...
Click to collapse
Here.
Read the first posts more thoroughly next time before flashing stuff.
Another One...Thanks to our humble and awesome DEV!!!!
Boots and seems to work, camera does too on latest los 17 build.
Unfortunately there's no audio at all.
Let me know if I can provide logs, help, or test.
Thanks!
I try P blobs and Q blobs versions. But it still has no sound
Okay, so a looooot of people asked for a telegram group..
Here it is:
NoGravity Development Telegram Group
https://t.me/nogravity_dev
Notes:
-I wont be posting test builds there
-This is for discussion related to my projects
-I won't be able to handle the spam and don't tag me for nothing, I have a life too so I won't be reading everything. I will read everything that is here on XDA only. If you tag me there I will most probably read it but dont expect me to be super active there.
See yall there
Noted for sound, I will have a look. Yall can try sending logs
Pierre2324 said:
Noted for sound, I will have a look. Yall can try sending logs
Click to expand...
Click to collapse
Great, will do once I get the chance!
Pierre2324 said:
Noted for sound, I will have a look. Yall can try sending logs
Click to expand...
Click to collapse
I think dts eangle is the problem.

Categories

Resources