[MiNote2][KERNEL][HMP/MIUI][Linux 3.18.31] Floppy Kernel [RC1.3][13/01/18] - Xiaomi Mi Note 2 ROMs, Kernels, Recoveries, & Oth

{
"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?

Related

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

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

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.

[KERNEL] [CM13/14.1/LINEAGE - AOSP] // [13.12.16]decipher // UPDATED

disclaimer
-- 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.
*/
I'm not a developer, I'm only contributing to the community with MY custom kernel, hope you enjoy it.
{
"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"
}
decipher_kernel​
Introduction
Based on stock CM 12.1 kernel and modified for a more IN CONTROL user experience, Kernel includes many features and upgrades not found in stock, Stability is the number one priority. Now, CM13 is supported (it's still the same as CM12 kernel, with new upgrades). Simple-CM kernel will be discontinued (it will remain in OP), decipher kernel is a lot more stable, especially MPB.
Main features
Hotplugs:
IntelliPlug 4.0
Bricked hotplug
MSM Hotplug
AutoSMP
Governors:
Yankactive
Impulse
IntelliActive
IntelliDemand
ZZMoove
BioShock
+ all CM defaults
IO Schedulers:
bfq
sio
zen
tripndroid
+ all CM defaults
Other Features
Advanced TCP congestions
Sound Control
Frandom
KCAL control
Adreno idler
Dynamic Fsync toggle
Kernel mode: NEON
SElinux mode: Permissive
KEXEC support
Enable headset in high performance
Powersuspend modes
GPU UC/OC
Simple-CM​
Introduction
Ok, so here it is, this is probably the closest to stock CM kernel, I've included only the most essential features, this means no extra CPU governors/IO schedulers/Hotplugs. So it's basically stable CM stock kernel with a few added features to have a little more control. You can see github to view the changes.
For those who are considered about battery life; this will give you same battery as stock CM and it's ok for two reasons:
1. Under clocking to save power is useless below 787200.
Remember when on stock kitkat your default "low" frequency was 787200? well it was for a reason.
2. Frequency's below 787200 consume the same power as 787200. The same goes for frequency's above 787200, so ideally we would get optimal performance with just using 2 frequencys, 787200 and 1190400..
Main features
Hotplugs:
mpdecision
Governors:
all CM defaults
IO Schedulers:
all CM defaults
Other Features
UBER toolchain GCC 4.9.4
KCAL control
GPU UC/OC
KEXEC support
Permissive
Install Instructions​
download latest version of the zip
reboot recovery
make sure you are on stock CM kernel before flashing for the first time, if not then proceed to wipe system partition and flash CM/AOSP ROM.
install ANY VERSION OF DECIPHER kernels
if upgrading, proceed to flash normal way.
wiping dalvik is not necessary in any case.
Downloads
GOOGLE DRIVE​
Thanks To/Credits
Code:
* CyanogenMod
* osm0sis
* savoca
* faux123
* neobuddy89
* ZaneZam
* Zakee94
* Flashhhh
* arter97
* Hurtsky
* mrg666
* many more
XDA:DevDB Information
decipher_kernel, Kernel for the Moto G 2014
Contributors
-decipher-
Source Code: https://github.com/decipher90
Kernel Special Features: MSM Hotplug, Bricked Hotplug, Awesome Governors, IO schedulers, KCAL control, Neon mode, Sound control.
Version Information
Status: Stable
Current Stable Version: [CM13][13.12.16]
Stable Release Date: 2016-12-13
Created 2015-07-31
Last Updated 2017-01-29
Latest Change-logs
13.12.16:
[CM14.1][13.12.16]decipher // MPB
merge CM changes
Major tweak script changes
bioshock lag fix attempt #1
Older Change-logs
16.11.16:
[CM13][CM14.1][16.11.16]decipher // MPB
merge CM changes
minor installer script changes
VM improvements
06/11/16:
[CM13][2016-11-06]decipher // MPB
merge CM changes
minor script changes for MPB
24/10/16:
[CM13][031016]decipher // MPB
merge CM changes
03/10/16:
[CM13][031016]decipher // MPB
installer script changes
back to msm mpdesicion hotplug as default
disable slice idle for BFQ and CFQ (this parameter is meant for rotational storage)
silence some logs
Linux patch-3.4.100 (skipped a few, LOL)
Added Auto SMP hotplug driver to both kernel versions (might be removed from MPB later)
09/09/16:
[CM13][240816]decipher // MPB
merge CM kernel updates
bioshock as default governor
Intelliplug as default Hotplugging driver
Installer script completely tweaks the kernel for a balanced profile
24/08/16:
[CM13][240816]decipher // MPB
merge CM changes
updated default configuration files as per CM.
yankactive is now more battery friendly
Installer script sets yankactive as default gov (for now)
12/08/16:
[CM13][120816]decipher // MPB
merge CM changes
New script sets 787200 Hz as the default frequency.
Reduced Bricked hotplug start delay + fewer checks + Idle frequency is now 787200
tuned Intelliplug hysteresis value for better battery.
02/08/16:
[CM13][020816]decipher // MPB
merge CM changes
22/06/16:
[CM13][220616]decipher // MPB
toolchain updated
compiled from scratch
merge CM changes
11/06/16:
[CM13][110616]decipher // MPB
merge CM changes
23/05/16:
[CM13][230516]decipher // MPB
fix low volume issue introduced in last update
21/05/16:
[CM13][210516]decipher // MPB
merge CM changes
10/05/16:
[CM13][100516]decipher // MPB
merge CM changes
30/04/16:
[CM13][300416]decipher // MPB
Update toolchains
Update defconfigs
merge CM changes
03/04/16:
[CM13][030416]decipher // MPB
merge CM changes
26/03/16:
[CM13][260316]decipher
merge CM changes
20/03/16:
[CM13][200316]decipher
merge CM changes
vibrator tweaks
B]04/03/16: [/B]
[CM13][040316]decipher
UBER TC updates
14/02/16:
[CM13][140216]decipher
incorporate new drivers for /drivers/staging/prima (wlan and WiFi)
merge cm changes
10/02/16:
[CM13][100216]decipher
updated defconfigs
TripNdroid IO is back
simple GPU algorithm (off by default)
headphone_pa_gain added to sound Control (only tunable with Faux sound APP)
01/02/16:
[CM13][010216]decipher
updated defconfigs
merge latest CM changes
11/01/16:
[CM13][110116]decipher
completely Rebuilt FROM SCRATCH (again)
debloated the kernel
update to latest CM sources (7 pages of 35 commits per page of updates)
29/12/2015:
[CM13][291215]decipher
completely Rebuilt FROM SCRATCH
Overhauled the custom defconfigs > applied Google recommended settings..
update to latest CM sources
tons of futex updates
Fix high load average from uninterruptible waits
Add current consumption values used by cpufreq_stats
VM fixes and updates
ARM updates
bring back old CPU governors.
selinux fixes and updates
TONS of enhancements and upgrades
23/12/2015:
[CM13][231215]decipher
Linux kernel version 3.4.42
merge CM13 updates to 22/12/15
Wiimote is now supported (thanks CM)
Enable CONFIG_UID_CPUTIME
The latest doze feature should now be supported (thanks Luk and luca)
ARM updates
TONS of enhancements and upgrades (not kidding)
21/12/2015:
[211215]decipher
ARM updates
miscellaneous enhancements and upgrades
30/11/2015:
[301115]decipher
merge CM changes
remove KSM (kernel same page merging)
miscellaneous enhancements and upgrades
20/11/2015:
[201115]decipher
Linux version 3.4.110
many enhancements to cpu and mach-msm code
implement USB fast charge
many ARM updates
miscellaneous enhancements and upgrades
12/11/2015:
[121115]simple-CM
merge CM changes
[121115]decipher
merge CM changes
ARM updates
silent some log
VM updates
power: Disable IRQ wake-up when disabling the IRQ
31/10/2015:
[151031]simple-CM
merge CM changes
[151031]decipher
merge CM changes
various CPU and GPU improvements
disable smartmax/ Intellimm CPU govs
disable VR IO scheduler (ZEN is an improved version of VR)
Miscellaneous upgrades/fixes
22/10/2015:
[151022]simple-CM
update install scripts not nuking the new powerhal binary
[151022]decipher
update install scripts not nuking the new powerhal binary
bring back headphone_pa_gain
disabled advanced TCP congestion except westwood
disabled userspace/ondemand/conservative CPU governors
17/10/2015:
[151017]simple-CM
Miscellaneous upgrades
[151017]decipher
implement BioShock CPU governor
tune bricked hotplug once more
tune some CPU govs responsiveness (intellidemand/intellimm/zzmoove)
set default profile (8) zzperf for zzmoove
sound control: remove headphone_pa_gain (was not working)
Miscellaneous upgrades
10/10/2015:
[151010]simple-CM
Introduce NEW VERSION (simple-CM) details here.
UBER toolchain GCC 4.9.4
KCAL control
GPU UC/OC
KEXEC support
Permissive
[151010]decipher
merge CM changes
tune bricked hotplug to be more aggressive
tune some CPU governors
VM upgrades
04/10/2015:
[151004]decipher_v7
Merge CM changes
switch to UBER toolchain GCC 4.9.4
Bring back MSM hotplug (should not cause those extremely rare reboots now)
many ARM updates
Switch to -O3 flag (more optimizations in compilation)
implement RWSEM algorithm (experimental, may go away)
implement unaligned memory access capability for ARM
plus many more updates (check git)
[151004]simple_v6
ALL decipher_v7 updates (except MSM hotplug)
30/9/2015:
decipher_simple_v5.1 + decipher_kernel_v6.1
bump to Linux kernel v3.4.109
entropy tweaks
18/9/2015:
decipher_simple_v5
merge CM changes
new and improved BFQ IO
removed smartmax CPU gov (improved interactive is better)
removed SIO + ZEN (no longer necessary)
removed Intelliplug 4.0 (bricked hotplug can easily replace it)
as simple as it gets
decipher_kernel_v6
merged CM changes
new and improved BFQ IO
13/9/2015:
decipher_simple_v4
completely based on decipher_kernel now (many updates)
rebuilt from scratch
7/9/2015:
decipher_kernel_v5.3
stability improvements
disable simple_GPU (adreno idler is better)
disable Intellithermal (default thermal engine is more stable, intellithermal can cause some problems with frequency's)
1/9/2015:
decipher_simple_v3.2 + decipher_kernel_v5.2
merge CM changes
implement adreno_idler by arter97
23/8/2015:
decipher_simple_v3.1 + decipher_kernel_v5.1
merge CM changes (many)
16/8/2015:
decipher_simple_v3
switch toolchain to Linaro 5.1 optimized for cortex-a7 CPU
replace Intelliactive with newest ZZMoove 1.0 beta8 for SNAPDRAGON (tested)
decipher_kernel_v5
switch toolchain to Linaro 5.1 optimized for cortex-a7 CPU
add newest ZZMoove 1.0 beta8 for SNAPDRAGON (tested)
10/8/2015:
decipher_simple_v2.1
add KEXEC support
9/8/2015:
decipher_simple_v2
enable kernel mode:NEON
Headset in high performance
audio optimizations
ARM Cortex-A7 optimizations
decipher_kernel_v4
ARM Cortex-A7 optimizations
merged CM changes
7/8/2015:
decipher_simple_v1 initial release
3/8/2015:
Add IntelliActive governor (tested)
Add IntelliDemand governor (tuned+tested)
Remove MSM hotplug (causing random reboots if wrong values were tampered with)
Add IntelliPlug 4.0 by faux123
1/8/2015:
Enable KEXEC support
Tripndroid IO scheduler
Optimized zen IO scheduler for android
Fixed battery draining even in deep sleep (former CM bug)
Merged CM changes
31/7/2015:
initial release v1
FAQ
what's the difference in this kernel?
decipher_kernel will focus mainly on stability, before each update the kernel undergoes heavy testing to ensure the least errors possible, this means that features may come and go if they're potentially unstable.
Why no CPU underclocking?
CPU underclocking tries to save power by reducing the cycles a CPU undergoes in one second (Hz) It's not available in decipher_kernel for one reason: Lower frequencys like 192MHz or 96MHz use the same voltage as 300MHz, so there is no apparent power saving.
Why no CPU overclocking?
Implementing this feature in the source code can (and has) be done, nevertheless REAL overclocking is not possible due to hardware level limitations.
Can't flash the kernel? or kernel doesn't apply when flashing?
Try placing the .zip file in the root of internal storage and flash from there, also rename the zip file to something that includes no special characters or spaces ( example: kernel.zip ), some users have reported this solves this issue. If you're getting an error executing updater binary, just wipe system and flash again. As a last resort, try wiping System partition and reflash ROM.
Tuning The Settings​
Use kernel adiutor to tune the settings.
Iv'e included a few profiles oriented to: performance, battery, balanced.
Expand to see Profiles
My personal Settings
CPU governor: interactive
muticore power saving: off
CPU boost: off
Input boost: off
CPU hotplug: intelliplug
hysteresis: 8
touch boost: ON
max freq screen off: 787
threshold:350
GPU governor: msm-adreno-tz
max_freq: 533
adreno idler: on (defaults)
IO scheduler: bfq (both)
read_ahead: 512 (Internal)
read_ahead: 2048 (external 32GB class 10)
Virtual memory:
dirty ratio: 20
dirty bacground ratio: 10
dirty expire centicecs :200
dirty writeback centices: 500
min free kbytes: 4096
swappiness: 60
vfs cache pressure: 100
laptopmode: 2
minfree extra kb: 10800
swap: 250
Click to expand...
Click to collapse
Balanced
CPU governor: zzmoove
profile: zzrelax (11) or yankactive
muticore power saving: off
CPU boost: off
Input boost: off
CPU hotplug: MSM MPdecision (defaults)
or
IntelliPlug: Balanced
hysteresis: 8 - 12
GPU governor: msm-adreno-tz
max_freq: 533
adreno idler: on (defaults)
IO scheduler: bfq (int) & noop (ext)
read_ahead: 128 (Internal)
read_ahead: 2048 (external 32GB)
Virtual memory: defaults
Click to expand...
Click to collapse
Performance
CPU governor: bioshock
muticore power saving: off
CPU boost: on
touch boost: off
CPU hotplug: MSM MPdecision
idle freq: 384000
or
IntelliPlug performance
hysteresis value: 8
GPU governor: msm_adreno-tz
max_freq: 533
adreno idler: on (defaults)
IO scheduler: bfq (int) & deadline (ext)
read_ahead: 128 (Internal)
read_ahead: 2048 (external 32GB)
Virtual memory: defaults
Click to expand...
Click to collapse
Battery
CPU governor: zzmoove
profile: ybat (2) or ybatext (3) or zzrelax(11) <-- recommended
muticore power saving: agressive
CPU boost: off
Input boost: off
CPU hotplug: MSM MPdecision
max cores online: 2
or
IntelliPlug: Eco conservative
Hysteresis: 8 - 12
GPU governor: powersave
max_freq: 320
IO scheduler: fiops(internal) noop (external)
read_ahead: 512 (both)
Virtual memory (important settings)
dirty ratio: 80
dirty bacground ratio: 65
dirty expire centicecs :1500
dirty writeback centices: 3500
min free kbytes: 4096
swappiness: 100
vfs cache pressure: 40
Click to expand...
Click to collapse
These virtual memory settings are not for all users, it depends on how much multitasking you have going on on your phone, if you face some lag in any heavy app like FB just revert these VM changes and stick with the default ones altho they are a little bit more power hungry.
Explanation: dirty ratio is a value in percent that determines the max amount of system memory that can be filled with dirty pages untill they need to be writen to disk, when this limit is reached, system begins writing to disk (this is what may cause sligh lags) the value is high (80) because we don't want to write to disk very often, swappiness also plays an important role here, it is also set to high (100) to make the kernel swap agressively when dirty background ratio (60) is met. Then comes vfs cache pressure and it is set to low (30) this is also a percentage value and controls the tendency of the kernel to reclaim the memory which is used for caching (we don't want this to often). The centicec values are only timers for wrting actions. The min free kbytes value is the minimum memory the kernel will keep free at all times.
Iv'e written this for better understanding, you can visit this link for a more tecnical explanation.
Is there any plans to make SELinux permissive?
pinkerini said:
Is there any plans to make SELinux permissive?
Click to expand...
Click to collapse
it's already permissive
see https://github.com/decipher90/decipher_K/commits/cm12.1-Z
-decipher- said:
it's already permissive
see https://github.com/decipher90/decipher_K/commits/cm12.1-Z
Click to expand...
Click to collapse
Oh my bad. Because I didn't saw it in the description I assumed it wasn't, thanks.
Does it Work on cm based ROM?
wifestealer said:
Does it Work on cm based ROM?
Click to expand...
Click to collapse
yes, I think I'll give out more info on OP hehe.
-decipher- said:
yes, I think I'll give out more info on OP hehe.
Click to expand...
Click to collapse
Thank you that's why I asked
Wow..another kernel...looks promising......gonna try fr sure..... @decipher
Thanx fr ur kernel tunings?
Flashed with pa 5.1
reeeju said:
Flashed with pa 5.1
Click to expand...
Click to collapse
I'm too on pa 5.1 but I haven't flashed this one. I'll do it soon
wifestealer said:
I'm too on pa 5.1 but I haven't flashed this one. I'll do it soon
Click to expand...
Click to collapse
Lol..okay but I changed my ROM just now....now on sarath's EU phoria latest build....
Gonna flash this kernel and .........to be continue?
Just flashed with euphoria......and followed balanced settings from op above......
If you encounter unexpected behaviour please report back politely, I will do my best to fix any problems.
How about adding kexec?
Running it with tesla, going good for now
-decipher- said:
If you encounter unexpected behaviour please report back politely, I will do my best to fix any problems.
Click to expand...
Click to collapse
@decipher
Battery draining is fast in even screen off situation......
I hav attached a ss below
reeeju said:
@decipher
Battery draining is fast in even screen off situation......
I hav attached a ss below
Click to expand...
Click to collapse
thank's for reporting, it's fixed in v2.
BTW, you mentioned the wrong user xD
UPDATE v2
1/8/2015:
Enable KEXEC support
Tripndroid IO scheduler
Optimized zen IO scheduler for android
Fixed battery draining even in deep sleep (former CM bug)
Merged CM changes
-decipher- said:
UPDATE v2
1/8/2015:
Enable KEXEC support
Tripndroid IO scheduler
Optimized zen IO scheduler for android
Fixed battery draining even in deep sleep (former CM bug)
Merged CM changes
Click to expand...
Click to collapse
Nice.....happy to see quick fix....downloading...will report later
Just flashed v2....will test fr 24 hours and telling u later
hi, i want try this kernel, but i can't install
i use the Euphoria rom unofficial, i try to install the kernel with twrp, but when i go to check the kernel is the same of Euphoria, don't change, i try to wipe system partition and flash the rom, but nothing
how can i resolve? thx!

[Kernel][GPL][K-N][Titan][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP]

READ ALL BEFORE ANYTHING!
ATTENTION
Code:
/*
I'm not (yet) a developer , I'm taking effort to put more choices of kernel for our great community.
This kernel is tweaked for best balance possible, if you want a feature quote me and i will see what i can do,
I will build this kernel when possible on my free time and because of it is a nightly and I will use this thread as a worklog too.
Thank you for using this kernel.
*/
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 laugh at you.
*/
Adapt, improve and evolve!​
Info:
Guys I created this kernel to Moto G 2013 (Falcon/Peregrine) and Moto G 2014 (Titan/Thea) in other words MSM8226 Motorola SoC baseds to learn, adapt some "unstable and unsafe" things as well to give a new life to my device, the plan is to support all Android versions avaliable for our device, I plan to do a better kernel with time and help of the comunity. This kernel is a nightly I will do it when I have a freetime or LineageOS update their sources or I add new features, it aims to be a rich feature kernel and a "perfection balance" between battery life and performance, this can be a UNSTABLE kernel, my routine will be build,upload and test, so stay tuned! I am open to suggestions. This is a kernel that don't work out-of-the-box the objetive of this kernel is give power to the user.
This kernel DO NOT WORK WITH STOCK MOTOROLA/GOOGLE PLAY EDITION ROM or IDCRISIS or AOSPARADOX.
On post 1:
#1 - Features and installation instructions
#2 - Downloads and kernel Source
#3 - Buglist and to do's
On post 2:
#1 - Changelog
​
Features (By now and latest one):
Based on 3.4.113 LTS Linux kernel and latest LOS/AOSP/CM/Motorola sources
Kexec hardboot patch (MultiROM support)
Governors: Interactive,Ondemand,Performance,Userspace,Conservative,Powersave
Hotplugs: AutoSMP and Alucard Hotplug
Overclocks and Underclocks (Attention this can be dangerous to your device! you have been warned!):
Overclocked CPU (up to 1.6Ghz),Overclocked GPU (up to 600Mhz) Overclocked RAM and Overclocked Slimbus for better audio
Intellithermal v2 to protect our device from heating
Sound: High performance Headset,Low latency playback Support,24 bits Playback Support,Enabled additional Moto G Exclusive Audio Channels TPA-a6165a2
Screen: DT2W and S2W/S2S, KCAL
GPU:Simple GPU Algorithm and AdrenoIdler
Misc: Init.d support, Fsync on/off, ARCH_Power, Gentle Fair Sleepers, Toggle for some wakelocks, Stereo Call Recording Support, Reclaim RAM from loggers, Powersuspend, State Notifier .
For full features list check my github.
Compiled with Arch Linux up-to-date and UBER Toolchain 4.9 and optimize flags[/COLOR]
Bootlogos
PREVIEWS ONLY CHECK DOWNLOADS SECTION FOR LINKS
Created by me and the others two by @Mattwmaster58:
Silver
{
"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"
}
Blue
Red
Downloads
(Folder on AFH) (Please DO NOT MIRROR, if one is down just post in the thread or pm me and i will repair!):
Cyanogenmod/AOSP for Falcon:
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
Cyanogenmod/AOSP for Peregrine:
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
Cyanogenmod/AOSP for Titan/Thean (Same defconfig):
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
NOTE:ALWAYS CHECK LAST PAGES TO SEE WHAT IS GOING ON!!!
LSpeed Profiles (OLD! LSpeed envolved too fast!) - Balance
Bootlogos: ZER0 Byte Bootlogo
Old releases of ZER0 and ZER0 Byte (Reborn) Kernel : AFH
Mirror: Github mirror and how to download
​
How to install
If you're on other kernel please at least DIRTY FLASH you ROM, thanks.
The kernel:
By recovery:
Using TWRP (Please use the latest one)
1. Put the zip at /sdcard > Reboot to recovery > Install > Chose the kernel zip > Confirm to flash > (optional) Wipe caches > Reboot.
or
By app:
2. Flash it using Flashify or similar app from Playstore.
The kernel scripts backup your current boot.img so if you want to restore just use Flashify or TWRP.
The Bootlogo:
Using TWRP (Please use the latest one)
1. Reboot to recovery > Install > Chose the bootlogo zip > Confirm to flash > Reboot and enjoy.
2. Flash it using Flashify or similar app from Playstore.
3. Extract the zip and on mfastboot (or just fastboot) enter this command: fastboot flash logo logo.bin
Recommendations/Tweaking
Gov Tuner a mod to tune govs based on profiles for better battery life, better performance, or a balance., I have added a lot of sound patchs but A.R.I.S.E. will blow your mind! so if you want a better sound on your Moto G I suggest you A.R.I.S.E the best one in my opinion or just Viper+Dolby. And the best of the best tweaks app LSpeed just download and select a profile from main screen and fell it! or tune it by yourself!
To tweak use Kernel Adiutor from Playstore (or XDA Link), the Kernel Adiutor-Mod (fork with more experimental features) at XDA or Synapse You will need this zip and download Synapse app from Playstore.
Info about tweaking kernel The best guide to it!
Better RAM management for FALCON/PEREGRINE/TITAN/THEA thanks to @Pupet_Master
-Download "Kernel Auditor" from the "Play Store" and open it
-Once inside, Swipe from left to right to show the side menu.
-Tap on "Low Memory Killer"
-Change to these custom settings:
Code:
Foreground Applications: 29mb
Visible applications: 61mb
Secondary Server: 157mb
Hidden Applications 227mb
Content Providers: 87mb
Empty Applications 191mb
-Swipe from left to right again and tap at the option "Virtual Memory"
-Change those settings from there:
Code:
dirty_ratio: 20
dirty_background_ratio: 5
dirty_expire_centisecs: 100
dirty_writeback_centisecs: 300
min_free_kbytes: 4096
oom_kill_allocating_task: 1
overcommit_ratio: 100
swappiness: 100
vsf_cache_pressure: 53
laptop_mode: 0
extra_free_kbytes: 24576
Z-RAM Disksize: 470mb
-Swipe from left to right again and tap at the "Profile" section
-Click at the "+" button and save the current settings on a new profile
-Holdon the new profile and choose the option "apply on boot"[/QUOTE]
This kernel does not ships with a default config, so here it is how to config (an example) a profile for battery/balance/performance:
Battery
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1190Mhz or 1094Mhz
Multicore power save - Aggressive
Alucard Hotplug - ON
On GPU
GPU max freq. - 450Mhz or 320Mhz (if dont play use 320Mhz)
GPU Gov - simple_ondemand or msm_adreno_tz with tweaked adreno idler
On I/O Scheduler
Scheduler - ROW or SIO
-
Balance
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1190Mhz
Multicore power save - Enabled
AutoSMP - ON
On GPU
GPU max freq. - 450Mhz
GPU Gov - msm-adreno-tz
On I/O Scheduler
Scheduler - ROW or ZEN
-
Performance
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1593Mhz
Multicore power save - Disabled
AutoSMP - ON
On GPU
GPU max freq. - 600Mhz
GPU Gov - msm-adreno-tz
On I/O Scheduler
Scheduler - ZEN
Note about some features
Display types WORKING with DT2W/S2S/S2W:
mdss_dsi_mot_inx_720p_video_v0 (TITAN/THEA)
mdss_dsi_mot_cmi_720p_video_v2 (FALCON/PEREGRINE)
Display types NOT WORKING with DT2W/S2S/S2W:
mdss_dsi_mot_jdi_720p_video_v1 (TITAN/THEA)
mdss_dsi_mot_jdi_720p_video_v0 (TITAN/THEA)
mdss_dsi_mot_lgd_720p_video_v0 (FALCON/PEREGRINE)
If you don't have a working DT2W/S2S/S2W or don't like it you can disable it and/or use AcDisplay app or Anbient Display of your ROM instead.
To check which display type you have by going into terminal and type:
su
cat /proc/cmdline
Bugs
None by now, if you encounter one please make a post in this thread with steps to reproduce and if possible a LOGCAT and DMESG. A simple how to help me debug.
To do
Undervolt and Userspace Voltage Controller
OC of 1.8Ghz
More Hotplugs
More Govs
More I/O's (SIOplus,FIFO)
Added all features to all variants
Vibrator Intensity Control
Ram Underclock
Sched & Mutex Tweaks
Stock and GPE variants
WQ_POWER_EFFICIENT
LZO Compression image (Fast boot)
DOLBY_DAP dependency fix
Frandom
Filesystems support:
NTFS Support / EXT 2/3/4 support / F2FS (Most roms only support it at /data)
Optimized ARM RWSEM algorithm
Silence some logs
NEON in kernel mode
Misc Crypt tweaks
LMK tweaks and adaptive
More Security Patchs
Yankactive (Cause reboot at the moment),Yankdemand,Smartmax,Lionhert,Impulse,DanceDance,Bioshock
I/O's: ROW,NOOP,Deadline,CFQ,FIOPS,BFQ,SIO,VR,ZEN
All avaliable TCPs congestions on Android
How to git and build
Setting up and building
Basics of GIT
- How to build my kernel:
Code:
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=/path/to/toolchain/bin/arm-eabi-
make mrproper (cleans config files)
make clean (cleans already builded files)
make falcon_defconfig (or you device_defconfig)
make menuconfig (if you want to tweak the config)
make (I use this too -o2 -j4 CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_NO_ERROR_ON_MISMATCH=y)
How to cherry pick commits
Basically to cherry pick a commit you have to have it source and branch, this is a simple how to do it
First of all you need to set your upstream since it is a fork of CM/LOS or STOCK source:
Code:
git remote add upstream linkingithub.git
For example
Code:
git remote add upstream https://github.com/CyanogenMod/android_kernel_motorola_msm8226.git
so if you want to cherry pick a commit from me
Code:
git remote add bryanbytez mysourcelink.git
and after that you need to have my source locally but stay calm this wont mess you source
Code:
git fetch -all
To merge upstream changes (From CM/LOS or Motorola)
Code:
git merge upstream/cm-13.0
This will merge upstream cm branch cm-13.0 in your source code.
Misc help:
http://forum.xda-developers.com/showthread.php?t=2319018 (about boot.img, ramdisk and others)
https://stackoverflow.com/questions/2816715/branch-from-a-previous-commit-using-git (Unlike me you can just revert or create another branch based on the commit and not delete the whole source code )
https://stackoverflow.com/questions/4410091/github-import-upstream-branch-into-fork (Import a upstream branch on your fork)
And to revert a git: git revert sha1, example git revert eab5c8fef098548f0f00085196bbf40f41bf8ba1
​
Source/Credits
If you want to post this on your site or other forum it's okay just post a link to this thread too and the correct credits and if you can, pm me with link so i can see it too, thanks.
The GNU General Public License is a free, copyleft license for software and other kinds of works.
The GPL permits use, share, study and modify.
But this does not mean you should not give the deserved credit to the previous author.
So if you use my source code under GPL you must share with GPL too and quote me in the credits.
CM/LOS/AOSP Based Source
Stock/GPE Based Source
Thanks to:
GOD
The Real Dev's:
Motorola/Lenovo
LineageOS/CyanogenMod/AOSP/CAF Teams
A special thank you to @Kamin4ri to be answering questions from a noob
@hurtsky @pinkflozd @zakee94 @TeamMex (not a team ) @RenderBroken @alin.p @Flashhhh @Shivam Kuchhal @RolanDroid @attack11 @DC07 @frap129 @-decipher- @bedalus @MetalPhoenix45 @srisurya95 @para94 @chijure @Aayushya @neonkat and @faux123 for inspiration and commits (i guess that everyone that i pick a single commit is here... since i don't know yet to pick commits (picking commits automatically add the credits) a big thanks to all !)
@kwoktopus, for the tutorial how to build
And you the user!
If I forget someone please contact me and I will add here! [/FONT]​
XDA:DevDB Information
[Kernel][GPL][K-N][Titan][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP], Kernel for the Moto G 2014
Contributors
BryanByteZ
Source Code: https://github.com/BryanByteZero/android_kernel_motorola_msm8226
Kernel Special Features: OC/UC/DT2W/S2W/S2S/Sound Patchs and a lot more, check it!
Version Information
Status: Nightly
Current Stable Version: R3
Stable Release Date: 2017-02-22
Current Beta Version: R4
Beta Release Date: 2017-04-29
Created 2017-04-30
Last Updated 2017-05-01
Changelogs for CM/LOS/AOSP K/L/M/N
Changelogs for CM/AOSP K/L/M/N:
For Falcon and Peregrine
19/11/2016
No more MPDecision and CM PowerHAL
DT2W and S2W/S2S
Optimization Flags
Overclock and Underclock
Alucard Hotplug
AutoSMP Hotplug
Faux Sound 3.5
KCAL v2
High performance and low latency audio headset
KEXEC Hardboot patch
04/02/2017
Up-to-date with LOS source and Linux (now it's 3.4.113 the LTS version)
Intelliplug, AutoSMP and Alucard Hotplugs
Intellithermal
MSM-Limiter (you will need KernelAdiutor-MOD to use this feature)
Toggles for some wakelocks
ARCH_power
Gentle fair sleepers
Stereo call recording support
Reclaim RAM from loggers
Dynamic management of dirty page writebacks, expire and cache pressure
Some GPU patchs
SIO,VR,ZEN and Tripndroid I/O's
Powersuspend, LCD notify and state notifier
Dynamic FSYNC
CPU, GPU and RAM overclock
Simple GPU algorithm and AdrenoIdler
Enhanced audio with Faux Sound and low latency drivers and high performance mode
KCAL
KEXEC Hardboot patch
DT2W/S2S/S2W
Make optimizations
Powered by UBER STOCK Toolchain 4
22/04/2017
LATEST SOURCES
CPU OC/UC
GPU OC/UC
CPU boost
KCAL
faux Sound
High perf headset mode
OC RAM and slimbus
Intellithermal
Simple GPU Algorithm and AdrenoIdler
State notifier and Powersuspend
Alucard and AutoSMP hotplugs
Stereo call recording
Custom I/O's
Stock GOVS
KEXEC Hardboot patch
wakelock blocks
Fsync on/off
Power efficient workqueue
29/4/2017
DT2W/S2S/S2W
Bugs:
None by now,if you encounter one please make a post in this thread with steps to reproduce and if possible a LOGCAT and DMESG.
Reserved
Reserved
DT2W doesn't work, my phone is compatibile as in older kernels it worked
Just installed it on Titan, Ressurrection Remix. 1.6 ghz !!!
Zenzfum000 said:
DT2W doesn't work, my phone is compatibile as in older kernels it worked
Click to expand...
Click to collapse
Did you enabled on KA? It give some error? Which kernel DT2W worked? Which is you display? check note section in OP, please. I used the same "formula" for falcon,peregrine and titan/thea but maybe this last need some special atention.
Thanks.
BryanByteZ said:
Did you enabled on KA? It give some error? Which kernel DT2W worked? Which is you display? check note section in OP, please. I used the same "formula" for falcon,peregrine and titan/thea but maybe this last need some special atention.
Thanks.
Click to expand...
Click to collapse
I've used ex kernel manager, i don't think the problem is on the software side. In marshmallow kernel dt2w worked, is not a fault of yours, i think is nougat
In devolution kernel is not working too
When i try to unlock screen i had a soft reboot
Zenzfum000 said:
I've used ex kernel manager, i don't think the problem is on the software side. In marshmallow kernel dt2w worked, is not a fault of yours, i think is nougat
In devolution kernel is not working too
When i try to unlock screen i had a soft reboot
Click to expand...
Click to collapse
Well sound like that is not supported, in MM you used evolution kernel? Can you grab the output of cat /proc/cmdline in terminal? Thanks!
Sent from my Xiaomi Redmi 4A using XDA Labs
BryanByteZ said:
Well sound like that is not supported, in MM you used evolution kernel? Can you grab the output of cat /proc/cmdline in terminal? Thanks!
Click to expand...
Click to collapse
I'm not a beginner, i know what i'm saying
Dt2w has problems on nougat kernels
Sent from my Moto G 2014 using XDA Labs
Zenzfum000 said:
I'm not a beginner, i know what i'm saying
Dt2w has problems on nougat kernels
Click to expand...
Click to collapse
I'm just asking because I don't own a Titan/Thea/Peregrine but since it have the same SoC same features should work in all.
BTW you can test in a MM?
Sent from my Xiaomi Redmi 4A using XDA Labs
BryanByteZ said:
I'm just asking because I don't own a Titan/Thea/Peregrine but since it have the same SoC same features should work in all.
BTW you can test in a MM?
Click to expand...
Click to collapse
Not now but i think it will don't work on mm too
Sent from my Moto G 2014 using XDA Labs
Zenzfum000 said:
Not now but i think it will don't work on mm too
Click to expand...
Click to collapse
So basically any kernel that have DT2W is not working on N right?
Can you grab me a dmsg and lastkmsg? Maybe I can debug it.
Thanks!
Sent from my Xiaomi Redmi 4A using XDA Labs
BryanByteZ said:
So basically any kernel that have DT2W is not working on N right?
Can you grab me a dmsg and lastkmsg? Maybe I can debug it.
Thanks!
Click to expand...
Click to collapse
Ok, i'll try
Sent from my Moto G 2014 using XDA Labs
Here you are the logs @BryanByteZ
Zenzfum000 said:
Here you are the logs @BryanByteZ
Click to expand...
Click to collapse
Can you say something about the general performance and stability? Does CPU overclocking work without overheating or other issues?
Sent from my Moto G 2014 using XDA Labs
Here You are thanks for working on titan too!
I'm on RR MM at the moment, when trying dt2w/s2w my phone reboots.
Wolfcity said:
Can you say something about the general performance and stability? Does CPU overclocking work without overheating or other issues?
Click to expand...
Click to collapse
General performance is great, i'm using interactive with alucard at maximum 1401mhz, never faced overheating issues :good:
Sent from my Moto G 2014 using XDA Labs
Does OC actually work?
Other developers have tried it before, and realized it was a placebo soon after.
Kernel working great!
But one thing, if I select Dt2w/S2w from kernel auditor.. After that, the device got reboot automatically & settings are changed itself to default settings n kernel auditor..
So pls, implement/improve/repair Dt2w features..
Sent from my Moto G 2014 using Tapatalk
I use Conservative governor, no heating problems.
DT2W crashes/reboots device. I would not bother with DT2W, it just drains battery.

[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

Categories

Resources