[KERNEL][CWM][CM10.1][3.4] Skull Kernel - v2.0 (linaro 4.8 | O2 | OCUV) - Samsung Galaxy W I8150

Skull Kernel
Build with Linaro GCC 4.8.2 Toolchain
Only for JellyBean 4.2.2
This kernel is based on arco source. It included extra tweaks and tuning for better performance
or battery life!:fingers-crossed:
Some warning to all users before flashing away!
Please do not install this kernel on Android version other than 4.2.2
By flashing this kernel, you are accepting any results that might happen with this kernel
I'm not responsible for any damage and your warrantly might be void!
(damage seldom happen as I always get this kernel tested and ONLY release when it come stable)
​
NOTE !!
Install this kernel will replace the modules at system/lib/modules and will back up your original modules to system/lib/modules.bak.
Please note that you only need to restore modules if you switch to other kernel (not skull kernel), otherwise forget about it
Features
Kernel version 3.4.73
Compile with Linaro GCC 4.8.3 2013.11 toolchain by Christopher83
O2 optimization level to both module and kernel
360 MB of ram (more memory by default)
Default CPU governor: lulzactive
Default I/O Scheduling: SIO
A lot governors for user to choose:
smartassV2, interactive, conservative, ondemand, powersave, lulzactive, performance
More IO scheduler present in kernel also:
noop, deadline, row, sio, vr, cfq, bfq
Default max CPU frequency: 1401 MHz, Default min CPU frequence: 245 MHz
Overclock up to 1804 MHz & slightly undervolt
Please be aware overclocking might damage your phone!
IF YOU DON'T NEED IT, CHANGE BACK TO DEFAULT MAX CPU FREQUENCY AND LEAVE IT THERE
CPU Voltage Control (VDD Sysfs Interface)
Frandom support
Dynamic readahead size based on device disk size
Updated lzo compression to upstream version
Optimized ARM RWSEM algorithm
lib/memory & lib/string: use glibc version
Dynamic file sync
Dynamic management of cgroup timer slack
LowMemoryKiller: Management of not killable processes
ExFat file system support
Increase audio loudness
Tweak ramdisk to help with system responsiveness
Sync with arco latest changes, as always
Video
Current build
Code:
v2.0 [[URL="http://www.mediafire.com/download/0gqq3ahcs6c96uo/JB_3.4.X_skullKernel_v2.0.zip"]DOWNLOAD[/URL]]
* Build with Linaro 4.8.3 GCC 2013.11 by Christopher83.
* Switch to O2 optimization level for better performance in some scenario.
* New Feature added, LowMemoryKiller: Management of not killable processes
(now launcher is hard to kill, believe. Credit to Christopher83)
* Hopefully to fix whitescreen and its battery drain issue without using the framebuffer workaround.
[B](I need the feedback here!)[/B]
* It is 360MB of ram by default.
* Kernel 3.4.73
CWM 6.0.4.6 (7/1/2014)
[[URL="http://www.mediafire.com/download/eob59hmfwhz2sey/cwm_6.0.4.6_ancora.zip"]DL[/URL]] - [SIZE="2"][COLOR="Red"]Reboot to CWM and flash[/COLOR][/SIZE]
* Updated and build with CM11 source. (Compatible with KK)
Instruction
Boot to recovery.
Mount system and data.
Flash the kernel.
Wipe cache & dalvik cache. (Optional)
Reboot.
Done, enjoy.
Credit
arco68 (thank for his kernel source)
Christopher83 and linaro team for great toolchain
Hadidjapri, Christopher83, erik, CastagnalT, Dorimanx and other developers for help
sdfee and buffo1987 for guide on how to build cwm recovery
LeroViten for CWM flashable zip
Some github guys that I cherry-pick commit from them
anyone looking at my thread!
Google for making this possible
PLEASE PROVIDE ANY FEEDBACK AND CLICK THANKS IF YOU FIND THIS KERNEL USEFUL. APPRECIATE
Click to expand...
Click to collapse
XDA:DevDB Information
[KERNEL][CWM][CM10.1][3.4] Skull Kernel - v2.0 (linaro 4.8 | O2 | OCUV), a Kernel for the Samsung Galaxy W I8150
Contributors
Keff91
Kernel Special Features: custom kernel aim for better performance or battery life
Version Information
Status: Stable
Current Stable Version: v2.0
Stable Release Date: 2013-12-11
Created 2013-09-24
Last Updated 2013-12-12

Old build
Code:
v1.9
[[URL="http://www.mediafire.com/download/5gy2tn1h034k4x6/JB_3.4.X_skullKernel_v1.9.zip"]NORMAL[/URL]][[URL="http://www.mediafire.com/download/4h1zn71lhqs8ywa/JB_3.4.X_skullKernel_v1.9_highmem.zip"]HIGHMEM[/URL]]
* Fix CPU frequency stuck problem on lulzactive gov
* Kernel 3.4.67
v1.8
[[URL="http://www.mediafire.com/download/m308gr8o5pd2uli/JB_3.4.X_skullKernel_v1.8.zip"]NORMAL[/URL]][[URL="http://www.mediafire.com/download/9ptmn5719n235ap/JB_3.4.X_skullKernel_v1.8_highmem.zip"]HIGHMEM[/URL]]
* Added HIGHMEM version - 360 MB of free ram. (normal version indicate kernel with default ram size)
* Update exFAT source to version 1.26. (thanks dorimanx team)
* Increase audio loudness. (credit to castagnalT)
* Added CK3 tweaks. (credit to Christopher83)
* Sync with arco sources.
v1.7
[[URL="http://www.mediafire.com/download/tz1srzwj41byjo1/JB_3.4.X_skullKernel_v1.7.zip"]DOWNLOAD[/URL]]
* Fix battery indicator not show when device is powered off.
* Update exfat source from upstream.
v1.6 Ultra
[[URL="http://www.mediafire.com/download/bk7leulqbe9lf2l/JB_3.4.X_skullKernel_v1.6Ultra.zip"]DOWNLOAD[/URL]]
* Kernel updated to adapt CM10.1 Alpha 9 by arco68.
* Show 100% battery notification after unplug from fully charge.
* Added vm tweaks.
v1.6
[[URL="http://www.mediafire.com/download/j0cqs5c5pb2nl62/JB_3.4.X_skullKernel_v1.6.zip"]DOWNLOAD[/URL]]
* New build, everything start from scratch.
* Compile with Linaro GCC 4.8.2 2013.09 toolchain.
* O3 optimize level to kernel and module as well.
* Added frandom support.
* Added V(R) I/O scheduler.
* Switch ROW to SIO as default I/O scheduler. (credit to arco as explain the reason behind it)
* Update lzo compression to upstream version.
* Optimize ARM RWSEM algorithm and update RWSEM to Linux 3.10.
* Added Dynamic File Sync. (credit faux123)
* Added dynamic management of cgroup timer slack. (credit Christopher83)
* Added ExFat file system support on boot.
* Tweak low memory killer minfree.
* Added modules backup features. (copy stock modules from system/lib/modules to system/lib/modules.bak at first boot of my kernel)
* Should fix white screen issue on lcd rev. 3. (use framebuffer)
v1.55
[[URL="http://www.mediafire.com/download/0xhw2i682u2uryi/skull-kernel-v1.55.zip"]DOWNLOAD[/URL]]
* Build with Linaro GCC 4.8.2 2013.08 toolchain.
* Switch back to SLUB, should have better memory management. (thanks dorimanx and AndreiLux for fixing it)
* O2 optimization.
* Small ramdisk fixes.
v1.5
[[URL="https://docs.google.com/file/d/0B6OKL92TPp9eclIyZlZZclR4WmM/edit?usp=sharing"]DOWNLOAD[/URL]][[URL="http://www.datafilehost.com/d/3f6fc75e"]MIRROR[/URL]]
* Start everything from scratch, I really missed out alot of things :D
* Linux 3.4.58
* Build with Linaro GCC 4.8.2 201307.
* Switch from memory allocator SLUB to SLAB (this is needed if build with gcc 4.8.+, using slub just not booting)
* O3 optimization and some build flags change.
* Update to LZO compression library.
* Remove frandom but added random hack. (Need more testing)
* Tweak LMK and VM values. (thanks Christopher83)
* Kernel source updated.
[B]v1.4.1[/B]
[[URL="http://www.mediafire.com/download/ck424bnadcz2ft4/JB_3.4.X_skullKernel_v1.4.1.zip"]DOWNLOAD[/URL]]
* Use O3 optimization. (Thanks Christopher83 for help)
* Remove the highest overclock frequency. (1804 MHz cpu frequency cause the phone freezing, so remove it)
* Revert few commits from arco. ([URL="https://github.com/Keff/samsung-kernel-msm7x30/commit/7c4bd1fb75ba02d25d8f703c0b1598f2b8b5be1e"]1[/URL], [URL="https://github.com/Keff/samsung-kernel-msm7x30/commit/533beabc98bbedd4a51aaf46b28e866ba3af9fdd"]2[/URL]) - Probably cause the hang issue.
[B]v1.4[/B]
[[URL="http://www.mediafire.com/download/3x3r3chc7691of2/JB_3.4.X_skullKernel_v1.4.zip"]DOWNLOAD[/URL]]
* Build with Linaro GCC 4.8.1-2013.05 toolchain from Christopher83
* Simplified optimization build flags used.
* Switch to O2 optimization and use SLAB allocator. (To ensure kernel boot successfully that build with GCC 4.8.1 toolchain)
* Added wifi tweak to help less power drain with WIFI on. (credit Dorimanx)
* Some changes on ramdisk. (Added tweaks, eg. VM tweak, SD read_ahead tweak and MORE)
* Kernel 3.4.48
[B]v1.3[/B]
[[URL="http://www.mediafire.com/download/zp17zr4rj2u32jz/JB_3.4.X_skullKernel_v1.3.zip"]DOWNLOAD[/URL]]
* Based on CyanogenMod 10.1 Alpha 6 by arco68.
* Optimized auto-scheduler and enable it also.
* Update and fix lulzactiveW governor. (thanks erik and dorimanx for helping me to solve mistake)
* Update Dynamic File Sync to latest. (thanks faux123)
* Modified some compilation flags and restore 02 optimization for module. (still testing, but nothing harm for now)
* Increased audio loudness. (thanks CastagnaIT)
* Enable Gentle-Fair-Sleepers again for better sleep hence saving battery.
* Bug fixes and update to both hyper and intellidemand governor. (thanks CastagnaIT)
* Fix frandom not working properly. (Thanks Madridii for reported issue)
* Hacked random and urandom for frandom. (always use frandom in every situation now)
* Enhance init.d support. (copy scripts to etc/init.d and reboot. It will AUTO set rwx-rx-rx permission and run it for you !!)
* Kernel 3.4.47.
[B]v1.2[/B]
[[URL="http://www.mediafire.com/download/pvpvdcd62v8v3sh/JB_3.4.X_skullKernel_v1.2.zip"]DOWNLOAD[/URL]]
* Based on CyanogenMod 10.1 Alpha 5 by arco68. (means kernel [B]NOT[/B] compatible with old CM10.1 build)
* Remove FIOPS ioscheduler. (reported lag and quite useless as well)
* Updated wifi drivers and should bring back wifi tethering. (credit goes to arco)
* Fix WEP connection. (credit goes to ivendor and arco also)
* Build with latest Linaro GCC 4.7.4-2013.05 toolchain from Christopher83.
* Small kernel fixes.
* Kernel 3.4.46.
[B]v1.1[/B]
[[URL="http://www.mediafire.com/download/b7moqcww5w9qawv/JB_3.4.X_skullKernel_v1.1.zip"]DOWNLOAD[/URL]]
* Added Intellidemand governor.
* Added FIOPS ioscheduler.
* Removed pop-up noise at the end of power off. (credit CastagnalT)
* Added CPU Voltage Control. (e.g. allows you to control CPU voltage through [URL="https://play.google.com/store/apps/details?id=com.incredicontrol&feature=more_from_developer#?t=W251bGwsMSwxLDEwMiwiY29tLmluY3JlZGljb250cm9sIl0."]IncrediControl[/URL] app)
* Allow overclock up to 1804 MHz and slightly undervolt by default.
* Kernel 3.4.44.
[B]v1.0[/B]
[[URL="http://www.mediafire.com/download/q9aorajuq69iq4s/JB_3.4.X_skullKernel_v1.0.zip"]DOWNLOAD[/URL]]
* Initial release.
* Temporary bluetooth fix. (File transfer work)
* Introduce a new cpufreq governor call lulzactiveW. It's maintained by erik.

