[KERNEL][NOKIAX][3.4.106] NULL for all 4.1.2 based roms [20150203] - Nokia X

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.

Related

[KERNEL] [INT'L][TW/GE/AOSP - 5.1/5.0/4.4][18/05/2015] Alucard-Kernel-SGS4 - Stweaks

{
"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"
}
Alucard SGSIV Kernel's for GT-I9505
...works with TW KK, Google Edition KK and AOSP ROM's...​
[Introduction]:
These kernel's are built from CyanogenMod KK branch and Samsung KK sourcecode!
CPU UV is supported by STweaks integrated app. CPU OC is not supported.
The kernel can be used with the old and new bootloader and should fix random reboots on Google Edition ROM.
>>>>>>>>>> CM12.1 <<<<<<<<<<
Kernel-Alucard-V1.3ba For 5.1/5.1.1 NEW-CM12.1 version (CM12.1 2015/05/13 AND LATER ONLY)
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.3b For 5.1/5.1.1 AOSP version (CM12.1 before 2015/05/13 or OPTIMIZED CM12.1)
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.3a For 5.1/5.1.1 AOSP version
Kernel-Alucard-V1.X (AFH Mirror)
>>>>>>>>>> CM12.0 <<<<<<<<<<
Kernel-Alucard-V1.1a For 5.0 AOSP version
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.0e For 5.0 AOSP version
Kernel-Alucard-V1.0e-[16-47]-[06-12]-AOSPV2-EUR-LP5.0-SGIV-PWR-CORE.zip (MEGA Mirror)
>>>>>>>>>> AOSP V2 (for AOSP ROMs after 06 August 2014, included CM11 M10) <<<<<<<<<<
Kernel-Alucard-V1.4r For 4.4 AOSP V2 version
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.4qs For 4.4 AOSP V2 version
Kernel-Alucard-V1.4qs-[23-08]-[01-12]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
Kernel-Alucard-V1.4q For 4.4 AOSP V2 version
Kernel-Alucard-V1.4q-[20-56]-[19-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
Kernel-Alucard-V1.4pb For 4.4 AOSP V2 version
Kernel-Alucard-V1.4pb-[20-18]-[11-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V1.4pb-[20-18]-[11-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 403d0069fc2041605cedad0422b29cb0
Kernel-Alucard-V1.4ocm For 4.4 AOSP V2 version
Kernel-Alucard-V1.4ocm-[00-22]-[09-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V1.4ocm-[00-22]-[09-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 95bbb95dfc6b07b24dece5183c1c483f
>>>>>>>>>> GE <<<<<<<<<<
Kernel-Alucard-V1.1a For 5.0 LolliPop
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V2.4d For 4.4 Google Edition
Kernel-Alucard-V2.4d-[21-05]-[11-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.4d-[21-05]-[11-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 40433965298c861fd45ee413a06caae2
Kernel-Alucard-V2.4a For 4.4 Google Edition [BETA]
Kernel-Alucard-V2.4a-[00-01]-[03-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.4a-[00-01]-[03-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (Mediafire Mirror)
MD5 Sum: 1cde545ee25fd5c2bf4008cf6cefd353
>>>>>>>>>> TW <<<<<<<<<<
Kernel-Alucard-V2.3ga For 4.4 TW version
Kernel-Alucard-V2.3ga-[20-41]-[11-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.3ga-[20-41]-[11-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 226b2924cd5be721a8b859a3d74c3863
Kernel-Alucard-V2.3g For 4.4 TW version
Kernel-Alucard-V2.3g-[00-32]-[09-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.3g-[00-32]-[09-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: beb2c9adba5377f997fb818f636b73a8
>>>>>>>>>> AOSP V1 (for AOSP ROMs up to 06 August 2014, included CM11 M9) <<<<<<<<<<
Kernel-Alucard-V2.7.2a For 4.4 AOSP version (Obsolete)
Kernel-Alucard-V2.7.2a-[23-02]-[03-09]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.7.2a-[23-02]-[03-09]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Mediafire Mirror)
MD5 Sum: bbbee2a886f0e7ffd35efe2541411325
Kernel-Alucard-V2.7.1 For 4.4 AOSP version (Obsolete)
Kernel-Alucard-V2.7.1-[14-57]-[19-08]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.7.1-[14-57]-[19-08]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Mediafire Mirror)
MD5 Sum: 830d9533221fc335b2df5698bd8e8eac
>>>>>>>>>> <<<<<<<<<<
Antutu Benchmark (Default Profile):
Quadrant benchmark (Default Profile):
If you like my work, donate with this link:
http://forum.xda-developers.com/donatetome.php?u=4899086
Thread for sharing personal profiles: (Thanks to Jimsilver73, Kantjer, FlanjeUK ......)
http://forum.xda-developers.com/showthread.php?t=2724905
OFFICIAL ALU TEAM TESTERS: smeroni68, Jimsilver73, franzyroy, ronnie498
XDA:DevDB Information
Alucard SGSIV Kernel for GT-I9505, Kernel for the Samsung Galaxy S 4
Contributors
alucard_24, smeroni68, Jimsilver73, franzyroy, ronnie498, AntaresOne
Kernel Special Features:
Version Information
Status: Testing
Current Beta Version: AOSPV2 v1.4pb
Beta Release Date: 2014-11-11
Created 2014-10-06
Last Updated 2014-11-21
Reserved
(CM12.1 ROM LOLLIPOP VERSION):
Code:
Based on my-aospv2-5.1 kernel
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-aospv2-5.1[/url]
Linux version: 3.4.0
v6.1 - 18/05/2015 (Kernel-Alucard-V1.3ba)
cpu governors and hotplug governors updates!
Selinux updates! Thanks to @dorimanx.
General performance improvements!
PS. It works only for CM12.1 roms 2015/05/13 or later!
v6 - 18/05/2015 (Kernel-Alucard-V1.3b)
cpu governors and hotplug governors updates!
Selinux updates! Thanks to @dorimanx.
General performance improvements!
PS. It works only for CM12.1 roms before 2015/05/13 or OPTIMIZED CM12.1!
v5 - 09/05/2015 (Kernel-Alucard-V1.3a)
Upgraded to linux v.3.4.107
A tons of changes regarding FS, NET, CPUFREQ, MM, USB, MACH-MSM, CPU GOVERNORS, HOTPLUG GOVERNORS, ALUCARD TOUCHBOOST, PROFILES, SCRIPTS etc.....
New STweaks version made by @-+BB+- . He works in my/our group
If someone has battery drain problems caused by Google Play Service bug, he should make active an option on STweaks, "OTHER" tab, called googleplayservicefix.....
(Thanks to @dorimanx)
PS. Kernel works on Unofficial and Official CM12.1 :)
(CM12.0 ROM LOLLIPOP VERSION):
Code:
Based on my-aospv2-4.4 kernel
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-aospv2-5.0[/url]
Linux version: 3.4.0
v5 - 15/02/2015 (Kernel-Alucard-V1.1a)
Upgraded to linux v.3.4.106
A tons of changes regarding FS, NET, CPUFREQ, MM etc..... (Thanks to @dorimanx)
BT updated(CM kernel)
PS. Kernel works on Unofficial and Official CM12 :)
v4 - 09/12/2014 (Kernel-Alucard-V1.0f)
alucard, nightmare, darkness governors optimization.
PS. Next AntaresOne release should include this kernel.
I have created new account on AFH, so all last and newer kernels will be uploaded there :)
v3 - 06/12/2014 (Kernel-Alucard-V1.0e)
Upgraded kernel to linux 3.4.105.
Optimized alucard_hotplug.
Improved battery consuming. More than 50% less in deepsleep.
Disabled manually phone wakup by pressing touchkey(BACK, MENU) also when phone is charging!!! So no stress for me anymore :)
v2 - 01/12/2014 (Kernel-Alucard-V1.0d)
optimized alucard hotplug governor.
updated ramdisk to latest @antaresone build.
general optimizations.
PS. Menu and Back touch keys that wake up phone is no related to my kernel. It is a lollipop functionality for Nexus, anyway @AntaresOne will remove it with new build.
v1 - 21/11/2014 (Kernel-Alucard-V1.0b) [BETA]
All last AOSPV2 changes.
Fixed radio part. Big Thanks to @AntaresOne.
PS. I am really glad to have a new contributor working with us. His name is @AntaresOne.
(GE ROM LOLLIPOP VERSION):
Code:
Based on official AOSPV2 5.0 kernel:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-ge-5.0[/url]
Linux version: 3.4.0
v1 - 17/12/2014 (Kernel-Alucard-V1.1a)
It contains all changes of my CM12 kernel.
Sensors fixed.
(GE ROM KITKAT VERSION):
Code:
Based on official samsung kernel version NB8:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-tw-4.4[/url]
Linux version: 3.4.0
v14 - 11/11/2014 (Kernel-Alucard-V2.4d)
Fixed a bug regarding FS SYNC by @Dorimanx. Big Thanks to him
Imported QUICK_WAKEUP module. It give us battery saving during suspend phase and faster wakeup.
Huge updates regarding FS. Big thanks to @dorimanx.
Slimbus overclock to enhance audio quality......
Performance improved.
v13 - 02/11/2014 (Kernel-Alucard-V2.4a)
Look at AOSPV2 Kernel changelog (ver. 1.4oc)
v12 - 05/09/2014 (Kernel-Alucard-V2.2a)
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
General performace optimizations.
Imported bluetooth drivers from CAF.
It is absolutely recommended to delete /data/.alucard folder before flashing.
v11 - 19/08/2014 (Kernel-Alucard-V2.0)
look at AOSP V2 Changelog :)
v10 - 13/08/2014 (Kernel-Alucard-V1.9c)
Same changes of AOSP Kernel ver 2.7.0b.
Fixed IR. There was a file permission wrong in Ramdisk. Now it works well.
Compiled with new Linaro 4.9 2014-08 compiled by [user=2376110]@dorimanx[/user] with optimization flags. It works very well.
Thanks to @HATrED_ for testing :)
v9 - 10/07/2014 (Kernel-Alucard-V1.8)
Same changes of AOSP Kernel ver 2.6.9.
Upgraded to Linux v.3.4.98
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Tune Kernel Flags after checking with GccOptimizationTests. It seems to provide 4~7% boost in cpu performance. Thanks to [user=2376110]@dorimanx[/user]
Enabled config_cma.
Implement optimized percpu variable access.
Optimized mm.
General performance increment.
Compiled with latest Sabermod 4.9.1(compiled by [user=3306843]@kantjer[/user]). Thanks to him.
PS. Delete folder /data/.alucard before flashing new kernel.
v8 - 14/06/2014 (Kernel-Alucard-V1.7f)
Upgraded to Linux v.3.4.93
Optimized cpu governors (alucard, nightmare, darkness, ondemand, interactive)
Optimized hotplug governors (Alucard_hotplug, intelliplug, MSM_Hotplug)
Optimized cpuboost
Made faux sound control configurable by stweaks. (NEW for GE & TW Kernel)
Enhanced AC/USB Fastcharger and made it configurable by stweaks. Thanks to [user=4325945]@ktoonsez[/user] (NEW for TW Kernel)
Imported LED control and made it configurable by stweaks. Thanks to [user=1546289]@googy[/user]anas. (NEW for AOSP & TW Kernel)
Removed cpu hotplugging (SLEEP) tab on stweaks. It was not so useful.
Removed cpu tuning(SLEEP) tab on stweaks. It was not so useful.
IR should be fixed on GE Kernel for GE 4.4.3 Roms.
Charging animation when phone is turned off works on TW, GE, AOSP Kernel.
GE, TW, AOSP kernels are aligned among them. They contain the same features :)
Imported many commits for SMP, MM, timers etc parts.
Many changes have been done on settings so delete /data/.alucard before flashing the new kernel.
.............................
(TW ROM KITKAT VERSION):
Code:
Based on last TW KK official kernel:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-tw-4.4[/url]
Linux version: 3.4.0
v15 - 11/11/2014 (Kernel-Alucard-V2.3ga)
Enabled USB_SAMSUNG_ANDROID_SIDESYNC trying to help some unlucky users for MTP not working. My testers reported that MTP works well. So you all have some problem again, try to fix PC drivers.
Fixed a bug regarding FS SYNC by @Dorimanx. Big Thanks to him
Imported QUICK_WAKEUP module. It give us battery saving during suspend phase and faster wakeup.
Huge updates regarding FS. Big thanks to @dorimanx.
Slimbus overclock to enhance audio quality......
Performance improved.
v14 - 09/11/2014 (Kernel-Alucard-V2.3g For 4.4 TW version)
Fixed permission for int/ext sdcard. Now it works properly.
Huge FileSystem Updates. BIG Thanks to @dorimanx
PM and Suspend updates. BIG Thanks to @dorimanx
Performance improvements.
v13 - 02/11/2014 (Kernel-Alucard-V2.3f For 4.4 TW version)
Look at AOSPV2 Kernel changelog (ver. 1.4oc)
v12 - 23/10/2104 (Kernel-Alucard-V2.3a For 4.4 TW version [BETA])
Kernel based on my AOSPV2 Kernel.
All of last AOSPV2 kernel change.
Updated SCHED.
Optimized all cpu governors.
Optimized alucard hotplug governor.
Optimized all stweaks profiles.
Improved general performance.
v11 - 04/09/2014 (Kernel-Alucard-V2.1a
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
General performace optimizations.
It is absolutely recommended to delete /data/.alucard folder before flashing.
v10 - 19/08/2014 (Kernel-Alucard-V1.9)
Look at AOSP V2 Changelog.
v9 - 13/08/2014 (Kernel-Alucard-V1.8a)
Same changes of AOSP Kernel ver 2.7.0b.
Compiled with new Linaro 4.9 2014-08 compiled by [user=2376110]@dorimanx[/user] with optimization flags. It works very well.
v8 - 10/07/2014 (Kernel-Alucard-V1.7)
Same changes of AOSP Kernel ver 2.6.9.
Upgraded to Linux v.3.4.98
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Tune Kernel Flags after checking with GccOptimizationTests. It seems to provide 4~7% boost in cpu performance. Thanks to [user=2376110]@dorimanx[/user]
Enabled config_cma.
Implement optimized percpu variable access.
Optimized mm.
General performance increment.
Compiled with latest Sabermod 4.9.1(compiled by [user=3306843]@kantjer[/user]). Thanks to him.
PS. Delete folder /data/.alucard before flashing new kernel.
..............
(AOSP VER. 2 ROM KITKAT VERSION):
Code:
Based on last AOSP official kernel:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-aospv2-4.4[/url]
Linux version: 3.4.0
v12 - 09/12/2014 (Kernel-Alucard-V1.4r)
Look at AOSPV5 changelogs :)
v11 - 01/12/2014 (Kernel-Alucard-V1.4qs)
optimized alucard hotplug governor.
general optimizations.
v10 - 19/11/2014 (Kernel-Alucard-V1.4q)
Upgraded workqueue to 3.9Y
Alucard cpu governor optimization.
Cpufreq updates.
Restored some changes for LMK and MM OOM.
Removed I/O scheduler configurable deepsleep mode. It was useless.
General performance increased.
v9 - 11/11/2014 (Kernel-Alucard-V1.4pb)
Fixed a bug regarding FS SYNC by @Dorimanx. Big Thanks to him
Imported QUICK_WAKEUP module. It give us battery saving during suspend phase and faster wakeup.
Huge updates regarding FS. Big thanks to @dorimanx.
Slimbus overclock to enhance audio quality......
Performance improved.
v8 - 09/11/2014 (Kernel-Alucard-V1.4ocm)
Huge FileSystem Updates. BIG Thanks to @dorimanx
PM and Suspend updates. BIG Thanks to @dorimanx
Performance improvements.
v7 - 02/11/2014 (Kernel-Alucard-V1.4oc)
Huge updates regarding "alarm". We have replaced rtc alarm system with a new one. it gives more battery saving during suspend. Thanks to @neobuddy89
BFQ I/O scheduler updated.
Alucard cpu governor tuned. We have two new parameter configurable on stweaks. CPUS_UP_RATE, CPUS_DOWN_RATE.
Alucard hotplug governor enhanced.
Updated SCHED, OOM.
Reverts some changes for LMK. Thanks to @dorimanx
Disabled CMA MEMORY RESERVED. It is useless. Now we have 16MB ram free. Thanks to @dorimanx
Some minor bugfixing.
Improved battery saving on suspend.
General performace improvements.
PS. Thanks to my official testers :)
v6 - 19/10/2014 (Kernel-Alucard-V1.4m)
Fixed msm_thermal control.
General bug fixing on some module.
Imported new wifi drivers from cm kernel but they don't solve wifi bug.
Patched BT drivers. Now BT works like a charm.
Optimized alucard, darkness, nightmare, ondemand cpu governors.
Updated msm_hotplug, alucard_hotplug.
Implemented new module(ALU-T-BOOST) for touch boosting. it is based on cpuboost and it can boost a parametrizable nr of cpus during touching.
Optimized alucard_hotplug and alucard cpu gov sampling time.
Updated Ramdisk scripts. Thanks very much to [user=2376110]@dorimanx[/user].
Fixed a bug on LMK module. Thanks very much to [user=2376110]@dorimanx[/user].
General performance increased!
Added synapse apk into zip flash kernel package. Implemented some status functionalities....... maybe it will replace stweaks in the future...
Thanks to @AndreiLux, [user=2376110]@dorimanx[/user], [user=3795148]@neobuddy89[/user]
PS. we a new official tester. His name is Jimsilver73.
Huge thanks to my official testers(@smeroni68, @jimsilver73) for very good job in testing kernel.
v5 - 04/10/2014 (Kernel-Alucard-V1.4h)
*Merged CPUFREQ fixes that improve performance.
*Merged updates for CPUFREQ and SCHED CORE code.
*Merged HUGE update to Power Manager and QOS Code.
*Replaced old Early Suspend with Power suspend. I am the first one to import this feature for S4. Thanks to [user=3795148]@neobuddy89[/user] and [user=2376110]@dorimanx[/user] for their code.
*Removed DYNAMIC FSYNC. It could cause kernel panic if used with ASYNC FSYNC.
I/O. Performance are reduced but stability is improved :)
*Merged HUGE update to CPUIDLE code.
*Merged HUGE update to Kernel IRQ distribution Domain.
*Merged HUGE update to FileSystem code and Kernel System code.
*Merged NET code update.
*Tuned MSM and Intelli HotPlugs.
*Fixed stuck SuperSU service on boot.
*Added new control to STweaks, that allow to use faster kernel workqueue or more power saver.
*Updated with 3.4.104 main line patches.
*Updated MSM RQ STATS code to better support Default HotPlug
*Merged HUGE update to CPUIDLE code that responsible for CPU sleep and power up on need from IDLE to full power and fast back to idle. Code is very complicated and many bugs are fixed with this huge port from 3.10.y tree.
*Merged HUGE update to Power Mode Domains, this code responsible for powering down drivers on deepsleep and waking them on wakeup.
Many bugs are fixed and many new things added that make this code a lot faster and safe.
*Merged updates to persistent RAM driver.
*Merged code updates to SCHED CORE.
*Merged performance boost code for Cortex A15 CPU that we have!
*Merged serious update from TEGRA 3.10.y kernel for CPUIDLE relaxation. This code will help to save power when CPU is not loaded, so kernel will idle much better and not looping useless CPU cycles. when there is nothing to do.
*Merged SMP and Unalligned patches to speed up the code process.
*Merged CGROUP protection patch.
*Merged updates to Qseecom driver.
*Merged updates to MMC driver. We have new MMC code now.
*Merged latest Seccomp driver.
*Merged updates to android binder.
* Performace improved a lot!
Thanks to [user=2376110]@dorimanx[/user] for part of his changelog. :)
v4 - 20/09/2014 (Kernel-Alucard-V1.4e) [BETA]
Optimized suspend code. (I hope that it fix reboot problem for other users. All works well for me :)
Optimized msm_hotplug.
Optimized msm_rq_stats, needed for msm_mpdecision working.
Optimized blueetooth drivers. Now it doesn't consume battery when phone is in sleep mode and bluetooth is enabled. I tested also exchanging files via bluetooth and all worked well.
Reduced thermal limit temperature to 70°C. So it is sure that phone doesn't reboot while antutu testing....
Some general fixes.
General performance improvements.
It is recommended to delete /data/.alucard folder before flashing new kernel.
PS. Remember this kernel is only for New CM ROM type.
v3 - 11/09/2014 (Kernel-Alucard-V1.4b)
Reverted WORKQUEUE 3.8y updates. They could cause some reboots for someone.
Updated F2FS drivers.
Completely merged with NEW CM KERNEL.
Compiled with Christopher GCC 4.9.2. Thanks to him.
Now we have a new official TESTER for AOSPV2 kernel. His name is @smeroni68. Thanks to him.
Thanks also to @davtse for kernel testing.
v2.2 - 01/09/2014 (Kernel-Alucard-V1.3d)
Added gamma control.
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
General performace optimizations.
It is absolutely recommended to delete /data/.alucard folder before flashing.
PS. Please don't ask porting all of these changes for other roms. I have worked for so many days and I need to have long period of relaxing :)
For all users that continually ask for new changes..... I develop for fun and try port what I think it is necessary.......
Sometime I try to make also happy some users accepting to implement good changes, but It's me that decide to do this.
v1 - 19/08/2014 (Kernel-Alucard-V1.0c)
Added intelliactive cpu governor.
Added slim cpu governor.
Optimized msm_rq_stats for MPDecision.
Added loki_doki binaries(Only for AOSP and AOSP V2). Kernel can be flashed on other S4 devices different from I9505.
Upgraded bluetooth drivers. Let me know if music stutter again or if change something.....
Added io_is_busy parameters for all cpu governors. It can be configured by STweaks.
Added io_is_busy called hp_io_is_busy for all hotplug governors. It can be configured by STweaks.
Added hotplug_suspend parameters for all hotplug governors. It allow to hotplug governor not to suspend.
Hotplug governor can't be suspended when screen is off by default. Change it if you want.... instead, by STweaks.
Updated cpuboost.
Updated intelli_plug, msm_hotplug.
General performance increased.
Updated Ramdisk. Thanks to [user=2376110]@dorimanx[/user]
Compiled by Linaro 4.9.2 toolchain (by Dorimanx)
For AOSPV2 Kernel (it works with new CM. No RR :) )
..............
(AOSP ROM KITKAT VERSION):
Code:
Based on CM 11.0 official version:
[url]https://github.com/CyanogenMod/android_kernel_samsung_jf/tree/cm-11.0[/url]
Linux version: 3.4.0
v35 - 03/09/2014
Added gamma control.
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
Added support for MIUI v5 KK.
General performace optimizations.
It is absolutely recommended to delete /data/.alucard folder before flashing.
v34 - 19/08/2014 (Kernel-Alucard-V2.7.1)
Look at AOSP V2 changelog.
v33 - 14/08/2014 (Kernel-Alucard-V2.7.0d)
Upgraded to Linux v.3.4.103
Optimized interactive governor. Thanks to [user=3795148]@neobuddy89[/user].
Fixed MSM MPDecision hotplug. Now all cores work well when system is resumed from suspended state.
Fixed Default MSM Thermal that should work for all hotplug governors and cpu governors.
Compiled with new Linaro 4.9 2014-08 compiled by [user=2376110]@dorimanx[/user] with optimization flags. It works very well.
v32.1 - 10/08/2014 (Kernel-Alucard-V2.7.0b)
Reverted new MSM GPU drivers imported from official CM Kernel. They caused phone rebooting for someone.
Upgraded to Linux v.3.4.102
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Optimized alucard governor.
Optimized interactive governor.
Optimzed Intelliplug, alucard_hotplug, MSM_hotplug hotplug governor.
BIG Patch regarding sched, rcu. Overall smothness is improved. Thanks to [user=3795148]@neobuddy89[/user], [user=2376110]@dorimanx[/user].
Updated CMA, ARM, MM, Random, CPUFREQ, cpuboost, kernel time etc parts. (about 500 commits including sched patch)
Optimized F2FS part. I took last changes from CM kernel.
Implemented new api function to easy configure scaling_min_freq, scaling_max_freq, scaling_governor for each cpu. Now we can set different governor, min/max frequency for each cores using Stweaks.
Imported script updates from Kantjer Ramdisk branch. Thanks to [user=3306843]@kantjer[/user]. (OFF TOPIC: I find out that you are swedish.... I worked in Gothenburg last year for six Months. I like sweden :))
General performance increment.
Many changes on Profiles so It is absolutely recommended to delete /data/.alucard folder before flashing new kernel.
PS. Kernel is not compatible with new CM Nightly rom because I need to patch kernel again. I don't know if I have to start from zero again using last cm kernel and patching all my commits.(about 3000 commits) or merge only new parts. It will take alot of time.
v31 - 10/07/2014 (Kernel-Alucard-V2.6.9b)
Upgraded to Linux v.3.4.98
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Tune Kernel Flags after checking with GccOptimizationTests. It seems to provide 4~7% boost in cpu performance. Thanks to [user=2376110]@dorimanx[/user]
Enabled config_cma.
Implement optimized percpu variable access.
Optimized mm.
General performance increment.
Compiled with latest Sabermod 4.9.1(compiled by [user=3306843]@kantjer[/user]). Thanks to him.
PS. if you come from last 2.6.9 AOSP kernel, you don't need to delete /data/.alucard folder.
v30 - 05/07/2014 (Kernel-Alucard-V2.6.9)
Upgraded to Linux v.3.4.96
Optimized cpu governors (alucard, nightmare, darkness, ondemand, interactive)
Added pump_inc_step_at_min_freq for alucard_governor.
Made Pump_inc_step_at_min_freq, pump_inc_step and pump_dec_step configurable differently on every cpu by stweaks. Increased also freq for responsiveness to 1134000.
Optimized hotplug governors (Alucard_hotplug, intelliplug, MSM_Hotplug)
Optimized cpuboost
Patched sched, mm, kernel time parts.
Added arch_power configurable by stweaks. (it is on by default)
Reverted commit on sched that caused audio problem when phone is in sleep mode.
Increased default maxcoreslimitsleep to 2 cores and increased scaling_max_freq_sleep to 1242000.
Imported general kernel commits.
Many changes have been done on settings so delete /data/.alucard before flashing the new kernel.
v29 - 14/06/2014 (Kernel-Alucard-V2.6.8)
Upgraded to Linux v.3.4.93
Optimized cpu governors (alucard, nightmare, darkness, ondemand, interactive)
Optimized hotplug governors (Alucard_hotplug, intelliplug, MSM_Hotplug)
Optimized cpuboost
Made faux sound control configurable by stweaks. (NEW for GE & TW Kernel)
Enhanced AC/USB Fastcharger and made it configurable by stweaks. Thanks to [user=4325945]@ktoonsez[/user] (NEW for TW Kernel)
Imported LED control and made it configurable by stweaks. Thanks to [user=1546289]@googy[/user]anas. (NEW for AOSP & TW Kernel)
Removed cpu hotplugging (SLEEP) tab on stweaks. It was not so useful.
Removed cpu tuning(SLEEP) tab on stweaks. It was not so useful.
Charging animation when phone is turned off works on TW, GE, AOSP Kernel.
GE, TW, AOSP kernels are aligned among them. They contain the same features :)
Imported many commits for SMP, MM, timers etc parts.
Many changes have been done on settings so delete /data/.alucard before flashing the new kernel.
v28.1 - 05/06/2014 (Kernel-Alucard-V2.6.7la)
Optimized alucard_hotplug, msm_hotplug, intelli_plug.
Optimized alucard, ondemand cpu governors
Optimized cpuboost.
Enhanced FAST CHARGE and made configurable on stweaks. Many options.... :) Thanks to Ktoonsez.
Added Sound Control configurable on Stweaks. Thanks to googyanas. FIXED BY ME :) Headphon PA Gain has been restored to 12 as default. For people that need more power, change it to 20 :)
Fixed charging when phone is turned off. Pressing power to restart phone when it is turned off and connected to AC/USB cable doesn't cause animation loop. TO Restart phone is necessary to hold power button pressed for 2-3 sec. :)
USB HID Keyboard and mouse is restored. It works properly, I have already tested :):)
Added HYBLA as TCP congestion control. Thanks to Kantjer.
General performace increment.
Improved battery consuming (just a bit more) in sleep mode.
DELETE /data/.alucard before flashing new kernel. I have done many changes to profiles. :)
v27 - 31/05/2014 (Kernel-Alucard-V2.6.7g)
Optimized mm.
Optimized sched.
Enabled VMALLOC_SAVINGS by default.
Optimized alucard, darkness, nightmare, ondemand, interactive cpu governors.
Optimized cpuboost.
Optimized alucard_hotplug govenor.
Optimized intelli_plug governor.
We have a new hotplug governor called "msm_hotplug". It is very good and it can be enabled by stweaks. Thanks to [user=2376110]@dorimanx[/user], [user=3795148]@neobuddy89[/user]
Added tcp congestion control configurable by stweaks. Default is cubic.
Added sched_mc_powersaving configurable by stweaks. Default was 2 but now can be configured.
Added gentle fair sleepers configurable by stweaks.
Removed useless cortex tcp, tcp_ram, ipv6 options.
Fixed a bug in cortex awake/sleep switching. Thanks to [user=2376110]@dorimanx[/user].
Now all settings show "kHz" as unit instead of MHz/Hz in stweaks. Thanks to [user=4129455]@Formhault[/user]
Now Cifs can be enabled and should work. Thanks to [user=2376110]@dorimanx[/user].
Removed "CM" profiles overwriting for who use CM ROM with my kernel.
Added two push buttons on stweaks. 1) My XDA thread kernel link. 2) Donation link :)
General performance improvements.
PS. DELETE /data/.alucard folder before flashing new kernel.
v26 - 24/05/2014 (Kernel-Alucard-V2.6.7a)
Upgraded to Linux v.3.4.91
Removed 162, 270 Mhz step frequency. They were useless.
Removed ZRAM, ZCACHE and ZSMALLOC. We have 2gb ram, so we don't care.....
Optimized all cpu governors.
Optimized alucard hotplug governor.
Optimized intelli-thermal.
Set ROW I/O scheduler as default.
Include tcp congestion control in the kernel but it is not configurable on stweaks. Maybe in the next release :)
Use phone as USB KEYBOARD/MOUSE(Thanks to [user=2376110]@dorimanx[/user]):
Base project: [url]https://github.com/pelya/android-keyboard-gadget[/url]
Required app: [url]https://play.google.com/store/apps/details?id=remote.hid.keyboard.client[/url]
Steps:
* Start ADB Debugging
* Start app
* Connect device to system via USB cable
Known minor issue[OLD BOOTLOADER]: Phone can charge when is off, animation is visible but it is necessary to unplug cable and press power for phone booting.
DELETE /data/.alucard before flashing new kernel (Recommended)
UPDATE: [Compiled with new SaberMod 4.8.3 with O3 and all other optimization flags + hard float flag]
v25 - 18/05/2014 (Kernel-Alucard-V2.6.6o)
Upgraded to linux 3.4.90 version.
Imported about 300 commit regarding sched and mm. General performance improved.
Optimized all cpu governors and alucard_hotplug governor.
Removed DVFS touch interface and replace with CPU BOOST. Parameters are configurable on stweaks.
Phone is now much more fast and smooth.
PS. It is recommended to delete /data/.alucard before flashing.
Thanks to Jimsilver73 for testing:)
v24 - 12/05/2014 (Kernel-Alucard-V2.6.6mm [ OFFICIAL TEST]
Upgraded to linux 3.4.89 version.
Alucard_hotplug optimized. Added new parameters for tweaking.
Optimized my cpu governors. Use Power Efficient workqueue.
Adjusted sampling rate for all governors. Thanks to Dorimanx.
Corrected some descriptions. Thanks to Kantjer, FlanjeUK and Jimsilver73.
Removed cpu governor switching during sleep phase.
Phone is smoother and faster than previous version.
Battery consuming should be better during awake phase.
v23 - 07/05/2014 (Kernel-Alucard-V2.6.6m
Compiled with Sabermod 4.10 O3 flags.
Optimized dvfs touch interface. Inserted descriptions. Thanks to Kantjer.
Corrected some descriptions in stweaks. Thanks to Kantjer.
Corrected switching governor during awake/sleep mode.
Changed gpu clk reset rate 1800000 to 27000000(Default). Solved graphical glitches for some games like PVZ2.
v22.2 - 1/05/2014 (Kernel-Alucard-V2.6.6lb [ 1: Compiled with SaberMod 4.10 O3 flags ]
Now we can support cache, data and system as f2fs file system. We can use one or two or all three of them. Many thanks to dorimanx for precious command for identifying partition type without mounting.
UPDATE: Fixed f2fs partition mounting. I tested on last official cm 11.0 ROMS.
v22 - 29/04/2014 (Kernel-Alucard-V2.6.6l [ 1: Compiled with SaberMod 4.8.3 O2 flags | 2: Compiled with SaberMod 4.10 O3 flags ]
Two version compiled with 2 different compiler. You all can test them and let me know which is the best.
Upgraded to linux 3.4.88 version.
Updated BFQ I/O Scheduler.
Optimized Alucard_hotplug governor.
Implemented cpufreq_limit_manager module for limitting frequency when suspended, on call or gps using.
OLD bootloader charging half solution. Phone can charge (as before) and % is visible but it is necessary to unplug AC charger cable and press power as a normal boot.
Improved battery consuming in sleep mode.
Improved performance just a bit more.
Implemented f2fs, ext4 partition detecting during phone boots. Kernel automatically mounts the proper partitions when EXT4 or F2FS... It always necessary a recovery custom for formatting and obviously "cache" and "data" partitions must be formatted as well. (In the future when a recovery supports both filesystem formatting, you don't need to re-flash kernel).
v21- 21/04/2014 (Kernel-Alucard-V2.6.6f)
Optimized alucard_hotplug and intelli_plug hotplug governors for memory consumptions and performance overall.
General performance overall
Fixed Stweaks app that show "Unexpected error" message. It wasn't an error just a textbox on its background. I also fixed cancelling progress dialog delay that show that message.
Compiled kernel with Sabermod GCC 4.8.3. It seems a bit faster and smoother.
Fixed restoring profiles. [NEW]
v20- 16/04/2014 (Kernel-Alucard-V2.6.6da)
Upgraded to linux 3.4.87 version.
Optimized alucard_hotplug.
v19- 13/04/2014 (Kernel-Alucard-V2.6.6c)
Fixed freezes removing optimzed percpu timer commit.
Updated cpu timing function from Linux 3.14.
Updated kernel smp and cpu parts.
Updated driver cpuidle part.
Imported F2FS. Now the kernel include that FS.
Optimized alucard_hotplug.
Optimized kernel workqueue.
Fixed charged icon while phone, turned off, is charging.
Fixed drivers cpufreq.
Removed SuperSU app and related file inside zip kernel. If you all still have problems with losing root it is not kernel fault. I tested with 4 different roms and I have never lost root.
General improvements.
v18- 07/04/2014 (Kernel-Alucard-V2.6.5ib)
Moved Stweaks, system modules inside zip kernel. Now there will not be problems for anyone.
Reduced default hotplug_sampling_rate to 60 ms. Before was 100 ms.
Implement optimized percpu variable access. It should increase performance just a little bit.
...................................................................................................................................
Reserved
Reserved
great
5 Stars for this good kernel
+1
Thanks for your work but I noticed you repo has a lot of branches. what branch is used for AOSP? my-brood-kk I assumed. but I'm not 100% sure
Is nice to see you have your own thread now .
I'm going to test the new kernel now on jamal's RC2 and report on the usage.
Thanks!
Awesome
broodplank1337 said:
Thanks for your work but I noticed you repo has a lot of branches. what branch is used for AOSP? my-brood-kk I assumed. but I'm not 100% sure
Click to expand...
Click to collapse
You are welcome Yes I have two branch for AOSP. (my-cm-11.0 and my-brood-kk)
I have to test and release kernel also for AOSP KK ROM! I need also to import some commits into
i have not rr since L version ....good kernel and good dev ...i like you
Here is a mirror in MEGA:
http://bit.ly/19z3lfb
Cheers!
Alucard Many Thanks from Portugal for your EFFORT.
No RR anymore..
does this kernel have better performance than stock GE kernel? or same? would be awesome a tweaked linaro GE kernel :good:
Alucard you refer that latest kernel release is v2.3.4lg,
i installed but on my kernel version is 2.3.4l, i do not have "lg"
is it ok?
Jmldsilva said:
Alucard you refer that latest kernel release is v2.3.4lg,
i installed but on my kernel version is 2.3.4l, i do not have "lg"
is it ok?
Click to expand...
Click to collapse
Yes it is I forgot to add "g" character into Kernel config, but I can confirm that it is the last one that i have installed on my phone
alucard_24 said:
Yes it is I forgot to add "g" character into Kernel config, but I can confirm that it is the last one that i have installed on my phone
Click to expand...
Click to collapse
Ok, Thanks..:good:
Alucard thanks for your kernel. Are the Bluetooth problems solved with the latest (lg) version as well?
can anyone else confirm that foldermount is operating as it should?
my folders are still not mounting, i have uninstalled and installed it again and again.
khan1989 said:
can anyone else confirm that foldermount is operating as it should?
my folders are still not mounting, i have uninstalled and installed it again and again.
Click to expand...
Click to collapse
i'm to my folder mount still not working
Where is v3...is it not out yet..

[KERNEL][3.4.107][AOSP/CM][GCC5.0]Spirit.Kernel r13[21/4/2015]

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

[KERNEL] Sony Smartwatch 3 Kernel [LCA43]

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

[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