CM12.1(based)][Z2 TABLET][5.1.1]M5 Kernel - Xperia Z2 Tablet 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"
}
I am NOT resposible for any damage done to your device, your neighbor, or any other things you like/hate.​
Introduction:
About:
This Kernel is a port from the Z2/Z3/Z3C M5 Kernel based on the official CM12 kernel. It should work with any Rom using the stock CM kernel too (Like Carbon and Liquid). I'm mainly using PAC 5.1, and it's working sweet so far!
Installation Instruction:
THIS DOES ONLY WORK ON UNLOCKED BOOTLOADER!
CM Recovery not supported!
When you're on CM/a CM based Rom:
Flash the zip file in recovery
When coming from Stock:
Flash the boot.img included in your ROMs zip file using fastboot. Flash a CM based Rom then and flash the Kernel zip file again as the Rom overrides the Kernel.
Download:
M5 Kernel (Release Versions)
https://dl.myself5.de
M5 Kernel (Test Versions)
https://testing.myself5.de
Thanks/Credits:
Myself5 for making this kernel in the first place!
DooMLoRD (and therefore all guys he thanked listed below) - for a lot of Commits
FreeXperia Team (especially Jerpelea) - for too many things!
Kali- - to help get the correct dtbTool parameters for a bootable kernel
Faux123 - for lots of patches, you rock dude!
koush & all CyanogenMod maintainers - for too many things!
Dees_Troy & TeamWin - for their excellent work on TWRP Touch Recovery
Phil3759 - for his excellent work on PhilZ Touch Recovery
myfluxi - for a lot of great patches
flar2 - for a lot of great patches
dbolivar- toolchain fixes
FranciscoFranco - for Cortex-A15 optimizations, bunch of other things!
CarbonRom Team - for too many things!
vishal-android-freak - for too many things!
phaseburn - for being a good friend and helping me with almost everything !
sreinst1 - for too many things!
infected_ - for help with SM!
pec0ra - for fast_hotplug
AndroPlus - for too many things!
sparksco - for the SaberMod Toolchain
YoshiShaPow and Frap129 - for SaberNaro Toolchain
Team AOSPAL - for the Kernel Optimizations
If I forgot you, please tell me.
To donate to Myself5:
​
XDA:DevDB Information
M5 Kernel, Kernel for the Sony Xperia Z2 Tablet
Contributors
Myself5
XDA:DevDB Information
M5 Kernel for Z2 Tablet, Kernel for the Sony Xperia Z2 Tablet
Contributors
rcstar6696, Myself5
Kernel Special Features:
Version Information
Status: Alpha
Created 2015-09-11
Last Updated 2016-07-01