First ... Thank you .. Awesome
Sent from my GT-I8150 using xda premium

Great work bro. Thanks...
GT-I8150 cihazımdan Tapatalk 2 ile gönderildi

Thanks

Thanks

To those use spirit fm, can help to test on this kernel, is it work?

Thanks buddy.

working spirit fm :good:

Im using row+hyper, ksm and 16bit on+seederV7, is there a better settings for gaming and daily? This one good enough,smooth with no lags,just curious. Great joob for this kernel :thumbup:
Sent from my GT-I8150 using xda premium

are wifi thetering work in this kernel ?

woowww, thanks for this kernel and you, great man

Why no 360mb+ RAM?
Sent from my GT-I8150 using xda app-developers app

yeah same question wheres the 360+ ram go ?

ianfebriyanto said:
are wifi thetering work in this kernel ?
Click to expand...
Click to collapse
Thetering on but can't be detected so its not working, wifi works,bluetooth works,haven't found any other issues
Whats the details of LuzlactiveW ,I think its a new one
sent from my Xperia J and Galaxy W with customized ICS

dollyaja said:
Thetering on but can't be detected so its not working, wifi works,bluetooth works,haven't found any other issues
Whats the details of LuzlactiveW ,I think its a new one
sent from my Xperia J and Galaxy W with customized ICS
Click to expand...
Click to collapse
He talked abt that governor on the OP I'm trying it out after this :thumbup:
Sent from my GT-I8150 using xda app-developers app

gdonanthony said:
yeah same question wheres the 360+ ram go ?
Click to expand...
Click to collapse
I hate less ram
Sent from my GT-I8150 using xda app-developers app

TiTAN-O-One said:
He talked abt that governor on the OP I'm trying it out after this :thumbup:
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
Just tried with row scheduler,it works good on temple run oz and subway surfer ,but I put seeder v7, don't know if not
sent from my Xperia J and Galaxy W with customized ICS

dollyaja said:
Thetering on but can't be detected so its not working, wifi works,bluetooth works,haven't found any other issues
Whats the details of LuzlactiveW ,I think its a new one
sent from my Xperia J and Galaxy W with customized ICS
Click to expand...
Click to collapse
Tethering not work with stock ARCO kernel ...
Wait for resolving from ARCO
Sent from my GT-I8150 using xda premium

Madridii said:
Tethering not work with stock ARCO kernel ...
Wait for resolving from ARCO
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
usb tethering works, but it gets buggy when you turn off the screen.

Related

[KERNEL][CM12.1]🌟Kernel NEOX🌟 v6.9 Fix Charge UBERTC-700 and Dual Sim 9300I

