[KERNEL][CM-4.4.4] GreatDevs Kitkat V1 [ OC/UC | UV | F2Fs/exFAT | GOVs | IntelliV3 ] - Xperia Z1 Compact Original Android Development

{
"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"
}
This Kernel Is A Combination Of Many Great Developers Work​
A Small Introduction :​
This kernel is for AOSP/CM Based ROMs only! and it's for Android Kitkat 4.4.4
It doesn't contain any recovery in it, so the recovery you have won't be changed
And it is basically a mixture between some kernels like (Pimped/Mosh/DooM)
Many more features from many other kernels will be added as well maybe soon
I'll try to keep providing updates, at least every three days (minor updates)
Main Features :​
Faux123's Features (Aka: Paul Reioux) :
IntelliPlug: Intelli Plug Hotplugging Driver V3.8
Sound Control: GPL Sound Control v3.6
PowerSuspend: Power Suspend driver v1.5
Async Fsync: Asynchronous file sync
Dynamic Fsync: Dynamic File Sync v1.5
Snake Charmer: CPU frequency limiter driver v1.2
Fast Charge: Allows to set the Amperage of the Charger
CPU Boost: CPU Input Boost module
Overall Stats: CPU Overall Stats on a Per-Core Basis
Governers: Intelliactive & Intellidemand v5.0
DooMLoRD's Features :
Color Calibration Control: gives full control over the RGB display channels
zRam: Support For zRam Memory Compression
Governers: Wheatley
I/Os: FIOPS (Fair Input/Output Per Second)
Androguide's Features (Aka: Louis Teboul) :
CPU Freq: Extra Steps At 2.15GHz & 345MHz
Governers: Pegasusq & Nightmare & Hyper
I/Os: SIO (SImple Ondemand)
CoolDevelopment's Features :
CPU UnderClocking: Down to 268MHz
F2FS: Samsung's F2FS nand-optimized file system support
ExFAT: Samsung's open-source exFAT driver V1.2.7
fxTHaxxorX's Features :
CPU OverColcking: Added CPU OC Steps 2.49GHz & 2.72GHz
Early_Suspend_Delay: Delay fbearlysuspend to allow CRT off animation to be displayed
Governers: SmartAssH3 & Adaptive & DanceDance & SavagedZen
I/Os: Zen & Tripndroid
Various Developers :
CPU Voltage Control: Set Voltage for every CPU Clock [by imoseyon]
MSM_Sleeper: Sets the Max CPU Frequency When Screen is Off [by flar2]
Compression: XZ Compressed & LZ4 compression support [by Kyungsik Lee]
SLIMbus: Increase rootfreq 24.526MHz -> 27+MHz & clock-gear 7 -> 10 [by franciscofranco]
CPUQuiet: cpu hotplug drive (disabled mpdecision automatically) [by maxwen]
I/Os: VR & BFQ (Budget Fair Queueing) [by krabappel2548]
Governers:
InteractiveX2 & SmartassV2 & Lagfree & Lionheart & Badass (by krabappel2548)
Alucard [by Alucard24]
My Touches :
Linux Version: Updated Linux Version of the Kernel to 3.4.5
OC/UC CPU: Allow UnderClocking to 268MHz Mhz While OverClocking to 2.49GHz & 2.72GHz
Toolchain: Built with Latest Linaro GCC 4.9.2-2014.10 Toolchain With A15 Optimizations
Many Developers of the Mentioned above have much more contributions in this kernel, but it's hard to mention it all
Download Folder :​
Disclaimer :​
Code:
# Neither me or any contributors to this kernel can nor will be held
# responsible for any damage or any kind of problem related to its use.
# You are using this piece of software AT YOUR OWN RISK.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
Sources :​
Credits :​
Thanks to Androguide.fr for all Pimped related features in this kernel
Thanks to oshmoun he helped me a lot to get this kernel to be as great as it is now
Thanks to CoolDevelopment for all Mosh related features in this kernel
Thanks to faux123 for all his contributions to the android kernel community, many of which are implemented here
Thanks to showp1984 for his msm_mpdecision hotplug driver
Thanks to DooMLoRD for all the cherry-picked features from his DoomKernel
Thanks to krabapel2458 for the inital port from DoomKernel of features like GPU OC, some governors and more.
And of course, thanks to FreeXperia and Kali- in particular, for the device bring-up
XDA:DevDB Information
GreatDevs Kernel Kitkat - Amami, Kernel for the Sony Xperia Z1 Compact
Contributors
OmarEinea, oshmoun
Source Code: https://github.com/GreatDevs/android_kernel_sony_msm8974
Kernel Special Features: 2.72GHz OC | 268MHz UC | Voltage Control | F2Fs | Sound Control | Color Control | FastCharge | Govs & I/Os | IntelliV3.8 | LZ4-compressed | Alucard HotPlug | PowerSuspend | CPU Frequency Limiter | CPU Quiet | FSync | Futex Tweaks | Optimizations
Version Information
Status: Beta
Current Beta Version: V1
Beta Release Date: 2014-11-08
Created 2014-10-30
Last Updated 2015-04-05

ChangeLog & To-Do-List
ChangeLog :​
Version 1:
2014-11-08 :
Add CPU OverColcking Steps 2.49GHz & 2.72GHz [by fxTHaxxorX & Huge Thanks to oshmoun]
Replace CM's boot logo with GreatDevs' Black Boot Logo
Update Kernel's Linux Version 3.4.0 -> 3.4.5
Add new SmartAssH3 & Adaptive Governors [by fxTHaxxorX]
Add new I/Os Zen & Tripndroid [by fxTHaxxorX]
Cleaned up kernel's name from those creepy numbers [thanks fxTHaxxorX]
CM Upstream
2014-11-03 :
Update IntelliPlug v2.0 -> v3.8
Add new SavagedZen & DanceDance Governors [by fxTHaxxorX]
Add Early Suspend Delay [by fxTHaxxorX]
Disable mpdecision by default, so now only CPUQuiet works by default [thanks oshmoun & CoolDevelopment]
Probable fix for those who are having bootloop (try and let me know) [thanks oshmoun]
2014-11-01 :
Update Sound Control v3.5 -> v3.6
Enabled CPUQuiet for Balance Governor [by oshmoun]
Use Default CPU Freq as: 268.8MHz Min & 2.26GHz Max
Follow Up For Some Camera Related Stuff (Fixes Camera Bug On Some ROMs) [by oshmoun]
Start Supporting Honami & Togari
2014-10-31 :
Initial Release
To-Do-List :​
Update kernel linux version gradually from 3.4.0 to 3.4.104
Update all old features from other kernels
Dig around for some new features
Make a nice and clean build that should be called stable
Kernel is beta so don't expect it to be perfect or near that

Additional Add-ons
Replace Your Logo :​
As shown in the attachments, these are the three logos of GD kernel, chose the one you like to become your boot logo,
and if you want the stock CM boot logo, you can have it as well, Download links for all four packages can be found here:
Logo Replace Packages Download Folder
Old GD Logo:
​
​

Kernel flashed, will be back with rapport

Unlock 2.7ghz I write as (maybe) future user of Z Ultra one

