[EOL] Boeffla-Kernel (unofficial) for AOSP 7.x.x and LOS-14.1 based ROMs [kltekor] - Galaxy S 5 Android Development (Snapdragon)

This Project is officially dead... If you wish to stay with my work, please consider to use SmartPack kernel which can be found here... Thanks to all of you for your supports...
/* Introduction */
This is an unofficial port of the well known Boeffla-Kernel which is developed by the recognized developer @Lord Boeffla. I build this kernel for my personal use in my Korean galaxy S5 (kltekor) with some minor modifications. With the permission of the original developer, here I decided to share my unofficial builds for anyone interested. Please do not bother the original developer with bug reports and update requests. Always remember that this is an unofficial port.
Code:
DISCLAIMER!!
I am not responsible for any damage to your device. Everything you are doing on your device is on your own risk.
I only own kltelgt (SM-G900L). Hence, all the kernels published in this thread are only tested on kltelgt by myself although it should work on klteskt and kltektt.
Please note that flashing any custom Kernel including mine will void your warranty.
/* Compatibility */
This kernel is only compatible with kltekor (SM-G900K/L/S) running AOSP/Lineage-OS based Nougat ROMs.
/* Features */
Build using Linaro gcc 4.9 toolchain.
Linux Kernel version is updated to 3.4.111
Full integration with Boeffla-Config V2 (download link)
All the standard features of Boeffla-Kernel
Support of anykernel concept - flash stock kernel before flashing Boeffla
Additional governors: zzmoove (Note: not considered stable at the moment, you might face reboots!!!), intelliactive, intellidemand, wheatley, smartmax, slim, intellimm, nightmare, lionheart, pegasusq
Zzmoove supporting native hotplugging profiles
Additional schedulers: fiops, bfq, sio, tripndroid, zen
Many Hotplug tweak profiles (Default, Optimized, 1 core max, 2 cores max, 3 cores max, 2 cores min, 3 cores min, 4 cores min, 2 cores exact, 3 cores exact)
Wake up gestures implemented (double-tap-to-wake, swipe to wake)
Boeffla-Sound engine (Headphones and speaker volume configurable)
Configurable vnswap
True dynamic FSync (activated if screen on, deactived if screen off), configurable
Touch boost frequency configurable, touch boost switch
CPU Overclocking up to 2.84 GHz
CPU Voltages interface for undervolting/overvolting
GPU idle frequency 27 Mhz added
GPU governor selection support
Show GPU frequency usage per frequency in Boeffla-Config
Color control to adjust RGB color space + inverted mode
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
System Tweaks predefined supported (default is off)
Android logger (logcat) configurable
Kernel logger (dmesg) configurable
Charge rates for AC charger, USB and wireless charging separately configurable (set charge rate to 0 to have stock charge logic back)
Charge information display support via Boeffla-Config V2 app
CIFS support (module, do not mount inside /data)
NFS support (module)
NTFS support (module)
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Swap supported (but not recommended, use zRam instead)
init.d support (in /system/etc/init.d - set correct permissions!)
Default entropies increased
Insecure kernel (adb has root privileges)
Automatic EFS backup
Kernel survival mode by Boeffla-Config app to survive CM rom flashes
Full support for mpdecision for best compatibility and smoothness
(Important: use Boeffla-Config to configure min/max CPU frequencies + governors + schedulers only - or explicitely allow other apps/processes to overwrite this in Boeffla-Config settings, but expect weird side effects)
Integrated full busybox 1.23.1 (own compilation)
Auto-Root by kernel possible by request, not recommended for CM however (latest su included)
Kernel initialization log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Presets supported in Boeffla-Config by kernel (Extreme power, power, normal, battery friendly and battery saving)
Always using latest Initramfs
Always based on latest Galaxy S5 sm-g900f kernel sources by CM
Kernel runs with SELinux enforcing by default, just as CM12 stock kernel for S5 - but can be configured to work in permissive mode in Boeffla-Config settings
It is highly probable that I missed some features while building. Please let me know if you can't find some features that are listed above.
/* Downloads */
Code:
[B][COLOR="blue"]Please make sure to download the latest build[/COLOR][/B]
kltekor
/* How to */
1. Go to recovery (TWRP recommend)
2. Flash Kernel
3. Wipe Cache/Dalvik Cache
4. Reboot and enjoy​
/* Special note to Korean S5 users */
Flashing this kernel after AOSP/LOS based nougat ROMs originally build for the klte (SM-G900F) variant will allows the use of those ROMs on SM-G900S/K/L.
/* Change-logs */
9. August 02, 2017
Changes: All the commits in the LOS source code till dat. Improved zzmoove stability by disabling thermal support (credits to ZaneZam). Kernel configuration and compiler flags changed to switch off kernel size optimization (in favor of speed: credits: Lord Boeffla)
8. July 28, 2017
Recent LOS commits till date
7. July 12, 2017
Recent LOS commits till date
6. July 5, 2017
Linux Kernel version is updated to 3.4.113.
5. June 24, 2017
Updated to latest source (G900FXXU1CQE1) released by Samsung. Thanks to LOS team and @haggertk
4. June 20, 2017
Recent LOS commits till date
3. June 13, 2017
Linux kernel version updated to 3.4.113 seems to make some issues (mainly with chrome browser) and is reverted (Now it's 3.4.113).
2. June 8, 2017
Recent LOS commits till date
1. June 4, 2017
Initial release
/* Donation */
For those who wish to donate to the original developer, here I'm copying his own words.
Code:
If you like my work, feel free to donate: [URL="http://www.boeffla.de/index.php/donation"]Donation-Link[/URL]
If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.
/* Acknowledgements */
Lord Boeffla for the original Boeffla-Kernel
Haggertk for LineageOS 14.X for Galaxy S5
osm0sis for AnyKernel project
Our Korean Galaxy S5 Facebook group members
XDA:DevDB Information
Boeffla-Kernel, Kernel for the Samsung Galaxy S5
Contributors
sunilpaulmathew, Lord Boeffla
Source Code: https://github.com/SmartPack/
Kernel Special Features:
Version Information
Status: No Longer Updated
Created 2017-06-03
Last Updated 2017-09-21

Reserved

will try this on my G900K ,
Btw sunilpaulmathew can this flash on the G906S/K/L?
Thank you

chow9229 said:
will try this on my G900K ,
Btw sunilpaulmathew can this flash on the G906S/K/L?
Thank you
Click to expand...
Click to collapse
No friend. As I wrote in the op, it only works on SM-G900K/L/S.

Sunil, just booted up with this kernel. Everything seems to work. I'll test it for a while and let you know if I run into anything. Flashed over your latest lite kernel that works very well.

thaidroid said:
Sunil, just booted up with this kernel. Everything seems to work. I'll test it for a while and let you know if I run into anything. Flashed over your latest lite kernel that works very well.
Click to expand...
Click to collapse
Thank you very much for testing... I'm pretty sure that you will be happy with Boeffla sound engine, though I have no idea abt your other preferences

First impression, very smooth
---------- Post added at 05:30 PM ---------- Previous post was at 04:56 PM ----------
Be careful with speaker Level Its not the same as recording level in smartpack. I set it to 15 and almost blew the speakers and my eardrums
Actually Recording level is missing and that WAS the culprit when using Skype, WAS.... because in the latest builds Skype over speaker has been fine.

Sunlight, used the kernel for two days and no problems. Gone back to SP Lite this morning. Not sure but I think SP might be using less battery. Both are similar for speed and smoothness I think. No benchmarks I don't use them:cyclops:
SunlightI guess the spellchecker just gave you a new nickname:laugh:

New build with latest LOS commits are available here...
/* Downloads */
Code:
[B][COLOR="blue"]Please make sure to download the latest build[/COLOR][/B]
kltekor

Will try it over night to see how it sleeps

Thanks for doing this, never thought I'd have Boeffla on my kltekor.

thaidroid said:
Will try it over night to see how it sleeps
Click to expand...
Click to collapse
Sorry, I forget to tell, I pushed one more build (and replaced the old one) since I found few more commits in the LOS source code later...
lexxx84 said:
Thanks for doing this, never thought I'd have Boeffla on my kltekor.
Click to expand...
Click to collapse
All the credits to @Lord Boeffla for making this awesome kernel as well as allowing me to share my port

New build...
New build is uploaded. The source is merged with Samsung's latest opensource release (special thanks to @haggertk and Lineage-OS team)
/* Downloads */
kltekor
[new builds will be uploaded for anyone interested once in a week (on or before Thursday) only if LordBoeffla or Lineage OS team made any change in their klte source code]

New build...
Changes: all the commits in the LOS source code till date...
/* Downloads */
kltekor
Blackburn119 said:
Hello please kindly update your boeffla unofficial kernel, 12072017 version came with camera bug.
Click to expand...
Click to collapse
Camera issue will be hopefully fixed in this build...

New builds...
Changes: All the commits in the LOS source code till dat. Improved zzmoove stability by disabling thermal support (credits to ZaneZam). Kernel configuration and compiler flags changed to switch off kernel size optimization (in favor of speed: credits: Lord Boeffla)
/* Downloads */
kltekor

Big update...
The changes includes...
Updated with latest official LineageOS kernel commits till date (Note: This was a complete kernel rebase by LineageOS team = in worst case expect some bugs.) Improved safetynet handling (credits to SultanXDA)
All the credits to LineageOS team, Lord Boeffla and SultanXDA...
Download links are here... enjoy...
/* Downloads */
kltekor

Detele this

I have no issues with this kernal using 900P/Kltedv formally kltespr

sunilpaulmathew said:
The changes includes...
Updated with latest official LineageOS kernel commits till date (Note: This was a complete kernel rebase by LineageOS team = in worst case expect some bugs.) Improved safetynet handling (credits to SultanXDA)
All the credits to LineageOS team, Lord Boeffla and SultanXDA...
Download links are here... enjoy...
/* Downloads */
kltekor
Click to expand...
Click to collapse
how about gaming?

Related

[KERNEL][AOSP/CM][~5.0+|cm-12.0+][N7100] Void Kernel (1.9.1)

As always:
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.
*/
Hi to all i'm here to share with you (and with the community) my kernel based on haxynox/ivan_meler arter97 sources(instead of cm sources)!
this is not a super kernel with a lot of features... the main goal of this project is to have a stable kernel with some a lot of features
This is a kernel based on stock sources for AOSP/CM roms!
However bug reports (with logs), rewiews, ... are always welcome!
Features:
based on arter97 kernel
builded on archlinux debian sid
LZMA compressed kernel
AnyKernel2 (should support all CM roms)
A lot of optimizations, backports, improvements, ... (check the github gitlab repo!)
Led control
Changer control
Taskstats (iotop support)
I/O Schedulers: noop deadline [cfq] bfq sio vr fifo zen
Governors: intelliactive smartassV2 interactive zzmoove conservative powersave [pegasusq] performance
Tcp Congestion Controls: [westwood] reno bic cubic highspeed hybla htcp vegas ven scalable lp yeah illinois
NTFS support
USB OTG support
Full F2FS support (backported from Linux 4.2+) (kernel side + fstab)
Improved colors and mdnie control
Boeffla sound
Tap2wake and Doubletap2wake
Synapse support (install the app)
CPU overclock up to 2160 MHz and underclock down to 100 MHz
CPU undervolt interface
GPU overclock/underclock
GPU undervolt
ARM CPU Topology (sched_mc)
Enable/Disable speaker when camera app is open
Click to expand...
Click to collapse
Changelog:
v1.9.1
bring back mdnie control and improved colors
install busybox (without symlinks) if not already installed
force to use busybox for everything related to synapse and use /system/bin/sh as shell
misc fixes for synapse
Installing busybox manually is not required anymore for synapse, this build is also an attempt to fix the various issues with synapse reported by some users
Click to expand...
Click to collapse
v1.9.0
first public build compiled on debian sid
update everything for the gitlab switch
use LZMA compression
support for the new hwc (tilak rom)
remove old settings for vibrator intensity and use the lineageos one
remove mdnie settings and use lineageos one (currently broken)
v4l2 and fb updates for the new hwc
misc updates from https://github.com/fourkbomb/android_kernel_samsung_smdk4412/commits/cm-14.1-rebase
full build system and template (install zip) revamp
import latest AnyKernel2 updates
the kernel now installs a custom fstab
the original branches and the -new ones are now merged as the build system detects when the modules support is needed
pegasusq boost support
reboot to recovery when a kernel panic happens (if the kernel crashes it will go to recovery automatically)
v1.8.6
misc updates
wifi hotspot fix for android 7.0
v1.8.5
misc kernel updates
now kernel releases without modules are built separately, check for the -new flag in the zip name (for android 7.0 and up)
second attempt to fix wifi on android 7.0
v1.8.4
wifi should work on nougat now
v1.8.3
android 7.0 support (experimental, untested use at your own risk)
security updates
misc bug fixes
v1.8.2
from now when you are using aosp this zip will install only synapse (aosp has already this kernel)
v1.8.1
Candysix issues fixed
updates from cyanogenmod kernel
v1.8.0
overclock support up to 2160 MHz
debug reduced (a lot!!)
re-added synapse governor tab
re-added frandom
updates from CyanogenMod kernel
finally fixed usb otg (now works always not only the first time after boot)
option to enable swap and zram (only for advanced users)
removed adaptive body bias
other changes
from the old arter97 kernel (before 5.0):
removed memory throttling
cpu unaligned accesses
AIO changes
v1.7.3
Synced with dev branch
Switched back to google gcc 4.8 (the android default one)
Removed samsung changes to ondemand governor
Enabled ondemand
And take a look at this
v1.7.2
Fix synapse freeze when changing governor
Removed negative mode toggle
v1.7.0
Rebased on arter97 kernel (full and proper upstream to 3.0.101, including dma_cma) (big thanks to arter97)
Builded with GCC 5.3
New governors: smartassV2 interactive conservative
New I/O schedulers: sio vr fifo zen
Enabled dma_cma (better memory management)
Enabled embedded exfat driver (i won't provide support for this, if you are still using exfat it's time to switch to something new!)
Minor fixes (like touchkeys remaining active sometimes)
Synapse now supports zzmoove profiles
Synapse minor changes
Other misc changes
1.6.4-4806461
Updates from cyanogenmod kernel
Revert busfreq changes
Misc changes
1.6.3-22afe8b
New option for touchwake by me (charging_mode, enable touchwake only on charging)
Synapse minor changes (frequency monitor added)
1.6.2-68fa049
New led control (supports led brightness!)
New f2fs! (Backported from Linux 4.2+, thanks to arter97)
Removed logger and logger mode (logcat driver in the kernel is not needed anymore on android 5.0+)
Enabled NFS client and CIFS (experimental, an arter97 user reported a sunrpc kernel panic)
Other minor changes
1.6.1-294f21d
Enabled Asynchronous I/O
1.6.0-2ff4fd9
CPU clock: 1600 - 200 -> 1800 - 100
CPU undervolt interface
GPU overclock and undervolt
ABB (adaptive body bias)
ARM architecture updates
A lot of other optimizations
ARM CPU topology (sched_mc readded)
toggle negative mode with 4 taps on home button (tap fast!)
Camera shutter sound control (disable speaker when camera app is open)
Intelliactive from arter97 kernel
Cleaned up MIF/INT (busfreq) code
synapse updated (too many changes to list check by your self)
A lot of other changes
release5-7096c91
update synapse
misc changes
release5-eb6898c
synapse support boeffla sound
release5-ee27b5f
synapse support (beta) (for boeffla use his app!)
removed sched_mc
pre-release5-7d34ddc
wait this is a pre-release because it doesn't have synapse support, this will be added in the release5
enabled deadline and bfq io schedulers (deadline as default)
enabled all tcp congestion controls (westwood as default)
sched_mc (multicore power saving)
some tweaks from boeffla kernel (thaks to andip71!)
release4-f240f37
revert to f2fs from cyanogenmod
f2fs support (fstab) now you don't need anymore a rom that support f2fs natively
misc updates
release4-dcd9a36
fixed touchkeys always on
release4-d1728a6
rebased kernel oon new Nameless one (changes are a lot!)
logger-interface
new f2fs! (imported from here)
release3-3dda06e
tap2wake and doubletap2wake
ZZMoove 1.0 beta8
release2-e21b17d
updates from cyanogenmod kernel
disabled samsung_extdisp driver (source of bugs, more info: https://github.com/NamelessRom/android_kernel_samsung_smdk4412/commit/3597c6bf57e82df92fdaa3db215ab3640f00c888)
boeffla sound 1.6.7
mdnie control and master sequence
f2fs (kernel side support)
some debug removed
release1-d1a9259
initial release
Click to expand...
Click to collapse
Coming features:
you tell me
Click to expand...
Click to collapse
Bugs:
none so far (for touchwake read this: http://forum.xda-developers.com/showpost.php?p=66179198&postcount=46)
Click to expand...
Click to collapse
Obviously you can use the sources of this kernel but i won't provide support if you want to build it on windows (cygwin) or on mac
You must use LZMA compression if you want to use this kernel for building a recovery otherwise the image won't fit the ~8 MB partition of our device
WARNING #1
if you want to flash phh's superuser (i use this) then flash first the superuser zip and after the kernel otherwise the rom won't boot
if you use SuperSU the order of flash doesn't matter
WARNING #2
Don't flash this kernel over an another custom kernel
Before flash make sure to have a way back (backups, dump, ...) and if you want to revert back to default kernel of your rom simply reflash the rom zip
WARNING #3
Remember that the some features can ruin/break some parts of your phone here are some examples:
changing voltages supplied to the battery
overclock/undervolt of cpu/gpu
too high volume in boeffla sound
too high vibration strenght
as the disclaimer says is at your own risk!
Downloads:
https://gitlab.com/ParanoidNote/void-kernel/tags (click on a tag to see the full release notes)
old downloads: https://github.com/ParanoidNote/void-kernel/releases
Click to expand...
Click to collapse
Credits:
Linus Torvalds
arter97
JustArchi
andip71 (LordBoeffla)
AndreiLux
yank555-lu
faux123
MarcKe
Ivan Meler
Evisceration
dhiru1602
fourkbomb
and all people here
Click to expand...
Click to collapse
XDA:DevDB Information
[KERNEL][AOSP/CM][5.0+|cm-12.0+][N7100] Void Kernel, Kernel for the Samsung Galaxy Note II
Contributors
ParanoidNote
Source Code: https://gitlab.com/ParanoidNote/void-kernel/commits/master
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.9.1
Stable Release Date: 2017-04-27
Created 2016-03-22
Last Updated 2017-04-27
ParanoidNote said:
As always:
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.
*/
Hi to all i'm here to share with you (and with the community) my kernel based on haxynox/ivan_meler sources!
this is not a super kernel with a lot of features... the main goal of this project is to have a stable kernel with some features
However feature requests, bug reports (with logs), rewiews, ... are always welcome!
but THESE won't be added:
governors (pegasusq has tunables use them)
undervolt and overclock (unstable)
adaptive body bias (ABB)
gpu controls
io schedulers
F2FS (for now)
so the features are:
builded on archlinux
toolchain: https://launchpad.net/gcc-arm-embedded (gcc-arm-none-eabi-4_9-2015q3)
LZO compressed kernel
AnyKernel2 (should support all AOSP roms)
led control and led fading as default (thanks arter97)
changer control
taskstats (iotop support)
io schedulers: [noop] cfq
governors: [pegasusq] performance
tcp congestion controls: [cubic] reno
NTFS support
USB ethernet support
Joystick support (xpad, tablet, ...)
USB OTG support
coming features:
mdnie control
boeffla sound
you tell me
bugs:
none so far
Configuration app? i use terminal but if want you can use Kernel Adiutor of Trickster MOD apps however these won't cover all the features provided by this kernel
Obviously you can use the sources of this kernel but i won't provide support if you want to build it on windows (cygwin) or on mac, this is a linux kernel
You must use LZMA compression if you want to use this kernel for building a recovery otherwise the image won't fit the ~8 MB partition of our device
WARNING
if you want to flash phh's superuser (i use this) then flash first the superuser zip and after the kernel otherwise the rom won't boot
if you use SuperSU the order of flash doesn't matter
Downloads: https://github.com/4rch0x0/android_kernel_samsung_smdk4412/releases
Credits: all people here
XDA:DevDB Information
[KERNEL][~5.0+][N7100]Modded Stock Kernel, Kernel for the Samsung Galaxy Note II
Contributors
ParanoidNote
Source Code: https://github.com/4rch0x0/android_kernel_samsung_smdk4412/commits/master
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: release1-d1a9259
Stable Release Date: 2016-03-22
Created 2016-03-22
Last Updated 2016-03-22
Click to expand...
Click to collapse
For that Rom you need this kernel and can be installed?
Piombo71 said:
For that Rom you need this kernel and can be installed?
Click to expand...
Click to collapse
you can install this kernel on all aosp roms (cyanogenmod, temasek, resurrection remix,...)
it's means this kernal is available for the porting of TW 5.1.1 of N7100?
Leric said:
it's means this kernal is available for the porting of TW 5.1.1 of N7100?
Click to expand...
Click to collapse
Really????
Leric said:
it's means this kernal is available for the porting of TW 5.1.1 of N7100?
Click to expand...
Click to collapse
No this is a kernel for aosp roms (it is based on stock sources) sorry this kernel for now doesn't have a real name
ParanoidNote said:
No this is a kernel for aosp roms (it is based on stock sources) sorry this kernel for now doesn't have a real name
Click to expand...
Click to collapse
all right... thank you
WOW! a new kernel for our note 2 thank you dev! keep it up
P.S. :3 is there any possibility to get dt2wake?
Download link death
zeratull said:
Download link death
Click to expand...
Click to collapse
works now thanks
Stavrosfil said:
WOW! a new kernel for our note 2 thank you dev! keep it up
P.S. :3 is there any possibility to get dt2wake?
Click to expand...
Click to collapse
ok i will try but i remember that was causing issues in some older builds so i don't know if it will be added...
edit: got it working will be live in the next build!
Firstly great kernel and great thanks for implementing dt2wake.
BTW can I know how to disable single tap 2 wake and only use dt2wake. Thanks
maq06 said:
Firstly great kernel and great thanks for implementing dt2wake.
BTW can I know how to disable single tap 2 wake and only use dt2wake. Thanks
Click to expand...
Click to collapse
enable doubletap2wake (knockon) and tap2wake will be disabled automatically
first enable tap2wake (echo 1 > /sys/class/misc/touchwake/enabled) and after enable knockon (echo 1 > /sys/class/misc/touchwake/knockon)
@ParanoidNote I'm using your kernel in the latest crDroid build, but I'm not sure how to use the dt2wake feature. How can I enable it?
andrewKode said:
@ParanoidNote I'm using your kernel in the latest crDroid build, but I'm not sure how to use the dt2wake feature. How can I enable it?
Click to expand...
Click to collapse
read the posts above
ParanoidNote said:
read the posts above
Click to expand...
Click to collapse
Sorry but I'm not blind. I did read the post above and tried that but it still doesn't work.
Trimis de pe al meu GT-N7100 folosind Tapatalk
andrewKode said:
Sorry but I'm not blind. I did read the post above and tried that but it still doesn't work.
Trimis de pe al meu GT-N7100 folosind Tapatalk
Click to expand...
Click to collapse
ok open a terminal, and type:
su
echo 1 > /sys/class/misc/touchwake/enabled
echo 1 > /sys/class/misc/touchwake/knockon
echo 60 > /sys/class/misc/touchwake/delay (delay after the screen goes off)(optional)
if this doesn't work try to reflash the kernel and repeat the procedure above
however i will post in the main thread a sample init for configure the kernel at boot (enable dt2wake, boeffla, zzmoove,...)
ParanoidNote said:
enable doubletap2wake (knockon) and tap2wake will be disabled automatically
first enable tap2wake (echo 1 > /sys/class/misc/touchwake/enabled) and after enable knockon (echo 1 > /sys/class/misc/touchwake/knockon)[/QUOTE
I followed your instructions but
It doesn't seem to work.
I can't able to disable tap 2 wake and only use d2wake.
Click to expand...
Click to collapse
Thank you very much for supporting this device

[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:

[EOL] SmartPack [Kernel] project for Lineage OS-14.1 (AOSP 7.x.x) [ja3g/jalte]

This kernel is now "End-of-Life" (EOL). Thanks to all of you for the kind support...
/* Introduction */
I haven’t found any suitable kernel that supports Lineage OS 14.1 (and likely other aosp nougat ROMs: well, there is no one other than LOS & RR at present) for galaxy S4. So, I decided to make one by adding some additional features that I’m really like to use in my mobile. Here I’m sharing the output of my work and hope you guys like this.
/* DISCLAIMER!! */
Code:
I am not responsible for any damage to your device. Everything you are doing on your device is on your own risk.
This kernel is designed for Lineage OS-14.1. Only use this kernel on any other aosp ROMs in your own risk.
I don't have this device any more. Any of the kernels released after May 03, 2017 is not tested by myself.
This kernel as well as Lineage OS for GT-I9500 is under heavy development. While using this kernel, you many expect some minor bugs.
Please note that flashing any custom Kernel including mine will void your warranty.
/* Supported devices */
Code:
GT-I9500
SHV-E300* (Not fully functional due to the hardware difference to that of GT-I9500)
/* Features */
Build from latest Lineage OS source code.
Built using Google arm-linux-androideabi-4.9 toolchain.
Kernel version updated to 3.4.113
Kernel tweaker apps recommend: Synapse/Kernel Auditor/Kernel Adiutor-Mod. (Some features are presently accessible only in Synapse)
(If you got "No UCI support detected" message, simply go to app settings, force close synapse and then restart app)
Additional features
CPU OC up to 2.0 GHz and UC to 100 MHz
CPU voltage control
Mako hotplug*
FRandom
UKSM
CPU Freq Gov: Nightmare, Intellidemand, Intelliactive, Lionheart, Wheatley*, zzmove, Alucard, ConservativeX, interactiveX, Pegasusq, Dancedance, Ondemandplus, Badass*, Intellimm*, Adaptive*, Lazy*, Darkness* etc.
IO schedulers: Fiops, Sio, Vr, Zen, Fifo, Tripndroid etc.
TCP congestion algorithms: Westwood (Default), Reno, & Cubic, Westwood, HTCP, HSTCP, HYBLA, Vegas, Scalable, VENO, YEAH, Illinois etc.
* removed from the lite versions released from 20170522 onward​
/* Special note to ROM developers */
You are allowed to include my kernel in any ROMs. Feel free to contact me, if you need any assistance from my side.
/* Downloads */
Code:
Make sure to download the correct build for your device/ROM.
Builds with "oc" means overclocked.
ja3g=GT-I9500
jalteskt=SHV-E300S/K
jaltelgt-SHV-E300L
GT-I9500
SHV-E300
Old builds
If anyone like to get Kernel Adiutor-Mod in one click, you may use this recovery flash-able zip file (all the credits to its dev).
/* How to */
Code:
1. Go to recovery (GearRecovery is recommend)
2. Flash Kernel
3. Wipe Cache/Dalvik Cache
4. Reboot and enjoy
/* Acknowledgements */
@Alberto96 - The man behind the development of Lineage OS 14.1 for GT-I9500
@Lord Boeffla
@CrazyGamerGR
@franciscofranco
@jwchen17
@maxfu
@David 617
@davypacheco and @shivam429 for testing
Many other XDA developers
XDA:DevDB Information
SmartPack, Kernel for the Samsung Galaxy S4
Contributors
sunilpaulmathew, Alberto96
Source Code: https://github.com/SmartPack
Kernel Special Features:
Version Information
Status: Beta
Beta Release Date: 2017-04-17
Created 2017-04-17
Last Updated 2017-12-22
Change-logs
20. January 09, 2018
One more *final* build for jalteskt (only for jalteskt) is now added as a response to the request of @f.a.tonmoy. (both LOS/RR and with and w/o overclocking).
Changes: up-to-date with LOS kernel commits...
19. December 23, 2017
Final builds for ja3g & jalteskt (both LOS/RR and with and w/o overclocking).
This Kernel is now End-of-Life (EOL).
Changes: up-to-date with LOS kernel commits...
18. October 16, 2017
New builds for ja3g_LOS (with and w/o overclocking).
Changes: up-to-date with LOS kernel commits...
17. August 16, 2017
Added separate build for SHV-E300S/K RR.
16. August 04, 2017
Builds for SHV-E300S/K/L
Changes: Exactly same as that of the previous build.
15. July 28, 2017
Changes: Same as that of the previous build.
14. July 27, 2017
All the commits from the mainstream Linux till 3.4.113 (latest for this device) is added. Two versions (overclocked and not overclocked) of kernels are now available.
(This build is removed due to some issues in the code)
13. July 26, 2017
The source is fully re-based. A lot of commits (more than 2000) from the mainstream Linux is added. The Linux kernel version is presently 3.4.104 (will be updated to latest).
(This build is removed due to some issues in the code)
12. July 22, 2017
Maintenance update: All the recent commits in the LOS kernel source code till date as well as the LOS and RR ramdisk.
11. June 10, 2017
Final (probably) builds.
New cpu freq govs (pegasusq & dancedance). All the changes in the latest LOS (for ja3g/jalteskt/jaltektt/jaltelgt) and RR (for ja3g) ramdisks are added.
10. May 30, 2017
Latest changes in the ramdisk is added (only for ja3g_RR)
New build, which is common for jalteskt and jaltektt, is added (for jalteskt_LOS & jaltektt_LOS)
9. May 27, 2017
Latest changes in the ramdisk is added (only for ja3g_LOS)
8. May 09, 2017
Minor update. LOS commits until may 9 as well as some other minor additions.
7. May 03, 2017
Merged latest commits from official LOS source which includes the new source code released by Samsung. Added support to SHV-E300S/L.
6. April 28, 2017
Tool chain is switched into Google's arm-linux-androideabi-4.9.
CPU is Overclocked up to 2.0 GHz and under-clocked to 100 MHz (by default it is still 1.6 GHz and 250 Mhz).
5. April 25, 2017
Kernel version is now updated to 3.4.113. Many other fixes and additions...
4. April 23, 2017
Many new cpu freq govs. More cpu control options on Synapse. Sound control is temporarily disabled since it is not accessible in Kernel Auditor/Synapse.
3. April 21, 2017
Separate builds for LOS and RR. New features includes UKSM and FRandom.
2. April 19, 2017
Synapse support. Added features includes alucard CPU freq profile, Sound control (only to GT-I9500) and charger control (need testers).
1. April 17, 2017
Initial release
Please Add Sound Gain Option
STORMING BLOOD17 said:
Please Add Sound Gain Option
Click to expand...
Click to collapse
+1
Fantastic. I was thinking of trying LineageOS 14.1 on my phone, and this made my mind. Thanks! Will report back any bug.
Also, please add battery charge control.
(1900 mA - screen on while charging, has to be decreased)
STORMING BLOOD17 said:
Please Add Sound Gain Option
Click to expand...
Click to collapse
Thanks. Let me try... Plz give me some time...
shivam429 said:
+1
Click to expand...
Click to collapse
jmo707 said:
Fantastic. I was thinking of trying LineageOS 14.1 on my phone, and this made my mind. Thanks! Will report back any bug.
Click to expand...
Click to collapse
Waiting for ur comments
shivam429 said:
Also, please add battery charge control.
(1900 mA - screen on while charging, has to be decreased)
Click to expand...
Click to collapse
Thanks for the suggestion. Let me check how to to implement that feature...
I want to make a suggestion.
The 1304 build of Los 14.1's boot.img supported supersu in systemless mode.
But the 1404 build which your kernel is based is based doesn't support system less SuperSu.
Could you make that happen?
RAZR-93 said:
I want to make a suggestion.
The 1304 build of Los 14.1's boot.img supported supersu in systemless mode.
But the 1404 build which your kernel is based is based doesn't support system less SuperSu.
Could you make that happen?
Click to expand...
Click to collapse
It is more ramdisk related issue. I really don't like to touch the ramdisk as much as possible. So, I simply use the ramdisk from stock LOS boot.img. Btw, if you flash Magisek once gain, you can mostly overcome this issue.
sunilpaulmathew said:
It is more ramdisk related issue. I really don't like to touch the ramdisk as much as possible. So, I simply use the ramdisk from stock LOS boot.img. Btw, if you flash Magisek once gain, you can mostly overcome this issue.
Click to expand...
Click to collapse
Actually it's an stock boot.img issue.
It's there on the 1404 build.
But it's not there on the 1304 build's boot.img
RAZR-93 said:
Actually it's an stock boot.img issue.
It's there on the 1404 build.
But it's not there on the 1304 build's boot.img
Click to expand...
Click to collapse
Can u try this and check whether it is solved or not?
sunilpaulmathew said:
Can u try this and check whether it is solved or not?
Click to expand...
Click to collapse
Unfortunately still same problem
sunilpaulmathew said:
Can u try this and check whether it is solved or not?
Click to expand...
Click to collapse
Change ramdisk compression back to gzip. However, be careful to not make the whole boot.img as bloat as 8 MB.
Sent from my Redmi 3 using XDA Labs
A quick update: need testers
Here is a quick update.
I added sound control (only to GT-I9500) and charger control (to both) to this kernel. However, you need Synapse to access both features (If you got "No UCI support detected" message, simply go to app settings, force close synapse and then restart app). Is someone willing to test both features? If so, kindly share the comments (with a screenshot of both new features if possible). Thanks in advance
/* Downloads */
Code:
[URL="https://forum.xda-developers.com/devdb/project/dl/?id=24318"]GT-I9500[/URL]
[URL="https://forum.xda-developers.com/devdb/project/dl/?id=24317"]SHV-E300[/URL]
sunilpaulmathew said:
Here is a quick update.
I added sound control (only to GT-I9500) and charger control (to both) to this kernel. However, you need Synapse to access both features (If you got "No UCI support detected" message, simply go to app settings, force close synapse and then restart app). Is someone willing to test both features? If so, kindly share the comments (with a screenshot of both new features if possible). Thanks in advance
/* Downloads */
Click to expand...
Click to collapse
wow, thanks a lot. Testing now.
---------- Post added at 10:53 AM ---------- Previous post was at 10:13 AM ----------
It's not working on RR rom. Phone isn't booting up.
shivam429 said:
wow, thanks a lot. Testing now.
---------- Post added at 10:53 AM ---------- Previous post was at 10:13 AM ----------
It's not working on RR rom. Phone isn't booting up.
Click to expand...
Click to collapse
It's only for LOS. For RR (only for android 7.1.2 based), try this...
https://www.dropbox.com/s/0reh9td4ae82xv9/SmartPack-RR_ja3g_beta_20170419.zip?dl=0
Take a look at the screenshots. Also, synapse needs to force stop on every reboot.
Worng screenshot
Sorry, worng screenshot.
Here you go
shivam429 said:
Sorry, worng screenshot.
Here you go
Click to expand...
Click to collapse
Thanks...
So, the charge control seems working and sound control is fully broken...

[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

[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