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

[KERNEL][CM-based] Pimped Kernel (F2FS|SoundControl|DT2Wake|CPU & GPU OC|Color Control|Voltage|FastCharge|Intelliplug...)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
THIS KERNEL IS ONLY FOR AOSP/CM BASED ROMS
(= NOT COMPATIBLE WITH SONY FIRMWARES)​
All the kernel features are controllable through my Pimp My Z1 app, (thread here).​
Features
Sound Control: Faux123's GPL Sound Control 3
Color Calibration Control: LCD_KCAL interface ported to the Z1 by @DooMLoRD, gives full control over the RGB channels of the display
GPU OC: 200MHz / 320MHz / 389MHz / 487.5MHz / 533MHz / 600MHz frequency scaling steps
CPU OC: up to 2.26GHz
CPU Voltage Control: use TricksterMod for the moment
DoubleTap2Wake: double-tap the screen to wake-up the device
Intelliplug: Faux123's latest intelliplug hotplugging driver with eco mode (v5.0)
[*]MPDecision: showp1984's open-source & customizable msm_mpdecision hotplugging driver
Dynamic Fsync: Faux123's Dynamic File Sync v1.5
PowerSuspend: Faux123's power_suspend driver (replacing early_suspend)
Snake Charmer: Faux123's msm_cpufreq_limit CPU frequency limiter driver
Fast Charge: Faux123's fast_charge driver, allowing to set the amperage of the charger or USB port your device is plugged-in to
CPU Boost: Faux123's CPU Input Boost module (will soon add controls for it in Pimp My Z1)
GPU Wake-on-touch: allows touch events to wake the GPU if it was previously in slumber
KSM: Kernel Same-page Merging enabled
F2FS Support: Samsung's F2FS nand-optimized file system support
exFAT Support: Samsung's open-source exFAT driver
zRam Support: support for zRam memory compression
CPUPower: Linaro's cpupower PM driver
Async Fsync: Asynchronous file sync
MSM_Sleeper: Support for setting the max CPU frequency when screen is off through sysfs
Kernel mode NEON: NEON-accelerated XOR framework & support for NEON instructions in kernel mode
Overall Stats: CPU overall stats on a per-core basis
Compression: XZ Compressed & LZ4 compression algorithm support
Sched MC: Multi-Core Power Savings support
Sched SMT: Multi-Thread Power Savings support
Arch_Power: arch-specific power sched features enabled
Workqueue: backported from kernel 3.7, allows CPU hotplug to keep idle workers (learn more)
Toolchain: Built with Linaro GCC 4.8.3 toolchain from 14.02 release
Optimizations: Built with -O2 and many optimization flags
Kexec-hardboot ?: attempted to port @Tassadar's kexec-hardboot patches from the nexus 5, needs testing and confirmation that it works
Additional Governors:
Intellidemand
Intelliactive
Pegasusq
Nightmare
Hyper
Alucard
InteractiveX2
SmartassV2
Lagfree
Wheatley
Lionheart
Badass
Additional I/O Schedulers:
SIO (SImple Ondemand)
FIOPS (Fair Input/Output Per Second)
BFQ (Budget Fair Queueing)
VR
Additional TCP Congestion Algorithms:
BIC
Westwood
HSTCP
Hybla
HTCP
Vegas
Veno
Scalable
LP
YeAH
Illinois
Click to expand...
Click to collapse
Download
Latest builds: Regular version: 2014-06-08 || Light version: 2014-07-27​
Light Version: http://d-h.st/gyD
[*]Regular Version: http://d-h.st/La1 (doesn't work with 4.4.4 ROMs)
Click to expand...
Click to collapse
Disclaimer
Code:
# Neither me or any contributors to this kernel can nor will be held
# responsible for any damage or any kind of problem related to its use.
# You are using this piece of software AT YOUR OWN RISK.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
Sources
The sources are obviously covered by the General Public License, and are available on my github at:
https://github.com/PimpedKernel/android_kernel_sony_msm8974
Click to expand...
Click to collapse
Credits
Thanks to faux123 for all his contributions to the android kernel community, many of which are implemented here
Thanks to showp1984 for his msm_mpdecision hotplug driver
Thanks to DooMLoRD for all the cherry-picked features from his DoomKernel
Thanks to krabapel2458 for the inital port from DoomKernel of features like GPU OC, some governors and more.
Thanks to MohammadAG for the DoubleTap2Wake port
And of course, thanks to FreeXperia and Kali- in particular, for the device bring-up
Click to expand...
Click to collapse
XDA:DevDB Information
Pimped Kernel, Kernel for the Sony Xperia Z1
Contributors
Androguide.fr
Kernel Special Features: Sound Control, GPU OC, Intelliplug, PowerSuspend, Dynamic Fsync, exFAT, F2FS, KSM, Intellidemand, Intelliactive, SmartassV2, InteractiveX2, Lionheart, Wheatley, Badass, Lagfree, BFQ, SIO, FIOPS, Westwood, Hybla, HSTCP, HTCP, Veno, Illinois, LP, BIC...
Version Information
Status: Beta
Created 2014-02-25
Last Updated 2014-07-29

