[KERNEL] [KK|LP] TheBeast [01-DEC-2015] - Xiaomi Redmi 1S

{
"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 <std_disclaimer.h>
/*
* 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.
*
*/
FEATURES OF BEAST :
- Compiled with Linaro GCC 4.9 Toolchain @Christopher83
- 4 HOTPLUGS : MPDECISION/MSM HOTPLUG/BRICKED HOTPLUG/ALUCARD HOTPLUG @myfluxi & @neobuddy & @alucard24 & @showp1984
- 18 GOVERNORS : ALUCARD/ABYSSPLUGV2/ADAPTIVE/DARKNESS/IMPULSE/LIONHEART/NIGHTMARE/PEGASUSQ/ZZMOOVE ETC CPU Governors
- CUSTOM MSM THERMAL CONTROL @franciscofranco
- DT2W @thewisenerd
- New KCAL COLOR CONTROL DRIVERS @savoca
- ADRENO IDLER 1.1 @arter97
- FAUX SOUND CONTROL
- MULTIROM SUPPORT
- GPU @ 550mhz
- UPDATED CPU BOOST @neobuddy89
- FAST CHARGE
- CPU UNDERCLOCK
- MSM_CPUFREQ/CONSERVATIVE/MSM-ADRENO/SIMPLE_ONDEMAND ETC ETC GPU Governors
- BFQ/SIO/FIOPS/Zen IO Schedulers
- POWER EFFICIENT WORKQUEUE
- VIBRATE INTENSITY CONTROL
- NEON SUPPORT
- USB KEYBOARD/MOUSE SUPPORT
- OPTIMIZED AES AND SHA1 ROUTINES
- NEON ACCELERATED XOR IMPLEMENTATION
- NEW TCP CONGESTION CONTROL (Westwood, Yeah, Veno, Vegas, SCALABLE, LP etc)
And Much More...Check My Source For Details Features
Download Link :
The Beast Kernel
Mirror Link
HOW TO INSTALL :
BOOT IN RECOVERY
FLASH THE STOCK BOOT.IMG (Important) (confused read this)
WIPE CACHE (Optional)
WIPE DALVIK CACHE (Optional)
FLASH KERNEL
REBOOT AND ENJOY!
CREDITS AND SPECIAL THANKS TO :
@fefifofum @Kra1o5 @rebelos @Khan_frd2002 @YoshiShaPow @Klozz @ak
@franciscofranco @neobuddy @showp1984 @alucard24 @faux123 @RenderBroken
@desalesouche @fermasia @Bhu1 @frap129 @thewisenerd @hurtsky
@Cl3Kener @savoca @Blechd0se @REV3NT3CH @engstk @rebelos @dipanjanforever
@BATVIC @cheeze.keyk @tanaymondal @sherry_94 @ashishranjan738
@GuthrieGovan @JeGuina @teddy0804 @tanaymondal @gkvidhu1979
@unkown rockstar @atifjay @ rajanj1996 @vijay480 @SaberMod @XDA @Xaiomi
thanks a lot guys....without you this is not possible​
XDA:DevDB Information
Beast Kernel , Kernel for the Xiaomi Redmi 1S
Contributors
Luffy.d, YoshiShaPow, Armani Devs,Khan_frd2002,fermasia
Source Code: https://github.com/LuffyXDA/kernel_xiaomi_armani
Kernel Special Features: alucard_hotplug,msm_hotplug,bricked_hotplug,kcal,dt2w,s2w,smoothness,battery and last but the main thing performance
Version Information
Status: Stable
Current Stable Version: v7
Stable Release Date: 2015-12-01
Created 2015-01-10
Last Updated 2015-12-01

Reserved
Change-Log :
BK_v1.0
Code:
[SIZE="2"]initial release
compile with sabermod
add some governors & IO
check source for more[/SIZE]
BK_v1.1
Code:
[SIZE="2"]Merge with armani devs source for better compatibility with rom
removed intillidemand governor
add new 4 governors :
ondemandplus/optimax/smartmax/wheatley Governors
Added Faux Sound..
Enable USB Fast Charge
GPU Optimize & OC at 550mhz
Add Neon Support
Add vibrate Intensity Control
Much More..[/SIZE].
BK_v1.2
Code:
[SIZE="2"]Upstream to 3.4.5
Added Intelli_plug and Intelli_thermal v2 Thanks to Faux123
Added Display Control Drivers
Added Fixes from Armani Devs
Optimize The Kernel Little now enjoy more smoothness
much more[/SIZE]
BK_v1.3
Code:
[SIZE="2"]Upstream to 3.4.75
Fix Intili_plug now working perfectly
Fit Intilli_thermal
Added Intilliactive Governor
O3 and Some Other Optimization
UKSM
Update USB fast Charge Drivers
More Smoother and Snappier
and much much more[/SIZE]
BK_v2.1
Code:
[SIZE="2"]Compile With New KK Base Thanks to @fefifofum @Kra1o5 @rebelos
Compiled with Linaro GCC 4.9 2015 (Cross Compiler Cortex A7) thanks to @Christopher83
Added MSM Hotplug thanks to @myfluxi @neobuddy
intilliactive/intillimm added
BFQ/SIO/FIOPS/Zen IO Schedulers added
Underclock CPU
Dynamic Fsync control Added
exFat Support Added
Enable 12 New TCP Congestion controls
Added vnswap/frontswap/zswap thanks @faux123
the list is goes on check [URL="https://github.com/LuffyXDA/android_kernel_xiaomi_armani/commits/cm-11.0"]my source[/URL] for more[/SIZE]
BK_v2[R16/Mokee]
Code:
[SIZE="2"]Back to 3.4.0 from 3.4.75
compiled with SaberNano toolchain thanks to @frap129
vibration intensity fix thanks to @kairi_zeroblade
Async Fsync from HTC
Dynamic Fsync control Added
exFat Support Added
Added and use csnappy compression
ofast and cortex a7 optimization
Removed intilli-thermal
Removed fast charge
Added and use csnappy compression thanks to zeevt
And lots of patches and other changes added from falcon,hammerhead
And lots more...check [URL="https://github.com/LuffyXDA/BeastKernel_Armani/commits/cm-11.0-old"]my source[/URL] for details features[/SIZE]
BK_v2.2
Code:
[SIZE="2"]Sync with CM R22
update MSM Hotplug driver
removed intilliactive/intillimm for now
Added 11 New Governor
Added kernel support for USB keyboard/mouse
Overall Stats (for better stats of core)
Add optimized AES and SHA1 routines
overclock slimbus (for better audio quality)
Add NEON support for kernel
add NEON accelerated XOR implementation
Add Powersuspend drivers
Some optimization
the list is goes on check [URL="https://github.com/LuffyXDA/android_kernel_xiaomi_armani/commits/cm-11.0"]my source[/URL] for more[/SIZE]
BK_v2.3[KK]
Code:
[SIZE="2"]Sync with latest armani dev changes
Fix Smartass and Add Lagfree Governors
Added S2W && DT2W thanks to @thewisenerd
New KCAL Drivers added (my favorite) thanks to @savoca
Update PowerSuspend drivers
Enable NTFS support
Added MSM CPUFREQ Limiter
[/SIZE]
BK_RC2[L]
Code:
[SIZE="2"]Compile from armani-dev cm-12.0 source
Everything from scratch
Added Both MSM_HOTPLUG and ALUCARD_HOTPLUG @myfluxi @neobuddy @alucard24
Added S2W && DT2W thanks to @thewisenerd
Added 9 New Governors (Alucard,Adaptive,Abyssplugv2,Darkness etc etc)
All the thing in Features @OP
some misc optimization
[/SIZE]
BK_RC3[L]
Code:
[SIZE="2"]Sync with latest armani-dev CM-12.1 changes
TCP CONG is back
Enable unaligned memory access
Added optimized ARM RWSEM algorithm @Ezekeel
Update LZO compression to current upstream version …@faux123
Some SELinux changes
add support for gcc 5/6 toolchain
wake_helpers patches @thewisenerd
some misc changes...
check my source for details feature i am no good in writing :p
[/SIZE]
BK_RC4[L]
Code:
[SIZE="2"]Sync with latest armani-dev CM-12.1 changes
Bricked Hotplug Added @neobuddy &showp1984
Added fast charge option @anarkia1976 ( now charge your phone bit fast ;) )
Simple GPU Algorithm Added @ faux123
improve fairness efficiency
Update min-default GPU frequency to be 200MHz
added userspace knobs for users to filter some common excessive wakelocks @franciscofranco
some more changes...
check my source for details feature i am no good in writing :p
BK_RC5[L]
Code:
[SIZE="2"]Rebase with Rebelos Source (so all the SlimL kernel changes are here)
Compile with Linaro 5.1 Toolchain
New Hotplug added AutoSMP (enable by default)
Custom msm_thermal added by @franciscofranco
dt2w removed (cuz new dt2w is coming by thewisenerd)
GPU OC is back
Added Some New Govs : zzmoove/hellsactive/optimax/impulse/yankactive
Some kernel Optimization
some more changes...
check my source for details feature i am no good in writing :p
[/SIZE]
BK_v3[KK]
Code:
[SIZE="2"]Sync with latest armani dev changes
removed Smartass and Lagfree Governors
Added Alucard Hotplug
Remove msm_hotplug
added Dynamic management of dirty page writebacks @Christopher83
Added Darkness Gov
update conservative gov (become my favorite now)
added msm: memutils: memcpy, memmove, copy_page optimization
and some misc changes
[/SIZE]
BK_RC6[L]
Code:
[SIZE="2"]Back to Armani-dev Source
Compile with UBER 5.1 Toolchain
Fuax Sound Added
dt2w is back again ( plz note : touch freeze is still there so don't enable dt2w at boot)
ondemand patches from @myfluxi
optimize zzmoove @hurtsky
check my source for details feature i am no good in writing :p
[/SIZE]
BK_v5
Code:
Compiled With latest Linaro GCC 4.9 @Christopher83
Now Support Both Rom's cm-11 & cm-12.1 in single kernel
Adreno_idler 1.1 @arter97
4 Hotplugs Now : mpdecisin,msm_hotplug,bricked_hotplug,alucard_hotplug
all cm-12.1 changes and BeastL changes for cm11 user
update cpu-boost @neobuddy &@ak
removed Simple GPU Algorithm
removed dynamic sync control
and some more changes.....check my commit for more details
[/SIZE]
BK_v6
Code:
Sync with Armani-Dev Source
MultiRom Support
Update Hotplug's
Add Custom Script thanks to @RenderBroken
Tune build flags @neobuddy89
update Kcal
update msm_thermal
Some Misc Changes
and little more changes.....check [URL="https://github.com/LuffyXDA/android_kernel_xiaomi_armani/commits/cm"]my commit[/URL] for more details[/SIZE]
BK_v7
Code:
Based on new kk source (armani-dec cm-12.1-clean branch)
Most of Beast v6 feature but not all
enable Intelli hotplug and disable Msm Hotplug
So now Beast have Intelli/Bricked/Alucard Hotplug
Update Alucard Hotplug to latest
Add MSM limiter
Remove Faux sound
Remove some Governors
Remove Savoca Kcal
Dt2w only for ft5x06 touch, sorry other dont worry will add in next build
Update State Notifier to latest (Hope no SOD)
Two New Governor : Intelliactive/smartmax
and i didn't tuned the cpu gov much let me know which one need tuning
Cpufreq optimization from ak & neo
and other upstream changes
and little mores.....check [URL="https://github.com/LuffyXDA/android_kernel_xiaomi_armani/commits/cm"]my commit[/URL] for more details[/SIZE]

Test Builds
Test Builds
How To ​
Native D2W :
There are two ways by which i enable/disable Native D2W
1. By using Terminal Emulator
2. By using Root Explorer
Terminal Emulator :
to enable
echo 1 > /sys/bus/i2c/drivers/ft5x06_i2c/5-0038/d2w_switch
to disable
echo 0 > /sys/bus/i2c/drivers/ft5x06_i2c/5-0038/d2w_switch
Root Explorer
Go to sys/bus/i2c/drivers/ft5x06_i2c/5-0038
Open " d2w_switch" file as text editor
then just changed : 1 to enable and 0 to disable
Hope this Help You All :good:

Faqs
Q. Did BeastKernel Works on All Roms?
A. Yes, From Beast v7 it will work on all roms except MM for now
Q.There are two BeastKernel Which one Should i Install? And Which one is for cm11 or cm12.1 or Miui
A.TheBeast-vX-CM.zip is for both CM11/12.1 and TheBeast-vX-Miui.zip is for Miui
Q. The BeastKernel Have soo many feature but i dont know how to use them or change them...
A. Use Kernel Adiutor App
Q. I am on another awesome kernel and i want to try beast can i flash over
A. No!!!, you can flash beast over any other kernel except stock. So if you are on any other kernel then flash stock kernel or dirty flash the rom then install the beast
Q. I Install the Rom but XYZ not working !! what should i do please help
A. First try to read some previous post and see other are getting the same issue if not then do a clean flash or dirty flash even not work then post here or pm me...i will be happy to help you

Hi, are you compiling a dt.img, or are you using the prebuilt dt.img? If the former, what's the size of your obtained dt.img?

thewisenerd said:
Hi, are you compiling a dt.img, or are you using the prebuilt dt.img? If the former, what's the size of your obtained dt.img?
Click to expand...
Click to collapse
yes i m using compile dt.img.....
edit : size is 4.9 mb

Will the kernel work on any build of cm11 ex( r13,r14,r15)?
Sent from my HM 1S using Tapatalk

Snapdragon815 said:
Will the kernel work on any build of cm11 ex( r13,r14,r15)?
Sent from my HM 1S using Tapatalk
Click to expand...
Click to collapse
no only on latest cm r15.....

Luffy.d said:
no only on latest cm r15.....
Click to expand...
Click to collapse
Is there any chance in near future to get it for R14...?
Sent from my HM 1S using Tapatalk

Snapdragon815 said:
Is there any chance in near future to get it for R14...?
Sent from my HM 1S using Tapatalk
Click to expand...
Click to collapse
no because the older cm use prebuilt kernel.....so any compile kernel wont work for older cm

What are the features of beast kernel?

sinnerz2000 said:
What are the features of beast kernel?
Click to expand...
Click to collapse
for now not much it just the initial release....
check changelog or the commits of my source for more details.....

Great Work Buddy....

khan_frd2002 said:
Great Work Buddy....
Click to expand...
Click to collapse
great work,bro..........Hoping this kernel will coming with best features for our device in the near future...................

Will yu make it compatible with late Carbon rom?

dixan43 said:
Will yu make it compatible with late Carbon rom?
Click to expand...
Click to collapse
no buddy it wont work on any old rom.....
still i will give it a one try.....are you on carbon?
if yes then pm me

Glad to see another kernel :good:

new build is added at op for old cm & cm based rom.....anyone can test and report back
check op for download link or here

Luffy.d said:
new build is added at op for old cm & cm based rom.....anyone can test and report back
check op for download link or here
Click to expand...
Click to collapse
Flashed over Carbon ROM RC5. Booted up and then just shows a blank screen with the Mi logo.
Screen turns on and off, I can hear the volume being adjusted, but that's all.
Reflashed original ROM and all is back to normal.
Thanks for continued development.
Peace.

Please implement OC/OV function.

Related

Stock | 5.0.2 | Linaro | 6th Sep | StellarKernel-v5.2 | Exp D2W/S2W --> 6th Sep

{
"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"
}
For experimental builds with D2W/S2W see post #3. ENJOY !!!
Presenting before you "Stellar Kernel" - the most feature rich stock kernel for M0to G 2014. Experience stellar features, stellar performance and stellar battery life combined with stellar stability.
Since there are so many kernels for custom roms, and none for stock, I decided to make one. I will keep updating this kernel with many features! Feel free to request for features. I will try to port as much feature as i can from CM Lollipop kernels.
This kernel is guaranteed to bring the best out of your phone . Enjoy !!!
NOTE :-
This kernel is ONLY MEANT FOR STOCK ROMS & NOT FOR CM12/12.1 based ROMs.
DISCLAIMER :-
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 simply laugh at you.
*/
FEATURES :-
(please download the latest version to get all of the mentioned features)
Based on stock lollipop kernel for Moto G 2014
Compiled using Linaro Toolchain 4.9.3 optimized for ARM
Fully Compatible with Xposed
Any Kernel script used
Kexc Hardboot patched
Built with Ofast flags
Added strict_aliasing & modulo_sched flags
CPU UC to 96 MHz
GPU OC to 533 MHz & UC to 100 MHz
RAM OC to 566 MHz
Disabled PowerHal log spam (thanks to @attack11)
Faux Sound Control v3.2
Headset in high performance profile
24 bit audio support
Low latency audio playback
Slimbus overclocking for superior audio quality
Ultrasound & ASoC : qdspv2 tweaks (see GitHub)
Readahead set to 256
Set sched_mc_power_savings to 2
NVIDEA Power efficient patches
Optimized slub memory allocator
Optimize Sfck Compression
Sched Tweaks (see GitHub)
Add Frandom
Power effecient work queues enabled by default
Reclaim RAM from loggers, increasing default ram to 883 Mb
Disable gentle_fair_sleepers for increased I/O
Enable unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
Many tick, clockevents & timer tweaks (see GitHub)
Lower swappiness
Ability to use your device as USB Keyboard / Mouse (use this apphttps://play.google.com/store/apps/details?id=remote.hid.keyboard.client&hl=en)
Stereo call record support (use this apphttps://play.google.com/store/apps/details?id=com.boldbeast.recorder&hl=enhttps://play.google.com/store/apps/details?id=com.boldbeast.recorder&hl=enhttps://play.google.com/store/apps/details?id=com.boldbeast.recorder&hl=en ONLY with root mode ON)
Increase torch power by 20mA
psx2usb
KCAL v2 by Savoca
Added simple GPU Algorithm
GPU tweaks (see GitHub)
Dynamic FSync
Intellithermal v2
Added LCD notifier driver
Enabled quick wakeup
NOATIME and NODIRATIME as default
NEON kernel mode
Ex-FAT support
SE Linux tweaks
USB Fast Charge v2
Random / entropy tweaks
[*]CPU Governors :-
intelimm, intellidemand, intelliactive, smartmax, pegasusq, conservative, ondemand, userspace, powersave, performance, interactive, alucard, impulse, ondemandplus, wheatley, yankactive, nightmare, HYPER, darkness, zzmoove.
[*]CPU Hotplugs :-
Intelliplug, Alucard Hotplug, MSM Hotplug, mp-decision, Bricked Hotplug.
[*]GPU Governors :-
msm-cpuferq, msm-adreno-tz, userspace, powersave, performance, simple_ondemand.
[*]IO Schedulers :-
fiops, vr, zen, sio, bfq, cfq, row, deadline, noop, tripndroid.
[*]TCP Congestions :-
westwood, cubic, reno, hstcp, hybla, vegas, veno, scalable, lp, yeah, illinois, hctp, advanced, highspeed.
CHANGELOG:-
Code:
--------17/04/2015-----------v1.0--->
[LIST]
[*]Initial Build
[/LIST]
---------18/04/2015----------v1.1--->
[LIST]
[*] Add Kexec Hardboot
[*]Add Stereo Call recording support
[*]Increase Torch power to 20mA
[*]Enable Slimbus overclocking for superior audio quality
[*]Force SELinux Permissive
[*]Add Custom Vibrator Intensity
[/LIST]
---------20/04/2015----------v1.2--->
[LIST]
[*]Remove Power Torch inc by 20ma
[*]Remove SELinux always Permissive
[*]Remove custom vibrator support
[*]Add KCAL v2
[*]Add Intelliplug
[*]Add NVIDEA Patches
[*]Add psx2usb
[*]Add Frandom
[/LIST]
---------21/04/2015----------v2.0--->
[LIST]
[*]Add Custom Vibrator
[*]Increase Torch Power
[*]Add many IO Schedulers
[*]Enabled Pipe flags
[*]Many other optimizations.....
[/LIST]
---------24/04/2015----------v2.1--->
[LIST]
[*]Add many CPU Governers
[*]Add many TCP Congestions
[*]Add Intellithermal v2
[*]Add support to use device as USB Keyboard/Mouse
[*]Enable KSM
[*]Add Graphite Flags
[/LIST]
---------28/04/2015----------v2.2--->
[LIST]
[*]Optimize PEWqs system-wide
[*]Add Powersuspend
[*]Add Dynamic FSync
[*]Revamped spinlock ASM code
[*]Set readahead to 256
[*]Set mc_power savings to 2
[*]Optimize sfck compression
[*]Enable Headset in HPP
[*]Many other optimizations.....
[/LIST]
---------02/05/2015----------v3.0--->
[LIST]
[*]Add MSM-Hotplug
[*]Add new CPU Gov :- alucard
[*]Disable gentle fair sleepers
[*]Enable arch power
[*]Cleaned up some dead code
[*]Other CPU optimizations.....
[/LIST]
---------07/05/2015----------v3.1--->
[LIST]
[*]SE Linux tweaks
[*]Enable UNALIGNED_ACCESS
[*]Time & clock tweaks
[*]Entropy tweaks
[*]Disable crc check for 30% extra performance in IO
[*]Many-many more tweaks......check my github commits for full changelog
[/LIST]
---------27/05/2015----------v3.2--->
[LIST]
[*]Fix Kexec Hardboot
[*]MSM Hotplug tweaks
[*]Add exFAT support
[*]New GPU Governor added : conservative
[*]Added lcd_notifier
[*]Many GPU tweaks
[/LIST]
---------30/05/2015----------v4.0--->
[LIST]
[*]Added 8 new cpu govs : impulse, ondemandplus, wheatley, yankactive, nightmare, HYPER, darkness, zzmoove.
[*]Low latency for superior audio
[*]Other tweaks and changes.
[/LIST]
---------20/06/2015----------v4.1--->
[LIST]
[*]Updated with latest Motorola's sources
[*]CPU UC to 96MHz
[*]GPU OC to 533MHz & UC to 100MHz
[/LIST]
---------03/07/2015----------v5.0--->
[LIST]
[*]Overclock RAM to 566 MHz
[*]Enable kernel_neon mode
[*]Add strict_aliasing & modulo_sched flags
[*]msm kgsl tweaks
[*]msm:ultrasound tweaks
[*]msm:vibrator handle out of range properly
[*]qdspv2 tweaks
[*]CHROMIUM:fix calculation of dirty memory
[*]Use power eff. wqs. for bam_dmux
[*]And many more...(see GitHub)
[/LIST]
---------25/07/2015----------v5.1--->
[LIST]
[*]Add Alucard Hotplug
[*]Add Bricked Hotplug
[/LIST]
---------06/09/2015----------v5.2--->
[LIST]
[*]Update zzmoove to v1.0_beta-8
[*]Merged latest Moto source updates
[/LIST]
MULTIROM/KEXEC HARDBOOT :-
Thia feature is ONLY available on v2.0, v2.1 and from v3.2 onwards.
i . e . from v2.2 to v3.1 DOES NOT support Multiboot. Trying out these versions with multirom will result in unexpected behaviour.
DOWNLOADS :-
(do not mirror my links)
Latest Version
Older Versions
INSTALLING:-
Reboot into recovery.
Make a nandroid BackUp.
Select Install zip from SD Card.
Select the Downloaded zip.
Then Reboot to System.
KNOWN ISSUES :-
Battery shows charging even on disconnection of the charger.
Solution :-
This issue, as I have noticed is caused due to enabling of USB fast charge. I noticed this on few cm roms too. After having charged, disconnect the charger, disable USB fast charge, reconnect charger and disconnect again. This should solve the issue. You can re-enable fast charge again !
ELSE :- You can also try this great fix suggested by @wernerml.
RECOMMENDED SETTINGS :-
See Post #2.
BUG REPORTS :-
While submitting a bug report be sure of mentioning the following things :-
ROM
Kernel Version
Whether using Xposed or not
A Logcat
Preferably a screenshot
Bug reports NOT meeting these criteria will be ignored.
RECOMMENDED APPS FOR KERNEL TWEAKING :-
Kernel Adiutor
Faux123 Kernel Enhancement Pro
Trickster Mod
Synapse
CREDITS:-
I would specially like to thank @Thecrazyskull for his extended support in development of this kernel.
Others whose help I took :-
~~Google
~~Motorola for kernel sources
~~Luk & Luca -for various fixes
~~Thecrazyskull DC07 & PizzaDox -for cherry-picks
~~Faux123
~~Savoca
~~YoshiShaPow
~~attack11
~~many more.......
Please don't start a war here if I forgot to mention someone. PM me and I will add him.
XDA:DevDB Information
StellarKernel, Kernel for the Moto G 2014
Contributors
zakee94
Source Code: https://github.com/zakee94/stellar_msm8226
Kernel Special Features: Kexec, Intelliplug, KCAL, Faux Sound, USB Fast Charge, Intellithermal, D2W/S2W
Version Information
Status: Stable
Current Stable Version: 5.2
Stable Release Date: 2015-09-06
Created 2015-04-17
Last Updated 2015-09-06
Experimental Builds
EXPERIMENTAL BUILDS with D2W/S2W​Presenting before you the experimental builds of Stellar Kernel with D2W/S2W support! Enjoy these builds but be aware that you might face some issues, so be sure of reporting them back so that they can be improved in further builds. ENJOY !!!
WHY EXPERIMENTAL ?
The reason behind making these builds "experimental" is simply because D2W/S2W is not yet fully compatible with our device. They cause occasional freezes and touch issues and bring down the overall performance. Hence, until serious work is done on making D2W/S2W compatible, these builds will remain experimental and WILL NOT be merged with stable builds.
PLEASE NOTE THAT :-
D2W/S2W is NOT compatible with all models of this phone.
It supports only the following display types :-
mdss_dsi_mot_inx_720p_video_v0
It DOES NOT support the following display types :-
mdss_dsi_mot_jdi_720p_video_v1
mdss_dsi_mot_jdi_720p_video_v0
To check which display type you have by going into terminal and type :-
Code:
su
cat /proc/cmdline
FEATURES :-
All features of the LATEST stable build
D2W/S2W
Sweep2Sleep- bidirectional support
DOWNLOADS :-
Latest Version
Older Versions
CHANGELOG :-
Code:
--------02/05/2015-----------v1.0--->
[LIST]
[*]Initial Build based on stable v3.0 build
[/LIST]
--------03/05/2015-----------v2.0--->
[LIST]
[*]Tried fixing d2w/s2w
[/LIST]
--------07/05/2015-----------v3.0--->
[LIST]
[*]Build based on stable v3.1
[*]Optimized d2w/s2w
[/LIST]
--------03/07/2015-----------v4.0--->
[LIST]
[*]Build based on stable v5.0
[*]Added lcd_notifier driver
[/LIST]
--------03/07/2015-----------v5.0--->
[LIST]
[*]Build based on stable v5.1
[/LIST]
--------02/05/2015-----------v6.0--->
[LIST]
[*]Build based on stable v5.2 build
[/LIST]
DO REPORT BUGS (Read Carefully) :-
The reason I am asking you to do so is because I DO NOT have a "mdss_dsi_mot_inx_720p_video_v0" display.
Therefore I CANNOT TEST ANY OF THESE BUILDS. If you want further support on these build DO TEST and REPORT.
Recommended Settings
RECOMMENDED SETTINGS​
Below listed are the recommended settings for the StellarKernel. The settings are such that they give a balance between performance and powersave. However you can always tweak the settings according to your need and wish. But be careful that you do not over tweak or play with settings you don't know. Please do a lot of research before playing with your expensive hardware ! Enjoy !!!
Read this AWESOME GUIDE by @gsstudios befor heading over to any settings.
CPU :-
Max Freq :- 1190MHz
Min Freq :- 96MHz
Governor :-
As you wish ! However read this awesome guide before messing with the govs.
My personal favourites :- HYPER / interactive / impulse.
CPU Hotplug :-
MP Decision :- off
IntelliPlug :- on
Touch Boost :- on
Hysteresis Value :- 7 or 8
Screen off freq. :- Disabled
GPU :-
Governor :- msm-adreno-tz
Simple GPU Algorithm :- on
Laziness :- 4
Ramp Thresold :- 6
GPU Max freq. :- 533MHz
Screen :-
As you wish !
Sound :-
As you wish ! Generally recommended to increase gain on all sides.
Battery :-
Throttling :- on
Throttle freq. :- 787
USB FastCharge :- As you wish !
I/O Scheduler :-
zen/noop :- for both emmc & sd
Read Ahead :- 128kB
Entropy :- off
KSM :-
Recommended disabled. Enable at you own RISK. If enabled you MAY NOT BE ABLE TO SAVE PHOTOS TAKEN FROM THE CAMERA.
However if you want to Enable use following settings :-
Pages to scan :- 200 to 300
Activation Threshold :- 24
Cycles per Activation :- 3
Scan delay interval :- 300
Virtual Memory :-
Z-RAM :- on
swapiness :- 55
vfs cache pressure :- 120
dirty ratio :- 20
background ratio :- 5
Thermal :-
Intellithermal :- on
Core Control :- on
VDD Restriction :- on
Freq Throttle Temp :- 63.0C/145.4F
Core Throttle Temp :- 77.0C/170.6F
Poll :- 250ms
Others :-
TCP Congestion :- westwood / vegas / veno
SE Linux :- permissive
Powersuspend :- hybrid
Dynamic FSync :- on
Hint :-
Turn off WiFi when not in use to even BOOST UP the battery life.
NOTE :-
Options not mentioned in these recommended settings are NOT meant to be touched and should be left the way it is.
nice to see some solid features in here
edit
Can you add kexec hardboot patch, if you want, pm me and ill send you the commits, cause alot of people want to dual boot lets say Titan Prime and 5.1 CM, stuff like that, so maybe add kexec, since this will be the first kernel to have that
Booted and i can confirm that everything working fine :thumbup:nice work OP
Now this made my day.
Thank you for doing what it really needed to be done.
Nice to see a Stock Kernel thank you
Is it possible in near or far future to add Stereo call recording support by skvalex?
THIS along with a Star Wars Teaser for a Movie AND a Game in a single day, I'm fulfilled, I can now die in peace, thank you :') .
You can add kcal? Pls
kexec patch would be a great contribution, any ways ill try this kernel thanks
Run great in titan prime
Can you compile kernel with selinux permissive for xprivacy to xposed framework ? Thanks
This is beautiful, finally someone doing some justice to Stock Lollipop. Hope to see more Spirit Kernel features into this.
Sent from my Moto G 2014 using XDA Free mobile app
Lynse said:
This is beautiful, finally someone doing some justice to Stock Lollipop. Hope to see more Spirit Kernel features into this.
Sent from my Moto G 2014 using XDA Free mobile app
Click to expand...
Click to collapse
I am almost done with a stock kernel called "TP Kernel"....I will release it in a few days....Working on fixing random-reboot issues
Shawn5162 said:
I am almost done with a stock kernel called "TP Kernel"....I will release it in a few days....Working on fixing random-reboot issues
Click to expand...
Click to collapse
Awesome! BTW Don't forget to add the kexec hardboot patch lol
Sent from my Paranoid Android
Pizza_Dox said:
Awesome! BTW Don't forget to add the kexec hardboot patch lol
Sent from my Paranoid Android
Click to expand...
Click to collapse
LOL...I won't
Pizza_Dox said:
nice to see some solid features in here
edit
Can you add kexec hardboot patch, if you want, pm me and ill send you the commits, cause alot of people want to dual boot lets say Titan Prime and 5.1 CM, stuff like that, so maybe add kexec, since this will be the first kernel to have that
Click to expand...
Click to collapse
Sure I will ! Please give me the commits.....
lojpek said:
Can you compile kernel with selinux permissive for xprivacy to xposed framework ? Thanks
Click to expand...
Click to collapse
Comming up in next build......
maxniper said:
Nice to see a Stock Kernel thank you
Is it possible in near or far future to add Stereo call recording support by skvalex?
Click to expand...
Click to collapse
Already added ! Comming up in next build..........
Update to v1.1 is live......!!!
This update has KEXEC Hardboot, Stereo Call recording and much more......!!!
Enjoy!!!
PLEASE READ UPDATING INSTRUCTIONS CAREFULLY.

KERNEL | Nougat CM / AOSP | 7th Jan | HalogenKernel R31 | UBER | 3.4.42

{
"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"
}
EXPERIENCE HALOGEN | EXPERIENCE AWESOMENESS​
For Changelogs please see POST #2.
For FAQ please see POST #3.
DISCLAIMER :-​
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 simply laugh at you.
*/
NOTE :-​This kernel is ONLY meant for AOSP/CM ROMs.
This IS NOT MEANT for STOCK ROMs.
Upto R14 Kernel supports Lollipop.
From R15 onwards Kernel supports ONLY Marshmallow.
From R18 onwards Kernel supports Doze + Marshmallow.
From R30 onwards Kernel supports ONLY Nougat.
WHAT IS THIS KERNEL ?​This kernel is built especially for these 3 things :- 1. Audio, 2. Performance, 3. Battery Life.
The main aim of halogen is to bring performance without compromising stability & battery. And that is what I intend to do. Go ahead and try this kernel, and it should make your device much better.
FEATURES :-​(features of ONLY the latest version is mentioned)​
Based on Linux Kernel 3.4.42
Updated with the latest CM14.1 sources
Built with UBER Toolchain GCC-4.9
Any Kernel 2 script used
Kexc Hardboot patched
Built with optimization flags for enhanced performance
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam (thanks to @attack11)
Faux Sound Control v3.5
Headset in high performance profile
Slimbus overclocking for superior audio quality
Enabled CPU boost
Add Frandom
Power effecient work queues enabled by default
Reclaim RAM from loggers
Disable gentle_fair_sleepers for increased I/O
Enable advanced unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
intelliactive, intellidemand, zzmoove cpu governors
intelliplug v4.0 cpu hotplug
enabled advanced tcp congestions
Ability to use your device as USB Keyboard / Mouse
Stereo call record support
psx2usb
KCAL v2 by Savoca
Dynamic FSync
Added optimized square root algorithm
Added optimized ARM_RWSEM algorithm
NEON kernel mode
Ex-FAT support
LONG TERM SUPPORT :-​
This kernel will be supported for a long time with updates directly streamed from CM kernel sources i . e . as long as CM keeps publishing updates to its base, this kernel will also be updated.
DOWNLOADS :-​(do not mirror my links)​[ Latest Version ]​[ Older Versions ]​
INSTALLATION INSTRUCTIONS :-​
Reboot into recovery.
Make a nandroid BackUp.
Select Install zip from SD Card.
Select the Downloaded zip.
Then Reboot to System.
Leave your phone untouched for 2-3 minutes after first reboot to allow the kernel to spread it's wings.
RECOMMENDED APPS FOR KERNEL TWEAKING :-​
Kernel Adiutor
Faux123 Kernel Enhancement Pro
I do not support any other apps.
CREDITS:-​~~Google
~~Motorola for kernel sources
~~Flashhhh
~~hurtsky
~~Luk & Luca -for various fixes
~~Thecrazyskull, DC07 -for cherry-picks
~~Faux123
~~Savoca
~~YoshiShaPow
~~attack11
~~many more.......
Please don't start a war here if I forgot to mention someone. PM me and I will add him / her.
XDA:DevDB Information
HalogenKernel, Kernel for the Moto G 2014
Contributors
zakee94
Source Code: https://github.com/zakee94/halogen_kernel/
Kernel Special Features: Faux sound, Kexec, KCAL, Intelliplug
Version Information
Status: Stable
Current Stable Version: R31
Stable Release Date: 2017-01-07
Created 2015-06-11
Last Updated 2017-01-07
Changelog
CHANGELOG​(simplified changelog, for full changelog please look at my GitHub commits.)​​​
R31 --> 07/01/2017​
Merged CM Updates
For older changelogs :-​
R30 --> 30/10/2016​
First Nougat release
For changes please see post #670
R29 --> 24/07/2016​
Merged CM Updates
R28 --> 08/06/2016​
Merged CM Updates
AROMA installer
Added tripndroid IO Scheduler
CPU optimizations
ARM tweaks and updates
R27 --> 12/05/2016​
Merged CM Updates
R26 --> 10/04/2016​
Merged CM Updates
R25 --> 16/03/2016​
Merged CM Updates
R24 --> 18/02/2016​
Reverted the following :-
CPU OC/UC - 1593/96 MHz
CPU UV
LMK tweaks + Agressive LMK mode
Following CPU govs --> lionheart, dancedance, bioshock, alucard
Following Hotplugs --> Mako, Auto-smp
Added the following -->
Merged CM Updates
Built with UBER Toolchain GCC-6.0
R23 --> 19/01/2016​
Merged CM Updates
Overhauled boot script
R22 --> 11/01/2016​
Rebased kernel on android 6.0.1_r10
Rebuilt kernel from scratch
Merged a lot of CM updates
Added futex updates
Cpu UV added (hardcoded values)
Added 2 new hotplugs :- Auto-smp & Mako
Removed Alucard Hotplug
Overhauled updater script
R21 --> 30/12/2015​
Add CPU OC/UC - 1593/96 MHz
Adapt cpu_govs for CPU OC/UC
Merged CM Updates
R20 --> 29/12/2015​
Merged CM Updates
R19 --> 23/12/2015​
Added 3 new cpu_govs: Lionheart, DanceDance & Bioshock
Enabled CPU boost
Added optimized ARM RWSEM algorithm
ARM updates merged directly from CAF (See Git)
Mutex updates (See Git)
LMK updates (See Git)
Add agressive LMK
Build using -O3 & -graphite flags for enhanced performance
Cortex-A7 optimizations in Makefile
block: Disable add_random
Implemented LoUIS cache
Made bioshock as default gov. in boot script
Many other optimizations (smp, rcu, vfs, vfp, etc... See Git)
R18 --> 20/12/2015​
Merged latest CM Updates (support for Doze)
R17 --> 17/12/2015​
Merged latest CM Updates
Made interactive as default gov. in boot script
R16 --> 03/12/2015​
Fixed FM Radio not working
Fixed Section Mismatches
Enabled pipe flag
R15 --> 27/11/2015​
Build Kernel from scratch based on cm-13.0 kernel base
Compiled using Hyper-Linaro 5.1 Toolchain
Kernel version brought down to 3.4.42 temporarily
Revert SE Linux force permissive
Revert use Modulo sched & strict alias flags
Enabled Simple GPU Algorithm
R14 --> 11/10/2015​
Merged latest updates
Updated kernel to v3.4.109
Updated bfq to v7r8
R13 --> 6/09/2015​
Brought back the following :-
SE Linux tweaks
msm:kgsl tweaks
Enable unaligned_access
DOLBY dap dependency fix
Removed the following :-
Simple GPU Algorithm
New features :-
Update with latest CM sources
Implement Adreno Idler
R12 --> 26/08/2015​
Removed the following :-
CPU UC to 96MHz
SE Linux tweaks
USB Fast Charge v2
Added optimized ARM_RWSEM algorithm
msm:kgsl & wcnss tweaks
Optimize square root algorithm
Enable unaligned_access
DOLBY dap dependency fix
Ultrasound & ASoC : qdspv2 tweaks
Changed the following :-
Update 'zzmoove' cpu_gov to v1_beta-8
Set 'zzmoove' as the default CPU Gov
R11 --> 22/08/2015​
Merged latest CM updates
R10 --> 13/08/2015​
Once again rebuilt the whole kernel !
Updated with latest CM sources
Possibly fix interactive deep-sleep issues
R9 --> 25/07/2015​
Updated with the latest CM sources
Rebased and built whole kernel from SCRATCH
Removed useless tweaks
Updated cpu_hotplugs & cpu_govs
Optimized zzmoove profiles again
R8 --> 11/07/2015​
Updated with the latest CM sources
Reverted RAM OC to 566MHz
Reverted some power hogging tweaks
Updated hotplugs :- intelliplug, msm-hotplug (neobuddy89 versions)
Added Bricked Hotplug
Optimized zzmoove profiles
R7 --> 30/06/2015​
Disabled msm_limiter
zzmoove : add back zzopt & zzmod, zzopt unstable for now.
Introduce kernel cooker
Bug fixes
R6 --> 24/06/2015​
Updated kernel version to 3.4.108
Enabled kernel_config_neon
zzmoove : remove profiles 'zzopt' & 'zzmod'
Add strict_aliasing & modulo_sched flags
Add msm:kgsl & wcnss tweaks (see GitHub)
Add MSM Frequency Limiter driver v3.6
Add Ultrasound & ASoC : qdspv2 tweaks (see GitHub)
RAM OC to 566 MHz
And many more I can't fit in here, so please checkout GitHub.
R5 --> 20/06/2015​
Added USB Fast Charge v2
Enabled NEON mode
Added Ex-FAT support
SE Linux tweaks (see GitHub)
zzmoove : set default profile to 2
tune up some governors
Enable intelliplug by default
Random / entropy tweaks
R4 --> 17/06/2015​
CPU UC to 96 MHz
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam
Reclaim RAM from loggers, increasing default ram to 883 Mb
Disable gentle_fair_sleepers for increased I/O
Enable unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
Many tick, clockevents & timer tweaks (see GitHub)
Lower swappiness from 60 --> 45
Added optimized ARM_RWSEM algorithm
Force SE Linux permissive
Added state notifier driver
Enabled quick wakeup
NOATIME and NODIRATIME as default
R3 --> 14/06/2015​
CPU Govs removed :- wheatley, nightmare, HYPER, darkness, pegasusq, ondemandplus
Added simple GPU Algorithm
3 new CPU Hotplugs added :- intelliplug, alucard, msm-hotplug.
Power effecient Wqs enabled by default
Reclaim RAM from loggers
devfreq:Add conservative governor
devfreq tweaks (see GitHub)
Dynamic FSync added
Intellithermal v2 added
R2 --> 13/06/2015​
New CPU Govs added :-
intelimm, intellidemand, intelliactive, smartmax, pegasusq, alucard, impulse, ondemandplus, wheatley, yankactive, nightmare, HYPER, darkness, zzmoove.
New TCP Congestions enabled :-
westwood, cubic, reno, hstcp, hybla, vegas, veno, scalable, lp, yeah, illinois, hctp, advanced, highspeed.
New I/O Schedulers added :-
fiops, vr, zen, sio, bfq, cfq, deadline, noop, tripndroid, fifo
Added KCAL v2 by Savoca
Optimized slub memory allocation
Increase torch power by 20 mA
Added stereo call recording support
psx2usb
Added NVIDEA Power effecient patches
Changed CFlags = Ofast
Optimize sfck compression
Many sched tweaks and optimizations (see GitHub)
R1 --> 12/06/2015​
Initial Release
FAQ
FAQ​
This kernel does not have X, Y or Z feature. Please add it !
No such requests shall be entertained.
For this device the closer to stock we are, the better it is. Hence no need for "fancy" useless features/tweaks. The main aim of halogen is to bring performance without compromising stability & battery. And that is what I intend to do.
AND if you really want this or that feature which is not there in halogen, please feel free to compile your own builds.
Oh no ! I encountered a BUG !
Upload the file named last_kmsg that located in /proc/last_kmsg. It contains kernel logs. Clearly state the bug / what you experienced along with your current kernel settings. Bug reports without logs will be ignored.
Recommneded settings ?
Halogen is pre-configured for best. For custom settings please google, do some research and you are encouraged to post your own settings in this forum. You can start here.
My battery drained overnight !! Look at these screenshots...
Not a halogen fault. The kernel does not “drain” battery. On Android devices, the kernel provides a mechanism for keeping the phone awake, called a wakelock. Processes running on the device (e.g. apps and services) can ask the kernel for a wakelock, and the kernel will oblige. So yes, the kernel is technically keeping the phone awake, but only because an app or service has asked it to. It is these apps and services that are misbehaving and causing drain, not the kernel. Doze mode, introduced in Android Marshmallow, is designed to limit the time that apps and services can wake up the device.
All thanks to @flar2 for his excellent post.
Wow,
What is better setting for this Kernel ?
legendsbr said:
Wow,
What is better setting for this Kernel ?
Click to expand...
Click to collapse
There is not much to set in this kernel at present. Leave it as it is. Tweak sound to your hearts desire !
What governors & I/O schedulers are already included? Just the "basic" AOSP kernel ones for now?
Yes...
But updates will come soon !!!
You simply did it! Thank you so much!
There is a long way to go but I hope you can add more stuff, not forgetting the DoupleTap to wake up the screen
Testing
NEW BUILD IS UP !!!
[ 12 June, 2015. Version --> R2 ]
New features added :-
** 14 new cpu govs added !!!(check changelog for their names) **
** New I/O schedulers added (added tripndroid) **
** New TCP Congestions added **
** Stereo call recording **
and MUCH, much more......................CHECK CHANGELOG.
Did you know ? :-
With the release of R2, Halogen Kernel becomes the ONLY kernel with maximum number of cpu govs !!! (among all kernels for stock/cm of titan/falcon).
This kernel has around 20 cpu govs !!!
NOTE :-
Try reading this guide by @gsstudios before selecting out among the many CPU Govs.
E _N_J_O_Y !!!
This kernel really works for battery life... Smooth and fast and also improves battery life. Appreciate you're work!
giannis_mathiou said:
This kernel really works for battery life... Smooth and fast and also improves battery life. Appreciate you're work!
Click to expand...
Click to collapse
Thanks for review...
More updates will come soon !
This kernel mainly focuses on audio and battery life.
zakee94 said:
Thanks for review...
More updates will come soon !
This kernel mainly focuses on audio and battery life.
Click to expand...
Click to collapse
Thank you so much for the updates!
Can you make a post with the recommended settings for battery life and the best performance possible?
TiGuy82 said:
Thank you so much for the updates!
Can you make a post with the recommended settings for battery life and the best performance possible?
Click to expand...
Click to collapse
Of course I will....
zakee94 said:
Of course I will....
Click to expand...
Click to collapse
there is something terribly wrong... at boot maximum cpu frequency is set to 384MHz, this give terribly long boot time, stuttery bootanimation and longer time for apps optimization after a rom update
EDIT: temporarily solved with an init.d script, here it is if someone has the same problem https://www.dropbox.com/s/qmcdlljjj0klzaf/cpufreq.zip?dl=0
ktulu84 said:
there is something terribly wrong... at boot maximum cpu frequency is set to 384MHz, this give terribly long boot time, stuttery bootanimation and longer time for apps optimization after a rom update
Click to expand...
Click to collapse
Even I had been facing the bug...BUT I fixed it out and the BUG IS NO MORE !!!
I will be soon releasing the update ! The problem was with some improperly adapted CPU governors which limited the max cpu freq to 384 at boot. I have removed them and now the cpu clocks @ 11190 during boot.
I appreciate your work with the script. Its good, and I hope you will keep supporting my kernel in the future.
 @ktulu84
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Sent from my Moto G 2014 using Tapatalk
Is the kernel stable? i'm using cm12.1 for daily use and some of the kernels i've tried always gave me the problem where the logcat is spammed with something liek "failed to acquire lock" everytime i touched the screen, can someone report?
xeraphael said:
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Sent from my Moto G 2014 using Tapatalk
Click to expand...
Click to collapse
Yes I m aware... It will be improved in future versions.
However it does not matter much, Linux handles memory in a different way and will release appropriate ram when required. What really matters is whether you are getting a smooth experience or not.
xeraphael said:
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Click to expand...
Click to collapse
Yes, there are changes in that. As the OP said, it depends on the kernel. Since our device has 1024MB RAM, the remaining RAM gets allocated to Graphics, audio processing, etc. If you are familiar with it, its very similar to Intel & AMD's allocation of RAM to Graphic memory in computers.

[KERNEL][NOUGAT]EXTENDED KERNEL V14 *EXPERIMENTAL* [06/04] ABANDONED

EXTENDED KERNEL​
Code:
#include <std_disclaimer.h>
/*
* Your warranty is... Still valid??.
*
* 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.
*/
WARNING: THIS KERNEL IS FOR CM 14/CM14.1 & AOSP NOUGAT ROMS ONLY
This kernel works in cm14/14.1 , LineageOS & AOSP Nougat Roms... DOESNT WORK IN STOCK ROM !
This release is more simple and minimalistic.
This Kernel aims to use the best and most stable feautures of stock cm kernel by default and add useful features and optimizations,The idea is to keep it simple, stable and optimized.
The features Are :
Updated to lastest CM14/LineageOS Sources
Latest AnyKernel2 Installer Script
Compiled With Google GCC 4.9 Toolchain
Updated Linux Kernel From 3.4.42 To 3.4.113
Added CPUQUIET Driver
Updated Interactive Governor
Enabled & Updated Cpuboost driver
Added ZEN I/O
Update ZRAM from 4.X Kernel
Added Adaptive LMK & Process Reclaim
Enabled NEON mode
Added Sound Control
Added More TCP Congestions Controls
Added Kcal
Lots Of Kernel Optimizations/Updates
Permissive SElinux
DOWNLOAD​
EXTENDED KERNEL V14 *EXPERIMENTAL*​
EXTENDED KERNEL V13​
Use the app kernel adiutor to tweak the kernel !
Thanks!
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you are looking for previous builds,They are here:
https://www.androidfilehost.com/?w=files&flid=45250
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
XDA:DevDB Information
EXTENDED NOUGAT KERNEL, Kernel for the Moto G 2014
Contributors
attack11, Cyanogenmod Team, faux123 , myfluxi , savoca , franciscofranco ,hurtsky, Alberto97, luca020400, LuK1337
Source Code: https://github.com/attack11/android_kernel_motorola_msm8226/tree/opotest
Kernel Special Features: LINEAGEOS KERNEL WITH SOME EXTRA FEATURES
Version Information
Status: Stable
Current Stable Version: Extended Nougat Kern
Stable Release Date: 2016-11-18
Created 2015-12-10
Last Updated 2017-04-19
Reserved For Changelog
CM 13:
10-12 - Initial Release
11-12
Update to latest CM13 Sources
Switch to XZ compression
18-12
Builded again from the scratch
Update to latest CM13 sources
Some updates to Interactive Governor
Make mpdecision more conservative
Removed Adreno_Idler
More,Check Git...
20-12
Updated to latest cm sources
Enabled all sleep states
23-12
Updated to latest cm sources
Disable mpdecision "tweaks"
Update & Improved Interactive Governor
Some othe stuff,Check git..
06-01
Test Build
Added Undervolt
Added bricked_hotlplug (enable by default)
Optimizations for Interactive governor
GPU Overclock
Some othe stuff,Check git..
15-01
Test Build
Removed Undervolt
Removed bricked_hotlplug
Reworked DT2w
Some othe stuff,Check git..
18-01
Disbled CM PowerHal
Re- Added bricked_hotlplug
Added S2W and S2S
Updated to latest cm sources
Some othe stuff,Check git..
26-01
Improvements for DT2W
Added MSM_Sleeper
Updated Thermal Driver
Some othe stuff,Check git..
26-02
Added IntelliThermalV2
Added AUTO_SMP HOTPLUG
Added IntelliThermal V2
Added SmartMax Governor
Added Zzmove Governor
Added Impulse Governor
Added YankActive Governor
Removed Bricked Hotplug
21-03
Updated to latest cm sources
Update installer script
Some dt2w optimizations
Removed almost all governors
Added Ondemand Governor by stratosk (by default) Great Performance and Awesome battery life
Some tweaks and optimizations...
21-03
Updated to latest cm sources
GPU OC
Some misc updates and optimizations...
06-04
Updated To Latest CM Sources
Added Back Smartmax Governor
Added Back YankActive Governor
Added Back Impulse Governor
Added Back Zzmove Governor
Added Adreno Idler
Added Dynamic Management Of Dirty Page Writebacks
11-04
Removed Adreno_Idler
Added SIO , ZEN & VR I/O Schedulers
Added Conservative GPU Governor
Updates to Simple_Ondemand GPU Governor
28-04
Rebuild from the scratch
Added Intelli_hotplug governor
Added BioShock Governor
Added TripNdroid I/O
Added Zram from 4.X Kernel
Added More tweaks & Optimizations...
14-05
Rebuild from the scratch
Updated To latest CM sources
Added A better Implementation Of Zram from 4.X Kernel (increased Zram to 510 mb by default) (Thanks to myzb)
Set CONFIG_HZ to 300 (Acording to google Should Improve Performance) (Thanks to myzb)
Added More tweaks & Optimizations...
Added Also A Version with Overclock for test
26-05
Updated To latest CM sources
Added Adreno Idler
Implemented Overclock (The max frequencies are standar by default)
Added UV & OC builds
15-06
Updated to latest CM Sources
Added Back GPU OC
Added Adaptative LMK (Thanks to myzb)
CM14:
12/09
First Release
21/09
Removed Adreno Idler For Now
Add MultiRom Support
Add Kcal
Some misc changes,Check github...
04/10
Removed KEXEC Support
Added Adaptive LowMemoryKiller
Added Conservative GPU Governor
Some misc changes,Check github...
12/10
Build with UBER GCC 4.9
Added AutoSMP Hotplug
Added Back KEXEC Support
Added Back Adreno Idler (Tweaked)
Removed Conservative GPU Governor
Removed Bricked Hotplug
Some misc changes,Check github...
22/10
Updated to latest CM sources
Added Mako Hotplug
Disabled Adreno_Idler by default
Some misc changes,Check github...
02/11
Updated To Latest CM Sources
Added Aroma Installer
Added Zen & Sio I/O Schredulers
Added Yankactive Governor
Added Bioshock Governor
Removed Adreno_Idler, Adaptive Lowmemorykiller..
Some misc changes,Check github...
11/11
Back to the simple version,Only useful features!
Updated To Latest CM Sources
Removed Aroma Installer (Back to 2 separated versions)
Added Back BrickedHotplug (Tweaked for nice performance and battery life)
Removed Zen & Sio I/O Schredulers ,Yankactive , Bioshock Governors , The CM defaults are the best
Removed Adreno_Idler, Adaptive Lowmemorykiller
Updates To Interactive Governor & BFQ Schreduler (The defaults I/O and Governor)
Some misc changes,Check github...
11/11
Rebuild from scratch again !
Updated To Latest CM Sources
Removed Back BrickedHotplug
Added Msm_Sleeper Hotplug
A lot of kernel optimizations
Some misc changes,Check github...
03/12
Rebuild from scratch again !
Updated To Latest CM Sources
Added Back AutoSmp Hotplug
Added Back SIO, FIOPS & ZEN I/O�s
Added Back ONDEMAND (Optimized), BioShock, Yankactive, Zzmova & Impulse Governors
A lot of kernel optimizations
Some misc changes,Check github...
30/12
Rebuild from scratch again !
Updated To Latest CM Sources
Removed MsmSleeper Hotplug
Added CpuQuiet Framework
Added Sound Control
Gpu optimizations
Some misc changes,Check github...
25/01
Rebuild from scratch again ! Yes, again!
Updated To Latest CM/LineageOS Sources
Added CpuQuiet Framework Only
Updated Linux Kernel From 3.4.42 To 3.4.113
Updated Interactive Governor
Enabled & Updated Cpuboost driver
Added Adaptive LMK & Process Reclaim
Enabled NEON mode
Some misc changes,Check github...
attack11 said:
I will NOT add new governors,the default governor is interactive wich performs perfect, and it has inbuilt profiles for performance,battery saver and balanced profiles added by cm in the rom itself,The main hotplug is the stock mp_decision for now,I will see if adding msm hotplug could be better ,Thanks!
Click to expand...
Click to collapse
IMHO intelliactive gov and msm hotplug is the best combo for good battery life without loosing performance on the rom. :fingers-crossed:
CreasingMass Dev said:
IMHO intelliactive gov and msm hotplug is the best combo for good battery life without loosing performance on the rom. :fingers-crossed:
Click to expand...
Click to collapse
Yes remember that is interactive te stock governor not intelliactive, and yes i think that adding msm_hotplug could be a good option i will test in next release! :good:
attack11 said:
Yes remember that is interactive te stock governor not intelliactive, and yes i think that adding msm_hotplug could be a good option i will test in next release! :good:
Click to expand...
Click to collapse
Yes, I know interactive is the stock gov, but I find intelliactive smoother than interactive (yes, it drains more battery) but tweaking it a little also with msm_hotplug solves the battery drain without losing performance.
Thanks
Tried your kernel mate @attack11 & its not working dey shows "binary updater" Problems check this [emoji116]
{
"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"
}
ramrastus said:
Tried your kernel mate @attack11 & its not working dey shows "binary updater" Problems check this [emoji116]
Click to expand...
Click to collapse
It works for me. I flashed it on cm 13 official.
ramrastus said:
Tried your kernel mate @attack11 & its not working dey shows "binary updater" Problems check this [emoji116]
Click to expand...
Click to collapse
Hi seems that you are using multirom and your boot partition have less space,I will switch to XZ compression in the kernel,it should fix that,And since CM has merged some more commits yesterday expect a new build today
attack11 said:
Hi seems that you are using multirom and your boot partition have less space,I will switch to XZ compression in the kernel,it should fix that,And since CM has merged some more commits yesterday expect a new build today
Click to expand...
Click to collapse
okie mate.. after you compressed the kernel, send me the download link.. I'm Waiting...
Sent from my Moto G 2014 using Tapatalk
Kernel Updated!
Update to latest CM13 Sources
Switch to XZ compression
Cheers!
attack11 said:
Kernel Updated!
Update to latest CM13 Sources
Switch to XZ compression
Cheers!
Click to expand...
Click to collapse
can you send me tweaks settings for your kernel.. which setting is best?
Sent from my Moto G 2014 using Tapatalk
@attack11 now its working [emoji16] & super stable kernel.. I liked very much.. specially multiboot features is Osome [emoji7] [emoji106] Thankyou dude!! [emoji2] [emoji4] [emoji13]
Sent from my Moto G 2014 using Tapatalk
ramrastus said:
can you send me tweaks settings for your kernel.. which setting is best?
Sent from my Moto G 2014 using Tapatalk
Click to expand...
Click to collapse
ramrastus said:
@attack11 now its working [emoji16] & super stable kernel.. I liked very much.. specially multiboot features is Osome [emoji7] [emoji106] Thankyou dude!! [emoji2] [emoji4] [emoji13]
Sent from my Moto G 2014 using Tapatalk
Click to expand...
Click to collapse
Glad it works! The kernel comes pre-tweaked already,you can tweak it with kernel adiutor if you wanna change something :good:
Any updates? @attack11
Sent from my Moto G 2014 using Tapatalk
USB Fast charge in future??
Excellent
Antutu: 26000
ramrastus said:
Any updates? @attack11
Sent from my Moto G 2014 using Tapatalk
Click to expand...
Click to collapse
Yes i will realese it tomorrow i guess..
:fingers-crossed:
jorge_carlos said:
USB Fast charge in future??
Click to expand...
Click to collapse
Sorry but no the idea is to add only a few features
# KERNEL UPDATED !
Builded again from the scratch
Update to latest CM13 sources
Some updates to Interactive Governor
Make mpdecision more conservative
Removed Adreno_Idler
More,Check Git...
Cheers !
attack11 said:
# KERNEL UPDATED !
Builded again from the scratch
Update to latest CM13 sources
Some updates to Interactive Governor
Make mpdecision more conservative
Removed Adreno_Idler
More,Check Git...
Cheers !
Click to expand...
Click to collapse
Can you please give me Git link to check change log [emoji4]
Sent from my Moto G 2014 using Tapatalk

[Kernel][GPL][K-N][Titan][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP]

READ ALL BEFORE ANYTHING!
ATTENTION
Code:
/*
I'm not (yet) a developer , I'm taking effort to put more choices of kernel for our great community.
This kernel is tweaked for best balance possible, if you want a feature quote me and i will see what i can do,
I will build this kernel when possible on my free time and because of it is a nightly and I will use this thread as a worklog too.
Thank you for using this kernel.
*/
Disclaimer
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.
*/
Adapt, improve and evolve!​
Info:
Guys I created this kernel to Moto G 2013 (Falcon/Peregrine) and Moto G 2014 (Titan/Thea) in other words MSM8226 Motorola SoC baseds to learn, adapt some "unstable and unsafe" things as well to give a new life to my device, the plan is to support all Android versions avaliable for our device, I plan to do a better kernel with time and help of the comunity. This kernel is a nightly I will do it when I have a freetime or LineageOS update their sources or I add new features, it aims to be a rich feature kernel and a "perfection balance" between battery life and performance, this can be a UNSTABLE kernel, my routine will be build,upload and test, so stay tuned! I am open to suggestions. This is a kernel that don't work out-of-the-box the objetive of this kernel is give power to the user.
This kernel DO NOT WORK WITH STOCK MOTOROLA/GOOGLE PLAY EDITION ROM or IDCRISIS or AOSPARADOX.
On post 1:
#1 - Features and installation instructions
#2 - Downloads and kernel Source
#3 - Buglist and to do's
On post 2:
#1 - Changelog
​
Features (By now and latest one):
Based on 3.4.113 LTS Linux kernel and latest LOS/AOSP/CM/Motorola sources
Kexec hardboot patch (MultiROM support)
Governors: Interactive,Ondemand,Performance,Userspace,Conservative,Powersave
Hotplugs: AutoSMP and Alucard Hotplug
Overclocks and Underclocks (Attention this can be dangerous to your device! you have been warned!):
Overclocked CPU (up to 1.6Ghz),Overclocked GPU (up to 600Mhz) Overclocked RAM and Overclocked Slimbus for better audio
Intellithermal v2 to protect our device from heating
Sound: High performance Headset,Low latency playback Support,24 bits Playback Support,Enabled additional Moto G Exclusive Audio Channels TPA-a6165a2
Screen: DT2W and S2W/S2S, KCAL
GPU:Simple GPU Algorithm and AdrenoIdler
Misc: Init.d support, Fsync on/off, ARCH_Power, Gentle Fair Sleepers, Toggle for some wakelocks, Stereo Call Recording Support, Reclaim RAM from loggers, Powersuspend, State Notifier .
For full features list check my github.
Compiled with Arch Linux up-to-date and UBER Toolchain 4.9 and optimize flags[/COLOR]
Bootlogos
PREVIEWS ONLY CHECK DOWNLOADS SECTION FOR LINKS
Created by me and the others two by @Mattwmaster58:
Silver
{
"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"
}
Blue
Red
Downloads
(Folder on AFH) (Please DO NOT MIRROR, if one is down just post in the thread or pm me and i will repair!):
Cyanogenmod/AOSP for Falcon:
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
Cyanogenmod/AOSP for Peregrine:
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
Cyanogenmod/AOSP for Titan/Thean (Same defconfig):
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
NOTE:ALWAYS CHECK LAST PAGES TO SEE WHAT IS GOING ON!!!
LSpeed Profiles (OLD! LSpeed envolved too fast!) - Balance
Bootlogos: ZER0 Byte Bootlogo
Old releases of ZER0 and ZER0 Byte (Reborn) Kernel : AFH
Mirror: Github mirror and how to download
​
How to install
If you're on other kernel please at least DIRTY FLASH you ROM, thanks.
The kernel:
By recovery:
Using TWRP (Please use the latest one)
1. Put the zip at /sdcard > Reboot to recovery > Install > Chose the kernel zip > Confirm to flash > (optional) Wipe caches > Reboot.
or
By app:
2. Flash it using Flashify or similar app from Playstore.
The kernel scripts backup your current boot.img so if you want to restore just use Flashify or TWRP.
The Bootlogo:
Using TWRP (Please use the latest one)
1. Reboot to recovery > Install > Chose the bootlogo zip > Confirm to flash > Reboot and enjoy.
2. Flash it using Flashify or similar app from Playstore.
3. Extract the zip and on mfastboot (or just fastboot) enter this command: fastboot flash logo logo.bin
Recommendations/Tweaking
Gov Tuner a mod to tune govs based on profiles for better battery life, better performance, or a balance., I have added a lot of sound patchs but A.R.I.S.E. will blow your mind! so if you want a better sound on your Moto G I suggest you A.R.I.S.E the best one in my opinion or just Viper+Dolby. And the best of the best tweaks app LSpeed just download and select a profile from main screen and fell it! or tune it by yourself!
To tweak use Kernel Adiutor from Playstore (or XDA Link), the Kernel Adiutor-Mod (fork with more experimental features) at XDA or Synapse You will need this zip and download Synapse app from Playstore.
Info about tweaking kernel The best guide to it!
Better RAM management for FALCON/PEREGRINE/TITAN/THEA thanks to @Pupet_Master
-Download "Kernel Auditor" from the "Play Store" and open it
-Once inside, Swipe from left to right to show the side menu.
-Tap on "Low Memory Killer"
-Change to these custom settings:
Code:
Foreground Applications: 29mb
Visible applications: 61mb
Secondary Server: 157mb
Hidden Applications 227mb
Content Providers: 87mb
Empty Applications 191mb
-Swipe from left to right again and tap at the option "Virtual Memory"
-Change those settings from there:
Code:
dirty_ratio: 20
dirty_background_ratio: 5
dirty_expire_centisecs: 100
dirty_writeback_centisecs: 300
min_free_kbytes: 4096
oom_kill_allocating_task: 1
overcommit_ratio: 100
swappiness: 100
vsf_cache_pressure: 53
laptop_mode: 0
extra_free_kbytes: 24576
Z-RAM Disksize: 470mb
-Swipe from left to right again and tap at the "Profile" section
-Click at the "+" button and save the current settings on a new profile
-Holdon the new profile and choose the option "apply on boot"[/QUOTE]
This kernel does not ships with a default config, so here it is how to config (an example) a profile for battery/balance/performance:
Battery
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1190Mhz or 1094Mhz
Multicore power save - Aggressive
Alucard Hotplug - ON
On GPU
GPU max freq. - 450Mhz or 320Mhz (if dont play use 320Mhz)
GPU Gov - simple_ondemand or msm_adreno_tz with tweaked adreno idler
On I/O Scheduler
Scheduler - ROW or SIO
-
Balance
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1190Mhz
Multicore power save - Enabled
AutoSMP - ON
On GPU
GPU max freq. - 450Mhz
GPU Gov - msm-adreno-tz
On I/O Scheduler
Scheduler - ROW or ZEN
-
Performance
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1593Mhz
Multicore power save - Disabled
AutoSMP - ON
On GPU
GPU max freq. - 600Mhz
GPU Gov - msm-adreno-tz
On I/O Scheduler
Scheduler - ZEN
Note about some features
Display types WORKING with DT2W/S2S/S2W:
mdss_dsi_mot_inx_720p_video_v0 (TITAN/THEA)
mdss_dsi_mot_cmi_720p_video_v2 (FALCON/PEREGRINE)
Display types NOT WORKING with DT2W/S2S/S2W:
mdss_dsi_mot_jdi_720p_video_v1 (TITAN/THEA)
mdss_dsi_mot_jdi_720p_video_v0 (TITAN/THEA)
mdss_dsi_mot_lgd_720p_video_v0 (FALCON/PEREGRINE)
If you don't have a working DT2W/S2S/S2W or don't like it you can disable it and/or use AcDisplay app or Anbient Display of your ROM instead.
To check which display type you have by going into terminal and type:
su
cat /proc/cmdline
Bugs
None by now, if you encounter one please make a post in this thread with steps to reproduce and if possible a LOGCAT and DMESG. A simple how to help me debug.
To do
Undervolt and Userspace Voltage Controller
OC of 1.8Ghz
More Hotplugs
More Govs
More I/O's (SIOplus,FIFO)
Added all features to all variants
Vibrator Intensity Control
Ram Underclock
Sched & Mutex Tweaks
Stock and GPE variants
WQ_POWER_EFFICIENT
LZO Compression image (Fast boot)
DOLBY_DAP dependency fix
Frandom
Filesystems support:
NTFS Support / EXT 2/3/4 support / F2FS (Most roms only support it at /data)
Optimized ARM RWSEM algorithm
Silence some logs
NEON in kernel mode
Misc Crypt tweaks
LMK tweaks and adaptive
More Security Patchs
Yankactive (Cause reboot at the moment),Yankdemand,Smartmax,Lionhert,Impulse,DanceDance,Bioshock
I/O's: ROW,NOOP,Deadline,CFQ,FIOPS,BFQ,SIO,VR,ZEN
All avaliable TCPs congestions on Android
How to git and build
Setting up and building
Basics of GIT
- How to build my kernel:
Code:
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=/path/to/toolchain/bin/arm-eabi-
make mrproper (cleans config files)
make clean (cleans already builded files)
make falcon_defconfig (or you device_defconfig)
make menuconfig (if you want to tweak the config)
make (I use this too -o2 -j4 CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_NO_ERROR_ON_MISMATCH=y)
How to cherry pick commits
Basically to cherry pick a commit you have to have it source and branch, this is a simple how to do it
First of all you need to set your upstream since it is a fork of CM/LOS or STOCK source:
Code:
git remote add upstream linkingithub.git
For example
Code:
git remote add upstream https://github.com/CyanogenMod/android_kernel_motorola_msm8226.git
so if you want to cherry pick a commit from me
Code:
git remote add bryanbytez mysourcelink.git
and after that you need to have my source locally but stay calm this wont mess you source
Code:
git fetch -all
To merge upstream changes (From CM/LOS or Motorola)
Code:
git merge upstream/cm-13.0
This will merge upstream cm branch cm-13.0 in your source code.
Misc help:
http://forum.xda-developers.com/showthread.php?t=2319018 (about boot.img, ramdisk and others)
https://stackoverflow.com/questions/2816715/branch-from-a-previous-commit-using-git (Unlike me you can just revert or create another branch based on the commit and not delete the whole source code )
https://stackoverflow.com/questions/4410091/github-import-upstream-branch-into-fork (Import a upstream branch on your fork)
And to revert a git: git revert sha1, example git revert eab5c8fef098548f0f00085196bbf40f41bf8ba1
​
Source/Credits
If you want to post this on your site or other forum it's okay just post a link to this thread too and the correct credits and if you can, pm me with link so i can see it too, thanks.
The GNU General Public License is a free, copyleft license for software and other kinds of works.
The GPL permits use, share, study and modify.
But this does not mean you should not give the deserved credit to the previous author.
So if you use my source code under GPL you must share with GPL too and quote me in the credits.
CM/LOS/AOSP Based Source
Stock/GPE Based Source
Thanks to:
GOD
The Real Dev's:
Motorola/Lenovo
LineageOS/CyanogenMod/AOSP/CAF Teams
A special thank you to @Kamin4ri to be answering questions from a noob
@hurtsky @pinkflozd @zakee94 @TeamMex (not a team ) @RenderBroken @alin.p @Flashhhh @Shivam Kuchhal @RolanDroid @attack11 @DC07 @frap129 @-decipher- @bedalus @MetalPhoenix45 @srisurya95 @para94 @chijure @Aayushya @neonkat and @faux123 for inspiration and commits (i guess that everyone that i pick a single commit is here... since i don't know yet to pick commits (picking commits automatically add the credits) a big thanks to all !)
@kwoktopus, for the tutorial how to build
And you the user!
If I forget someone please contact me and I will add here! [/FONT]​
XDA:DevDB Information
[Kernel][GPL][K-N][Titan][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP], Kernel for the Moto G 2014
Contributors
BryanByteZ
Source Code: https://github.com/BryanByteZero/android_kernel_motorola_msm8226
Kernel Special Features: OC/UC/DT2W/S2W/S2S/Sound Patchs and a lot more, check it!
Version Information
Status: Nightly
Current Stable Version: R3
Stable Release Date: 2017-02-22
Current Beta Version: R4
Beta Release Date: 2017-04-29
Created 2017-04-30
Last Updated 2017-05-01
Changelogs for CM/LOS/AOSP K/L/M/N
Changelogs for CM/AOSP K/L/M/N:
For Falcon and Peregrine
19/11/2016
No more MPDecision and CM PowerHAL
DT2W and S2W/S2S
Optimization Flags
Overclock and Underclock
Alucard Hotplug
AutoSMP Hotplug
Faux Sound 3.5
KCAL v2
High performance and low latency audio headset
KEXEC Hardboot patch
04/02/2017
Up-to-date with LOS source and Linux (now it's 3.4.113 the LTS version)
Intelliplug, AutoSMP and Alucard Hotplugs
Intellithermal
MSM-Limiter (you will need KernelAdiutor-MOD to use this feature)
Toggles for some wakelocks
ARCH_power
Gentle fair sleepers
Stereo call recording support
Reclaim RAM from loggers
Dynamic management of dirty page writebacks, expire and cache pressure
Some GPU patchs
SIO,VR,ZEN and Tripndroid I/O's
Powersuspend, LCD notify and state notifier
Dynamic FSYNC
CPU, GPU and RAM overclock
Simple GPU algorithm and AdrenoIdler
Enhanced audio with Faux Sound and low latency drivers and high performance mode
KCAL
KEXEC Hardboot patch
DT2W/S2S/S2W
Make optimizations
Powered by UBER STOCK Toolchain 4
22/04/2017
LATEST SOURCES
CPU OC/UC
GPU OC/UC
CPU boost
KCAL
faux Sound
High perf headset mode
OC RAM and slimbus
Intellithermal
Simple GPU Algorithm and AdrenoIdler
State notifier and Powersuspend
Alucard and AutoSMP hotplugs
Stereo call recording
Custom I/O's
Stock GOVS
KEXEC Hardboot patch
wakelock blocks
Fsync on/off
Power efficient workqueue
29/4/2017
DT2W/S2S/S2W
Bugs:
None by now,if you encounter one please make a post in this thread with steps to reproduce and if possible a LOGCAT and DMESG.
Reserved
Reserved
DT2W doesn't work, my phone is compatibile as in older kernels it worked
Just installed it on Titan, Ressurrection Remix. 1.6 ghz !!!
Zenzfum000 said:
DT2W doesn't work, my phone is compatibile as in older kernels it worked
Click to expand...
Click to collapse
Did you enabled on KA? It give some error? Which kernel DT2W worked? Which is you display? check note section in OP, please. I used the same "formula" for falcon,peregrine and titan/thea but maybe this last need some special atention.
Thanks.
BryanByteZ said:
Did you enabled on KA? It give some error? Which kernel DT2W worked? Which is you display? check note section in OP, please. I used the same "formula" for falcon,peregrine and titan/thea but maybe this last need some special atention.
Thanks.
Click to expand...
Click to collapse
I've used ex kernel manager, i don't think the problem is on the software side. In marshmallow kernel dt2w worked, is not a fault of yours, i think is nougat
In devolution kernel is not working too
When i try to unlock screen i had a soft reboot
Zenzfum000 said:
I've used ex kernel manager, i don't think the problem is on the software side. In marshmallow kernel dt2w worked, is not a fault of yours, i think is nougat
In devolution kernel is not working too
When i try to unlock screen i had a soft reboot
Click to expand...
Click to collapse
Well sound like that is not supported, in MM you used evolution kernel? Can you grab the output of cat /proc/cmdline in terminal? Thanks!
Sent from my Xiaomi Redmi 4A using XDA Labs
BryanByteZ said:
Well sound like that is not supported, in MM you used evolution kernel? Can you grab the output of cat /proc/cmdline in terminal? Thanks!
Click to expand...
Click to collapse
I'm not a beginner, i know what i'm saying
Dt2w has problems on nougat kernels
Sent from my Moto G 2014 using XDA Labs
Zenzfum000 said:
I'm not a beginner, i know what i'm saying
Dt2w has problems on nougat kernels
Click to expand...
Click to collapse
I'm just asking because I don't own a Titan/Thea/Peregrine but since it have the same SoC same features should work in all.
BTW you can test in a MM?
Sent from my Xiaomi Redmi 4A using XDA Labs
BryanByteZ said:
I'm just asking because I don't own a Titan/Thea/Peregrine but since it have the same SoC same features should work in all.
BTW you can test in a MM?
Click to expand...
Click to collapse
Not now but i think it will don't work on mm too
Sent from my Moto G 2014 using XDA Labs
Zenzfum000 said:
Not now but i think it will don't work on mm too
Click to expand...
Click to collapse
So basically any kernel that have DT2W is not working on N right?
Can you grab me a dmsg and lastkmsg? Maybe I can debug it.
Thanks!
Sent from my Xiaomi Redmi 4A using XDA Labs
BryanByteZ said:
So basically any kernel that have DT2W is not working on N right?
Can you grab me a dmsg and lastkmsg? Maybe I can debug it.
Thanks!
Click to expand...
Click to collapse
Ok, i'll try
Sent from my Moto G 2014 using XDA Labs
Here you are the logs @BryanByteZ
Zenzfum000 said:
Here you are the logs @BryanByteZ
Click to expand...
Click to collapse
Can you say something about the general performance and stability? Does CPU overclocking work without overheating or other issues?
Sent from my Moto G 2014 using XDA Labs
Here You are thanks for working on titan too!
I'm on RR MM at the moment, when trying dt2w/s2w my phone reboots.
Wolfcity said:
Can you say something about the general performance and stability? Does CPU overclocking work without overheating or other issues?
Click to expand...
Click to collapse
General performance is great, i'm using interactive with alucard at maximum 1401mhz, never faced overheating issues :good:
Sent from my Moto G 2014 using XDA Labs
Does OC actually work?
Other developers have tried it before, and realized it was a placebo soon after.
Kernel working great!
But one thing, if I select Dt2w/S2w from kernel auditor.. After that, the device got reboot automatically & settings are changed itself to default settings n kernel auditor..
So pls, implement/improve/repair Dt2w features..
Sent from my Moto G 2014 using Tapatalk
I use Conservative governor, no heating problems.
DT2W crashes/reboots device. I would not bother with DT2W, it just drains battery.

[KERNEL][4.4.195] darkonah™ [20191006]

{
"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"
}
DISCLAIMER
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 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.
*/
Hi,
It's just an ordinary kernel built by ordinary person
Nothing special with this kernel, not better than other kernels out there
FEATURES
- Upstream updates to latest stable linux-4.4 and latest CAF tag
- Built-in with some custom CPU Governors
- Adreno Idler
- Adrenoboost
- Enabling some I/O schedulers and tcp congestions
- Added KCAL Color Tuner
- Boeffla Wakelock Blocker
- F2FS support
- Backlight dimmer option
- etc
See, nothing special inside this kernel :silly:
- Old Changelog -
v1 :
- Initial release
v2 :
- Upstream updates to Linux 4.4.150
- Remove Mako Hotplug and back to stock
- Add chill governor
- Add state notifier
- Add USB Fast Charge (I hope it's not a placebo)
- Add headphone sound control
- A little optimization interactive cpu governor
v3 :
- Build with DragonTC-8.0 and Linaro-7.3.1
- Upstream updates to Linux 4.4.153
- Sync with new kernel source from ASUS S323
- Better deepsleep (I hope )
- Works with stock and pie
- DT2W only works on stock rom
- Note : sometimes you have to reboot once again to get everything normal
v4 :
- Upstream updates to Linux 4.4.154
- Enable Spectrum support
- Tweak and update on some cpu governors and i/o schedulers
- Disable cpufreq value strict and give userspace to set min / max cpu freq
- Add adrenoboost and tweak adreno idler
- Enable support to sdfat & f2fs (merged with latest f2fs source for linux 4.4.y)
- Some other optimizations
v5 :
- Upstream updates to Linux 4.4.155
- Merge tag LA.UM.6.2.r1-10900-sdm660.0
- Add simple low memory killer
- Add frandom from http://billauer.co.il/frandom.html
- Update f2fs driver
- Some other optimizations
v6
- Upstream updates Linux 4.4.157
- Enable DT2W support (similiar method to activate with other kernels)
- Some tuning on spectrum balance profile
- Some optimization
- Feel it yourselves
v7
- Upstream updates Linux 4.4.159 as usual
- Enable DT2W support (works normally in new ROMs that integrated with DT2W support) big thanks to @say99
- Add backlight dimmer
- Add support to DTS Eagle
- Fix GPU stuck at 430 MHz on previous build
- Some optimization and bugfixes
- Feel it yourselves
v8
- Rebased kernel into LA.UM.7.2.r1-05100-sdm660.0 based on android 9.0.0
- Slimming kernel with some features removed
- Some optimizations
v9
- Rebased kernel into KudProject's kernel tree
- Merged with latest Linux-4.4 and CAF tag
- Built with google clang 8.0.4
- Bugfixes and optimizations
v10
- Merged with latest Linux-4.4.165 and CAF tag
- Bugfixes and optimizations
v11
- Merged with latest Linux-4.4.167 and CAF tag
- Added options to user to adjust thermal temperature
- Implemented input boost
- Other bugfixes and optimizations
v12
- Merged with latest Linux-4.4.169 and latest CAF tag
- Remove input boost, use stock cpu boost
- Improve stability, battery backup, and balance performance
.........
Next Changelog HERE
.........
HOW TO INSTALL
- Download kernel file
- Go to custom recovery
- Flash the kernel, wipe cache & dalvik-cache, reboot
DON'T FORGET TO
- Backup your boot.img and files
- Wipe cache/dalvik-cache after flashing
CREDITS
- All around git world
DOWNLOAD
{Mod edit}
Telegram Group
Old Builds​
Notes :
• darkonah : an HMP kernel with stock frequency table
• darkonahX : an EAS kernel with overclocked cpu frequency up to 2,2 GHz and 1,8 GHz
• darkonahZ : an EAS kernel with stock frequency table
XDA:DevDB Information
darkonah, Kernel for the Asus ZenFone Max Pro M1
Contributors
travarilo
Source Code: https://github.com/travarilo/kernel_asus_sdm660
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: betutu
Created 2018-08-15
Last Updated 2020-03-15
Changelog
29-Jan-2019
.
.
07-Feb-2019
.
.
17-Feb-2019
.
.
21-Feb-2019
.
.
26-Feb-2019
.
.
26-Mar-2019
.
.
04-Apr-2019
.
.
26-Apr-2019
.
.
10-May-2019
.
.
18-May-2019
.
.
23-May-2019
.
.
12-Jun-2019
.
.
26-Jun-2019
Plz join original asus official telegram group so people can join with you
Based on stock ?
sourav.r said:
Plz join original asus official telegram group so people can join with you
Click to expand...
Click to collapse
Ok
Aftab_khatri said:
Based on stock ?
Click to expand...
Click to collapse
Based on stock merged with linux-4.4 stable and some customizations..
Awesome bb also it improves sound qaulity. Does it effects on sound quality?
Changelog v2 :
- Upstream updates to Linux 4.4.150
- Remove Mako Hotplug and back to stock
- Add Chill cpu governor
- Add state notifier
- Add USB Fast Charge (I hope it's not a placebo)
- Add headphone sound control
- A little optimization interactive cpu governor
No under clock or overlock ? (Optionally)
GryTEcHoG said:
No under clock or overlock ? (Optionally)
Click to expand...
Click to collapse
Underclock has been there since first build..
Overclock no..
dts eagle support?
androidgeek79 said:
dts eagle support?
Click to expand...
Click to collapse
it should be
Your kernel is stable. Could you add overlock as optional build ? I feel sometimes device is lagging with multi task, so want to see if we boost by 200mhz on both clusters.
Thanks
---------- Post added at 05:39 AM ---------- Previous post was at 05:35 AM ----------
Also can you add Fingerprint boost like I have seen in other kernel ? Not sure if that works.
which governor should i select to save ? battery
kunal.solanki.965 said:
which governor should i select to save ? battery
Click to expand...
Click to collapse
Powersave is the best for saving battery but performance will decrease
Changelog v3 :
- Build with DragonTC-8.0 and Linaro-7.3.1
- Upstream updates to Linux 4.4.153
- Sync with new kernel source from ASUS S323
- Better deepsleep (I hope )
- Works with stock and pie
- DT2W only works on stock rom
- Note : sometimes you have to reboot once again to get everything normal
-- darkonah --
.
.
.
better deep sleep is awesome
Working butter smooth with AEX 5.8. Battery life is very good.
workking on stock rom?? i m on latest 323 build
cjcool_123 said:
workking on stock rom?? i m on latest 323 build
Click to expand...
Click to collapse
It worked for me..
travarilo said:
It worked for me..
Click to expand...
Click to collapse
Little core frequency stuck at 1536 in latest build same happening with rawwork kernel v 2.1 latest but fine with ko and pbh why?
Ps power button unlock is really fast:good:

Categories

Resources