Kernel for Sony Smartwatch 3 [LCA43]
Kernel Features:
Interactive governor
FIOPS scheduler
ZRam with multi stream functionality and lz4 compression
UKSM
LZ4 kernel compression
Latest Linux kernel release
Latest Linaro toolchain with cortex-a7 optimizations
Click to expand...
Click to collapse
Actual versions:
tetra 2.27.1
Same as version 2.26, except:
2 active cores
UKSM disabled
tetra 2.27
4 active cores
Minor changes and optimizations
Download tetra_2.27
Download tetra_2.27.1
Click to expand...
Click to collapse
Version history:
tetra 2.26.1
Same as version 2.26, except:
2 active cores
UKSM disabled
tetra 2.26
4 active cores
Increased swap size
Defconfig optimizations
tetra 2.25.1
Same as version 2.25, except:
2 active cores
UKSM disabled
tetra 2.25
4 active cores
Some optimizations in Defconfig
Changed CrossCompiler to optimized
tetra 2.23.1
Same as version 2.23, except:
2 active cores
UKSM disabled
tetra 2.23
4 active cores
Minor changes
Updated compiler flags
tetra 2.22
Updated with android-wear-6.0.1_r0.5 kernel sources
tetra 2.12.1
Interactive governor tweaks
Scheduler updates
Minor updates
Compiled with Linaro GCC 5.3-2016.02
tetra 2.11
Interactive governor tweaks
Swap subsystem improvements
tetra 2.10
Interactive governor tweaks
tetra 2.9
Linux 3.10.101
tetra 2.8
Interactive governor improvements
Disable some unnecessary logging
tetra 2.72
Optimize math options
Changes in swap subsystem when ZRAM is used.
tetra 2.7
lz4 compressed kernel
tetra 2.6
Linux kernel 3.10.100
tetra 2.5
Linux kernel 3.10.99
Changed size for ZRAM Swap
Compiled with Linaro 5.3 RC1
tetra 2.2
Interactive governor
FIOPS scheduler
ZRam with multi stream functionality and lz4 compression
UKSM support (More CPU-friendly and effectively than KSM) with various governors
Kernel mode NEON support
Disabled HIGHMEM (as our device have only 512 MB RAM)
Optimized ARM RWSEM algorithm
Improved performance in lz4 compression and decompression
USB MTP Mode (thanks to @craigcharlie).
See this post for instruction.
Click to expand...
Click to collapse
Versions 1.x.
Note: This kernel based on @crpalmer's LCA43 kernel.
tetra 1.22
Linux kernel 3.10.98
Interactive governor improvements
Kernel mode NEON support
New ZRam release, with multi stream functionality and new lz4 algorithm
Added FIOPS scheduler, and set as default
Disabled HIGHMEM
Turn on some ARM-related features
USB MTP Mode
UKSM support (More CPU-friendly and effectively than KSM)
Optimized ARM RWSEM algorithm
Download tetra_1.22
Click to expand...
Click to collapse
Installation:
In fastboot type:
fastboot flash boot tetra.img
fastboot reboot
Click to expand...
Click to collapse
Code:
[COLOR="Red"]DISCLAMER[/COLOR]
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.
If you like my work- Donate to me
Contributors:
alex6600
crpalmer
Version Information
Status: Stable
Created 2016-01-29
Last Updated 2016-05-11
hello,
could you give some details as to what the differences/advantages/benifits to using this over crpalmers kernel?
thanks.
Most of changes - is updated Linux kernel patch version. And new linaro toolchain with cortex-a7 optimizations
Thanks will give it a try.
Sent from my GT-N7105 using Tapatalk
And one more change- disabled KSM. Due to poor efficiency.
Memory economy with ksm ~4%, and higher cpu usage.
OP updated with version 1.12.1
I'll give a try! what advantage between 2/4 core?
lupick said:
I'll give a try! what advantage between 2/4 core?
Click to expand...
Click to collapse
Take look at this post.
But really needed 4 cores for watch?.. The decision is yours.
Stock Sony kernel use only 2 cores.
Always nice to see development for this watch! Will give it a try later.
Is there a Kernel that can fully disable burn in safety settings? So that ambient mode can be similar to normal mode on the sw3?
axzy said:
Is there a Kernel that can fully disable burn in safety settings? So that ambient mode can be similar to normal mode on the sw3?
Click to expand...
Click to collapse
If you do that say goodbye to your battery in 3 hours
For those who want to test.
tetra 1.12.2:
Add LZ4 compression algorithm for ZRAM (fastest compression & decompression).
Increased vm.page-cluster.
Click to expand...
Click to collapse
Download tetra_1.12.2
alex6600 said:
For those who want to test.
Download tetra_1.12.2
Click to expand...
Click to collapse
2 or 4 cores?
Veter0k said:
2 or 4 cores?
Click to expand...
Click to collapse
2 cores.
I can compile with 4 cores, if you need.
PS. Now I've implement UKSM in kernel. UKSM more CPU-friendly, and effective then KSM.
alex6600 said:
2 cores.
I can compile with 4 cores, if you need.
PS. Now I've implement UKSM in kernel. UKSM more CPU-friendly, and effective then KSM.
Click to expand...
Click to collapse
Waiting 1.12.3 with ukms and 4 cores. :good:
OP updated with beta/test versions.
Feedback is very welcome!
For beta-version users- please give output :
cat /proc/meminfo
dumpsys meminfo
grep '' /sys/kernel/mm/uksm/*
great work , nice to see some development... will try later on and give feedback and comparison with crpalmers kernel
OP Updated with version 1.12.4.
Only one change with 1.12.3- Improve performance in lz4 compression and decompression.
For now betas will be 4 cores (if you need 1,2,3-cores version- PM me).
I had been using crpalmer's kernal for 5 months with no power drains.
When I loaded up version 2 of your kernal I had a massive power drain when the watch was disconnected from my phone for a couple of hours. This was the same problem as I had with the default kernal. I have attached the wear battery stats screenshot
Sorry, I was unable to get any logs for you as I had to load crpalmer's kernal back onto my watch as I need to know the watch will last the day.
foggy69 said:
I had a massive power drain when the watch was disconnected from my phone for a couple of hours. This was the same problem as I had with the default kernal.
Click to expand...
Click to collapse
In stock and crpalmer kernel, sometimes, when watch disconnected from phone, same result was in many people.
I'm think that not depends directly from the kernel. But, if it happens again- try to get dmesg, logcat -v time and top -m 30 -n 1.
Thanks for feedback.
For now- differences between version 1.12.4 and crpalmer's kernel:
Linux kernel 3.10.96 (latest for now)
Add improved lz4 compression algorithm for ZRAM (faster compression & decompression of zram swap than default LZO)
Add UKSM (Much more CPU-friendly and effectively than KSM)
Increased vm.page-cluster
Some changes in defconfig
Latest Linaro toolchain (version 5.2-2015.11-2) with ARMv7 optimizations
Related
Code:
#include <std_disclaimer.h>
/*
* 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.
*/
Introduction/About
This kernel is born because of me not satisfy with stock kernel, horrible heat management, some things doesn't works like firewall, vpn is buggy etc... But not meant to be stable as the stock kernel, just to hack things up
Should boot with all roms based on android 4.1.2, be it stock rom, stock based custom rom, lewa, baidu, aosp, cm10 etc as long as its 4.1.2 based roms.
Click to expand...
Click to collapse
Features:
Based on dhacker29's nokia x kernel, branch jellybean. He already patched it from original 3.4.0 to upstream 3.4.86 and many other fix/patch.
Things that i've added:
Further patched to upstream. Currently on 3.4.106.
Applied fix to compile with linaro toolchain, and i've compiled with custom linaro 4.9.3 2014.11 for generic arm processor by christopher83.
Modified cpu table, added more cpu frequencies; 122mhz, 700mhz, 806mhz and 902mhz.
Modified ion reserve value in boardconfig for higher userspace ram, now got 410mb same as stock 1.1.2.2 kernel.
Compiled with arm cortex-a5, neon, graphite and link time optimization flags.
Compiled with cpu supported unalign acccess. Supposedly to be faster than software based unalign access.
All cpu frequencies undervolted 50mv.
Disabled mpdecision service by default. mpdecision is qualcomm's userspace proprietary cpu hotplug control. Its closed source so no easy way to tweak it as u like or prefer, what u see is what u get.
Added Hotplug cpu governor for replacing the disabled mpdecision.
Added exFAT (Extended File Allocation Table) driver. exFAT is a Microsoft file system optimized for flash drives.
Added F2FS (Flash-Friendly File System) driver. F2FS is a flash file system initially developed by Samsung Electronics for the Linux operating system kernel.
Added and made fiops as default booting disk io scheduler. Use Trickster MOD to change it and change its parameter yourself.
Using slub memory allocator.
Optimized AES and SHA1 routines for ARM cpu architecture.
Optimized ARM RWSEM (read/write semaphore) algorithm.
Added Force Fastcharge. This feature allows force AC charging for any charger that is detected as USB (eg. PC USB ports, USB Car Chargers) and pull the full current the charger can support, in such a way as to speed up the time required for a complete battery recharge. By enabling this feature, the USB/ADB data transfers will be disabled (security limitation to protect your data). Default is disabled. Use Trickster MOD to enable/disable it.
Added Dynamic FSync. This feature has been developed by Faux123 and allows to dynamically manage the synchronous writes performed on file system (FSync). It uses asynchronous writes when the screen is on, instead of synchronous writes, to have better performance and a slightly lower battery drain, while when the screen is off the synchronous writes are re-enabled to flush all the outstanding writes and prevent possible data loss. Default is enabled. Use Trickster MOD to enable/disable it.
Added Dynamic dirty page writebacks. This feature has been developed by christopher83 and allows to dynamically manage the dirty page writebacks with two different intervals, one when the screen is on and another when the screen is off. It is based on a commit of Francisco Franco, but instead of using hard coded values and of disabling at all the dirty page writebacks while the screen is on (possibility of data loss), I preferred to use a customizable higher dirty page writebacks interval (15 seconds) than the default one (5 seconds) while the screen is on and a customizable default interval (5 seconds) when the screen is off. By using a higher interval we have better performance and less battery consumption, with a very low risk of data loss. Default is enabled.
Added more gpu steps and overclock it. Looking in specsheet, our Adreno203 support upto 400mhz but for cautious reason i've only compiled with max 350mhz. Use Trickster MOD to lower/raise it.
Enabled all tcp congestion control and changed default to westwood. Use Trickster MOD to change it yourself.
Zram and zsmalloc backported from kernel 3.10.
Using google snappy compression for zram.
Updated lowmemorykiller driver taken from Sony Xperia Z kernel.
Sysfs interface to control android logger, ie logcat and dmesg. Default is disable, to enable just do
Code:
echo "1" >> /sys/kernel/logger_mode/logger_mode
Using AnyKernel 2.0 based installer/flasher. Original AnyKernel is developed by Koushik Dutta aka Koush. Its a template for update.zip that can apply any kernel to any ROM, regardless of ramdisk. Basically what it does is to extract kernel directly from device, unpack it, repack ramdisk with supplied kernel in the installer and flash in onto device. AnyKernel 2.0 pushes the format even further by allowing kernel developers to modify the underlying ramdisk for kernel feature support easily using a number of included command methods along with properties and variables to customize the installation experience to their kernel. AnyKernel 2.0 is developed by osm0sis.
Added init.d support.
Probably many, many other things i forgot...
Click to expand...
Click to collapse
Changelog:
Code:
20150203
- Updated to upstream linux 3.4.106.
Code:
20150121
- Modified cpu table, added more cpu frequencies; 122mhz, 700mhz, 806mhz and 902mhz.
- Changed default minimum cpu frequency on boot to 122mhz.
- Changed default gpu frequency on boot to 320.
- Disable multicore power savings by default.
- Added sysfs interface to control android logger.
Code:
20150111
- Added and compiled using graphite optimization flag.
- Modified hardcoded value for all cpu frequencies, undervolted 50mv.
- Added motorola memutils for memcopy and memmove.
- Enabled arch random.
- Added and enabled lz4 compression support.
- Added and enabled google snappy compression support.
- Using google snappy as zram compressor.
- Some zram enhancement/fix.
- Some enhancement/fix for ksm.
- Enabled ksm.
- Some enhancement/fix for oom.
- Some enhancement/fix for net tcp.
- Changed tcp congestion control to westwood.
- Added freezable blocker call for some process.
- Disabled useless tuner.
- Disabled tracing.
- Disabled cleancache.
- Disabled zcache.
Code:
20141212
- Revert dynamic memory allocation of ION heap through CMA (Contiguous Memory Allocator) and using back old reserve value method.
- Changed ram reserved value for kgsl and audio. Hopefully no more out of memory kgsl error in logcat.
- Added F2FS driver.
Code:
20141210
- Using dynamic memory allocation of ION heap through CMA (Contiguous Memory Allocator) for more free ram. Now got 420mb free ram.
- Raised ram reserved value for MSM_PMEM_MDP_SIZE. Hopefully no more out of memory kgsl error in logcat.
- Disabled KSM as it might cause problem with CMA.
- Added Hotplug cpu governor and made it as default booting cpu governor.
- Removed msm_mpdecision.
- Added exFAT driver.
Code:
20141209
- Updated to upstream linux 3.4.105.
- Updated crosscompile toolchain to custom linaro 4.9.3 2014.11 for generic arm processor.
- Changed some memory values.
Code:
20141029
- Updated to upstream linux 3.4.104.
- Updated crosscompile toolchain to custom linaro 4.9.2 2014.10 for generic arm processor.
Code:
20140731
- Updated to upstream linux 3.4.100.
- Updated crosscompile toolchain to custom linaro 4.9.1 2014.07 for generic arm processor.
- Some changes in memory management.
Code:
20140716
- Updated to upstream linux 3.4.98.
Code:
20140701
- Updated to upstream linux 3.4.95.
- Removed uksm and use default ksm instead.
Code:
20140617
- Updated to upstream linux 3.4.93.
- Updated crosscompile toolchain to custom linaro 4.9.1 2014.06 for generic arm processor.
- Updated cleancache driver.
- Added 350mhz max gpu overclock.
- Made 300mhz as default booting gpu frequency.
- Removed Dynamic timer slack controller, it doesn't work properly.
Code:
20140609
- Updated to upstream linux 3.4.92.
- Added link time optimization flags.
- Modified cpu frequency table to define static hardcoded voltage values.
- Added true cd emulation capability.
- Increased zram disk size to 125mb.
Code:
20140531
- Modified ion reserve in boardconfig to give more ram to userspace.
- Backported zram from kernel 3.10.
- Backported zsmalloc from kernel 3.10.
- Disabled deprecated qcache and enabled newer zcache.
- Added uksm 0.1.2.2.
- Updated lowmemorykiller driver taken from Sony Xperia Z kernel.
- Updated crosscompile toolchain to custom linaro 4.9.1 2014.05 for generic arm processor.
- Added more compile flags.
- Updated anykernel 2 installer to fix flashing on twrp and twrp based recoveries.
- Added script to enable 75mb of zram and making uksm dynamic based on screen on/off.
Code:
20140521
- Updated to upstream linux 3.4.91.
- Disabled some useless modules and making some other as built-in.
- Featuring AnyKernel 2.0 based installer/flasher. Now kernel can be flashed onto any 4.1.2 based roms.
- Updated wifi binary modules taken from latest dhacker29's cm10.
Code:
20140517
- Temporary fixed for wifi by force allow loading of precompiled wifi modules taken from dhacker29's cm10 rom.
- Gave a name to the kernel.
- Updated to upstream linux 3.4.90
- Added more gpu steps and overclocked it.
- Added Force Fastcharge.
- Added Dynamic FSync.
- Added Dynamic dirty page writebacks.
- Added more neon optimizations.
- Added fiops disk io scheduler.
- Enabled all tcp congestion control and changed default from cubic to veno.
- Added Dynamic timer slack controller.
- Optimized AES and SHA1 routines for ARM cpu architecture.
- Optimized ARM RWSEM (read/write semaphore) algorithm.
- Fixed init.d permission.
- Updated ramdisk. All stock rom init script moved to ramdisk.
- Compressed kernel with xz compression. Smaller kernel and probably faster boot time.
Code:
20140510
- First public release.
Click to expand...
Click to collapse
What Works:
Everything else not mention below in Known issue and problem section.
Do tell me if u found bugs/things doesn't work so i can list and try to fix them.
Click to expand...
Click to collapse
Known Issues & Problems:
Currently, none that i know of.
Click to expand...
Click to collapse
Todo:
Replace qualcomm's thermald, proprietary userspace thermal management with other better opensource alternative like msm_thermal or intellithermal.
Overclock cpu.
Click to expand...
Click to collapse
Download:
Click to expand...
Click to collapse
Installation Instructions:
You need to already have custom recovery installed.
Backup your whole rom first for cautious reason.
Flash the zip.
Click to expand...
Click to collapse
Source:
As kernel is GPL licensed, i'm obliged to provide source for my modification but sorry, didn't have github account. Really hated git, hard to use. So i've uploaded source as patch tarball, its to be patch onto vanilla linux kernel 3.4.0 from kernel.org.
Click to expand...
Click to collapse
Thanks To/Credits:
God
Linus Torvalds and whole linux kernel team and contributors.
Google
Nokia
dhacker29
christopher83
show-p1984
osm0sis
and many, many other kernel devs whose their source i've cherry picked here and there...
Click to expand...
Click to collapse
XDA:DevDB Information
NULL, Kernel for the Nokia X
Contributors
mdfzhi
Kernel Special Features: force fastcharge, dynamic fsync, dynamic dirty page writebacks, overclock gpu, custom cpu table and cpu frequencies, preundervolted cpu voltage
Version Information
Status: Stable
Current Stable Version: 20150203
Stable Release Date: 2015-02-03
Current Beta Version: 20140531
Beta Release Date: 2014-05-31
Created 2014-05-10
Last Updated 2015-02-03
Reserved
Reserved
so if I compile from dhacker's source then wifi won't work? duh sheet
AngSanley said:
so if I compile from dhacker's source then wifi won't work? duh sheet
Click to expand...
Click to collapse
thats not what i said. he's using the same source to built his aosp and wifi works with it.
mdfzhi said:
thats not what i said. he's using the same source to built his aosp and wifi works with it.
Click to expand...
Click to collapse
So what caused your kernel cant support wifi?
Sent from my Nokia_X using Tapatalk
AngSanley said:
So what caused your kernel cant support wifi?
Sent from my Nokia_X using Tapatalk
Click to expand...
Click to collapse
i can't build the modules needed using compat-wireless source provided by nokia, its in dhacker29's repo too. if i'm not mistaken its compat-wireless for kernel 3.2. strange why nokia didn't use higher compat-wireless from higher kernel as those can be build against our lower kernel 3.4.
i can build modules using compat-wireless for kernel 3.8, 3.9 or even 3.12 but doesn't know correct order to insmod the modules one by one.
just now installed.... Have to check the performance and battery performance.... Will report after testing......
Thnx for custom kernel.... Waiting for this...
Sent from my Nokia_X using XDA Free mobile app
i've managed to oc gpu, added force fastcharge, added dynamic fsync but wifi still doesn't work. dang ar6003 so hard to work with
mdfzhi said:
i've managed to oc gpu, added force fastcharge, added dynamic fsync but wifi still doesn't work. dang ar6003 so hard to work with
Click to expand...
Click to collapse
Waiting for overclocked , stable kernel
Thanks for your efforts, Sir.
i've updated to 20140517. wifi works!
now that wifi finally works albeit i'm using dirty hack to make it works, kernel graduated from alpha to beta. happy flashing and testing
mdfzhi said:
i've updated to 20140517. wifi works!
now that wifi finally works albeit i'm using dirty hack to make it works, kernel graduated from alpha to beta. happy flashing and testing
Click to expand...
Click to collapse
Waiting to use it in aosp rom.
Great work.
i've updated to 20140521.
featuring anykernel 2.0 flasher, now kernel can be flashed onto any android 4.1.2 based rom, be it stock rom, stock based custom rom, lewa, baidu, aosp, cm10 etc as long as its 4.1.2 based roms then it will boot. i've tested on stock, b-rom, lewa and baidu.
the anykernel 2.0 flasher got problem with twrp tho, so must use cwm to flash it.
mdfzhi said:
i've updated to 20140521.
featuring anykernel 2.0 flasher, now kernel can be flashed onto any android 4.1.2 based rom, be it stock rom, stock based custom rom, lewa, baidu, aosp, cm10 etc as long as its 4.1.2 based roms then it will boot. i've tested on stock, b-rom, lewa and baidu.
the anykernel 2.0 flasher got problem with twrp tho, so must use cwm to flash it.
Click to expand...
Click to collapse
hi bro. How do u think, if we merged my kernel project with yours?
merge how?
mdfzhi said:
i've updated to 20140521.
featuring anykernel 2.0 flasher, now kernel can be flashed onto any android 4.1.2 based rom, be it stock rom, stock based custom rom, lewa, baidu, aosp, cm10 etc as long as its 4.1.2 based roms then it will boot. i've tested on stock, b-rom, lewa and baidu.
the anykernel 2.0 flasher got problem with twrp tho, so must use cwm to flash it.
Click to expand...
Click to collapse
I'm using your kernel with Baidu48.
Can u please tell me which tool will be best for this kernel?
sumondhk1 said:
I'm using your kernel with Baidu48.
Can u please tell me which tool will be best for this kernel?
Click to expand...
Click to collapse
do read first post.
mdfzhi said:
do read first post.
Click to expand...
Click to collapse
i read the first post and already used tickster mod.
Is there any other mod i meant ?
Thanks for the kernel, its a pleasure to use updated kernel alwyes.
got many other kernel manager in googleplay but i've only tested with trickster mod. u could try others but theres no guarantee that they'll work.
Hello @mdfzhi, first off, thank you for this great kernel. I'm loving the kernel but anyway, I have a question. Inside Trickster MOD, I see that the Core #1 is offline all the time. Is this how it's supposed to be? Will it only use the second core of the CPU only under heavy load, is that correct? I tried using the Performance governor, but the second core is still not running. Perhaps it's controlled by the CPU itself, I don't know.
I'm still sad to see that I can't watch 720p smoothly even with this kernel. But anyhow, thank you for your great work. I'll be using this for a few days to make sure there's no stability issues.
Spirit Kernel
This kernel is ONLY for AOSP based ROMs. This will NOT work on the stock Moto roms.
I will update this regularly as I have time and will add new features and fixes as well.
If you have any feature requests or ideas that haven't been seen before, don't hesitate to post it here!!
PLEASE READ
How to report a bug?
Include the following in your bug report:
The ROM you are currently using + a link to the ROM's thread
A log, preferably dmesgs or kmsgs (use Google to find out how to pull these from your device)
The version of SpiritKernel you use (=rx, e.g.r3)
Bug reports not meeting these requirements will be ignored.
NO BUG REPORTS ON EXPERIMENTAL BUILDS!
Features
This Hybrid kernel contains features from great kernel devs with like faux,franco and neobuddy,optimized for titan to make it work.Initially there are less features but I will add much more soon
[*]Based on the Latest CyanogenMod sources
[*]Patched 3.4.106 kernel
[*]Governors: ondemand/userspace/powersave/performance/interactive/IntelliMM/inteliidemand/intelliactive/smartmax/pegasusQ
[*]Hotplug: MPDecision/MSM Hotplug/Intelliplug(default)
[*]Intellithermal v2
[*]DT2W/S2W/S2S Wake controls
[*]CPU Underclocking 192Mhz
[*]GPU OC 533Mhz | UC 100Mhz
[*]Add MSM Hotplug Driver
[*]Asynchronous Fsync extracted from HTC
[*]Sweep2Sleep driver
[*]Dynamic management of timer slack
[*]Slimbus OC thanks to neeobuddy89 and poondog
[*]increase Torch power 20mA
[*]Dynamic management of dirty page writebacks
[*]IO: BFQv7r7/FIFO/SIO/FIOPS/ZEN/VR IO Schedulers
[*]Faux Sound Control 3.2
[*]KCAL v2 by @savoca
[*]USB forced fast charge
[*]Stereo call recording support by skvalex
[*]Powersuspend from Faux and yank555-lu *updated to 1.8 after r8*
[*]Kernel Compression: XZ
[*]psx2usb controller
[*]Use Android device as USB keyboard/mouse
[*]optimized ARM RWSEM algorithm.
[*]Ultra Kernel Samepage Merging {UKSM}
[*]FRandom
[*]Dynamic FSync Control
[*]Added Simple GPU Algorithm
[*]WQ_POWER_EFFICIENT for bettery battery life. Hello Battery!!
[*]ANY Kernel
[*]Kexec hardboot patch for Multirom support
[*]TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD
Optimizations
[*]Compiled Using UBER 5.0.1 SaberMod 4.8 Optimized toolchain for better performance | UBER 4.9 Toolchain after r4
[*]Added optimized ARM RWSEM algorithm.
[*]Disable add_random
[*]Pocketmode and deepsleep for dt2w/s2w
[*]Optimized VFP Module
[*]FIx integer-overflow in veno,vegas
[*]Add sysinterface for GENTLE_FAIR_SLEEPERS
[*]NOATIME and NODIRATIME as default
[*]New 99LMK script by @Pizza_Dox
[*]Nvidia Patches to enhance power efficiency.
[*]Sched optimizations
[*]Increase battery level check interval
[*]writeback: increase bdi_min_ratio to 5
[*]block: cfq: merge tweaked tunables.
[*]Wait just 1 second for other CPU to halt
[*]net: combat buffer bloat
[*]PM: Introduce suspend state PM_SUSPEND_FREEZE
[*]Disable -fconserve-stack on ARM v2
[*]Enable power efficient workqueues by default
[*]do not use msm_run_queue_stats
[*]enable/disable cpu-boost via sysfs
[*]softirq: reduce latencies
[*]Built with Ofast flags
[*]Force SELinux permissive
[*]LowMemoryKiller management of non killable processes
[*]Headset High Performance Mode
[*]Allow CPU-supported unaligned accesses
[*]Enable UNALIGNED_ACCESS
[*]enable ARCH_POWER
[*]lower swappiness
[*]vfp: remove double entries
[*]Disable disable crc check for 30% extra performance in IO
[*]Optimized SLUB memory allocator
[*]Optimize Sfck Compression
[*]set sched_mc_power_savings to 2 (moar powarrrrrrr! saving)
[*]readahead to 256
[*]Built with Graphite flags
[*] Enabled Pipe Flag
TO-Do List
IntelliMM-intelliminmax
New Govs and I/Os
Intelliplug 4.0
GPU OC and UC
* Recommended app for tweaking the kernel: FauxControl,Kernel Auditor or TricksterMod
Recommended settings :
Governor: Intelliactive
I/O Scheduler: Fiops or row
TCP Congestion : Westwood
GPU Governor : Simple Ondemand Or Msm-adreno-tz
Hotplug : Intelliplug ( Keep screen off frequency to 787 MHz )
Powersuspend : Hybrid
Simple GPU Algorithm : On
How DO I flash this?
Reboot to recovery.
Install zip from SD Card.
Choose the SpiritKernel-Rx-titan.zip
Insatll and Reboot.
Changelog:
Click Me
Downloads:
Basketbuild
Source:
Github(branch:spirit)
Wiki containing changelogs,settings and more
Antutu Score: http://forum.xda-developers.com/showpost.php?p=59736983&postcount=136
Credits goes to these SUPERHUMAN for Inspiration and support (In no specific order)
faux123
Cl3Kener
slukk
luca020400
savoca
Anas Karbila
hurtsky
pinkflozd
YoshiShaPow
Flashhhh
flar2
vigneshrajagopalan
And more
XDA:DevDB Information
Spirit kernel for titan, Kernel for the Moto G 2014
Contributors
DC07
Source Code: https://github.com/DC07/spirit_msm8226
Kernel Special Features: Powersuspend,Ultra KSM,FRandom,Faux Sound,LCD KCAL,DT2W/S2W,Fastcharge and More
Version Information
Status: Stable
Current Stable Version: r13
Stable Release Date: 2015-04-21
Created 2015-03-16
Last Updated 2015-04-21
F.A.Q. - Read this before complaining!
1. My phone exploded, HALP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: Doesn't work with ROMs having different ramdisk or any derivates due to their irresponsibility of using a different ramdisk which needs patches that break stock rom users. Use a different rom and don't bother me.
3. OMG BETTARY SUCKZ, IT DEAD IN 45 MINUTAS, HALP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. How do I flash this?
A: Reading the OP, theres a reason why I added instructions on it.
5. What is a data loss? Did I just had one?
A: Data loss is simply having the connection cut for X periods of time, usually few seconds. Grey bars means the device is not connected to Google services for some weird reason, but you'll still have internet connection.
6. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.
Settings recommended by our users
metalrules321 said:
Heres what I use and it gives me exceptionally good battery life and perfomance (may differ for others) /using faux-clock app
1.CPU Hotplug
-Intelliplug (I use fauxclock, so cant find the msm hotplug)
-Touch boost on
-Screen off frequency 787 mhz
-Hysterisis value : 8
-Profile : Ecoconservative
-Threshold value 350
2.Thermal Manager
-Intellithermal
-Frequency Throttle temp; 70
-Core throttle temp: 65
3.GPU manager
-Governor: msm-adreno-tz
-simple gpu algorithm
-gpu clock:320
-Simple governor (laziness); 5
-Ramp Threshold: 5
4. IO scheduler
-ROW (for both emmc and sd)
-Read ahead :1024
-Entropy: off
5.Memory Manager
-Zram: Off
-All the other options on
- Swappines:80
-VFS cache pressure : 120
-Dirty ratio:20
-background ratio:5
6.Same page merge
-Intelli ksm enable
-Activation treshold :24
-Cycles per activation 3
-Pages to scan:400
-Scan delay interval :500
7.Battery Control
-Throttling - On
-Temperature threshold :45
-Throttle frequency:787
8.Miscellaneous
- Powe suspend mode: Userspace
-powesuspend: On
-Dynamic file sync: on
-TCP congestion control:Westwood
*Sorry for an awfully long post *:silly:
Click to expand...
Click to collapse
@DC07 wrong kernel tree xd
https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.0
luca020400 said:
@DC07 wrong kernel tree xd
https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.0
Click to expand...
Click to collapse
The kernel just works fine with the trees I'm using ATM.
DC07 said:
The kernel just works fine with the trees I'm using ATM.
Click to expand...
Click to collapse
But not in new trees
Now our cm12 uses this kernel and if you flash this one you will broke media ( cannot play/record videos )
Yeah... Thankssss
luca020400 said:
But not in new trees
Now our cm12 uses this kernel and if you flash this one you will broke media ( cannot play/record videos )
Click to expand...
Click to collapse
Oh,I'll rebase it in the next build then.
Thanks for pointing it.
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
DC07 said:
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
Click to expand...
Click to collapse
YEa I'm sure
When I tested lp kernel on kk media was broken
And new lp kernel is a way better
Eager to use it on latest Builds and requesting to add kexec support if possible
Sent from my XT1033{LP} using TAPATALK
DC07 said:
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
Click to expand...
Click to collapse
For me, sometimes it works, but then other times won't.
In blisspop video works for a day...then well i moved to stock 4.4.4 for some testing and optimisation on it btw i'm on xt1068
Hello Guys,
After working off to a new base fixed everything in the new build.
Get it https://s.basketbuild.com/devs/DC07/Spirit/titan
Steps and feature list are on the OP.
Enjoy!!
Help
Hello im a new moto g user and i flashed the latest cm12 nightly. I really want to flash this kernel but im afraid that it wil screw up my phone. I flashed franco and it screw me up. Should i do it? I have backup stockrom
MotoGUser69 said:
Hello im a new moto g user and i flashed the latest cm12 nightly. I really want to flash this kernel but im afraid that it wil screw up my phone. I flashed franco and it screw me up. Should i do it? I have backup stockrom
Click to expand...
Click to collapse
Normal moto g or second generation?
And there isnt even franco kernel for this device lol so ofc you screw up.
If you indeed own a moto g 2nd gen (titan) and your are running latest cm12 nightly it is safe to flash this kernel.
Anas Karbila said:
Normal moto g or second generation?
And there isnt even franco kernel for this device lol so ofc you screw up.
If you indeed own a moto g 2nd gen (titan) and your are running latest cm12 nightly it is safe to flash this kernel.
Click to expand...
Click to collapse
Second gen
What
Sent from my Moto G 2014 using XDA Free mobile app
I did not think the new governors nor Min Freq: 96000
Is there anyway to disable the cpu being clocked at 19000 whenever I touch the screen? It's a feature of CM12, however is there anyway to disable this? I tried putting off mpDecision through Faux123 but it still goes to 19000 even with intelliplug and the user defined option. Any help appreciated!
Thanks,
iG0tB00ts
MotoGUser69 said:
Second gen
Click to expand...
Click to collapse
How the hell you have a Moto G 2nd Gen and flashed Franco Kernel? Franco Kernel is for 1st Gen. lol man you need new eyes, even glasses don't help in this case.
Sent from my Moto G 2014 using XDA Free mobile app
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
/*
* 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
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