Changelogs
Changelogs
2014-04-24
Updated to Linux kernel version 3.4.86
Re-added GPU OC up to 600MHz and hopefully fixed the issues some people had with it
Added zRam support (thanks to DooMLoRD)
Added msm_sleeper (thanks to DooMLoRD), controls coming to Pimp My Z1 soon
Added memutils optimizations (thanks to DooMLoRD)
Merged a lot of slimbus/slim-ngd/slim_msm/qdsp6v2/wcd9xxx & other audio-related optimizations from franciscofranco's nexus 5 kernel
Merged some OOM, ocmem & other memory-management-related optimizations from franciscofranco's nexus 5 kernel
Merged a fix for msm_z180 memory leak from franciscofranco's kernel
Some other random cherry-picks
2014-04-15
Re-added all the previous features except GPU OC
Added Async Fsync
New I/O Scheduler: VR
Added support for PAC rom
2014-03-21
Added workqueue backported from kernel 3.6 + its 3.7 updates
Reduced CPU retention voltage
Fixed & enabled F2FS (now all we need is an f2fs-compatible TWRP, or at least cross-compiled mkfs.f2fs & fsck.f2fs binaries)
Enabled VMALLOC savings
Switched back to TWRP
Prepared initial support for amami (Z1 Compact)
2014-03-18
Reverted back to Qualcomm's mpdecision from showp1984's mpdecision
Made the flashable zip backup of the original wlan.ko module (to /system/lib/modules/wlan.ko.bak)
2014-03-17
Included wlan.ko module built with the kernel
Fixed SnakeCharmer max freq & intelli min/max inactive frequencies
2014-03-16
Replaced Qualcomm's closed-source mpdecision with showp1984's open-source & customizable mpdecision driver
Implemented faux123's msm_cpufreq_limit driver (a.k.a SnakeCharmer)
Added Linaro's cpupower pm driver
Enabled SCHED_SMT
Enabled arch_power sched feature
KSM: skip page if it has already been scanned
Made intellidemand the default governor
Enabled power_suspend by default
Enabled KSM by default
2014-03-14
Fixed intelliplug
2014-03-13
Added 389MHz GPU frequency step
Lowered GPU voltage constraints
Overclocked SLIMbus: rootfreq from 11 (24.526MHz) to 31 (27+MHz, the maximum) & clock-gear from 7 to 10 (max).
This means SLIMbus will use its maximum potential to give the best audio quality for the hardware.
Re-added kernel NEON mode & NEON-accelerated XOR framework
Added word-at-a-time kernel interface
Re-added epoll performance tweaks (increased from 35k jOPS to 125k jOPS on a 16 sockets benchmark run)
Re-added futex tweaks
Re-added softirq latency tweaks
Enabled Sched_MC power savings at level 1 (= moderate) by default
Various ext4 & net performance tweaks
Merged upstream CM commits
2014-03-10
Added F2FS support
Added camera fix
Re-added exFAT support
Re-added GPU wake on touch
Re-added intellidemand's touch input boost
Re-added my attempt at porting kexec-hardboot
Re-added RNGD tweaks
Re-added CPU hotplugging tweaks
Re-added writeback tweaks
2014-03-06
Fixed kernel panics introduced in previous build
Added data writeback optimizations
Added random number generator optimizations
Enabled multi-core power savings by default, with a value of 1 (= moderate)
2014-03-04
Intellidemand: added CPU boost (boosts the CPU frequency when touch inputs are received)
Added GPU Wake-on-touch (allows touch events to wake the GPU if it's in slumber)
Added support for kernel mode NEON
Attempted to port @tassadar's kexec-hardboot patches for the nexus 5 (needs testing)
Input: Send events one packet at a time (reduces irqsoff latency of ~ 50 micro seconds)
Softirq: reduce latencies (significantly reduces network irq latencies)
Added Samsung's open source exFat module version 1.2.4 (= exFat support)
Enabled Kernel Same-page Merging (KSM)
Epoll optimizations (performance went from 35k jOPS to 125k jOPS on a 16 socket benchmark)
Many hotplug logic optimizations
Built with latest Linaro gcc 4.8 toolchain (2014-02)
Built in the CM tree so there should be no more compatibility issues with other roms
2014-03-03
Added new intelliactive governor from faux123's nexus 5 kernel
Added faux123's msm_cpufreq_limit driver
Added the following TCP congestion algorithms (will add control in Pimp My Z1 soon, meanwhile you can use Pimp My Rom):
BIC
Westwood
HSTCP
Hybla
HTCP
Vegas
Veno
Scalable
LP
YeAH
Illinois
2014-03-02
Added InteractiveX2 CPU Governor
Added SmartassV2 CPU Governor
Added Lagfree CPU Governor
Added Test I/O Scheduler
Updated Linaro toolchain to 2013-01 gcc 4.7 release
Fixed missing features in previous build
Uncapitalized lionheart CPU Governor
2014-02-25
Merged upstream CM commits
2014-02-24
Initial release

Reserved
Instructions for switching to F2FS
/!\ WARNING: This operation will wipe all your data as well as your internal storage /!\
Download an F2FS version of Pimped Kernel
Flash it in recovery
Reboot recovery, you should now be in the included modified CWM
Go to 'mounts & storage' and select 'format /data and /data/media (/sdcard)'
Go to 'mounts & storage' and select 'format /cache'
Reboot & Enjoy
Why using F2FS?
I recently compared ext4 & f2fs in a series of benchmarks, and F2FS clearly provides better performance than ext4.
You can read the full comparision & benchmark results here: http://forum.xda-developers.com/showthread.php?t=2697069
Please note that f2fs might be more prone to data corruption or otherwise be less stable, although I have not encountered any issue at the moment.

Great, flashed it. Works like last one, but still can't disable MP-decision
And can't CPU OC yet.
I don't know if Honami control will fix these issues.
Thanks, great anyway!

Subscribed. Cannot wait for this to be an awesome "pimped" kernel for CM11.
Will you have a flashable zip?
I fastboot flashed the boot.img, however no more root / superuser.
Update: flashed supersu zip - now have root.
Kernel is working fine, however getting random soft reboots every now and then.
FIOPS / 2048 readahead / Intellidemand / ECO on / intelliplug on / mpdecision off
min 300 / max 1267200 / multicore power saving 1

Thank you for your hard work, @Androguide.fr , you are making awesome things.
Testing the kernel now.
[OT Mode ON]
Also, a little bit OT, but.. does omnirom support theme chooser?
[OT Mode OFF]

Is there any possibility of including gamma control like as in Xperia Z??

Could you add pegasusq governor?

CappyT said:
Thank you for your hard work, @Androguide.fr , you are making awesome things.
Testing the kernel now.
[OT Mode ON]
Also, a little bit OT, but.. does omnirom support theme chooser?
[OT Mode OFF]
Click to expand...
Click to collapse
Thanks for your support.
Omni currently does not include the theme chooser, but I hear a revamped one is on its way.
pranii23 said:
Is there any possibility of including gamma control like as in Xperia Z??
Click to expand...
Click to collapse
I will look into it but I don't think I'm a good enough kernel dev to do the port, if DooMLoRD ports it to DoomKernel then I will probably merge it.
Ahki767 said:
Could you add pegasusq governor?
Click to expand...
Click to collapse
If you have a link to its implementation on an other msm8974 device's kernel, please send it to me and I'll take a look.
InteractiveX2, SmartassV2 & Lagfree are merged but not enabled as they cause build errors when enabled in defconfig , I will try and fix those when I got time.
Same for the VR I/O Scheduler, it's merged but not enabled in defconfig atm.

Nice, there has been an avalanche of commits merged on the CM kernel, apparently related to the remaining camera & hardware overlays bugs, I merged those and I'm building right now.
EDIT: here's a link for the flashaholics, this one has the Omni boot logo as I'm at work and I forgot to commit the Pimped Kernel boot logo, but otherwise it's the same kernel with the new CM commits included.
I'll rebuild it tonight with the correct bootlogo and version name.
Download: http://d-h.st/kZ1
MD5: b44957069fbeb431ccb0e2e5b7772e72​

Great kernel! runs great with Omni Honami ROM (latest build) :good:

Can someone make a flashable zip of the new kernel? Iam @ work and want to flash this "on the fly"
Ty for your awesome work
Gesendet von meinem Xperia Z1 mit Tapatalk 2

@Androguide.fr there is a problem with your kernel, I get strange random reboots and sleep of death...
I tried to set governor to interactive, but no luck at all...
Inviato dal mio Xperia Z1 utilizzando Tapatalk

Any chance this week have tap to wake feature??
Cheers!
Sent from my Xperia Z1

CappyT said:
@Androguide.fr there is a problem with your kernel, I get strange random reboots and sleep of death...
I tried to set governor to interactive, but no luck at all...
Inviato dal mio Xperia Z1 utilizzando Tapatalk
Click to expand...
Click to collapse
I won't be able to help unless you provide me with more infos such as which rom you're running and a logcat of you trying to set the governor for example.
A kmsg of the random reboots would be nice, too.
I suspect the issue is with the ramdisk as none of the above issue seem to occur on Omni.

Androguide.fr said:
I won't be able to help unless you provide me with more infos such as which rom you're running and a logcat of you trying to set the governor for example.
A kmsg of the random reboots would be nice, too.
I suspect the issue is with the ramdisk as none of the above issue seem to occur on Omni.
Click to expand...
Click to collapse
Ok, today i will switch to aosb and then if it happens i will provide logcat an kmsg... Any app to use for that? (Apart of echo from terminal?)
Inviato dal mio Xperia Z1 utilizzando Tapatalk

Nice...wow...cool!
I am running this kernel on the new cm11 4.4.2 rom AOSB. Without problems. Now I can run my *.flac Music whith more GAIN...YEAH!
Only thing is that for example Bard´s Tale wont save the data to sd-card. Can it be solved with the kernel? I just heard in the AOSB thread its a Android 4.4 related problem. In this moment I am saving my sd-data and try to partitioning it. Or maybe this is useless? Can I get the apps to save to sd-card with this kernel maybe?

CappyT said:
Ok, today i will switch to aosb and then if it happens i will provide logcat an kmsg... Any app to use for that? (Apart of echo from terminal?)
Inviato dal mio Xperia Z1 utilizzando Tapatalk
Click to expand...
Click to collapse
For the logcat you can use the "Catlog" app.
For the kmsg I don't think there are any apps, you'll need to use adb or the terminal:
Code:
cat /proc/kmsg > /sdcard/kernel-message.txt
or, after a random reboot to get the kmsg from before the reboot:
Code:
cat /proc/last_kmsg > /sdcard/last-kernel-message.txt

Ry Chy® said:
I am running this kernel on the new cm11 4.4.2 rom AOSB. Without problems. Now I can run my *.flac Music whith more GAIN...YEAH!
Only thing is that for example Bard´s Tale wont save the data to sd-card. Can it be solved with the kernel? I just heard in the AOSB thread its a Android 4.4 related problem. In this moment I am saving my sd-data and try to partitioning it. Or maybe this is useless? Can I get the apps to save to sd-card with this kernel maybe?
Click to expand...
Click to collapse
Did you have this issue with the CM kernel or the previous kernel you were running ?
If you didn't then it's probably due to the mass storage support for sdcard commits included in the ramdisk, it might not be compatible with other roms.
I will rebuild the kernel with the stock CM ramdisk tonight.

Androguide.fr said:
Did you have this issue with the CM kernel or the previous kernel you were running ?
If you didn't then it's probably due to the mass storage support for sdcard commits included in the ramdisk, it might not be compatible with other roms.
I will rebuild the kernel with the stock CM ramdisk tonight.
Click to expand...
Click to collapse
Was on stock rom before (Monx´s Rom for Z1 and DooM´s Kernel), no problem at all. Since I´ve flashed AOSB yesterday, with stock cm-kernel or this one, I have this problem.
~~~~~~~~~~~~EDIT~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Didn´t had success with partitioning sd-card in any way. Neither with Win7 Software or TWRP. Bad thing. Is there any patch or workaround for Android 4.4 ?

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 | Nougat CM / AOSP | 7th Jan | HalogenKernel R31 | UBER | 3.4.42

{
"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"
}
EXPERIENCE HALOGEN | EXPERIENCE AWESOMENESS​
For Changelogs please see POST #2.
For FAQ please see POST #3.
DISCLAIMER :-​
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will simply laugh at you.
*/
NOTE :-​This kernel is ONLY meant for AOSP/CM ROMs.
This IS NOT MEANT for STOCK ROMs.
Upto R14 Kernel supports Lollipop.
From R15 onwards Kernel supports ONLY Marshmallow.
From R18 onwards Kernel supports Doze + Marshmallow.
From R30 onwards Kernel supports ONLY Nougat.
WHAT IS THIS KERNEL ?​This kernel is built especially for these 3 things :- 1. Audio, 2. Performance, 3. Battery Life.
The main aim of halogen is to bring performance without compromising stability & battery. And that is what I intend to do. Go ahead and try this kernel, and it should make your device much better.
FEATURES :-​(features of ONLY the latest version is mentioned)​
Based on Linux Kernel 3.4.42
Updated with the latest CM14.1 sources
Built with UBER Toolchain GCC-4.9
Any Kernel 2 script used
Kexc Hardboot patched
Built with optimization flags for enhanced performance
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam (thanks to @attack11)
Faux Sound Control v3.5
Headset in high performance profile
Slimbus overclocking for superior audio quality
Enabled CPU boost
Add Frandom
Power effecient work queues enabled by default
Reclaim RAM from loggers
Disable gentle_fair_sleepers for increased I/O
Enable advanced unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
intelliactive, intellidemand, zzmoove cpu governors
intelliplug v4.0 cpu hotplug
enabled advanced tcp congestions
Ability to use your device as USB Keyboard / Mouse
Stereo call record support
psx2usb
KCAL v2 by Savoca
Dynamic FSync
Added optimized square root algorithm
Added optimized ARM_RWSEM algorithm
NEON kernel mode
Ex-FAT support
LONG TERM SUPPORT :-​
This kernel will be supported for a long time with updates directly streamed from CM kernel sources i . e . as long as CM keeps publishing updates to its base, this kernel will also be updated.
DOWNLOADS :-​(do not mirror my links)​[ Latest Version ]​[ Older Versions ]​
INSTALLATION INSTRUCTIONS :-​
Reboot into recovery.
Make a nandroid BackUp.
Select Install zip from SD Card.
Select the Downloaded zip.
Then Reboot to System.
Leave your phone untouched for 2-3 minutes after first reboot to allow the kernel to spread it's wings.
RECOMMENDED APPS FOR KERNEL TWEAKING :-​
Kernel Adiutor
Faux123 Kernel Enhancement Pro
I do not support any other apps.
CREDITS:-​~~Google
~~Motorola for kernel sources
~~Flashhhh
~~hurtsky
~~Luk & Luca -for various fixes
~~Thecrazyskull, DC07 -for cherry-picks
~~Faux123
~~Savoca
~~YoshiShaPow
~~attack11
~~many more.......
Please don't start a war here if I forgot to mention someone. PM me and I will add him / her.
XDA:DevDB Information
HalogenKernel, Kernel for the Moto G 2014
Contributors
zakee94
Source Code: https://github.com/zakee94/halogen_kernel/
Kernel Special Features: Faux sound, Kexec, KCAL, Intelliplug
Version Information
Status: Stable
Current Stable Version: R31
Stable Release Date: 2017-01-07
Created 2015-06-11
Last Updated 2017-01-07
Changelog
CHANGELOG​(simplified changelog, for full changelog please look at my GitHub commits.)​​​
R31 --> 07/01/2017​
Merged CM Updates
For older changelogs :-​
R30 --> 30/10/2016​
First Nougat release
For changes please see post #670
R29 --> 24/07/2016​
Merged CM Updates
R28 --> 08/06/2016​
Merged CM Updates
AROMA installer
Added tripndroid IO Scheduler
CPU optimizations
ARM tweaks and updates
R27 --> 12/05/2016​
Merged CM Updates
R26 --> 10/04/2016​
Merged CM Updates
R25 --> 16/03/2016​
Merged CM Updates
R24 --> 18/02/2016​
Reverted the following :-
CPU OC/UC - 1593/96 MHz
CPU UV
LMK tweaks + Agressive LMK mode
Following CPU govs --> lionheart, dancedance, bioshock, alucard
Following Hotplugs --> Mako, Auto-smp
Added the following -->
Merged CM Updates
Built with UBER Toolchain GCC-6.0
R23 --> 19/01/2016​
Merged CM Updates
Overhauled boot script
R22 --> 11/01/2016​
Rebased kernel on android 6.0.1_r10
Rebuilt kernel from scratch
Merged a lot of CM updates
Added futex updates
Cpu UV added (hardcoded values)
Added 2 new hotplugs :- Auto-smp & Mako
Removed Alucard Hotplug
Overhauled updater script
R21 --> 30/12/2015​
Add CPU OC/UC - 1593/96 MHz
Adapt cpu_govs for CPU OC/UC
Merged CM Updates
R20 --> 29/12/2015​
Merged CM Updates
R19 --> 23/12/2015​
Added 3 new cpu_govs: Lionheart, DanceDance & Bioshock
Enabled CPU boost
Added optimized ARM RWSEM algorithm
ARM updates merged directly from CAF (See Git)
Mutex updates (See Git)
LMK updates (See Git)
Add agressive LMK
Build using -O3 & -graphite flags for enhanced performance
Cortex-A7 optimizations in Makefile
block: Disable add_random
Implemented LoUIS cache
Made bioshock as default gov. in boot script
Many other optimizations (smp, rcu, vfs, vfp, etc... See Git)
R18 --> 20/12/2015​
Merged latest CM Updates (support for Doze)
R17 --> 17/12/2015​
Merged latest CM Updates
Made interactive as default gov. in boot script
R16 --> 03/12/2015​
Fixed FM Radio not working
Fixed Section Mismatches
Enabled pipe flag
R15 --> 27/11/2015​
Build Kernel from scratch based on cm-13.0 kernel base
Compiled using Hyper-Linaro 5.1 Toolchain
Kernel version brought down to 3.4.42 temporarily
Revert SE Linux force permissive
Revert use Modulo sched & strict alias flags
Enabled Simple GPU Algorithm
R14 --> 11/10/2015​
Merged latest updates
Updated kernel to v3.4.109
Updated bfq to v7r8
R13 --> 6/09/2015​
Brought back the following :-
SE Linux tweaks
msm:kgsl tweaks
Enable unaligned_access
DOLBY dap dependency fix
Removed the following :-
Simple GPU Algorithm
New features :-
Update with latest CM sources
Implement Adreno Idler
R12 --> 26/08/2015​
Removed the following :-
CPU UC to 96MHz
SE Linux tweaks
USB Fast Charge v2
Added optimized ARM_RWSEM algorithm
msm:kgsl & wcnss tweaks
Optimize square root algorithm
Enable unaligned_access
DOLBY dap dependency fix
Ultrasound & ASoC : qdspv2 tweaks
Changed the following :-
Update 'zzmoove' cpu_gov to v1_beta-8
Set 'zzmoove' as the default CPU Gov
R11 --> 22/08/2015​
Merged latest CM updates
R10 --> 13/08/2015​
Once again rebuilt the whole kernel !
Updated with latest CM sources
Possibly fix interactive deep-sleep issues
R9 --> 25/07/2015​
Updated with the latest CM sources
Rebased and built whole kernel from SCRATCH
Removed useless tweaks
Updated cpu_hotplugs & cpu_govs
Optimized zzmoove profiles again
R8 --> 11/07/2015​
Updated with the latest CM sources
Reverted RAM OC to 566MHz
Reverted some power hogging tweaks
Updated hotplugs :- intelliplug, msm-hotplug (neobuddy89 versions)
Added Bricked Hotplug
Optimized zzmoove profiles
R7 --> 30/06/2015​
Disabled msm_limiter
zzmoove : add back zzopt & zzmod, zzopt unstable for now.
Introduce kernel cooker
Bug fixes
R6 --> 24/06/2015​
Updated kernel version to 3.4.108
Enabled kernel_config_neon
zzmoove : remove profiles 'zzopt' & 'zzmod'
Add strict_aliasing & modulo_sched flags
Add msm:kgsl & wcnss tweaks (see GitHub)
Add MSM Frequency Limiter driver v3.6
Add Ultrasound & ASoC : qdspv2 tweaks (see GitHub)
RAM OC to 566 MHz
And many more I can't fit in here, so please checkout GitHub.
R5 --> 20/06/2015​
Added USB Fast Charge v2
Enabled NEON mode
Added Ex-FAT support
SE Linux tweaks (see GitHub)
zzmoove : set default profile to 2
tune up some governors
Enable intelliplug by default
Random / entropy tweaks
R4 --> 17/06/2015​
CPU UC to 96 MHz
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam
Reclaim RAM from loggers, increasing default ram to 883 Mb
Disable gentle_fair_sleepers for increased I/O
Enable unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
Many tick, clockevents & timer tweaks (see GitHub)
Lower swappiness from 60 --> 45
Added optimized ARM_RWSEM algorithm
Force SE Linux permissive
Added state notifier driver
Enabled quick wakeup
NOATIME and NODIRATIME as default
R3 --> 14/06/2015​
CPU Govs removed :- wheatley, nightmare, HYPER, darkness, pegasusq, ondemandplus
Added simple GPU Algorithm
3 new CPU Hotplugs added :- intelliplug, alucard, msm-hotplug.
Power effecient Wqs enabled by default
Reclaim RAM from loggers
devfreq:Add conservative governor
devfreq tweaks (see GitHub)
Dynamic FSync added
Intellithermal v2 added
R2 --> 13/06/2015​
New CPU Govs added :-
intelimm, intellidemand, intelliactive, smartmax, pegasusq, alucard, impulse, ondemandplus, wheatley, yankactive, nightmare, HYPER, darkness, zzmoove.
New TCP Congestions enabled :-
westwood, cubic, reno, hstcp, hybla, vegas, veno, scalable, lp, yeah, illinois, hctp, advanced, highspeed.
New I/O Schedulers added :-
fiops, vr, zen, sio, bfq, cfq, deadline, noop, tripndroid, fifo
Added KCAL v2 by Savoca
Optimized slub memory allocation
Increase torch power by 20 mA
Added stereo call recording support
psx2usb
Added NVIDEA Power effecient patches
Changed CFlags = Ofast
Optimize sfck compression
Many sched tweaks and optimizations (see GitHub)
R1 --> 12/06/2015​
Initial Release
FAQ
FAQ​
This kernel does not have X, Y or Z feature. Please add it !
No such requests shall be entertained.
For this device the closer to stock we are, the better it is. Hence no need for "fancy" useless features/tweaks. The main aim of halogen is to bring performance without compromising stability & battery. And that is what I intend to do.
AND if you really want this or that feature which is not there in halogen, please feel free to compile your own builds.
Oh no ! I encountered a BUG !
Upload the file named last_kmsg that located in /proc/last_kmsg. It contains kernel logs. Clearly state the bug / what you experienced along with your current kernel settings. Bug reports without logs will be ignored.
Recommneded settings ?
Halogen is pre-configured for best. For custom settings please google, do some research and you are encouraged to post your own settings in this forum. You can start here.
My battery drained overnight !! Look at these screenshots...
Not a halogen fault. The kernel does not “drain” battery. On Android devices, the kernel provides a mechanism for keeping the phone awake, called a wakelock. Processes running on the device (e.g. apps and services) can ask the kernel for a wakelock, and the kernel will oblige. So yes, the kernel is technically keeping the phone awake, but only because an app or service has asked it to. It is these apps and services that are misbehaving and causing drain, not the kernel. Doze mode, introduced in Android Marshmallow, is designed to limit the time that apps and services can wake up the device.
All thanks to @flar2 for his excellent post.
Wow,
What is better setting for this Kernel ?
legendsbr said:
Wow,
What is better setting for this Kernel ?
Click to expand...
Click to collapse
There is not much to set in this kernel at present. Leave it as it is. Tweak sound to your hearts desire !
What governors & I/O schedulers are already included? Just the "basic" AOSP kernel ones for now?
Yes...
But updates will come soon !!!
You simply did it! Thank you so much!
There is a long way to go but I hope you can add more stuff, not forgetting the DoupleTap to wake up the screen
Testing
NEW BUILD IS UP !!!
[ 12 June, 2015. Version --> R2 ]
New features added :-
** 14 new cpu govs added !!!(check changelog for their names) **
** New I/O schedulers added (added tripndroid) **
** New TCP Congestions added **
** Stereo call recording **
and MUCH, much more......................CHECK CHANGELOG.
Did you know ? :-
With the release of R2, Halogen Kernel becomes the ONLY kernel with maximum number of cpu govs !!! (among all kernels for stock/cm of titan/falcon).
This kernel has around 20 cpu govs !!!
NOTE :-
Try reading this guide by @gsstudios before selecting out among the many CPU Govs.
E _N_J_O_Y !!!
This kernel really works for battery life... Smooth and fast and also improves battery life. Appreciate you're work!
giannis_mathiou said:
This kernel really works for battery life... Smooth and fast and also improves battery life. Appreciate you're work!
Click to expand...
Click to collapse
Thanks for review...
More updates will come soon !
This kernel mainly focuses on audio and battery life.
zakee94 said:
Thanks for review...
More updates will come soon !
This kernel mainly focuses on audio and battery life.
Click to expand...
Click to collapse
Thank you so much for the updates!
Can you make a post with the recommended settings for battery life and the best performance possible?
TiGuy82 said:
Thank you so much for the updates!
Can you make a post with the recommended settings for battery life and the best performance possible?
Click to expand...
Click to collapse
Of course I will....
zakee94 said:
Of course I will....
Click to expand...
Click to collapse
there is something terribly wrong... at boot maximum cpu frequency is set to 384MHz, this give terribly long boot time, stuttery bootanimation and longer time for apps optimization after a rom update
EDIT: temporarily solved with an init.d script, here it is if someone has the same problem https://www.dropbox.com/s/qmcdlljjj0klzaf/cpufreq.zip?dl=0
ktulu84 said:
there is something terribly wrong... at boot maximum cpu frequency is set to 384MHz, this give terribly long boot time, stuttery bootanimation and longer time for apps optimization after a rom update
Click to expand...
Click to collapse
Even I had been facing the bug...BUT I fixed it out and the BUG IS NO MORE !!!
I will be soon releasing the update ! The problem was with some improperly adapted CPU governors which limited the max cpu freq to 384 at boot. I have removed them and now the cpu clocks @ 11190 during boot.
I appreciate your work with the script. Its good, and I hope you will keep supporting my kernel in the future.
 @ktulu84
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Sent from my Moto G 2014 using Tapatalk
Is the kernel stable? i'm using cm12.1 for daily use and some of the kernels i've tried always gave me the problem where the logcat is spammed with something liek "failed to acquire lock" everytime i touched the screen, can someone report?
xeraphael said:
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Sent from my Moto G 2014 using Tapatalk
Click to expand...
Click to collapse
Yes I m aware... It will be improved in future versions.
However it does not matter much, Linux handles memory in a different way and will release appropriate ram when required. What really matters is whether you are getting a smooth experience or not.
xeraphael said:
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Click to expand...
Click to collapse
Yes, there are changes in that. As the OP said, it depends on the kernel. Since our device has 1024MB RAM, the remaining RAM gets allocated to Graphics, audio processing, etc. If you are familiar with it, its very similar to Intel & AMD's allocation of RAM to Graphic memory in computers.

[Mi5][KERNEL][HMP/MIUI][Linux 3.18.31] Floppy Kernel [RC1.3][13/01/18]

[Mi5][KERNEL][HMP/MIUI][Linux 3.18.31] Floppy Kernel [RC1.3][13/01/18]
{
"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"
}
Floppy is kernel for all custom rom based on LineageOS 14.1, 15.1 and Miui , support the Xiaomi Mi5
Code:
#include <disclaimer.h>
* Your warranty is now void. *
* No guaranteed this'll explode your device, be careful, follow the instructions ! *
*don't point at me if your alarm dies after flashing this kernel ! *
Based on Linux Kernel 3.18.31
Based on LineageOS Kernel
GCC Linaro 7.2.1, UBERTC 8.0, SaberMod 7.0 and Google 4.9
Governors: Impulse, Despair, Zzmove, Darkness, Blu_active, ElementalX, Interactive, Conservative, Ondemand, Powersave, Lionheart, Userspace, Bioshock, Alucard, Hyper, Wheatley, Nightmare, Dancedance, Adaptive, Pegasusq, Chill, Cafactive and Performance.
I/O Schedulers: Noop, Deadline, Cfq, Fiops, Bfq, Zen, Sio, Sioplus, Maple and Tripndroid.
Compiled with -Os
Full Linaro Optimizations ON
Optimized Parameters from L Speed @Paget96
Standard MSM8996 Frequency CPU | GPU for all variants - credits : whyorean
Overclock CPU Big core at 2265Mhz and Little core at 1728Mhz
Google Snappy Algorithm
ARM RWSEM Algorithm
Charge Control module - credits : xNombre
Wireless adapter (LIB80211, RTL8180, RTL8187, MAC80211, EEPROM: LEGACY, MAX6875, 93CX6, 93XX46)
Spectrum support
Kexec HardBoot support
Wireguard
Kernel Samepage Merging (KSM)
Dynamic File Sync and Asynchronous FIle Sync - credits : andip71 | Francisco Franco
Passing SafetyNet
[*] Frandom - Entropy Generator
USB OTG NTFS r/w Support
SYSInterface Gentle Fair Sleepers
[*] Some CFLAGS optimizations
Performance enhancements
OC Slimbus frequencies to provide better sound quality
Lazyplug - credits : arter97 | frap129
Backlight Dimmer
Arch Power saving - credits : kirananto | Cl3Kener
Adreno Idler- credits : arter97 | yarpiin
[*] Intelli-Thermal v3.0 - credits : faux123
Sound Control - credits : flar2 | me
Support f2fs, exfat, ntfs filesystem
Quick WakeUp Driver and power suspend 1.7 - credits : Paul Reioux | Jean-Pierre Rasquin | Francisco Franco
Support cpu boost, cpu input boost and fingerprint boost
MDSS color control (Kcal v2) - credits : flar2 | andip71
Sysfs interface to Enable/Disable CRC - credits : whyorean
[*] Sysfs interface CPU Vdd levels
Boeffla wl blocker v1.1.0: sensor_ind, msm_hsic_host, wlan_rx, wlan_ctrl, wlan, ipa, qcom rx and more - credits : Francisco Franco | andip71
Vibration Control Intensity
TCP Congestion Algorithms: Westwood (default), Reno, Bic, Highspeed, Hybla, HTCP, Vegas, Scalable, Lp, Yeah and Illinois.
And much more!
First time:
Reboot to recovery
Flash FloppyKernel.zip
Flash magisk (optional to get root)
Wipe cache e dalvik cache
Reboot
Update the kernel:
Reboot to recovery
Flash FloppyKernel.zip
Wipe cache e dalvik cache
Reboot
Coming from another kernel:
Reboot to recovery
Flash your ROM
Flash FloppyKernel.zip
Flash magisk (optional to get root)
Wipe cache e dalvik cache
Reboot
Floppykernel
FloppyKernel's Autonomous Builds
FloppyTeam
FloppyReleases
Donate here, if you like my work!!!
LineageOS
Mi5Devs
@GreekDragon
XDA:DevDB Information
FloppyKernel, Kernel for the Xiaomi Mi 5
Contributors
Jonas Cardoso, InsideMuz
Source Code: https://github.com/JonasCardoso/android_kernel_xiaomi_msm8996
Kernel Special Features: A magical support, I am all day here, reading the publications of the posts, ready to help in any doubt (unless you have not read the OP that contains the information that you need).
Version Information
Status: Stable
Current Stable Version: RC1.3
Stable Release Date: 2018-01-13
Created 2017-11-29
Last Updated 2018-08-20
RC1 - 28/11/2017
Changes from source "LineageOS/android_kernel_xiaomi_msm8996"
kernel: support for GCC 5, 6 and 7
cpufreq: added new governor
block: added new iosched
filesystem: add NTFS r/w support
power : power_suspend 1.7 - credits : Paul Reioux | Jean-Pierre Rasquin
sched: Add SysInterface for GENTLE_FAIR_SLEEPERS
int_sqrt: Improve 3x faster integer sqrt
sync: Dynamic Sync Control 2.0
fs: Async I/O latency to a ssd greatly increased, 34% gain (Creds: kl…
include: Set 1024KB as Max Read ahead - more performance now
thermal : intelli-Thermal v3.0
ASoC: wcd9335: Sound control
msm8996: all variants same clock
staging: Google Snappy
Power : Add Quick WakeUp Driver
cmdline: Safetynet
fs: add exfat support
cpufreq: show cpu voltages via sysfs 009a6c0
cpufreq: Add CPU Input Boost Driver : SultanXDA
cpufreq: cpu-boost: Optimizations
fs: Dynamic Sync Control 2.0 and MDSS color control
drivers: Slimbus Overclock
gemini: Enable All TCP Congestion Algorithms
OC : Standard MSM8996 Frequency CPU | GPU
devfreq : Add Adreno Idler
cpufreq: add fingerprintboost and lazyplug
drivers: intelli-Thermal v3.0
version: floppykernel RC1
RC1.1 - 10/12/2017
SoundControl: fixed speaker \o/
ramdisk: add tweaks on init.floppy.rc
char: disabled frandom
gemini: enabled ksm
gcc: support gcc 7.x and 8.0 (Linaro and UBERTC)
zip-creator: add spectrum support
drivers: misc: implement usb fast charge mode
version: floppykernel RC1.1 62e569c
zip-creator: delete zip build 8ae3d63
RC1.2 - 27/12/2017
android: binder
ALSA: compress: Add DSD format support for ALSA
ALSA: compress: Add APTX format support in ALSA
firmware: Update synaptic
firmware: Update fte8716
spectrum: don't change clock cpu
kernel: added support to lithium
kernel: added support to natrium
kernel: added support to scorpio
msm8996: Overclocking frequencies
msm: qdsp6v2: Allow 320K AAC encoding
Add Kexec HardBoot Support
Revert "drivers: intelli-Thermal v3.0"
Merge tag 'LA.UM.5.5.r1-06400-8x96.0' into HEAD
drivers: staging: Update qcacld-2.0 driver
version: floppykernel rc1.2
build.sh: update device.prop
defconfig: CPU and GPU more battery-friendly
wakeup: More Wakelocks
RC1.3 - 13/01/2018
zip-creator: update AnyKernel2
build.sh: update device.prop
defconfig: CPU and GPU more battery-friendly
zip-creator: update AnyKernel Setup
wakeup: More Wakelocks
msm: mdss: kcal: Add KCAL support for post processing control [v2] 6b40a22
zram: LZ4 after LZ0
block: Add Maple I/O Scheduler
zip-creator: Patch to remove dm-verity
gcc8: fix warnings
defconfig: Wireless Adapter
net/wireguard: add wireguard importer
zip-creator: device check
dtbTool: now dtbTool will be built
travis: GitHub Release
zip-creator: update patchs
boeffla_wl_blocker: update to wakelock blocker driver v1.1.0 3efdcbf
defconfig: enable lazyplug a9785fe
defconfig: enable adreno idler a5d0558
cpufreq : Add Chill CPU Governor - credits : Joe Maples (@frap129) 6d26826
cpufreq: Add CAF-Active Governer - credits : Jean-Pierre Rasquin 4ba764b
version: floppykernel rc1.3 34479b6
travis: deploy in lineage-14.1 branch e5f4308
Frequently asked questions
Q: Will this conflict with any mod I'm using?
A: As long as it doesn't have any entropy related stuff, its okay. Since the kernel already comes with an inbuilt entropy generator, it will conflict with the ones from mod, causing a poor, stuttered performance!
Q: Deep Sleep isnt working for me, Google Services causing wake-locks, what to do?
A: Go to settings, Privacy, Privacy Guard, All apps, long press Google Services, and deny/disable wake-locks! (Thanks to @Paget96 for the solution)
Q: Which version should I flash?
A: Flash kernel with toolchain that you prefer.
Q: What is the difference between the UBERTC, Linaro, SaberMod and Google toolchain? Which one is the best?
A: It's a good read on the toolchain UBERTC you are wanting to know more about it, this for Linaro, this for SaberMod and this for Google.
Q: What is the difference between the HMP and Miui kernel?
A: Miui folder is for miui roms -> xiaomi.eu, MiuiBR and other derivatives from miui official. HMP folder is for aosp rom and derivatives -> Aosp, Lineage and other derivatives from aosp
Q: Is your kernel secure?
A: You MAY face some issues, but it's safe! My cell phone has not exploded yet.
Q: WiFi doesnt work for me.
A: Reflash ROM and Kernel.
Q: All variants of the Xiaomi Mi5 have the same CPU and GPU clock?
A: Yeeh.
Q: I have problems with the sound control of the speaker and microphone
A: Yeeh, I have too, bugs today, bugs tomorrow, bugs forever.
Q: What application can I use to configure the kernel?
A: Use Spectrum, and if you have enough knowledge of what to modify or do in the application use together Kernel Adiutor.
Q: Can I use the kernel source in my ROM?
A: If you want to use my kernel in your ROM, just put my name in the credit, just like I did.
Q: Does your kernel support writing to the NTFS file system?
A: Yeeh, you can use flash drives and HD with NTFS via OTG.
Q: My cpu clock is locked in 1190Mhz with any governor.
A: Just disable the thermal control in the kernel temperature settings.
Q: I have problems with your kernel.
A: Take a logcat and kmesg, this website and this video should help you
Q: Why does my magisk and root disappear after installing your kernel?
A: The kernel script makes changes that directly interfere with both, reinstall the magisk that it will function normally, follow this installation line always: FloppyKernel -> Magisk -> Reboot system.
Q: Does your kernel support Miui ROM?
A: Yes, support was added in "RC1.1".
Q: What is the "Battery" profile in the spectrum?
A: Based on Project Zhana & X.A.N.A was made for trying to be as efficient as possible without compromising the performance. Thanks to the discovery on Voltages used by our SD820 I could make a profile that utilizes more the BIG cluster. My first attempt was to move ALL the load to the BIG cluster, it was against anything that I have learned about little. BIG CPU but I tried, it turned really good at first, low usage was just amazing... But on more usage things didn't go that good. So what I did it was to give a twist to things, but not such twist. It kind of works like Nameless and Shotgun, Mostafa Wael and I worked the same idea. #LITTLE cluster will be running on low-mid frequencies but delivers full performance when is needed. # BIG Cluster will help LITTLE ease Load, but in a great way than before. Things can be done faster and more efficient giving us profit in form of battery. It should run smooth on all scenarios, but you guys tell me. You can easily get around 7~9 hours SOT for 24 hours even more If you don't play game. This will, of course, may vary, but it will definitely be better.
Q: What is the "Balanced" profile in the spectrum?
A: Based on GhostPepper was made to uses a quantized, frequency-aligned parametric curve to influence low core clock rates while providing extremely smooth transitions from each clock rate and exceptional battery life. Really well-defined clock speed escalation for a good battery and performance.
Q: What is the "Performance" profile in the spectrum?
A: Based on FusionP this profile brings a more "agressive" way to scale frequencies. It will scale frequencies sooner(regarding load values from cpu) and will use more the big cluster to provide more performance doing the tasks on hands. Battery should not take a big hit but using heavy demanding tasks you can expect a higher drain.
Q: What is the "Gaming" profile in the spectrum?
A: Based on Burnout PR5, this profile's main goal is to provide absolute maximum performance when needed, but lies low quite well. You see, some times I see the CPU hitting some of the high freqs of 1190 while making something as simple as watching YouTube or playing some spotify tracks needlessly, and sometimes I feel it is a bit slower than it should be in things like brute multitasking. Most profiles do aim at bringing a mid-ground to rest on. But with the sensible words of one of my favourite idols Jeremy Clarkson, he says 'Power solves everything' and right he is. By eliminating the mid freqs of the Little cluster and efficiently using some specific frequency steps, you get some power savings by staying on lower freqs as much as possible, and even on brutal tasks you get the job done faster as well, since the CPU will give you all the power to finish the job as fast as it can, and hit back to idle faster.
Q: I want more information about your spectrum profiles.
A: Read this thread.
Q: I want more information about governors, I/O Scheduler, Hotplug, TCP Algorithms and other things.
A: Read this thread.
Thx to @musabcel
Antutu Benchmark​
Geekbench
It seems a very nice kernel, big up for the dev, Im hoping that this kernel will be updated for Oreo?
Francesco0301 said:
It seems a very nice kernel, big up for the dev, Im hoping that this kernel will be updated for Oreo
Click to expand...
Click to collapse
I'm just waiting for the Oreo ROMs become more stable
Im following you from your L7 development times. And i have l7 and mi5. Now im using jdc oreo but i will install LOS for try your work. I hope you will continue your work for oreo.
Wich is better, Linaro Or UBERTC?
What's the difference between linaro and ubertc?
hi.. I'm was installed Linero version for my Mi5pro. i have questions.
- why my model phone goes to Samsung Galaxy Note 7.
- my magisk root gone, after intalled these kernel version.
Thanks.
roomraditz said:
hi.. I'm was installed Linero version for my Mi5pro. i have questions.
- why my model phone goes to Samsung Galaxy Note 7.
- my magisk root gone, after intalled these kernel version.
Thanks.
Click to expand...
Click to collapse
First question: idk, my model phone is normal, Mi5, try install boot.img and after kernel, are you using any modifications ?
Second question: normal, after install kernel magisk gone, you have to install again, because in the installation it is lost
Good to see new kernel ?? will flash and try
miui support ?
Linaro or UBERTC?
I use the version with Linaro and I am very satisfied, I recommend that you test both versions and see which one is best for you
gunnered14 said:
miui support ?
Click to expand...
Click to collapse
No, dont try flash this, is only for aosp, LOS and its variants
Jonas Cardoso said:
First question: idk, my model phone is normal, Mi5, try install boot.img and after kernel, are you using any modifications ?
Second question: normal, after install kernel magisk gone, you have to install again, because in the installation it is lost
Click to expand...
Click to collapse
thank you, that problem solved. and can you explain difference Liberio and Ubertcc.. ?.
thank you so much for this kernel. Smooth and good battery
hope you keep dev this kernel
roomraditz said:
thank you, that problem solved. and can you explain difference Liberio and Ubertcc.. ?.
Click to expand...
Click to collapse
Here
i'm use u'r kernel since this thread open.
I use ubertc version, it's very smooth.. but sometimes my device freeze, but no problem at all coz the true culprit is magisk magic charging module..
but just now im trying linaro build.. i hope no problem like ubertc build..
Im suggesting fast charging module bro like dragonxia 3.8 OC..
Don't work with Miui rom ?
Envoyé de mon MI 5 en utilisant Tapatalk

[MiNote2][KERNEL][HMP/MIUI][Linux 3.18.31] Floppy Kernel [RC1.3][13/01/18]

{
"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"
}
Floppy is kernel for all custom rom based on LineageOS 14.1, 15.1 and Miui , support the Xiaomi Mi Note 2
Code:
#include <disclaimer.h>
* Your warranty is now void. *
* No guaranteed this'll explode your device, be careful, follow the instructions ! *
*don't point at me if your alarm dies after flashing this kernel ! *
Based on Linux Kernel 3.18.31
Based on LineageOS Kernel
GCC Linaro 7.2.1, UBERTC 8.0, SaberMod 7.0 and Google 4.9
Governors: Impulse, Despair, Zzmove, Darkness, Blu_active, ElementalX, Interactive, Conservative, Ondemand, Powersave, Lionheart, Userspace, Bioshock, Alucard, Hyper, Wheatley, Nightmare, Dancedance, Adaptive, Pegasusq, Chill, Cafactive and Performance.
I/O Schedulers: Noop, Deadline, Cfq, Fiops, Bfq, Zen, Sio, Sioplus, Maple and Tripndroid.
Compiled with -Os
Full Linaro Optimizations ON
Optimized Parameters from L Speed @Paget96
Google Snappy Algorithm
ARM RWSEM Algorithm
Charge Control module - credits : xNombre
Wireless adapter (LIB80211, RTL8180, RTL8187, MAC80211, EEPROM: LEGACY, MAX6875, 93CX6, 93XX46)
Spectrum support
Kexec HardBoot support
Wireguard
Kernel Samepage Merging (KSM)
Dynamic File Sync and Asynchronous FIle Sync - credits : andip71 | Francisco Franco
Passing SafetyNet
[*] Frandom - Entropy Generator
USB OTG NTFS r/w Support
SYSInterface Gentle Fair Sleepers
[*] Some CFLAGS optimizations
Performance enhancements
OC Slimbus frequencies to provide better sound quality
Lazyplug - credits : arter97 | frap129
Backlight Dimmer
Arch Power saving - credits : kirananto | Cl3Kener
Adreno Idler- credits : arter97 | yarpiin
[*] Intelli-Thermal v3.0 - credits : faux123
Support f2fs, exfat, ntfs filesystem
Quick WakeUp Driver and power suspend 1.7 - credits : Paul Reioux | Jean-Pierre Rasquin | Francisco Franco
Support cpu boost, cpu input boost and fingerprint boost
MDSS color control (Kcal v2) - credits : flar2 | andip71
Sysfs interface to Enable/Disable CRC - credits : whyorean
[*] Sysfs interface CPU Vdd levels
Boeffla wl blocker v1.1.0: sensor_ind, msm_hsic_host, wlan_rx, wlan_ctrl, wlan, ipa, qcom rx and more - credits : Francisco Franco | andip71
Vibration Control Intensity
TCP Congestion Algorithms: Westwood (default), Reno, Bic, Highspeed, Hybla, HTCP, Vegas, Scalable, Lp, Yeah and Illinois.
And much more!
First time:
Reboot to recovery
Flash FloppyKernel.zip
Flash magisk (optional to get root)
Wipe cache e dalvik cache
Reboot
Update the kernel:
Reboot to recovery
Flash FloppyKernel.zip
Wipe cache e dalvik cache
Reboot
Coming from another kernel:
Reboot to recovery
Flash your ROM
Flash FloppyKernel.zip
Flash magisk (optional to get root)
Wipe cache e dalvik cache
Reboot
Floppykernel
FloppyKernel's Autonomous Builds
FloppyTeam
FloppyReleases
Donate here, if you like my work!!!
LineageOS
Mi5Devs
@GreekDragon
XDA:DevDB Information
Floppy Kernel, Kernel for the Xiaomi Mi Note 2
Contributors
Jonas Cardoso, InsideMuz
Source Code: https://github.com/JonasCardoso/android_kernel_xiaomi_msm8996
Kernel Special Features: A magical support, I am all day here, reading the publications of the posts, ready to help in any doubt (unless you have not read the OP that contains the information that you need).
Version Information
Status: Stable
Current Stable Version: RC1.3
Stable Release Date: 2018-01-13
Created 2018-01-08
Last Updated 2018-08-20
RC1 - 28/11/2017
Changes from source "LineageOS/android_kernel_xiaomi_msm8996"
kernel: support for GCC 5, 6 and 7
cpufreq: added new governor
block: added new iosched
filesystem: add NTFS r/w support
power : power_suspend 1.7 - credits : Paul Reioux | Jean-Pierre Rasquin
sched: Add SysInterface for GENTLE_FAIR_SLEEPERS
int_sqrt: Improve 3x faster integer sqrt
sync: Dynamic Sync Control 2.0
fs: Async I/O latency to a ssd greatly increased, 34% gain (Creds: kl…
include: Set 1024KB as Max Read ahead - more performance now
thermal : intelli-Thermal v3.0
ASoC: wcd9335: Sound control
msm8996: all variants same clock
staging: Google Snappy
Power : Add Quick WakeUp Driver
cmdline: Safetynet
fs: add exfat support
cpufreq: show cpu voltages via sysfs 009a6c0
cpufreq: Add CPU Input Boost Driver : SultanXDA
cpufreq: cpu-boost: Optimizations
fs: Dynamic Sync Control 2.0 and MDSS color control
drivers: Slimbus Overclock
gemini: Enable All TCP Congestion Algorithms
OC : Standard MSM8996 Frequency CPU | GPU
devfreq : Add Adreno Idler
cpufreq: add fingerprintboost and lazyplug
drivers: intelli-Thermal v3.0
version: floppykernel RC1
RC1.1 - 10/12/2017
SoundControl: fixed speaker \o/
ramdisk: add tweaks on init.floppy.rc
char: disabled frandom
gemini: enabled ksm
gcc: support gcc 7.x and 8.0 (Linaro and UBERTC)
zip-creator: add spectrum support
drivers: misc: implement usb fast charge mode
version: floppykernel RC1.1 62e569c
zip-creator: delete zip build 8ae3d63
RC1.2 - 27/12/2017
android: binder
ALSA: compress: Add DSD format support for ALSA
ALSA: compress: Add APTX format support in ALSA
firmware: Update synaptic
firmware: Update fte8716
spectrum: don't change clock cpu
kernel: added support to lithium
kernel: added support to natrium
kernel: added support to scorpio
msm8996: Overclocking frequencies
msm: qdsp6v2: Allow 320K AAC encoding
Add Kexec HardBoot Support
Revert "drivers: intelli-Thermal v3.0"
Merge tag 'LA.UM.5.5.r1-06400-8x96.0' into HEAD
drivers: staging: Update qcacld-2.0 driver
version: floppykernel rc1.2
build.sh: update device.prop
defconfig: CPU and GPU more battery-friendly
wakeup: More Wakelocks
RC1.3 - 13/01/2018
zip-creator: update AnyKernel2
build.sh: update device.prop
defconfig: CPU and GPU more battery-friendly
zip-creator: update AnyKernel Setup
wakeup: More Wakelocks
msm: mdss: kcal: Add KCAL support for post processing control [v2] 6b40a22
zram: LZ4 after LZ0
block: Add Maple I/O Scheduler
zip-creator: Patch to remove dm-verity
gcc8: fix warnings
defconfig: Wireless Adapter
net/wireguard: add wireguard importer
zip-creator: device check
dtbTool: now dtbTool will be built
travis: GitHub Release
zip-creator: update patchs
boeffla_wl_blocker: update to wakelock blocker driver v1.1.0 3efdcbf
defconfig: enable lazyplug a9785fe
defconfig: enable adreno idler a5d0558
cpufreq : Add Chill CPU Governor - credits : Joe Maples (@frap129) 6d26826
cpufreq: Add CAF-Active Governer - credits : Jean-Pierre Rasquin 4ba764b
version: floppykernel rc1.3 34479b6
travis: deploy in lineage-14.1 branch e5f4308
Frequently asked questions
Q: Will this conflict with any mod I'm using?
A: As long as it doesn't have any entropy related stuff, its okay. Since the kernel already comes with an inbuilt entropy generator, it will conflict with the ones from mod, causing a poor, stuttered performance!
Q: Deep Sleep isnt working for me, Google Services causing wake-locks, what to do?
A: Go to settings, Privacy, Privacy Guard, All apps, long press Google Services, and deny/disable wake-locks! (Thanks to @Paget96 for the solution)
Q: Which version should I flash?
A: Flash kernel with toolchain that you prefer.
Q: What is the difference between the UBERTC, Linaro, SaberMod and Google toolchain? Which one is the best?
A: It's a good read on the toolchain UBERTC you are wanting to know more about it, this for Linaro, this for SaberMod and this for Google.
Q: What is the difference between the HMP and Miui kernel?
A: Miui folder is for miui roms -> xiaomi.eu, MiuiBR and other derivatives from miui official. HMP folder is for aosp rom and derivatives -> Aosp, Lineage and other derivatives from aosp
Q: Is your kernel secure?
A: You MAY face some issues, but it's safe! My cell phone has not exploded yet.
Q: WiFi doesnt work for me.
A: Reflash ROM and Kernel.
Q: What application can I use to configure the kernel?
A: Use Spectrum, and if you have enough knowledge of what to modify or do in the application use together Kernel Adiutor.
Q: Can I use the kernel source in my ROM?
A: If you want to use my kernel in your ROM, just put my name in the credit, just like I did.
Q: Does your kernel support writing to the NTFS file system?
A: Yeeh, you can use flash drives and HD with NTFS via OTG.
Q: My cpu clock is locked with any governor.
A: Just disable the thermal control in the kernel temperature settings.
Q: I have problems with your kernel.
A: Take a logcat and kmesg, this website and this video should help you
Q: Why does my magisk and root disappear after installing your kernel?
A: The kernel script makes changes that directly interfere with both, reinstall the magisk that it will function normally, follow this installation line always: FloppyKernel -> Magisk -> Reboot system.
Q: Does your kernel support Miui ROM?
A: Yes, support was added in "RC1.2".
Q: Why did your kernel go straight to "RC1.2"?
A: Because it is based on the FloppyKernel for MI5, which is already in RC1.2.
Q: What is the "Battery" profile in the spectrum?
A: Based on Project Zhana & X.A.N.A was made for trying to be as efficient as possible without compromising the performance. Thanks to the discovery on Voltages used by our SD820 I could make a profile that utilizes more the BIG cluster. My first attempt was to move ALL the load to the BIG cluster, it was against anything that I have learned about little. BIG CPU but I tried, it turned really good at first, low usage was just amazing... But on more usage things didn't go that good. So what I did it was to give a twist to things, but not such twist. It kind of works like Nameless and Shotgun, Mostafa Wael and I worked the same idea. #LITTLE cluster will be running on low-mid frequencies but delivers full performance when is needed. # BIG Cluster will help LITTLE ease Load, but in a great way than before. Things can be done faster and more efficient giving us profit in form of battery. It should run smooth on all scenarios, but you guys tell me. You can easily get around 7~9 hours SOT for 24 hours even more If you don't play game. This will, of course, may vary, but it will definitely be better.
Q: What is the "Balanced" profile in the spectrum?
A: Based on GhostPepper was made to uses a quantized, frequency-aligned parametric curve to influence low core clock rates while providing extremely smooth transitions from each clock rate and exceptional battery life. Really well-defined clock speed escalation for a good battery and performance.
Q: What is the "Performance" profile in the spectrum?
A: Based on FusionP this profile brings a more "agressive" way to scale frequencies. It will scale frequencies sooner(regarding load values from cpu) and will use more the big cluster to provide more performance doing the tasks on hands. Battery should not take a big hit but using heavy demanding tasks you can expect a higher drain.
Q: What is the "Gaming" profile in the spectrum?
A: Based on Burnout PR5, this profile's main goal is to provide absolute maximum performance when needed, but lies low quite well. You see, some times I see the CPU hitting some of the high freqs of 1190 while making something as simple as watching YouTube or playing some spotify tracks needlessly, and sometimes I feel it is a bit slower than it should be in things like brute multitasking. Most profiles do aim at bringing a mid-ground to rest on. But with the sensible words of one of my favourite idols Jeremy Clarkson, he says 'Power solves everything' and right he is. By eliminating the mid freqs of the Little cluster and efficiently using some specific frequency steps, you get some power savings by staying on lower freqs as much as possible, and even on brutal tasks you get the job done faster as well, since the CPU will give you all the power to finish the job as fast as it can, and hit back to idle faster.
Q: I want more information about your spectrum profiles.
A: Read this thread.
Q: I want more information about governors, I/O Scheduler, Hotplug, TCP Algorithms and other things.
A: Read this thread.
Hi! I tried the new version of the kernel on mi-globe 7.12.21 rom with twrp 3.2.1 .
I think i am doing something wrong as it does not boot, even if i install the latest magisk v15.
It gets to the boot image and then it shuts down the phone.
Then i reinstall mi-globe rom that comes with the stock kernel and it is fine.
alexmanu1 said:
Hi! I tried the new version of the kernel on mi-globe 7.12.21 rom with twrp 3.2.1 .
I think i am doing something wrong as it does not boot, even if i install the latest magisk v15.
It gets to the boot image and then it shuts down the phone.
Then i reinstall mi-globe rom that comes with the stock kernel and it is fine.
Click to expand...
Click to collapse
Try with version 7.11.19
Jonas Cardoso said:
Try with version 7.11.19
Click to expand...
Click to collapse
Pretty strange. It was from the mi-globe rom . I installed xiaomi.eu's version 7.12.21 and it's working. Testing it and i'll come back with feedback if needed.
none of the versions dont work on miuipro , would be nice if it worked,.. thanks
nofx161 said:
none of the versions dont work on miuipro , would be nice if it worked,.. thanks
Click to expand...
Click to collapse
Can you get log?
Jonas Cardoso said:
Can you get log?
Click to expand...
Click to collapse
Doesn't even start the rom..
@Jonas Cardoso I've a question, could you compile WiFi monitor mode with your kernel? Its a tool which let's you capture wifi packages, and enables to use tools like pcap for android.
Thanks in advance.
UnknowenDev said:
@Jonas Cardoso I've a question, could you compile WiFi monitor mode with your kernel? Its a tool which let's you capture wifi packages, and enables to use tools like pcap for android.
Thanks in advance.
Click to expand...
Click to collapse
Do you have the necessary changes for this? I do not know this feature
Thanks for the custom kernel!
Is it overclocked?
Control with kernel auditor, or can you suggest a better app?
Knz7777 said:
Thanks for the custom kernel!
Is it overclocked?
Control with kernel auditor, or can you suggest a better app?
Click to expand...
Click to collapse
Yeeh, is with OC in CPU, can you get a screen the table clocks with kernel adiutor for me?
Use spectrum for configure kernel, have four profiles and kernel adiutor if necessary
Jonas Cardoso said:
Yeeh, is with OC in CPU, can you get a screen the table clocks with kernel adiutor for me?
Use spectrum for configure kernel, have four profiles and kernel adiutor if necessary
Click to expand...
Click to collapse
Im currently waiting for the device, when it will be in my hands, i will do it. Im planning to use miui.pro with your kernel.
---------- Post added at 02:36 PM ---------- Previous post was at 02:32 PM ----------
And i tried to read about different types of compiling, still i cant understand what to download) ubertc, linaro?) Is there any difference for thr enduser?
Jonas Cardoso said:
Do you have the necessary changes for this? I do not know this feature
Click to expand...
Click to collapse
Here you go: https://null-byte.wonderhowto.com/h...android-device-with-wireless-adapter-0162943/
UnknowenDev said:
Here you go: https://null-byte.wonderhowto.com/h...android-device-with-wireless-adapter-0162943/
Click to expand...
Click to collapse
build with this feature
Knz7777 said:
Im currently waiting for the device, when it will be in my hands, i will do it. Im planning to use miui.pro with your kernel.
---------- Post added at 02:36 PM ---------- Previous post was at 02:32 PM ----------
And i tried to read about different types of compiling, still i cant understand what to download) ubertc, linaro?) Is there any difference for thr enduser?
Click to expand...
Click to collapse
miui pro dont work with my kernel
Jonas Cardoso said:
build with this feature
Click to expand...
Click to collapse
Thank you very much, I'm usually to lazy to rebuild a kernel by myself and since I love your kernel I asked you.
Thank you! ?
UnknowenDev said:
Thank you very much, I'm usually to lazy to rebuild a kernel by myself and since I love your kernel I asked you.
Thank you!
Click to expand...
Click to collapse
I await feedback if the feature worked
Jonas Cardoso said:
miui pro dont work with my kernel
Click to expand...
Click to collapse
Will you fix it?

[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