[KERNEL][CM12.1]🌟Kernel NEOX🌟 v6.9 Fix Charge UBERTC-700 and Dual Sim 9300I
Kernel is for CM 12.1 5.1.1
{
"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"
}
My device is GT-I9301i
Code:
[COLOR="Red"]* 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.
*/[/COLOR]
Features
Add KCAL - Advanced color control for Qualcomm MDSS 8226 use OC-KAL and apk in Attach Files
Code:
/sys/devices/platform/kcal_ctrl.0/kcal - (0-256 0-256 0-256) - Controls R/G/B Multipliers
/sys/devices/platform/kcal_ctrl.0/kcal_min - (0-256) - Controls minimum RGB Multiplier value
/sys/devices/platform/kcal_ctrl.0/kcal_enable - (0-1) - Enables/Disables RGB Multiplier Control
/sys/devices/platform/kcal_ctrl.0/kcal_invert - (0-1) - Enables/Disables Display Inversion Mode
/sys/devices/platform/kcal_ctrl.0/kcal_sat - (224-383 or 128) - Controls saturation intensity - use 128 for grayscale mode
/sys/devices/platform/kcal_ctrl.0/kcal_hue - (0-1536) - Controls display hue - may have issues with msm8x26 in the higher values
/sys/devices/platform/kcal_ctrl.0/kcal_val - (128-383) - Controls display value
/sys/devices/platform/kcal_ctrl.0/kcal_cont - (128-383) - Controls display contrast
http://forum.xda-developers.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080
Last Github Rox sources
Overclock add 1497600, 1593600 freq.
Add new Governors for CPU:
PERFORMANCE POWERSAVE USERSPACE ONDEMAND INTERACTIVE CONSERVATIVE INTELLIACTIVE PEGASUSQ PEGASUSQPLUS ZZMOOVE
Add LZ4 COMPRESS
Use Toolchain Linaro gcc 5.2.1 20151005 Graphite
( no more Use Toolchain Uber gcc 5.3.x Optimized)
Code:
GRAPHITE = -fgraphite -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -ftree-loop-linear -floop-nest-optimize
HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -Ofast -fomit-frame-pointer -pipe -DNDEBUG -fgcse-las $(GRAPHITE) -pthread
HOSTCXXFLAGS = -pipe -DNDEBUG -Ofast -fgcse-las -mfpu=neon-vfpv4 $(GRAPHITE)
KERNEL_FLAGS = -pipe -DNDEBUG -Ofast -marm -mtune=cortex-a9 -mcpu=cortex-a9 -march=armv7-a -mfpu=neon-vfpv4 \
-mvectorize-with-neon-quad -fgcse-after-reload -fgcse-sm -fgcse-las \
-ftree-loop-im -ftree-loop-ivcanon \
-fivopts -ftree-vectorize -ffast-math -fno-schedule-insns2 \
-fmodulo-sched -fmodulo-sched-allow-regmoves -fno-tree-vectorize $(GRAPHITE)
MOD_FLAGS = -DMODULE -fno-pic $(KERNEL_FLAGS)
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized)
else
KBUILD_CFLAGS += -Ofast
KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized) -fno-inline-functions
KBUILD_CFLAGS += $(call cc-disable-warning,array-bounds)
endif
Tricks
Controll TCP: veno
Scheduler: Tripnoid - Buffer size 1024
Freq Cpu:
MIN 300000
MAX 1593600
Governor: Lionheart
Fast Charge: ON
MPDecision: OFF
Intelli-Plug: ON or OFF
MSM HOTPLUG: ON always
GPU Governor: msm-adreno-tz
Enable Adreno Idler
Profiles for my kernel Thanks to neonkat
#Gaming(performance)
gov-performance
max cpu freq-1593Mhz
i/o-zen
#Balanced
gov-yankactive/yankdemand
max cpu freq-1401Mhz
i/o-sio
#Heavy Multi-tasking
gov-zzmove
max cpu freq-1593Mhz
i/o-bfq
#Insane battery life
gov-smartmax/powersave
max cpu freq-1190Mhz/1094 Mhz
i/o-noop
Credits
Rox
CyanogenMOD
Samsung
Google
CodeAurora
Qualcomm
Guide
Use Trickster Mod or Kernel Adiutor for Setup Kernel
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod&hl=it
Version
Code:
v1.1 Update Ramdisk new Rox Rom
v1.2 add news Features:
CONFIG_INTELLI_PLUG=y
CONFIG_LAZYPLUG=y
CONFIG_POWERSUSPEND=y
CONFIG_FORCE_FAST_CHARGE=y
CONFIG_FRANDOM=y
CONFIG_KERNEL_MODE_NEON=y
CONFIG_ALLOW_CPU_ALIGNMENT=y
v1.3 add news Features:
CONFIG_SOUND_CONTROL_HAX_3_GPL=y
For Faux SOUND CONTROL Use Trickster Mod or Kernel Adiutor
Pics Sound Control
CONFIG_INTELLI_THERMAL_V2=y
Pass Antutu Benchmark v5.7.2
ZRAM point: 21430
ZSWAP point: 21544
Undecided whether it is better 'ZSWAP' or 'ZRAM'
Please you decide you...
otherwise I do double version.
ZSWAP parameters:
in '/sys/modules/zswap/parameters'
max_compression_rate = 80 default
max_pool_percent = 20 default
Fix Hardware msm8226
Fix battery drain
New Version v2.0 zswap zram
Fix ALL :cool:
Fix zram and intellitermalV2 too
Problem with RR 5.5.8 (please update to Rom's Rox last build or RR 5.5.9 )
New Version v2.1 for RR 5.5.9 and Rom's Rox last build
update Adreno driver from kernel 3.4.108 experimental
Add version kernel 2.0 for Rom RR558 and old rom Rox.
New Version v2.2 for RR 5.5.9 and Rom's Rox last build
Patch take of CyanogenMod 13, ROM for the Moto G 2015
[URL="http://forum.xda-developers.com/2015-moto-g/orig-development/rom-cyanogenmod-13-t3254236"]http://forum.xda-developers.com/2015-moto-g/orig-development/rom-cyanogenmod-13-t3254236[/URL]
drivers: /drivers/mmc/core/core.c
mmc: disable software CRC checks for 30% performance
/*
* Enabling software CRCs on the data blocks can be a significant (30%)
* performance cost, and for other reasons may not always be desired.
* So we allow it to be disabled.
*/
bool use_spi_crc = 0;
module_param(use_spi_crc, bool, 0644);
Kernel v2.3
Build with 'The SaberMod Project' 20150804
+ CONFIG_BLU_PLUG=y
The Dynamic hotplug driver automatically online/offline CPUs proportional to system load.
Enable setting security contexts on rootfs inodes.
+ CONFIG_UID_CPUTIME=y
Per UID based cpu time statistics exported to /proc/uid_cputime
Kernel v2.4
News: Build with Toolchains SaberMod 4.9 with a15, vfpv4 optimizations and Google GCC
arm-eabi-gcc (GCC) 4.9.x-sabermod 20150828 (prerelease) so
CONFIG_ARM_UNWIND=y enable for Cortex-a7.
Update "force fast charge" Port to Nexus 5
and fix in /drivers/usb/otg/msm_otg.c
Add "Support for xor-neon"
Fix some gorvernors.
Active disable software CRC
Active Blu Plug (if you wont disable Intelliplug with Kernel Adiutor)
Kernel v2.5
Build Full -O3
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
KBUILD_CFLAGS += -O3
revert - mmc: disable software CRC checks -
+CONFIG_CPU_FREQ_GOV_SMARTMAXMOD=y
Add governor SMARTMAXMOD with powersuspend
Networking options CONFIG_XFRM all
Update from kernel v3.4.109:
update /drivers/platform/msm
+CONFIG_USR_RESET_WARNING=y
This option enables a device driver that monitors user reset warning
GPIO.If the driver receives the warning it calls kernel_halt to notify
drivers registered for the reboot notification about incoming HW reset.
+CONFIG_DROPBOX=y (this is usefull)
This option enables a sysfs interface for drivers to send text or
binary events to the Android dropbox. A lightweight userspace daemon
polls the sysfs files and copies the data into dropbox using the built
in dropbox manager service. This enables fast and simple logging of
various critical events from kernel drivers.
+CONFIG_HOB_SHARED_RAM=y
Provide mechanism to access hob storage shared memory on apps
processor. HOB - or the Hand Over Block - is the staging area for
phasing data.
+CONFIG_ALSA_TO_H2W=y (this is usefull)
This option enables a device driver that attach to the input queue and
and exposes EV_SW events SW_HEADPHONE_INSERT & SW_MICROPHONE_INSERT in
/sys/class/switch/h2w/state used by Android headset observer.
The caf kernel is optimized for Qualcomm phones. I'm replacing files possible without altering operation, but do not rule out some bugs.
Now is just the time to really test the phone but for now I think
almost everything ok .... If you find any bugs warn but for me the camera works in both zram that zswap ...
Install : Flash in Recovery mode
kernel_cm-13.0-20151119-s3ve3g-v2.0-zswap.zip ( Problem with RR 5.5.8 (please update to Rom's Rox last build) )
kernel_cm-13.0-20151119-s3ve3g-v2.0-zram.zip ( Problem with RR 5.5.8 (please update to Rom's Rox last build) )
Note : this version update Adreno driver from kernel 3.4.108 experimental (but works)
kernel_cm-12.1-20151122-s3ve3g-v2.2-zswap.zip ( for RR 5.5.9 and Rom's Rox last build )
kernel_cm-12.1-20151122-s3ve3g-v2.2-zram.zip ( for RR 5.5.9 and Rom's Rox last build )
Note : this version is Build with Toolchains SaberMod 4.9 with a15, vfpv4 optimizations and Google GCC
kernel_cm-12.1-20151127-s3ve3g-v2.4-zswap-crc-google.zip ( for RR 5.5.9 and Rom's Rox last build )
kernel_cm-12.1-20151127-s3ve3g-v2.4-zram-crc-google.zip ( for RR 5.5.9 and Rom's Rox last build )
NEW KERNEL CAF v1.1 by n1kolaa
Note : this version is Build with Toolchains SaberMod 4.9 with a15, vfpv4 optimizations and Google GCC
I decided to build the kernel with the sources of Thread by n1kolaa v3.4.67 for testing With all my changes:
kernel_cm-12.1-20151129-s3ve3g-caf-v1.1-zram-google.zip ( for Rom's Rox last build )
kernel_cm-12.1-20151129-s3ve3g-caf-v1.1-zswap-google.zip ( for Rom's Rox last build )
NEW Kernel v2.7
Note : Build Full -O3 Toolchains SaberMod 4.9 with a15, vfpv4 optimizations and Google GCC
kernel_cm-12.1-20151226-s3ve3g-v2.7-zswap-google.zip ( for last build )
kernel_cm-12.1-20151226-s3ve3g-v2.7-zram-google.zip ( for last build )
Code:
* ZZMoove Governor profiles header file modified by Zane Zaminsky 2013/14
*
* currently available profiles by ZaneZam and Yank555:
*
* - (1)'def' -> Default -> will set governor defaults -
*
* - (2)'ybat -> Yank Battery -> a very good battery/performance balanced setting -
* - DEV-NOTE: highly recommended! -
*
* - (3)'ybatext'-> Yank Battery Extreme -> like yank battery but focus on battery saving -
*
* - (4)'zzbat' -> ZaneZam Battery -> a more 'harsh' setting strictly focused on battery saving -
* - DEV-NOTE: might give some lags! -
*
* - (5)'zzbatp' -> ZaneZam Battery Plus -> NEW! reworked 'faster' battery setting -
* - DEV-NOTE: recommended too!:) -
*
* - (6)'zzopt' -> ZaneZam Optimized -> balanced setting with no focus in any direction -
* - DEV-NOTE: relict from back in the days, even though some people still like it! -
*
* - (7)'zzmod' -> ZaneZam Moderate -> NEW! setting based on 'zzopt' which has mainly (but not strictly only!) 2 cores online -
*
* - (8)'zzperf' -> ZaneZam Performance -> all you can get from zzmoove in terms of performance but still has the fast -
* - down scaling/hotplugging behaving -
*
* - (9)'zzinz' -> ZaneZam InZane -> NEW! based on performance with new insane scaling active. a new experience! -
*
* - (10)'zzgame' -> ZaneZam Gaming -> NEW! based on performance with scaling block enabled to avoid cpu overheating during gameplay -
*
* - (11)'zzrelax'-> ZaneZam Relax -> NEW! based on moderate (except hotplug settings) with relaxed sleep settings -
*
Old version:
NEW Kernel v4.0:
Kernel Version 4.0
Change Toolchain Dorimanx-LG-G2-D802-Kernel
Change to KCAL V2 mdss_mdp_kcal_ctrl.c
Change fastcharge driver
NEW Kernel v4.1:
Kernel Version 4.1
Powersuspend driver Default to userspace mode
NEW Kernel v4.2:
Kernel Version 4.2
Add MSM_HOTPLUG by myfluxi
Fix Bluetooth Stuttering by [email protected]
update commit CAF kernel v3.4.67
NEW Kernel v4.6:
Kernel Version 4.6
Zram rewrite and set lz4 compression
Add other CPU Governors
Update Powersuspend v1.7
Classic Toolchain arm-cortex_a7-linux-gnueabihf-linaro_4.9.4-2015.06
Initram KERNEL in GZIP
NEW Kernel v4.7:
Kernel Version 4.7
New Toolchains arm-eabi-5.3.1 UBERTC-5.3.x 20160401 (optimized)
NEW Kernel v4.9:
Kernel Version 4.9
New Toolchains arm-eabi-5.3.1 UBERTC-5.3.x 20160401 (optimized)
Add GRAPHITE optimizations
NEW Kernel v5.0:
Kernel Version 5.0
New Toolchains arm-eabi-5.3.1 UBERTC-5.3.x 20160401 (optimized)
Add GRAPHITE optimizations
New Wi-Fi driver from Motion Rom
Update Zram add 4 devices (you can edit 99zram in init.d)
Add more Governors Cpu: WAVE, BLU_ACTIVE, HELLSACTIVE, BIOSHOCK,
NIGHTMARE, ALUCARD and TRIPNDROID
New Cpu Boost driver
New HotPlug driver: BRICKED, MAKO, MSM_LIMITER, ZEN, and ALUCARD
Update INTELLI_PLUG (v5.4) and MSM_HOTPLUG
Click to expand...
Click to collapse
NEW Kernel v5.1:
Kernel Version 5.1
New Toolchains arm-eabi-5.3.1 UBERTC-5.3.x 20160401 (optimized)
Add GRAPHITE optimizations
New Wi-Fi driver from Motion Rom
Update Zram add 4 devices (you can edit 99zram in init.d)
Add more Governors Cpu: WAVE, BLU_ACTIVE, HELLSACTIVE, BIOSHOCK,
NIGHTMARE, ALUCARD and TRIPNDROID
New Cpu Boost driver
New HotPlug driver: BRICKED, MAKO, MSM_LIMITER, ZEN, and ALUCARD
Update INTELLI_PLUG (v5.4) and MSM_HOTPLUG
Workqueues marked with WQ_POWER_EFFICIENT
Update commit WQ_POWER_EFFICIENT
Fix SOUND DRIVER (resolved bug no sound on any music player)
Control Output Sound in Kernel Adiutor menu Sound
Sound Control 3.4 Author: Paul Reioux aka Faux123 <[email protected]>
Update Gpu Devfreq
Add Adreno Gpu governor CONSERVATIVE (now work)
Click to expand...
Click to collapse
NEW Kernel v5.2:
Kernel Version 5.2
Equal to 5.1 but build with Linaro Toolchain 5.2.1 very smoot...
Add Governors:
ARTERACTIVE Copyright (C) 2014 Samsung from SM-G900F source
"Latency sensitive workloads based on Samsung's Galaxy S5 Interactive");
CYAN Copyright (C) 2015 Emre Harbutoğlu
"Latency sensitive workloads based on Google's Interactive"
Click to expand...
Click to collapse
NEW Kernel v5.5:
Kernel Version 5.3
Build with Linaro Toolchain 5.3.1 very smoot...
Add new commit:
fix false disconnect due to a signal sent to the reading process
ksm: check and skip page, if it is already scanned
Input: Send events one packet at a time
cpufreq: Optimize cpufreq_frequency_table_verify()
Add /dev/frandom
lib/string: use glibc version
lib/memcopy: use glibc version
Enable pipe flag.
mm: readahead to 256
vfp: hardfloat
Add Commit to Cpu Boost
Change Fast Charge Driver (old seem break Touchscreen)
Limit the max charge level to 2100 mA
Author Jean-Pierre Rasquin <[email protected]>
KERNEL in XZ
New v5.5:
Return to Toolchain Linaro gcc 5.2.1 20151005 Graphite
Fix Volume Crackling in sound setting
Change :
/drivers/power/qpnp-sec-charger.c
/drivers/hid
/drivers/input
/drivers/usb
add Cpu governor interactive_sm
from S5 mini g800h
Click to expand...
Click to collapse
Fix SOUND
NEW Kernel v6.9:
Kernel Version 5.6
Return to Toolchain Linaro gcc 5.2.1 20151005 Graphite
Fix Volume Crackling in sound setting
add Cpu governor interactive_sm
Revert this : (not work crash kernel)
/drivers/power/qpnp-sec-charger.c
/drivers/hid
/drivers/input
/drivers/usb
from S5 mini g800h
Kernel Version 5.7
More stable
Fix bug install apps
Kernel Version 5.8
add more features
optimize
Kernel Version 5.9
OC GPU 550Mhz (not tested)
Kernel Version 6.0
OverClock GPU to 550Mhz
UnderClock CPU to 192Mhz and 249Mhz
Stable
Kernel Version 6.1
Some fix
Kernel Version 6.2
fix Skype don't start ( in qpnp-charger.c deactivate debug )
Kernel Version 6.3
Add Async Fsync from HTC Kernels
Add Dynamic file sync control
Antutu 22597 score
Kernel Version 6.5
New Toolchain...
UBERT gcc version 7.0.0 20160421 (experimental)
Add CRYPTO LZ4 (forgot)
edit:
Please delete version kernel 6.6
Error Build now reupped file sorry
Kernel Version 6.7
Finally...
Fix Charge off-line
Beta Sim working on GT-I9300I (test this)
Thanks to [email protected]
Error is in Ramdisk no Rom or Kernel sources
Kernel Version 6.8
New Power management options:
WQ_POWER_EFFICIENT_DEFAULT
QUICK_WAKEUP
PM_SYNC_BEFORE_SUSPEND
ZSWAP in LZ4
SOUND:
In fauxsound codec
Fix speaker gain volume store (use Kernel Adiutor in Sound)
Now work volume speaker
ATTENTION or damage speaker Max value 4-5
for WCD9306 sound control module Copyright 2013 Paul Reioux
Use: Start Google Play Music and play a song (only speaker)
Now start Kernel Adiutor goto in Sound and move slide Speaker Gain
v.6.9
Fix GPU overclock 550 Mhz
Add GPU min freq to 100 Mhz
Limit CPU Voltage at freq 192 and 249 MHz
Script Zram to 512 MB
If wi-fi not start flash WiFi-fix Galaxy S3 Neo CM12.1.zip
Click to expand...
Click to collapse
Build with Toolchain GCC: (UBERTC-7.0.0) 7.0.0 20160421 (experimental)
Beta Sim working on GT-I9300I (test this)
Download: Kernel-CM12.1-Neox-v6.9-u700-zram.zip
Download: Kernel-CM12.1-Neox-v6.9-u700-zswap.zip
Download: Kernel-CM12.1-Neox-v6.9-u700-zcache.zip
This work on 9300I Carbon Ultimate Android 5.1.1 Dual Sim
Download: Kernel-9300I-DualSim-CM12.1-Neox-v6.9-u700-zram-b.zip
Download: Kernel-CarbonRom-test-Neox-v6.8-u700-zram.zip
If necessary flash this: Patch+RIL+(Dual+SIM).zip
Thanks to: MAXSIMUS96
old:
Download: Kernel-CM12.1-Neox-v6.8-u700-zram.zip
Download: Kernel-CM12.1-Neox-v6.8-u700-zswap.zip
Download: Kernel-CM12.1-Neox-v6.8-u700-zcache.zip
Download: Kernel-CM12.1-Neox-v6.7-u700-zram.zip
Download: Kernel-CM12.1-Neox-v6.7-u700-zswap.zip
Download: Kernel-CM12.1-Neox-v6.7-u700-zcache.zip
Download: Kernel-CM12.1-Neox-v6.5-u700-zram.zip
Download: Kernel-CM12.1-Neox-v6.5-u700-zswap.zip
Download: Kernel-CM12.1-Neox-v6.5-u700-zcache.zip
Build with Toolchain Linaro gcc 5.2.1 20151005 Graphite
Download: Kernel-CM12.1-Neox-v6.3-l521-zram.zip
Download: Kernel-CM12.1-Neox-v6.3-l521-zswap.zip
Download: Kernel-CM12.1-Neox-v6.3-l521-zcache.zip
Download: Kernel-CM12.1-Neox-v6.2-l521-zram.zip
Download: Kernel-CM12.1-Neox-v6.2-l521-zswap.zip
Download: Kernel-CM12.1-Neox-v6.1-l521-zram.zip
Download: Kernel-CM12.1-Neox-v6.1-l521-zswap.zip
Download: Kernel-CM12.1-Neox-v6.0-l521-zram.zip
Download: Kernel-CM12.1-Neox-v6.0-l521-zswap.zip
Download: Kernel-CM12.1-Neox-v5.9-l521-zram.zip
Download: Kernel-CM12.1-Neox-v5.9-l521-zswap.zip
How to use new ZRAM goto here
PHP:
I used zram with this settings:
Cpu max : 1401
Governor : cyan
Multicore Power Saving : disabled
Schedule workqueues on awake CPUs to save power. off
Cpu Boost : off
Input boost frequency : disabled (all)
Hotplug Boost : on
Cpu Hotplug : Zen decision
Termic : intellithermal
GPU : default
Fast Charge: on
Scheduler I/O : deadline 256K
Misc :
Dynamic Fsync : off
Power Suspend Mode : UserSpace
Network : veno
Toolchain GCC: (UBERTC-7.0.0) 7.0.0 20160421 (experimental)
Thanks to: ZaneZam
Thanks to [email protected] And [email protected]
Commit: toolchain: multiple fixes and changes for gcc 5.0.0
Sources: https://github.com/MSM8226-Samsung/android_kernel_samsung_s3ve3g/tree/cm-12.1
Camera FIX only if camera not work :
Camera_fix.zip
or: cm12.1camera.zip
FIX Bug corrected the boring log :
QCOM PowerHAL Failed to acquire lock.
copy 'power.msm8226.so-cracked' to '/system/vendor/lib/hw/'
rename 'power.msm8226.so' to 'power.msm8226.so.original'
rename 'power.msm8226.so-cracked' to 'power.msm8226.so'
set octal attrib 0644 (use Root Explorer in Attributes). Reboot device...
Attach Files power.msm8226.so-cracked.zip
Flash in Recovery:
Can i install this kernel on résurrection remix ??
Envoyé de mon GT-I9300I en utilisant Tapatalk
mimbel said:
Can i install this kernel on résurrection remix ??
Envoyé de mon GT-I9300I en utilisant Tapatalk
Click to expand...
Click to collapse
Yes
OK thanks
Envoyé de mon GT-I9300I en utilisant Tapatalk
@Renix63 Good Job !
Reserved
Please renix add this future.
http://forum.xda-developers.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080
Sectorian said:
Reserved
Please renix add this future.
http://forum.xda-developers.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080
Click to expand...
Click to collapse
ok.
@Renix63 what is the super charger script and the other mtk one? What do they add?
Sent from my GT-I9301I using XDA Free mobile app
Ok everything is working purfectly for now.
Im using it whit Resorection Remix and pegausplus gov.
Verry smooth and fast.
Man what are you doo whit this kernel.
My battery life is superb.
Thank you.
Im using pegasusplus gov.
Sectorian said:
Ok everything is working purfectly for now.
Im using it whit Resorection Remix and pegausplus gov.
Verry smooth and fast.
Man what are you doo whit this kernel.
My battery life is superb.
Thank you.
Im using pegasusplus gov.
Click to expand...
Click to collapse
Can you tell me some info about battery? Or attach a screenshot please?
WiFi isn’t working for me. Clean install of Rox’s CM12.1 10/17 version. Flashed the kernel in revocery right after installing the ROM. Am I missing something?
aelfinn said:
WiFi isn’t working for me. Clean install of Rox’s CM12.1 10/17 version. Flashed the kernel in revocery right after installing the ROM. Am I missing something?
Click to expand...
Click to collapse
Maybe wiping cache and dalvik will make a difference if you haven't already tried.
Sectorian said:
Ok everything is working purfectly for now.
Click to expand...
Click to collapse
Is WiFi working for you too? I’m having a bit of a problem with that… (WiFi not working, as with n1kolaa’s kernel if you forgot to flash modules.zip.)
aelfinn said:
WiFi isn’t working for me. Clean install of Rox’s CM12.1 10/17 version. Flashed the kernel in revocery right after installing the ROM. Am I missing something?
Click to expand...
Click to collapse
Wipe cache and dalvik cache. WiFi is working for me after i did it.
MoonPWR said:
Wipe cache and dalvik cache. WiFi is working for me after i did it.
Click to expand...
Click to collapse
That isn’t doing it for me, I’m afraid.
aelfinn said:
That isn’t doing it for me, I’m afraid.
Click to expand...
Click to collapse
I came to this kernel from n1kolaa's kernel and that's what i did:
1) Wipe cache and dalvik cache
2) Installs kernel (kernel_cm-12.1-20151021-s3ve3g-OC-KAL.zip)
3) Do cache and dalvik cache wipe again (dunno what for again, but i did)
MoonPWR said:
I came to this kernel from n1kolaa's kernel and that's what i did:
1) Wipe cache and dalvik cache
2) Installs kernel (kernel_cm-12.1-20151021-s3ve3g-OC-KAL.zip)
3) Do cache and dalvik cache wipe again (dunno what for again, but i did)
Click to expand...
Click to collapse
Now that did indeed work. Although goodness knows why…
aelfinn said:
WiFi isn’t working for me. Clean install of Rox’s CM12.1 10/17 version. Flashed the kernel in revocery right after installing the ROM. Am I missing something?
Click to expand...
Click to collapse
WiFi working well
If not working delete manually the file /system/lib/modules/wlan.ko reboot and reflash kernel
Omg you did it.
You add it thanks so many times.
Im gonna flash it and test it.
It work.
It work.
I can manual set the saturation of my display settings whit color control apk.
N1 you are n1.
Best settings.
Amazing work @Renix63! Many thanks! Everything is working, deep sleep, reboot... : )
One question. If I switch between battery modes, it goes back to interactive governor, and I have to manually change it to pegasusq. Any way to prevent that happening?

[DISCONTINUED][KERNEL][5.1][CM] Phoenix Kernel v1.6 [18-February-2016][OC CPU + GPU]

DISCONTINUED
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Hello guys, here I'm introducing a custom kernel for our Moto X Play, based on Squid Kernel . Full credits goes to him:fingers-crossed:. I only added some tweaks and more is coming soon. No more blah blah...
Features:
Reduced VFS cache pressure
Disabled noatime and nodiratime
Dirty ratio tweaks
Enabled Arch power and Disabled GFS
Asynchronous I/O latency to a solid-state disk greatly increased
Optimized SLUB
VM_MAX_READAHEAD set to 1024 kbytes
Optimize apply_slack for size and speed - thanks to varunchitre15
Forward port Dynamic Fsync to Linux 3.10 by varunchitre15
Disabled MMC CRC check
Enabled some extra TCP Congestion Controls
Use all cores on-boot for faster bootup
HMP-aware task placement
Code:
[B]CPU Hotplugs:[/B]
[SIZE=2][STRIKE]Bricked Hotplug[/STRIKE]
MSM Hotplug
[STRIKE]MAKO Hotplug
ZEN_DECISION Hotplug
AUTOSMP Hotplug
MSM SLEEPER[/STRIKE][/SIZE]
Code:
[B]CPU Governors:[/B]
[SIZE=2]LIONFISH
SMARTMAX
BLUACTIVE
SMARTASS2
INTELLIACTIVE
INTERACTIVE_PRO
ZZMOOVE
ALUCARD
BARRY_ALLEN
BIOSHOCK[/SIZE]
How to install:
Download Phoenix kernel flashable zip
Copy it into SD Card
Reboot into custom recovery
Install zip from SD Card
Credits:
squid2 (for the GPL source)
varun.chitre15 (for the GPL source)
Kunal.Kene.1797 (for the GPL source)
HridayHS (for the GPL source)
Shoaib05 (for the GPL source)
Motorola
XDA
Google
Missed you ? sorry pm me I'll add you
Downloads:
See the attachment or Download
*** v1.5 and above are not compatible with Stock 5.1 roms ***​
Click to expand...
Click to collapse
XDA:DevDB Information
Phoenix Kernel, Kernel for the Moto X Play
Contributors
AnoopKumar, squid
Source Code: https://github.com/HelllGuest/phoenix_kernel_lux
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2015-10-24
Created 2015-10-24
Last Updated 2016-02-18
Change log
v1.0 2015 October 24
Initial release
v1.1 2015 November 03
Up to date with Squid Kernel
Added frandom
Network speedup tweak
kernel/sched/fair: reduce latency
power: process: drecrease time to enter sleep
defconfig Enable NTFS,CIFS
Added intelliactive - Paul Reioux
Added smartass2 - Erasmux
Added bluactive - Mike Chan,engstk
Added interactive_pro - Mike Chan
Added smartmax-maxwen
v1.2 2015 November 14
Up to date with Squid Kernel
Added Bricked Hotplug - showp1984
Added MSM Hotplug - myfluxi
Disabled IOSCHED_TEST
v1.3 2015 November 26
Updated Lionfish
Wake mod s2s added
Disabled Bricked Hotplug and added MSM Hotplug as default
v1.4 2015 December 26
Up to date with Squid Kernel
Reduced swappiness to 30
Reduced lag
Some minor fixes too
v1.5 2016 February 08
Up to date with Squid Kernel
Linux 3.10.96
Reduced lag
Improved smoothness
Updated Powersuspend
Adreno idler by arter97
320K AAC Encoding
SELinux: permissive
Compiled with Phoenix GCC 5.2
v1.6 2016 February 18
Up to date with Squid Kernel
Overclocked CPU + GPU
Added zzmoove - Zane Zaminsky
alucard - [email protected]
barry_allen - Javier Sayago
bioshock - James Jamison
Added support for CRC Toggle
Optimized Console FrameBuffer for upto 70% increase in Performance
Optimized Integer SQRT. for upto 3x faster operation
Optimized Task-Search for upto 6% increase in Performance
Reduced RQ Lock-Contention for upto 0.7% increase in Performance
Enabled High-Priority WorkQueue for DevFreq
Fixed High-Load Average due to Drivers
Fixed Reporting of GPU Frequency
MSM_HOTPLUG: min 2 cpu while screen off
msm8939: overclock lux big cluster to 1709 MHz
msm8939: overclock lux little cluster to 1209 MHz
msm8939: overclock GPU to 700MHz
Aren't hotplugs like MSM hotplug, bricked hotplug etc. meant for qcom quad core/krait CPUs? I'm not sure how they'd behave on big.LITTLE. Even the governors, I'm not sure they are adapted to big.LITTLE.... could you shed some light on it? Also, your commit history looks like a kang job.... you should clear that out.
Just tried it and now my phone is rebooting every 30 seconds, clearly there are some problems.
Even flashing other kernels or the stock one from cm 12.1 isn't working ( I also restored the libs ), I had to flash the rom again with a full wipe, sorry but had no time to make a logcat.
It looks like kanged only because I manually committed changes from Yu Yreka's custom kernel source... Because I'm having slow Internet connection. Credits are given in the thread.. I think hotplug is working...
AnoopKumar said:
It looks like kanged only because I manually committed changes from Yu Yreka's custom kernel source... Because I'm having slow Internet connection. Credits are given in the thread.. I think hotplug is working...
Click to expand...
Click to collapse
Tbh cherry-picking commits doesn't need a fast internet connection. (I myself have picked commits on a 512 kbps internet) and credits need to be given in the commit, otherwise it counts as a "kang".
Also, credits for bricked hotplug and alucard hotplug etc. haven't been given even in the thread.
Pardon me.. I will fix it give me some time
AnoopKumar said:
Pardon me.. I will fix it give me some time
Click to expand...
Click to collapse
No problem. Just wanted to alert you, because there are a lot of wolves out there who'll trouble you a lot for unretained commit authorship.
Nice work AnoopKumar. Added to index
eskamhl said:
Just tried it and now my phone is rebooting every 30 seconds, clearly there are some problems.
Even flashing other kernels or the stock one from cm 12.1 isn't working ( I also restored the libs ), I had to flash the rom again with a full wipe, sorry but had no time to make a logcat.
Click to expand...
Click to collapse
Thank you for the feedback.. Some issues are removed and added new zip
Quasar said:
No problem. Just wanted to alert you, because there are a lot of wolves out there who'll trouble you a lot for unretained commit authorship.
Click to expand...
Click to collapse
Bro removed all kanged commits.
Perfect, working 100%!!
Amazing Kernel! Kernel running smoothly, show the ball ! All that remains is to add Faux'123 Sound Control functionality.
No more additional cpu governor on the last version?
Nico3d3 said:
No more additional cpu governor on the last version?
Click to expand...
Click to collapse
Actually I removed them because of some authorization issues...
Abravanelsenor said:
Amazing Kernel! Kernel running smoothly, show the ball ! All that remains is to add Faux'123 Sound Control functionality.
Click to expand...
Click to collapse
Stay tuned its coming in the next version.
AnoopKumar said:
Stay tuned its coming in the next version.
Click to expand...
Click to collapse
Possible to incorporate D2W?
Thanks :good:
possible installation in the RR 5.5.8 ? No Bootloop ?
FilipeRgz said:
possible installation in the RR 5.5.8 ? No Bootloop ?
Click to expand...
Click to collapse
Currently i'm on pac rom, not faced any bootloop.
brom25 said:
Possible to incorporate D2W?
Thanks :good:
Click to expand...
Click to collapse
Im working on that too. Only sweep2sleep working now
AnoopKumar said:
Currently i'm on pac rom, not faced any bootloop.
Click to expand...
Click to collapse
I'll back up and install for testing, thanks

[KERNEL][TW] 🌟xMotion🌟 ROM Based v4.7 OC Gpu to 550Mhz UBERT-7.0.0 Dual-sim OC KCAL

[KERNEL][TW] 🌟xMotion🌟 ROM Based v4.7 OC Gpu to 550Mhz UBERT-7.0.0 Dual-sim OC KCAL
/*
* 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.
*/
Features
Add KCAL - Advanced color control for Qualcomm MDSS 8226 use Kernel Adiutor
Note:
Lock screen restore RGB value at max. Not solve this.
Note : Build Full -Ofast Toolchain Linaro gcc 5.2.1 20151005
Old Version :
Kernel v1.1
Add POWERSUSPEND to Samsung panel
Bug display wrong freq in Apps Setting Kernel
Little drain but very fast
Kernel v1.2
Add WCD93xx sound control module v3.4
Copyright 2013~2014 Paul Reioux
Kernel v1.3
Fix wrong freq
Set this in /sys/kernel/cpufreq_hardlimit/
Kernel v1.4
Change Toolchain Dorimanx-LG-G2-D802-Kernel
Change to KCAL V2 mdss_mdp_kcal_ctrl.c
Kernel v1.5
Power Suspend settable.
New Version 1.7:
KCAL v2.0 savoca <[email protected]> and Paul Reioux <[email protected]>
WIFI ok
MSM_HOTPLUG by myfluxi
WCD93xx sound control module Author: Paul Reioux aka Faux123
ZZMOOVE governor 2001 Russell King 2012 Michael Weingaertner <[email protected]>
CYAN governor Author: Emre Harbutoğlu on Paul Reioux ([email protected]) Modified for cyan
SIOPLUS I/O scheduler
TRIPNDROID I/O scheduler
ZEN I/O scheduler
VR I/O scheduler
Toolchain 4.9.4 PWR-CORE
Click to expand...
Click to collapse
New Version 1.8:
Add INTELLI_PLUG cpu control module Author: Paul Reioux aka Faux123
More governors
No OC for battery drain
Click to expand...
Click to collapse
New Version 1.9:
Update WiFi PRIMA driver
ARM: add support for kernel mode NEON
ARM: crypto: add NEON accelerated XOR implementation
msm: memutils: memcpy, memmove optimization
crypto: create generic version of ablk_helper
ARM: add support for bit sliced AES using NEON instructions
More commit : Commits
Kernel v3.4.25 CAF
Click to expand...
Click to collapse
New Version 2.0:
For MotionROM_v17.0_20160322
KCAL v2.0 savoca <[email protected]> and Paul Reioux <[email protected]>
WIFI ok Tested AP Router WiFi
MSM_HOTPLUG by myfluxi
WCD93xx sound control module Author: Paul Reioux aka Faux123
ZZMOOVE governor 2001 Russell King 2012 Michael Weingaertner <[email protected]>
CYAN governor Author: Emre Harbutoğlu on Paul Reioux ([email protected]) Modified for cyan
PEGASUSQPLUS governor
SMARTMAX governor
SIOPLUS I/O scheduler
TRIPNDROID I/O scheduler
Toolchain 4.9.4 PWR-CORE
Bug: no DeepSleep (i work to fix)
Click to expand...
Click to collapse
New Version 2.1:
For MotionROM_v17.0_20160322
KCAL v2.0 savoca <[email protected]> and Paul Reioux <[email protected]>
WIFI ok Tested AP Router WiFi
MSM_HOTPLUG by myfluxi
INTELLI_PLUG v4.0
WCD93xx sound control module Author: Paul Reioux aka Faux123
More governors
More I/O scheduler
Toolchain 4.9.4 PWR-CORE
OverClock 1593Mhz
Tweak for GPU
POWERSUSPEND
BTW Notification light is working.
Fix DEEPSLEEP
Click to expand...
Click to collapse
New Version 2.2:
For MotionROM_v17.0_20160322
Update MSM_HOTPLUG by myfluxi
Update governors INTELLIACTIVE, INTELLIDEMAND, INTERACTIVE
Update FREQ_FOR_RESPONSIVENESS in governor PEGASUSQPLUS to 300.000 Mhz
Update fastcharge
Click to expand...
Click to collapse
New Version 2.3:
For MotionROM_v17.0_20160322
Fix Bluetooth Stuttering by [email protected]
Build Full -O3 Toolchains 4.9.x-sabermod 20150926 (release)
kernel with HARDLIMIT CONTROL
cpufreq: CPU max. hardlimit v2.2 (Yank555.lu)
For fast changes you mod this:
/sys/kernel/cpufreq_hardlimit/current_limit_max 1497600 (or whatever you want)
/sys/kernel/cpufreq_hardlimit/scaling_max_freq_screen_on 1497600 (or whatever you want)
99ChangeFreq.zip (unpack and put in dir /system/etc/init.d set permisssion 0755 and activate kernel adiutor init.d)
Click to expand...
Click to collapse
New Version 2.5:
For All MotionROM TW based
Rewrite all CPU Governor
Governor ZZMOOVE fix profile
Update Powersuspend v1.7
New Toolchain UBERTC-4.9.4 20160401
Initram KERNEL in GZIP
Add Dual-sim support for i9300i flash Also RIL_for_I9300I_by_nikita36078.zip and
kernel-MotionRom-TW-17.0-v2.5-zram_FIX_for_i9300i_RIL.zip
Click to expand...
Click to collapse
New Version 2.6:
For All MotionROM TW based
New Toolchain UBERTC 5.3.x 20160401 (optimized)
Click to expand...
Click to collapse
New Version 2.7:
For All MotionROM TW based
New Toolchain UBERTC 5.3.x 20160401 (optimized)
Add GRAPHITE optimizations
Click to expand...
Click to collapse
New Version 2.8:
For All MotionROM TW based
New Toolchain Linaro gcc 5.2.1 20151005
Add GRAPHITE optimizations
Charging off-line work with animation
(I swear I did not realize that does not work ... sorry)
Add Kernel in ZSWAP
Click to expand...
Click to collapse
New Version 3.3:
For All MotionROM TW based
New Toolchain Linaro gcc 5.2.1 20151005
Build Full -Ofast
Add GRAPHITE optimizations
Charging off-line work with animation
Add Scheduler I/O Fiops Sio Sioplus Tripndroid and Zen
ZRAM num_devices = 4 and add script enabled by kernel adiutor init.d 99zram
You can edit this script in /system/etc/init.d/ (change value 64 to set more MB)
ZRAM default_compressor = "lz4"
Update vnSwap zsmalloc.c zswap.c
Workqueues marked with WQ_POWER_EFFICIENT
Update commit WQ_POWER_EFFICIENT
Fix SOUND DRIVER (resolved bug no sound on any music player)
Control Output Sound in Kernel Adiutor menu Sound
Sound Control 3.4 Author: Paul Reioux aka Faux123 <[email protected]>
Update Gpu Devfreq
Add Adreno Gpu governor CONSERVATIVE (now work)
Add more Governors Cpu: WAVE, BLU_ACTIVE, HELLSACTIVE, BIOSHOCK,
NIGHTMARE, ALUCARD and TRIPNDROID
New CPU BOOST driver ACCELLERATE HOTPLUG
New HotPlug driver: BRICKED, MAKO, MSM_LIMITER, ZEN, and ALUCARD
Update INTELLI_PLUG (v5.4) and MSM_HOTPLUG
Click to expand...
Click to collapse
New Version 3.6:
For All MotionROM TW based
Same 3.3, 3.4 3.5
Add Governors:
ARTERACTIVE Copyright (C) 2014 Samsung from SM-G900F source
"Latency sensitive workloads based on Samsung's Galaxy S5 Interactive");
CYAN Copyright (C) 2015 Emre Harbutoğlu
"Latency sensitive workloads based on Google's Interactive"
Rebuild I/O Schedulers add IOSCHED_BFQ and IOSCHED_VR
Add new commit:
fix false disconnect due to a signal sent to the reading process
ksm: check and skip page, if it is already scanned
Input: Send events one packet at a time
cpufreq: Optimize cpufreq_frequency_table_verify()
Add /dev/frandom
lib/string: use glibc version
lib/memcopy: use glibc version
Enable pipe flag.
mm: readahead to 256
vfp: hardfloat
KERNEL in XZ
Click to expand...
Click to collapse
New Version 4.0:
For All MotionROM TW based
Same 3.3, 3.4 3.5 3.6 3.7 3.8
Add Commit to Cpu Boost
Change Fast Charge Driver (old seem break Touchscreen)
Limit the max charge level to 2100 mA
Author Jean-Pierre Rasquin <[email protected]>
Change /drivers/power/qpnp-sec-charger.c from S5 mini
Update sources Selinux
v3.9
update input (touchscreen, ecc.), hid and usb (all) kernel files from S5 Mini
v4.0
In this version regress hotplug to 3.9
disable BRICKED_HOTPLUG
Click to expand...
Click to collapse
New Version 4.7:
For All MotionROM TW based
v4.1
add OC Gpu to 550Mhz (finally)
add Busybox in Ramdisk
add Hot Reboot (use RebootManager )
readd HOTPLUG to v5.4
readd BRICKED_HOTPLUG
v4.2
Fix Cpu UnderClock Frequency to 192Mhz and 249Mhz
WOW...
v4.3
kernel v.4.3 swap in ZCACHE
Parameters in:
sys/kernel/mm/zcache
v4.4
Add Async Fsync from HTC Kernels
Add Dynamic file sync control
v4.5
New Toolchain...
UBERTC gcc version 7.0.0 20160421 (experimental)
Add CRYPTO LZ4 (forgot)
Add Async Fsync from HTC Kernels
Update Dynamic file sync control
Optimize more FULL -03
v4.6
ZSWAP in LZ4
SOUND:
In fauxsound codec
Fix speaker gain volume store (use Kernel Adiutor in Sound)
Now work volume speaker :laugh:
ATTENTION or damage speaker Max value 4-5
for WCD9306 sound control module Copyright 2013 Paul Reioux
v.4.7
Fix GPU overclock 550 Mhz
Add GPU min freq to 100 Mhz
Limit CPU Voltage at freq 192 and 249 MHz
Script Zram to 512 MB
zram vs zswap vs zcache Ultimate guide: when to use which one
Note:
First uninstall Kernel Adiutor, install the new kernel, then reinstall Kernel Adiutor
Click to expand...
Click to collapse
OC Gpu to 550Mhz - Charging off-line work with animation - Fix SOUND
Note:
First uninstall Kernel Adiutor, install the new kernel, then reinstall Kernel Adiutor
Download: Kernel-xMotion-v4.7-u700-zram.zip
Download: Kernel-xMotion-v4.7-u700-zswap.zip
Download: Kernel-xMotion-v4.7-u700-zcache.zip
Test please:
This work on 9300I Dual Sim
Download: Kernel-9300I-DualSim-xMotion-v4.7-u700-zram.zip
Download: Kernel-9300I-DualSim-xMotion-v4.6-u700-zswap.zip
If necessary flash this: Patch+RIL+(Dual+SIM).zip
old:
Download: Kernel-xMotion-v4.6-u700-zram.zip
Download: Kernel-xMotion-v4.6-u700-zswap.zip
Download: Kernel-xMotion-v4.6-u700-zcache.zip
Download: Kernel-xMotion-v4.5-u700-zram.zip
Download: Kernel-xMotion-v4.5-u700-zswap.zip
Download: Kernel-xMotion-v4.5-u700-zcache.zip
Download: Kernel-xMotion-v4.4-l521-zram.zip
Download: Kernel-xMotion-v4.3-l521-zcache.zip
Download: Kernel-xMotion-v4.2-l521-zram.zip
Download: Kernel-xMotion-v4.2-l521-zswap.zip
Download: Kernel-xMotion-v4.2-l521-zram_FIX_for_i9300i_RIL.zip
Download: Kernel-xMotion-v4.2-l521-zswap_FIX_for_i9300i_RIL.zip
Special Version 1.0b7 zRam:
Old version
For All MotionROM TW based
Version beta4:
This version use part of RamDisk of the Boeffla-Kernel and use Boeffla-Config V2 app
Copyright (C) By ZaneZam
Donation: Donation-Link
Link: Page Kernel
Or, just purchase the donation version of the Boeffla-Config app
Yeah go on folks donate for this great Dev By ZaneZam !!
Add zRam (now swap effectively!)
Fix wrong settings
KERNEL in XZ
AnTutu v5.7.2 21600 pts
Change Fast Charge Driver (old seem break Touchscreen)
Limit the max charge level to 2100 mA
Author Jean-Pierre Rasquin <[email protected]>
Version beta6:
Return to Toolchain Linaro gcc 5.2.1 20151005 Graphite
Change :
/drivers/power/qpnp-sec-charger.c
/drivers/hid
/drivers/input
/drivers/usb
add Cpu governor interactive_sm
from S5 mini g800h
Hot Reboot in power app
Click to expand...
Click to collapse
For All MotionROM TW based
Version beta7:
Add OC Gpu to 550Mhz
Add Under Clock CPU to 192Mhz and 249Mhz
Click to expand...
Click to collapse
Special Version 1.0b7 zRam OC Gpu to 550Mhz
Download: Kernel-xMotion-Base-TW-l521-Boeffla-1.0b7-zram.zip
Download: Kernel-xMotion-Base-TW-l521-Boeffla-1.0b7-zram_FIX_for_i9300i_RIL.zip
How to use new ZRAM goto here here
PHP:
Setting Recommended
v4.2
I used zram with setting:
Cpu max : 1401
Governor : interactive_sm
Multicore Power Saving : enabled
Schedule workqueues on awake CPUs to save power. on
Cpu Boost : on
Input boost frequency : disabled (all)
Wakeup Boost : off
Hotplug Boost : on
Cpu Hotplug : IntelliPlug (all default)
Termic : Core Control
GPU : default
Fast Charge: on
Scheduler I/O : deadline 256K
Misc :
Dynamic Fsync : off
Power Suspend Mode : UserSpace
Network : veno
For Setup kernel: kernel-adiutor-0-9-9-4-android-apk-download
If you need a file manager via recovery flash this:
Download: Files manager via TWRP
Thanks to: ZaneZam
Thanks to [email protected] And [email protected]
Commit: toolchain: multiple fixes and changes for gcc 5.0.0
BONUS :
Keyboard SamsungIMEv2 theme xda ( flash in recovery )
*** FIX emoticon ***
Added <<keyboard BLACK and WHITE>>
Thanks ninja_unmatched
Download: SamsungIMEv2_theme_white_fix-emoticons.zip
Download: SamsungIMEv2_theme_black_fix-emoticons.zip
Download: SamsungIMEv2_theme_xda_fix-emoticons.zip
News....
If wifi disconnect flash new WiFi Fix in recovery mode
WiFi Fix : WiFi-fix Galaxy S3 Neo CM12.1.zip
or this:
WiFi Fix original motion ciro v4 : WiFi-fix-Galaxy-S3-Neo-motion-ciro.zip
This Kernel working to Gt-i9300i Dual ???
Amazing Thx @Renix63
About I9300I REnix have i9301i so You can try it works on i9300i .... and tell other users if it works.
Do backup first and flash the kernel.
Ali Asgar said:
This Kernel working to Gt-i9300i Dual ???
Click to expand...
Click to collapse
Sameone test?
Firmware started. It means that the kernel works and I9300I
Why drain? Battery life is not good? If you setup kernel to be battery friendly?
on I9301I works good.
About battery drain I know nothing because a flashed it by 20min.
The Kernell still has a bug 26.. MHz physically is 1593 MHz
Thx a lot @Renix63
Good work
what is the difference between zram ans zswap?? Which one should i flash ??
aziz_chargui said:
what is the difference between zram ans zswap?? Which one should i flash ??
Click to expand...
Click to collapse
Zram - use virtual file file from Your SD card or Internal memory.
Zswap use partition for swap from your SD card - foramted before.
So if you don't want erase your data use Zram, if you have swap partition about 521MB use Zswap.
Propbably Zswap more destroy your sd card - i wrote about it.
nalas said:
Zram - use virtual file file from Your SD card or Internal memory.
Zswap use partition for swap from your SD card - foramted before.
So if you don't want erase your data use Zram, if you have swap partition about 521MB use Zswap.
Propbably Zswap more destroy your sd card - i wrote about it.
Click to expand...
Click to collapse
so i have to use the Zram simpky by flashing it with TWRP
battery drain is real boys
like 3% per 5-6 min
nalas said:
on I9301I works good.
About battery drain I know nothing because a flashed it by 20min.
The Kernell still has a bug 26.. MHz physically is 1593 MHz
Thx a lot @Renix63
Good work
Click to expand...
Click to collapse
Even for me it works well....
Is in daily use and no reboot....
Thanks Bro...
98181735 said:
battery drain is real boys
like 3% per 5-6 min
Click to expand...
Click to collapse
We should also say that it is an experimental Rom :victory:
I'm using latest zram and the max frequency is 2.6ghz (??) This prevents me from setting kernel right. Can you fix it? Other than that works well
Renix63 said:
Even for me it works well....
Is in daily use and no reboot....
Thanks Bro...
Click to expand...
Click to collapse
Yes , no reboot and it's daily use - right and this is amazing
We have TW 5.1.1 with Your great kernel
Battery :
About 18h with normally use - little net, calls, ect. battery is at 66% from 100% so I think it is normall
Thx for Your work @Renix63
I had one restart in stock camera app with OC to 1593MHz ... I check 1497MHz and is ok and again to 1593MHz and is ok.
In first time after OC I had one restart after that everythink is OK
aziz_chargui said:
so i have to use the Zram simpky by flashing it with TWRP
Click to expand...
Click to collapse
Yes, next do wipe cache and dalvik cache - and that's all.
In this Rom the kernel works decently, in CM 12.1 bothers me.
nalas said:
Yes , no reboot and it's daily use - right and this is amazing
We have TW 5.1.1 with Your great kernel
Battery :
About 18h with normally use - little net, calls, ect. battery is at 66% from 100% so I think it is normall
Thx for Your work @Renix63
I had one restart in stock camera app with OC to 1593MHz ... I check 1497MHz and is ok and again to 1593MHz and is ok.
In first time after OC I had one restart after that everythink is OK
Click to expand...
Click to collapse
Thx for info
Perhaps I exclude overclocking ...
News....
If wifi disconnect flash new WiFi Fix in recovery mode
WiFi Fix : WiFi-fix Galaxy S3 Neo CM12.1.zip
I confused firmware
can you share your settings in kernel audi. for battery saver?
Sent from my SM-G800H using xda premium

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