[KERNEL][Z1C][5.0-5.1][F2FS] Advanced-Kernel v19.0[2017/03/25] - Xperia Z1 Compact Android Development

Overview:
I’m a newbie to rebuild and compile a custom kernel. I like to learn new things and share with you my modified version of 14.5.A.0.242-Kernel
It is basically a mixture between some developers kernel source like e.g.,cocafe,DooMLoRD,alnikki25k.
I'm not a developer so I cannot answer your question about any bugs for this kernel immediately. I will try to ask other developer how to
resolve bugs. Experts, please correct me if I am wrong, this stuff is still new to me also.
2015/07/25
I started to port AndroPlusKernel most of feature for z1 compact
Please to visit the AndroPlusKernel's Original Thread in the Z2 forum, and make sure you read all the instructions there
http://forum.xda-developers.com/xperia-z2/development/kernel-andropluskernel-v10-t2974841
2015/07/31
Click here to see how to control vibrator & WCD9320 Taiko Audio Codec
http://forum.xda-developers.com/showpost.php?p=62125592&postcount=24
Requirements:
HTML:
Xperia Z1 Compact
Unlocked Bootloader
DO NOT use this kernel with CM or CM based ROM.
This kernel is only for stock or stock based ROM.
v1~v4 for 14.5.A.0.242
v5~v12 for 14.5.A.0.270/14.5.A.0.283
v13~v15 for 14.6.A.0.368
v16~ for 14.6.A.1.216
v17~ for 14.6.A.1.236
Installation instructions:
HTML:
Backup your system
Download the ZIP file below, and flash it in recovery
Download Links:
http://goo.gl/qCiTOA
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg
Source Code:
https://github.com/charles1018/kernel_sony_msm8974/tree/lollipop_mr3-dev
Credits:
Code:
sony: (Open source archive for 14.5.A.0.242/270/283)
cocafe: (helping me learn all of build my own kernel from source)
[NUT]: (for all recoveries & 14.5.A.0.242 kernel ramdisk & NDRUtils)
dosomder: (Android kernel module to bypass SELinux at boot)
DooMLoRD & alnikki25k & Faux123 & AndroPlus (for theirs awesome job and great sources to rhine devices)
OmarEinea: (for his great script of build tools letting me easy way to compile kernel)
And for everyone who had a hand in making this kernel better

ChangeLog :
2015-04-29 v1.0 :
init.d
Governor:wheatley,SmartAssv2,pegasusq,LionHeart,LagFree,intellidemand,intelliactive,preservative,blu_active
I/O Scheduler:SIO,VR,ZEN,SIO-Plus,FIOPS
support for kernel mode NEON
fastcharge
support for exfat
2015-05-08 v2.0 :
kexec-hardboot: still not fully work as Primary ROM(MultiROM v30x), i am waiting Garcia98's or other developer update MultiROM to v32
enable additional TCP congestion algorithms(westwood,bic,htcp,vegas,veno,yeah)
Simple GPU Algorithm
change wireless expire time about each entry of scan results(3 * HZ)
net: rps: fix cpu unplug
Sync SSR with disconnect/reconnect
overall_stats
With Kernel Adiutor application you can more tweak and monitor features
2015-05-18 v4.0 :
fix loading stops at the boot screen
multirom TWRP 2.8.6
upgraded LZO (de)compression drivers
added per-core overall stats - now you can see the time spent by each core in a particular frequency state!
added LZ4 compression/decompression support
generic voltage control
added intelli-thermal_v2 kernel thermal driver with optimizations for 8974 SOC
intelli-plug
powersuspend PM kernel driver
kernel samepage merging
2015-05-24 v5.0 :
merge 14.5.A.0.270 kernel sources
Updated ramdisk to 14.5.A.0.270
Fixed simple_ondemand GPU governor crashing
CPU OverClock upto 2.42 GHz
turbo boost on MSM architectures-allows overclocking of 2 cores to higher clock rate than stock maximum
Added some optimizations for cpufreq (less spam log, delete deprecated code)
CPU Undervolting
2015-07-25 v6.0 :
port AndroPlusKernel most of feature for z1 compact
merge 14.5.A.0.283 kernel sources
Built with UBER toolchains 4.9.4
Updated TWRP to 2.8.7.0
Added new CPU governor: alcurd,zzmove, ElementalX, nightmare, darkness, smartmax, HYPER, ondemandplus, intelliminmax, smartassH3, adaptive, intellidemand
Added new I/O: bfq, sioplus, tripndroid
Added optimization I/O, power_efficient workqueue, GPU
Updated Zen IO scheduler and set as default
Added new GPU governor: conservative
Added Adreno idler (addon for adreno-tz)
Reduced logging spam (qmi_qmux)
Updated KCAL
Added some optimization from CM/unified kernel
Removed blu_active,Lagfree,wheatley,lionheart
Added alcurd hotplug
Added sysfs interface to Enable / Disable Android Logger
Updated patch for memory
Added patch for encryption
Added power_efficient workqueues
Added dynamic fsync
Added Dynamic management of dirty page writeback
Integrated frandom in kernel and support frandom module
Added fast_hotplug by pec0ra 2
Supports notifier for start&end of LCD power on&off
2015-07-31 v7.0 :
update some codes from codeaurora
Added WCD9320 Taiko Audio Codec Control v3 from cocafe
Increase default speaker volume
qpnp-vibrator intensity control
enabling two-way call recording directly from the phone line
Click here to see how to control vibrator & WCD9320 Taiko Audio Codec
http://forum.xda-developers.com/showpost.php?p=62125592&postcount=24
2015-08-15 v8.0 :
kernel with kexec-hardboot(thanks to venkat kamesh's ramdisk & OmarEinea's kexec-hardboot patch)
fix Darkness governor random reboots when heavy memory use(we need more tests)
fix KCAL Color Control is not working
The vibration strength can be controlled by Kernel Adiutor application
fix lowmemorykiller being overly aggressive
increase the total number of GFP flags
fix waking up sync thread recursively for same CPU causes deadlock
enable ZRAM features(from Linaro Stable Kernel 3.10)
zram: add lz4 algorithm backend
CPU hotplug: Provide lockless versions of callback registration functions
powersuspend: cumulative update to version 1.6
intelli_plug:update to version 4.0
msm: kgsl: Make global memory statistics atomic
Click my github commits to view changeLog details
2015-08-21 v9.0 :
Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)
Changed wakelock blocker sysfs name to one in Kernel Adiutor
Added interactive_proconservative Governor
Added mac80211 injection patch and HID patch for keyboard support
Updated zzmove to 1.0-beta8
Added CPU hotplug Zen Decision
2015-08-28 v10.0 :
back to the regular default speaker volume
added mako hotplug
added new GPU governor: cache-hwmon
msm: memutils: memcpy, memmove, copy_page optimization
scm-mpu: Add additional memory protection options
Click here to see how to add support for a scm call to protect a contiguous physical address range.
http://forum.xda-developers.com/showpost.php?p=62550061&postcount=49
2015-09-08 v11.0 :
fix sometimes have freezed or crashed problems
updated kernel to 3.4.1
updated UBER toolchains to 4.9.4 20150901
Enhance power efficiency: Series of patches from NVIDIA
fix last_kmsg not working
changed default dirty_writeback_active_centisecs to 3000
changed intelli_thermal poll default value
updated kcal and added some patches
removed scm-mpu(unstable)
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg
2015-09-14 v12.0 :
Updated kernel to 3.4.10
Disabled dynamic fsync by default
Patched random reboot caused by dynamic fsync panic
V12 is the final version of the 14.5.A.0.270/283
The next version is the 14.6.A.0.368
2015-09-26 v13.0 :
v13 supports 5.1.1, most features from my 5.0.2 version.
Main Features :
Merge 14.6.A.0.368 kernel sources
Updated ramdisk to 14.6.A.0.368
Updated kernel to 3.4.10
TWRP 2.8.7 from xNUTx
Built with UBER toolchains 4.9.4 20150920
busybox v1.23.2
init.d support
port AndroPlusKernel most of feature for z1/z1 compact
CPU OverClock upto 2.42 GHz
Added some optimizations for cpufreq (less spam log, delete deprecated code)
Added WCD9320 Taiko Audio Codec Control v3 from cocafe
Add a backlight brightness hack to allow a lower minimum backlight brightness in v13(thank to Tommy-Geenexus)
Added new CPU governor:alcurd,zzmove,ElementalX,nightmare,darkness,smartmax,HYPER,ondemandplus,
intelliminmax,smartassH3,adaptive,intellidemand,interactive_proconservative,SmartAssv2,pegasusq,
intellidemand,intelliactive,preservative
Added new I/O Scheduler:bfq,tripndroid,sio,vr,zen,sio-plus,fiops,test-iosched
Updated Zen IO scheduler and set as default
Simple GPU Algorithm
Added new GPU governor: conservative,cache-hwmon
Added optimization I/O, power_efficient workqueue, GPU
Added Adreno idler (addon for adreno-tz)
KCAL – Advanced Color Control for Qualcomm Devices
Added CPU hotplug:intelli,Alucard,Zen Decision,mako hotplug
Added sysfs interface to Enable / Disable Android Logger
Updated patch for memory
Added patch for encryption
Added power_efficient workqueues
Added dynamic fsync
Supports notifier for start&end of LCD power on&off
qpnp-vibrator intensity control
enabling two-way call recording directly from the phone line
Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)
Added mac80211 injection patch and HID patch for keyboard support
msm: memutils: memcpy, memmove, copy_page optimization
Enhance power efficiency: Series of patches from NVIDIA
last_kmsg
support for kernel mode NEON
fastcharge
enable additional TCP congestion algorithms:westwood,bic,htcp,vegas,veno,yeah
upgraded LZO (de)compression drivers
added per-core overall stats - now you can see the time spent by each core in a particular frequency state!
added LZ4 compression/decompression support
generic voltage control
added intelli-thermal_v2 kernel thermal driver with optimizations for 8974 SOC
powersuspend PM kernel driver
2015-10-08 v14.0 :
Updated kernel to 3.4.14
Support F2FS filesystem(from linux kernel 4.2)
Updated ZRAM (from Linaro Stable Kernel 3.10)
ZRAM: enable lz4 algorithm backend
Built with UBER toolchains 4.9.4 20151001
Add custom logo
leds-qpnp:Blink interpolation; fix qpnp-pwm driver
notifier:it's going slowly on and slowly off
Re-updated bfq I/O gov to v7r8
tcp_output: set initial TCP window size to 64K (speed improvement)
PM: Enable asynchronous noirq resume threads to save the resuming time
tcp_cubic: better follow cubic curve after idle period
Click here to see how to Change File System.
http://forum.xda-developers.com/showpost.php?p=63198366&postcount=111
2015-10-17 v15.0 :
fix the random reboot issues
f2fs: getting the latest code from upstream
f2fs: system partition support
zram: fix merge errors & bring up to date with Cl3Kener's branch
zram: set lz4 algorithm as default
lz4: update some codes from upstream
zsmalloc: fix merge errors
removed intelli thermal
thermal: add 3-phase msm_thermal(thanks to showp1984)
memory.c: fix show_mem_removable() to handle missing sections
2015-11-16 v16.0 :
Merge 14.6.A.1.216 kernel sources
Updated ramdisk to 14.6.A.1.216
updated kernel to 3.4.20
updated UBER toolchains to 4.9.4 20151101
f2fs: getting the latest code from upstream
enable higher eMMC speed modes(thanks to Tommy-Geenexus)
2016-02-29 v17.0 :
Merge 14.6.A.1.236 kernel sources
Updated ramdisk to 14.6.A.1.236
Updated UBER toolchains to 4.9.4 20160201
Updated zzmoove governor
f2fs: catch up to linux kernel 4.5-rc1 & backport support(removed system partition support, only data & cache partition support)
binfmt_elf.c: use get_random_int() to fix entropy depleting
leds: leds-qpnp: Add API for RGB led
fix last_kmsg that isn't working
2016-04-03 v18.0 :
Updated kernel to 3.4.25
Updated TWRP to 3.0.1
build with UBER toolchains 5.3 20160401
f2fs: catch up to linux kernel 4.5 & backport support
fixes some minor bugs
2016-04-10 v18.1 :
Updated TWRP to 3.0.2
Updated busybox to 1.24.2
2017-03-25 v19.0 :
updated twrp to 3.1.0
build with gcc-linaro toolchains 5.4.1-2017.01(stable) and gcc-linaro toolchains 6.3.1-2017.02(testing)
update busybox to 1.26.2
update some codes from codeaurora
minor bug fixes and improvements f2fs
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg

