[KERNEL][3.10.108][Dec 01] Vegito 7.1/7.05 (Moto G4/G4 Plus) - Moto G4 Plus ROMs, Kernels, Recoveries, & Other De

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

Related

[KERNEL][Z1C][5.0-5.1][F2FS] Advanced-Kernel v19.0[2017/03/25]

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

[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

[6.0+]Mimori Kernel [AOSP & Lineage OS Based ROM]

Mimori Kernel | Stability for performance
For Xperia M
Based on Lineage OS 14.1 source​
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Mimori Kernel based on Lineage OS 14.1 source, and included many improvement and optimization on processor, I/O and include some feature for Xperia M / M dual devices that use Marshmallow as base ROM.
Mimori offered kernel performance, stability, smoothness process on cpu and already have full support on NEON, this kernel need kernel configuration app to control this kernel, so try to find kernel configuration app after flash this kernel.
Recommended Kernel Configuration :
- Kernel Adiutor (BETA)
- Device Control
Okay this is several features that i include in this kernel.
This kernel feature is :
Kernel Features
* Linux Kernel Version 3.4.113
* Compatibility with AOSP,CM And LineageOS based ROM [Android 6.0+]
* Added overclock up to 1,4Ghz
* Added Double Tap 2 Wake Feature (Incl. Vibration)
* Added custom CPU Governor : Alucard,Intelliactive,IntelliMM,Lionheart,Adaptive & Blu Active (specially for Blu Active is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
* Added custom I/O Sched Governor : zen,sio,sioplus,tripndroid,fifo,fiops,vr and maple (specially for maple is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
* Added custom TCP Modules : Advanced,Bic,Westwood,Hybla,Vegas,Veno,Yeah and more
* Added CPU Voltage Table Control
* Implement Power Efficient Workqueues
* Dynamic management of dirty page writebacks
* Added Interface of Gentle Fair Sleepers, Software CRC and Arch Power (Option Disable by Default)
* Added Frandom Support
* Added Dynamic Fsync 2.0
* Entropy Tweaks
* NEON VFPv4 Optimized (hard)
* Added Intelli Plug v4.0
* Added Intelli Thermal v1.0
* Added F2FS File System Support (Based on Linux 3.4.y Branch) (Working)
* Added EXFAT File System Support (Driver Version v1.2.9) (Need Test)
* Added USB Keyboard Support
* Optimized I/O Sched
* Compiled using GCC 5.4.X Hyper Toolchains
* Updated CVE Patch From LineageOS Kernel Source 20171106
[/LIST]
[/LIST]
How to install :
1. Download Mimori Kernel and install it from recovery mode, use TWRP recovery (TWRP Link)
2. install kernel adiutor from Playstore for kernel configuration (i don't have myself app to control kernel) (Try to use BETA version to get fix for CPU temperature)
3. Final step, let's configure kernel like what you want it :victory: and enjoy my first custom kernel
For download, look at download tab on top of this thread
Thanks to : 
 @PecanCM [For Kernel Source] 
 @Alex_Gamer [For Kernel Tester & Troubleshoot] 
 @thichthat [For DT2W Source]
XDA:DevDB Information
Mimori Kernel For Xperia M, Kernel for the Sony Xperia M
Contributors
Nicklas Van Dam, PecanCM, Alex_Gamer
Source Code: https://github.com/Nicklas373/Mimori-Kernel_MSM8227_LineageOS_14.1
Kernel Special Features: Overclocked, ARMV7 NEON Optimized
Version Information
Status: Stable
Current Stable Version: Seventh Build
Stable Release Date: 2018-02-11
Created 2016-09-03
Last Updated 2018-02-19
Kernel Adiutor OTA Update Information
Now for CyanogenMod And AOSP Based ROM, Hana Kernel Offered OTA Update feature for kernel update using kernel adiutor app for CyanogenMod Based ROM with "download" feature in kernel adiutor.
You can download new build in that menu included ; introduce, kernel feature and changelog update. Now i'm still try to enable it on LineageOS too, i'm just need to wait confirmation from the admin .
For anyone want to install this kernel, can access too using KA. just like normal download and installation for kernel :laugh:
Have fun
Kernel Adiutor Information
For Kernel Adiutor Usage
During new stable version of Kernel Adiutor have problem with CPU temperature, now we should use BETA build from Kernel Adiutor to get fix for that problem.
And for set on boot configuration, i'm not recommended it again , since that only can make kernel error during boot up process.
So set kernel when system is already boot is best option for stability and performance.
If kernel adiutor to hard for configure, then you can try Device Control app to manage your kernel.
This app is almost same like KA but it's little simple and more friendly for configuration
Changelog :
Seventh Build (20180211):
- Fixed some upstream issue
- Upstream to 3.4.113 (REBASE change)
- Fix issue with OTG problem (Recovery or System)
- Updated F2FS to latest 3.4.y and misc fixes
Sixth Build (20180122):
- Updated Kernel Security Patch to 20171106 (Based on MSM8960T Source)
- Change GCC to GCC 5.4.X Hyper Toolchains
- Misc fixes with intelli thermal
- Applied last patch with 3.4.113
- Applied security patch with "KRACKS attacks"
- Removed sdcardfs drivers (not used by device)
- Misc CPU Optimization
- Set readahed to 512kb
- Added GPU optimizations flags
- Improve Hard Floating Point for neon-vfpv4
Fifth Build (20171002):
- Introduce IMAGINE Codename
- Upstream Linux Kernel to 3.4.113 based on git.kernel.org
- Revert change of F2FS (back to old source)
- Revert some optimization change
- Added Maple I/O Sched (specially for maple is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
- I/O Sched Optimization for SIO and ZEN
- Enable Interface Of Software CRC
- Misc CPU Optimization
- Added some sched optimization
- Disabled USB Fastcharge v1
- Reverting Permissive, Back to Enforcing
- Added Blu Active CPU Governor (specially for Blu Active is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
- Added Support for Neon VFPv4 With Hard Floating
- Disabled Quick Wake Up Drivers
Fourth Build (20170913):
- Added Optimization on I/O Sched (Improves SSD Speed)
- Misc fixes for conservative governor
- Added F2FS and EXFAT File System Support
- Added Hyper CPU Governor
- Optimized KSM
- Update Intelli Plug to v4.0
- Optimized SLUB
- Set readahed to 256KB
- Added CCACHE for faster kernel building
- Updated CVE Patch (Kernel Security Patch) to 20170826 Based On MSM8960T
- Misc Optimization
- Added Quick Wakeup driver
- BACKPORT F2FS from branch Linux 3.4.y (git.kernel.org)
- Reverting Quick Wakeup Driver
- Added USB Keyboard features
- Updated SDCARDFS Driver
- Misc fixes
Third Build (20170821):
- Little Improvement on CPU Bus Speed
- Added Dynamic Fsync 2.0
- Added Frandom Support
- Added Interface of Gentle Fair Sleepers (Option Disable by Default)
- Misc change on I/O Partitions
- Dynamic management of dirty page writebacks
- Removed "+" Symbol From Kernel Version String
- Implement Power Efficient Workqueues Feature (Enable by Default)
- Revert Alucard CPU Governor to v1.0
- Added Interface of Arch Power Features (Disable by Default)
- Entropy Tweaks
- Build vfp with softfp
- Misc change with cpufreq
- Added Intelli Plug and Intelli Thermal
- Fix Neon VFP
- Upgraded Kernel to 3.4.4
- Change toolchains to Hyper Toolchains GCC 4.9
- Decrease thermal limits to 70c
Second Build (20170817):
- Set kernel as permissive
- Enabling 972Mhz to fix slow response on boot and skipped frequency on system
- Added Custom TCP Congestion
- Added CPU Voltage Control
- Added DT2W Vibration Support
- Added USB Fastcharge v1
- Adapted Some CPU Governor with CPU Freq Table
First Build (20170816):
- INITIAL BUILD
: - Included Custom CPU Governor
- CPU Overclocked to 1.458Mhz
- Using NEON Optimized as VFP
- DT2W Feature
- CPU Optimization Algorithm
- Custom I/O Sched
Kernel Adiutor Configuration
CPU Manager :
CPU Max Frequency : 972Mhz (For Normal Usage) . 1.2Ghz (For Multitasking Usage) & 1.4Ghz (For Hard/Gaming Usage)
CPU Min Frequency : 384Mhz
CPU Governor: Alucard or Interactive (For Normal Usage), Alucard or IntelliMM (For Multitasking Usage) & Lionheart or Intelliactive, Blu Active (For Hard/Gaming Usage)
(Beside that leave it as stock)
Hotplug Manager :
Mpdecision = Disable
Intelli Plug = Enable
Profile = Eco for Performance
(Beside that leave it as stock)
Thermal Manager:
Thermald : Disable
Intelli Thermal : Enable
Core Control : Enable
Frequency Throttle Temperature : 60c
CPU Throttle Temperature : 70c
Thermal Limit Low = 2
(Beside that leave it as stock)
GPU Manager
GPU Max Freq : 400Mhz
GPU Governor : Ondemand or Performance (For Hard Gaming)
I/O Scheduler =
(Leave it as stock)
Misc =
Software CRC Check = Disable
Dynamic Fsync = Disable
Arch Power = Disable (Not really recommended)
Gentle Fair Sleepers = Disable
TCP Congestions = Depends on your need
Option already update during new kernel feature is include
For explanation (cpu hotplug, and i/o sched) check on this thread
CPU Governor : Link- 1 Link-2
I/O Sched : Link
CPU Hotplug :Link - 1 Link - 2
Special Thanks to @gsstudios for guide :laugh:
[INFO] Double Tap 2 Wake & BETA Build
For Double Tap 2 Wake
Try to use kernel adiutor and check in wake tap, after that choose DT2W and enable it using "full'" option and then let's try DT2W features with vibration on mimori kernel
NOTE : BETA Build For Testing (Not Stable)
github/build
For BETA, try to look date for kernel. Find latest one, and anyone can test latest beta if don't want wait for stable update. I can't promise to make fast update for stable source, i don't want to make any problem. so it's better stay at beta and whenever it ready, and it should release on thread :victory:
Thanks.
Garv Maggu said:
Thanks.
Click to expand...
Click to collapse
you're welcome, i'm still working for optimization in armv7 vfpv4 module.
have fun
Updated
New kernel build v1.1 is released with several fix for vfpv4 and neon modules, download link in on download tab.
have try
Great!
Please add dt2w
Niiiice! I was waiting for new release, I'll test it now
Alex_Gamer said:
Niiiice! I was waiting for new release, I'll test it now
Click to expand...
Click to collapse
my laptop is back from service center , and now is time to back :laugh:
romspeed said:
Please add dt2w
Click to expand...
Click to collapse
i will try on next update, it's to hard to add that anyway .
Nicklas Van Dam said:
my laptop is back from service center , and now is time to back :laugh:
Click to expand...
Click to collapse
Good to hear that your laptop its back to rock
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Kb44994 said:
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Click to expand...
Click to collapse
sound is bursting? i think i'm not to modified to sound on this kernel, maybe that's from high cpu usage so that's make sound is distortion. i will try to look at sound option.
[EDIT]
Kb44994 said:
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Click to expand...
Click to collapse
i'm update kernel with clean build and kernel optimilization, i hope that can fix your problem. i'm already compare sound with stock and my kernel. i'm not hear any particular change on sound volume, maybe very little difference, please to wipe dalvik-cache and cache after install this update
Updated
New kernel build v1.2 is released with several clean build for kernel and optimization on kernel compiler to reduce size, download link in on download tab.
have try
Updated
New kernel build v1.3 is released with first stable build , added auto hotplug drivers and more optimization for armv7 and krait processor
download link in on download tab.
have try

[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

[KERNEL][7.1.X/8.X/9.X/Stock 5.1.1] RZ Kernel for Sony Xperia Z1

Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
Features
I/O Schedulers (these were actually added in upstream kernel source)
BFQ
CFQ
DEADLINE
FIOPS
NOOP
ROW [DEFAULT]
ZEN
CPU hotplugs: intelli_plug (ENABLED BY DEFAULT)
CPU thermal control: intellithermal (ENABLED BY DEFAULT)
Governors
conservative
elementalX
intelliactive
interactive
ondemand
powersave
performance
zzmoove [DEFAULT, profile: 3 (ybatext)]
CPU
Support for Multi-Core Power Saving, reduce CPU usage (available in CPU tab of Kernel Adiutor).
Reduced CPU Average-Load drastically (Less CPU-Load=Cool Device=More Battery-Life).
Support userspace CPU voltage controlling
GPU
Support for Adreno Idler algorithm, reduce high GPU frequencies usage for better battery performance
Support for Simple GPU Algorithm
Memory
Support for Adaptive Low Memory Killer (ALMK) (kill any process that cause thrashing scenario)
Support for Kernel Samepage Merging (KSM).
Support for zRAM compression algorithm (updated to upstream Linux 4.8)
Support for LZ4HC (LZ4 high-compression rate) compression algorithm for zRAM
Other tweaks and optimizations
Init.d support
Support Faux Sound Control (use Faux Sound app to set audio gain profiles)
Optimized Integer SQRT. for upto 3x faster operation.
OVERCLOCKED CPU to 2,5GHz
Westwood TCP congestion algorithm (small boost on network speed)
Hacked swappiness up to 200 by using hacks from Samsung kernel sources (default swappiness is 130)
SELinux Permissive (for V4A and etc...)
Disabled some battery-hogging WAKELOCKS
Support zswap for better memory compression
XDA:DevDB Information
RZ Kernel for Sony Xperia Z1 (honami), Kernel for the Sony Xperia Z1
Contributors
remilia15, SuperLamic
Source Code: https://github.com/remilia15/android_kernel_sony_msm8974
Kernel Special Features:
Version Information
Status: Testing
Created 2018-04-04
Last Updated 2018-09-14
Download link: Drive
CHANGELOG
v1.0: Initial release
v1.5: Post #11
v2.0: Post #17
v2.5:
Post #48
Support for stock 14.6.A.1.368: Post #52
v3.0: Post #97
v4.0 [FINAL]: Post #147
Small notes
The kernel is tested on C6902/C6903/C6906 model. Not sure about other Z1 variants (don't confuse with Z1c). Testers are welcome
As written in the thread name, make sure you're on ROMs mentioned in the thread name. Please report if other ROMs work with this kernel
The kernel is based on @SuperLamic's msm8974 kernel source, and other features were cherry-picked from other sources as well. Original credits goes to them
For dt2w, tap 2 fingers at once on your touchscreen (as mentioned in Modified-kernel thread)
Reserved for future usage
Twrp included ?
Any plans for oreo version?
Is it possible to disable dt2w?
I remember way back it was usually done by modifying a file like
echo "1" > /sys/android_touch/ *some dt2w file*
iga64828 said:
Twrp included ?
Click to expand...
Click to collapse
Well, you have to install it separately through FlashTool
pokepokepoke said:
Any plans for oreo version?
Click to expand...
Click to collapse
Maybe, after Oreo gone stable
SUPERUSER said:
Is it possible to disable dt2w?
I remember way back it was usually done by modifying a file like
echo "1" > /sys/android_touch/ *some dt2w file*
Click to expand...
Click to collapse
You can disable it from Kernel Adiutor -> Wake -> DoubleTap2Wake
Or sysfs way:
Code:
echo 0 > /sys/class/input/input1/wakeup_gesture
Sent from my Xperia Z1 using XDA Labs
nice set of features,,,, gonna give it a test
remilia15 said:
The kernel is tested on C6902/C6903 model. Not sure about other Z1 variants (don't confuse with Z1c). Testers are welcome
As written in the thread name, make sure you're on LineageOS 14.1. I haven't tested other N ROMs yet. Please report if other ROMs work with this kernel
The kernel is based on @SuperLamic's msm8974 kernel source, and other features were cherry-picked from other sources. Original credits goes to them
For dt2w, tap 2 fingers at once on your touchscreen (as mentioned in Modified-kernel thread)
Click to expand...
Click to collapse
Bootloops on RR Nougat 7.1.2 (yeah yeah yeah, read the disclaimer on support for other ROMS, just curious to test this kernel). Strange but offline charging works as expected and even booting into TWRP works. But while in TWRP I notice the device temperature begins to rise rapidly, causing it to reboot,,,,,hope this works in future releases. Device: C6902
RZ v1.5 is up! Changes
Implemented power efficient workqueues (thanks to franciscofranco)
Disabled DT2W by default
Enabled multi-core power saving by default
Reverted GPU OC, obviously because it doesn't do anything
Built with UBERTC 4.9
Disabled battery-hogging wakelocks (thanks to franciscofranco)
Enabled intelli_plug and intellithermal by default (you'll need to disable mpdecision from Kernel Adiutor so intelli_plug will work properly)
RZ v1.5 is available on my Drive folder. Please checkout OP for download link!
Cheers,
Confirmed working with latest Carbon N ?
Sent from my Xperia Z1 using XDA Labs
Good work on my c6903 LOS 14.1 SuperLamic.
Nice work. It's working fine on my C6906 running LOS 14.1 from SuperLamic with Magisk installed and working fine too. My phone was charging too slow but now it's fixed.
Hello, remilia15.
Thank you for your work.
This kernel is flash like update.zip in trwp recovery?
Seand1796 said:
Hello, remilia15.
Thank you for your work.
This kernel is flash like update.zip in trwp recovery?
Click to expand...
Click to collapse
Yes, the kernel is packed inside a flashable ZIP, so just flash it through TWRP
RZ v2.0 is up! Changes
Added support for userspace voltage controller (available in Kernel Adiutor)
Added support for Adreno Idler (reduce high GPU frequencies usage due to msm-adreno-tz overhead), and Simple GPU algorithm
Added governors: zzmoove [DEFAULT], elementalX
Disabled mpdecision and thermanager by default (through my own ramdisk implementation, may support other ROMs for sure, as confirmed with Carbon N and LOS N)
Added support for zswap (ported from Samsung msm8974 kernel source)
Added IO schedulers: zen, fiops (default is still ROW)
Added 100MHz GPU step (should reduce battery consumption on light usage)
Added support for Dynamic Fsync (disabled by default), powersuspend driver (default: HYBRID mode)
Reduced CPU standby voltage
Fixed dt2w deep sleep state (it should function properly now)
RZ v2.0 is available on my Drive folder. Please checkout OP for download link!
remilia15 said:
RZ v2.0 is up! Changes
Added support for userspace voltage controller (available in Kernel Adiutor)
Added support for Adreno Idler (reduce high GPU frequencies usage due to msm-adreno-tz overhead), and Simple GPU algorithm
Added governors: zzmoove [DEFAULT], elementalX
Disabled mpdecision and thermanager by default (through my own ramdisk implementation, may support other ROMs for sure, as confirmed with Carbon N and LOS N)
Added support for zswap (ported from Samsung msm8974 kernel source)
Added IO schedulers: zen, fiops (default is still ROW)
Added 100MHz GPU step (should reduce battery consumption on light usage)
Added support for Dynamic Fsync (disabled by default), powersuspend driver (default: HYBRID mode)
Reduced CPU standby voltage
Fixed dt2w deep sleep state (it should function properly now)
RZ v2.0 is available on my Drive folder. Please checkout OP for download link!
Click to expand...
Click to collapse
Hi
thanks for your works buddy
can u make kernel for other roms like RR too?
u can use anykernel :fingers-crossed:
Luncer said:
Hi
thanks for your works buddy
can u make kernel for other roms like RR too?
u can use anykernel :fingers-crossed:
Click to expand...
Click to collapse
I'm using the very first version of AnyKernel with very minimal patching commands
Somehow it's pretty hard for me to adapt to a newer AK version so I decided to write my own noob-friendly ramdisk patching script instead (compatible with all Z1 AOSP boot.img)
My kernel boots currently on LOS N and Carbon N. For RR, idk why it bootloops. Probably need some other kernel commits maybe?
Sent from my Xperia Z1 using XDA Labs
Runs nice..but I needed to flash the stock kernel from superlamic lineage os and then flash this kernel because the phone went in to a bootloop on the sony logo.
Just a reminder to what to do when your next update is coming
edit: no its magisk thats acting up.. wont't boot when installing this after flashing the kernel
Phone is booting with magisk on stock kernel so something is not right.
I don't have more time atm for this so im gonna let it be

Categories

Resources