Code:
#include <std_disclaimer.h>
/*
* Your warranty is now probably void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Works only on AOSP roms.Do not try to install on MIUI.
Compiled using Clang 9.0.0
It is recommended to use the SmartPack Kernel Manager to use and control this kernel.
WARNING:TAKE A BACKUP OF YOUR BOOT.IMG AND THEN FLASH THIS KERNEL.I WILL NOT BE RESPONSIBLE IF YOU BRICK YOUR DEVICE.
Latest Updates will be announced here.
(+) 4.9 Kernel v1 Released!
What's new:
- Initial release, check CHANGELOG
Check the CHANGELOG and NOTES below for more details
Click to expand...
Click to collapse
FEATURES:
4.9 kernel:
*CPU Governors:Schedutil,Blu_Schedutil,Pwrutilx,Pixutil
*Undervolt support (read NOTES)
*Power saving workqueues
*Flar2 Sound control
*GPU Governors:Simple_ondemand
*I/O schedulers:sio,zen,fiops,anxiety,bfq
*Dynamic fsync 2.0
*Screen:KCAL,Backlight dimmer
*TCP Congestion Algorithm:westwood,reno,cubic,cdg,agile,scalable,tsunami
*Custom crypto algorithms:Chacha20*,ZSTD algorithms
*SCH_CAKE net scheduler
*Optimized ZRAM
*Printk logging switch added
*Various optimizations and fixes
Click to expand...
Click to collapse
INSTALLATION:
Make sure you have a proper recovery.
*Backup your boot.img.
*Press INSTALL,locate and flash the zip.
*Reboot.
NOTE:If you want to reinstall the kernel,restore stock boot image and flash
Click to expand...
Click to collapse
DOWNLOADS:
Mediafire:
4.9 kernel (v1):
REVVZ Kernel 4.9 v1
Click to expand...
Click to collapse
CREDITS:
The Android Project for the Clang compiler,
and all other kernel devs whom I cherry-picked sources from.
Special thanks to my tester @ada12 for patiently helping me to debug the kernel,
reporting various issues carefully and in effect,making this kernel possible for the Xiaomi Mi A2 Lite.
Please PM me for proper credits if not given.Thanks.
Click to expand...
Click to collapse
CHANGELOG:
4.9 kernel
v1:
#Initial release
-- Upstreamed to 4.9.190
-- Added blu_schedutil,pwrutilx,pixutil governors
-- Added ZEN,BFQ,FIOPS,sio,fiops,anxiety I/O schedulers
-- Added CDG,Agile,Scalable,Tsunami TCP algorithms
-- Added FRandom RNG driver
-- Added Chacha20* and zstd algorithm
-- Added Flar2 Sound Control
-- Ainur DTS enabled
-- Added Voltage control
-- Added KCAL
-- Added Undervolting support
-- Added CAKE net scheduler for faster network packets processing
-- Arm64 improvements
-- Turned on TTWU_QUEUE feature (beneficial to WALT)
-- Optimized the regulator for better performance
-- Optimized builds of various drivers,and the kernel as a whole.
-- Optimized ZRAM and ZSMALLOC with ZSTD
-- Forced systemwide powersaving workqueues only (commit)
-- Balanced sound output with increased quality (commit)
-- Lower OOM dump burst
-- Merged some optimizations from POCO F1
-- Migration Hysterisis Filter feature from Hisilicon EAS
-- Modified CPU/GPU frequencies,powerlevels to save power
-- Various patches/fixes from mainline Linux 5.0-5.4
|__ UCLAMP support
|__ CPUIDLE governor TEO added
|__ RNG(Entropy) generation from bootloader
|__ Improved and tuned scheduler and memory management
|__ Improved memory accounting for sl[aou]b
|__ Fixed high throttling with low CPU usage
|__ Other small fixes
-- Set some sysctl values as default for improved memory situation
-- Removed HQSYSFS dependency
-- Removed AUDIT instances and disabled it
-- Various small fixes to EAS
Click to expand...
Click to collapse
NOTES:
*This kernel has been designed with stability and performance enough to get you a
good battery life.It has been specifically designed for normal app usage and multitasking.
*Undervolting is an experimental feature.In case you do want to modify voltage values,open Smartpack/Kernel Aduitor Kernel Manager,go to the CPU Voltage Tab,and modify only the values labelled as "perfcl_Vmin".Reducing the values by 5 is recommended.
If during undervolting,the device freezes,simply long-press the POWER button until the device reboots.
*This kernel is not for heavy gaming.Please be aware while playing games/using heavy apps.
*RAM usage,battery life,performance etc. can vary with usage.Please dont complain about any problem if you apps
are wildly running in the background or you dont maintain your device properly.Sometimes it is not the fault of the kernel.
.Please provide proper bugreports(/proc/last_kmsg,dmesg output,/sys/fs/pstore/console-ramoops files can be provided)
otherwise your bugfix request will be ignored.
*This kernel gives me a maximum of a one-and-a-half days on a single charge.I use lots of apps and multitasking is smooth.Obviously,don't take these claims for real,test test test and apply settings that are perfect for you.
Everything depends on how you use it.
Click to expand...
Click to collapse
A Huge Thanks to you people for downloading my kernel.If you like it,leave a Thanks!
XDA:DevDB Information
REVVZ Kernel, Kernel for the Xiaomi Mi A2 Lite
Contributors
darkhzy_kh
Source Code: https://github.com/darkhz/revvz_daisy
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 4.9-v1
Beta Release Date: 2019-12-07
Created 2019-12-07
Last Updated 2019-12-07
Thanks for your work, feel really smooth Evo x 3.4 + revvz
Please state whether it's compatible with Pie only, Q only or both.
yashinodon said:
Please state whether it's compatible with Pie only, Q only or both.
Click to expand...
Click to collapse
4.9 its only for Android 10
Using with Evo X 4.0 and it looks very smooth!
Kernel works normal with the stock android Q, but the WIFI isn't working. Can you update the Kernel to Android stock 11.0.2.0
Related
{
"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"
}
Hybrid Kernel is for all AOSP ROMs powered by Android 5.0 aka Lollipop.
The main objective of this kernel is to maximize end-user experience with advance optimizations from CAF and 3.18 mainline kernel along with device specific features - A TRUE HYBRID.
Linux mainstream (3.4.y or torvald's dev git) offers FIXES and UPDATES for all architectures (like x86 as well as ARM)
We DO need these crucial updates to ensure stability and security. There are many CM kernels which are already updated with 3.4.y branch.
Hybrid kernel will keep up with latest wherever required. Don't fall for garbage talks.
Hybrid Kernel is descendant of CHAOS kernel - Kernel for CM11 with bleeding edge CAF updates, features and fixes.
You can play with all the features using SYNAPSE app.
We have developed support for Synapse in-kernel itself, no need to flash UKM or install any other kernel manager apps.
Feature Highlight:
Latest from Google (kernel_msm source + kernel_common updates)
Complete CAF Sound Experience (audio offloading and auto UHQ - ultra high quality)
Synapse Backend Support. Install Synapse app from Play Store.
Sound Controls and Profiles (including Faux sound app support - though you won't need it)
Gamma Controls and Profiles (including Franco Display control app support - though you won't need it)
Advcanced CPU Boost driver with unified hotplug boot, wake boost and input boost controls (Truly engineered for Project Butter)
In-kernel thermal driver (always enabled) and thermal controls.
CAF updates for WiFi driver.
Backported fastest ZRam from 3.18 kernel. (Fastest ZRam with customizable compression techniques)
Enhanced KSM (Enabled by default)
Enhanced LMK (low memory killer) with profiles and controls (Thanks Moto source and @Dorimanx)
Tuned virtual memory and LMK (Tuning based on our R'n'D, you can change as per your wish using Synapse)
Overclock upto 2.5 GHz (Still boots at stock frequency)
Per CPU Total Control (You can control how each core will behave individually - set min/max/boost freq and governor)
GPU Overclock and lower freq steps. (Still boots at stock max frequency)
GPU driver critical fixes and updates for smoothness.
Additional Interactive governor for GPU (thanks to Franco)
MSM Limiter driver (Does much regulation on CPUFreq driver than you can imagine. Check it out in Synapse app for details.)
Voltage controls (UV upto 675 mV. Please note our hardware have diff PVS category and so voltages and stability over diff voltages will differ user to user. Find your poison yourself with voltage controls in Synapse)
3.4 upstream important updates and fixes (100% stable updates for our 3.4.y kernel)
Power-efficient workqueues (Ported from 3.18 mainstream - PE WQ aims at improving power efficiency.)
Enhanced MSM Hotplug Driver + Controls (Base driver by myfluxi - Enhanced further by me, Dorimanx and alucard)
Enhanced Intelliplug Hotplug Driver + Controls (Base driver by faux- Enhanced further by me, Dorimanx and alucard)
CyanogenMod Hotplug Driver (This driver is disabled by default)
Enhanced Bricked Hotplug Driver + Controls (On mass demand. Base driver by showp1984- Enhanced further by me)
Auto busybox installation (Busybox is required by root apps to perform misc tasks. Please note this wouldn't auto-root device.)
Multiple TCP Congestion methods (HTCP is default - can be changed via Synapse)
Additional FIOPS, VR, ZEN and BFQ Schedulers (ROW scheduler is our default)
Additional Classic Interactive, Intellimm and ZZMoove governors (Bacon governor is our default)
DT2W/S2S/S2W/Wake Timeout/Power Key Suspend (All the wake controls you'll ever need.)
Hardware Encryption (Faster and Powerful) (Removed to fix idle battery drain)
Built with SaberMOD 4.9.3 Toolchain (Performance + Power) The toolchain is rebuilt by me from their sources and has optimized few parameters.
CDROM emulation support (DriveDroid support included)
LCD KCal driver from LG G2 (This provides ability to change RGB values using Synapse)
Tuned LCD Backlight driver to save power
OTG Support for all ROMs (Use StickMount app if your ROM doesn't provide framework support to auto-mount like CM12)
MultiROM Supported (Thanks tasssadar)
init.d support to autorun user defined scripts. (Do not mess with it unless you know the conflicting risks)
Optimized RWSEM, AES and SHA1 routines with NEON mode enabled.
You name it, we will have it.*
*You can request any feature you like to see, we will respond for feasibility.
To know all the fixes and changes done, please refer detailed change log in below post.
Installation Checklist:
Your ROM is rooted. (If any root issue, please flash SuperSu)
Do not flash UKM after flashing this kernel.
Do not install any external busybox.
Install Synapse app from Play Store.
Download Here: (3.0 and above)
Click Here
Download Here: (2.1 and below)
Click Here
No mirrors. If you have trouble downloading, you can request in topic and since we have good user community, you will get mirror from our awesome user community.
The Awesome User Community Pinned Posts!
Typical Battery Stats using Hybrid Kernel
Companion review from one of the awesome devs.
Source:
Click Here
ROM Chefs, feel free to incorporate kernel in your ROMs or use above source for ROM build. Just do provide topic link for resolution of kernel issues/queries, if any.
Very special thanks to some real good devs, I came across while N5 kernels development -
@Dorimanx , @Alucard24 , @ak , @defconoi , @renderbroken , @LaboDJ , @xboxfanj @apb_axel
(I think I am missing some. Apologies.)
Kernel dedicated to your's and awesome user community's support!!
Also, thanks to these devs for contribution and inspiration -
@andreilux (Synapse interface app . This guy is best)
@apb_axel (Synapse backend support. Please thank him HERE.)
@myfluxi (device specific tweaks and fixes)
@franciscofranco (voltage controls and tuned parameters)
@showp1984 (wake controls)
@faux123 (faux sound baseline)
@flar2 (OC table and extended wake controls)
Let the Chaos Begin!
XDA:DevDB Information
Hybrid Kernel, Kernel for the Google Nexus 5
Contributors
neobuddy89
Source Code: https://github.com/neobuddy89/hammerhead/commits/lollipop/
Kernel Special Features: Per CPU Total Control, CAF Sound, Overclock, Gamma Control, Sound Control, Volt control, CPU Boost
Version Information
Status: Nightly
Current Stable Version: 2.1
Stable Release Date: 2015-02-23
Created 2014-10-26
Last Updated 2015-04-05
Change Log
Code:
[B]Hybrid_v3.0-[04-05]-[14-48][/B]
* New build from refreshed lollipop-mr1 base.
---------------------------------------------------------------------------------------------------
[B]Hybrid_v2.0[/B] (23/Feb/2015)
* Stable Release
* Updated KCal driver to latest
* Fixed potential errors in Synapse
* Updated F2FS
* Misc updates
[B]Hybrid_v2.0-[02-18]-[08-59][/B]
* Added KCAL - Advanced Color Control support. Get app [URL="http://forum.xda-developers.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080"]HERE[/URL]. Thanks @[URL="http://forum.xda-developers.com/member.php?u=4316709"]savoca[/URL].
* Impulse governor is new default governor with powersave_bias = 1.
[B]Hybrid_v2.0-[02-15]-[16-32][/B]
* Uninstalled Camera Driver updates
[B]Hybrid_v2.0-[02-15]-[02-02][/B]
* Update for camera driver to avoid possible mem corruption.
* Updated OTG mount for CM based ROMs.
[B]Hybrid_v2.0-[02-14]-[11-03][/B]
* Unified EXT4 and F2FS version.
*** MultiROM users please update multirom binary and recovery using MultiROM manager app.
*** F2FS users please report working of this version as primary ROM or secondary ROM or both.
* Disabled some qualcomm crypto routines
*** Encrypted users please test if encryption still works fine (it should work as before, we have ARM optimized crypto drivers still active)
*** This is a lean approach to reduce battery consumption. Please report if any difference in battery consumption.
* Updated Synapse backend support for profiles.
*** Please report if any issue.
[B]Hybrid_v2.0-[02-12]-[01-06] / Hybrid_v2.0-[02-12]-[01-23]_F2FS[/B]
* Updated Bricked hotplug
* Updated installation script to remove busybox conflicts
* Updated audio codec driver
* Removed GPU OC (doesn't work with Lollipop)
[B]Hybrid_v2.0-[02-06]-[18-18] / Hybrid_v2.0-[02-06]-[18-38]_F2FS[/B]
* Linux 3.4.106 update (lots of bug fixes for file system, updates for generic drivers, memory improvements, NET driver upgrades and fixes)
* CPUFreq & CPU Boost Driver updates and bug fixes
* A new shiny and our in-house CPU governor - [I]Impulse[/I]
** Impulse governor is based on CAF Interactive but with additions to work smoothly with CPU Boost driver and improved freq stabilization.
Testing in progress.
[B]Hybrid_v2.0-[02-01]-[23-40] / Hybrid_v2.0-[02-02]-[00-21]_F2FS[/B]
* Fixed Synapse Backend Support for CM12 built-in superuser. (Needs more testing)
* Updated interactive governor.
* Misc updates
* Adapted Interactive and CPU Boost defaults from Chaos Kernel (theoretically, these should lower power consumption)
[B]Hybrid_v2.0-[01-28]-[09-26] / Hybrid_v2.0-[01-28]-[09-40]_F2FS[/B]
* Updated F2FS to latest. Please test with F2FS build.
* Updated zzmoove governor.
* Added Yankactive governor, some tuning may need to follow later. This is much similar to classic interactive.
* Fixed hispeed freq for interactive governor for smoother transitions.
* WiFi driver update.
* CPUIdle minor update.
* Audio driver updates.
* Updated kernel locking mechanism from 3.14 mainline.
* Improved stability.
[B]Hybrid_v2.0-[01-22]-[01-48] / Hybrid_v2.0-[01-22]-[09-12]_F2FS[/B]
* Added new SmartMax governor, tuned for hammerhead.
* Updated ramdisk from CM12. (Still root issue only with Synapse app, will check later)
* Bacon governor is now default interactive governor. Classic interactive is removed.
* Updates for conservative and intelliminmax governor!
* RBTree algorithm optimizations from 3.18 upstream.
* Merged Camera driver updates (as that in previous preview build)
* Motorola optimizations for better performance and improved suspend routines.
* OOM improvements.
* Updated serial driver and ARM updates.
[B]Hybrid_v2.0-[01-17]-[00-30][/B]
* Lots of bug fixes from Cyanogen team and stable upstream.
* Updated sound codec driver from CAF.
* Optimized crypto mode for ARM with NEON acceleration.
* Mainstream backports for IRQ subsystem.
* RCU updates from CAF.
* ARM updates.
[B]Hybrid_v1.0[/B] - (03/Jan/2015)
* Stable Release
* CPU Global voltage steps change from 25mV to 5mV
* Update bacon governor
* Misc updates
[B]Hybrid_v1.0-[12-28]-[22-58][/B]
* Fix Fast Charge compatibility with other kernel apps.
* Misc fixes from 3.4.y
* Sound codec driver update
[B]Hybrid_v1.0-[12-25]-[23-00][/B]
* Added QCOM Audio Effects (from CAF)
* Ramdisk updates + Improved tuning
* Updated BFQ I/O scheduler to v7r7
* Enabled qcrypto hw interface (This is not hw encryption)
[B]Hybrid_v1.0-[12-22]-[09-08][/B]
* Simplified Fast Charge control in Synapse
* Updated sound codec driver
* Disable qcrypto hw interface (likely to break l2tp protocol)
[B]Hybrid_v1.0-[12-14]-[01-47][/B]
* Improved Suspend Routines. (Better sleep)
* Reverted back to old settings for CPU Boost and Hotplug drivers.
* Fix misc issues.
[B]Hybrid_v1.0-[12-09]-[22-00][/B]
* New settings:
** Hotplug Boost disabled by default.
** Touch Boosted CPUs disabled by default.
** KSM disabled by default.
* Improved headphone detection consistency
* Misc fixes/improvements from 3.4.y.
* KControl app should now show MSM_MPDECISION tunables (Please check)
* Improved CPU Boost control in Synapse. You can disable it per CPU.
[B]Hybrid_v1.0-[12-07]-[14-36][/B]
* Add control under Misc Tab in Synapse to disable Charging LED.
[B]Hybrid_v1.0-[12-07]-[11-28][/B]
* Fix media driver leaks.
* Tune intellimm governor. So far so smooth!!
* Misc updates for MSM specific drivers.
* Set interactive as default GPU governor.
[B]Hybrid_v1.0-[12-05]-[01-20][/B]
* Completed all required sync with 3.4.105 kernel.
[B]Hybrid_v1.0-[12-03]-[00-04][/B]
* Disabled HW Disk encryption (Fixes idle battery drain)
* Lots of fixes from Linux 3.4.105 update
[B]Hybrid_v1.0-[12-02]-[01-09][/B]
* Fix CM12 native root. (No more issue from kernel side, not sure if any issue still persist in userspace for CM12)
* Misc fixes and updates for stability.
[B]Hybrid_v1.0-[12-01]-[09-11][/B]
* Fix soft reboot with voltage below 700mV
* ARM updates
[B]Hybrid_v1.0-[11-30]-[15-11][/B]
* MSM Idle and power mode driver updates from CAF.
* Misc updates for MSM board.
* Zzmoove governor for test drive.
* Modem driver updates.
* Increased max limit for sound controls in Synapse app.
[B]Hybrid_v1.0-[11-29]-[09-50][/B]
* Add intellimm governor by Faux - This may need further tuning. (I still love bacon gov!)
* Tune bacon governor for battery saving!
* Tune hotplug drivers for battery saving. Set max cpus online (suspend) to 1 by default!
* Added and tuned bricked hotplug driver. Experimental and need reviews.
* Misc updates for internal memory.
* Thermal driver update.
* Ramdisk updates.
* Update hotplug monitor in Synapse, looks better now.
[B]Hybrid_v1.0-[11-24]-[02-30][/B]
* Rework MSM Limiter driver and bug fixes.
* Add live monitor for min-max-current frequencies in Synapse.
* USB Driver update from 3.4.y and CAF.
[COLOR=Red]SuperSu version 2.27 or later required.[/COLOR]
[B]Hybrid_v1.0-[11-22]-[21-43][/B]
* HW Encryption support
* SELinux changed to "Enforcing" mode
* Fixed broken QSEEComm driver
* Misc updates
[B]Hybrid_v1.0-[11-21]-[02-32][/B]
* Fix broken root with SuperSu after CM ramdisk updates.
[B]Hybrid_v1.0-[11-20]-[21-52][/B]
* Fixed Sensor regression - Removed optimized bionic libs.
[ If you already flashed prev nightly broke proximity sensor, dirty flash your ROM and then this nightly.]
[B]Hybrid_v1.0-[11-20]-[08-47][/B]
* Added CyanogenMod hotplug mechanism (This is improved mpdecision. It also manipulates max freq)
* Added Qualcomm Power HAL
* Add vivid color preset tunable (under gamma tab)
* Added optimized bionic libraries
* Added always-on charging LED
* Ramdisk updates from CM12
* Add Piereligio_True_RGB_V7 Color Profile
[B]Hybrid_v1.0-[11-17]-[02-23][/B]
* New Feature: Add Per-CPU Input Boost Frequency Control.
* New Feature: Add Per-CPU Governor Control.
* Improved GUI for CPU tab in Synapse
* Add control for tuning vibrator strength when using wake controls
* Tuned CPU Boost driver to use 500 ms input boost. This gives real good smoothness!!
You can change this to value as you like via Synapse.
[AOSP Power HAL gave 3 sec boost which is too much, non-configurable and hard on battery.
We had removed it long back.]
* CAF update and fixes for MSM BUS driver.
* ZRAM minor fix for potential crash. (from 3.18 upstream)
* Fix memory leak in video playback driver.
* Serial driver updates from upsteam. (not CAF)
[B]Hybrid_v1.0-[11-12]-[09-24][/B]
* New feature: MSM Limiter Driver can control min/max freq of ALL cores individually. Under testing. Please share your exp if tested.
* Complete file system sync with 3.4.y kernel. This includes lot of fixes by upstream.
* EXT4 misc fixes cherry-picked from Chaos kernel.
[B]Hybrid_v1.0-[11-09]-[22-47][/B]
* Added wake controls! (S2W/S2S/DT2W/PWR Key Suspend/Wake Timeout) -- Experimental - Let me know does these work good.
* CM12 compatibility. (until CM12 decides to take another turn again)
[B]Hybrid_v1.0-[11-09]-[13-57][/B]
* Awesome audio updates (Thanks to Steve's staging source and chaos source)
* Critical fixes and updates from 3.4.y
* Enabled support for USB serial drivers (3G cards)
* ARM updates and fixes
* Tuning for battery saving and more smoothness
* Lowered default temperature threshold by 5 degree.
* Added SIO, FIOPS, ZEN and VR I/O schedulers.
* Tuned ROW I/O scheduler
[B]Hybrid_v1.0-[11-07]-[01-08][/B]
* Fix Synapse broken controls for some AOSP compiled ROMs (You still need to install Superuser app separately, if you haven't already)
* Complete crypto, qseecom and security update from CAF. (Same as Chaos)
* Updated Bacon governor for performance.
* Minor update for CPU Boost driver.
* Misc missed updates which should be included in previous build.
[B]Hybrid_v1.0-[11-04]-[23-30][/B]
* Misc updates for timers and IRQ.
* CPUIdle complete backport from 3.16.
[B]Hybrid_v1.0-[11-03]-[01-16][/B]
* Minor correction in GPU freq steps. (perfect now)
* Complete MMC update from CAF. (same as Chaos)
* Complete kernel memory management update from CAF and 3.4.y. (virtual, swap, slab, slub, compaction etc)
* More updates for sound driver from CAF.
* Readded tuned LMK and OOM.
* DIAG complete update from CAF.
* Readded nvidia tegra patches for improved power efficiency.
* Fix broken Synapse control for hotplug
[B]Hybrid_v1.0-[10-30]-[03-55][/B]
* Readded CAF sound codec driver (which was removed for a test build)
* Default governor changed to Bacon which is OnePlus one interactive governor.
This governor offers lower timer_rate which helps a lot preventing any gliches in audio.
If we had kept mpdecision binary in place, min freq would have stayed higher most of the times and helped audio glitch BUT that's too much to sacrifice.
Let's give a shot to Bacon magic.
* Clean ups of misc updates.
* Add interactive governor for GPU. Pretty good.
[B]Hybrid_v1.0-[10-28]-[23-11][/B]
* Auto disable mpdecision to stop messing with minfreq.
* Clean sound control driver to improve compatibility with PowerAmp app.
* GPU OC and improvements. (Still it will boot at stock freqs)
* GPU controls for Synapse
* Various fixes from 3.4.y branch
* Misc updates from Chaos
* Add F2FS support (no auto mount due to some limitations in 5.0)
[B]
Hybrid_v1.0-[10-26]-[13-05][/B]
* Initial version with core features and Synapse support!
Reserved
__/\__ Updated 24th Nov, 2014.
F.A.Q.
Q. What ROMs this kernel work?
A. It should work on ALL lollipop ROMs so far. If it doesn't please highlight.
Q. Is this CAF or AOSP kernel?
A. This is AOSP kernel with best updates from CAF and 3.4.y
Q. Root is no longer working. What do I do?
A. Install SuperSu 2.27 or higher. We need Superuser app that is compatible with Enforced SELinux.
Q. How do I change kernel specific settings?
A. We have developed SYNAPSE backend support. Install Synapse from Play Store. Do not install UKM.
Q. XYZ is not working as expected. What to do?
A. Describe what ROM you running, whether this issue exist on stock kernel of your ROM, share dmesg log when issue just occured,
share steps to reproduce the issue.
Q. Can you add ABC feature?
A. We already have most features. If you need new any ABC feature, provide link to it's development if available.
Also let us know how will it be helpful. If same is not feasible for me to add or there is no need to add same, I will reply back.
Q. ???
Click to expand...
Click to collapse
Good to see you back neo
Sounds interesting, will give it a try. Thanks and a great Sunday.
About to flash this right now. Thanks neo. Looking forward to OTG support! Thanks for sharing.
Does this kernel works on @sykopompos rom?
llevo3 said:
Does this kernel works on @sykopompos rom?
Click to expand...
Click to collapse
Link please. It works on last L-preview found in Vomer topic.
neobuddy89 said:
Link please. It works on last L-preview found in Vomer topic.
Click to expand...
Click to collapse
http://forum.xda-developers.com/google-nexus-5/development/l-android-lpv-dev-n5-enhanced-t2856934
llevo3 said:
Does this kernel works on @sykopompos rom?
Click to expand...
Click to collapse
I'll let you know in 5 minutes. About to flash it over B15.
Edit: Sorry for the wait. 1st boot took nearly 20 minutes!
Anyways, works fine over B15. Root works and all.
Indeed good to see you back Neo
Anyways, kernel is running stable for me, any chance to get fiops or sio schedulers in the future?
Good to see this from you neo! Have you set selinux to permissive or enforcing?
Sent from my Android 5.0 Lollipop + ElementalX powered Nexus 5
Can confirm this works on b15! Run amazing so far, good work
Flashed over vomers preview zip and there's something really screwy with hotplugging. All cores are shown as flashing on and off constantly in synapse and frequencies will not go below 1297mhz
Sent from my Android 5.0 Lollipop + ElementalX powered Nexus 5
sjknight413 said:
Flashed over vomers preview zip and there's something really screwy with hotplugging. All cores are shown as flashing on and off constantly in synapse and frequencies will not go below 1297mhz
Sent from my Android 5.0 Lollipop + ElementalX powered Nexus 5
Click to expand...
Click to collapse
What's the min freq? Is it setting itself to 1297 MHz?
I had same prob, so I thought it's something to do with userspace stuff... I flashed eng.stk's kernel and back hybrid one after a boot.
And all settled quite good..
Need to flash entire ROM again to check what may be causing this.
I believe something left from previous kernel?? Were you on other kernel before?
R3Lax1 said:
Indeed good to see you back Neo
Anyways, kernel is running stable for me, any chance to get fiops or sio schedulers in the future?
Click to expand...
Click to collapse
Yes, that can be done.
sjknight413 said:
Good to see this from you neo! Have you set selinux to permissive or enforcing?
Sent from my Android 5.0 Lollipop + ElementalX powered Nexus 5
Click to expand...
Click to collapse
I have just ripped ramdisk from preview ROM which had modified ramdisk to begin with.
Haven't touched anything on selinux in the ramdisk. So, I believe the modified kernel in vomer thread had changed it to permissive.
Anyways, you can change this yourself using Synapse; there is option available to do so under TOOLS tab.
neobuddy89 said:
What's the min freq? Is it setting itself to 1297 MHz?
I had same prob, so I thought it's something to do with userspace stuff... I flashed eng.stk's kernel and back hybrid one after a boot.
And all settled quite good..
Need to flash entire ROM again to check what may be causing this.
I believe something left from previous kernel?? Were you on other kernel before?
Click to expand...
Click to collapse
The min frequency was jumping between 1190, 1297 and 1497 I believe! I was just on sykompopos permissive boot.img before
Sent from my Android 5.0 Lollipop + ElementalX powered Nexus 5
Kernel working well with version 14 of sykopompos 5.0 preview.
Feels quite snappy.
Min frequency is giving me no problems.
Thanks for this gem
sjknight413 said:
The min frequency was jumping between 1190, 1297 and 1497 I believe! I was just on sykompopos permissive boot.img before
Sent from my Android 5.0 Lollipop + ElementalX powered Nexus 5
Click to expand...
Click to collapse
Will check. Thanks.
Welcome back, Neo! I knew that we can't loose you
From my N10
Running syko B15 and installed your hybrid kernel. One problem I can't change gamma profile. It won't apply on synapse.
DISCONTINUED
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Hello guys, here I'm introducing a custom kernel for our Moto X Play, based on Squid Kernel . Full credits goes to him:fingers-crossed:. I only added some tweaks and more is coming soon. No more blah blah...
Features:
Reduced VFS cache pressure
Disabled noatime and nodiratime
Dirty ratio tweaks
Enabled Arch power and Disabled GFS
Asynchronous I/O latency to a solid-state disk greatly increased
Optimized SLUB
VM_MAX_READAHEAD set to 1024 kbytes
Optimize apply_slack for size and speed - thanks to varunchitre15
Forward port Dynamic Fsync to Linux 3.10 by varunchitre15
Disabled MMC CRC check
Enabled some extra TCP Congestion Controls
Use all cores on-boot for faster bootup
HMP-aware task placement
Code:
[B]CPU Hotplugs:[/B]
[SIZE=2][STRIKE]Bricked Hotplug[/STRIKE]
MSM Hotplug
[STRIKE]MAKO Hotplug
ZEN_DECISION Hotplug
AUTOSMP Hotplug
MSM SLEEPER[/STRIKE][/SIZE]
Code:
[B]CPU Governors:[/B]
[SIZE=2]LIONFISH
SMARTMAX
BLUACTIVE
SMARTASS2
INTELLIACTIVE
INTERACTIVE_PRO
ZZMOOVE
ALUCARD
BARRY_ALLEN
BIOSHOCK[/SIZE]
How to install:
Download Phoenix kernel flashable zip
Copy it into SD Card
Reboot into custom recovery
Install zip from SD Card
Credits:
squid2 (for the GPL source)
varun.chitre15 (for the GPL source)
Kunal.Kene.1797 (for the GPL source)
HridayHS (for the GPL source)
Shoaib05 (for the GPL source)
Motorola
XDA
Google
Missed you ? sorry pm me I'll add you
Downloads:
See the attachment or Download
*** v1.5 and above are not compatible with Stock 5.1 roms ***
Click to expand...
Click to collapse
XDA:DevDB Information
Phoenix Kernel, Kernel for the Moto X Play
Contributors
AnoopKumar, squid
Source Code: https://github.com/HelllGuest/phoenix_kernel_lux
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2015-10-24
Created 2015-10-24
Last Updated 2016-02-18
Change log
v1.0 2015 October 24
Initial release
v1.1 2015 November 03
Up to date with Squid Kernel
Added frandom
Network speedup tweak
kernel/sched/fair: reduce latency
power: process: drecrease time to enter sleep
defconfig Enable NTFS,CIFS
Added intelliactive - Paul Reioux
Added smartass2 - Erasmux
Added bluactive - Mike Chan,engstk
Added interactive_pro - Mike Chan
Added smartmax-maxwen
v1.2 2015 November 14
Up to date with Squid Kernel
Added Bricked Hotplug - showp1984
Added MSM Hotplug - myfluxi
Disabled IOSCHED_TEST
v1.3 2015 November 26
Updated Lionfish
Wake mod s2s added
Disabled Bricked Hotplug and added MSM Hotplug as default
v1.4 2015 December 26
Up to date with Squid Kernel
Reduced swappiness to 30
Reduced lag
Some minor fixes too
v1.5 2016 February 08
Up to date with Squid Kernel
Linux 3.10.96
Reduced lag
Improved smoothness
Updated Powersuspend
Adreno idler by arter97
320K AAC Encoding
SELinux: permissive
Compiled with Phoenix GCC 5.2
v1.6 2016 February 18
Up to date with Squid Kernel
Overclocked CPU + GPU
Added zzmoove - Zane Zaminsky
alucard - [email protected]
barry_allen - Javier Sayago
bioshock - James Jamison
Added support for CRC Toggle
Optimized Console FrameBuffer for upto 70% increase in Performance
Optimized Integer SQRT. for upto 3x faster operation
Optimized Task-Search for upto 6% increase in Performance
Reduced RQ Lock-Contention for upto 0.7% increase in Performance
Enabled High-Priority WorkQueue for DevFreq
Fixed High-Load Average due to Drivers
Fixed Reporting of GPU Frequency
MSM_HOTPLUG: min 2 cpu while screen off
msm8939: overclock lux big cluster to 1709 MHz
msm8939: overclock lux little cluster to 1209 MHz
msm8939: overclock GPU to 700MHz
Aren't hotplugs like MSM hotplug, bricked hotplug etc. meant for qcom quad core/krait CPUs? I'm not sure how they'd behave on big.LITTLE. Even the governors, I'm not sure they are adapted to big.LITTLE.... could you shed some light on it? Also, your commit history looks like a kang job.... you should clear that out.
Just tried it and now my phone is rebooting every 30 seconds, clearly there are some problems.
Even flashing other kernels or the stock one from cm 12.1 isn't working ( I also restored the libs ), I had to flash the rom again with a full wipe, sorry but had no time to make a logcat.
It looks like kanged only because I manually committed changes from Yu Yreka's custom kernel source... Because I'm having slow Internet connection. Credits are given in the thread.. I think hotplug is working...
AnoopKumar said:
It looks like kanged only because I manually committed changes from Yu Yreka's custom kernel source... Because I'm having slow Internet connection. Credits are given in the thread.. I think hotplug is working...
Click to expand...
Click to collapse
Tbh cherry-picking commits doesn't need a fast internet connection. (I myself have picked commits on a 512 kbps internet) and credits need to be given in the commit, otherwise it counts as a "kang".
Also, credits for bricked hotplug and alucard hotplug etc. haven't been given even in the thread.
Pardon me.. I will fix it give me some time
AnoopKumar said:
Pardon me.. I will fix it give me some time
Click to expand...
Click to collapse
No problem. Just wanted to alert you, because there are a lot of wolves out there who'll trouble you a lot for unretained commit authorship.
Nice work AnoopKumar. Added to index
eskamhl said:
Just tried it and now my phone is rebooting every 30 seconds, clearly there are some problems.
Even flashing other kernels or the stock one from cm 12.1 isn't working ( I also restored the libs ), I had to flash the rom again with a full wipe, sorry but had no time to make a logcat.
Click to expand...
Click to collapse
Thank you for the feedback.. Some issues are removed and added new zip
Quasar said:
No problem. Just wanted to alert you, because there are a lot of wolves out there who'll trouble you a lot for unretained commit authorship.
Click to expand...
Click to collapse
Bro removed all kanged commits.
Perfect, working 100%!!
Amazing Kernel! Kernel running smoothly, show the ball ! All that remains is to add Faux'123 Sound Control functionality.
No more additional cpu governor on the last version?
Nico3d3 said:
No more additional cpu governor on the last version?
Click to expand...
Click to collapse
Actually I removed them because of some authorization issues...
Abravanelsenor said:
Amazing Kernel! Kernel running smoothly, show the ball ! All that remains is to add Faux'123 Sound Control functionality.
Click to expand...
Click to collapse
Stay tuned its coming in the next version.
AnoopKumar said:
Stay tuned its coming in the next version.
Click to expand...
Click to collapse
Possible to incorporate D2W?
Thanks :good:
possible installation in the RR 5.5.8 ? No Bootloop ?
FilipeRgz said:
possible installation in the RR 5.5.8 ? No Bootloop ?
Click to expand...
Click to collapse
Currently i'm on pac rom, not faced any bootloop.
brom25 said:
Possible to incorporate D2W?
Thanks :good:
Click to expand...
Click to collapse
Im working on that too. Only sweep2sleep working now
AnoopKumar said:
Currently i'm on pac rom, not faced any bootloop.
Click to expand...
Click to collapse
I'll back up and install for testing, thanks
Mimori Kernel | Stability for performance
For Xperia M
Based on Lineage OS 14.1 source
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Mimori Kernel based on Lineage OS 14.1 source, and included many improvement and optimization on processor, I/O and include some feature for Xperia M / M dual devices that use Marshmallow as base ROM.
Mimori offered kernel performance, stability, smoothness process on cpu and already have full support on NEON, this kernel need kernel configuration app to control this kernel, so try to find kernel configuration app after flash this kernel.
Recommended Kernel Configuration :
- Kernel Adiutor (BETA)
- Device Control
Okay this is several features that i include in this kernel.
This kernel feature is :
Kernel Features
* Linux Kernel Version 3.4.113
* Compatibility with AOSP,CM And LineageOS based ROM [Android 6.0+]
* Added overclock up to 1,4Ghz
* Added Double Tap 2 Wake Feature (Incl. Vibration)
* Added custom CPU Governor : Alucard,Intelliactive,IntelliMM,Lionheart,Adaptive & Blu Active (specially for Blu Active is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
* Added custom I/O Sched Governor : zen,sio,sioplus,tripndroid,fifo,fiops,vr and maple (specially for maple is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
* Added custom TCP Modules : Advanced,Bic,Westwood,Hybla,Vegas,Veno,Yeah and more
* Added CPU Voltage Table Control
* Implement Power Efficient Workqueues
* Dynamic management of dirty page writebacks
* Added Interface of Gentle Fair Sleepers, Software CRC and Arch Power (Option Disable by Default)
* Added Frandom Support
* Added Dynamic Fsync 2.0
* Entropy Tweaks
* NEON VFPv4 Optimized (hard)
* Added Intelli Plug v4.0
* Added Intelli Thermal v1.0
* Added F2FS File System Support (Based on Linux 3.4.y Branch) (Working)
* Added EXFAT File System Support (Driver Version v1.2.9) (Need Test)
* Added USB Keyboard Support
* Optimized I/O Sched
* Compiled using GCC 5.4.X Hyper Toolchains
* Updated CVE Patch From LineageOS Kernel Source 20171106
[/LIST]
[/LIST]
How to install :
1. Download Mimori Kernel and install it from recovery mode, use TWRP recovery (TWRP Link)
2. install kernel adiutor from Playstore for kernel configuration (i don't have myself app to control kernel) (Try to use BETA version to get fix for CPU temperature)
3. Final step, let's configure kernel like what you want it :victory: and enjoy my first custom kernel
For download, look at download tab on top of this thread
Thanks to :
@PecanCM [For Kernel Source]
@Alex_Gamer [For Kernel Tester & Troubleshoot]
@thichthat [For DT2W Source]
XDA:DevDB Information
Mimori Kernel For Xperia M, Kernel for the Sony Xperia M
Contributors
Nicklas Van Dam, PecanCM, Alex_Gamer
Source Code: https://github.com/Nicklas373/Mimori-Kernel_MSM8227_LineageOS_14.1
Kernel Special Features: Overclocked, ARMV7 NEON Optimized
Version Information
Status: Stable
Current Stable Version: Seventh Build
Stable Release Date: 2018-02-11
Created 2016-09-03
Last Updated 2018-02-19
Kernel Adiutor OTA Update Information
Now for CyanogenMod And AOSP Based ROM, Hana Kernel Offered OTA Update feature for kernel update using kernel adiutor app for CyanogenMod Based ROM with "download" feature in kernel adiutor.
You can download new build in that menu included ; introduce, kernel feature and changelog update. Now i'm still try to enable it on LineageOS too, i'm just need to wait confirmation from the admin .
For anyone want to install this kernel, can access too using KA. just like normal download and installation for kernel :laugh:
Have fun
Kernel Adiutor Information
For Kernel Adiutor Usage
During new stable version of Kernel Adiutor have problem with CPU temperature, now we should use BETA build from Kernel Adiutor to get fix for that problem.
And for set on boot configuration, i'm not recommended it again , since that only can make kernel error during boot up process.
So set kernel when system is already boot is best option for stability and performance.
If kernel adiutor to hard for configure, then you can try Device Control app to manage your kernel.
This app is almost same like KA but it's little simple and more friendly for configuration
Changelog :
Seventh Build (20180211):
- Fixed some upstream issue
- Upstream to 3.4.113 (REBASE change)
- Fix issue with OTG problem (Recovery or System)
- Updated F2FS to latest 3.4.y and misc fixes
Sixth Build (20180122):
- Updated Kernel Security Patch to 20171106 (Based on MSM8960T Source)
- Change GCC to GCC 5.4.X Hyper Toolchains
- Misc fixes with intelli thermal
- Applied last patch with 3.4.113
- Applied security patch with "KRACKS attacks"
- Removed sdcardfs drivers (not used by device)
- Misc CPU Optimization
- Set readahed to 512kb
- Added GPU optimizations flags
- Improve Hard Floating Point for neon-vfpv4
Fifth Build (20171002):
- Introduce IMAGINE Codename
- Upstream Linux Kernel to 3.4.113 based on git.kernel.org
- Revert change of F2FS (back to old source)
- Revert some optimization change
- Added Maple I/O Sched (specially for maple is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
- I/O Sched Optimization for SIO and ZEN
- Enable Interface Of Software CRC
- Misc CPU Optimization
- Added some sched optimization
- Disabled USB Fastcharge v1
- Reverting Permissive, Back to Enforcing
- Added Blu Active CPU Governor (specially for Blu Active is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
- Added Support for Neon VFPv4 With Hard Floating
- Disabled Quick Wake Up Drivers
Fourth Build (20170913):
- Added Optimization on I/O Sched (Improves SSD Speed)
- Misc fixes for conservative governor
- Added F2FS and EXFAT File System Support
- Added Hyper CPU Governor
- Optimized KSM
- Update Intelli Plug to v4.0
- Optimized SLUB
- Set readahed to 256KB
- Added CCACHE for faster kernel building
- Updated CVE Patch (Kernel Security Patch) to 20170826 Based On MSM8960T
- Misc Optimization
- Added Quick Wakeup driver
- BACKPORT F2FS from branch Linux 3.4.y (git.kernel.org)
- Reverting Quick Wakeup Driver
- Added USB Keyboard features
- Updated SDCARDFS Driver
- Misc fixes
Third Build (20170821):
- Little Improvement on CPU Bus Speed
- Added Dynamic Fsync 2.0
- Added Frandom Support
- Added Interface of Gentle Fair Sleepers (Option Disable by Default)
- Misc change on I/O Partitions
- Dynamic management of dirty page writebacks
- Removed "+" Symbol From Kernel Version String
- Implement Power Efficient Workqueues Feature (Enable by Default)
- Revert Alucard CPU Governor to v1.0
- Added Interface of Arch Power Features (Disable by Default)
- Entropy Tweaks
- Build vfp with softfp
- Misc change with cpufreq
- Added Intelli Plug and Intelli Thermal
- Fix Neon VFP
- Upgraded Kernel to 3.4.4
- Change toolchains to Hyper Toolchains GCC 4.9
- Decrease thermal limits to 70c
Second Build (20170817):
- Set kernel as permissive
- Enabling 972Mhz to fix slow response on boot and skipped frequency on system
- Added Custom TCP Congestion
- Added CPU Voltage Control
- Added DT2W Vibration Support
- Added USB Fastcharge v1
- Adapted Some CPU Governor with CPU Freq Table
First Build (20170816):
- INITIAL BUILD
: - Included Custom CPU Governor
- CPU Overclocked to 1.458Mhz
- Using NEON Optimized as VFP
- DT2W Feature
- CPU Optimization Algorithm
- Custom I/O Sched
Kernel Adiutor Configuration
CPU Manager :
CPU Max Frequency : 972Mhz (For Normal Usage) . 1.2Ghz (For Multitasking Usage) & 1.4Ghz (For Hard/Gaming Usage)
CPU Min Frequency : 384Mhz
CPU Governor: Alucard or Interactive (For Normal Usage), Alucard or IntelliMM (For Multitasking Usage) & Lionheart or Intelliactive, Blu Active (For Hard/Gaming Usage)
(Beside that leave it as stock)
Hotplug Manager :
Mpdecision = Disable
Intelli Plug = Enable
Profile = Eco for Performance
(Beside that leave it as stock)
Thermal Manager:
Thermald : Disable
Intelli Thermal : Enable
Core Control : Enable
Frequency Throttle Temperature : 60c
CPU Throttle Temperature : 70c
Thermal Limit Low = 2
(Beside that leave it as stock)
GPU Manager
GPU Max Freq : 400Mhz
GPU Governor : Ondemand or Performance (For Hard Gaming)
I/O Scheduler =
(Leave it as stock)
Misc =
Software CRC Check = Disable
Dynamic Fsync = Disable
Arch Power = Disable (Not really recommended)
Gentle Fair Sleepers = Disable
TCP Congestions = Depends on your need
Option already update during new kernel feature is include
For explanation (cpu hotplug, and i/o sched) check on this thread
CPU Governor : Link- 1 Link-2
I/O Sched : Link
CPU Hotplug :Link - 1 Link - 2
Special Thanks to @gsstudios for guide :laugh:
[INFO] Double Tap 2 Wake & BETA Build
For Double Tap 2 Wake
Try to use kernel adiutor and check in wake tap, after that choose DT2W and enable it using "full'" option and then let's try DT2W features with vibration on mimori kernel
NOTE : BETA Build For Testing (Not Stable)
github/build
For BETA, try to look date for kernel. Find latest one, and anyone can test latest beta if don't want wait for stable update. I can't promise to make fast update for stable source, i don't want to make any problem. so it's better stay at beta and whenever it ready, and it should release on thread :victory:
Thanks.
Garv Maggu said:
Thanks.
Click to expand...
Click to collapse
you're welcome, i'm still working for optimization in armv7 vfpv4 module.
have fun
Updated
New kernel build v1.1 is released with several fix for vfpv4 and neon modules, download link in on download tab.
have try
Great!
Please add dt2w
Niiiice! I was waiting for new release, I'll test it now
Alex_Gamer said:
Niiiice! I was waiting for new release, I'll test it now
Click to expand...
Click to collapse
my laptop is back from service center , and now is time to back :laugh:
romspeed said:
Please add dt2w
Click to expand...
Click to collapse
i will try on next update, it's to hard to add that anyway .
Nicklas Van Dam said:
my laptop is back from service center , and now is time to back :laugh:
Click to expand...
Click to collapse
Good to hear that your laptop its back to rock
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Kb44994 said:
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Click to expand...
Click to collapse
sound is bursting? i think i'm not to modified to sound on this kernel, maybe that's from high cpu usage so that's make sound is distortion. i will try to look at sound option.
[EDIT]
Kb44994 said:
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Click to expand...
Click to collapse
i'm update kernel with clean build and kernel optimilization, i hope that can fix your problem. i'm already compare sound with stock and my kernel. i'm not hear any particular change on sound volume, maybe very little difference, please to wipe dalvik-cache and cache after install this update
Updated
New kernel build v1.2 is released with several clean build for kernel and optimization on kernel compiler to reduce size, download link in on download tab.
have try
Updated
New kernel build v1.3 is released with first stable build , added auto hotplug drivers and more optimization for armv7 and krait processor
download link in on download tab.
have try
Introduction:
Affinity Kernel is a custom kernel based on the latest Stable Linux 4.4 release from kernel.org.
This kernel is developed with performance and great battery life in mind offering some goodies cherry-picked from other popular kernels such as Flash Kernel, ElementalX, blu_spark, Boeffla Kernel, Sultan Kernel and Franco Kernel.
The kernel is always up to date with mainline linux kernel and is regulary updated with the latest fixes.
The goal is to provide a butter smooth experience, simmilar to what you get with the latest Pixel devices.
Affinity Kernel is based on the official kernel source released by OnePlus.
Code:
/*
* Your warranty is not void (Thank you OnePlus!).
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Features:
Upstreamed to the latest Linux Stable 4.4.x
Upstreamed to the latest CAF tag LA.UM.6.4.r1-11500-8x98.0 & LA.UM.7.4.r1-04800-8x98.0
Tunable with Kernel Adiutor and others
Additional CPU gorvernors
Sound Control
Adreno Idler by @arter97
Full WireGuard implementation
Sweep2Sleep gesture
Fast charging on USB
FS fsync toggle (enabled by default)
Additional IO schedulers (Maple, FIOPS, SIO, ZEN)
Qualcomm MDSS v2 (sRGB + KCAL)
dm(avb)-verity disabled
Faster app cold-launch
IO Tuning
Optimized with oFast and O3
Westwood TCP algorithm as default
Full Treble compatibility with Treble related fixes
Individual Input Boost frequency for each cluster
Disabled the BCL battery driver
Backlight Dimmer by @flar2
Boeffla Wakelock blocker v1.1.0
CDROM emulation
init.d support
ARM target optimizations
Passes SafetyNet check
Crypto Routines optimizations
High Brightness mode
Adreno driver improvements
EAS
Dynamic SchedTune Boost v3
KLAPSE Driver
Decreased swappiness
Installation:
Before you install the kernel, make sure you have
a backup of boot partition in case something goes wrong!
If you are coming from stock kernel:
Reboot into TWRP
Flash the Affinity Kernel.zip
Reboot
If you are coming from another custom kernel:
Reboot into TWRP
Dirty flash your rom or restore boot backup if you have any
Reboot recovery
Flash the Affinity Kernel.zip
Reboot
Updating:
Just flash the latest Affinity Kernel build over the previous one
Downloads:
{Mod edit}
On ROMs like Dirty Unicorns, WLAN won't work because the wlan module is required
to load on device initcall rather than late initcall like other ROMs do. There's a workaround for it but
it breaks WLAN on all ROMs that have the module built inline or the CAF way
{Mod edit}
Thanks to:
@joshuous for his EAS commits and Dynamic Sched Boost
@osm0sis for his AnyKernel2 installer
@nathanchance for his android-linux-stable project and helping me
@Lord Boeffla for Boeffla Wakelock Blocker and LED control
@Sultanxda for his fixes and other stuff
@eng.stk for his tweaks
@flar2 for his Sweep2Sleep gesture driver
@tanish2k09 for KLAPSE Driver
And all those folks contributing to Linux Kernel
XDA:DevDB Information
Affinity Kernel, Kernel for the OnePlus 5
Contributors
LinuxUser0227
Source Code: https://github.com/hejsekvojtech/Affinity-OnePlus5
Kernel Special Features: Fast, Battery friendly, Stable, Up to date
Version Information
Status: Stable
Current Stable Version: r24
Stable Release Date: 2018-09-27
Created 2018-09-27
Last Updated 2019-04-06
Compatible with Magisk? If so dirty flash followed by Magisk fine? ?
New Kernel for OOS, amazing, i try this
thx a lot
Nice that you asked me whether you could use my mod... And not even thank me....
RogerF81 said:
Nice that you asked me whether you could use my mod... And not even thank me....
Click to expand...
Click to collapse
Sorry, I forgot. The thread will be updated
Im_Mattgame said:
Compatible with Magisk? If so dirty flash followed by Magisk fine?
Click to expand...
Click to collapse
Yes, you can flash Magisk after flashing Affinity Kernel
Nice I'm going to test it.
Added to the OnePlus 5 Index Thread here.
Affinity Kernel r2 is up!
This build includes just some small changes, mainly new IO schedulers and governors
Here's the changelog:
Enabled all TCP congestion algorithms (westwood is still default)
Enabled full support for Xbox gamepad
Added new IO schedulers:
SIO
ZEN
FIOPS
Added new governor - blu_active
Set Maple IO scheduler as default
Use the same input_boost values as Pixel 2
You can get it HERE
Dash charge doesn't work on r1.
obol2 said:
Dash charge doesn't work on r1.
Click to expand...
Click to collapse
Works for me on both r1 and r2
obol2 said:
Dash charge doesn't work on r1.
Click to expand...
Click to collapse
everything works great!
Khaos said:
Yes, you can flash Magisk after flashing Affinity Kernel
Click to expand...
Click to collapse
So if Magisk is already installed, do you have to flash magisk again after flashing kernel or do you have to uninstall/reinstall after Affinity?
Thanks
bigjailerman said:
So if Magisk is already installed, do you have to flash magisk again after flashing kernel or do you have to uninstall/reinstall after Affinity?
Thanks
Click to expand...
Click to collapse
Nope, you don't have to reflash Magisk after installing Affinity
Thanks for fast reply!!
new kernel! i try it
Affinity Kernel r3 is up!
Here's the changelog:
Upstreamed to Linux Kernel 4.4.159
Added Backlight Dimmer
You can get it HERE
with r3 my phone reboot alone
gege0202 said:
with r3 my phone reboot alone
Click to expand...
Click to collapse
What do you mean ? Does it not boot ? Or does it go in a loop ? Does it give you a blue led black screen ?
Please be more specific
Thanks for your work. I'm using this kernel with Oneplus 5T OB17 and works great.
Code:
/*
* Your warranty is no longer valid, unless you lie.
*
* I am not liable for bricked devices, strained relationships,
* thermonuclear war, or you losing your job because the alarm app failed. If
* you have any concerns about the features included in this kernel, please do some
* research before flashing it! You have chosen to make these changes, and
* if you blame me for breaking your device, I will laugh at you.
*
*/
Biofrost Kernel is a custom kernel for the Realme 5 series that strives for as close to a stock experience as possible, with stability updates and overall improvements in multitasking performance and power efficiency. This kernel is not intended to be customized by users due to its preconfigured settings.
Main Features
• Trimmed down realme code imports (improves security and performance)
• Latest bleeding-edge clang (AOSP, Neutron) compilation
• Optimized with POLLY, RELR, O3, and CPU-specific micro-optimizations
• Simple LMK for improved memory management
• Optimized CPU Frequency and Energy model for performance and battery life
• WALT scheduling mechanism with backports from RenderBroken and CAF
• Utilization Clamping (UtilClamp/Uclamp) support with backports and optimizations
• In-kernel CPU and DDR Bus boosting drivers by kerneltoast
• Updated swap setup with zswap + vbswap as a replacement for zram
• Backported zsmalloc memory allocator from mainline
• Optimized and improved LZ4 as default compression/decompression algorithm
• FUSE Passthrough Support from mainline
• WireGuard, a next generation secure VPN tunnel
• And more (for additional information, you can check the kernel source code below.)
Downloads
- GitHub Releases
Bug reports
- Join the telegram group and provide information (needs to be reproduceable + logcat/dmesg)
Installation Instructions
- Flash the kernel through Custom Recoveries (TWRP, PBRP) or Franco Kernel Manager (FKM)
Additional Information
For early releases (Bleeding Edge builds/OBT) join our telegram group!
Credits
- cyberknight777, kerneltoast and others for their helpful commits
- osm0sis for AnyKernel3
- Many other more (for more details, you can check the kernel source.)
Contributors
Shiroyuki82 | xevan
Source Code: GitHub
Version Information
Status: Stable (R10)
Created: 2023-02-01
Last Updated: 2023-06-19
Reserved
Its amazing everything works fluid and battery backup is also good using the R9 version with PE+ rom
[061923] Post updated: R10 is pushed!