Latest Version: V11.2
Changelog:
Version 1:
Initial Z2 Release
Introduce Optimized Buildflags in order to build with SaberMod 4.9
Add Intelliplug
Add Fastcharge
Add new CPU Govs: wheatley, Smartassv2 LionHeart, Lagfree, Intelliactive
Add new I/O Sheduler BFQ, fiops, SIO
Add Faux123 Sound Control
GPU OC to 657MHz, Idle on 27MHz and add 100MHz Step
Version 1.2
Fix D2W
Add fast_hotplug CPU Hoplug
Version 2:
Implement kexec-hardboot -> this allows the usage of MultiROM
CPU OC over 2.9 GHz -> We now can OC up to 3.03GHz
Version 3:
Add CPU Govs Intellidemand, smartassH3 and adaptive
Add IO Sheds VR, ZEN, SIO-Plus and tripndroid
Add Custom Logo
Fix simple ondemand GPU Gov and add conservative
Version 4:
Add 268MHz CPU Step -> CPU can now idle on lower CPU freq and save battery
Add Alucard Hotplug and CPU Gov
Add ElementalX Gov
Revert OC Ability to 3GHz -> 3GHz was just not stable
Add KCAL support
Add F2FS Support
Initial Z3 Bringup
Version 5:
Add Bricked Hotplug
Add new CPU Govs Alucard, HYPER, OndemandPlus, Nightmare, Darkness, PegasusQ, Smartmax
Remove F2FS Support again -> Seems not to be very stable
Version 5.1:
Revert Custom Bootsplash -> together with the new Display Drivers it made the device not to boot anymore
Version 6:
Fix for Z3* Touch in MultiROM -> updated Clearpad Touch Driver
Initial Z3 Compact bringup
Version 7:
Add slim and zzmoove CPU Gov
Initial Z1 Compact bringup by @oshmoun
Enable F2FS Again
Update Alucard, Darkness and Nightmare Govs
Update BFQ I/O Shed
Update Alucard Hotplug
Rebase IntelliPlug to faux123's latest Version
Version 8:
Fixed F2FS, thanks to @Hazou
Finally implement Intelli_Termal V2, thanks to @someone755 and @oshmoun
Updated alcurd, nightmare, darkness
Version 9:
Initial Z1 bringup by @oshmoun and @Langes
Kernel Zip is now based off AnyKernel2 by @osm0sis, this allows the installation on every Rom using CM Kernel, even if it has a different Ramdisk than CM, like Mokee and Slim
Version 10:
Initial Bringup for Sony Xperia Tab Z2 (LTE and Wifi) thanks to @rcstar6696
Fix Kernel install issues with AnyKernel2
Display Kernel Version in Settings (Change Localversion from M5-Kernel to M5-Kernel-*VERSION*
Add Adreno_idler
Update zzmoove to Version 1 Beta 8
Fix a bunch of Display issues (like Black lines) on Z1C
Add mac80211 injection patch and HID patch for keyboard support
Version 10.2:
Fix Soft Reboots on rhine devices
Add Oneshot Sync
Tweak kgsl
Fix loading of LZMA Compressed Recoverys
Version 11:
Probably the last 3.4 M5 Kernel release, we will start working on M5 Kernel based on the Sony 3.10 AOSP Kernel soon.
Merge CM Upstream (Includes merge of Sony 23.4.A.1.200/23.4.A.4.6)
Fix static noise on high-end headphones
Various zRAM fixes and improvements
Merge of Linux Kernel upstream to get the kernel base to 3.4.111 (latest 3.4 Kernel available)
@tomascus rules.
Version 11.1:
Fix sound again by reverting the previous sound fixes
Version 11.2:
Recompile Kernel because thanks to the Server failure we lost some of the V11.1 builds.
All Versions since V4:
Support for LZMA compressed Recoveries like MultiROM TWRP (http://review.cyanogenmod.org/#/c/89057/)
[Only for V*-Permissive] SELinux Permissive for use with Xposed Framework (http://review.cyanogenmod.org/#/c/78551/)
All Version included the newest CM Upstream Changes from the Day they got compiled. Version which are not mentioned explicitly did only include a CM Upstream update.
For a detailed Changelog, check the Github Commit history:
Lollipop
https://github.com/Myself5/android_kernel_sony_msm8974/commits

No Reply ? Whats wrong has anyone test the kernel ??
Enjoy it

I'm using it now on my tablet with the latest tesla build and it works great. Is this the kernel in your pac build?

Frostbiter said:
I'm using it now on my tablet with the latest tesla build and it works great. Is this the kernel in your pac build?
Click to expand...
Click to collapse
Yes PAC includs the M5 Kernel but you can use the kernel on all Cm based Roms

10.1 is up
Hey guys, I managed to find some free time, and finally compiled and uploaded a 10.1 Build. Basically it only includes CM Upstream commits (about 200 of them), and should work flawless with the newest CM builds, I am running it with the OFFICIAL 20151016 release of Carbon ROM on my Z3 here (excuse me, but some advertisement needs to be placed ). I hope you enjoy it
Regards

Installed it on CM 12.1 first look runs smoothly and quick

V10.2
Hey guys,
V10.2 is currently compiling, you can check the progress here: http://myself5.de:12345/job/M5Kernel All Devices/
It's basically a bug/derpfix build, but also added some new under the hood changes.
Changelog:
Fix Soft Reboots on rhine devices
Add Oneshot Sync
Tweak kgsl
Fix loading of LZMA Compressed Recoverys
Regards

Myself5 said:
V10.2 is currently compiling, you can check the progress here:
Click to expand...
Click to collapse
Playing around with the kernel on CM
Looks like smooth and stable
Want to change CPU govenour with tasker from Wheatley to elementalx when playing special games.
Tasker says he can set on CPU 0 and 1 the govenour, but not on CPU 2 and three. There is no govenour selection on CPU 1 and 2 avaiable in Tasker

I give my the answer myself
Kernel Audiotor have Tasker plugin support..so its much easyer with this and it works

@rcstar6696
Any chance of a new kernel based on Sony 23.4.A.1.200/23.4.A.4.6
http://review.cyanogenmod.org/#/c/128679/

V11 is compiling
Hey folks,
I just started the build of V11. It contains considerably most of the changes done till now, @tomascus did a very good work with that. He merged Linux Kernel upstream up to 3.4.111, which is the newest 3.4 Kernel available. We ofc also merged the CM upstream, and tomascus also merged some improvements to f2fs and zRAM. In addition to that Eyenseo fixed the static noise on highend headphones. In addition to that, I'd like to welcome Eyenseo and tomascus to the team, they will maintain the Z2 (as I sold mine recently) and tomascus, who will maintain the Z1 (we were looking for a Z1 maintainer since quite a while).
Furthermore, we'd like to announce that this might be the last 3.4 M5 Kernel build (unless we find some time to keep it updated for LP). The reason is: M will use the Sony AOSP trees and the 3.10 Kernel. Hence we are going to start working on a 3.10 based M5 Kernel as soon as we can, in order to be ready once M builds are released. (Which should be soon)
You can see the current build progress here: http://myself5.de:12345/job/M5Kernel All Devices/
Changelog Version 11:
Probably the last 3.4 M5 Kernel release, we will start working on M5 Kernel based on the Sony 3.10 AOSP Kernel soon.
Merge CM Upstream (Includes merge of Sony 23.4.A.1.200/23.4.A.4.6)
Fix static noise on high-end headphones
Various zRAM fixes and improvements
Merge of Linux Kernel upstream to get the kernel base to 3.4.111 (latest 3.4 Kernel available)
@tomascus rules.

Myself5 said:
Hey folks,
I just started the build of V11.
Click to expand...
Click to collapse
Just wanted to say: great kernel and thank you for your hard work.
Just got a Z2 and immediately switched to CM12.1 along with your kernel and the smoothness and battery life are great!
Sent from my Xperia Z2 Tablet LTE using Tapatalk

Just a simple question, when deciding which cpu hotplug plugin to choose, do I leave MPdecision always on? It seems like MPdecision alone does not work as a cpu hotplug(4 cores always connected) and other plugins seems to have some kinda dependencies on MPdecision plugin. I would much prefer to use MPdecision alone, but it seems like I have to turn on intelliplug or MSM mpdecision to make hotpluging work.

DDz_1888 said:
Just a simple question, when deciding which cpu hotplug plugin to choose, do I leave MPdecision always on?
Click to expand...
Click to collapse
Only enable one hotplug method...do you enable two or three it is become buggy

Bastlwastl2010 said:
Only enable one hotplug method...do you enable two or three it is become buggy
Click to expand...
Click to collapse
then MPdecision seems to be broken, it never will unplug idling cores. 4 cores are always online.

DDz_1888 said:
then MPdecision seems to be broken, it never will unplug idling cores. 4 cores are always online.
Click to expand...
Click to collapse
Nonessential....
There are different meanings in idle cores while display on, because bring back cores online cost energy.
A good explanation is here, from the author of elementalx:
http://elementalx.org/the-truth-about-kernels-and-battery-life/

V11.1 is coming
Hey folks
After various reports on different devices, we reverted our sound changes for the static noise with headsets. It seemed to cause more issues than it was fixing.
Therefore, our changelog for 11.1 is quite small.
Changelog:
Fix sound again by reverting the previous sound fixes
As always, the build progress can be seen here: http://myself5.de:12345/job/M5Kernel All Devices/

V11.2 is out
Hey Folks,
As some of you know, my Server died recently, including all the data on it. I thankfully meanwhile found a Backup from the 21st of December 2015, but that means that the V11.x builds are gone. Thanks to the community, we got some of the newer builds back, however not all of them (some devices miss V11.1-Permissive for example), which is why I decided to start a new (11.2) build after finish to setup my server. That is now. I also updated the changelog for 11.2, stating it is what it is. A rebuild of 11.1.
Thanks for your patience and lot for the builds you guys had uploaded during the Server downtimes.
Regards,

Hey, thnk you for your work!... But all links are down;( maybee some guys will upload it? Thx
---------- Post added at 05:47 PM ---------- Previous post was at 05:46 PM ----------
Hey, thnk you for your work!... But all links are down;( maybee some guys will upload it? Thx

Related

[KERNEL][CM12.1 (based)][Z3C][GPU+CPU OC][5.1.1]M5 Kernel

{
"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 am NOT resposible for any damage done to your device, your neighbor, or any other things you like/hate.​
Introduction:
This is my first kernel for any Android device. I created it because I want to get the best out of my device. It initially started with some optimizations regarding SaberMod 4.9 compatibility but I tought why not optimize it even more.
About:
This Kernel is based on the official CM12 kernel, therefore it should work with any Rom using the stock CM kernel too (Like Carbon and Liquid). I run it together with Carbon here, all tests I do will also be done using Carbon. The Kernels features will get more with time
Features and Commit History:
Check 2nd Post!
Installation Instruction:
THIS DOES ONLY WORK ON UNLOCKED BOOTLOADER!
When you're on CM/a CM based Rom:
Flash the zip file in recovery
When coming from Stock:
Flash the boot.img included in your ROMs zip file using fastboot. Flash a CM based Rom then and flash the Kernel zip file again as the Rom overrides the Kernel.
Download:
M5 Kernel (Release Versions)
https://dl.myself5.de
M5 Kernel (Test Versions)
https://testing.myself5.de
Thanks/Credits:
DooMLoRD (and therefore all guys he thanked listed below) - for a lot of Commits
FreeXperia Team (especially Jerpelea) - for too many things!
Kali- - to help get the correct dtbTool parameters for a bootable kernel
Faux123 - for lots of patches, you rock dude!
koush & all CyanogenMod maintainers - for too many things!
Dees_Troy & TeamWin - for their excellent work on TWRP Touch Recovery
Phil3759 - for his excellent work on PhilZ Touch Recovery
myfluxi - for a lot of great patches
flar2 - for a lot of great patches
dbolivar- toolchain fixes
FranciscoFranco - for Cortex-A15 optimizations, bunch of other things!
CarbonRom Team - for too many things!
vishal-android-freak - for too many things!
phaseburn - for being a good friend and helping me with almost everything !
sreinst1 - for too many things!
infected_ - for help with SM!
pec0ra - for fast_hotplug
AndroPlus - for too many things!
sparksco - for the SaberMod Toolchain
YoshiShaPow and Frap129 - for SaberNaro Toolchain
Team AOSPAL - for the Kernel Optimizations
Panic Brothers - for sponsoring me a Z3C!
My Big Brother Eric - for helping me keeping focused on Development!
My friends Silas and Max - for letting me use their servers and being awesome!
If I forgot you, please tell me.
If you think I deserve a donation, I won't stop you
Thanks a lot to those who have donated!
Huge Thanks to @Panic Brothers who donated the Z3C to me! You Rock Bro!
​
XDA:DevDB Information
M5 Kernel, Kernel for the Sony Xperia Z3 Compact
Contributors
Myself5
Source Code: https://github.com/Myself5/android_kernel_sony_msm8974/tree/cm-12.1
Kernel Special Features:
Version Information
Status: Beta
Created 2015-05-22
Last Updated 2016-07-01
Changelog
Latest Version: V11.2
Changelog:
Version 1:
Initial Z2 Release
Introduce Optimized Buildflags in order to build with SaberMod 4.9
Add Intelliplug
Add Fastcharge
Add new CPU Govs: wheatley, Smartassv2 LionHeart, Lagfree, Intelliactive
Add new I/O Sheduler BFQ, fiops, SIO
Add Faux123 Sound Control
GPU OC to 657MHz, Idle on 27MHz and add 100MHz Step
Version 1.2
Fix D2W
Add fast_hotplug CPU Hoplug
Version 2:
Implement kexec-hardboot -> this allows the usage of MultiROM
CPU OC over 2.9 GHz -> We now can OC up to 3.03GHz
Version 3:
Add CPU Govs Intellidemand, smartassH3 and adaptive
Add IO Sheds VR, ZEN, SIO-Plus and tripndroid
Add Custom Logo
Fix simple ondemand GPU Gov and add conservative
Version 4:
Add 268MHz CPU Step -> CPU can now idle on lower CPU freq and save battery
Add Alucard Hotplug and CPU Gov
Add ElementalX Gov
Revert OC Ability to 3GHz -> 3GHz was just not stable
Add KCAL support
Add F2FS Support
Initial Z3 Bringup
Version 5:
Add Bricked Hotplug
Add new CPU Govs Alucard, HYPER, OndemandPlus, Nightmare, Darkness, PegasusQ, Smartmax
Remove F2FS Support again -> Seems not to be very stable
Version 5.1:
Revert Custom Bootsplash -> together with the new Display Drivers it made the device not to boot anymore
Version 6:
Fix for Z3* Touch in MultiROM -> updated Clearpad Touch Driver
Initial Z3 Compact bringup
Version 7:
Add slim and zzmoove CPU Gov
Initial Z1 Compact bringup by @oshmoun
Enable F2FS Again
Update Alucard, Darkness and Nightmare Govs
Update BFQ I/O Shed
Update Alucard Hotplug
Rebase IntelliPlug to faux123's latest Version
Version 8:
Fixed F2FS, thanks to @Hazou
Finally implement Intelli_Termal V2, thanks to @someone755 and @oshmoun
Updated alcurd, nightmare, darkness
Version 9:
Initial Z1 bringup by @oshmoun and @Langes
Kernel Zip is now based off AnyKernel2 by @osm0sis, this allows the installation on every Rom using CM Kernel, even if it has a different Ramdisk than CM, like Mokee and Slim
Version 10:
Initial Bringup for Sony Xperia Tab Z2 (LTE and Wifi) thanks to @rcstar6696
Fix Kernel install issues with AnyKernel2
Display Kernel Version in Settings (Change Localversion from M5-Kernel to M5-Kernel-*VERSION*
Add Adreno_idler
Update zzmoove to Version 1 Beta 8
Fix a bunch of Display issues (like Black lines) on Z1C
Add mac80211 injection patch and HID patch for keyboard support
Version 10.2:
Fix Soft Reboots on rhine devices
Add Oneshot Sync
Tweak kgsl
Fix loading of LZMA Compressed Recoverys
Version 11:
Probably the last 3.4 M5 Kernel release, we will start working on M5 Kernel based on the Sony 3.10 AOSP Kernel soon.
Merge CM Upstream (Includes merge of Sony 23.4.A.1.200/23.4.A.4.6)
Fix static noise on high-end headphones
Various zRAM fixes and improvements
Merge of Linux Kernel upstream to get the kernel base to 3.4.111 (latest 3.4 Kernel available)
@tomascus rules.
Version 11.1:
Fix sound again by reverting the previous sound fixes
Version 11.2:
Recompile Kernel because thanks to the Server failure we lost some of the V11.1 builds.
All Versions since V4:
Support for LZMA compressed Recoveries like MultiROM TWRP (http://review.cyanogenmod.org/#/c/89057/)
[Only for V*-Permissive] SELinux Permissive for use with Xposed Framework (http://review.cyanogenmod.org/#/c/78551/)
All Version included the newest CM Upstream Changes from the Day they got compiled. Version which are not mentioned explicitly did only include a CM Upstream update.
For a detailed Changelog, check the Github Commit history:
Lollipop
https://github.com/Myself5/android_kernel_sony_msm8974/commits
Bla bla first bla bla
You don't know how long I've spent F5'ing the Z3C development page lol.
Also
This is my first kernel for any Android device.
Click to expand...
Click to collapse
Don't believe this man, he does great work with kernels on other Xperia devices!
I find it odd though that the kexec page address value for the Z3C differs from the Z3 and Z2 -- got any explanation on that? (My first guess would be that's because it has less RAM but I'm tired and pretty sure that's wrong.)
Great Work man
First of all, thanks a bunch for all your hard work @Myself5!!
Our Z3Cs need a serious kernel, feel like this could be it. I've noticed you uploaded 2 different V6 versions for Z3Cs - normal and permissive? Could you explain the difference?
Thanks again for all your input, and happy flashing everyone.
Cr1ms0n said:
First of all, thanks a bunch for all your hard work @Myself5!!
Our Z3Cs need a serious kernel, feel like this could be it. I've noticed you uploaded 2 different V6 versions for Z3Cs - normal and permissive? Could you explain the difference?
Thanks again for all your input, and happy flashing everyone.
Click to expand...
Click to collapse
Permissive has SELinux mode set to permissive (for usage with XPosed), while the normal one has the stock SELinux Settings, being Enforced.
someone755 said:
Bla bla first bla bla
You don't know how long I've spent F5'ing the Z3C development page lol.
Also
Don't believe this man, he does great work with kernels on other Xperia devices!
I find it odd though that the kexec page address value for the Z3C differs from the Z3 and Z2 -- got any explanation on that? (My first guess would be that's because it has less RAM but I'm tired and pretty sure that's wrong.)
Click to expand...
Click to collapse
Thats totally correct. The Z3C has 2GB RAM compared to the Z2 and Z3 having 3GB. Hence the Positions needed for the kernel inside the RAM Banks are different too -> Different Kexec Hardboot value.
Myself5 said:
Permissive has SELinux mode set to permissive (for usage with XPosed), while the normal one has the stock SELinux Settings, being Enforced.
So if I'm planning to use Xposed I need to flash the permissive version is that right?
Click to expand...
Click to collapse
Just Flashed m5 kernel (release version)
works perfectly.
Thanks for all your hard work
Tested on PAC Rom. Working good! Seems to be a little more battery consuming compared to stock CM kernel.
I thought so to, but am gonna give it a day or so to settle. Much faster/responsive tho, apps etc are opening a lot faster so is browser imo
Flash v6 se permissive in last cm. Reboots constant.
tatanico said:
Flash v6 se permissive in last cm. Reboots constant.
Click to expand...
Click to collapse
Have you tried latest cm with it's own kernel? bcs m5 permissive kernel works with nightly from May 19
Just a question about xposed and selinux. I'm running a stock 5.0.2 with xposed on my phone, selinux status set to enforcing. Why is permissive needed with cm and this kernel? Just curious.
Kernel and last cm 23/05 not work god.
Hello!
I've got the latest cm nightly ( 24.05.2015 ), with latest M5-Kernel-V6-L. I think everything works fine, the system speed little bit faster then the cm's kernel. The processor cores using are better. In stand by, it's uses only one core, not two core like cm. But! With M5 kernel, wifi doesn't work. I can't run it. If i turn it on, nothing. It's doesn't find any wifi. And it's going back to off... Am I the only one with that error? I doesn't try M5 kernel before.. I missed something? I'm not at home, but if I arrived, I can make a Logcat if it help.
Sent from my Xperia Z3C using XDA Free mobile app
lba810701 said:
Hello!
I've got the latest cm nightly ( 24.05.2015 ), with latest M5-Kernel-V6-L. I think everything works fine, the system speed little bit faster then the cm's kernel. The processor cores using are better. In stand by, it's uses only one core, not two core like cm. But! With M5 kernel, wifi doesn't work. I can't run it. If i turn it on, nothing. It's doesn't find any wifi. And it's going back to off... Am I the only one with that error? I doesn't try M5 kernel before.. I missed something? I'm not at home, but if I arrived, I can make a Logcat if it help.
Sent from my Xperia Z3C using XDA Free mobile app
Click to expand...
Click to collapse
Yes WiFi lost here.
6.1 is coming
Compiling and uploading 6.1 ATM. No changes exept the merge of the CM Upstream branch. 6.1 is now working with the latest CM Builds.
Also it's the first fully automated build on my jenkins setup (using the fileserver as a host and my friends homeserver as the buildserver) so don't be confused if the Kernel build host is "[email protected]", thats my friends server. The Automation allows me to upload a new Kernel version faster in case of a CM upstream change.
Regards and Happy Flashing
Changelog is live
I just updated the Second Post, It now includes a Full Changelog, and therefore a Feature List too.
Have fun with it
I seem cannot set minimum CPU freq, it keeps turning back to 1958 MHz using kernel adiutor, trickster, and any app :/
Sent from my Xperia Z3C using XDA Free mobile app
reyhanpk said:
I seem cannot set minimum CPU freq, it keeps turning back to 1958 MHz using kernel adiutor, trickster, and any app :/
Sent from my Xperia Z3C using XDA Free mobile app
Click to expand...
Click to collapse
Using kernel adiutor, no problem here.
was12 said:
Using kernel adiutor, no problem here.
Click to expand...
Click to collapse
Solved it, the culprit was the vdd restriction.
Its all normal and smooth now
Sent from my Xperia Z3C using XDA Free mobile app

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] [N5X] [7.1.1] [3.10.104] [UBER 6.3.1] Flash Kernel - v2.2 - December 25th

{
"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"
}
Introduction
Hello everyone, this is my kernel for the Nexus 6P ported on over to the Nexus 5X. I won't claim that you will get hours upon hours of battery life (even though optimization really is my focus here) but I will say I have added quite a few options for you guys and the optimization patches should improve your experience with this device. Hopefully you enjoy! Please read this entire post, most of your questions will be answered in here!
Features
Here are the major features of the kernel (feel free to explore Github)
Upstream Linux versions 3.10.74-3.10.104
Updated to the December security patch
Patches for some CVEs
Upstream patches from CAF and Linux
Support for overclocking to 2016 MHz on big and 1632 MHz on little (stock values by default)
Support for underclocking to 302MHz on big and little (stock values by default)
CPU governors: chill, conservative, despair, elementalx, impulse, intelliactive, interactive, ironactive, ondemand, performance, powersave, and zzmoove
Touchboost fully disabled
MSM_Hotplug v2.4
Backlight dimmer
KCAL color control
Adreno Boost
Adreno Idler
Wake gestures (sweep2wake, doubletap2wake, sweep2sleep, and camera launch gesture)
Faux Sound Control with high performance audio
Upstream zram commits (from 3.18)
UKSM support (disabled by default)
Upstream zswap commits (up to 4.7)
I/O schedulers: bfq, cfq, deadline, fiops, maple, noop, row, sioplus, and zen
Wakelock controls
TCP algorithms: bic, cubic, highspeed, htcp, hybia, illinois, lp, reno, scalable, vegas, veno, westwood (default)
Kexec patch for MultiROM support
F2FS support
Compiled with an Uber-based 6.3.1 toolchain located here
Makefile optimizations
Forced encryption and dm-verity disabled
Hides bootloader unlock from SafetyNet (can still fail through other means)
Built with AnyKernel2 thanks to @osm0sis
Downloads
7.1.1 (2.x): Main
7.0 (1.x): Main
Installation
If you are on stock:
If you are on the stock kernel: flash the kernel zip and reboot
If you are on a custom kernel: flash the stock boot image matching your build number, flash the kernel zip, and reboot
If you are on a custom ROM:
If you are on the kernel that came with your ROM: flash the kernel zip and reboot
If you are on a custom kernel: dirty flash your ROM zip, flash the kernel zip, and reboot
Upgrading from one Flash version to the other:
Just flash the kernel zip and reboot
Changelog
Nougat 7.1.1
Code:
[B]2.2[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=70246171]release post[/URL])
[LIST]
[*]Adaptive low memory killer (disabled by default)
[*]Process reclaim
[*]Other low memory killer improvements
[*]Binder improvements
[*]Improved Adreno Idler (thanks to [user=5051294]@frap129[/user])
[*]Improved Makefile flags (thanks to [user=5284595]@kwoktopus[/user])
[*][URL="https://lwn.net/Articles/621046/"]Lazytime[/URL] for EXT4 and F2FS
[*]Toolchain bumped to 6.3.1
[/LIST]
[B]2.1[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=70112916]release post[/URL])
[LIST]
[*]Upstream F2FS commits
[*]Upstream sdcardfs commits
[*]Upstream blu_active commits (thanks to [user=5996255]@jollaman999[/user])
[*]Remove ironactive (we already have all of the upstream CAF commits that make it special in interactive)
[*]Improvements to cpuidle
[*]Improvements to locking
[*]Double tap to wake now works when either halfscreen or fullscreen is selected in KA
[*]Improvements to Live Display (work with KCAL thanks to [user=4684315]@flar2[/user])
[*]Improvements to wakelocks (disable a few by default to improve battery)
[*]Attempt to fix 2% battery drop issue
[*]Security patches here and there
[/LIST]
[B]2.0[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69964903]release post[/URL])
[LIST]
[*]Updated for the December security patch
[*]Merged some Pixel security patches
[*]Updated AnyKernel
[*]New toolchain (Uber 6.2.1 with some Linaro opts)
[/LIST]
[B]2.0-rc1[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69859710]release post[/URL])
[LIST]
[*]Same as 1.5 but with DP source as a base
[/LIST]
Nougat 7.0/7.1
Code:
[B]1.5[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69859703]release post[/URL])
[LIST]
[*]Fixes for sdcardfs on certain ROMs like CM 14.1
[*]Upstream patches from CAF and Linux
[*]Allow big cluster to be boosted without a task on it
[*]UKSM improvements
[*]Add exFAT driver
[*]Detect when kernel is flashed on an unsupported Android version
[*]Add support for FK Updater's performance profiles
[/LIST]
[B]1.4[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69513015]release post[/URL])
[LIST]
[*]Chill governor updates (thanks to [user=5051294]@frap129[/user])
[*]Upstream CAF and Linux patches
[*]Fixed some compiler warnings (thanks to [user=4231562]@Yoinx[/user])
[/LIST]
[B]1.3[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69264478]release post[/URL])
[LIST]
[*]Upstream Linux patches for vmstat and libgcc
[*]Backported MDSS and GPU patches from Marlin (thanks to [user=3292224]@franciscofranco[/user])
[*]Low memory killer improvements
[/LIST]
[B]1.2[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69247027]release post[/URL])
[LIST]
[*]Linux version 3.10.104
[*]Move back to a constant tickrate of 300HZ
[*]Add a patch to hide bootloader unlock from SafetyNet
[/LIST]
[B]1.1[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69183236]release post[/URL])
[LIST]
[*]Add ironactive governor
[*]msm_hotplug
[*]Underclocking to 302 MHz
[/LIST]
[B]1.0[/B]
[LIST]
[*]Initial release
[*]List of features above
[*]Compiled with latest Linaro 6.2 from Uber repo
[/LIST]
Customization
Since the whole point of installing a custom kernel is to have more options available to you, here is some information regarding the tweaks available in the kernel.
Default settings: the phone will boot with the following settings (the ones I recommend sticking with if you are not into tweaking):
Governors: interactive on both clusters
Frequencies: 384-1440MHz on little and 633-1824MHz on big
Input boost: 1248MHz on little and 768MHz on big for 40ms
core_control on, msm_thermal off
Wake gestures and backlight dimmer disabled
Adreno Idler enabled
Sound controls set at 0
ZRAM enabled and UKSM disabled
zen at 128kb
Governor profiles: If you want to try and squeeze a little bit more battery life out of your phone or increase performance, you may consider exploring governor profiles. Below are some links to various posts containing links/descriptions of these profiles:
From @soniCron - HawkTail, GlassFish, and FairPark
From @Alcolawl - list of profiles
Virtual memory: I have implemented ZRAM and UKSM in the kernel and there are many ways to tweak these. I would only recommend messing with vm_swappiness but you can read about ZRAM tunables here and UKSM tunables here. To make the kernel use more or less ZRAM, type this in a terminal emulator (or change it in EX Kernel Manager under the Memory section):
Code:
echo # > /proc/sys/vm/swappiness
This number can be between 0 and 100. 0 will make the kernel swap to ZRAM only if there is an out of memory error, 100 will make the kernel swap to ZRAM as much as it can. I set it at 15 by default, I would set it to 1 if you don't want to use it as much as 1 will use the minimum amount possible (basically when the phone is super under load). Highest I would go is 60 (which is the stock/default value in the Linux kernel). Read more about swappiness here. Additionally, UKSM is disabled by default. You can either enable it with EXKM or echo 1 to the sys path /sys/kernel/mm/uksm/run
Frequently asked questions
1.1 Q: I am having an issue, can you help me?
1.1 A: I am not a superstar kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue. With that, I'll do my best to assist you.
Code:
adb logcat -d > logcat.txt
adb shell dmesg > dmesg.txt
1.2 Q: Can you add xyz feature?
1.2 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not go digging super hard for commits and I will ignore requests that don't include this information. I won't promise that I will merge every request but I will always take it into consideration.
1.3 Q: How do I control the kernel?
1.3 A: I'd recommend using either @flar2's EX Kernel Manager or @Yoinx's Kernel Adiutor-Mod; both are extremely solid and have given me no issues.
Thanks to:
@REV3NT3CH for showing me what a good developer and kernel looks like
The various developers for their patches (@ak, @Buckmarble, @flar2, @franciscofranco, @frap129, @imoseyon, @jollaman999, and @Yank555 to name a few)
@osm0sis for AnyKernel2
@mdalexca for helping me with some kernel compilation issues and the prebuilt toolchain I use
@kwoktopus for giving me good advice on Makefile flags and other patches
@malybru for my nifty new signature and thread banner!
All of you guys for viewing the thread
A note about donations
Quite a few people have asked to donate to me in the past and I have turned them down. I am not in this for the money, this is my hobby, something I truly enjoy. If you truly want to donate to something (it is not expected in the slightest), I recommend an entity like the Open Source Initiative, the Free Software Foundation, XDA, or any one of the people I have thanked in the OP. Additionally, you are free to copy any and all of my work; the only thing I request is that you not ask for donations as well (though I can't really enforce this lol). Thank you.
Kernel source links
7.0: https://github.com/nathanchance/bullhead
DISCLAIMER: I openly welcome off topic in my threads. Mods, please do not clean off topic discussion and users, do not complain about off topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.
XDA:DevDB Information
Flash Kernel, Kernel for the LG Nexus 5X
Contributors
The Flash
Source Code: https://github.com/nathanchance/bullhead
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 2.2 - Nougat 7.1.1
Stable Release Date: 2016-12-25
Created 2016-10-15
Last Updated 2019-07-02
I wanted to dedicate this post to my devoted testers:
@SM210
@Mrcactuseater
@vampire36
@ulxerker
@Psychofrantics
@Char_G
Without them, this project would not have been possible as I do not own this device. On that note, I will need a testing group for future builds, as there will be no guarantee the builds works properly without in-depth testing. If you would like to participate, join my Hangouts group through this link.
Reserved
First
Are you THE FLASH ?? Barry it's you ???
Thank you so much gentleman for your work
It's good to see good devs contributing to our N5X.
So welcome
This is one awesome kernel! And I don't just say that!!! The audio is what amazes me on exterior speaker and all ways. Fast, smooth and snappy it is! My phone isn't even close to what it was like before!! Amazing work!!!! Thanks for bringing us your great kernel even know you don't have a Bullhead! Appreciate all you do bud! It was an honor to be one of the testers. Running like a dream!! :good:
Sent from my Nexus 5X using XDA Labs
SM210 said:
This is one awesome kernel! And I don't just say that!!! The audio is what amazes me on exterior speaker and all ways. Fast, smooth and snappy it is! My phone isn't even close to what it was like before!! Amazing work!!!! Thanks for bringing us your great kernel even know you don't have a Bullhead! Appreciate all you do bud! It was an honor to test. Running like a dream!! :good:
Click to expand...
Click to collapse
How many Kernels are you using at the same?
crian said:
How many Kernels are you using at the same?
Click to expand...
Click to collapse
Just this. And will be staying here.
Sent from my Nexus 5X using XDA Labs
Thanks a lot for this, really. I have been waiting for kernel like this! Everything works beyond expectations. ?
bootloop on Pure Nexus nougat.
keaheng said:
bootloop on Pure Nexus nougat.
Click to expand...
Click to collapse
Can you give some more info?
TW1ST3D1NS4N3 said:
Can you give some more info?
Click to expand...
Click to collapse
i reflashed the rom and then kernel, phone bootloop
and I boot into the recovery agian and flash this one http://forum.xda-developers.com/and...-fed-patcher-v8-forceencrypt-disable-t3234422
it's working now.
keaheng said:
i reflashed the rom and then kernel, phone bootloop
and I boot into the recovery agian and flash this one http://forum.xda-developers.com/and...-fed-patcher-v8-forceencrypt-disable-t3234422
it's working now.
Click to expand...
Click to collapse
Did you wipe anything at all?
For me everything runs well, I am on PN
Nougat, thank mod
Sent from my Nexus 5X using XDA-Developers mobile app
TW1ST3D1NS4N3 said:
Did you wipe anything at all?
Click to expand...
Click to collapse
No bro
keaheng said:
No bro
Click to expand...
Click to collapse
Try a clean flash then.
Namautoenx said:
For me everything runs well, I am on PN
Nougat, thank mod
Sent from my Nexus 5X using XDA-Developers mobile app
Click to expand...
Click to collapse
Same here, no loops, runs well. Thx dev !
Sent from my Pixel XL using XDA-Developers mobile app
I'm on PureNexus nougat too and it works fine. No bootloop.
@The Flash thanks for making this kernel :laugh:

[KERNEL] Dorimanx V3.2 OP3/T Nougat 7.1.1 STOCK 4.5.1 Tree 3.18.84 [28 NOV] PWR CORE

{
"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"
}
Dorimanx UNIFIED! (OP3+OP3T) Kernel for STOCK 7.1.1 OOS/H2OS 4.1.6+7+4.5.1 + BETA!​
NO > Oxygen 3.x.x or CM/LineAge/OREO BETA SUPPORT!!! GO AWAY NOW!​
My PM box, is for Emergency ONLY! do not send me PM's just because you cant post! that is lame, post something useful and post in thread.​
​
My kernel was based on OP3 Stock Kernel 4.5.1 + BETA 15/24 Source.​
Kernel Tree is 3.18.84, + OP3 and CAF updates + my tweaks and lots of tuning!​
Global Credits!
Flar2 for many kernel mods
Cyanogen/LineAge/Code Aurora for many kernel mods
Andip71
Franciscofranco
SultanXDA
OP3 Devs for Stock kernel base!
To all my sources in GITHUB!
Linus Torvalds for Linux source!​
WHAT INSIDE:
Kernel support OOS/H2OS 4.1.x/4.5.x
Kernel compiled with Linaro GCC 7.1.1 Android Bionic 64Bit adapted for OP3
Kernel includes all new security patches.
Kernel updated up to 3.18.84 build.
Kernel includes all original last 7.1.1 changes by OP3 Devs.
Kernel operate in 300HZ + all needed fixes to do that.
Kernel has DASH charge and USB Fast Charge (USB mode up to 900mA with MTP on)
Kernel support charging up to 2500ma with any charger! stock locked to 1500ma
Kernel has swipe to wake features by @FLAR2 (up,down,right,left,and dual tap).
Kernel include Sweep2Sleep allows sweeping from right to left and backwards!
on soft buttons to turn off the screen. by @FLAR2
Kernel has support for screen color change app. (KCAL Interface).
Kernel has support for touch keys light delay, default 6sec. by @andip71
Kernel include KGSL fixes and reworked GPU driver (use 133MHz min freq to save juice, goes to idle @ 100MHz)
Kernel include all latest patches from Code Aurora source for 3.18.y
Kernel include Enhanced TCP methods
Kernel include IPA/TIMERFD/WIFI/NETLINK wakelocks removal code by @franciscofranco
Kernel include open source QUALCOMM Wi-Fi driver updated to max without debugs.
Kernel include advanced binder driver from main line 4.10.y kernel.
Kernel include CDROM emulation on mass_storage (compatible with DriveDroid 0.10.18+)
Kernel include latest F2FS driver for 3.18.y with fixes for speed and stability.
Kernel include ZEN,NOOP,BFQ,DEADLINE,CFQ,FIOPS,SIO I/O govs tuned for SSD.
Kernel includes Elementalx, Blu_active, Interactive, Conservative, Ondemand, Performance CPU GOVS.
Kernel support FSYNC mode for FS. (Off by default)
Kernel includes ARM enhanced performance and battery patches
Kernel support Backlight Dimmer feature.
Kernel supports CPU OverClock/UnderClock for both clusters.
Kernel support thermal driver tuning, max heat for cores.
Kernel includes advanced crypto drivers and latest qseecom decryption driver.
Kernel includes updated EXFAT and FUSE + NTFS drivers.
Kernel support for not forcing encryption and verity checks.
Kernel includes support for CIFS driver.
Kernel includes fast finger print sensor mod when screen is off.
Kernel includes support for Haptic Feedback (vibrate) tuning (more/less)
Kernel includes massive code update for sound driver, and @FLAR2 sound/mic gain control interface.
Kernel include boost to I/O by mounting partitions with optimized flags, and updated MMC driver.
Kernel includes updated BT and NET/PPP/VPN/DATA drivers.
Kernel include mode to ignore home and touch keys when finger is pressed against the screen.
Kernel includes Aroma Installer for easy install with few simple changes that can be selected.
Kernel includes many patches to camera, GPU, and screen drivers.
Kernel has OTG enabled by default internally.
Kernel has Notification LED Control driver by @andip71
Kernel include usage of power efficient workqueues in many drivers by @franciscofranco
Added Support For INIT.D Scripts see /data/init.d folder
Kernel will switch to NOOP I/O Sched during screen Off time to save power. by @SultanXDA
Kernel will boost CPU frequency when screen wakeup to improve user experience, by @SultanXDA
Kernel will set max allowed apps in RAM to 60 from 32
Kernel will add advanced busybox binary in /sbin/busybox for advanced users and my scripts
Known BUGS!
Post reports, i will fix.
Standard disclaimer:
By installing this kernel YOU will take full responsibility for any damage to your device!
Hardware or software! no one forcing you to install it.
So please do not blame me if you read wrong! or didn't read at all the instructions that i have written for YOU.
But you can feel SAFE to use it, as I test every release on my phone!
Before I publish it for download.
Your warranty will be void by installing custom kernel as my.
Kernel Sources:
KERNEL GITHUB
TO DOWNLOAD GO DOWN!!! YES MORE DOWN...(do i need to repeat?)
How To Install:
You will need to have device with Latest Recovery installed! Please install the 3.1.1.x BUILD!
>>>Here is the Recovery you need!<<<
Recovery is Unified with OP3 + OP3T no problem to install.
Old recovery can corrupt your DATA partition as my kernel using latest F2FS driver. new recovery has updated driver.
YOU MUST UNLOCK OEM BOOTLOADER!!! OR YOU WILL BE STUCK ON BOOT!
Refer to other threads for recovery install process and for oem bootloader unlock.
Download kernel, upload it to your SDCARD, anywhere.
Always have STOCK Kernel for your ROM!
Reboot to Recovery.
THINK AGAIN! did you made backup? NO!!!!??? DO IT NOW!
If you had any other Custom kernel, Install STOCK kernel or dirty flash your ROM,
to clean any trace from other kernel. then install ROOT/Magisk if you wish! then install my kernel ALWAYS THE LAST.
Do not clean any cache or dalvik (needed for ROM only!).
Reboot!
If you wish to UNINSTALL my kernel, there is a uninstaller ZIP for you.
it's will remove all ramdisk changes, and install last 4.1.6 stock kernel, preserving ROOT if was installed!
Have Fun and report.
Honored Fearless BETA Testers! without them i would be lost in dark kernel space:
dimberr
Diechel
misterepicwin
vampire36
RyperX
siggey
bipinbedi
Chris7
Leicxan
Radon94
Donation Board:
ME donated 150+ hours to update stock to now.
Dimberr HUGE Donation!
Betadr X2
Diechel
RyperX
Misterepicwin
Cultofluna
Andrej666
Aagato86
Thread Rules:
This is a Kernel development thread ONLY.
Allowed:
1) Any kernel reports with LOGS in case of crash from /sys/fs/pstore/console file.
2)Any satisfaction reports with picks and suggestions about kernel.
3)Any questions related KERNEL.
4)Any important information that may improve this kernel.
5)Any issues you have with STOCK Stable ROM. this what i use and test, all the rest are BONUS.
6)Sound mods and root access. i think it's good information that can improve user experience with my kernel.
Not Allowed:
1) extreme off topic about some ROM mods, APPS, Magisk non ROOT modules,
2)Comparing kernels, other vs other, my vs other.
3)Trolling!, Spamming, hate toward other users, flaming, feeding trolls. posting not in English, NOOB calling other users.
4)Disrespect of any beta tester listed in OP.
All recognized developers Allowed to manage there own threads without bothering forum administrators.
I can, and I will, remove all not allowed posts without blinking.
Mirror #1 by willflint
Mirror #2 by GITHUB!
Info for Web Hackers,
in my mirrors, there is nothing to take!
My work is public and for the people!
Please let my mirrors work in peace.
Thanks.
​
Please consider supporting my work by tipping
BTC
19FMaiTe5kbNJZwhtYjaAc8p8Q9oZhCjB1
Dash
XkNoDjdq84rq7JunR5q8b3hubx9FTsvY25
Litecoin
Lb6LxPTJ1BxWg78zsNEnAgv5JdC4JgzLPL
Ether
0x2BABf64cb03656f645516A4cA666719b1af4Ac4F
Dogecoin
DAtytL65sy9vuvYh1T7vuKaaaJoKaNHubh
Monero
44vY3x5nBqCRfZdVwLtAgjbzUfnnEevd54yyCzsM4HzFfZEXH36e1WYD9RKRKUmT5SW46Ytkp1bnVZqhySeQFh99C4iivgB
Aeon
Wmt8gnhjtQeefUfmVkUj6EHD14XK9crU2dej2EPsGn3JSrLMcSkDytnJDBTeg3muD3Z3Hsc9CSNxFKpRFcpKW7k92urmTd1yB
There is Kernel OTA APP that will auto download and install kernel via TWRP!
>>>>>>Kernel OTA APP<<<<<<
Mirror #2
​
Change logs:
28/11/17
Kernel 3.2 Stable
*Merged patches 3.18.80+81+82+83+84!
Including: ARM64,BLOCK,I2C,FS,LIB,SECURITY,SOUND,TTY,USB,
*Merged latest F2FS driver updates from source.
*Merged many updates to BINDER code for CAF source.
*Merged mods to touch screen driver by sultanxda, great work for optimization and power save.
*Merged new updates from CM14 including: MDSS,VIDC,
DIAG,CRYPTO,NET,ADSPRPC,SCSI,SOUND,POWER,IPA,MMC,LOCKING core.
*Merged latest WIFI driver updates. ver 06300
08/11/17
Kernel 3.1 Stable
*Merged main stream patches 3.18.74 to 3.18.79
Including: BLOCK,CRYPTO,MMC,NET,TTY,USB,FS,BASE,SECURITY,HID,IOMMU,SOUND,KERNEL CORE,I2C,LIB,SCSI.
Tons of changes! it's 400 commits compressed to patches.
*Merged optimizations to BINDER code from CAF.
*Merged Camera,MMC,KGSL,SOUND,IPA,MDSS,DIAG,QCOM,USB,FS updates from CAF.
*Merged latest Qualcom WIFI driver v06100
06/10/17
Kernel 3.0 Stable
*Reverted changes to SDCARDFS to get rid of bug with folders in storage.
Beta team reporting that all good now.
*Merged patches 3.18.72+73 including:
BLOCK,NET,PCI,SCSI,TRACE,ARM64,FS,SECURITY fixes.
*Merged BINDER updates from CAF and Mainline kernel.
*Merged wakelocks shut when drivers shift operations, by franciscofranco
26/09/17
Kernel 2.9 Stable
*Merged AOSP and CAF updates including:
FS,BlueTooth,Trace,DIAG,Thermal,ASOC,CAMERA,MDSS,
QSEECOM,KGSL,IPA,SOUND,ARM64,TIME,BINDER,NET,
QCOM,SDHCI,USB.
*Merged patch 3.18.71 including:
SCSI,USB,FS,Kernel Core,MM.
*Merged OP3 Dev BETA OBT24+OBT15 color updates.
*Merged latest WIFI driver updates.
*Merged massive update to F2FS from 4.14.y kernel
*Merged latest updates to SDCARDFS from CAF and AOSP.
*Merged latest OEM OP3 4.5.0 kernel updates.
09/09/17
Kernel 2.8 Stable
*Merged OP3/T BETA branch OBT23+OBT14
It's updates to colors switch Srgb and nightmode.
*Merged main line update 3.18.68+69+70!
Many changes to: FS,Kernel Core,NET,BT,SOUND,ARM64,SCSI,LIB,MM
*Merged updates to BINDER CORE from Aosp and main line source.
*Merged updates to F2FS driver.
28/08/17
Kernel 2.7 Stable
*Added busybox mount function to help with working with /system folder.
*Merged latest patches from CAF and AOSP including:
CPUFREQ,DIAG,LOCKS,USB,CAMERA,SOC,NET,KGSL,SOUND,I PA,WIFI updates.
*Merged 3.18.67 patch including: NET,SCHED,Kernel CORE,MM,SOUND updates.
*Fixed selinux not enforced if Magisk installed on EXT4 Data partition!
23/08/17
Kernel 2.6 Stable
*Merged patches 3.18.64 to 3.18.66
Including many many updates to all core drivers and functions.
See GIT if you like to dig in too code changes.
*Merged many updates from CAF and AOSP branches for our device.
*Merged latest OEM OP3/T 4.1.7 update to kernel. (will work just fine with 4.1.6 and BETA too)
*Added new STOCK 4.1.7 kernel to mirror, and new uninstall zip including 4.1.7 stock kernel.
to install this build on 4.1.7 ROM! make sure you had 4.1.7 stock kernel to get all ramdisk updates by OP3!
06/08/17
Kernel 2.5 Stable
*Merged CAF updates including:
ISP,CAMERA,MDSS,IPA,MMC,USB,KGSL,ION,NET,SOUND,PERF,INPUT,REGULATORS
*Fixed ROM dev ram access to used RAM by apps, no longer show 0B
*Merged updates to F2FS driver from Android dev list.
*Merged OP3 Devs BETA 12 update that focused on color update for night mode.
*Updated Busybox from source.
31/07/17
Kernel 2.4 Stable
*Merged fix for low CPU frequency after deep sleep for short delay.
*Merged Patch 3.18.62 including: CRYPTO,TTY,FS,KERNEL CORE,MM,NET updates/fixes.
*Merged update for F2FS driver from source.
*Merged update to BINDER driver from CAF big improvement in code structure and functions.
Binder is directly responsible in running apps and services, memory allocator.
*Merged patch for android-verity mount check.
*Merged new code that will shrink and compact RAM each time screen goes off after 3sec.
And only once in 15min! This will help to have always fresh and fast device. For very long time of use 150hours+
*Merged fix for QCOM driver to prevent possible memory leak.
*Merged patch 3.18.63 including: POWER DOMAIN,OF,SPMI,PCI,USB,FS,KERNEL CORE,NET, BT+NFC,SOUND.
*Merged new update to WIFI driver LA.UM.5.5.r1-05400-8x96.0 open source perfect module!
*Merged massive fix by Awesome DEV @SultanXDA for debug fs code.
*Compiled new Linaro GCC 7.1.1 = new libs and Android Bionic Core, first time such thing was possible!
And compiled Kernel with this massive native android toolchain!
Noticeable speed and global stability feeling!
My BETA team is impressed! 3 days no words in our discord channel hehehe
*Updated Busybox 1.28.0 from source using GCC Linaro 7.1.1
Now it's possible to use OTA Kernel Update App by @Diechel
It's will auto download kernel, install it via TWRP, and show you the change log
Really cool thing! it's donation app. 1$ feel free to donate, or use the website as before
>>> https://play.google.com/store/apps/details?id=com.diechel.xda.dorimanxota3t.pro <<<
16/07/17
Kernel 2.3 Stable
*Merged latest update to F2FS driver from source. sync with 4.13.y tree.
*Merged fix for min sched windows when kernel using 300HZ.
*Merged CAF patch to fix bugs and security issues in:
CAMERA,MDSS,USB,ADSP,CHARGER,IPA,QCOM,NFC,QCDEV,SOUND
*Merged latest WIFI opensource update LA.UM.5.5.r1-05300-8x96.0
*Merged mods to WIFI driver to reduce battery usage.
*Merged mainline patch 3.18.61 including:
NET,USB,IPC,TRACE,SECURITY
*Merged mod to boost CPU freqs after suspend on wakeup.
*Added SeLinux mode changer in Aroma Installer.
You can set Enforce or Permissive. no apps/magisk modules needed!
*Updated Uninstaller to include selinux mods cleanup.
*Added mount command to be linked to busybox, so apps can remount system and root.
If they are allowed to use ROOT.
09/07/17
Kernel 2.2 Stable
*Merged kernel updates 3.18.59 + 3.18.60
Including USB,FS,Kernel Core,LIB,NET,IOMMU,MM
*Set to deny access from perfd ROM service that can brake CPU gov tuning.
*Tuned Interactive GOV on boot for both cluster,
To deliver great Performance and balanced battery save.
*Tuned Blue_Active Gov default tuning.
*Fixed init.d support from /data/init.d/
*Updated busybox to 1.28.0 made with Linaro gcc 7.1.1 64Bit
*Merged many updates from CAF source for our soc.
Including MDSS,CAMERA,IPA,VIDC,INPUT,QCOM,USB,DIAG,SCHED
*Updated WIFI driver to latest opensource LA.UM.5.5.r1-05100-8x96.0
*Fixed my boot script load on boot to allow better tuning of kernel.
*Fixed not working touch when screen is in half wake state. (liftup, wave gesture)
*Added new driver to allow to limit max freq on both clusters so no other app
or ROM service can set higher. for now not used! and not forced.
I will add controls for it in my app.
*Merged updates to F2FS driver from main source.
*Updated new GCC Linaro 7.1.1 kernel builder 64Bit and made kernel with it.
*Added new controls for CHARGING LIMIT in Aroma installer.
You can set max allowed charge back to 1500ma if you wish!
28/06/17
Kernel 2.1 Stable
*Merged 3.18.58 patch including RAM,USB,NET,FS updates.
*Added overclocking for OP3 Model, one step higher for both clusters, not used by default!
25/06/17
Kernel 2.0 MEGA BOMB Build
Kernel will work with BETA STOCK ROMS!
Including All the in WHAT INSIDE LIST
Tested for long time by fearless beta testers!
And crowned as STABLE.
=============================
XDA:DevDB Information
[KERNEL] Dorimanx V3.2 OP3/T Nougat 7.1.1 STOCK 4.5.1 Tree 3.18.84 [28 NOV] PWR CORE, Kernel for the OnePlus 3
Contributors
dorimanx, dimberr, Diechel, misterepicwin, vampire36, RyperX, siggey, bipinbedi, Chris7, Leicxan, Radon94
Source Code: https://github.com/dorimanx/DORIMANX-OP3T-KERNEL/commits/master_7.x.x
Kernel Special Features: See What Inside list.
Version Information
Status: Stable
Current Stable Version: 3.2
Stable Release Date: 2017-11-28
Created 2017-06-26
Last Updated 2017-11-28
One for me
And one more for me
Happy to see you here
Sent from my OnePlus 3T using XDA Labs
Master dorimanx is here
Hmm definitely interesting stuff right here and finally its unified! It was only for 3T AFAIK since it was posted at 3T thread only
Sorry but there is no cpu overclock, the gpu min isn't 100mhz
FinallY!!!
@dorimanx Dori....welcome here on the OP3. Great going.
The subject title is mentioning the OP3 but the github folder says OP3T...can I request you to correct and modify please ...thanks mate
Sent from my ONEPLUS A3003 using XDA-Developers Legacy app
halleyrokz said:
Sorry but there is no cpu overclock, the gpu min isn't 100mhz
Click to expand...
Click to collapse
no oc but gpu min is 100mhz
SREEPRAJAY said:
@dorimanx Dori....welcome here on the OP3. Great going.
The subject title is mentioning the OP3 but the github folder says OP3T...can I request you to correct and modify please ...thanks mate
Click to expand...
Click to collapse
Well the kernel is unified, its same for both models.
To change github and web page to publish the same thing
Why?
plhip47 said:
no oc but gpu min is 100mhz
Click to expand...
Click to collapse
Overclock was not tested on OP3 so for now its stock freqs.
Reminder, i have the op3t
I will find beta tester to help me test this.
dorimanx said:
Well the kernel is unified, its same for both models.
To change github and web page to publish the same thing
Why?
Click to expand...
Click to collapse
Of course you are the boss...but the word "unified" will make things even more clear...cause you never know if there is a question coming sooner or later...[emoji14]
Sent from my ONEPLUS A3003 using XDA-Developers Legacy app
Wow lord Dorimanx!!! Welcome for some OP3 / 3T love !!! Nice to see you here
OB18 op3, buttery smooth. [emoji109]
Sent from my ONEPLUS A3003 using Tapatalk
Just installed it, on latest FreedomOS Stable, and it's smooth af !
Thanks Dorimanx ^^
dorimanx said:
Well the kernel is unified, its same for both models.
To change github and web page to publish the same thing
Why?
Click to expand...
Click to collapse
+1 One and only Dori
Sent from my LG-H815 using Tapatalk
goran_oh said:
+1 One and only Dori
Sent from my LG-H815 using Tapatalk
Click to expand...
Click to collapse
I have added the UNIFIED on main page... i hope it's will not confuse people, if OK or not to install.
the MM kernel is a mess, but N kernel is much more solid and merged for both models.
Also i have added thread rules, that not really different from XDA global rules, Please ALL... respect the rules.
other wise... there will be some overtime cleaning for me to do :silly:
And we have here well known, and respected forum moderator using OP3
First full(98%) charge. Wow
Sent from my ONEPLUS A3003 using Tapatalk
Imotep95 said:
First full(98%) charge. Wow
View attachment 4194781
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
looking good, expected screen on time is 6 hours with normal moderate usage. (no heavy games that use full power)
My record is 7 hours and 20min. no games. just usual things like : calls, xda labs, whatsup, discord, instagram, face, music(screen off), and other apps.
still every user can get different results. all depend on usage and control of apps that drain power without you want that.

Categories

Resources