nice start
Seems to be working fine so far.... good job :good:
I'd like to suggest some features :
Intellimm
Intelliplug
more tcp congestions algorithms (e.g. westwood)
gpu governors
etc etc

i flashed it but it wont start after boot
I installed a based rom [Advanced]RockZ1l_v1.1

repelsteel82 said:
i flashed it but it wont start after boot
I installed a based rom [Advanced]RockZ1l_v1.1
Click to expand...
Click to collapse
Yup, doesnt boot after flashing kernel
I installed it on stock sony rom, not-deodexed
BUT after i reinstalled xposed (instruction for odex), and wipe cahce, phone is booted...infinitely loaded and can not run (

Yep confirmed doesnt work on RockZ1l_v1.1 also !
No boot and no acces to recovery (blocked before)
Had to flash boot.img via fastboot and restored my backup...

i will try to see what i can do, but i need time to learn first

Cresqo said:
Seems to be working fine so far.... good job :good:
I'd like to suggest some features :
Intellimm
Intelliplug
more tcp congestions algorithms (e.g. westwood)
gpu governors
etc etc
Click to expand...
Click to collapse
lots of 4.x kernel source codes do not work 5.0.2
i will try if i can when i have free time

Doesn't work on Stock Sony Lollipop firmware 14.5.A.0.242.

ssdog27 said:
Doesn't work on Stock Sony Lollipop firmware 14.5.A.0.242.
Click to expand...
Click to collapse
Do you have to unlock bootloader?
I used PRFCreator to make D5503-pre-rooted-firmware-14.5.A.0.242 zip. For me this kernel to be working fine so far.
try to:
- fastboot flash boot boot.img (from kernel zip)
- fastboot reboot
- enter recovery, and flash kernel zip
- flash SuperSU installable ZIP (option)

to be included in next changeLog:
kexec-hardboot: still not fully work as Primary ROM(MultiROM v30x), i am waiting Garcia98's or other developer update MultiROM to v32
enable additional TCP congestion algorithms(westwood,bic,htcp,vegas,veno,yeah)
Simple GPU Algorithm
change wireless expire time about each entry of scan results(3 * HZ)
net: rps: fix cpu unplug
Sync SSR with disconnect/reconnect
overall_stats
With Kernel Adiutor application you can more tweak and monitor features

I have just one simple question really, F2FS?

sharonliu said:
Do you have to unlock bootloader?
I used PRFCreator to make D5503-pre-rooted-firmware-14.5.A.0.242 zip. For me this kernel to be working fine so far.
try to:
- fastboot flash boot boot.img (from kernel zip)
- fastboot reboot
- enter recovery, and flash kernel zip
- flash SuperSU installable ZIP (option)
Click to expand...
Click to collapse
I dont understand.. I did it all, but kernel doesnt work..(
Stock LP, RUS, Odex, All the loading stops at the boot screen

I have just one simple question really, F2FS?
Click to expand...
Click to collapse
i will try to see what i can do

John.D.. said:
I dont understand.. I did it all, but kernel doesnt work..(
Stock LP, RUS, Odex, All the loading stops at the boot screen
Click to expand...
Click to collapse
try v4.0, it should work now

sharonliu said:
try v4.0, it should work now
Click to expand...
Click to collapse
Wow, all earned in the fourth version
If there are any bugs, I will certainly write about it
If you changed blu_active governor, or simple_ondemand gpu governor, after some time phone rebooted

sharonliu said:
i will try to see what i can do
Click to expand...
Click to collapse
John.D.. said:
Wow, all earned in the fourth version
If there are any bugs, I will certainly write about it
If you changed blu_active governor, or simple_ondemand gpu governor, after some time phone rebooted
Click to expand...
Click to collapse
I will try to fix it in next releases.

I started to port AndroPlusKernel most of feature for z1 compact
v6.0 will release this weekend

sharonliu said:
I started to port AndroPlusKernel most of feature for z1 compact
v6.0 will release this weekend
Click to expand...
Click to collapse
OMG Thank you!)

to be included in v6.0 changeLog:
I started to port AndroPlusKernel most of feature for z1 compact
Please to visit the AndroPlusKernel's Original Thread in the Z2 forum, and make sure you read all the instructions there
http://forum.xda-developers.com/xperia-z2/development/kernel-andropluskernel-v10-t2974841
changeLog:
port AndroPlusKernel most of feature for z1 compact
merge 14.5.A.0.283 kernel sources
Built with UBER toolchains 4.9.4
Updated TWRP to 2.8.7.0
Added new CPU governor: alcurd,zzmove, ElementalX, nightmare, darkness, smartmax, HYPER, ondemandplus, intelliminmax, smartassH3, adaptive, intellidemand
Added new I/O: bfq, sioplus, tripndroid
Added optimization I/O, power_efficient workqueue, GPU
Updated Zen IO scheduler and set as default
Added new GPU governor: conservative
Added Adreno idler (addon for adreno-tz)
Reduced logging spam (qmi_qmux)
Updated KCAL
Added some optimization from CM/unified kernel
Removed blu_active,Lagfree,wheatley,lionheart
Added alcurd hotplug
Added sysfs interface to Enable / Disable Android Logger
Updated patch for memory
Added patch for encryption
Added power_efficient workqueues
Added dynamic fsync
Added Dynamic management of dirty page writeback
Integrated frandom in kernel and support frandom module
Added fast_hotplug by pec0ra 2
Supports notifier for start&end of LCD power on&off

Related

[KERNEL][CM-based] Pimped Kernel (F2FS|SoundControl|DT2Wake|CPU & GPU OC|Color Control|Voltage|FastCharge|Intelliplug...)

[KERNEL][CM-based] Pimped Kernel (F2FS|SoundControl|DT2Wake|CPU & GPU OC|Color Control|Voltage|FastCharge|Intelliplug...)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
THIS KERNEL IS ONLY FOR AOSP/CM BASED ROMS
(= NOT COMPATIBLE WITH SONY FIRMWARES)​
All the kernel features are controllable through my Pimp My Z1 app, (thread here).​
Features
Sound Control: Faux123's GPL Sound Control 3
Color Calibration Control: LCD_KCAL interface ported to the Z1 by @DooMLoRD, gives full control over the RGB channels of the display
GPU OC: 200MHz / 320MHz / 389MHz / 487.5MHz / 533MHz / 600MHz frequency scaling steps
CPU OC: up to 2.26GHz
CPU Voltage Control: use TricksterMod for the moment
DoubleTap2Wake: double-tap the screen to wake-up the device
Intelliplug: Faux123's latest intelliplug hotplugging driver with eco mode (v5.0)
[*]MPDecision: showp1984's open-source & customizable msm_mpdecision hotplugging driver
Dynamic Fsync: Faux123's Dynamic File Sync v1.5
PowerSuspend: Faux123's power_suspend driver (replacing early_suspend)
Snake Charmer: Faux123's msm_cpufreq_limit CPU frequency limiter driver
Fast Charge: Faux123's fast_charge driver, allowing to set the amperage of the charger or USB port your device is plugged-in to
CPU Boost: Faux123's CPU Input Boost module (will soon add controls for it in Pimp My Z1)
GPU Wake-on-touch: allows touch events to wake the GPU if it was previously in slumber
KSM: Kernel Same-page Merging enabled
F2FS Support: Samsung's F2FS nand-optimized file system support
exFAT Support: Samsung's open-source exFAT driver
zRam Support: support for zRam memory compression
CPUPower: Linaro's cpupower PM driver
Async Fsync: Asynchronous file sync
MSM_Sleeper: Support for setting the max CPU frequency when screen is off through sysfs
Kernel mode NEON: NEON-accelerated XOR framework & support for NEON instructions in kernel mode
Overall Stats: CPU overall stats on a per-core basis
Compression: XZ Compressed & LZ4 compression algorithm support
Sched MC: Multi-Core Power Savings support
Sched SMT: Multi-Thread Power Savings support
Arch_Power: arch-specific power sched features enabled
Workqueue: backported from kernel 3.7, allows CPU hotplug to keep idle workers (learn more)
Toolchain: Built with Linaro GCC 4.8.3 toolchain from 14.02 release
Optimizations: Built with -O2 and many optimization flags
Kexec-hardboot ?: attempted to port @Tassadar's kexec-hardboot patches from the nexus 5, needs testing and confirmation that it works
Additional Governors:
Intellidemand
Intelliactive
Pegasusq
Nightmare
Hyper
Alucard
InteractiveX2
SmartassV2
Lagfree
Wheatley
Lionheart
Badass
Additional I/O Schedulers:
SIO (SImple Ondemand)
FIOPS (Fair Input/Output Per Second)
BFQ (Budget Fair Queueing)
VR
Additional TCP Congestion Algorithms:
BIC
Westwood
HSTCP
Hybla
HTCP
Vegas
Veno
Scalable
LP
YeAH
Illinois
Click to expand...
Click to collapse
Download
Latest builds: Regular version: 2014-06-08 || Light version: 2014-07-27​
Light Version: http://d-h.st/gyD
[*]Regular Version: http://d-h.st/La1 (doesn't work with 4.4.4 ROMs)
Click to expand...
Click to collapse
Disclaimer
Code:
# Neither me or any contributors to this kernel can nor will be held
# responsible for any damage or any kind of problem related to its use.
# You are using this piece of software AT YOUR OWN RISK.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
Sources
The sources are obviously covered by the General Public License, and are available on my github at:
https://github.com/PimpedKernel/android_kernel_sony_msm8974
Click to expand...
Click to collapse
Credits
Thanks to faux123 for all his contributions to the android kernel community, many of which are implemented here
Thanks to showp1984 for his msm_mpdecision hotplug driver
Thanks to DooMLoRD for all the cherry-picked features from his DoomKernel
Thanks to krabapel2458 for the inital port from DoomKernel of features like GPU OC, some governors and more.
Thanks to MohammadAG for the DoubleTap2Wake port
And of course, thanks to FreeXperia and Kali- in particular, for the device bring-up
Click to expand...
Click to collapse
XDA:DevDB Information
Pimped Kernel, Kernel for the Sony Xperia Z1
Contributors
Androguide.fr
Kernel Special Features: Sound Control, GPU OC, Intelliplug, PowerSuspend, Dynamic Fsync, exFAT, F2FS, KSM, Intellidemand, Intelliactive, SmartassV2, InteractiveX2, Lionheart, Wheatley, Badass, Lagfree, BFQ, SIO, FIOPS, Westwood, Hybla, HSTCP, HTCP, Veno, Illinois, LP, BIC...
Version Information
Status: Beta
Created 2014-02-25
Last Updated 2014-07-29
Changelogs
Changelogs
2014-04-24
Updated to Linux kernel version 3.4.86
Re-added GPU OC up to 600MHz and hopefully fixed the issues some people had with it
Added zRam support (thanks to DooMLoRD)
Added msm_sleeper (thanks to DooMLoRD), controls coming to Pimp My Z1 soon
Added memutils optimizations (thanks to DooMLoRD)
Merged a lot of slimbus/slim-ngd/slim_msm/qdsp6v2/wcd9xxx & other audio-related optimizations from franciscofranco's nexus 5 kernel
Merged some OOM, ocmem & other memory-management-related optimizations from franciscofranco's nexus 5 kernel
Merged a fix for msm_z180 memory leak from franciscofranco's kernel
Some other random cherry-picks
2014-04-15
Re-added all the previous features except GPU OC
Added Async Fsync
New I/O Scheduler: VR
Added support for PAC rom
2014-03-21
Added workqueue backported from kernel 3.6 + its 3.7 updates
Reduced CPU retention voltage
Fixed & enabled F2FS (now all we need is an f2fs-compatible TWRP, or at least cross-compiled mkfs.f2fs & fsck.f2fs binaries)
Enabled VMALLOC savings
Switched back to TWRP
Prepared initial support for amami (Z1 Compact)
2014-03-18
Reverted back to Qualcomm's mpdecision from showp1984's mpdecision
Made the flashable zip backup of the original wlan.ko module (to /system/lib/modules/wlan.ko.bak)
2014-03-17
Included wlan.ko module built with the kernel
Fixed SnakeCharmer max freq & intelli min/max inactive frequencies
2014-03-16
Replaced Qualcomm's closed-source mpdecision with showp1984's open-source & customizable mpdecision driver
Implemented faux123's msm_cpufreq_limit driver (a.k.a SnakeCharmer)
Added Linaro's cpupower pm driver
Enabled SCHED_SMT
Enabled arch_power sched feature
KSM: skip page if it has already been scanned
Made intellidemand the default governor
Enabled power_suspend by default
Enabled KSM by default
2014-03-14
Fixed intelliplug
2014-03-13
Added 389MHz GPU frequency step
Lowered GPU voltage constraints
Overclocked SLIMbus: rootfreq from 11 (24.526MHz) to 31 (27+MHz, the maximum) & clock-gear from 7 to 10 (max).
This means SLIMbus will use its maximum potential to give the best audio quality for the hardware.
Re-added kernel NEON mode & NEON-accelerated XOR framework
Added word-at-a-time kernel interface
Re-added epoll performance tweaks (increased from 35k jOPS to 125k jOPS on a 16 sockets benchmark run)
Re-added futex tweaks
Re-added softirq latency tweaks
Enabled Sched_MC power savings at level 1 (= moderate) by default
Various ext4 & net performance tweaks
Merged upstream CM commits
2014-03-10
Added F2FS support
Added camera fix
Re-added exFAT support
Re-added GPU wake on touch
Re-added intellidemand's touch input boost
Re-added my attempt at porting kexec-hardboot
Re-added RNGD tweaks
Re-added CPU hotplugging tweaks
Re-added writeback tweaks
2014-03-06
Fixed kernel panics introduced in previous build
Added data writeback optimizations
Added random number generator optimizations
Enabled multi-core power savings by default, with a value of 1 (= moderate)
2014-03-04
Intellidemand: added CPU boost (boosts the CPU frequency when touch inputs are received)
Added GPU Wake-on-touch (allows touch events to wake the GPU if it's in slumber)
Added support for kernel mode NEON
Attempted to port @tassadar's kexec-hardboot patches for the nexus 5 (needs testing)
Input: Send events one packet at a time (reduces irqsoff latency of ~ 50 micro seconds)
Softirq: reduce latencies (significantly reduces network irq latencies)
Added Samsung's open source exFat module version 1.2.4 (= exFat support)
Enabled Kernel Same-page Merging (KSM)
Epoll optimizations (performance went from 35k jOPS to 125k jOPS on a 16 socket benchmark)
Many hotplug logic optimizations
Built with latest Linaro gcc 4.8 toolchain (2014-02)
Built in the CM tree so there should be no more compatibility issues with other roms
2014-03-03
Added new intelliactive governor from faux123's nexus 5 kernel
Added faux123's msm_cpufreq_limit driver
Added the following TCP congestion algorithms (will add control in Pimp My Z1 soon, meanwhile you can use Pimp My Rom):
BIC
Westwood
HSTCP
Hybla
HTCP
Vegas
Veno
Scalable
LP
YeAH
Illinois
2014-03-02
Added InteractiveX2 CPU Governor
Added SmartassV2 CPU Governor
Added Lagfree CPU Governor
Added Test I/O Scheduler
Updated Linaro toolchain to 2013-01 gcc 4.7 release
Fixed missing features in previous build
Uncapitalized lionheart CPU Governor
2014-02-25
Merged upstream CM commits
2014-02-24
Initial release
Reserved
Instructions for switching to F2FS
/!\ WARNING: This operation will wipe all your data as well as your internal storage /!\
Download an F2FS version of Pimped Kernel
Flash it in recovery
Reboot recovery, you should now be in the included modified CWM
Go to 'mounts & storage' and select 'format /data and /data/media (/sdcard)'
Go to 'mounts & storage' and select 'format /cache'
Reboot & Enjoy
Why using F2FS?
I recently compared ext4 & f2fs in a series of benchmarks, and F2FS clearly provides better performance than ext4.
You can read the full comparision & benchmark results here: http://forum.xda-developers.com/showthread.php?t=2697069
Please note that f2fs might be more prone to data corruption or otherwise be less stable, although I have not encountered any issue at the moment.
Great, flashed it. Works like last one, but still can't disable MP-decision
And can't CPU OC yet.
I don't know if Honami control will fix these issues.
Thanks, great anyway!
Subscribed. Cannot wait for this to be an awesome "pimped" kernel for CM11.
Will you have a flashable zip?
I fastboot flashed the boot.img, however no more root / superuser.
Update: flashed supersu zip - now have root.
Kernel is working fine, however getting random soft reboots every now and then.
FIOPS / 2048 readahead / Intellidemand / ECO on / intelliplug on / mpdecision off
min 300 / max 1267200 / multicore power saving 1
Thank you for your hard work, @Androguide.fr , you are making awesome things.
Testing the kernel now.
[OT Mode ON]
Also, a little bit OT, but.. does omnirom support theme chooser?
[OT Mode OFF]
Is there any possibility of including gamma control like as in Xperia Z??
Could you add pegasusq governor?
CappyT said:
Thank you for your hard work, @Androguide.fr , you are making awesome things.
Testing the kernel now.
[OT Mode ON]
Also, a little bit OT, but.. does omnirom support theme chooser?
[OT Mode OFF]
Click to expand...
Click to collapse
Thanks for your support.
Omni currently does not include the theme chooser, but I hear a revamped one is on its way.
pranii23 said:
Is there any possibility of including gamma control like as in Xperia Z??
Click to expand...
Click to collapse
I will look into it but I don't think I'm a good enough kernel dev to do the port, if DooMLoRD ports it to DoomKernel then I will probably merge it.
Ahki767 said:
Could you add pegasusq governor?
Click to expand...
Click to collapse
If you have a link to its implementation on an other msm8974 device's kernel, please send it to me and I'll take a look.
InteractiveX2, SmartassV2 & Lagfree are merged but not enabled as they cause build errors when enabled in defconfig , I will try and fix those when I got time.
Same for the VR I/O Scheduler, it's merged but not enabled in defconfig atm.
Nice, there has been an avalanche of commits merged on the CM kernel, apparently related to the remaining camera & hardware overlays bugs, I merged those and I'm building right now.
EDIT: here's a link for the flashaholics, this one has the Omni boot logo as I'm at work and I forgot to commit the Pimped Kernel boot logo, but otherwise it's the same kernel with the new CM commits included.
I'll rebuild it tonight with the correct bootlogo and version name.
Download: http://d-h.st/kZ1
MD5: b44957069fbeb431ccb0e2e5b7772e72​
Great kernel! runs great with Omni Honami ROM (latest build) :good:
Can someone make a flashable zip of the new kernel? Iam @ work and want to flash this "on the fly"
Ty for your awesome work
Gesendet von meinem Xperia Z1 mit Tapatalk 2
@Androguide.fr there is a problem with your kernel, I get strange random reboots and sleep of death...
I tried to set governor to interactive, but no luck at all...
Inviato dal mio Xperia Z1 utilizzando Tapatalk
Any chance this week have tap to wake feature??
Cheers!
Sent from my Xperia Z1
CappyT said:
@Androguide.fr there is a problem with your kernel, I get strange random reboots and sleep of death...
I tried to set governor to interactive, but no luck at all...
Inviato dal mio Xperia Z1 utilizzando Tapatalk
Click to expand...
Click to collapse
I won't be able to help unless you provide me with more infos such as which rom you're running and a logcat of you trying to set the governor for example.
A kmsg of the random reboots would be nice, too.
I suspect the issue is with the ramdisk as none of the above issue seem to occur on Omni.
Androguide.fr said:
I won't be able to help unless you provide me with more infos such as which rom you're running and a logcat of you trying to set the governor for example.
A kmsg of the random reboots would be nice, too.
I suspect the issue is with the ramdisk as none of the above issue seem to occur on Omni.
Click to expand...
Click to collapse
Ok, today i will switch to aosb and then if it happens i will provide logcat an kmsg... Any app to use for that? (Apart of echo from terminal?)
Inviato dal mio Xperia Z1 utilizzando Tapatalk
Nice...wow...cool!
I am running this kernel on the new cm11 4.4.2 rom AOSB. Without problems. Now I can run my *.flac Music whith more GAIN...YEAH!
Only thing is that for example Bard´s Tale wont save the data to sd-card. Can it be solved with the kernel? I just heard in the AOSB thread its a Android 4.4 related problem. In this moment I am saving my sd-data and try to partitioning it. Or maybe this is useless? Can I get the apps to save to sd-card with this kernel maybe?
CappyT said:
Ok, today i will switch to aosb and then if it happens i will provide logcat an kmsg... Any app to use for that? (Apart of echo from terminal?)
Inviato dal mio Xperia Z1 utilizzando Tapatalk
Click to expand...
Click to collapse
For the logcat you can use the "Catlog" app.
For the kmsg I don't think there are any apps, you'll need to use adb or the terminal:
Code:
cat /proc/kmsg > /sdcard/kernel-message.txt
or, after a random reboot to get the kmsg from before the reboot:
Code:
cat /proc/last_kmsg > /sdcard/last-kernel-message.txt
Ry Chy® said:
I am running this kernel on the new cm11 4.4.2 rom AOSB. Without problems. Now I can run my *.flac Music whith more GAIN...YEAH!
Only thing is that for example Bard´s Tale wont save the data to sd-card. Can it be solved with the kernel? I just heard in the AOSB thread its a Android 4.4 related problem. In this moment I am saving my sd-data and try to partitioning it. Or maybe this is useless? Can I get the apps to save to sd-card with this kernel maybe?
Click to expand...
Click to collapse
Did you have this issue with the CM kernel or the previous kernel you were running ?
If you didn't then it's probably due to the mass storage support for sdcard commits included in the ramdisk, it might not be compatible with other roms.
I will rebuild the kernel with the stock CM ramdisk tonight.
Androguide.fr said:
Did you have this issue with the CM kernel or the previous kernel you were running ?
If you didn't then it's probably due to the mass storage support for sdcard commits included in the ramdisk, it might not be compatible with other roms.
I will rebuild the kernel with the stock CM ramdisk tonight.
Click to expand...
Click to collapse
Was on stock rom before (Monx´s Rom for Z1 and DooM´s Kernel), no problem at all. Since I´ve flashed AOSB yesterday, with stock cm-kernel or this one, I have this problem.
~~~~~~~~~~~~EDIT~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Didn´t had success with partitioning sd-card in any way. Neither with Win7 Software or TWRP. Bad thing. Is there any patch or workaround for Android 4.4 ?

[KERNEL][Z1] [5.0-5.1][F2FS]Advanced-Kernel v19.0[03/26/2017]

Overview:
I’m a newbie to rebuild and compile a custom kernel. I like to learn new things and share with you my modified version of 14.5.A.0.242-Kernel
It is basically a mixture between some developers kernel source like e.g.,cocafe,DooMLoRD,alnikki25k.
I'm not a developer so I cannot answer your question about any bugs for this kernel immediately. I will try to ask other developer how to
resolve bugs. Experts, please correct me if I am wrong, this stuff is still new to me also.
2015/07/25
I started to port AndroPlusKernel most of feature for z1 compact
Please to visit the AndroPlusKernel's Original Thread in the Z2 forum, and make sure you read all the instructions there
http://forum.xda-developers.com/xperia-z2/development/kernel-andropluskernel-v10-t2974841
2015/07/31
Click here to see how to control vibrator & WCD9320 Taiko Audio Codec
http://forum.xda-developers.com/showpost.php?p=62125592&postcount=24
Requirements:
HTML:
Xperia Z1 Compact
Unlocked Bootloader
DO NOT use this kernel with CM or CM based ROM.
This kernel is only for stock or stock based ROM.
v1~v4 for 14.5.A.0.242
v5~v12 for 14.5.A.0.270/14.5.A.0.283
v13~v15 for 14.6.A.0.368
v16~ for 14.6.A.1.216
v17~ for 14.6.A.1.236
Installation instructions:
HTML:
Backup your system
Download the ZIP file below, and flash it in recovery
Download Links:
http://goo.gl/qCiTOA
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg
Source Code:
https://github.com/charles1018/kernel_sony_msm8974/tree/lollipop_mr3-dev
Credits:
Code:
sony: (Open source archive for 14.5.A.0.242/270/283)
cocafe: (helping me learn all of build my own kernel from source)
[NUT]: (for all recoveries & 14.5.A.0.242 kernel ramdisk & NDRUtils)
dosomder: (Android kernel module to bypass SELinux at boot)
DooMLoRD & alnikki25k & Faux123 & AndroPlus (for theirs awesome job and great sources to rhine devices)
OmarEinea: (for his great script of build tools letting me easy way to compile kernel)
And for everyone who had a hand in making this kernel better
ChangeLog :
2015-04-29 v1.0 :
init.d
Governor:wheatley,SmartAssv2,pegasusq,LionHeart,LagFree,intellidemand,intelliactive,preservative,blu_active
I/O Scheduler:SIO,VR,ZEN,SIO-Plus,FIOPS
support for kernel mode NEON
fastcharge
support for exfat
2015-05-08 v2.0 :
kexec-hardboot: still not fully work as Primary ROM(MultiROM v30x), i am waiting Garcia98's or other developer update MultiROM to v32
enable additional TCP congestion algorithms(westwood,bic,htcp,vegas,veno,yeah)
Simple GPU Algorithm
change wireless expire time about each entry of scan results(3 * HZ)
net: rps: fix cpu unplug
Sync SSR with disconnect/reconnect
overall_stats
With Kernel Adiutor application you can more tweak and monitor features
2015-05-18 v4.0 :
fix loading stops at the boot screen
multirom TWRP 2.8.6
upgraded LZO (de)compression drivers
added per-core overall stats - now you can see the time spent by each core in a particular frequency state!
added LZ4 compression/decompression support
generic voltage control
added intelli-thermal_v2 kernel thermal driver with optimizations for 8974 SOC
intelli-plug
powersuspend PM kernel driver
kernel samepage merging
2015-05-24 v5.0 :
merge 14.5.A.0.270 kernel sources
Updated ramdisk to 14.5.A.0.270
Fixed simple_ondemand GPU governor crashing
CPU OverClock upto 2.42 GHz
turbo boost on MSM architectures-allows overclocking of 2 cores to higher clock rate than stock maximum
Added some optimizations for cpufreq (less spam log, delete deprecated code)
CPU Undervolting
2015-07-25 v6.0 :
port AndroPlusKernel most of feature for z1 compact
merge 14.5.A.0.283 kernel sources
Built with UBER toolchains 4.9.4
Updated TWRP to 2.8.7.0
Added new CPU governor: alcurd,zzmove, ElementalX, nightmare, darkness, smartmax, HYPER, ondemandplus, intelliminmax, smartassH3, adaptive, intellidemand
Added new I/O: bfq, sioplus, tripndroid
Added optimization I/O, power_efficient workqueue, GPU
Updated Zen IO scheduler and set as default
Added new GPU governor: conservative
Added Adreno idler (addon for adreno-tz)
Reduced logging spam (qmi_qmux)
Updated KCAL
Added some optimization from CM/unified kernel
Removed blu_active,Lagfree,wheatley,lionheart
Added alcurd hotplug
Added sysfs interface to Enable / Disable Android Logger
Updated patch for memory
Added patch for encryption
Added power_efficient workqueues
Added dynamic fsync
Added Dynamic management of dirty page writeback
Integrated frandom in kernel and support frandom module
Added fast_hotplug by pec0ra 2
Supports notifier for start&end of LCD power on&off
2015-07-31 v7.0 :
update some codes from codeaurora
Added WCD9320 Taiko Audio Codec Control v3 from cocafe
Increase default speaker volume
qpnp-vibrator intensity control
enabling two-way call recording directly from the phone line
Click here to see how to control vibrator & WCD9320 Taiko Audio Codec
http://forum.xda-developers.com/showpost.php?p=62125592&postcount=24
2015-08-15 v8.0 :
kernel with kexec-hardboot(thanks to venkat kamesh's ramdisk & OmarEinea's kexec-hardboot patch)
fix Darkness governor random reboots when heavy memory use(we need more tests)
fix KCAL Color Control is not working
The vibration strength can be controlled by Kernel Adiutor application
fix lowmemorykiller being overly aggressive
increase the total number of GFP flags
fix waking up sync thread recursively for same CPU causes deadlock
enable ZRAM features(from Linaro Stable Kernel 3.10)
zram: add lz4 algorithm backend
CPU hotplug: Provide lockless versions of callback registration functions
powersuspend: cumulative update to version 1.6
intelli_plug:update to version 4.0
msm: kgsl: Make global memory statistics atomic
Click my github commits to view changeLog details
2015-08-21 v9.0 :
Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)
Changed wakelock blocker sysfs name to one in Kernel Adiutor
Added interactive_proconservative Governor
Added mac80211 injection patch and HID patch for keyboard support
Updated zzmove to 1.0-beta8
Added CPU hotplug Zen Decision
2015-08-28 v10.0 :
back to the regular default speaker volume
added mako hotplug
added new GPU governor: cache-hwmon
msm: memutils: memcpy, memmove, copy_page optimization
scm-mpu: Add additional memory protection options
Click here to see how to add support for a scm call to protect a contiguous physical address range.
http://forum.xda-developers.com/showpost.php?p=62550061&postcount=49
2015-09-08 v11.0 :
fix sometimes have freezed or crashed problems
updated kernel to 3.4.1
updated UBER toolchains to 4.9.4 20150901
Enhance power efficiency: Series of patches from NVIDIA
fix last_kmsg not working
changed default dirty_writeback_active_centisecs to 3000
changed intelli_thermal poll default value
updated kcal and added some patches
removed scm-mpu(unstable)
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg
2015-09-14 v12.0 :
Updated kernel to 3.4.10
Disabled dynamic fsync by default
Patched random reboot caused by dynamic fsync panic
V12 is the final version of the 14.5.A.0.270/283
The next version is the 14.6.A.0.368
2015-09-26 v13.0 :
v13 supports 5.1.1, most features from my 5.0.2 version.
Main Features :
Merge 14.6.A.0.368 kernel sources
Updated ramdisk to 14.6.A.0.368
Updated kernel to 3.4.10
TWRP 2.8.7 from xNUTx
Built with UBER toolchains 4.9.4 20150920
busybox v1.23.2
init.d support
port AndroPlusKernel most of feature for z1/z1 compact
CPU OverClock upto 2.42 GHz
Added some optimizations for cpufreq (less spam log, delete deprecated code)
Added WCD9320 Taiko Audio Codec Control v3 from cocafe
Add a backlight brightness hack to allow a lower minimum backlight brightness in v13(thank to Tommy-Geenexus)
Added new CPU governor:alcurd,zzmove,ElementalX,nightmare,darkness,smartmax,HYPER,ondemandplus,
intelliminmax,smartassH3,adaptive,intellidemand,interactive_proconservative,SmartAssv2,pegasusq,
intellidemand,intelliactive,preservative
Added new I/O Scheduler:bfq,tripndroid,sio,vr,zen,sio-plus,fiops,test-iosched
Updated Zen IO scheduler and set as default
Simple GPU Algorithm
Added new GPU governor: conservative,cache-hwmon
Added optimization I/O, power_efficient workqueue, GPU
Added Adreno idler (addon for adreno-tz)
KCAL – Advanced Color Control for Qualcomm Devices
Added CPU hotplug:intelli,Alucard,Zen Decision,mako hotplug
Added sysfs interface to Enable / Disable Android Logger
Updated patch for memory
Added patch for encryption
Added power_efficient workqueues
Added dynamic fsync
Supports notifier for start&end of LCD power on&off
qpnp-vibrator intensity control
enabling two-way call recording directly from the phone line
Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)
Added mac80211 injection patch and HID patch for keyboard support
msm: memutils: memcpy, memmove, copy_page optimization
Enhance power efficiency: Series of patches from NVIDIA
last_kmsg
support for kernel mode NEON
fastcharge
enable additional TCP congestion algorithms:westwood,bic,htcp,vegas,veno,yeah
upgraded LZO (de)compression drivers
added per-core overall stats - now you can see the time spent by each core in a particular frequency state!
added LZ4 compression/decompression support
generic voltage control
added intelli-thermal_v2 kernel thermal driver with optimizations for 8974 SOC
powersuspend PM kernel driver
2015-10-08 v14.0 :
Updated kernel to 3.4.14
Support F2FS filesystem(from linux kernel 4.2)
Updated ZRAM (from Linaro Stable Kernel 3.10)
ZRAM: enable lz4 algorithm backend
Built with UBER toolchains 4.9.4 20151001
Add custom logo
leds-qpnp:Blink interpolation; fix qpnp-pwm driver
notifier:it's going slowly on and slowly off
Re-updated bfq I/O gov to v7r8
tcp_output: set initial TCP window size to 64K (speed improvement)
PM: Enable asynchronous noirq resume threads to save the resuming time
tcp_cubic: better follow cubic curve after idle period
Click here to see how to Change File System.
http://forum.xda-developers.com/showpost.php?p=63199033&postcount=79
2015-10-17 v15.0 :
fix the random reboot issues
f2fs: getting the latest code from upstream
f2fs: system partition support
zram: fix merge errors & bring up to date with Cl3Kener's branch
zram: set lz4 algorithm as default
lz4: update some codes from upstream
zsmalloc: fix merge errors
removed intelli thermal
thermal: add 3-phase msm_thermal(thanks to showp1984)
memory.c: fix show_mem_removable() to handle missing sections
2015-11-16 v16.0 :
Merge 14.6.A.1.216 kernel sources
Updated ramdisk to 14.6.A.1.216
updated kernel to 3.4.20
updated UBER toolchains to 4.9.4 20151101
f2fs: getting the latest code from upstream
enable higher eMMC speed modes(thanks to Tommy-Geenexus)
2016-02-29 v17.0 :
Merge 14.6.A.1.236 kernel sources
Updated ramdisk to 14.6.A.1.236
Updated UBER toolchains to 4.9.4 20160201
Updated zzmoove governor
f2fs: catch up to linux kernel 4.5-rc1 & backport support(removed system partition support, only data & cache partition support)
binfmt_elf.c: use get_random_int() to fix entropy depleting
leds: leds-qpnp: Add API for RGB led
fix last_kmsg that isn't working
2016-04-03 v18.0 :
Updated kernel to 3.4.25
Updated TWRP to 3.0.1
build with UBER toolchains 5.3 20160401
f2fs: catch up to linux kernel 4.5 & backport support
fixes some minor bugs
2017-03-26 v19.0 :
updated twrp to 3.1.0
build with gcc-linaro toolchains 5.4.1-2017.01(stable) and gcc-linaro toolchains 6.3.1-2017.02(testing)
update busybox to 1.26.2
update some codes from codeaurora
minor bug fixes and improvements f2fs
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg
downloading
i hope i wont suffer with the annoying bad memory management
thanks for the awsome features on the kernel btw
Nice work dude!kernel is butter smooth.very stable.i am enjoying it!thankz and dnt stop your work!all d best!
really smooth and stable memory leak still presist but it isnt like before , it is somehow better
Keep the cool work thanks for this awsome kernel atleast now i can open whatsapp and chrome without suffering
hitesh1792 said:
Nice work dude!kernel is butter smooth.very stable.i am enjoying it!thankz and dnt stop your work!all d best!
Click to expand...
Click to collapse
iSpammer said:
really smooth and stable memory leak still presist but it isnt like before , it is somehow better
Keep the cool work thanks for this awsome kernel atleast now i can open whatsapp and chrome without suffering
Click to expand...
Click to collapse
Thanks for the feedback. All credits goes to xda developers(e.g.,cocafe,AndroPlus,DooMLoRD).
I will trying to optimize the kernel.
to be included in v9.0 changeLog:
it'll release soon
changeLog:
Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)
Changed wakelock blocker sysfs name to one in Kernel Adiutor
Added interactive_proconservative Governor
Added mac80211 injection patch and HID patch for keyboard support
Updated zzmove Governor to 1.0-beta8
Added CPU hotplug Zen Decision
is there gpu overclocking? please add that too if you can. btw nice work!
ScatteredHell said:
is there gpu overclocking? please add that too if you can. btw nice work!
Click to expand...
Click to collapse
If I can, I will try
Will try new version when it will be available
Keep up the good work bro :good:
What app do you use to control this kernel?
從我的 C6903 發送
Thx for the update dude!!thx!!can u please share your kernel settings??governor? hot plug?i/o scheduler etc??
---------- Post added at 04:49 AM ---------- Previous post was at 04:35 AM ----------
you can use kernel auditor
phhuang said:
What app do you use to control this kernel?
從我的 C6903 發送
Click to expand...
Click to collapse
hitesh1792 said:
Thx for the update dude!!thx!!can u please share your kernel settings??governor? hot plug?i/o scheduler etc??
---------- Post added at 04:49 AM ---------- Previous post was at 04:35 AM ----------
you can use kernel auditor
Click to expand...
Click to collapse
it depends on how you use it. You can try to set HYPER / zen - great battery/performance combination.
disable MPDecision/enable Alucard Hotplug & Simple GPU Algorithm.
Thx bro!
sharonliu said:
it depends on how you use it. You can try to set HYPER / zen - great battery/performance combination.
disable MPDecision/enable Alucard Hotplug & Simple GPU Algorithm.
Click to expand...
Click to collapse
Hello!can we add mako hotplug in this kernel if possible!just asking!
hitesh1792 said:
Hello!can we add mako hotplug in this kernel if possible!just asking!
Click to expand...
Click to collapse
I can't guarantee anything, but I will try
why my notification sound louder ? i want stock sound
rebiiejr said:
why my notification sound louder ? i want stock sound
Click to expand...
Click to collapse
Increase default speaker volume from v7.0. Is there anyone who thinks default volume too loud lily?
If yes i will back to the regular volume in the next release.
Yup the notification sound is loud.
sharonliu said:
Increase default speaker volume from v7.0. Is there anyone who thinks default volume too loud lily?
If yes i will back to the regular volume in the next release.
Click to expand...
Click to collapse
sharonliu said:
If I can, I will try
Click to expand...
Click to collapse
Please I need it. Best of luck.
Sent from my C6902 using XDA Free mobile app