Hi Folks
It`s to silent in the compact forums thats why I response.
First this is a awesome Kernel, I have been running it today with default settings. Incredible 2.4GHz result in considerably faster starting of big apps, the Phone didn`t heat up at all , battery drain is slightly increased and I haven`t had any crashes. I`m realy impressed.
Thanks a lot Omeira.
Maybe someone would like to share recommended settings for good battery or performence, I don`t know all this new govenors.

OmarEinea said:
I have enabled 2.4GHz and if it's stable enough I can enable 2.7GHz if anyone's interested
there will be no DT2W feature so don't piss me off by asking about it
Click to expand...
Click to collapse
How about 3ghz?
source can be found here:
https://bitbucket.org/morfic/trinity_five
i got it to work on my N5, and it worked pretty well.

I think 3ghz is too much, but if u unlock it and made ultra version i will try it on my phone (phablet ) to see how stable it will be on 3ghz (power is coming )
I think is better place for now to write what i wrote in zu pimped thread
ch3mn3y said:
If i,can i have small request: row i/o as i tried most possible set ups on pimped and nightmare on 2 first cores and pegasusq on two remaining + row on internal and vr on sd is the best (at least for me) <-- and im just missing row scheduler (however its possible that i didnt find it in ur thread)
Click to expand...
Click to collapse
However for more safe work on 3.0ghz u would need to add some steps like 2.5, 2.6, 2.8, 2.9. That way it will not jump so much in one moment (from 2.4 to 3 or form 2.7 to 3)

Tommy-Geenexus said:
How about 3ghz?
source can be found here:
https://bitbucket.org/morfic/trinity_five
i got it to work on my N5, and it worked pretty well.
Click to expand...
Click to collapse
ch3mn3y said:
I think 3ghz is too much, but if u unlock it and made ultra version i will try it on my phone (phablet ) to see how stable it will be on 3ghz (power is coming )
I think is better place for now to write what i wrote in zu pimped thread
Click to expand...
Click to collapse
Yes I think 3.0GHz is too much as well, though I might try to include it later
and @ch3mn3y,, sure, I'll add adding ROW I/O to the to-do-list, and BTW I have made a build of this kernel for togari,
do you wonna test it? , cuz if the kernel is doing fine on togari, I'll start supporting it as well
Regards,
Omar.

send it. sure i will test it. it wont burn my phone
PS. Its based on c6833 or c6806 (like most kernels)? As they are lte versions and other can use it as well

OmarEinea said:
Yes I think 3.0GHz is too much as well, though I might try to include it later
and @ch3mn3y,, sure, I'll add adding ROW I/O to the to-do-list, and BTW I have made a build of this kernel for togari,
do you wonna test it? , cuz if the kernel is doing fine on togari, I'll start supporting it as well
Regards,
Omar.
Click to expand...
Click to collapse
i'll build a kernel for togari with 3ghz oc when i have my computer back.
i'll do a pull-request then if its half-way stable.

Tommy-Geenexus said:
i'll build a kernel for togari with 3ghz oc when i have my computer back.
i'll do a pull-request then if its half-way stable.
Click to expand...
Click to collapse
Fair enough
Regards,
Omar.

U can create thread in ultra's section so i (and maybe others) wont make mess here with Qs about ZU's version

ch3mn3y said:
U can create thread in ultra's section so i (and maybe others) wont make mess here with Qs about ZU's version
Click to expand...
Click to collapse
I will, as soon as someone confirms to me that it works on togari,
also you can send me pm for now if you want
Regards,
Omar.

Ok. Its working (at least wirh CarbonROM. I can OC to 2.4 ghz, but i cant use voltage menu form PimpMyZ1 app, could with pimped

Not working for XZ1. Phone does not boot, black screen, no LED, Fastboot Mode working to recover it.

->--- said:
Not working for XZ1. Phone does not boot, black screen, no LED, Fastboot Mode working to recover it.
Click to expand...
Click to collapse
u must be aware of what misleading information you are sharing here ?
@OmarEinea
Great work
Awesome Kernel ..
detail feedback sent through PM
Thanks for making CM ROM'S more smoother

ch3mn3y said:
Ok. Its working (at least wirh CarbonROM. I can OC to 2.4 ghz, but i cant use voltage menu form PimpMyZ1 app, could with pimped
Click to expand...
Click to collapse
Yeah it doesn't work using PimpMyZ1 app on amami as weel (that happen after adding 2.4GHz OC),
though it works using any other app, and you know what,
PimpMyZ1 is out-dated so you'll have to use another app to have control over all features this kernel has,
I believe PimpMyZ1 gives FC if you try to Control CPU voltage because this kernel contains 268MHz step, which never existed on pimped
->--- said:
Not working for XZ1. Phone does not boot, black screen, no LED, Fastboot Mode working to recover it.
Click to expand...
Click to collapse
I believe I didn't give you a link for Honami's build of this kernel!
did you try flashing the zip from this thread?
or someone else gave you a link to honami's build?
cuz it's usual to have the brick you had if you flash a kernel for amami on honami
Regards,
Omar.

Do you know any other app with per core governor support?
Sent using C6833 - Carbon KitKat/Pimped Z1 Kernel

I just tried the amami version. Because somewhere here I read something about Z1 U which is nearly the same hardware. I just wondered because Z1 C has another CPU. So I gave it a try. ?

Related

[CM10/ICS/MIUI][KERNEL][GPL][rc-3] ♫♫ Titanium.Kernel ♫♫ An All in one Kernel! ♫

[CM10/ICS/MIUI][KERNEL][GPL][rc-3] ♫♫ Titanium.Kernel ♫♫ An All in one Kernel! ♫
Whats up guys!
So.. you'll already know me
SO no Introductions.
For those who don't know me, I am a Kernel Developer, Check the links in my signature to see my work
Now.. Getting back to topic!
Presenting.........
★★★ Titanium Kernel for Galaxy R - GT-I9103 ★★★
Remember,
Code:
[B]/* DISCLAIMER */ [/B]
[SIZE="5"][FONT="Arial Black"][COLOR="Red"][U]I do not own the device![/U][/COLOR][/FONT][/SIZE]
[COLOR="Red"][B][FONT="Arial Black"]You are choosing to make the modifications at your own risk.[/FONT][/B][/COLOR]
This Kernel is for Samsung ICS ROMs or any ROM based on Samsungs stock ROMs.
★ What my Kernel is made up of ★
★ This Kernel will work on every ROM, look into Downloads section and select your Kernel. ICS Kernel will work on Angeeks ROM
eMMC Brick bug cleaned up.
Based on Samsung ICS Update 2 Sources
Compiled with Linaro 4.6.2 toolchain
Overclock upto 1.2 Ghz
GPU Overclock upto 410 Mhz
All Linux memory Management Parameters tuned up for best performance.
Optimized ARM RWSEM Algorithms.
ARCH Power Enabled
JRCU (Joe's RCU, best suited for small SMP Systems!)
Proportional Rate Reduction for TCP by Google.
RAM Console Debugging Removed (More RAM)
Reclaimed RAM from Android Logger(logcat) (More RAM)
RAM Hack based on my old GB Kernel patch(+56 MB)
Voodoo Sound
Enabled NTFS Filesystem
Auto Brightness Fixes (ardatdat)
TCP/IP Tweaks
XZ Compression for Kernel (++speed,--size)
Using SLUB Memory Allocator (I always prefer this!)
Unneeded Stuff cleaned up in defconfig
EXT4 is default, EXT4 is used for mounting EXT2 and EXT3 (Faster)
NOATIME NODIRATIME Mounts set as default
Governers: Hotplug, Smartass2, Performance, Ondemand, Conservative.
IO Schedulers: Noop and CFQ (Default)
..
ROW IO Scheduler
BLN Support w/ liblights loaded from ramdisk
WIFI MAC Address Changing support
Lots of Makefile Optimizations + GCC 4.6 Optimizations
Dynamic FSYNC Control (faux123)
Stochastic Fair Blue Net Scheduler
Optimised swahb32() byteswap helper
Code cleanups done where necessary
IO Patches
TUN/TAP Driver built in
--
Cleancache Support
KSM Enabled
Disabled unnecessary drivers
LZMA Compressed Ramdisk (--size)
N1 Board and Touchscreen driver fully cleaned up of all Samsung **** ups and warnings!
Lots more stuff! Flash and see for yourself.
Ramdisk Mods:
Auto-root (SuperSU)
BLN Liblights loaded from ramdisk itself
Auto-EFS Backup
init.d scripts run on boot
Custom Bootanimation support (ICS ROM)
Other misc stuff.
TODO:
[*]Fix all Kernel warnings and crap samsung code.
[*]Get rid of TEGRA CPU LOCK.
[*]Set up Custom Voltage sysfs.
[*]Fix all game lags.(Which is present on stock Samsung sources and ROMS)
[*]Port some more Tegra specific mods from other Tegra devices.
{
"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"
}
★ I plan to contribute a lot to this Kernel in the near future! Test it and let me know. ★
★ Also, I plan to clean up lots of Samsung **** code and **** ups in the source ★
★ Remember, I do not have the device so it will take me time to fix up bugs (If there are any) ★
Credits ,
☑ Many of the patches on my source which I have incorporated may not be programmed by me, I have credited them on my github.
☑ Adam77Root, ardatdat (Kernel patches, credited on my github)
☑ faux123
☑ parmarket,shaheen(For testing this first on their phone)
☑ and MEEEeeee .. of course!
Changelogs
Code:
[B]Kernel rc-1[/B]
Initial Release
[B]Kernel rc-2[/B]
CM10 Support
AOSP Vibrator fix
KXTF9 Sensor driver for CM10
BLN Support w/ liblights which will be loaded by ramdisk
Enabled Wifi MAC Address Changing ability
Makefile Optimizations
SYNC Frameworks and SW Sync
XZ Compression for Kernel
ARM CPU Topology
Dynamic FSYNC Control (faux123)
ROW IO Scheduler ~Enabled by default (Meant for mobile devices)
Added ARM NET JIT Compiler
Add optimised swahb32() byteswap helper
Lots more stuff, too technical to explain, check my github.
[B]Kernel rc-3[/B]
---COMING UP-----
Stability fixes, fixed hangs,lags from rc-2.
Lots of Code Cleanups for better optimized code!
Board-n1 cleaned up of all warnings
Atmel MXT-224E driver cleaned up of all warnings.
GCC 4.6 (Linaro) Optimizations
MIUI Support
Reverted SYNC,SW_SYNC,ARM NET JIT Compiler (Will have to do testing!)
Enabled KSM
Enabled CLEANCACHE
Disabled a lot of unnecessary drivers to reduce memory footprint in Kernel.
LZMA Compressed Ramdisk (--size)
Bumped reserved memory to 200MB
Asynchronous I/O latency to a solid-state disk greatly increased (cherry-picked)
Downloads
Download: Titanium Kernel rc-3 - ICS
Download: Titanium Kernel rc-3 - CM10
Download: Titanium Kernel rc-3 - MIUI
-------- OLD VERSIONS NOT RECOMMENDED! -------------
Download: Titanium Kernel rc-2 - ICS
Download: Titanium Kernel rc-2 - CM10
Download: Titanium Kernel rc-1
FAQ's
FAQ:
1) Do not use 3rd party init.d scripts! If you wish to use any ask in the thread. I will tell you if you can.
2) How to flash the Kernel?
A: Flash the zip via CWM ... duhhh! :victory:
3) Why only 4 governers ?
A: Too many Governers bloat the Kernel, many are quite similar.
Best Governer for Battery: Conservative
Best Governer for Performance: Smartass2 or Performance
4) Can you add support to turn off one cpu core?
A: You don't need to do it manually, Hotplug governer knows when to turn off one core.
5) Will you overclock more?
A: No, 1.2 Ghz is enough. We wan't stability and not problems.
6) I got X bug, I got Y bug.
A: I will fix it, recreate the problem and give me a logcat. Remember, it may take time and testing to fix a bug since I do not have the device.
7) Will this support CM in future?
A: Ofcourse! I will also be helping in CM development soon.
8) My phone does not enter deep sleep.
A: Some app is constantly waking up your phone.
9) DO NOT USE ANY SET CPU PROFILES! .
A note on How-to report bugs.
Great one buddy. Unfortunately over CM10. will b waiting for CM10 kernel. thanks again.:fingers-crossed:
Great work Buddy :good:. Cud u add the stopbootanimation service at end of script in init.rc so that v can use this kernel for custom bootanimation.:highfive:
thanks
thanks buddy, nice work, all feature sounds great :good:
I particularly like of have only 4 governers which is simple and useful , too much confuse most of the time. :laugh:
thanks again and keep it up :good:
I wish u had kept interactive governer. Anyways, will try this after college.
Sent from my GT-I9103 using xda app-developers app
kataria.vikesh said:
Great one buddy. Unfortunately over CM10. will b waiting for CM10 kernel. thanks again.:fingers-crossed:
Click to expand...
Click to collapse
Will add CM support post the CM10 boot.img here.
selva.simple said:
Great work Buddy :good:. Cud u add the stopbootanimation service at end of script in init.rc so that v can use this kernel for custom bootanimation.:highfive:
Click to expand...
Click to collapse
Yeah, can do it. Will build my own ramdisk in the next release.
gitanshu said:
I wish u had kept interactive governer. Anyways, will try this after college.
Sent from my GT-I9103 using xda app-developers app
Click to expand...
Click to collapse
I will drop ondemand and add interactive, Interactive governer is an improved version of ondemand.. anyways.. this is first release ... lots to come still!
will it work on angeeks rom??
kunaal2580 said:
will it work on angeeks rom??
Click to expand...
Click to collapse
No. Currently this does not support custom boot animation which if u flashed on angeek's rom will result in bootanimation loop.
Adi_Pat said:
Will add CM support post the CM10 boot.img here.
Click to expand...
Click to collapse
Edit: here is the link of cm10 kernel
http://db.tt/lrOpqrxL :victory:
kataria.vikesh said:
Edit: here is the link of cm10 kernel
http://db.tt/lrOpqrxL :victory:
Click to expand...
Click to collapse
Gimme a few mins, making it CM Compatible , just need to pack teh ramdisk with my Kernel .. (Hopefully nothing more, someone will have to test it)
kataria.vikesh said:
Edit: here is the link of cm10 kernel
http://db.tt/lrOpqrxL :victory:
Click to expand...
Click to collapse
Does it have bln mod?
Sent from my GT-I9103 using Tapatalk 2
Benchmarks
these are some benchmarks of this Kernel (With Geeky Engine)
CPU speed 1Ghz
Governer: smartass2
CPU speed 1.2Ghz
Governer: smartass2
Good work! Waiting for the anti boot loop kernel support for the angeeks ROM.
Enviado desde mi GT-I9103 usando Tapatalk 2
@Adi_Pat: To make the kernel compatible with CM10, do the followings:
1. Implement vibrator fix. (https://github.com/epsylon3/android...mmit/720914d5009039d3ba9898361eea1ad8ab09d326)
2. Add raw KXTF9 accelerometer sensor. (https://raw.github.com/epsylon3/android_kernel_samsung_i9103/gingerbread/drivers/input/misc/kxtf9.c Put it into drivers/sensors, modify Makefile and KConfig accordingly and enable it in defconfig.)
3. Take the ramdisk.
You don't have to compile two different kernels for the two roms, only change the ramdisk. The kernel works quite well in hybrid mode with the modifications included.
Also, if you have time please include these patches into your kernel. I'd really appreciate them. Thanks!
Adam77Root said:
@Adi_Pat: To make the kernel compatible with CM10, do the followings:
1. Implement vibrator fix. (https://github.com/epsylon3/android...mmit/720914d5009039d3ba9898361eea1ad8ab09d326)
2. Add raw KXTF9 accelerometer sensor. (https://raw.github.com/epsylon3/android_kernel_samsung_i9103/gingerbread/drivers/input/misc/kxtf9.c Put it into drivers/sensors, modify Makefile and KConfig accordingly and enable it in defconfig.)
3. Take the ramdisk.
You don't have to compile two different kernels for the two roms, only change the ramdisk. The kernel works quite well in hybrid mode with the modifications included.
Also, if you have time please include these patches into your kernel. I'd really appreciate them. Thanks!
Click to expand...
Click to collapse
Thanks! Sure I will. Will merge your patches soon.
Still studying the source.. looks like lots can be improved!
Super cool.. awesome kernel..
Working great.. thanks
Sent from my GT-I9103 using xda premium
parmarket said:
these are some benchmarks of this Kernel (With Geeky Engine)
CPU speed 1Ghz
Governer: smartass2
CPU speed 1.2Ghz
Governer: smartass2
Click to expand...
Click to collapse
Hi Ketan, Are you using Adi's kernel on miui rom? or CM10? was curious if it works fine on Paraj's miui rom.

[KERNEL][3.4.11] ZTE v970 / v970m (MT6577) | OC | UV | Performance | [21-06-2014]

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.
*
* DO NOT LEECH MY DOWNLOADS, PLEASE RE-DIRECT YOUR FORUM /PAGE
* TO THIS THREAD, IF YOU LIKE MY WORK, YOU CAN SAY THANKS,
* AND MAYBE BUY ME SOME BEERS
*/
{
"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"
}
Open Sourcing Mediatek - ZTE v970 ; SoC MT6577​
Being owner of an Mediatek device, means (most of the times) not having the sourcecode published by the Official vendor.
ZTE never published full ICS sources (they only gave us incompleted, and unbuildable sources).
Furthermore, we never had JB 3.4.x Kernel sources.
Well this is xda after all, meaning we can accomplish pretty much everything
This is an fully Custom Kernel Source.​
​
### For JellyBean 4.1 / JellyBean 4.2 Roms ONLY ###
--> For the new KitKat Build The Kernel is already included on the Rom, and Kernel Updates will be on that thread​
Hello Guys !
In this thread you will find my custom Kernel for the ZTE v970 / v970m / Smart a18 (Portuguese Single-SIM version)
Please be sure to read (and re-read) to avoid unnecessary questions.
Changelogs
Changelog v1.4 (June 21 2014)
Kernel Upstream to Linux 3.4.11
(check my github for the fully commit history, don't want an long Changelog here)
Now Compiled with the Latest Linaro-Cross ToolChain 4.9.1 Cortex A9
Compiled with optimized -O2 Flags with MODFLAGS
Dynamic management of dirty page writebacks (fully controled on Performace Control app)
Completely Fair Scheduler: Responsiveness Tweeks
CPU Governors: Added SmartAssV2
Default Governor is now set as: HotPlug (This is great as an daily Driver)
Default IO Sheduler is now set as: SIO
Battery: Improved Battery voltage table; increase battery charging voltage (will charge an bit faster now); Precise Tunning.
Fixed init.d on all Kernel Variants
JB 4.1: Fixed Freezing caused by 3rd party apps notifications, like the FB app (.blob)
For Overclocking / IO Schedulers and Governors check FAQ on post #3
Older ChangeLogs:
Changelog v1.3 (May 22 2014)
ToolChain: Now compiled with Linaro Toolchain 4.6.4 (Optimized Cortex a9 - Better Performance )
Battery: NTC Enabled (Fixs Temperature reading)
Battery: Reverted to v1.1 Battery configs + NTC Enabling (this is the best combo)
Battery: Improved WIFI Draining (Battery will last longer now when WIFI is ON)
Kernel Modules: Striped from useless code (now they are 1 / 4 of their old size )
Changelog v1.2 (May 12 2014)
Fixed USB Storage Vendor ID
New Battery Driver Configs
Notification LEDs FIX for JB4.1.x
Now also supporting MIUI v4 and LeWa v5 ROMs (JB4.1.x)
Changelog v1.1 (April 24 2014)
Well this is an HUGE Update ...
Kernel Sources Upstream from 3.4.0 -> 3.4.5 (common)
Ported and Merge the following ThunderZap 2.0 Kernel features:
Cortex A9 optimizations
Neon optimizations
Increased the kernel timer from 100==>300
Removed old SHA1 routines
Dynamic Filesync Control 2.0
Dynamic Management of Dirty page writeback
Undervolted complete chipset by 66.66mV[Milli-Volts]
Lock initial TCP window size to 64k (Improves network ping and output)
Faster NOATIME and NODIRATIME mounting flags
Disabled Gentle Fair Sleepers
Enabled ARCH_POWER
Asynchronous I/O latency to a solid-state disk greatly increased
Patches to prevent depleting Entropies
Reduced Android Logger size
Optimized AES and SHA1 routines
Lowered Log Buffer shift
Various EXT4 Filesystem patches from android_kernel_common
Plugged memory leaks to cpufreq driver from upstream
Optimizations to SLUB memory allocator
Decreased CPU transition latency
Removed all debugging shi**
Proportional Rate Reduction for TCP - Google
Optimized swahb32() byteswap helpers
Compiled vfp with neon
Tuned CFS parameters
Reduced vfs cache pressure size
Optimized VM dirty ratios
Optimizations to Android Low Memory Killer
Optimized CFQ scheduler
Ported and Merge the following BindassBoost Kernelfeatures:
Governors: Sakuractive ; Nightmare; Interactivex; Zzmoove; Hotplug; Lulzactiveq; SmartassH3; Hybrid; Ondemand; Userspace; Powersave; Pegasusq; Performance
IO Schedulers: Noop; Deadline; Cfq; Sio; Fifo; Fiops; Row; Vr; Zen; SioPlus
Updated kernel with MeM Overclocking Feature - Thanks to bindassdost For MTK SmartOC and benoitm974 for his work on adding OC feature to an MTK device
Other Features :
(JB 4.2.2) Fixed Auto-Brightness, fully working now
(JB 4.2.2) Improved GPS
hrtimer: Introduce effective timer slack
mm: pmd_read_atomic: fix 32bit PAE pmd walk vs pmd_populate SMP race
raid5: delayed stripe fix
Optimized ARM RWSEM algorithm - Thanks to faux123
fs: switch do_fsync() to fget_light()
jbd2: optimize jbd2_journal
ext4: speed up truncate/unlink by not using bforget() unless needed
af_unix: speedup /proc/net/unix
binder.c Patch for (future) Android KitKat support
entropy tweaks
Changelog Stable v1.0 (April 06 2014)
Fix whrong Battery Percentage being displayed ( % )
Fix whrong Battery sensor temperatures being displayed
VM_MAX_READAHEAD is now set to 1024kbytes
Tweak vm dirty ratios (thanks to varun.chitre15)
Compile vfp with neon (thanks to varun.chitre15)
Changelog Beta v2 (March 30 2014)
Re-work battery related issues
Changelog Beta v1 (March 29 2014)
Compiled Today
Insecured
Persistent ADB
Compiled using GCC 4.6 ToolChain
zImage Compression changed from GZIP to LZMA
VM MAX READAHEAD changed from 128 to 512 Kb
Removed debug Sh##
​
Bugs
- You tell me​
Some Features of the Custom Kernel (Check ChangeLogs for all features...)
Kernel Sources Upstream from 3.4.0 -> 3.4.11 (common)
Insecured
Persistent ADB
Compiled using GCC 4.9.1 LINARO-Cross Optimized Cortex a9 ToolChain
zImage Compression changed from GZIP to LZMA
Ported and Merge the following ThunderZap 2.0 Kernel features:
Cortex A9 optimizations
Neon optimizations
Increased the kernel timer from 100==>300
Removed old SHA1 routines
Dynamic Filesync Control 2.0
Dynamic Management of Dirty page writeback
Undervolted complete chipset by 66.66mV[Milli-Volts]
Lock initial TCP window size to 64k (Improves network ping and output)
Faster NOATIME and NODIRATIME mounting flags
Disabled Gentle Fair Sleepers
Enabled ARCH_POWER
Asynchronous I/O latency to a solid-state disk greatly increased
Patches to prevent depleting Entropies
Reduced Android Logger size
Optimized AES and SHA1 routines
Lowered Log Buffer shift
Various EXT4 Filesystem patches from android_kernel_common
Plugged memory leaks to cpufreq driver from upstream
Optimizations to SLUB memory allocator
Decreased CPU transition latency
Removed all debugging shi**
Proportional Rate Reduction for TCP - Google
Optimized swahb32() byteswap helpers
Compiled vfp with neon
Tuned CFS parameters
Reduced vfs cache pressure size
Optimized VM dirty ratios
Optimizations to Android Low Memory Killer
Optimized CFQ scheduler
Ported and Merge the following Unified BindassBoost Kernel features:
Governors: Sakuractive ; Nightmare; Interactivex; Zzmoove; Hotplug; Lulzactiveq; SmartassH3; Hybrid; Ondemand; Userspace; Powersave; Pegasusq; Performance
IO Schedulers: Noop; Deadline; Cfq; Sio; Fifo; Fiops; Row; Vr; Zen; SioPlus
Updated kernel with Overclocking Feature - Thanks to bindassdost For MTK SmartOC and benoitm974 for his work on adding OC feature to an MTK device
Other Features :
(JB 4.2.2) Fixed Auto-Brightness, fully working now
(JB 4.2.2) Improved GPS
hrtimer: Introduce effective timer slack
mm: pmd_read_atomic: fix 32bit PAE pmd walk vs pmd_populate SMP race
raid5: delayed stripe fix
Optimized ARM RWSEM algorithm - Thanks to faux123
fs: switch do_fsync() to fget_light()
jbd2: optimize jbd2_journal
ext4: speed up truncate/unlink by not using bforget() unless needed
af_unix: speedup /proc/net/unix
binder.c Patch for (future) Android KitKat support
entropy tweaks
​
GPL Compliance:
Kernel 3.4.11
GitHub Repo
I do respect the GPL, but using someone else's work without proper credits is just LACK OF RESPECT.
The inclusion of this kernel in your ROMS is NOT allowed.
Instead add a link to my kernel thread as a recommendation on your thread.
I Don't support KANGS!
So please Show some respect, when using my commits, as well as the commits i added from other Dev's (with proper credits/ git authorization)
Fail to comply and i will drop this project
​
Credits:
superdragonpt
lingfude For dumping and fixing the GT818B TouchScreen Driver / other commits
varun.chitre15 For his Awesome work on ThunderZAP kernel (ported his features)
bindassdost For his Awesome work on Unified BindassBoost kernel (ported his Patched IO / Govs)
benoitm974 For discovering the MeM PLL's Overclock on MTK 6577
Christopher83 For his awesome ToolChains
All (common) kernel contributors | www.kernel.org for keeping Linux / Android alive
I would also like to thank:
Dr-Shadow, for always being available to clear my doubts.
bgcngm, for the MTK unpack / repack kernel scripts
XDA:DevDB Information
[KERNEL] ZTE v970 / v970m (MT6577), Kernel for the Android General
Contributors
superdragonpt
Source Code: https://github.com/dragonpt/Kernel_3.4.11_JB_ZTE_v970
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.4
Stable Release Date: 2014-06-21
Beta Release Date: 2014-03-30
Created 2014-03-29
Last Updated 2014-11-28
How to Flash
On recovery: (No need to wipe anything)
Just Flash the desired Kernel version.
It wont afect the rom, or your userdata.
But Just in case, make an full backup before flash
Download
Kernel Download is now available in the XDA: DEVDB "Download" Section.
F.A.Q. :
How can I change I/O Schedulers and Governors?
You can use the No-frills CPU Control APP from the PlayStore to switch bettwen then.
What's the Best Governor / I/O Scheduler?
Depends on your needs (Performance; Powersaving; etc)
An good resource, check this This Thread or Just Google it ...
How to Overclock my Device?
Download the attached app (THANKS bindassdost):
1: Add BBoost Game Mode widget to homescreen
2: The app widget behaves as toggle button to switch between stock and overclock (Overclock don't survive reboot)
Don't open the BBoostManager app, what you will be using its his WIDGET.
reserved
Thank you! so much!!
Flashing and testing!
Thanks for the work! What possibilities does the new kernel?
Regards.
---------- Post added at 08:23 PM ---------- Previous post was at 07:28 PM ----------
Problems when the charger is connected, does not recognize that is charging me and I do not know, if indeed it is doing.
Regards.
etijer said:
Problems when the charger is connected, does not recognize that is charging me and I do not know, if indeed it is doing.
Regards.
Click to expand...
Click to collapse
Hi there
Thanks for the feedback, please refer (and the others, when replying) what JB version are you using?
The JB 4.1.1 or JB 4.2.2.
Im using the 4.2.2, and yes it doesn't display that its charging sometimes, but he IS charging.
If you powered off your device you'll see that it is charging.
Also you should see the RED Led, that indicates that's charging
Also sometimes the battery percentage may display wrong values.
Regards, and thanks for testing
superdragonpt said:
Hi there
Thanks for the feedback, please refer (and the others, when replying) what JB version are you using?
The JB 4.1.1 or JB 4.2.2.
Im using the 4.2.2, and yes it doesn't display that its charging sometimes, but he IS charging.
If you powered off your device you'll see that it is charging.
Also you should see the RED Led, that indicates that's charging
Also sometimes the battery percentage may display wrong values.
Regards, and thanks for testing
Click to expand...
Click to collapse
Kernel should fix the "clash of clans" problem on Jb 4.1.2?
I use 4.2.2 and sure enough, the battery is charging. Having trouble to correctly display the battery percentage. There is possibility to add governors to kernel? Keep it up.
Regards.
etijer said:
I use 4.2.2 and sure enough, the battery is charging. Having trouble to correctly display the battery percentage. There is possibility to add governors to kernel? Keep it up.
Regards.
Click to expand...
Click to collapse
I may add governors and IO schedulers in the future.
But first lets fix these last issues.
Thanks
Beta 2 is Uploaded
EDIT: I've repack the kernel, for JB 4.1.1 users also
Just choose the correct version
Make an full backup on Recovery
Flash The kernel
Reboot
Please test it, and later you can revert back your stock kernel/data by restoring CWM Backup
If your battery Percentage (%) is frozen, reboot to recovery and wipe cache and dalvik again.
Regards
Fixed problems with loading and show battery percentage. I will continue testing stability and others. Good job. Thank you.
Regards.
etijer said:
Fixed problems with loading and show battery percentage. I will continue testing stability and others. Good job. Thank you.
Regards.
Click to expand...
Click to collapse
Thanks for The feedback.
EDIT: New instructions on OP
Hi.
Progress bar from stock browser looks fuzzy. (tested with beta1, JB 4.2.2)
rj2k said:
Hi.
Progress bar from stock browser looks fuzzy. (tested with beta1)
Click to expand...
Click to collapse
Hi
Thanks for The Report.
Follow The instructions, and test beta2.if you can.
Regards
superdragonpt said:
Hi
Thanks for The Report.
Follow The instructions, and test beta2.if you can.
Regards
Click to expand...
Click to collapse
<JB version 4.2.2>
Stock browser bar OK with beta2.
Charger still not recognized. Battery widget shows charging animation but battery app show not charging.
I'll full charge with phone off then flash kernel and report later.
just to add more test info:
GPS OK
Bluetooth OK
Wifi OK
3G OK
Keep up the great work, superdragonpt!
Can someone with the internacional Dual-SIM version confirm what's your battery values?
Check if they are exactly like this:
1600 mAh (6.0Wh)
3.7v
4.2v
Regards
will this fix Pink Tint in Camera in 4.2 JB Based ROMs?
battery
superdragonpt said:
Can someone with the internacional Dual-SIM version confirm what's your battery values?
Check if they are exactly like this:
1600 mAh (6.0Wh)
3.7v
4.2v
Regards
Click to expand...
Click to collapse
I have one:
1600mAh
6.0 Wh
nominal 3.7V
charge up 4.2V
Vipuldj said:
will this fix Pink Tint in Camera in 4.2 JB Based ROMs?
Click to expand...
Click to collapse
Hopefully yes... If no one else will test it, I'll try to do complex tests on Saturday/Sunday. My camera is currently not working anyway because of my failed kernel builds that didn't even boot.
superdragonpt said:
Can someone with the internacional Dual-SIM version confirm what's your battery values?
Check if they are exactly like this:
1600 mAh (6.0Wh)
3.7v
4.2v
Regards
Click to expand...
Click to collapse
I've ordeder my phone from HK (so it's most probably the "international" version) and the values are the same.
Also please check my old repo against adding governors - it's very easy but important, current governor (mtk's hybrid) uses too much battery. If you want, I can create a push request
Conny said:
I have one:
1600mAh
6.0 Wh
nominal 3.7V
charge up 4.2V
Click to expand...
Click to collapse
Thanks, seems the battery is the same on both variants (single and dual SIM)
akkenoth said:
I've ordeder my phone from HK (so it's most probably the "international" version) and the values are the same.
Also please check my old repo against adding governors - it's very easy but important, current governor (mtk's hybrid) uses too much battery. If you want, I can create a push request
Click to expand...
Click to collapse
Adding Govs and IO isn't hard at all, i have alot of goodies to release into the kernel, i just dont want to add too much "junk" right now, before i get this last issues fixed
Then i can start with the addicional goodies, after that AND if all goes well, i can start working on an second kernel variant to fix the camera on 4.2 roms.
The priority was to have an kernel (and working sources) for this device
And of course, you are always welcome to help/test.
Thanks

KERNEL | CM13 / AOSP | 24th July | HalogenKernel R29 | UBER TC 6.0 | AROMA | 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 Recommended Settings please SEE HERE.
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.
If you don't know what Doze is, google it.
WHAT IS THIS KERNEL ?​This kernel is built especially for these 3 things :- 1. Audio, 2. Performance, 3. Battery Life.
I will try to bring in as many features as possible, and at the same time ensure that there are no conflicts / incompatibility issues.
FEATURES :-​(features of ONLY the latest version is mentioned)​
Based on Linux Kernel 3.4.42
AROMA installer v3.0
Updated with the latest CM13 sources
Built with UBER Toolchain GCC-6.0
Any Kernel script used
Kexc Hardboot patched
Built with -O3 & -graphite flags for enhanced performance
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam (thanks to @attack11)
Implemented LoUIS cache
Audio :-
Faux Sound Control v3.2
Headset in high performance profile
24 bit audio support
Low latency audio playback
Slimbus overclocking for superior audio quality
DOLBY dap dependency fix
Ultrasound & ASoC : qdspv2 tweaks
Battery Saving/ Performance :-
Readahead set to 512
Set sched_mc_power_savings to 2
Enabled CPU boost
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 886 Mb
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
Many tick, clockevents & timer tweaks (see GitHub)
Lower swappiness
msm:kgsl tweaks(see GitHub)
CPU Governors :-
intelimm, intellidemand, intelliactive, smartmax, conservative, ondemand, userspace, powersave, performance, interactive, impulse, yankactive, zzmoove
CPU Hotplugs :-
Intelliplug, MSM Hotplug, mp-decision, Bricked Hotplug
GPU Governors :-
msm-cpuferq, msm-adreno-tz, userspace, powersave, performance, simple_ondemand, conservative.
I/O Schedulers :-
fiops, vr, zen, sio, bfq, cfq, row, deadline, noop, fifo, tripndroid
TCP Congestions :-
westwood, cubic, reno, hstcp, hybla, vegas, veno, scalable, lp, yeah, illinois, hctp, advanced, highspeed.
Others :-
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
Increase torch power by 20mA
psx2usb
KCAL v2 by Savoca
Added Adreno Idler
GPU tweaks (see GitHub)
Dynamic FSync
Intellithermal v2
Added optimized square root algorithm
Added optimized ARM_RWSEM algorithm
Added state notifier driver
Enabled quick wakeup
NOATIME and NODIRATIME as default
NEON kernel mode
Ex-FAT support
SE Linux tweaks
SE Linux set to permissive
Random / Frandom / Prandom tweaks
Entropy tweaks
Mutex & futex tweaks
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 Motrola's Kernel, this kernel will also be updated.
Further, I will also be personally adding features to this kernel along with tweaks and optimizations as and when needed.
DOWNLOADS :-​(do not mirror my links)​[ Latest Version ]​[ Older Versions ]​
TEST BUILDS with OC & UV :-​These builds contain the following extra features ( when compared to normal /stable builds ) :-
CPU OC to 1593.6 MHz
CPU UC to 96 MHz
CPU UV hardcoded and can't be changed
Associated RamDisk changes
Since OC will not work without associated ramdisk changes, hence test builds are available as boot images rather than anykernel zips.
Now there had been reports of bootloop with blisspop & rr roms and certain other roms. I looked into this and found out that even though they are based on cm kernel, their ramdisk sizes are different, hence bootloop on using boot.img but no bootloop on using anykernel zip ( since, anykernel works irrespective of ramdisk size).
Now it is highly unfeasible to build a boot.img for every different rom and upload them separately. Hence, I have decided NOT to include OC/UC in the stable builds.
Hence these images will only work on aosp and cm13 roms.[/I] Any rom having ramdisk size different than that of official cm13 or official slim(aosp), will not be supported. Hence no support for OC in rr/bliss.
INSTALLATION INSTRUCTIONS :-​
Reboot into recovery.
Make a nandroid BackUp.
Select Install zip from SD Card.
Select the Downloaded zip (different builds are present as an option in AROMA).
Then Reboot to System.
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.
XDA:DevDB Information
HalogenKernel, Kernel for the Moto G 2014 LTE
Contributors
zakee94
Source Code: https://github.com/zakee94/halogen_kernel/
Kernel Special Features: Ultra High SOUND, Kexec, KCAL, Intellithermal, MSM Hotplug
Version Information
Status: Alpha
Current Stable Version: R29
Stable Release Date: 2016-07-24
Created 2016-02-02
Last Updated 2016-07-24
Changelog
CHANGELOG​(simplified changelog, for full changelog please look at my GitHub commits.)​​​
R29 --> 24/07/2016​
Merged CM Updates
For older changelogs :-​
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​
Initial Release
Reserved
... flashed this kernel - and works like a charm!
Thanx!
As a POSITIVE side effect after flashing this kernel, my LTE connection stays as stable, as I had it never before:good:
bitstra said:
... flashed this kernel - and works like a charm!
Thanx!
Click to expand...
Click to collapse
Thanks for the positive review !
bitstra said:
As a POSITIVE side effect after flashing this kernel, my LTE connection stays as stable, as I had it never before:good:
Click to expand...
Click to collapse
There are certain commits which improves and stabilizes cellular connectivity.
It works very well!
The overclocking is overvolting the CPU? Or it just changes the frequencies?
LuuchoRocha said:
It works very well!
The overclocking is overvolting the CPU? Or it just changes the frequencies?
Click to expand...
Click to collapse
It's using more voltage. Look here.
Speed and stability are amazing but Camera app can't find the camera anymore. Any advice?
---------- Post added at 02:34 PM ---------- Previous post was at 02:13 PM ----------
Also any suggestions on best TCP settings for speed?
t-pip said:
Speed and stability are amazing but Camera app can't find the camera anymore. Any advice?
---------- Post added at 02:34 PM ---------- Previous post was at 02:13 PM ----------
Also any suggestions on best TCP settings for speed?
Click to expand...
Click to collapse
You shouldn't face any issues with camera, which ROM are you on ??
For TCP try Westwood.
Hello,
Will be possible to make it for CM12, if I install, the camera stops to work, the rest work perfectly.
Thanks,
Sent from my Moto G 2014 LTE using XDA Free mobile app
zakee94 said:
You shouldn't face any issues with camera, which ROM are you on ??
For TCP try Westwood.
Click to expand...
Click to collapse
Thanks for the reply.
I'm running AOSP 5.1.1
todobarato said:
Hello,
Will be possible to make it for CM12, if I install, the camera stops to work, the rest work perfectly.
Thanks,
Sent from my Moto G 2014 LTE using XDA Free mobile app
Click to expand...
Click to collapse
t-pip said:
Thanks for the reply.
I'm running AOSP 5.1.1
Click to expand...
Click to collapse
This kernel is strictly for marshmallow based roms only.
However if you want to use it on lollipop based roms try an older version.
You can download it HERE.
zakee94 said:
This kernel is strictly for marshmallow based roms only.
However if you want to use it on lollipop based roms try an older version.
You can download it HERE.
Click to expand...
Click to collapse
Will give that a go. From what I could see yesterday this version worked fine with Lollypop apart from the camera.
Edit
Seems that kernel won't run the processor any faster than 787.
Is there any chance of updating to include over clock or modding current version to work with Lollypop camera?
t-pip said:
Will give that a go. From what I could see yesterday this version worked fine with Lollypop apart from the camera.
Edit
Seems that kernel won't run the processor any faster than 787.
Is there any chance of updating to include over clock or modding current version to work with Lollypop camera?
Click to expand...
Click to collapse
No.
I'm kinda curious, the title says Moto G, but will this work for Note 1 running CM13?
roimarco said:
I'm kinda curious, the title says Moto G, but will this work for Note 1 running CM13?
Click to expand...
Click to collapse
Are u serious? Of course it won't.
Hello,
The kernel is broken, with last nighty.
In cm13 was updated the Wi-Fi , now if I install the kernel Wi-Fi is inoperative.
Best regards,
Sent from my Moto G 2014 LTE using XDA Free mobile app
Kernel Updated​[ DOWNLOAD ]​
For details CLICK HERE.​
Thanks a lot, Wifi is fixed now. Your kernel is really awesome. A few tweaks and battery life is stellar, such as performance. Thanks

[Kernel][GPL][K-N][Falcon][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][Falcon][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP], Kernel for the Moto G
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 2016-08-01
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
thanks man trying !
ralp88 said:
thanks man trying !
Click to expand...
Click to collapse
Okay ! Awaiting for you feedback!
I thought @kwoktopus made the tutorial thread..? :silly::silly::silly:
kwoktopus said:
I thought @kwoktopus made the tutorial thread..? :silly::silly::silly:
Click to expand...
Click to collapse
LOL Sorry i will update
REALLY A BIG THANKS TO YOU BRO!
BryanByteZ said:
LOL Sorry i will update
REALLY A BIG THANKS TO YOU BRO!
Click to expand...
Click to collapse
You're welcome! Great to see people taking steps into development!
New kernel, woohoooo:good::good::victory::victory: thanks bro, i test on Dirty Unicorns
willizambrano01 said:
New kernel, woohoooo:good::good::victory::victory: thanks bro, i test on Dirty Unicorns
Click to expand...
Click to collapse
Nice! Awaiting for feedback!
BryanByteZ said:
Nice! Awaiting for feedback!
Click to expand...
Click to collapse
Great kernel! Smooth, fast and stable, autosmp hotplug please ... waiting of good experience battery
willizambrano01 said:
Great kernel! Smooth, fast and stable, autosmp hotplug please ... waiting of good experience battery
Click to expand...
Click to collapse
Thanks! Sure autosmp!
Just a headsup people based on commit of SLATE21&MOTOG i fixed the flicker issue of KK ROMs on Lollipop bootloaders.
I just need to repair WiFi (thanks to my script) and i will upload it soon.
So a bin thank you to @SLATE21&MOTOG.
Sorry double post. Slow net speed here.
lol great xD can you add dynamic fsync, zzmoove and Overclock/underclock.
Chofito said:
lol great xD can you add dynamic fsync, zzmoove and Overclock/underclock.
Click to expand...
Click to collapse
I will look it, currently i trying to fix wifi in cm11 version and kexec and some more govs on cm13 and possible add DT2W since my power button is not that good.
New build on! for cm13 just a minor script optimization.
For cm11
v0 - CM11
Stock CM11 kernel with lastest sources and patched to work WiFi,Bluetooth and NO [email protected]!
New kernel, lol :highfive:
Smooth and fast on Resurrection Remix
+1
Nice work, buddy.
willizambrano01 said:
Great kernel! Smooth, fast and stable, autosmp hotplug please ... waiting of good experience battery
Click to expand...
Click to collapse
Ohhhhh yeaaahhhh,.. simple use with wifi and without mobile data, automatic brightness, very good :good::good::good:

[Kernel][GPL][K-N][Thea][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][Thea][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP], Kernel for the Moto G 2014 LTE
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
Interesting, Ill check it out later. Btw, is there any difference between Thea and Titan kernels at all?
Arcline said:
Interesting, Ill check it out later. Btw, is there any difference between Thea and Titan kernels at all?
Click to expand...
Click to collapse
Well since Thea doesnt have a defconfig I used the same of Titan, should work fine. They all are MSM8226 SoC's.
Better RAM management for FALCON/PEREGRINE/TITAN/THEA big 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]
Just flashed the kernel on thea running the latest nightly of LOS. How to enable DT2W ? Tried with Synapse, but everytime I enable the option and lock the screen, the device just reboots. The display type of my XT1072 is mdss_dsi_mot_inx_720p_video_v0.
danielbraileanu said:
Just flashed the kernel on thea running the latest nightly of LOS. How to enable DT2W ? Tried with Synapse, but everytime I enable the option and lock the screen, the device just reboots. The display type of my XT1072 is mdss_dsi_mot_inx_720p_video_v0.
Click to expand...
Click to collapse
Yep I aware of this, is happening on Titan too when I have time I will look. Can you grab me some logs?
Thanks!
Sent from my Xiaomi Redmi 4A using XDA Labs
Can't make Synapse to work again, will provide logs if I figure out Synapse...also Google keyboard seems to have a problem launching after flashing the kernel
L.E: Got it working... here's the logcat. zipped it because txt exceeded max allowed size
danielbraileanu said:
Can't make Synapse to work again, will provide logs if I figure out Synapse...also Google keyboard seems to have a problem launching after flashing the kernel
L.E: Got it working... here's the logcat. zipped it because txt exceeded max allowed size
Click to expand...
Click to collapse
Thanks I will analyze on free time. You can use unified synapse the link is on OP.
Sent from my Xiaomi Redmi 4A using XDA Labs
Hi, i don't speak english, sorry for the language/grammar mistakes
I flash this kernel (R4 for cm12.1) on the last build of official Cyanogenmod 12.1 in thea model (cm12-20151129-nightly) and the camera doesn't work. I don't know how make a logcat, but if reflashing with stock kernel of this cm12.1 build, the camera works again.
any solution?
Thanks for this great kernel Bryan
Thea0152 said:
Hi, i don't speak english, sorry for the language/grammar mistakes
I flash this kernel (R4 for cm12.1) on the last build of official Cyanogenmod 12.1 in thea model (cm12-20151129-nightly) and the camera doesn't work. I don't know how make a logcat, but if reflashing with stock kernel of this cm12.1 build, the camera works again.
any solution?
Thanks for this great kernel Bryan
Click to expand...
Click to collapse
Use this tutorial to make a logcat:
https://forum.xda-developers.com/showthread.php?t=1726238
this logcat is of AOSP 5.1.1 of LuK1337
https://basketbuild.com/filedl/devs.../F-AOSP/thea/AOSP-5.1.1-20150916-thea-luk.zip
The kernel works fine, but have the same problem of cm12.1 , the camera not works
Sorry for the bad english
The log is generated with App Logcat extreme
Thea0152 said:
Hi, i don't speak english, sorry for the language/grammar mistakes
I flash this kernel (R4 for cm12.1) on the last build of official Cyanogenmod 12.1 in thea model (cm12-20151129-nightly) and the camera doesn't work. I don't know how make a logcat, but if reflashing with stock kernel of this cm12.1 build, the camera works again.
any solution?
Thanks for this great kernel Bryan
Click to expand...
Click to collapse
danielbraileanu said:
Use this tutorial to make a logcat:
https://forum.xda-developers.com/showthread.php?t=1726238
Click to expand...
Click to collapse
Thea0152 said:
this logcat is of AOSP 5.1.1 of LuK1337
https://basketbuild.com/filedl/devs.../F-AOSP/thea/AOSP-5.1.1-20150916-thea-luk.zip
The kernel works fine, but have the same problem of cm12.1 , the camera not works
Sorry for the bad english
The log is generated with App Logcat extreme
Click to expand...
Click to collapse
Logcat is not the log that I expected (kernel log is dmesg and last_kmsg) andi didn't messed with camera (KSM in kk days always bug camera LoL) in anyway but I've added to my analyzes to do and flr curiosity in stock/others kernel or other custom ROMs is working?
And thanks for the feedback!
PS: Did you have tried other camera app?
Sent from my Motorola Moto G using XDA Labs
BryanByteZ said:
Logcat is not the log that I expected (kernel log is dmesg and last_kmsg) andi didn't messed with camera (KSM in kk days always bug camera LoL) in anyway but I've added to my analyzes to do and flr curiosity in stock/others kernel or other custom ROMs is working?
And thanks for the feedback!
PS: Did you have tried other camera app?
Click to expand...
Click to collapse
I only test this kernel in cm12 and aosp 5.1.1. I try with others camera app (google cardboard and open source camera, both are of the play store) and don't work on aosp.
in the night i try make a kernel log
Thanks for this fantastic kernel.
Good Work Man, thanks for saving our device!!!
Bom trabalho mano, obrigado por salvar nossos celulares!!!
Does this work on 7.1.2? I don't think there is another kernel for it for this phone anymore.
FlappyFalcon said:
Does this work on 7.1.2? I don't think there is another kernel for it for this phone anymore.
Click to expand...
Click to collapse
It should, in case of not the script makes a backup of old boot.img but for sure make a backup first.
Feedback is appreciated.
Sent from my Xiaomi Redmi 4A using XDA Labs
fail to boot
In the rom darkness redefined (7.1.2) after i flash the kernel, when i try to boot, return to bootloader screen with the message "fail to boot". What i have to do?
lucasecto said:
In the rom darkness redefined (7.1.2) after i flash the kernel, when i try to boot, return to bootloader screen with the message "fail to boot". What i have to do?
Click to expand...
Click to collapse
Probably old kernel. Restore your backup or flash with TWRP the old kernel img that my script backup.
Sent from my Xiaomi Redmi 4A using XDA Labs

Categories

Resources