[KERNEL][CAF] TrueSight v4.4 [17-JAN-2017][ONLY FOR CAF BASED ROM]

TrueSight Kernel for Nexus 5 (hammerheadcaf)​List of features:
Built with LG PWR-CORE Toolchain (Linaro GCC 6.2.0)
Optimizing toolchain flags: -O2, cortex-a15, neon-vfpv4
Disabled more stuff of debugging
Kernel compressed with LZ4 algorithm
CPU govermors: interactive, conservative, ondemand(default), powersave, perfomance, impusle, alucard, darkness, nightmare, pegasusq
IO sheduling: cfq(default), noop, deadline, row, fiops, zen
TCP congestion algorithm: cubic(default), bic, westwood, hstcp, htcp, hybla, vegas, veno, scalable, lp, yeah, illinois
MSM_Hotplug(by @myfluxi).
Thermal engine: 3-phase Bricked thermald (by @show-p1984)
F2FS support!
New touch boost driver made by @alucard_24
MSM limiter driver v5.1 (by @dorimanx)
CPU frequencies: 300-2.57 GHz (default 300-2.2 GHz)
Modified cpufreq driver, you can set min/max freq and governor on each core!
Ported cpuidle driver from 3.10
GPU frequencies: 27-650 MHz (27 idle, 100-650 MHz work)
New Adreno GPU Snapshot driver from LA.DR.2.2.0_rb1.00
Sound control: FauxSound (by @faux123)
Power Efficient Workqueues
Gentle Fair Sleeper (Disabled on default)
ArchPower (Disabled on default)
USB FastCharge (Disabled on default)
Fsync ON/OFF trigger
Async fsync
State notifier driver made by @neobuddy89
Adreno idling algorithm v1.1 (by @arter97)
Simple gpu algorithm (by @faux123)
ZRAM support (disable by default)
ZSMALLOC
UKSM (disable by default)
Voltage Control v1.2 (by @dorimanx) Warning! High undervolting may cause freezes and reboot your phone.
Gamma Control
MultiROM support (kexec-hardboot)
Backlight Dimmer(disable by default)
Highly recommed setting my kernel with Synapse(all features are available). For correctly synapse work use UKM_v.3.9.3_hammerhead modded by me. Also you can set with any other kernel app, but only with synapse can set all features.
DOWNLOAD MARSHMALLOW KERNEL
DOWNLOAD NOUGAT KERNEL
Installation:
1. If you migrate from other kernel, do wipe system and dirty flash your current ROM.​2. Wipe cache and dalvik cache.​3. Impotant! Flash first UKM archive (need for correct synapse work), then kernel zip.​4. Enjoy!​
Thanks to @myfluxi for his hard work, @dorimanx for his g2 kernel tree, @nexterultim for his help and other all whose source are using.
Source code: https://github.com/aexon/hammerheadcaf_kernel
Version Information
Status: Stable
Current Stable Version: v4.4
Stable Release Date: 2017-01-17
Created 2016-03-06
Last Updated 2017-01-17
Changelog:
Code:
----------------17.01.2017 [v4.4]----------------
January security updates
Prevent deadlock on f2fs
Bumped GCC to 6.2.0
----------------24.12.2016 [v4.3]----------------
Bugfixes...
----------------18.12.2016 [v4.2]----------------
f2fs: Catch up to v4.9-rc1
cpuidle patch
block fsync() operations during input boost events
----------------15.12.2016 [v4.1]----------------
Various fixes and improvements for f2fs, binder, audit etc
Update ondemand gov
Security updates
----------------16.11.2016 [v4.0]----------------
Nougat support!
Cleanup sources
Security updates
Change GCC to 6.1.0
----------------05.08.2016 [v3.0]----------------
Upstream changes from cm's github
----------------13.07.2016 [v2.8]----------------
Merge july security patches
Update rtc subsystem
Improve in sps-bam driver
----------------07.07.2016 [v2.7]----------------
Removed PowerSuspend
Removed Dyn_fsync_ctrl
Removed KLAC color control
Fixes and improvements
----------------26.06.2016 [v2.6]----------------
Bring back stock wi-fi driver
Bring back stock mdss driver
Disable partial-update
----------------16.06.2016 [v2.5]----------------
Finally fixed mobile data stalls
Fixes for thermal driver
Megred missing part of changes from june security patch
Added dynamic sync control
Disable watchdog for msm_rmnet
----------------08.06.2016 [v2.4]----------------
Upstream changes from myfluxi's tree
Some little changes in sound and thermald
June security update
F2FS update to 4.7-rc1-3.4
Added power suspend driver
Delete max screent of freq sysfs entry, because msm_limiter control it
Bring back to default toolchain compile flags
Correct default setting for more balance
----------------31.05.2016 [v2.3]----------------
Reworked sound control driver. Use latest UKM for correct work.
Updated sound codec
Fixes for thermal driver
Improvement UKSM (now disable by default)
Add zen io sched (now it default)
Updated gpu driver. Thanks @nexterultim
Removed HYPER cpugov. Unstable for our device.
Changed default settings.
UKM updated to 3.9.3
Much more improvements and fixes.
----------------23.05.2016 [v2.2]----------------
Improvement setting in thermal driver
Reworked and fixed sound control driver. Thanks @nexterultim.
Upstream all latest changes from cm repo
Some minor fixes
----------------19.05.2016 [v2.1]----------------
Upstream changes from offical cm's repo
Update RCU
Update F2FS
Update sched
Add UKSM
Add Intelli hotplug
Add MSM hotplug
Minor fixes and improvements
----------------22.04.2016 [v2.0]----------------
Upstream changes from offical cm's repo
Rework RCU. Now it 3.10
Update kernel/time
Update kthread
Update cpuidle
Update f2fs
Update sound codec/driver
Update gpu driver
More fixes and improvements
----------------29.03.2016 [v1.8]----------------
Remove default GPU OC
Restore stock voltage values (may be random reboot fixed)
Toolchain updated
----------------28.03.2016 [v1.8]----------------
Updated random, idr, qseecom drivers
Added frandom driver
Now workqueue is 3.10!
Correct NEON flags
Default gov is alucard
Fixes and impovements
----------------15.03.2016 [v1.7]----------------
Reverted SELinux permissive hack. Now you can change it via Synapse
Updated cpu governors
Replaced franco sound driver with faux sound. Now working perfect
Replaced intelli-thermal driver with bricked thermal, optimized by nexterultim
Small optimizations in workqueue
Cleaned and updated inslall script
----------------10.03.2016 [v1.6]----------------
Upstream changes from @myfluxi
Update alucard and thunderplug hotplug drivers
Update all cpus governors
Added pegasusq governor
Cleaned and updated thermal driver
Changed default settings
Also fixes and updates for UKM
Great news for CAF's world! im trying your kernel!
@lol4topnz the kernel is very good, rock stable. Haven't finished my full day test yet, but maybe you can add more option in the governor side. Thanks, i'll report back later [emoji6]
Sent from my Nexus 5 CAF using Tapatalk
@eternal70 Think yes
IMO it's better not to add more governors to keep the kernel slim and stable.
Wysłane z mojego Nexus 5 przy użyciu Tapatalka
All governors are stable, nothing to care about this I megred it from @dorimanx g2 kernel, working perfect.
New version is UP!
can you make it SELinux Enforcing ? because on Permessive i cant play my favorite games btw i like your kernel....nice one btw
Ok, i build it without permissive selinux later
lol4topnz said:
Ok, i build it without permissive selinux later
Click to expand...
Click to collapse
thanks you so much thanks again for hearing my thought i really appreciate it good devs !!! :good::good::highfive:
Hmm, file has been deleted from AFH?
Wysłane z mojego Nexus 5 przy użyciu Tapatalka
pianistaPL said:
Hmm, file has been deleted from AFH?
Wysłane z mojego Nexus 5 przy użyciu Tapatalka
Click to expand...
Click to collapse
Nope, it just downloading fine.
lol4topnz said:
Nope, it just downloading fine.
Click to expand...
Click to collapse
It seems that opening link from Tapatalk doesn't work well.
Wysłane z mojego Nexus 5 przy użyciu Tapatalka
Awesome work!
New build is up! With huge cleaned and bugfixing in drivers
lol4topnz said:
New build is up! With huge cleaned and bugfixing in drivers
Click to expand...
Click to collapse
Any chance you port your kernel to AOSP roms too?
I would love to use GPU overclock on my Purity Rom!
Thanks for another CAF kernel. It makes the spirit alive.
What about making some setkernel.zip as rachanta did for his racer kernel?
adrianocolvero said:
Any chance you port your kernel to AOSP roms too?
I would love to use GPU overclock on my Purity Rom!
Click to expand...
Click to collapse
No. Its very hard.
jugoslavpetrovic said:
Thanks for another CAF kernel. It makes the spirit alive.
What about making some setkernel.zip as rachanta did for his racer kernel?
Click to expand...
Click to collapse
Its no need. I change default setting, you only need to enable one of two hotplug driver and set screen gamma and sound control as you wish
lol4topnz said:
New build is up! With huge cleaned and bugfixing in drivers
Click to expand...
Click to collapse
are these kernel SELinux Permessive or SELinux Enforcing ? thanks

[KERNEL][3.10.108][Dec 01] Vegito 7.1/7.05 (Moto G4/G4 Plus)

Vegito Kernel for Moto G4 & G4 Plus
#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
Click to expand...
Click to collapse
Features:
KCAL advanced color control [V2](RGB, Saturation, Value, Contrast, Hue)
AnyKernel2 by @osm0sis
Compile using Linaro toolchain 4.9
CPU Overclocked to 1651 Mhz ( big clusters ) & UnderClocked to 249 Mhz ( Little clusters )
OverClocked GPU to 600MHz
Init.d support
Dynamic Fsync - A driver originally written by faux123- Disables Fsync when phone is being used causing significant IO boost.
Backlight dimmer option
Fsync toggle on/off
Updated to Latest Linux 3.10.108
Reduced idle power consumption
Wakelocks blocked by default thanks to @franciscofranco
Optimized ARM RWSEM algorithm
zSwap support - A Virtual compressed memory pool - Can be used as a swapping devices for extra RAM.
Added iosched switcher by @Sultanxda This enables a driver that switches the I/O scheduler for a single block device to Noop when the screen turns off, and back to its original I/O scheduler after a delay when the screen is turned back on
Disabled Gentle fair sleepers
Enabled arch power
Mild Undervolt
Add blink support to kernel
USB Fast Charge Support
Added FIOPS I/O Scheduler
Added SIO I/O Scheduler
Added Zen I/O Scheduler
Support for Fast-IDLING of CPU
Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
Support for the new PowerSuspend algorithm.
Optimized Console FrameBuffer for upto 70% increase in Performance.
Improved square root algorithm.
Added Faux sound control 3.6
Disabled some debugging.
Added simple GPU Algorithm - An add-on for MSM-Adreno TZ GPU Governor. Developed by @faux123.
Governors enabled: conservativex, interactive
Frandom driver- Fast Kernel Number Generator.
Intelli_thermal v3.0: initial coding for Linux 3.10 Qualcomm kernels.
Add sysfs interface to control intensity.
Fix simple_ondemand crashing
zRAM Support with LZ4 compress
Power efficient workqueue patches
Kernel Samepage Merging
NTFS File System Support
Added bunches of TCP Congestion Algorithm
CPU Boost
Hotplug boost.
Wakeup boost.
State notifier integration.
Downloads
Vegito 7.1 ( Stock 7.0 )
Vegito 7.5 ( Lineage based 7.X.X)
Vegito 3.0 ( Marshmallow )
Google+ Community (Beta testing and releases)
https://plus.google.com/u/0/communities/107248021342303532678
Important:
Do not flash this over other custom kernels!
You should only flash Vegito over the kernel that came with your ROM
Recommended App
Presenting my very own app to control kernel settings. Find it here - Vegito Kernel Manager
Reporting bugs
Grab a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues) right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
See how to submit a bug report for the appropriate place to report your bug
INSTRUCTIONS
Just flash the zip in twrp and you are good to go!
XDA:DevDB Information
Vegito Kernel, Kernel for the Moto G4 Plus
Contributors
Dreamstar
Source Code: https://github.com/nikitsharma15/Vegito_Athene/
Kernel Special Features:
Version Information
Status: Beta
Created 2016-09-13
Last Updated 2017-12-01
Reserved
Announcement
Introducing my own app to update my kernels within 1 click.
Get it from play store- Vegito Kernel Updater
Please Rate or give your feedback for this app.
Vegito 6.8 - 26/May/17
Code:
Merged latest Lineage OS kernel source
Vegito 6.2 - 13/May/17
Code:
-zSwap support - A Virtual compressed memory pool - Can be used as a swapping devices for extra RAM.
-Reduced idle power consumption
-Wakelocks blocked by default thanks to @franciscofranco
-Merged latest Lineage OS kernel source
-Major fixes & cleanup
Vegito 6.2 - 25/March/17
Code:
-Power efficient workqueue patches (squashed).
-Cpufreq: interactive: reduce timer with screen off
-GPU drivers compiled with device specific Cortex-A53 optimizations
-Kernel: reduce overheat
Vegito 6.0 - 06/feb/17
Code:
-Add blink support to kernel thanks to @JackpotClavin
-SELinux set to permissive
-Fix simple_ondemand crashing
Vegito 5.8 - 28/Jan/17
Code:
-Some tweaks for fast charging
-NTFS R/W Support
-Compatible with systemless root
-ZRAM with lz4 compress.
Vegito 5.5- 21/Jan/17
Code:
-Stock nougat supported
-Live Kernel flashing with backup support for previous kernel - Liverepack implementation of @psych.half is used, which also backs up your previous kernel (boot.img) and other system files which would be changed.
Vegito 5.0- 22/Nov/16
Code:
-Added ZSWAP
-Faux sound control 3
-CyanogenMod 14.1 support
-Support for Fast-IDLING of CPU
-Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
-Support for the new PowerSuspend algorithm.
-Optimized Console FrameBuffer for upto 70% increase in Performance.
-Support for CRC-Toggle (Disabled by Default in Misc. TAB).
-Support for Larch Power feature (should improve Battery-Life).
-Improved square root algorithm.
-Disabled some debugging.
-Added simple GPU Algorithm
-Added Adreno idler GPU Alogrithm
Vegito 4.0- 29/Oct/16
Code:
-Nougat support
-NTFS File System Support
-Dynamic Fsync update
-Some other changes which I do not remember.
Vegito 3.0- 21/Sep/16
Code:
-Added USB Fast Charge Support
-Added Darkness Governors
-Disabled Gentle fair sleepers
-Enabled arch power
Vegito 2.0 - 16/Sep/16
Code:
-Added MSM Hotplug driver
-Added AutoSMP Hotplug driver
-Added ThunderPlug Hotplug driver
-Removed various debug traces
-Other optimizations
Vegito 1.0
Code:
- Initial Release
Great job!
Sent from my MotoG(4) using Tapatalk
---------- Post added at 05:13 PM ---------- Previous post was at 05:05 PM ----------
Can I flash it through twrp with elementalx kernel??
Sent from my MotoG(4) using Tapatalk
Pranav Kumar said:
Great job!
Sent from my MotoG(4) using Tapatalk
---------- Post added at 05:13 PM ---------- Previous post was at 05:05 PM ----------
Can I flash it through twrp with elementalx kernel??
Sent from my MotoG(4) using Tapatalk
Click to expand...
Click to collapse
yes
Awesome kernal! benchmark results looks better with this kernal!
Thank-you!!!!???
Sent from my MotoG(4) using Tapatalk
Is this g4plus only or will it work with xt1625?
Screw it. I'll try.
:edit: boot looping on xt1625
Could you port it to Moto G4?
Enviado de meu Moto G (4) usando Tapatalk
Does it work with custom ROMs ?
Sorry my bad...didnt read the heading
does it need supersu (for wifi , like ElementalX) ?
bobthesalesclerk said:
Is this g4plus only or will it work with xt1625?
Screw it. I'll try.
:edit: boot looping on xt1625
Click to expand...
Click to collapse
your r on stock rom ?
Dreamstar said:
your r on stock rom ?
Click to expand...
Click to collapse
Nope. And that's why we have nandroids. For illiterate people like myself. I will delete my previous comment.
nice! new kernel for G4, (you could identify the device on the title, I think..) good work bro
I go to test... in xt1640
V-2.0 Update
Changelog
Added MSM Hotplug driver
Added AutoSMP Hotplug driver
Added ThunderPlug Hotplug driver
Other optimizations
i flashed this over the elemental kernel and suddely my SU wasn't working anymore i'm on 1642
can you add governor darkness?
stkpxl said:
I flashed it over stock and lost root. Just required me to root again and all is well. So far so good for the XT1625. Haven't started tweaking yet, though.
Click to expand...
Click to collapse
Same here, I had to flash Super SU binary again to get root on XT1643
Can you add Darkness & Alucard!?
On XT1621 Boots ok, but after performing a Benchmark with Antutu, Stock Kernel gots 44195, with this Kernel hardly it gets 42111 and cause battery drain (10% less in 7 minutes with only screen on)
Hardly recommend to backup Wifi Driver on location \system\lib\modules for future Restore on this device

[Kernel][STOCK/PORT][N910P] [08-25-17] DtuxKernel W07F - 710N - DR4G0N v2.8 (EOL)

MM SPRINT DTUX KERNEL W07F v1.7 / 710N v2.6RE / DR4G0N v2.8 (EOL)
[STOCK/PORT] [ENFORCING/PERMISSIVE] [STABILITY] [BALANCE] [SAFETYNET] ​
*** Disclaimer***
You are the solely responsible if something goes wrong. It's Recommended to be on MM PK1 BASEBAND. AND READ CAREFULLY FOR THE INSTALL AND DETAILS.
This is the beginning, DTUX KERNEL, there will be 3 tiers:
-Wolf Tier: Stock alike, no fanciness but with some security patches and Enhancement in the performance and battery department.
-Lion tier: A good volume of tweaks will be available beside what the Wolf tier offers.
Dragon tier AKA 3DDYB022 3D1T10N! : Emotion alike, all the bells and whistles a la Dtux
Install instructions
-Just Flash
-Magisk v13.3 will also be installed
-Get Magisk Manager 5.1.1 HERE if you are using this root method for the first time
-Settings will be reset to default for Kernel Adiutor to prevent boot issues.
-W07F 3D1T10N Has been configured to work with a profiles system with Spectrum Kernel App -(DOWNLOAD HERE)
-710N & DR4G0N 3D1T10N Comes with Dtux Adiutor!!!
Steps for proper Gain Changes with Faux Sound
1-Turn OFF the gain locks if its on (default is OFF)
2-Change the gains to your liking
3-Turn back ON the gain locks to ensure they won't be changed by any other app and to survive reboots if the sound tab applies on boot.
NOTE THAT SPECTRUM IF YOU JUST REBOOTED IT MAY TAKE UP TO 2MIN TO OPEN AS IT APPLIES LAST CHOSEN PROFILE AT BOOT
-KERNEL STARTS IN ENFORCING MODE BY DEFAULT, BREAKING VIPER4ANDROID (IT NEEDS PERMISSIVE), INTALL THIS: The SELinux Toggler
AND GIVE KUDOS TO THE DEV. THE APP WILL TAKE CARE ON EVERY BOOT TO PUT IT AS YOU LAST LEFT IT, WITH AN OPTIONAL NOTIFICATION
Downloads
ON 2ND POST FOR W07F, 3RD FOR 710N, 4TH FOR DR4G0N aka 3DDY_B002 3D1T10N
Credits
@Ram121 (Thanks for the help and commits!)
@Freeza (Thanks for the source and great advices!)
@Pafcholini (Thanks for the commits!!)
@kevintm78 (Thanks for the Head start on this bumpy road, Kudos!)
OPEN TO FEATURES REQUEST FOR KERNEL :laugh:
XDA:DevDB Information
DtuxKernel, Kernel for the Sprint Samsung Galaxy Note 4
Contributors
carlosggb
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v2.6
Stable Release Date: 2017-08-14
Current Beta Version: v2.8
Beta Release Date: 2017-08-25
Created 2017-07-14
Last Updated 2017-08-30
Reserved
DtuxKernel W07F 3D1T10N​
Initial Changelog for W07F 3D1T10N V1.1.
-Based on PK1 Kernel Sources
-Built using the Reliable arm-eabi-4.9 Toolchain
-Fixed DirtyCow vulnerability
-Added to the interactive Governor (default) the commit cf0fad49d17cb8273ce555dd5b7afab67d7923bf for increased performance and battery
-Added PM / sleep: Fix memory leak in pm_vt_switch_unregister(). For better ram management.
-Kernel Switches Permissive/Enforcing (making it compatible with Android Auto / SELinuxToggler and more!)
-tcp: tweak for speed
-power: quickwakeup: initial driver
-USB: android: Fix memory leak in mass_storage_function_init()
-Added HAVE_EFFICIENT_UNALIGNED_ACCESS & Added KSM
-ZeroLemon Commit added!
v1.2 W07F 3D1T10N Changelog
dm-crypt: run in a WQ_HIGHPRI workqueue
dm-verity: run in a WQ_HIGHPRI workqueue
arch: sec_bsp: silence annoying messages
binfmt_elf.c: use get_random_int() to fix entropy depleting (Jeff Liu )
android: binder: use GPF_HIGHUSER flag since binder is designed for userspace
Optimize copy_page for modern ARM platforms
arm/kernel/irq.c: remove irq affinity warnings
ASoC: msm: qdsp6v2: Add FLAC in compress offload path
kgsl_pwrscale: fix simple_ondemand GPU Governor Crash
asoc: wcd9xxx: Improve headset detection
tick: don't update idle time if cpu offline
qdsp6v2: Stereo Call Recording Support
Expose the option to user - CRC Checking (if disabled performance could increase up to 30%)
A couple of ramdisk tweaks.
v1.3 W07F 3D1T10N Changelog
Native init.d support
Spectrum Kernel App support (GET APP HERE!)
The 4 profiles have been configured to comply with Dtux Standards, please test them and report your observations/suggestions
v1.4 W07F 3D1T10N Changelog
STILL PASS SAFETYNET!!! THANKS @Nattrammar !!!!
Sysfs interface for Gentle_Fair_Sleepers [neobuddy89]
thermal-core: Fix to send correct trip type to get trip temperature
arm: smp: Update the topology masks before calling CPU_STARTING notif
fs: sync: Asynchronous Fsync from HTC
Further tweaking Kernel profiles, specially the Battery Saving one.
Reworked the ramdisk again.
v1.5 W07F 3D1T10N Changelog
WE LOST THE ENFORCING/PERMISSIVE SWITCHING HABILITY NEED USERS TO TEST THIS KERNEL ON ANDROID AUTO
Updated Magisk to 13.3 (link to the NEW Magisk Manager updated too, go get it!)
Added Busybox-YDS 1.26.2 to kernel ramdisk
Added a temperature reducer commit
Misc tweaks
v1.6 W07F 3D1T10N Changelog
WE LOST THE ENFORCING/PERMISSIVE SWITCHING HABILITY NEED USERS TO TEST THIS KERNEL ON ANDROID AUTO
Added Busybox-YDS 1.27.1 to kernel ramdisk
PROFILES HAVE BEEN OPTIMIZED, YOU WONT NEED KERNEL ADIUTOR FOR THIS EDITION AT ALL, TRY AND YOU WILL SEE :laugh:
msm_hsic_host wakelock adjustable (recommended between 50% - 20%)
rmnet usb fix
bcmdhd reduced rx wakelock
bcmdhd reduced ctrl wakelock
bluesleep - reduce wakelock timeout the dtux way
SensorHub, Proximity and Humidity wakelocks in check!
Significant motion sensors wakelock in check! (Experimental)
Bluetooth: Fix L2CAP deadlock
Added many TCP protocols
Improved Extended battery support (better Calculations)
msm_serial_hs: release dma wakelock properly
Decrease BT/FM TX timeouts to improve deep sleep ratio.
bluetooth: bluesleep: Remove IRQF_DISABLED noop flag
Added User Configurable Spectrum Profiles (via Spectrum folder, for advanced users)
v1.7 W07F 3D1T10N Changelog
ENFORCING / PERMISSIVE SWITCH IS BACK!!!!
Added ZL4 compression support to kernel including the following commits:
PM / sleep: Fix memory leak in pm_vt_switch_unregister()
decompressor: add LZ4 decompressor module
lib: add support for LZ4-compressed kernel
lib: add lz4 compressor module
lib/lz4: correct the LZ4 license
lz4: fix compression/decompression signedness mismatch
Apply CFLAGS, -Os to decompress.o to improve decompress performance
lz4: ensure length does not wrap
lz4: fix another possible overrun
lz4: add overrun checks to lz4_uncompress_unknownoutputsize()
arm: add support for LZ4-compressed kernel
Downloads
DtuxKernel-W07F_3D1T10N_v1.7-Unified_Build SAFETYNET COMPLIANT VERSION!
Older Snapshots
DtuxKernel-W07F_3D1T10N_v1.6-Unified_Build SAFETYNET COMPLIANT VERSION!
DtuxKernel-W07F_3D1T10N_v1.5-Unified_Build SAFETYNET COMPLIANT VERSION!
DtuxKernel-W07F_3D1T10N_v1.4-Unified_Build SAFETYNET COMPLIANT VERSION!
DtuxKernel 710N 3D1T10N​
Initial Changelog for 710N 3D1T10N V1.8
-Based on DtuxKernel W07F ED1T10N v1.7
***Prevent on interactive governor changes to IO_IS_BUSY
ramdisk: limit boot speed to 2.27ghz (for a cooler reboot!)
drivers: Add state notifier driver
msm: Add Intelli Hotplug Driver
msm: Add MSM Hotplug driver
msm: add Alucard Hotplug Driver
msm: Add Bricked Hotplug
msm: Add Mako Hotplug
sound/soc/codecs: Faux Sound control for WCD9330 TomTom codec driver (PARTIALLY WORKING)
intelli_thermal v1 by Faux123 added
IntelliThermal finally
CPU OVERCLOCK-UNDERCLOCK ENABLED removed in R2 for the moment
GPU OVERCLOCK-UNDERCLOCK ENABLED removed in R2 for the moment
Voltage Control: generic voltage control for DTS based kernels
Add Led control [Twistedumbrella & Ktoonsez]
Added LED Control & Fading Control
Added Display Kcal Controls
Added Adreno Idler GPU Hotplug
Added the following I/O Schedulers:
bfq
fifo
fiops
noop
row
sioplus
sio
tripndroid
vr
zen
Added the following CPU Governors:
Alucard
Barry_Allen
Impulse
InteractiveX
Lionheart
Pegasusq
SmartassV2
zzmoove 1.0 Beta7
V1.9 Changelog
clock-krait-8974: fix cpu voltage table
Revert faux Sound (I personally found some volume inconsistencies )
Fixed two critical bugs on Alucard Hotplug
Force Fast Charge v1.2 added
added usb-gadget: support USB keyboard (use this https://play.google.com/store/apps/details?id=remote.hid.keyboard.client)
Added Spectrum data cleaning script (Spectrum is still necessary to configure a profile for wakelock control)
Reverted ramdisk: limit boot speed to 2.27ghz
V2.0 Changelog
FULL Faux Sound Engine Implemented v3.6
cpufreq: boot a little slower, don't accept a target freq of 0
Decrease time to enter sleep
Increase io performance
Added Governors: Bluactive, Bioshock, Hyper and Nightmare
V2.1 Changelog
DTUX ADIUTOR APP (FIRST RELEASE, BASED ON CSK ADIUTOR APP) THANKS @CrazyGamerGR !!!)
GO HIT THANKS HERE, AS IS THE SAME CHIPSET OF HIS AWESOME KERNEL I JUST NEEDED TO ADD THE EXTRA WAKELOCK CONTROLS SO PLEASE THANK HIM CAUSE HE MADE IT EASY FOR ME AND ALL OF YOU
ASoC: wcd9xxx-mbhc: fix codec power leakage during suspend
ASoC: wcd9330: Update EAR power down sequence
Updated Alucard Hotplug
Added Msm_Sleeper and AutoSMP Hotplugs (Msm_Sleeper only visible on Kernel Adiutor MOD)
Intellithermal Minor fix (Still v1)
Reverted wakelock experiment on sig motion back to version v1.9
Added Powersuspend Lcd/Hybrid/Auto and Userspace modes (preparing for an efficient Wake Gestures )
Forced User Cpu Freq via Commit (cpu freq change will stick better now!)
Added Adreno low screen off freq suspend state (preparing for an efficient Wake Gestures )
Updated ZZmoove Gov to v1.0 b8 + Zzmoove hotplug enabled!!!!! (must turn off all hotplugs and set a zzmoove profile!)
Add GPU underclock/overclock (166 Mhz-800 MHz) (also preparing for an efficient Wake Gestures ) OVERCLOCK RESPONSABILITY IS ON YOUR OWN!!!
Minor fixes here and there
V2.2 Changelog
DTUX ADIUTOR APP CORRECTED, STILL UGLY BUT ALL WORKS LOL
DOWNGRADED MAX GPU FREQ TO 700MHZ (DONT WANT TO RISK YOUT DEVICES)
SLIGHTLY UNDERVOLTED THE GPU
UPGRADED ALUCARD GOVERNOR FROM V1 TO V2.1 WOOOO HOOOO
V2.3 Changelog
Updated powersuspend from v1.7 to v2 and added multiple hooks and code cleaned up! - it probably wasnt working properly
Minor fix on Smartass2 governor (better battery)
added experimental toggle to disable ssp sensors wakelock on screen off state (THIS IS TOP SECRET LOL)
Eliminated sig motion wakelock EXPERIMENT
V2.4 Changelog
FIXED SPEN DETECTION! (BROKEN ON V2.2 & V2.3 )
ADDED INITIAL WAKE GESTURES SUPPORT, PLEASE REPORT FUNCTIONALITY AND BATTERY RESULTS
UPDATED DTUX ADIUTOR TO SUPPORT WAKE CONTROLS
V2.5 Changelog
UPDATED DTUX ADIUTOR WITH AMOLED THEME AND RECOMMENDED SETTINGS!
ADDED ADDITIONAL HOOKS TO SUSPEND FOR BETTER SLEEP
UPGRADED SENSORHUB WAKELOCK CONTROL, FEELS BETTER NOW
V2.6 Changelog
Downgraded powersuspend from v2.0 (unofficial) to v1.7 (Official) + fixes
cpufreq: cpu-boost: Multiple optimizations
ADDED TOGGLE FOR CPU BOOST!!!!
arm: make return_address available for ARM_UNWIND
minor fix to Adreno driver
Cleanup interactiveX governor code
add UMS function to kernel (External Memory Mass Storage Mount) DOWNLOAD THE APP HERE!!!
Added Cafactive, LionFish and Yankactive governors
Added Maple I/O Scheduler. Yeeeeee Haaaaaaa!!!
Now you can control the custom AC and USB Charge levels!
Added toggle to bypass Samsung Screen On Charging limits!
minor fixes on DtuxAdiutor
Screen Mirrorring fix included on the ramdisk
enabled adb via ramdisk
enabled kernel logging for debbuging purposes (LOG located in /proc/last_kmsg <-- upload this if you get a reboot or any other type of problem that YOU understand is kernel related).
V2.6 RELOADED Changelog
REWORKED THE FAUX AUDIO MOD TO WORK AS IT SHOULD! (READ POST #1)
Downgraded Alucard Hotplug in hopes to stop reboots on it
Fixed LOG TAB!!!!
Fixed CRC and Logs Switch
Fixed Custom fast charge values!!!
ENJOY!
Downloads
DtuxKernel-710N_3D1T10N_v2.6RE-Unified_Build
Older Snapshots
DtuxKernel-710N_3D1T10N_v2.5-Unified_Build
DtuxKernel-710N_3D1T10N_v2.4-Unified_Build
DtuxKernel-710N_3D1T10N_v2.3-Unified_Build
DtuxKernel-710N_3D1T10N_v2.2-Unified_Build
DtuxKernel DR4GON a.k.a 3DDY_B022 3D1T10N​
V2.8 Changelog
Based on 710N v2.6RE
Removed Intellithermal
ADDED DTUX THERMAL ENGINE!! (Based on the excellent work by Francisco Franco!)
FULL FAUX SOUND ENGINE WORKING!!!! (READ POST #1)
Negative Gains added to Faux Sound Engine!!!
Enabled NetHunter (For Wireless Auditoring)
Added Blu_Plug Hotplug Driver
Added Wireless Fast Charging custom controls support
Upgraded Alucard governor from v2.1 to v3.0
Downgraded Alucard Hotplug in hopes to stop reboots on it
EVERYTHING SHOULD WORK ON DTUX ADIUTOR
 @bigbabo , this is for you bro
ENJOY!
Downloads
DtuxKernel-DR4G0N_3D1T10N_v2.8-Unified_Build
Reserved
Preliminar Guide for Kernel usage
Thanks to @Saber and other relevant posts i'm going to give you a quick resume of what i understood and my personal findings. i'm open to any changes on this.
Take a moment to thank Saber for the wonderful research he has done.
THREAD HERE!!!
The I/O Schedulers are ranked and categorized as it follows:
bfq (#1 MULTITASKING)
cfq (ANDROID DEFAULT) (#2 MULTITASKING)
zen (tied #1 BALANCED) (#2 GAMING)
tripndroid (tied #1 BALANCED)
row (#2 BALANCED)
deadline (#1 GAMING)
noop (#1 BATTERY)
fiops (#2 BATTERY)
sioplus (Under Evaluation)
sio (Under Evaluation)
fifo (Under Evaluation)
vr (Under Evaluation)
CONCLUSION: ZEN and TRIPNDROID are the best
Recommended I/O Read Ahead: 768kb to 1024kb Internal
: 384kb to 512kb External
The newly added CPU Schedulers are ranked and categorized as it follows:
INTERACTIVE (DEFAULT) (Overall = 13)
Performance: ***** (5)
Battery: *** (3)
Compact/stability: ***** (5)
ALUCARD (Overall = 11)
Performance: *** (3)
Battery: ***** (5)
Compact/stability: *** (3)
BARRY_ALLEN (Overall = 11)
Performance: ***** (5)
Battery: *** (3)
Compact/stability: *** (3)
IMPULSE (Overall = 13)
Performance: ***** (5)
Battery: **** (4)
Compact/stability: **** (4)
INTERACTIVEX (Overall = 13)
Performance: ***** (5)
Battery: *** (3)
Compact/stability: *** (5)
LIONHEART (Overall = 10)
Performance: **** (4)
Battery: *** (3)
Compact/stability: *** (3)
PEGASUSQ (Overall = 12)
Performance: **** (4)
Battery: **** (4)
Compact/stability: **** (4)
SMARTASSV2 (Overall = 10)
Performance: **** (4)
Battery: *** (3)
Compact/stability: *** (3)
ZZMOOVE 1.0 BETA7 (Overall = 11)
Performance: **** (4)
Battery: *** (3)
Compact/stability: **** (4)
CONCLUSION: The default Interactive, Impulse and Pegasusq are hard to beat overall, Alucard is the best on Battery without losing noticeable performance and of course Zzmoove which could become the best if fine tuned.
Recommended Hotplug for Balanced/Battery: Alucard then Intelliplug
Recommended Hotplug for Balanced/Performance: MSM Hotplug then MPDecision
Most Stable: MPDecision
Recommended GPU Drivers: msm-adreno-tz with Adreno Idler.
So there you have it!!! Post your recommendations and conclusion too!!!!
Any chance of a ZL version as well?
wineguy said:
Any chance of a ZL version as well?
Click to expand...
Click to collapse
Definitely. In all ears for what features you guys want
carlosggb said:
Definitely. In all ears for what features you guys want
Click to expand...
Click to collapse
Im not sure if its kernel related probably is on un7 rom after charging to 100% and unplugging i used to go 4-5 hpurs before it drops 1% can something like that be intergrated to this kernel "if" its the part of the kernel , battery life really is all important specially to those with stock battery
bigbabo said:
Im not sure if its kernel related probably is on un7 rom after charging to 100% and unplugging i used to go 4-5 hpurs before it drops 1% can something like that be intergrated to this kernel "if" its the part of the kernel , battery life really is all important specially to those with stock battery
Click to expand...
Click to collapse
Adding ZL to the kernel helps stock batteries that sre starting to give trouble but not too much, this is unfortunately a battery problem.
We the note 4 users need to find a battery of another device that fits, like cameras other mainstream phones, etc, to have a fresher battery with us.
Whoever finds one that fit, please share it with us:good:
Wow, Making New Kernels!! Awesome Bro! Keep up the Great Work!!
OP - Will this work with the Ultimate Note 7 ROM?
I'm running the Ultimate Note 7 ROM on a PK1 base flash.
Does_It_Matter said:
OP - Will this work with the Ultimate Note 7 ROM?
I'm running the Ultimate Note 7 ROM on a PK1 base flash.
Click to expand...
Click to collapse
Please try it, it should, download the stock kernel from the un7 thread just in case you get into trouble
carlosggb said:
Please try it, it should, download the stock kernel from the un7 thread just in case you get into trouble
Click to expand...
Click to collapse
Yeah, I re-read the first post about testing on UN7
Unfortunately it did not work.
I flashed the new kernel, wiped cache/dalvik - rebooted, waited, waited some more, took a break, came back - still nothing - sat at the Darth Vader boot screen.
Pulled the battery, re-flashed the Beastmode Zerolemon r61 kernel, wiped cache/dalvik, rebooted, and then after a few it came back up with Android is Starting / optimizing.
Looks like a no-go for this on UN7 (and running the PK1 stock pre-flashed before installing UN7)
Does_It_Matter said:
Yeah, I re-read the first post about testing on UN7
Unfortunately it did not work.
I flashed the new kernel, wiped cache/dalvik - rebooted, waited, waited some more, took a break, came back - still nothing - sat at the Darth Vader boot screen.
Pulled the battery, re-flashed the Beastmode Zerolemon r61 kernel, wiped cache/dalvik, rebooted, and then after a few it came back up with Android is Starting / optimizing.
Looks like a no-go for this on UN7 (and running the PK1 stock pre-flashed before installing UN7)
Click to expand...
Click to collapse
Thanks for reporting, i will look for the commit missing and add it to it. Stay tuned.
UPDATE! COMPILING NEW VERSION, ADDING THE FOLLOWING COMMITS
-tcp: tweak for speed
-power: quickwakeup: initial driver
-USB: android: Fix memory leak in mass_storage_function_init()
-Added HAVE_EFFICIENT_UNALIGNED_ACCESS & Added KSM
V1.1, is a snapshot kernel but stable, help me guys to improve it!
OK - Flashed the 1.1 fix and UN7 booted up fine!
Here are a couple of screenshots.
One thing of interest, when I booted up with this after flashing from Recovery, it stated SELinux is not enforcing.
Doesn't matter to me but just wondering as first post said it is SELinux Enforcing by default? (Whoops - shows Enforcing in screenshots - ignore!)
Also, my reported battery shows 3220 mah, but it is an 8000mah battery, but it also reported this for Beastmode r61 kernel as well.
carlosggb said:
Definitely. In all ears for what features you guys want
Click to expand...
Click to collapse
Voltage control, Sound option like Beastmode kernel, Hotplug options (mp decision, intelliplug...) for starters...lol
IT'S LIVE!!!
FIRST UNIFIED BUILD!!!! FOR PORTS OR STOCK KERNEL!!!
v1.2 Changelog
dm-crypt: run in a WQ_HIGHPRI workqueue
dm-verity: run in a WQ_HIGHPRI workqueue
arch: sec_bsp: silence annoying messages
binfmt_elf.c: use get_random_int() to fix entropy depleting (Jeff Liu )
android: binder: use GPF_HIGHUSER flag since binder is designed for userspace
Optimize copy_page for modern ARM platforms
arm/kernel/irq.c: remove irq affinity warnings
ASoC: msm: qdsp6v2: Add FLAC in compress offload path
kgsl_pwrscale: fix simple_ondemand GPU Governor Crash
asoc: wcd9xxx: Improve headset detection
tick: don't update idle time if cpu offline
qdsp6v2: Stereo Call Recording Support
Expose the option to user - CRC Checking (if disabled performance could increase up to 30%)
A couple of ramdisk tweaks
Booted right up UN7. Quick question...all 4 cores stay online all the time, is that supposed to be that way? Last kernel I was running the cores would go offline/online depending on "usage"
It shouldn't, clear cache of kernel Adiutor, im adding support to a better app for this kernel. Will upload later.
Please let me know if the cpu cores goes back to nornal

Categories

Resources