[KERNEL][Ville S4][AOSP][4.4/4.3][26Jul] Bubba Kernel - HTC One S

Disclaimer:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* 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.
* blah blah blah you get the point.
*/​
1# post: Disclamer - special thanks
2# post: Current release & source
3# post: Deprecated versions
4# post: FAQ - bugs - future features
Donator List: (huge thanks for support)
here
Suggested kernel control app: trickstermod
[GUIDE]How to compile a kernel
Credits and Thanks:
dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team
XDA:DevDB Information
AOSP Bubba Kernel, Kernel for the HTC One S
Contributors
rmbq
Kernel Special Features:
Version Information
Status: No Longer Updated
Stable Release Date: 2014-07-26
Current Beta Version: 12Apr
Beta Release Date: 2014-04-12
Created 2013-10-08
Last Updated 2014-11-19

Features:
Based on linux 3.4.99
Compiled with linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
Linaro -O3 optimization
avaiable CPU governors: interactive, ondemand, performance, powersave, intellimand, intelliactive
avaiable GPU governors: ondemand, performance, simple
avaiable schedulers: row, deadline, noop, cfq, bfq-v7r5, fiops, sio
Sleepy Plug
NTFS read & write support
exfat support
UTF8
BLN
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
zRam with LZ4 compression
zCache with LZ4 compression
CPU OC to 1.7 GHz
GPU OC to 512MHz (3D) and 320MHZ (2D)
Faux sound control v. 3
Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), XOR (neon)
dynamic fsync by faux123
fastcharge
powersuspend driver (replace earlysuspend)
KCAL control (RGB)
heavily patched memory allocators, RWSEM and mutex (take a look at my github, too many changes to make a list here)
Changelog:
Code:
[JUL 26 2014]
Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID."
Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of"
add qseecom support
some defconfig changes
cpufreq: revert CAF's cpu policy save code
sched/cpuidle: reduce IPI storm. Backport upstream 3.16
mm, hugetlb: improve page-fault scalability
mm: per-thread vma caching
Revert "msm: htc: update mem mapping"
[JUL 22 2014]
update compiler to linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
update to 3.4.99
added KCAL control by faux and fixed by me
add F2FS support
[JUL 17 2014]
update to 3.4.98
sync with cm
sync with codeaurora/kk_2.7-stable
update sleepy_plug
bfq: BFQ-v7r5
bugfix from google (see github)
[JUN 29 2014]
Remove JustArchi GCC flags cos they are unstable
update to 3.4.95
fix minor issues in s2w
[JUN 24 2014]
sync with CM
sync with codeaurora/kk_2.7-stable
drivers:input:cy8c_cs: modified IRQ flags (improve s2w)
lower min timeout for dtw2
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
[JUN 19 2014]
update compiler to linaro toolchain 4.9.1 2014.06 optimized for cortex-a15
update to 3.4.94
remove -fdata-sections GCC flag (cause of reboot issue)
sync with CM
sync with codeaurora/kk_2.7-stable
updated sleepy_plug
[JUN 09 2014]
sync with codeaurora/kk_2.7-stable
memset patch to fix bootloops
[JUN 08 2014]
3.4.92
reverted some KGSL CAF patches
removed -ftrace flag
sync with CM
improved int_sqrt algorithm
update bfq to v7-r4
[MAY 28 2014]
sync with codeaurora/kk_2.7-stable
update sleepy_plug
cpufreq: ondemand: Calculate load_at_max_freq based on current policy->max
sched: add do_avg_nr_running to fix avg_nr_running
[MAY 19 2014]
update to 3.4.91
merge codeaurora/kk_2.7_rb1.38
update bfq to v7-r3
sleepy_plug now supports quadcore CPUs
add 1wire headset support (CM)
new GCC flags
update compiler
[MAY 03 2014]
block: support volname for HTC devices with proc/emmc support
[MAY 02 2014]
compiled with Linaro GCC 4.9.1 optimized for cortex-a15
sync with CM
undervolt all components
update devices_htc from Jet jb 4.3 kernel
update headset driver from Jet jb 4.3 kernel
update memory mapping (more RAM avaiable)
[APR 29 2014]
update to 3.4.88
sync with codeaurora/kk_2.7-stable
some other CAF patches
[APR 23 2014]
enable vol to wake
replace powersuspend to earlysuspend everywhere
[APR 22 2014]
update to 3.4.87
merge codeaurora/kk_2.7_rb1.35
re enable elf_dumo and perf_counter (disable them cause instability)
prima driver built with -Os flag for stability
disable vol to wake up
[APR 12 2014]
update to 3.4.86
merge codeaurora/kk_2.7-stable
sync with cm sources
update sleepy_plug
add new powersuspend driver
disable deprecated early suspend driver
optimized char/random
improved mm/oom
improved fair scheduler
[MAR 19 2014]
update compiler to 2014.03
merge codeaurora/kk_2.7_rb1.31
sync with cm sources
disabled kcal (it doesn't work properly) perf counter (deprecated) and elf dump
re-enable kgsl_2d driver
sleepy_plug: switch to use dedicated high priority workqueue
[MAR 03 2014]
Disable module loading again, it causes reboots
removed radio iris driver, it work only as module
remove kgsl post mortem dump
remove kgsl 2d (z180) driver (is it needed?)
KGSL: simple governor: don't modify laziness value when reset laziness count
adjust kgsl_3d0 and _2d1 init_level values
[MAR 01 2014]
merge codeaurora/kk_2.7_rb1.29
fix kgsl_3d0 and kgsl_2d0 init_level (now GPU scale freq from 128MHz to maxFreq)
update sleepy_plug
disable all DEBUG
silence debug info from battery gyro leds and touchescreen drivers
add power-on alarm feature
add power efficent workqueue
compile radio-iris-transport ad module
[FEB 25 2014]
update to 3.4.82
removed intelli_plug and added sleepy_plug
modified voltage tables (affect only normal version)
[FEB 23 2014]
update to 3.4.81
merge codeaurora/kk_2.7_rb1.27
update compiler
added intelliactive governor
removed mp decision and added intelliplug
sync with cm sources
optimized kernel compress for cortex-a15
updated BFQ scheduler to version 7r2
re-added fastcharge
[FEB 02 2014]
changed compiler to [URL="http://forum.xda-developers.com/showthread.php?t=2098133"]this[/URL]
update to 3.4.79
merge codeaurora/kk_2.7_rb1.25
ondemand patches from CAF
input: ewtzmu2: Fix gyro off status checks (credits Erwin Mascher)
using sparsemem instead flatmem
AES with NEON instruction and thumb2 compatible
add support for kernel mode NEON
[JAN 29 2014]
update to 3.4.78
merge codeaurora/kk_2.7_rb1.22
compiled with -O3 optimization
new compiler: linaro toolchain 4.8.3 2014.01 optimized for cortex-a15
interactive governor patches from CAF
add UIO driver
various CAF patches: iommu, memory management, kgsl, sched, spinlock, bam_dmux
update drivers: battery, pm8921, headset, acoustic (credits CM)
msm: HTC: Update htc_restart_handler … (credits CM)
msm: HTC: Update devices_htc.c (credits CM)
msm: HTC: Update emmc partitions code (credits CM)
msm_kcal_ctrl: initial code for generic MSM LCD temperature calibrations (credits faux123, fixed by me)
removed fast charge (for the moment)
[JAN 13 2014]
sync with CM source
msm: mdss: set vsync clock rate (credits Kuogee Hsieh)
sched: set sched_mc_power_savings to 2 for max powersave (credits franciscofranco) [URL="http://elinux.org/images/1/1d/Comparing_Power_Saving_Techniques_For_Multicore_ARM_Platforms.pdf"]here[/URL]
[JAN 07 2014]
remove knock on
back to stock interactive
sync ondemand governor to CM sources
futex patches by CAF
workqueue backported from kernel 3.7 (credits mgr666)
overclock slimbus (better audio)
add generic strlen_user function
add generic strcpy_user function
build all module inside the kernel
do not compile exfat module
[JAN 05 2014]
add knock on feature
update ondemand and interactive goveron to quic/la/kernel/msm-3.10 caf/msm-3.7
fix an L2 cache derp
sched,rt: disable rt_runtime borrowing by defaul (CAF)
sched: remove redundant update_runtime notifier (CAF)
sched: reinitialize rq->next_balance when a CPU is hot-added (CAF)
[JAN 04 2014]
revert Memory model patches of last release
merge codeaurora/kk_2.7_rb1.18
overclock L2 cache
mmc patches from CAF
compiled with linaro toolchain 4.8.3 2013-11 optimized for cortex-a15
[DEC 25 2013]
update to 3.4.75 (skipping 3.4.73)
Memory model patches from CAF
msm krait cpu patches from CAF
[DEC 18 2013]
merge codeaurora/kk_2.7_rb1.16
pocket detection default ON
faux sound control patches by faux123
add NEON accelerated XOR implementation
memory allocator patches from kernel 3.5 and newer, add frontswap
sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire. credit: [URL="http://ripke.com/loadavg/moire"]http://ripke.com/loadavg/moire[/URL]
Async Fsync from HTC thanks faux123
smp and idle patches (look at my github for more details)
[DEC 10 2013]
intellimand: adjust values for msm8960
cpufreq: Fix optimal_freq logic on ramp down
msm: Synchronize CPU frequency on thread migration
cpufreq: Use dedicated high-priority workqueues
cpufreq: ondemand: change freq sync code to use per-CPU kthreads
cpufreq: ondemand: Fix store_powersave_bias() race with hotplug
cpufreq: ondemand: Fix locking in store_powersave_bias
cpufreq: ondemand: Fix locking issue in store_powersave_bias
msm: cpufreq: Only apply driver limits for scaling_min/max_freq writes
cpufreq: break earlier if target_freq is equal to current freq
cpufreq: Save user policy min/max instead of policy min/max during hotplug
msm: pil: Add HTC delay for rmt_storage
Revert "ALSA: fix oops in snd_pcm_info() caused by ASoC DPCM"
added exfat driver by samsung (thanks faux123)
update cm3629 (light and proximity sensor) driver and write a new function for pocket detection
pocket detection: use the new function
[DEC 08 2013]
fix ZRAM compatibility issue with codeaurora/kk_2.7.1 branch
sync with cm:
remove cpu-boots driver
merge codeaurora/kk_2.7.1
msm: iomap: Add HTC memory region mappings
msm: HTC: Use msm_iomap for ram console addresses
cpufreq: Retain only online cpus in managed_policy->cpus
msm: HTC: 8960: enable GTOD helpers, disable DLOAD mode, disable CACHE_ERP
[DEC 06 DEC]
update to 3.4.72
merge codeaurora/kk_2.7_rb1.11
add [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/40b153720a5c9dc4ccc718af2efe89762a1eb3f6"]cpu-boots driver[/URL]
unpdate intellimand to version 5.0 (probably it needs some adjustment for ville)
jiffies conversions: Use compile time constants when possible ([URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/9492ca677bf3e05f8ec834dc6222beaf5f5f42ff"]commit[/URL])
a lot of patches for filesystem, mutex and memory allocators
fix build without GPU oc thx jrior001
make change BLN s2w dt2w pd and atmel244e sysf entrypoint
[DEC 02 2013]
switch toolchain to linaro 2013-11
Merge 'codeaurora/kk_2.7_rb1.10'
Merge 'codeaurora/kk_2.7_rb1.9'
[NOV 25 2013] END 4.3 support
update to 3.4.70
add CPU OC thx to jrior001
add GPU OC thx to jrior001
add dynamic [URL="http://en.wikipedia.org/wiki/Fsync"]fsync[/URL] by faux
optimized algorithms: [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/00160d62428b6330b37a944cd52e43b170b16bef"]ARM RWSEM[/URL], [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/4982e566012dad759f1655db929944dc0e904f2e"]SQRT[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ec6a973caf563a24f64302a39c21ea08d9877d36"]AES,SHA1[/URL]
use [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/794c469b9f39168644cda4f7182936a9b4d434a2"]lib/string[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/e15ca1b27c34a6e7e0dd97e4acbd65d932aec4ac"]lib/memcopy[/URL] glibc version
add Faux123 sound control v3
[NOV 18 2013]
update to 3.4.69
switch toolchain to linaro 2013-10
added simple GPU governor by faux123
fixed build flags mess
min selectable voltage from 850 to 800
msm: vidc: Initialize kernel space stack variables (fix memory leak in UI)
fixed pocket detection, now works also with dt2w
pocket detection disable by default
[NOV 10 2013]
compiled with -Os optimization
[NOV 08 2013]
update to 3.4.68
merged AU_LINUX_ANDROID_JB_2.6.04.03.00.109.111 based on quic/aosp/jb_2.6
Fix for race condition of starting cpu1 when cpu0 in PC.
compiled with linaro -O2 optimization
added double tap 2 wake by flar2 (tap 2 times on home button to wake device)
added pocket detection by flar2 (prevent wake in pocket when s2w or dt2w ON)
disable qcache
enable zRam and zCache
optimize zRam for Android use and update to Samsung SGS 4 update 2 thanks to faux123
removed thermal management by showp1948
added intell-thermal by faux123
added QV version (read FAQ)
switch to [URL="http://www.droidforums.net/forum/koush/36530-kernel-devs-introducing-any-kernel-update-zip-template.html"]any_kernel zip[/URL]
[OCT 26 2013]
update to 3.4.67
[URL="http://www.youtube.com/watch?v=xN3eB2R_aP0"]added s2w by showp1984[/URL] and fixed for AOSP kernel 3.4
added Fast charge support, force cable to AC when is USB cable is plugged
update thermal driver to [URL="https://github.com/showp1984/bricked-ville-3.4"]sense bricked kernel[/URL] with thermal 3phase management by showp
added faux sound control v2.0
applied ck3 patch by Con Kolivas
update ville_defconfig with lastest CM changes: less debug, use FLATMEM if HTC 8960 device, set missing CONTIG_MEM (This replaces the older PMEM reservation option)
[OCT 19 2013]
Add voltage control (thanks faux123)
added wake-on-volume support (credits to CM team)
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ab66959eed02d9aff47fc82f67a894e0f4fc67a3"]fix OTG[/URL] (credits to CM team)
Merge AU_LINUX_ANDROID_JB_2.6.04.03.00.109.082 based on CAF quic/aosp/jb_2.6
[OCT 14 2013]
[COLOR="Blue"]Kernel:[/COLOR]
restart from clean CM sources
revert AU_LINUX_ANDROID_JB_2.6.04.03.00.109.053 merge
update to 3.4.66
compiled with [URL="https://github.com/codefireXperiment/prebuilts_gcc_linux-x86_arm_arm-linux-androideabi-4.8"]cfX toolchain 2013-07[/URL]
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/eb95b3aff07c00f54df6452b5623e41d16185479"]sio[/URL],[URL="http://www.phoronix.com/scan.php?page=news_item&px=MTAzOTU"]fiops[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/90a73354dba7ba46926aff133ac85f3c9fa6aae3"]bfqv6 [/URL]schedulers
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/6c87d0e0b3c82ffff8c0704dfde7369872f5602f"]intellimand[/URL] governor
added BLN
added effective timer slack, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/0ae9dfccf63b6d873d916ac7ba63ff5f048e2188"]here[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/be6a15dc6ec46386c8fd2c034187f6fb7d84a793"]here[/URL]
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/312027fd01edeeeacc4f8183f59a29debf89fae2"]improved build flags[/URL], [URL="http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html"]read more here[/URL]
added Add PR_{GET,SET}_NO_NEW_PRIVS, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/955a7e84d38166a36ad4f71429dcc861396567a3"]here[/URL]
[COLOR="Blue"]Ramdisk:[/COLOR]
change owner of /sys/class/leds/button-backlight/currents to root
change permission of /sys/class/leds/button-backlight/currents to 0444
[SEP 11 2013] V2
remove smartassV2
[SEP 11 2013]
update to linux 3.4.61
use linaro gcc 4.8 2013-08 toolchain
Add button light notification
add fiops and sio schedulers
add SmartassV2 governor
char: Added Fast Random generator support
Implement dynamic timerslack
use -mcpu=cortex-a15 instead -march=armv7-a build flag
update dynamic fsync from faux123
use modified ramdisk (insecure kernel, general queue tweaks, no debugging)
[SEP 09 2013]
update to linux 3.4.60
update to cm sources
add UTF8 support
[JUL 17 2013]
update to linux 3.4.52
add CK3 Con Kolivas optimization
add dynamic fsync by faux123
update ramdisk with lastest CM changes
franciscofranco writeback patch (detail [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/49a59693b0a4ae8cbbf60ba62cd62dd280655e21"]here[/URL])
rwsem algorithm optimization
back to mp_decision, intelli_plug needs more tests
[JUL 11 2013]
New ramdisk
updates from cm sources
add voltage control interface
add intelli plug by faux (replace mp decision)
add intellimand governor
add BFQv6 scheduler
add optimized AES SHA1 and RWSEM algorithms
add some NEON optimization
switch to XZ compression
[JUN 27 2013] Fix
modified ramdisk
add vfpv4-d16 build flag to vfp
compiled with cfX toolchain based on linaro 4.8.2
[JUN 27 2013]
sync with cm sources
fix reception bug
update ramdisk to lastest from cm
add NTFS support
compiled with -Os optimization
[JUN 19 2013]
first release
If you like my work please consider making a donation, I spend almost all my free time on making this kernel the best
i'll buy another phone to continue to support the android development!
THIS KERNEL WILL NOT WORK ON NEW ROMS
Download:
androidfilehost folder: http://www.androidfilehost.com/?w=files&flid=12455
normalToQV: http://www.androidfilehost.com/?fid=23501681358544069
(if you don't see the new version just wait some minutes, it's uploading)
Kernel Source: Github

Android 4.3:
Features:
Based on linux 3.4.70
Compiled with linaro toolchain 2013-10
Linaro -Os optimization
avaiable governors: interactive, ondemand, performance, powersave, intellimand
avaiable schedulers: row, deadline, noop, cfq, bfqv6, fiops, sio
MP Decision
NTFS read & write support
UTF8
BLN
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
Fast charge
zRam with LZ4 compression
zCache with LZ4 compression
simple GPU governor by faux123
CPU OC to 1.7 GHz
GPU OC to 512MHz (3D) and 320MHZ (2D)
Faux sound control v. 3
Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), RWSEM
dynamic fsync by faux123
Changelog:
Code:
[NOV 25 2013]
update to 3.4.70
add CPU OC thx to jrior001
add GPU OC thx to jrior001
add dynamic [URL="http://en.wikipedia.org/wiki/Fsync"]fsync[/URL] by faux
optimized algorithms: [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/00160d62428b6330b37a944cd52e43b170b16bef"]ARM RWSEM[/URL], [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/4982e566012dad759f1655db929944dc0e904f2e"]SQRT[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ec6a973caf563a24f64302a39c21ea08d9877d36"]AES,SHA1[/URL]
use [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/794c469b9f39168644cda4f7182936a9b4d434a2"]lib/string[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/e15ca1b27c34a6e7e0dd97e4acbd65d932aec4ac"]lib/memcopy[/URL] glibc version
add Faux123 sound control v3
[NOV 18 2013]
update to 3.4.69
switch toolchain to linaro 2013-10
added simple GPU governor by faux123
fixed build flags mess
min selectable voltage from 850 to 800
msm: vidc: Initialize kernel space stack variables (fix memory leak in UI)
fixed pocket detection, now works also with dt2w
pocket detection disable by default
[NOV 10 2013]
compiled with -Os optimization
[NOV 08 2013]
update to 3.4.68
merged AU_LINUX_ANDROID_JB_2.6.04.03.00.109.111 based on quic/aosp/jb_2.6
Fix for race condition of starting cpu1 when cpu0 in PC.
compiled with linaro -O2 optimization
added double tap 2 wake by flar2 (tap 2 times on home button to wake device)
added pocket detection by flar2 (prevent wake in pocket when s2w or dt2w ON)
disable qcache
enable zRam and zCache
optimize zRam for Android use and update to Samsung SGS 4 update 2 thanks to faux123
removed thermal management by showp1948
added intell-thermal by faux123
added QV version (read FAQ)
switch to [URL="http://www.droidforums.net/forum/koush/36530-kernel-devs-introducing-any-kernel-update-zip-template.html"]any_kernel zip[/URL]
[OCT 26 2013]
update to 3.4.67
[URL="http://www.youtube.com/watch?v=xN3eB2R_aP0"]added s2w by showp1984[/URL] and fixed for AOSP kernel 3.4
added Fast charge support, force cable to AC when is USB cable is plugged
update thermal driver to [URL="https://github.com/showp1984/bricked-ville-3.4"]sense bricked kernel[/URL] with thermal 3phase management by showp
added faux sound control v2.0
applied ck3 patch by Con Kolivas
update ville_defconfig with lastest CM changes: less debug, use FLATMEM if HTC 8960 device, set missing CONTIG_MEM (This replaces the older PMEM reservation option)
[OCT 19 2013]
Add voltage control (thanks faux123)
added wake-on-volume support (credits to CM team)
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ab66959eed02d9aff47fc82f67a894e0f4fc67a3"]fix OTG[/URL] (credits to CM team)
Merge AU_LINUX_ANDROID_JB_2.6.04.03.00.109.082 based on CAF quic/aosp/jb_2.6
[OCT 14 2013]
[COLOR="Blue"]Kernel:[/COLOR]
restart from clean CM sources
revert AU_LINUX_ANDROID_JB_2.6.04.03.00.109.053 merge
update to 3.4.66
compiled with [URL="https://github.com/codefireXperiment/prebuilts_gcc_linux-x86_arm_arm-linux-androideabi-4.8"]cfX toolchain 2013-07[/URL]
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/eb95b3aff07c00f54df6452b5623e41d16185479"]sio[/URL],[URL="http://www.phoronix.com/scan.php?page=news_item&px=MTAzOTU"]fiops[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/90a73354dba7ba46926aff133ac85f3c9fa6aae3"]bfqv6 [/URL]schedulers
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/6c87d0e0b3c82ffff8c0704dfde7369872f5602f"]intellimand[/URL] governor
added BLN
added effective timer slack, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/0ae9dfccf63b6d873d916ac7ba63ff5f048e2188"]here[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/be6a15dc6ec46386c8fd2c034187f6fb7d84a793"]here[/URL]
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/312027fd01edeeeacc4f8183f59a29debf89fae2"]improved build flags[/URL], [URL="http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html"]read more here[/URL]
added Add PR_{GET,SET}_NO_NEW_PRIVS, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/955a7e84d38166a36ad4f71429dcc861396567a3"]here[/URL]
[COLOR="Blue"]Ramdisk:[/COLOR]
change owner of /sys/class/leds/button-backlight/currents to root
change permission of /sys/class/leds/button-backlight/currents to 0444
[SEP 11 2013] V2
remove smartassV2
[SEP 11 2013]
update to linux 3.4.61
use linaro gcc 4.8 2013-08 toolchain
Add button light notification
add fiops and sio schedulers
add SmartassV2 governor
char: Added Fast Random generator support
Implement dynamic timerslack
use -mcpu=cortex-a15 instead -march=armv7-a build flag
update dynamic fsync from faux123
use modified ramdisk (insecure kernel, general queue tweaks, no debugging)
[SEP 09 2013]
update to linux 3.4.60
update to cm sources
add UTF8 support
[JUL 17 2013]
update to linux 3.4.52
add CK3 Con Kolivas optimization
add dynamic fsync by faux123
update ramdisk with lastest CM changes
franciscofranco writeback patch (detail [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/49a59693b0a4ae8cbbf60ba62cd62dd280655e21"]here[/URL])
rwsem algorithm optimization
back to mp_decision, intelli_plug needs more tests
[JUL 11 2013]
New ramdisk
updates from cm sources
add voltage control interface
add intelli plug by faux (replace mp decision)
add intellimand governor
add BFQv6 scheduler
add optimized AES SHA1 and RWSEM algorithms
add some NEON optimization
switch to XZ compression
[JUN 27 2013] Fix
modified ramdisk
add vfpv4-d16 build flag to vfp
compiled with cfX toolchain based on linaro 4.8.2
[JUN 27 2013]
sync with cm sources
fix reception bug
update ramdisk to lastest from cm
add NTFS support
compiled with -Os optimization
[JUN 19 2013]
first release
Consider a donation if you like my work
Download:
NOV 25 2013 (only S-OFF): http://www.androidfilehost.com/?fid=23212708291681557
NOV 25 2013 QV (only S-OFF): http://www.androidfilehost.com/?fid=23212708291681573
Kernel Source: Github
Ramdisk Source: Github

FAQ​where are older versions?
here -> https://www.mediafire.com/#2qnn5ox68806f (old older version)​Q: What is QV version?
A: QV means "qualcomm voltages". qualcomm made a patch and stuck all voltages to 1150mv to improve stability. QV version has got all 1150 mv for each freq (like older 3.4 kernels).​Q: I plugged in my pen drive but i can't found it
A: look in /mnt/usbdisk folder.​Q: What's and how i enable/disable fastcharge?
A: with fast charge an USB charger will recognized as AC charger. it won't charge your phone faster with an AC charger. it may not charge your phone faster with an USB charger.
with the usb cable UNPLUGGED edit /sys/kernel/fast_charge/force_fast_charge:
0 -> disable
1 -> enable
than plug in the cable​Q: i've got random reboots, what do you need?
A: first read here
write this info:
kernel version
ROM
governor
scheduler
undervolted? if yes don't undervolt
QV version? if no use it
last_kmsg
Q: what's BLN and how i enable/disable it?
with BLN on when you received a notify the soft key will blink.
to enable/disable edit /sys/class/leds/button-backlight/blink_buttons:
0 -> disable
1 -> enable​Q: what's s2w and how i enable/disable it?
Sweep2wake allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep).
to enable/disable edit /sys/android_touch/sweep2wake:
0 -> disable
1 -> enable​Q: what's dt2w and how i enable/disable it?
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the capacitive buttons.
to enable/disable edit /sys/android_touch/doubletap2wake:
0 -> disable
1 -> enable​Q: what's knock on and how i enable/disable it?
knock on allows you to wake the device by double tapping on the touchscreen.
to enable/disable edit /sys/android_touchscreen/knock_on:
0 -> disable
1 -> enable​What's sleepy_plug and how can i activate/deactivate it?
sleepy plug it's an hotplug driver (it decide when turn on the second core) i wrote. it's an experimental driver and it may have got performance problem. if you notice some decrease in performance report it.
to enable/disable edit /sys/module/sleepy_plug/parameters/sleepy_plug_active:
0 -> disable
1 -> enable​Install instruction:​S-OFF:
- flash the zip in recovery
- wipe caches (optional)​S-ON:
Windows & Linux:
flash kernel zip.
stay in recovery after flashing the zip
from command prompt (ot terminal) on PC:
Code:
adb pull /tmp/newboot.img
adb reboot-bootloader
fastboot flash boot newboot.img
fastboot reboot
OLD S-ON INSTRUCTION:
Linux:
- flash awesome kernel cleaning script: http://d-h.st/HDi (optional)
- flash the zip in recovery (obsolete, for older kernels with modules outside built outside)
- use zImage switcher to make a new boot.img
-
Code:
fastboot flash boot newBoot.img
Windows: (don't ask me how it works or everything else, i don't know and they have got tutorials on their site)
- repack your ROM boot.img with mine zImage using Virtuous Ten Studio http://www.virtuous-ten-studio.com/index.php/downloads
-
Code:
fastboot flash boot newBoot.img
Bugs 3.4:
None
If you want to use my kernel for your ROM just use it and cit me in credits

AW: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1
i see alot of kernel development goin on!
Good work, keep it up!
Gesendet von meinem HTC One S mit Tapatalk 2

nice to see more kernel devving going on. Trying this now.

Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
mteezey said:
nice to see more kernel devving going on. Trying this now.
Click to expand...
Click to collapse
Agreed, great to see!

mteezey said:
nice to see more kernel devving going on. Trying this now.
Click to expand...
Click to collapse
Got to love how klin stopped and now we got 3 wtf is going on lol.

Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
If someone gets this extracted and in zip format db it for me. Not at home ATM.
Sent from my One S using Tapatalk 2

Glad to see more kernels being developed for 4.2 man! Grazie! one question; im not 100% sure what you mean about replacing the file using root explorer. What are we supposed to replace it with?

dr_rick13 said:
Glad to see more kernels being developed for 4.2 man! Grazie! one question; im not 100% sure what you mean about replacing the file using root explorer. What are we supposed to replace it with?
Click to expand...
Click to collapse
Thx!
simply, go to /system/lib/modules and delete prima_wlan.ko
copy the prima_wlan.ko included in the zip file and paste it in /system/lib/modules
set correct permissions
got it?

Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
dr_rick13 said:
Glad to see more kernels being developed for 4.2 man! Grazie! one question; im not 100% sure what you mean about replacing the file using root explorer. What are we supposed to replace it with?
Click to expand...
Click to collapse
Extract the "prima_wlan.ko" from the kernel file and replace the file with same name in system/lib/module in your phone. Then set permissions on it and then reboot.
Sent from my One S using Xparent Skyblue Tapatalk 2

LikeaG2root said:
Extract the "prima_wlan.ko" from the kernel file and replace the file with same name in system/lib/module in your phone. Then set permissions on it and then reboot.
Sent from my One S using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
rmbq said:
Thx!
simply, go to /system/lib/modules and delete prima_wlan.ko
copy the prima_wlan.ko included in the zip file and paste it in /system/lib/modules
set correct permissions
got it?
Click to expand...
Click to collapse
Thanks fellas, my brain is running a little slow today Out of thanks for the day, will 'thank you' when I have more.

Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
dr_rick13 pm bro
Sent from my HTC One S using xda app-developers app

Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
Please learn how to use git commit -c or git cherry-pick so I can track new fixes and people know where you sourced from
Sent from my HTC One XL using xda app-developers app

Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
Zarboz said:
Please learn how to use git commit -c or git cherry-pick so I can track new fixes and people know where you sourced from
Sent from my HTC One XL using xda app-developers app
Click to expand...
Click to collapse
Sorry, my fault
Sent from my One S using xda app-developers app

New version avaiable in the 1st post!

R: [KERNEL][S4][AOSP][4.2][7Feb] Bubba Kernel v1.5
rmbq said:
New version avaiable in the 1st post!
Click to expand...
Click to collapse
Sweep to wake is working???. Did you test it?
Sent whit HTC ONE S

dave il barbaro said:
Sweep to wake is working???. Did you test it?
Sent whit HTC ONE S
Click to expand...
Click to collapse
yes it is working without issue, i'm using it for two days

Re: [KERNEL][S4][AOSP][4.2][7Feb] Bubba Kernel v1.5
rmbq said:
Sorry, my fault
Sent from my One S using xda app-developers app
Click to expand...
Click to collapse
It makes tracking patches easier
Sent from my HTC One XL using xda app-developers app

Related

[KERNEL][Elite][AOSP][4.4][26Jul] Bubba Kernel

Disclaimer:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* 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.
* blah blah blah you get the point.
*/​
1# post: Disclamer - special thanks
2# post: Current release & source
3# post: FAQ - bugs - future features
Donator List: (huge thanks for support)
here
Suggested kernel control app: trickstermod
I don't know if it works because i don't own the device but i have got ville which is pretty similar
[GUIDE]How to compile a kernel
Credits and Thanks:
dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team, jrior001
XDA:DevDB Information
AOSP Bubba Kernel, Kernel for the AT&T HTC One X
Contributors
rmbq
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2014-07-26
Current Beta Version: 24 Apr
Beta Release Date: 2014-04-24
Created 2014-04-23
Last Updated 2014-07-26
Reserved
Features:
Based on linux 3.4.99
Compiled with linaro toolchain 4.8.3 2014.07 optimized for cortex-a15
Linaro -O3 optimization
avaiable CPU governors: interactive, ondemand, performance, powersave, intellimand, intelliactive
avaiable GPU governors: ondemand, performance, simple
avaiable schedulers: row, deadline, noop, cfq, bfqv7r5, fiops, sio
Sleepy Plug
NTFS read & write support
exfat support
UTF8
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
zRam with LZ4 compression
zCache with LZ4 compression
CPU OC to 1.7 GHz
GPU OC to 512MHz (3D) and 320MHZ (2D)
Faux sound control v. 3
Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), XOR (neon)
dynamic fsync by faux123
fastcharge
powersuspend driver (replace earlysuspend)
KCAL control (RGB)
heavly patched memory allocators, RWSEM and mutex (take a look at my github, too many changes to make a list here)
Changelog:
Code:
[JUL 26 2014]
Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID."
Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of"
add qseecom support
some defconfig changes
cpufreq: revert CAF's cpu policy save code
sched/cpuidle: reduce IPI storm. Backport upstream 3.16
mm, hugetlb: improve page-fault scalability
mm: per-thread vma caching
Revert "msm: htc: update mem mapping"
[JUL 22 2014]
update compiler to linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
update to 3.4.99
added KCAL control by faux and fixed by me
add F2FS support
[JUL 17 2014]
update to 3.4.98
sync with cm
sync with codeaurora/kk_2.7-stable
update sleepy_plug
bfq: BFQ-v7r5
bugfix from google (see github)
[JUN 29 2014]
Remove JustArchi GCC flags cos they are unstable
update to 3.4.95
sync with CM
sync with codeaurora/kk_2.7-stable
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
[JUN 19 2014]
update compiler to linaro toolchain 4.9.1 2014.06 optimized for cortex-a15
update to 3.4.94
remove -fdata-sections GCC flag (cause of reboot issue)
sync with CM
sync with codeaurora/kk_2.7-stable
updated sleepy_plug
[JUN 09 2014]
sync with codeaurora/kk_2.7-stable
memset patch to fix bootloops
[JUN 08 2014]
3.4.92
reverted some KGSL CAF patches
removed -ftrace flag
sync with CM
improved int_sqrt algorithm
update bfq to v7-r4
[MAY 28 2014]
sync with codeaurora/kk_2.7-stable
update sleepy_plug
cpufreq: ondemand: Calculate load_at_max_freq based on current policy->max
sched: add do_avg_nr_running to fix avg_nr_running
increase base address
revert 24 May changes
[MAY 24 2014]
Increase ramdisk_offset
[MAY 19 2014]
update to 3.4.91
merge codeaurora/kk_2.7_rb1.38
update bfq to v7-r3
sleepy_plug now supports quadcore CPUs
fix headset support (CM)
new GCC flags
update compiler
[MAY 03 2014]
block: support volname for HTC devices with proc/emmc support
[MAY 02 2014]
compiled with Linaro GCC 4.9.1 optimized for cortex-a15
sync with CM
update devices_htc from Jet jb 4.3 kernel
update headset driver from Jet jb 4.3 kernel
update memory mapping (more RAM avaiable)
update pn544 driver
update bma250 driver
[APR 29 2014]
update to 3.4.88
sync with codeaurora/kk_2.7-stable
some other CAF patches
try to fix SOD
[APR 25 2014]
fix s2w
[APR 24 2014]
added s2w and dt2w with pocket detection (from torched sources)
enable BLN
[APR 23 2014] (beta)
update all drivers
made normal and QV version
enable vol to wake
replace powersuspend to earlysuspend everywhere
[APR 23 2014]
first release
If you like my work please consider making a donation, I spend almost all my free time on making this kernel the best
i'll buy another phone to continue to support the android development!
Download:
androidfilehost folder: http://www.androidfilehost.com/?w=files&flid=14090
normalToQV: http://www.androidfilehost.com/?fid=23501681358544069
F2FS FSTAB script: here from @jrior001 thread
(if you don't see the new version just wait some minutes, it's uploading)
Kernel Source: Github
Reserved
Q: What is QV version?
A: QV means "qualcomm voltages". qualcomm made a patch and stuck all voltages to 1150mv to improve stability. QV version has got all 1150 mv for each freq (like older 3.4 kernels).​Q: I plugged in my pen drive but i can't found it
A: look in /mnt/usbdisk folder.​Q: What's and how i enable/disable fastcharge?
A: with fast charge an USB charger will recognized as AC charger. it won't charge your phone faster with an AC charger. it may not charge your phone faster with an USB charger.
with the usb cable UNPLUGGED edit /sys/kernel/fast_charge/force_fast_charge:
0 -> disable
1 -> enable
than plug in the cable​Q: i've got random reboots, what do you need?
A: first read here
write this info:
kernel version
ROM
governor
scheduler
undervolted? if yes don't undervolt
QV version? if no use it
last_kmsg
Q: what's BLN and how i enable/disable it?
with BLN on when you received a notify the soft key will blink.
to enable/disable edit /sys/class/leds/button-backlight/blink_buttons:
0 -> disable
1 -> enable​Q: what's s2w and how i enable/disable it?
Sweep2wake allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep).
to enable/disable edit /sys/android_touch/sweep2wake:
0 -> disable
1 -> enable​Q: what's dt2w and how i enable/disable it?
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the capacitive buttons.
to enable/disable edit /sys/android_touch/doubletap2wake:
0 -> disable
1 -> enable​What's sleepy_plug and how can i activate/deactivate it?
sleepy plug it's an hotplug driver (it decide when turn on the second core) i wrote. it's an experimental driver and it may have got performance problem. if you notice some decrease in performance report it.
to enable/disable edit /sys/module/sleepy_plug/parameters/sleepy_plug_active:
0 -> disable
1 -> enable​Install instruction:​S-OFF:
- flash the zip in recovery
- wipe caches (optional)​S-ON:
Windows & Linux:
flash kernel zip.
stay in recovery after flashing the zip
from command prompt (ot terminal) on PC:
Code:
adb pull /tmp/newboot.img
adb reboot-bootloader
fastboot flash boot newboot.img
fastboot reboot
OLD S-ON INSTRUCTION:
Linux:
- flash awesome kernel cleaning script: http://d-h.st/HDi (optional)
- flash the zip in recovery (obsolete, for older kernels with modules outside built outside)
- use zImage switcher to make a new boot.img
-
Code:
fastboot flash boot newBoot.img
Windows: (don't ask me how it works or everything else, i don't know and they have got tutorials on their site)
- repack your ROM boot.img with mine zImage using Virtuous Ten Studio http://www.virtuous-ten-studio.com/index.php/downloads
-
Code:
fastboot flash boot newBoot.img
Bugs 3.4:
None
If you want to use my kernel for your ROM just use it and cit me in credits
I am flashing now, I will let y'all know how it goes!
-Flashing on last CM 11 release btw.
Working great on my device for the past few hours.
Running CM 11 nightly.
Noteworthy is CM11 since the past few days has directed ringtones/message tones etc to bluetooth if enabled even when bluetooth is not connected leading to no audio played, incall audio works fine. Bluetooth needs to be turned off(or bluetooth connected) for the tones to come through.
I believe this is related to CM recent commit "Merge branch 'LNX.LA.3.5.2_RB1' of git://codeaurora.org/platform/vendor/qcom-opensource/bluetooth into cm-11.0"
This kernel does not appear to have this issue. Maybe it simply does not include this commit.
new version is up!
no one report issue with this kernel so i moved this project from testing to beta.
Hi,
I installed it on PAC KK ROM.
I tried to find the following files with Root Browser.
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake
/sys/class/leds/button-backlight/blink_buttons
But these files are not present at the the paths mentioned.
I tried to change these settings from Trickster MOD but I found only the USB Fast charge option only.
sathish804 said:
Hi,
I installed it on PAC KK ROM.
I tried to find the following files with Root Browser.
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake
/sys/class/leds/button-backlight/blink_buttons
But these files are not present at the the paths mentioned.
I tried to change these settings from Trickster MOD but I found only the USB Fast charge option only.
Click to expand...
Click to collapse
if you have got cm file manager can you search for "sweep" and tell me the path of the files? thx .)
BLN is not implemented atm
i'll fix asap
Invading my space here I see Mr.rmbq....:laugh: just playing man, Welcome to the party over here in Evita land.
For those of you guys that don't know him rmbq has been a fixture in the One S forum for a while and we have been bouncing ideas for our kernels off each other for months. He puts out solid work and is quite a bit more knowlegdeable at kernels than I.
jrior001 said:
Invading my space here I see Mr.rmbq....:laugh: just playing man, Welcome to the party over here in Evita land.
For those of you guys that don't know him rmbq has been a fixture in the One S forum for a while and we have been bouncing ideas for our kernels off each other for months. He puts out solid work and is quite a bit more knowlegdeable at kernels than I.
Click to expand...
Click to collapse
ahah thanks for the welcome man
i built a kernel for evita cos you say me more than once you haven't got time to work on kernel so...
rmbq said:
ahah thanks for the welcome man
i built a kernel for evita cos you say me more than once you haven't got time to work on kernel so...
Click to expand...
Click to collapse
I don't mind at all man...I may keep mine going, I may get a new phone and move on soon idk. But yeah I don't do enough on it. I could do more but ROM work has pulled me away.
Sent from my One Xl using Tapatalk
I hope I don't offend you jrior in any way, but once your new ROM project drops, I'll be on that, along with this amazing kernel
Sent from my One X using Tapatalk
jrior001 said:
I don't mind at all man...I may keep mine going, I may get a new phone and move on soon idk. But yeah I don't do enough on it. I could do more but ROM work has pulled me away.
Sent from my One Xl using Tapatalk
Click to expand...
Click to collapse
Not to take away from this kernel at all (great work, @rmbq), but it'd be a massive shame to see Torched disappear.
Sent from my Evita
timmaaa said:
Not to take away from this kernel at all (great work, @rmbq), but it'd be a massive shame to see Torched disappear.
Sent from my Evita
Click to expand...
Click to collapse
2 kernel are better than 1! jrior001 fixed something, i fixed something and together we made better kernels! sadly a day has got only 24 hours and there are a lot of things to do
btw new version is up! with s2w dt2w and BLN
cool!!! excellent sir! congratulations for your work and thanks for sharing it with us!
Scozzar said:
So I assume everything went well...?
Click to expand...
Click to collapse
It was great.
The stability was 100% (with FC's)
I must applaud (and thank you) for your great work and can't wait to see where this kernel goes.
BTW: I found this kernel to work with Pac, CM, and KarbonKat so far. Does NOT work on PA [Beta 4] (I change OS's on a daily basis, not kidding)
Lol i was goma release my kernel for ville and evita too. Well the more the better
Sent from my One S using Tapatalk
I flashed the newest kernel but can't seem to be able to turn on BLN, s2w, or dt2w.. tried using root explorer to turn them on but the last part of each path isn't there and trickster has nothing for turning on BLN. Says kernel installed is the newest one, 4/23. Am I missing something?
Sent from my One XL using Tapatalk
---------- Post added at 10:09 PM ---------- Previous post was at 09:36 PM ----------
downset00 said:
I flashed the newest kernel but can't seem to be able to turn on BLN, s2w, or dt2w.. tried using root explorer to turn them on but the last part of each path isn't there and trickster has nothing for turning on BLN. Says kernel installed is the newest one, 4/23. Am I missing something?
Sent from my One XL using Tapatalk
Click to expand...
Click to collapse
Edit: never mind, downloaded wrong kernel lol
Sent from my One XL using Tapatalk
Downloading as we speak!!! Torch kernel was spectacular and I am going to take a stab that this will be equally as pleasing . Will report back with the good news (hopefully )
Reporting live from outer space
---------- Post added at 12:45 AM ---------- Previous post was at 12:13 AM ----------
Would not boot past the HTC logo no matter what.
Tried flashing the "kernel cleaner" and then flashing the kernel. Nothing.
Tried flashing just the kernel. Nothing.
Tried flashing my karbonkat 1.0-7 build with the kernel zip afterwards. Nothing.
Flashed ONLY my karbonkat zip. Booted right up....
Not sure what's going on? And yes I wiped dalvik/cache in between and during all of this process.
Posted From My CodeFired Super Evita ×_×
---------- Post added at 12:53 AM ---------- Previous post was at 12:45 AM ----------
Just flashed the 4.0 kk torch kernel and it went smooth. Not sure what's up??
Posted From My CodeFired Super Evita ×_×
Another user has confirmed this to be working with Carbon so there must be something on at your end. Did you check the md5?
Sent from my Evita

[KERNEL][M4][AOSP][4.4][16Jul] Bubba Kernel

Disclaimer:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* 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.
* blah blah blah you get the point.
*/​
1# post: Disclamer - special thanks
2# post: Current release & source
3# post: FAQ - bugs - future features
Donator List: (huge thanks for support)
here
Suggested kernel control app: trickstermod
I don't know if it works because i don't own the device but i have got ville which is pretty similar
[GUIDE]How to compile a kernel
Credits and Thanks:
dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team, jrior001, flar2
XDA:DevDB Information
AOSP Bubba Kernel, Kernel for the HTC One Mini
Contributors
rmbq
Kernel Special Features:
Version Information
Status: Testing
Beta Release Date: 2014-07-16
Created 2014-05-06
Last Updated 2014-07-16
Reserved
Features:
Based on linux 3.4.99
Compiled with linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
Linaro -O3 optimization
avaiable CPU governors: interactive, ondemand, performance, powersave, intellimand, intelliactive
avaiable GPU governors: ondemand, performance, simple
avaiable schedulers: row, deadline, noop, cfq, bfqv7r5, fiops, sio
Sleepy Plug
NTFS read & write support
exfat support
UTF8
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
zRam with LZ4 compression
zCache with LZ4 compression
CPU OC to 1.7 GHz
GPU OC to 512MHz (3D) and 320MHZ (2D)
Faux sound control v. 3
Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), XOR (neon)
dynamic fsync by faux123
fastcharge
powersuspend driver (replace earlysuspend)
KCAL control (RGB)
heavly patched memory allocators, RWSEM and mutex (take a look at my github, too many changes to make a list here)
Changelog:
Code:
[JUL 26 2014]
Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID."
Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of"
add qseecom support
some defconfig changes
cpufreq: revert CAF's cpu policy save code
sched/cpuidle: reduce IPI storm. Backport upstream 3.16
mm, hugetlb: improve page-fault scalability
mm: per-thread vma caching
update compiler to linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
update to 3.4.99
added KCAL control by faux and fixed by me
add F2FS support
Revert "msm: htc: update mem mapping"
[JUL 17 2014]
update to 3.4.98
sync with cm
sync with codeaurora/kk_2.7-stable
update sleepy_plug
bfq: BFQ-v7r5
bugfix from google (see github)
[JUN 29 2014]
Remove JustArchi GCC flags cos they are unstable
update to 3.4.95
sync with CM
sync with codeaurora/kk_2.7-stable
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
[JUN 19 2014]
update compiler to linaro toolchain 4.9.1 2014.06 optimized for cortex-a15
update to 3.4.94
remove -fdata-sections GCC flag (cause of reboot issue)
sync with CM
sync with codeaurora/kk_2.7-stable
updated sleepy_plug
update ramdisk to 19Jun CM
[JUN 08 2014]
3.4.92
reverted some KGSL CAF patches
removed -ftrace flag
sync with CM
improved int_sqrt algorithm
update bfq to v7-r4
[MAY 27 2014]
update to 3.4.91
sync with codeaurora/kk_2.7-stable
update bfq to v7-r3
new GCC flags
update compiler
added sleepy_plug
removed mp decision
[MAY 13 2014]
fix mic
disable GPU OC
[MAY 08 2014]
fix GPU oc
add l2w and su2w
[MAY 07 2014] 2nd
added intelliactive and intellimand governors
added sio and bfqv7r2 schedulers,
added s2w dt2w credits to flar2
CPU OC
GPU OC
[MAY 07 2014]
fix boot
[MAY 06 2014]
first release
If you like my work please consider making a donation, I spend almost all my free time on making this kernel the best
i'll buy another phone to continue to support the android development!
Download:
androidfilehost folder: http://www.androidfilehost.com/?w=files&flid=16974
(if you don't see the new version just wait some minutes, it's uploading)
Kernel Source: Github
Reserved
Q: i've got random reboots, what do you need?
A: first read here
write this info:
kernel version
ROM
governor
scheduler
undervolted? if yes don't undervolt
QV version? if no use it
last_kmsg
Q: I plugged in my pen drive but i can't found it
A: look in /mnt/usbdisk folder.​Q: What's and how i enable/disable fastcharge?
A: with fast charge the max mA the phone can receive from an USB cable is increased
with the usb cable UNPLUGGED edit /sys/kernel/fast_charge/force_fast_charge:
0 -> disable
1 -> enable
than plug in the cable​Q: what's BLN and how i enable/disable it?
with BLN on when you received a notify the soft key will blink.
to enable/disable edit /sys/class/leds/button-backlight/blink_buttons:
0 -> disable
1 -> enable​Q: what's s2w and how i enable/disable it?
Sweep2wake allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep).
to enable/disable edit /sys/android_touch/sweep2wake:
0 -> disable
1 -> enable​Q: what's dt2w and how i enable/disable it?
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the capacitive buttons.
to enable/disable edit /sys/android_touch/doubletap2wake:
0 -> disable
1 -> enable​What's sleepy_plug and how can i activate/deactivate it?
sleepy plug it's an hotplug driver (it decide when turn on the second core) i wrote. it's an experimental driver and it may have got performance problem. if you notice some decrease in performance report it.
to enable/disable edit /sys/module/sleepy_plug/parameters/sleepy_plug_active:
0 -> disable
1 -> enable​Install instruction:​S-OFF:
- flash the zip in recovery
- wipe caches (optional)​S-ON:
Windows & Linux:
flash kernel zip.
stay in recovery after flashing the zip
from command prompt (ot terminal) on PC:
Code:
adb pull /tmp/newboot.img
adb reboot-bootloader
fastboot flash boot newboot.img
fastboot reboot
OLD S-ON INSTRUCTION:
Linux:
- flash awesome kernel cleaning script: http://d-h.st/HDi (optional)
- flash the zip in recovery (obsolete, for older kernels with modules outside built outside)
- use zImage switcher to make a new boot.img
-
Code:
fastboot flash boot newBoot.img
Windows: (don't ask me how it works or everything else, i don't know and they have got tutorials on their site)
- repack your ROM boot.img with mine zImage using Virtuous Ten Studio http://www.virtuous-ten-studio.com/index.php/downloads
-
Code:
fastboot flash boot newBoot.img
Bugs 3.4:
None
If you want to use my kernel for your ROM just use it and cit me in credits
rmbq said:
Install instruction:​
Code:
fastboot flash boot.img
Click to expand...
Click to collapse
should be "fastboot flash boot boot.img", or is this also working without "boot"?
will give it a try! thanks man!
any suggestions for governor and schedulers?
EDIT: eh, guess its not working with CM...so sad.
theodorius123 said:
should be "fastboot flash boot boot.img", or is this also working without "boot"?
will give it a try! thanks man!
any suggestions for governor and schedulers?
EDIT: eh, guess its not working with CM...so sad.
Click to expand...
Click to collapse
yes i missed a "boot" sorry xD
btw as i said in OP i don't own the device so i don't know if it's booting or not, i'll make some tries(the first one failed lol)!
rmbq said:
btw as i said in OP i don't own the device so i don't know if it's booting or not, i'll make some tries(the first one failed lol)!
Click to expand...
Click to collapse
Can confirm: I get a bootloop with current CM nightly. only HTC-logo, black screen, HTC-logo, black screen,.....
i made another version try that one!
rmbq said:
i made another version try that one!
Click to expand...
Click to collapse
it`s booting. but I have only interactive, conservative, ondemand, powersave and performance as governors. intellimand and intelliactive are missing.
also bfqv7r2 and sio schedulers are missing.
will test a little bit more...
theodorius123 said:
it`s booting. but I have only interactive, conservative, ondemand, powersave and performance as governors. intellimand and intelliactive are missing.
also bfqv7r2 and sio schedulers are missing.
will test a little bit more...
Click to expand...
Click to collapse
thanks for testing, when you have time can you tell which features are missing from the list in the second post?
post #2:
I don't know how to check all this (give me an "how to"), but I can tell you, that my(!) main features are not working: BLN, S2W and DT2W
S2W was working twice, out of ~50 attempts. and yes, I changed the values to "1".
maybe check this. S2W and DT2W are just working perfect in this kernel!
post #3:
- /sys/class/leds/button-backlight/blink_buttons:
it is only "blink". not "blink_buttons"
- cant find this: /sys/module/sleepy_plug/parameters/sleepy_plug_active
EDIT: In general for DT2W I would prefer double tapping somewhere on the screen and not only on the capacitive buttons...
EDIT2: ...and sorry. no more testing for me today. my bed (and tomorrow morning my boss) is waiting...
Is this kernel only for aosp roms like pacman or can I use it on any sense 5.5 roms too?
BLN not working for me. s2w sometimes i have to swipe more in order to wake. cpu and gpu oc not working. Max is still stock. Everything else is good for me. When will we be able to map the htc logo as a button?
Thanks for testing i'll make another version asap
And no this is only for aosp
new version is up,
added governor, schedulers, s2w dt2w l2w su2w, CPU OC and GPU OC (check if there's all this stuff)
there aren't: BLN, sleepy_plug, -O3 optimization (only O2 atm), voltage control
also faux sound control should be working
Is it compatible with STOCK ROMs, or only CM based ROMs?
JaroslavHruska said:
Is it compatible with STOCK ROMs, or only CM based ROMs?
Click to expand...
Click to collapse
look at the title or 2 posts back you'll find your answer
I am sorry, I was confused with these 2 sentences:
"EDIT: eh, guess its not working with CM...so sad."
vs.
"AOSP"
JaroslavHruska said:
I am sorry, I was confused with these 2 sentences:
"EDIT: eh, guess its not working with CM...so sad."
vs.
"AOSP"
Click to expand...
Click to collapse
cos the first kernel i made wasn't booting, btw it's for CM or AOSP, not for SENSE
rmbq said:
......l2w su2w.....
Click to expand...
Click to collapse
can you explain?
theodorius123 said:
can you explain?
Click to expand...
Click to collapse
l2w: logo2wake
su2w: sweep up 2 wake
you can enable them in
/sys/android_touch/<file>
or /sys/android_key/<file>

[KERNEL] [E6853-E6883-E6653-E6683] [19/06] Aur-Kernel-V4.0 [MM-Fw.224]

Aur-kernel for xz5x
- Features
Compiled with gcc 4.9.4 (UBERTC)
Powersuspend
Thunderplug
Frandom
Vnswap
Dynamic sync
Fast charge
Underclocking.
Sio and fiops i/o shedulers
Faux sound control
NVIDIA power efficiency patches
Enabled power_efficient workqueues
Optimized memset - memcpy
Usb fastcharge
Drive droid support - mount cdrom
Kcal color control (thanks to @savoca)
Module param to change the thermal throttle temperature
Various performance/stability optimizations
- Changelog-Marshmallow
Aur-Kernel_Xz5x _E6xxx _v3.0
-Based on sony kernel source fw 32.1.A.1.185 marshmallow
-ARM64 CRC32 hw accelerated module
-Interactive governor optimizations
-Ipv4 window size to 64K (speed improvement)
-Add a module param to change the thermal throttle temperature
-Implemented task's adj rbtree
-Increased the buffer-head per-CPU LRU size
-Adreno idler for devfreq
-Added sysinterface for GENTLE_FAIR_SLEEPERS
Aur-Kernel_Xz5x _E6xxx _v2.0
-Based on sony kernel source fw 32.1.A.1.163 marshmallow
-First release for mm
-All features and patches from aur-kernel LL
FOR MORE CHECK GITHUB AUR KERNEL
- Changelog-Lollipop
Aur-Kernel_Xz5x _E6xxx _v1.2.5
-BFQ and ZEN i/o schedulers
-Enabled power_efficient workqueues
-Drive droid support - mount cdrom
-UPDATE :NVIDIA power efficiency patches
-Allow 320K AAC encoding
-Added new driver for on/off operations
-Enable L1/L2 clock gating WA
Aur-Kernel_Xz5x _E6xxx _v1.2.4
NVIDIA power efficiency patches
-Usb fastcharge
-Add audit support
-Memory utilities optimization
-Activate additional 27 MHz gpu frequency step
-Tweaks to reduce lags improve battery life
Aur-Kernel_Xz5x _E6xxx _v1.2.3
-Removed msm hotplug
-Cleaned some patches
-Add underclocking....
Powersuspend
Thunderplug
Frandom
Vnswap
Dynamic sync
-More kernel optimizations
Aur-Kernel_Xz5x _E6xxx _v1.2.2
-Introduce new relation for freq selection
-Optimizations on cpu-boost <integrated with hotplug driver and cpufreq governor>
-Added Impulse governor
-Prevent the driver from handling userspace on msm performance
-Added a simple api to query the display state (on/off)
-Enabled arch power
-Optimized make file for cortex-a57
-Added power quickwakeup
-Optimize ksm
-Added msm hotplug driver
-Added hotplug enable toggle
-Added a module param to change the thermal throttle temperature
Aur-Kernel_Xz5p _E68xx _v1.2
- Enabled x-reality,etc.. -Thanks to tobias.wadvogel
- Add sio and fiops i/o shedulers
- Make input boosting optional
- Implement task's adj rbtree
- Skip dying or exiting task
- Maintain LMK rbtree with signal->adj_node
- Reduce the rate of needless idle load balancing
- Stop searching for tasks in newidle balance
- Enable UFS ICE
Aur-Kernel_Xz5p _E68xx _v1.1
- Removed tomtomsound control
- Added faux sound control
- Kcal color control (thanks to @savoca)
- Various performance/stability optimizations
SEE MORE ON GITHUB
Aur-Kernel_Xz5p _E68xx _v1
- Based on fw 32.0.A.6.200
- Compiled with gcc 4.9.3 (UBERTC)
- Disabled dm_verity
- Selinux enforcing
- Tomtom sound control by Tom G.
- Kernel Marshmallow :
Aur-Kernel_Xz5p _E6853 _v4.0
Aur-Kernel_Xz5p _dsds _v4.0
Aur-Kernel_Xz5 _E6653 _v4.0
Aur-Kernel_Xz5 _dsds _v4.0
Kernel_Xz5p _E6853_fw224-STOCK
Kernel_Xz5p _DUAL_fw224-STOCK
Kernel_Xz5 _E6653_fw224-STOCK
Kernel_Xz5 _DUAL_fw224-STOCK
- Kernel Lollipop :
Kernel_Xz5 _E6653 _v1.2.5
Kernel_Xz5p _E6853 _v1.2.5
Kernel_Xz5p _E6853 _v1.2.1 overclock-drm fix
Kernel_Xz5p _E6883 _v1.2.5
Kernel_Xz5p _E6883 _v1.2.1 overclock-drm fix
INSTALL KERNEL ADIUTOR FROM PLAY STORE TO MAKE CHANGES AND ThunderZap Control FOR Thunderplug
SEE MORE ON GITHUB
Kernel Source :
Aur kernel
Thanks Too :
tobias.waldvogel for drm fix
flar2
franciscofranco
AndroPlus
Tommy-Geenexus
- I AM NOT RESPONSIBLE FOR ANY DAMAGES THAT MAY CAUSE YOUR DEVICE
- If you appreciate my work qualifies with 5 stars
- If you appreciate my work and dedication
Feel free to donate
RESERVED
Thank bro
Hy
Is this for Customized Locked BL Kernel?
Gesendet von Rotwild G1 Gravity
get2easy said:
Hy
Is this for Customized Locked BL Kernel?
Gesendet von Rotwild G1 Gravity
Click to expand...
Click to collapse
Custom kernels will never work with locked BL
Sent from my Z5 Premium using XDA Labs
Thx for the Information
Gesendet von Rotwild G1 Gravity
auras76 said:
- Features
Compiled with gcc 4.9.4 (UBERTC)
Powersuspend
Thunderplug
Frandom
Vnswap
Dynamic sync
Underclocking.
Sio and fiops i/o shedulers
Faux sound control
NVIDIA power efficiency patches
Enabled power_efficient workqueues
Optimized memset - memcpy
Usb fastcharge
Drive droid support - mount cdrom
Kcal color control (thanks to @savoca)
Module param to change the thermal throttle temperature
Various performance/stability optimizations
- Changelog-Marshmallow
- Changelog-Lollipop
Aur-Kernel_Xz5x _E6xxx _v1.2.5
-BFQ and ZEN i/o schedulers
-Enabled power_efficient workqueues
-Drive droid support - mount cdrom
-UPDATE :NVIDIA power efficiency patches
-Allow 320K AAC encoding
-Added new driver for on/off operations
-Enable L1/L2 clock gating WA
Aur-Kernel_Xz5x _E6xxx _v1.2.4
NVIDIA power efficiency patches
-Usb fastcharge
-Add audit support
-Memory utilities optimization
-Activate additional 27 MHz gpu frequency step
-Tweaks to reduce lags improve battery life
Aur-Kernel_Xz5x _E6xxx _v1.2.3
-Removed msm hotplug
-Cleaned some patches
-Add underclocking....
Powersuspend
Thunderplug
Frandom
Vnswap
Dynamic sync
-More kernel optimizations
Aur-Kernel_Xz5x _E6xxx _v1.2.2
-Introduce new relation for freq selection
-Optimizations on cpu-boost <integrated with hotplug driver and cpufreq governor>
-Added Impulse governor
-Prevent the driver from handling userspace on msm performance
-Added a simple api to query the display state (on/off)
-Enabled arch power
-Optimized make file for cortex-a57
-Added power quickwakeup
-Optimize ksm
-Added msm hotplug driver
-Added hotplug enable toggle
-Added a module param to change the thermal throttle temperature
Aur-Kernel_Xz5p _E68xx _v1.2
- Enabled x-reality,etc.. -Thanks to tobias.wadvogel
- Add sio and fiops i/o shedulers
- Make input boosting optional
- Implement task's adj rbtree
- Skip dying or exiting task
- Maintain LMK rbtree with signal->adj_node
- Reduce the rate of needless idle load balancing
- Stop searching for tasks in newidle balance
- Enable UFS ICE
Aur-Kernel_Xz5p _E68xx _v1.1
- Removed tomtomsound control
- Added faux sound control
- Kcal color control (thanks to @savoca)
- Various performance/stability optimizations
SEE MORE ON GITHUB
Aur-Kernel_Xz5p _E68xx _v1
- Based on fw 32.0.A.6.200
- Compiled with gcc 4.9.3 (UBERTC)
- Disabled dm_verity
- Selinux enforcing
- Tomtom sound control by Tom G.
- Kernel Marshmallow :
Kernel_Xz5p _E6853_fw163-STOCK
Kernel_Xz5p _E6883_fw163-STOCK
Kernel_Xz5 _E6653_fw163-STOCK
Kernel_Xz5 _E6683_fw163-STOCK
- Kernel Lollipop :
Kernel_Xz5 _E6653 _v1.2.5
Kernel_Xz5p _E6853 _v1.2.5
Kernel_Xz5p _E6853 _v1.2.1 overclock-drm fix
Kernel_Xz5p _E6883 _v1.2.5
Kernel_Xz5p _E6883 _v1.2.1 overclock-drm fix
INSTALL KERNEL ADIUTOR FROM PLAY STORE TO MAKE CHANGES
SEE MORE ON GITHUB
Kernel Source :
Aur kernel
Thanks Too :
tobias.waldvogel for drm fix
flar2
franciscofranco
AndroPlus
Tommy-Geenexus
Click to expand...
Click to collapse
FYI for other early adopters: None of the features implemented in e6653 mm kernel
goRt said:
FYI for other early adopters: None of the features implemented in e6653 mm kernel
Click to expand...
Click to collapse
Working on it.
With new aur custom kernel for 6853 for MM faux sound doesn't work.seems that feature are not implemented
leobiagi said:
With new aur custom kernel for 6853 for MM faux sound doesn't work.seems that feature are not implemented
Click to expand...
Click to collapse
Mm kernel is near stock as of now I assume. Drm fix and selinux enforcement has been done. This allows the basic rooting of the phone .
I think he is working on a custom kernel based on MM for the device , so wait for a while maybe
hi, the new kernel (Aur-Kernel_Xz5p _E6853 _v2.0) for your MM rom i install simply by flash from recovery? Or adb method?Thank you, auras!!!!
Eddiejam72 said:
hi, the new kernel (Aur-Kernel_Xz5p _E6853 _v2.0) for your MM rom i install simply by flash from recovery? Or adb method?Thank you, auras!!!!
Click to expand...
Click to collapse
On recovery.
The kernel is running smooth as of now thanks @auras76
Sent from my Sony E6883 using XDA Labs
What about e6833
How to enable hotplug?
Use Kernel adiutor from playstore
---------- Post added at 16:25 ---------- Previous post was at 15:25 ----------
Is it possible to make a permissive version of this kernel?
Black_Focus_X said:
Use Kernel adiutor from playstore
---------- Post added at 16:25 ---------- Previous post was at 15:25 ----------
Is it possible to make a permissive version of this kernel?
Click to expand...
Click to collapse
It is.
auras76 said:
It is.
Click to expand...
Click to collapse
Ok cool thanks
@auras, is it possible to restore fm radio without headset feature?
Thanks
hey the kernel for the Xz5 and the Xz5p on FW.163 is the same file, they are both for the Xz5p
Is this right? I am flashing the Xz5p one onto my E6653 and it doesn't work...

[KERNEL][MIDO][Oreo/Pie] ElectraBlue Kernel 21.0 - July 06 - Redmi Note 4

{
"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"
}
Electrifying Android!​
About ElectraBlue Kernel
ElectraBlue Kernel was first introduced to Android One 1st generation devices. Now it is also available for Redmi Note 4. It is developed to unleash the full power of your device. This kernel is developed in a manner to give you a balanced blend between battery life and performance. I added various tweaks i.e. governors, i/o schedulers, hotplug drivers and various other patches and fixes from many great kernels. The kernel will get updates regularly with new features/patches/fixes. I am continuously trying to make it more better day by day. I believe in quality over quantity.
Code:
#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
Features
Compiled with Linaro 7.3.x Toolchain (Optimized for Cortex-A53)
Linux version 3.18.140
Android Oreo & Pie support
Latest CAF tag "LA.UM.7.6.r1-05300-89xx.0"
DTS Eagle
Significantly improved performance & battery life
sdFAT filesystem (supports ext4, vFat and others too)
WireGuard VPN support
Spectrum support
KCAL v2 colour control
Sound Control
Qnovo charging driver for maintaining temperature
Boeffla wakelock blocker
Kernel Sampage Merging (KSM)
Disabled CRC check (up to 30% faster I/O)
USB Fastcharge
Vibration intensity control
F2FS support
Governors : alucard, conservative, ondemand, userspace, powerspace, interactive(default), performance, electron
I/O Schedulers : noop, deadline, cfq, maple, fiops, sio, bfq(default), zen
Westwood as default TCP congestion algrorithm
Requirements
Must be on Oreo/Pie based ROM (MIUI not supported, only Lineage and AOSP based ROMs supported as of now)
Must be on stock kernel of your ROM
A custom recovery (TWRP) should be installed
How to flash
Download the zip file of kernel from given below link
Boot your device into recovery mode
Select ElectraBlue-xx-xxxx-xx-mido.zip file
Flash the zip
Reboot
Enjoy!!
Downloads
ElectraBlue latest build
Credits
- @abhishek987
- @The_Flash
- @akhilnarang
- @flar2
- @MSF-Jarvis
- @frap129
- @franciscofranco
- @Adesh15 (For sending some useful pull requests)
- @krasCGQ
- Kernel Talk Telegram group
XDA:DevDB Information
ElectraBlue Kernel For Xiaomi Redmi Note 4 mido, Kernel for the Xiaomi Redmi Note 4
Contributors
LordArcadius
Source Code: https://github.com/LordArcadius/electrablue_mido
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 21.0
Stable Release Date: 2019-07-06
Created 2017-08-13
Last Updated 2019-07-06
Important Information
Getting Fruitloops(bootloop)? Bugs? Or any other issue? Then post here with logs! cause LOGS or GTFO.
Do read the OP before posting any question or any issue.
Do not ask same question again
Every included feature of this kernel will be given in the features section or in changelogs. Do not ask whether this kernel have this and that feature.
If you do not read OP or ask same question again then you'll be ignored.
For further discussions join our Telegram group:- http://t.me/eb_kernel
Happy Flashing!
Changelogs
ElectraBlue Kernel 21.0 - July 06, 2019
Upstream to Linux 3.18.140
Merge latest CAF tag
Upstream prima to latest
Removed all hacks related to display wake up
Much faster display wake up
Use AnyKernel3 instead of AnyKernel2
ElectraBlue Kernel 20.0 - April 13, 2019
Fixed app force close issue
Removed CPU input and Devfreq boost
Updated the DTS Eagle drivers
ElectraBlue Kernel 19.0 - April 12, 2019
Upstreamed Linux to 3.18.138
Merged latest CAF tag
Merged latest prima
Drop non-treble ROMs support
AnyKernel2 upstreams
Added CPU Input Boost
Added Devfreq Boost
Improved app loading speed
Fixed Spectrum
ElectraBlue Kernel 18.0 - March 24, 2019
Upstream to Linux 3.18.137
Upstream to latest CAF tag
Upstream prima
Reset LMK to 3.18-common tree
Set interactive as default governor
Addded FK manager profile
ElectraBlue Kernel 17.0 - Feb 19, 2019
Fixed touch to focus issue in Camera
Other under the hood changes
ElectraBlue Kernel 16.0 - Feb 11, 2019
Linux kernel upstream to 3.18.134
CAF upstream to latest tag
WLAN Prima upstream to latest tag
ElectraBlue Kernel 15.0 - Jan 13, 2019
Upstreamed to 3.18.132
Upstreamed to latest CAF tag
Fingerprint unlock speed improvements
Display wake-up improvements
Added Adreno boost
ElectraBlue Kernel 14.0 - Dec 28, 2018
Rebased the kernel to CAF Pie tag
Upstreamed to Linux 3.18.131
Upstreamed CAF tag
Upstreamed prima to latest
Debloated the kernel
Removed OC & UC
Upstreamed F2FS
Other under the hood optimisations
ElectraBlue Kernel 13.0 - Sep 04, 2018
Upstreamed to 3.18.120
Merged latest CAF Tag (LA.UM.6.6.r1-09200-89xx.0)
Huge update to spectrum profiles
Fixed all the spectrum profile issues
Introduced new frequency table by Raphielscape
CPU Overclocked to 2.1 GHz & Underclocked to 195 MHz
GPU Overclocked to 750 MHz & Underclocked to 200 MHz
Many kgsl optimsations kanged from Raphielscape
Added back missing frandom generator
Unified treble & non-treble builds into one zip! Thanks to KrasCGQ
Many under the hood optimisations & fixes
ElectraBlue Kernel 12.1 - July 23, 2018
Upstreamed to 3.18.116
Merged latest CAF Tag (LA.UM.6.6.r1-09200-89xx.0)
Updated DTS Eagle driver
ElectraBlue Kernel 12.0 - July 16, 2018
Upstreamed to 3.18.115
Merged latest CAF Tag (LA.UM.6.6.r1-09000-89xx.0)
Added latest DTS Eagle driver
BFQ I/O Scheduler updated to latest v8
Updated F2FS
Upstreamed Crypto
Added latest sdFAT support
Added CPU wake boost driver
Android BInder upstreams
Device specific Xiaomi upstreams
Fixed some more memory leaks
Updated WireGuard driver
Added more sched optimisations
Work queue optimisations
Re-added the Fingerprint boost driver
Added support for Treble ROMs
ElectraBlue Kernel 11.0 - April 14, 2018
Upstreamed to 3.18.105
Latest CAF Tag
Upstreamed Crypto
Upstreamed F2FS
Latest display drivers
Imported all the latest changes from Xiaomi
Fixed Omnivision Camera crash
Many under the hood optimizations and fixes
Switched to LInaro 7.3.x Optimized
Switched to Google common BInder
Upstream the BInder to latest
Live Display support added
Performance & battery life improvements
ElectraBlue Kernel 10.0 - February 11, 2018
Upstreamed to latest Linux 3.18.94
Latest CAF tag
Fingerprint sensor boost driver made its way again
Sched optimizations
Deep sleep issue fixed
Added Sweep to wake & sweep to sleep gestures
Added fix for new Omnivision camera blobs
CPU Boost optimisations
KCAL improvements
Enabled KSM again
Many under the hood optimizations
ElectraBlue Kernel 9.0 - January 07, 2018
Upstreamed to 3.18.91
Latest CAF Tag for both oreo and nougat builds
WireGuard support added
New display panel support added
Fixed zRAM
Added some Cortex-A53 specific optimisations
Goodix fingerprint sensor improvements
And many more improvements, check github for more info.
ElectraBlue Kernel 8.1 - December 10, 2017
Upstreamed 3.18.85 to 3.18.87
Removed CPU Quiet (It was unstable)
Some zwap optimisations
Some other minor changes
ElectraBlue Kernel 8.0 - November 30, 2017
Rebased to @abhishek987's latest Oreo kernel source
Added CPU Quiet again! Works perfectly
Upstreamed to latest Linux 3.18.85
Cleaned up many useless stuffs
Improved performance and battery life (reported by testers)
Download server moved to Google Drive from AFH(It sucks from past few weeks)
ElectraBlue Kernel 7.0 - November 23, 2017
Upstreamed to 3.18.83
Switched to LInaro 7.2.x Cortex-A53 optimised toolchain
Removed safetynet flags (no need of magisk to bypass safteynet)
Removed previous wakelock blocker
Added Boeffla wakelock blocker
Upstream Crypto
Completely removed Lazyplug
Spectrum profile update
Added Qnovo driver for maintaining temperature while charging
Completely removed CPU Quiet
Some other changes. Check full changelogs HERE
ElectraBlue Kernel 6.1 - November 02, 2017
Upstreamed to 3.18.79
Full changelogs are HERE
ElectraBlue Kernel 6.0 - October 20, 2017
Upstreamed to 3.18.76
Slimbus OC
Fixed random reboot issue
Fixed lags in Spectrum battery profile
Spectrum profiles are updated
Many fixes related to performance and battery
Removed gentle fair sleepers
Allow all 8 cores on bootup
Full changelogs are HERE
ElectraBlue Kernel 5.0 - October 01, 2017
Upstreamed to 3.18.72
Added Spectrum support
Added HID gadgets support (Thanks to @h4waii)
Added LazyPlug Hotplug driver
Added chill, relaxed and electron CPU governors
CPU boost optimizations
Adreno boost optimizations
Tuned interactive governor
Zswap optimizations
Added Snappy compression/decompression library support
Many more performance and battery life related improvements
Full changelogs are HERE
ElectraBlue Kernel 4.0 - September 09, 2017
Upstreamed to 3.18.70
Android 8.0 Oreo support added
Reduced CPU Load Average
Optimised ARM RWSEM Algorithm
Fix some more memory leaks
Fixed lags in Adreno Idler
Added zzmoove governor
Unlock HZ options
Disable quick wakeup driver
Removed AutoSMP Hotplug
Full changelogs HERE
Older Changelogs
ElectraBlue 3.0 - August 26, 2017
Readded Adreno idler
Adreno idler disabled by default
Upstreamed to LInux 3.18.67
Added state notifier
Added quick wakeup driver
Added early suspend
Added LCD notifier
Added power suspend driver
Added cpu quiet framework
Disabled FP boost
Added adreno boost
Tweaked interactive governor
Merged CAF tag LA.UM.5.6.r1-05400-89xx.0
Added BFQ I/O sched
Disabled CPU L2 cache while playing video
Switched to Linaro 7.1.x toolchain
Fix many memory leaks
Added AutoSMP(doesn't work ATM)
Added gentle fair sleepers
Added Arch power
Full Changelogs HERE
ElectraBlue 2.0 - August 15, 2017
Code:
Added KCAL Colour Control
Added Sound control
Added Fingerprint sensor boost driver
Added Adreno idler
Enabled westwood, htcp and bic TCP congestion algorithms
Enabled Kernel Sampage Merging
Some optimisations and improvements in performance and battery life
4affb58 eb.sh: Update USER
b0683dc mido_defconfig: ElectraBlue 1.1->ElectraBlue 2.0
8d21576 mdss_fb: backlight dimmer option
df22871 mido_defconfig: Enable Sound control and Kernel Sampage Merging (KSM)
11843ba ASoC: msm8x16-wcd: add speaker gain and prevent reset
38472a9 ASoC: msm8x16-wcd: Sound control: allow further reduction of digital gain
60fa725 ASoC: msm8x16-wcd: Sound control: add mic gain
2c7871611 ASoC: msm8x16-wcd: Sound control
f920d9b mido_defconfig: Add exFAT support
d79c728 Add exFAT support
873cfde Revert "msm: mdss: Use a high priority WQ for irq_done work"
4d10cdd msm: mdss: Use a high priority WQ for irq_done work
17bb40c2 workqueue: Implement delayed_work_busy()
5da5736 msm: qpnp-haptic: Use a high-priority workqueue for haptics
2c3352f mido_defconfig: Enable FP Boost
cf57acd fp-boost: Decrease duration to 2 seconds
376ebde fp-boost: Set priority to max
74455d6 cpufreq: Introduce fingerprint boost driver
3e52b0b mm: Set vm swapiness to 0
3fa7236 adreno_idler: fix a declaration after statement warning I should just disable these but whatever.
f930214 adreno_idler: Add display state awareness
6516f4a adreno_idler: fix-up some comments
2803718 adreno_idler: fix-up type definitions
b25e00f adreno_idler: remove frequency bump
7dd3bb5 adreno_idler: switch to count based instead of time based
eba3920 mido_defconfig: Enable Adreno Idler
17cd016 Introduce Adreno idler for devfreq-based Adreno devices
4f65cf7 Merge branch 'nougat' of git://github.com/Adesh15/electrablue_mido into nougat
15dc057 mido_defconfig: Enable KCAL
d633554 msm: mdss: KCAL: disable igc update
34bafa7 msm: mdss: KCAL: Send a pp display commit when changes are made
39c5f15 mdss: mdp: kcal for mdss_mdp_v1_7
bb8cb89 msm: mdss: kcal: Only apply updates on index 0
2398b02 msm: mdss: KCAL: Send a pp display commit when changes are made
6b7a074 msm: mdss: KCAL: Do not read from picture adjustment registers
f2263d1 msm: mdss: KCAL: Read values from MDP registers wherever possible
5e1fe2c msm: mdss: KCAL: Apply default values on boot
166e081 msm: mdss: KCAL: Queue changes when panel is powered off
4e8e46d msm: mdss: KCAL: Remove MODULE_DESCRIPTION
c3b7b0b msm: mdss: KCAL: Update Kconfig description
c1c2cab msm: mdss: KCAL: Update according to linux guidelines and checkpatch.pl
f858849 msm: mdss: KCAL: Check panel power state before applying values
3ce1f4e msm: mdss: KCAL: Allow kcal_enable to control all post-processing features
fbf5470 msm: mdss: Keep KCAL within its own source file
567026c msm: mdss: Remove deprecated __dev* markings
2f64e0f msm: mdss: Add pa_v2 support to KCAL
8309fbd msm: mdss: Replace PGC implementation with PCC for KCAL
6ee27aa msm: mdss: Add KCAL support for post processing control [v2]
3212819 sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire. From [url]http://ripke.com/loadavg/moire[/url]
10660a7 int_sqrt: Improve 3x faster integer sqrt.
1755d1a int_sqrt: correction square root algo with naming
ElectraBlue 1.1 - August 13, 2017
Many commits have been picked from @sys01's repo cause they were great. Thanks to him.
Code:
Upstream from 3.18.64 to 3.18.65
Disabled CRC check (up to 30% faster I/O)
USB Fastcharge
Switch for Fsync
CRC & SHA256 crypto algorithms
Blocked many wakelocks
HZ 1000 for best battery & performance
fffe259 Update: ElectraBlue 1.1_r01->ElectraBlue 1.1 Revisions will not be mentioned in Kernel version from now
cef3c7a Update: ElectraBlue 1.0_r69->ElectraBlue 1.1_r01
135757f mido_defconfig: Enable USB fastcharge
70d71e6 drivers: misc: implement usb fast charge mode
12e1574 Revert "USB fastcharge for kenzo"
4c825f0 Disable crc check for faster IO
ba9bfb8 msm: thermal: Check temperature only if probed
3203fd9 msm: thermal: Add sysfs nodes to control parameters
b99ed41 proc: much faster /proc/vmstat
248ea2c power: process: drecrease time to enter sleep
66204e6 Arm64: Enable Dcache word access
7212a67 Topology: Enhance For MultiCore Decision Making
307eec5 tcp_output: set initial TCP window size to 64K
0b397e3 USB fastcharge for kenzo
8f04a66 cpufreq: fallback to interactive if governor is not found
33d8c3e Added fsync on/off support.
146bfa7 mido_defconfig: Enable CRC32 & SHA256
baff483 arm64: crypto: reduce priority of core AES cipher
7342427 arm64/crypto: use crypto instructions to generate AES key schedule
6d48847 arm64: crypto: increase AES interleave to 4x
3f3020e arm64/crypto: issue aese/aesmc instructions in pairs
dd14a55 arm64: crypto: Change priority of arm64 aes cipher.
9f934cd crypto: arm64/crc32 - bring in line with generic CRC32
9d6a158 crypto: crc32 - Add ARM64 CRC32 hw accelerated module
dd3178b AIO: Don't plug the I/O queue in do_io_submit()
4354330 BACKPORT: ext4: fix data exposure after a crash
edb4e1d msm_performance: don't let userspace change min/max freq policy by default
ad0f708 msm_performance: fix input boosting disable not sticking on big cluster
25ad37e msm_performance: Make input boosting optional
6847437a qcom: msm-core: uninterruptible wait
53ef487 msm: Use interruptible wait to not affect load average & reduce load avg
3d7ee0b msm: Use interruptible wait to not affect load average
7a3c01d cpufreq: cpu-boost: don't boost if input_boost_ms is <= 0
b99f8bc cpufreq: cpu-boost: export input_boost_enable to userspace
bbcb708 cpufreq: cpu-boost: don't boost over user set max freq
24f0cd9 drivers: cpu-boost: optimize policy update loop on input cpufreq boost
c774311 cpufreq: cpu-boost: set interval between consecutive boosts to be at least the duration of the boost instead of a bigger value
1ff9577 drivers: wakeup: squash wakelock blocking
b5a58c2 arm64: lib: improve copy_page to deal with 128 bytes at a time
7e9ac48 arm64: make default ARM64_DMA_IOMMU_ALIGNMENT as 9
c92d687 arm64: strcmp: align to 64B cache line
9edc2bc arm64: lib: memory utilities optimization
30fdc6a arm64: topology: fix cpu power calculation
9c7c59b arm64: eliminate the .eh_frame sections from vmlinux and kernel modules
147cbe5 sched: Remove heavy task calc. in sched_freq_input
c11e073 cpufreq: interactive: Skip timer when policy->min == policy->max
89a51ee cpufreq: interactive governor drops bits in time calculation
2752dea Convert few critical drivers to use msecs_to_jiffies insted of HZ
51563e8 CHROMIUM: cpufreq: interactive: calculate load before freq change
bffa05e Linux 3.18.65
fafedfa ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output
724c838 udp: consistently apply ufo or fragmentation
1bfcb94 revert "ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output"
1cc2f05 packet: fix tp_reserve race in packet_set_ring
7767431 net: avoid skb_warn_bad_offload false positives on UFO
99f375c tcp: fastopen: tcp_connect() must refresh the route
cc9e850 net: sched: set xt_tgchk_param par.nft_compat as 0 in ipt_init_target
3b0c985 net: fix keepalive code vs TCP_FASTOPEN_CONNECT
51e2ad3 tcp: avoid setting cwnd to invalid ssthresh after cwnd reduction states
d71d105 Merge branch 'Adesh15-nougat' into nougat
23767be iosched_switcher: Remove unneeded code in change_elevator()
c3856a6 iosched_switcher: Ensure the previous elevator name is always present
12d5516 dm: Configure the I/O sched switcher for dm block devices
b85e846 scsi: sd: Configure the I/O sched switcher for sda too
f50dc61 iosched_switcher: Allow multiple block devices to be used
4ad034a scsi: sd: Configure the I/O sched switcher for the sde block device
d27a9e3 block: Add driver to change the I/O scheduler when the screen turns off
1beac89 setlocalversion: Removed + sign
64a84bb super.c: Fixed a mess
140645b f2fs: sanity check checkpoint segno and blkoff
a72749b Revert "f2fs: sanity check checkpoint segno and blkoff"
ElectraBlue 1.0_r69 - August 13, 2017
Code:
Upstreamed to latest Linux 3.18.64
Added maple, sio, fiops, zen I/O schedulers
Added alucard, darkness, nightmare, blu_active governors
Added F2FS support
Compiled using UberTC 6.0
For full changelogs visit [URL="https://github.com/LordArcadius/electrablue_mido/commits/nougat"]HERE[/URL]
Reserved
Download link does not work
Link pls
exodius48 said:
Download link does not work
Click to expand...
Click to collapse
Paul 77 said:
Link pls
Click to expand...
Click to collapse
Link updated! Check now ?
LordArcadius said:
Link updated! Check now ?
Click to expand...
Click to collapse
OK,now working. :good:
Btw, how to use F2FS with your kernel?
exodius48 said:
OK,now working. :good:
Btw, how to use F2FS with your kernel?
Click to expand...
Click to collapse
As usual! You just have to be on latest twrp. Flash my kernel then format your data and cache partition into f2fs format. For further information you should check YouTube videos.
LordArcadius said:
As usual! You just have to be on latest twrp. Flash my kernel then format your data and cache partition into f2fs format. For further information you should check YouTube videos.
Click to expand...
Click to collapse
If I already on f2fs filesystem, then want to update my current ROM, do I need clean install the ROM or just dirty flash ROM as usual?
exodius48 said:
If I already on f2fs filesystem, then want to update my current ROM, do I need clean install the ROM or just dirty flash ROM as usual?
Click to expand...
Click to collapse
You can just reflash boot.img of your current rom if you was using another custom kernel, then intsall this kernel and good to go. There's no need to dirty flash the whole ROM.
PriPhaze said:
You can just reflash boot.img of your current rom if you was using another custom kernel, then intsall this kernel and good to go. There's no need to dirty flash the whole ROM.
Click to expand...
Click to collapse
Please read carefully my post!
I already installed this kernel with f2fs filesystem.
Will try... thanks
Does it have kcal support??
Nais Job sir, added to index!
Can't wait to try! Thanks for your effort for the kernel!!!!
Usb fastcharging is there or not?!
exodius48 said:
If I already on f2fs filesystem, then want to update my current ROM, do I need clean install the ROM or just dirty flash ROM as usual?
Click to expand...
Click to collapse
You can do whatever you want mate. Basically every ROM for mido comes with the kernel that has f2fs support. It's upto you that you want to clean install your ROM or do a dirty flash. Flashing process won't be different for f2fs mate.
PriPhaze said:
You can just reflash boot.img of your current rom if you was using another custom kernel, then intsall this kernel and good to go. There's no need to dirty flash the whole ROM.
Click to expand...
Click to collapse
He's saying something else bro. He's already on f2fs.
rahulk096 said:
Will try... thanks
Click to expand...
Click to collapse
Great!
Bluehacks said:
Does it have kcal support??
Click to expand...
Click to collapse
I will add KCAL in next build ?
sachin n said:
Nais Job sir, added to index!
Click to expand...
Click to collapse
Thanks Sir _/\_
acat550 said:
Can't wait to try! Thanks for your effort for the kernel!!!!
Click to expand...
Click to collapse
?
What benchmarks does this rom give on antutu
ashish kkr said:
What benchmarks does this rom give on antutu
Click to expand...
Click to collapse
It's kernel sir, not rom.:silly:

[KERNEL][EAS][MIDO][9.0] || Clarity Kernel || HANA-CI

Clarity Kernel | Stability for performance ​From HANA-CI Build Project​
{
"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"
}
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Clarity is an EAS based kernel that have aim to get fully balanced with battery and performance usage without need any configuration to use. and also, always up-to-date with CAF, AOSP/Common, F2FS & SDFAT, designed for flash & forget kernel :3.​
Features
Based on CAF Kernel Tag 'LA.UM.8.6.r1-04200-89xx.0'
Up-to-date for aosp common kernel 3.18 (https://source.codeaurora.org/quic/la/kernel/msm-3.18/log/?h=aosp/android-3.18)
Up-to-date for f2fs stable branch (https://github.com/jaegeuk/f2fs-stable)
Up-to-date for exfat stable branch (https://github.com/arter97/exfat-linux)
Compiled using Clang 11.0.0 NusantaraClang (Compat VDSO)
Merge EAS Based on (https://github.com/EAS-Project/msm-3.18)
Schedutil & Pwrutilx CPU Governor
CPUSets & Stune Assist (EAS Assist Management)
Upstreamed CFQ and BFQ I/O Schedulers
Audio Optimizations (UHQA, Slimbus OC, etc)
Updated LZO/LZ4 Compressor/Decompressor Module
Optimized CPU Boost for EAS (Dynamic Stune Boost v3)
Upstreamed ZRAM,ZSMALLOC & ZCACHE
Improved Power Efficient Workqueue
Cortex a53 Optimizations
USB Fastcharge
Backlight Dimmer
And any other improvement or feature that i forget to tell '_' (Check git for more details)
AnyKernel Features
Up-to-date for AnyKernel3 master branch (https://github.com/osm0sis/AnyKernel3)
Import optimized powerhint for listed EAS Based ROM (Alvian Wahyu Humaini)
Compatibitlity
AOSP / LOS Based ROM
NOT Compatible with MIUI and Never be...
How To Install
Flash using recovery mode, reboot, done
Downloads
Sourceforge
Credits
The Linux Foundation, CodeAurora
@krasCGQ - For initial mido bringup kernel
@NATO66613 - For EAS initial mido bringup
@thehitman7 - For EAS initial mido bringup
@najahiii - For Nusantara Clang 10.0.0
@ramadhanr124 - For upstream support from new caf tag
@alanndz - For help me solved some issue on compiling kernel
@alvian29 - For optimized powerhint (EAS Based ROM)
And all others who have their commits or contributions picked
Tell me if i'm miss with credits
Join my telegram channel for new updates : Telegram Channel
No Telegram Group Support for now..
XDA:DevDB Information
Clarity Kernel For Redmi Note 4 from HANA-CI Build Project, Kernel for the Xiaomi Redmi Note 4
Contributors
Nicklas Van Dam
Source Code: https://github.com/HANA-CI-Build-Project/kernel_xiaomi_msm8953-3.18-2/tree/dev/kasumi
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r18
Stable Release Date: 2020-04-05
Created 2019-10-27
Last Updated 2020-04-05
Changelogs​
r18 - 04-05-2020 (GMT+7)
Merge latest aosp/android-3.18 from common kernel changes up to 20200320
Merge latest kernel and wlan update from codeaurora with tag LA.UM.8.6.r1-04200-89xx.0
Merge latest stable update from https://github.com/KudProject/kernel_msm-3.18 with branch LA.UM.8.6.r1/aosp-updates to fix several issue with old upstream and missing commit
Switch to Proton clang version 11.0.0 build 20200330 (@kdrag0n)
Enable dead code elimination and LTO
Enable LLVM Polly optimizations
Move to full PELT half life 16ms implementation (Disable WALT)
Several improvement for PELT, Sched, NOHZ, CPUSets & schedutil cpu governor
Enable Ultra Low Power Save for all display panel
Properly set GPU Timeout to 64 ms
Switch to 100HZ Kernel tick rates
Apply several cpu qos optimizations from @Kerneltoast
Use default qos for active/wakeup latency
Include several latest optimizations from wahoo kernel @Kerneltoast)
Reworked ion/iommu & binder (Thanks to @zeta96)
Import binder from android-4.19 wahoo kernel (Thanks to @zeta96)
Import cpumask & irq updates from https://github.com/ProtoDump/kernel_xiaomi_santoni (Thanks to @ProtoChuz)
Import SLMK from wahoo kernel @Kerneltoast)
Set several worker to run as performance critical @Kerneltoast)
Re-import boeffla wakelock blockers and several wakelock handling commit
Misc changes with wlan driver
Optimized charging driver
Add QNS charging driver
Fixed msm performance issue
Sync with general link updates
F2FS Rapid GC Updates
Disable other IPC Log error when IPC Logging is disable
Disable several kernel modules, debugging & tracing drivers
Drop DTS Eagle Audio Driver
Revert all mutex_lock commit
Misc optimizations
r17 - 01-28-2020 (GMT+7)
Merge latest aosp/android-3.18 common branch as per 20200128
Revert several commit from aosp/android-3.18 to fix issue on A/V or failure compilation
Upstreamed AnyKernel3 (No need to reflash magisk on android 10 after flash kernel)
Switch to Proton clang version 10.0.0 (@kdrag0n)
Disable LLVM Polly optimizations
Merge more missing upstream changes @krasCGQ)
Use proper fix for last workaround on wifi drivers @krasCGQ)
Code cleanup for mido kernel specific changes @krasCGQ)
Import Xiaomi Thermal changes and several msm thermal optimizations
Misc gpu optimizations @Kerneltoast)
Switch to 80Hz arbitrary tick rates (@tytydraco)
Several I/O optimizations (@tytydraco)
Other misc optimizations
r16 - 01-06-2020 (GMT+7)
Merge latest aosp/android-3.18 branch as per 20200105
Fix other old upstream issue for missing changes on aosp-3.18 (Thanks to @krasCGQ)
Apply ion/iommu optimizations from @Kerneltoast (Thanks to @ramadhanr124 & @Zile995)
MSM Thermal optimizations
Memcmp optimizations
Improve CPUSets Assist
Implement crypto NEON XOR accelerated + CRC32 performance
Disable other left debugfs drivers
Disable auditing on selinux
Disable backlight dimmer by default
Disable several audio tweaks features by default
Disable sched_boost tune on kernel features
Removed Boeffla Wakelock Blocker
Other misc optimizations
r15 - 12-20-2019 (GMT+7)
Merge kernel AOSP / Google Common Source as per 20191220 (GMT+7)
Updated Kernel CAF & PRIMA Wlan Tag to 'LA.UM.8.6.r1-02900-89xx.0'
Apply qualcomm mismerges commit for 3.18 (thanks to @LilBlinx)
Revert backport totalram new pages api from kernel 4.4
Merge PELT Halflife 16ms features from thanks to @NATO66613
Disable sched walt
Introduce Energy Model Management Framework for legacy support
Several schedutil governor optimization
Introduce SchedTune Assist v3 and optimized it
Improve CPUSets Assist
Disable userspace cpu boosting
Disable top-app prefer idle tuning
Use 100Hz timer tick rate frequency
Kill google camera and settings from background
Disable DebugFS drivers on kernel (debugging think)
Remove audit dependency on selinux
Import msm thermal optimizations from @TheHitMan7
Update powerhint from @alvian29
Other misc optimizations
r14 - 11-28-2019 (GMT+7)
Compiled using latest nusantara clang 10.0
Switch prima WLAN to tag 'wlan-driver.lnx.1.0-r33-rel'
Merge kernel AOSP / Google Common Source as per 20191128 (GMT+7)
Fixup older AOSP / Google Common merge issue Thanks to @krasCGQ (github)
Fixup unstability / random reboot issue from last build
Drop completely yama kernel security
Drop blu schedutil governor
Misc GPU Optimizations
Other misc fixes, look git for more details :v
r13 - 11-16-2019 (GMT+7)
Merge Latest CAF Kernel tag 'LA.UM.8.6.r1-02600-89xx.0'
Merge Kernel AOSP / Google Common Source as per 20191115 (GMT+7)
Fixup old upstream issue after patch 3.18.125
Updated swait functions
Upstream LZ4 decompression
Implement system wide power efficient workqueue
Cleanup old SLMK Merged
Import Blu Schedutil CPU Governor (Thanks to @TheHitMan7)
And other misc optimizations (look git for more details)
r12 - 11-01-2019 (GMT+7)
Merge Kernel AOSP / Google Common Source as per 20191101 (GMT+7)
Merge Latest EXFAT FS as per (20191030 GMT+7)
Migrate all init customizations to kernel (hardcoded) during SAR implementation on some android 10 ROM
Backported totalram_pages api from kernel 4.4
Add few kgsl optimizations
Add SHA256/512 Encryption
Remove a few HZ dependency
Revert some thermal optimizations
Remove dirty hack compiler workaround for kernel
Remove Qualcomm Panic data corruption commits from old sources
And other misc optimizations (look git for more details)
r11 - 10-27-2019 (GMT+7)
Merge latest CAF kernel tag 'LA.UM.8.6.r1-02300-89xx.0'
Merge kernel AOSP / Google Common Source as per (20191027 GMT+7)
Merge latest EXFAT FS as per (20191027 GMT+7)
Switch to CFQ as default I/O Schedulers
Revert simple LMK and switch back to ALMK
Improve clang Kernel Hardening
Remove some high priority workqueue on kernel
Enable kernel sched sysctl sysfs
r10 - 10-27-2019 (GMT+7)
Based on LA.UM.8.6.r1-01900-89xx.0 CAF Kernel & Prima tag
Compiled using NusantaraDevs Clang 10.0.0 (Compat VDSO)
Merged Latest AOSP/Common kernel changes for 3.18 from https://github.com/aosp-mirror/kernel_common as per 20191018 (GMT +7)
Use LLVM Polly Optimizations for clang
Rebased EAS algorithm to https://github.com/EAS-Project/msm-3.18
Removed several EAS patch & CPU Governor (energy capacity, power allocator & energy modelling, sched_boost)
Removed several unused patch during new base migration
Removed several GPU optimizations
Removed several GPU patch optimizations
Removed SDFAT FS & Import EXFAT FS (use vfat fs as default for fat partition)
Introduce CPUSets Assist
Add audio-app stune boost configuration
Import optimized intelli thermal v3.0
Enable CPU CAF Boost toggle & Dynamic Stune Boost (0ms)
Reset schedutil to default google value state (also cleanup)
Fix some wakelock issue
Other misc cleanup & optimizations
Older changelog isn't available for public, due still experimental builds
Two Builds Temporary
NOTE:
- Build split to 2 versions, look 'Android Version' code [P / Q] at the end of file name for installation
- For android 10, please enable thermal manager manually from kernel manager
Reason:
- Android 10 build on mido was implement SAR in ROM and that was mess init kernel patching, so android 10 init can't be patched from anykernel normally. Another workaround is only from hardcoded directly to kernel only for android 10
- Android 9 version doesn't have this issue, and still can use init tweaking instead.
Wow cool post , thanks for sharing
New kernel. 2 version in one day !
henxui25 said:
New kernel. 2 version in one day !
Click to expand...
Click to collapse
Not 2, there's actually one. Another is only old version that still have close related with a new one.
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Quick wake up, schedutil + cfg = 10+ working hours of my phone screen.
Nice job, thanks
Liquid Remix Pie + Clarity Kernel r11
fortrose said:
Quick wake up, schedutil + cfg = 10+ working hours of my phone screen.
Nice job, thanks
Liquid Remix Pie + Clarity Kernel r11
Click to expand...
Click to collapse
You're welcome
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Tnx for cpu thermal feature.
Echo MsK said:
Tnx for cpu thermal feature.
Click to expand...
Click to collapse
You're welcome
Can anyone check jitters using Benchkit magisk module?
New r12 build is up
Some Notes:
- Look at Here
Download Link:
- Here
Watanabe_You said:
Can anyone check jitters using Benchkit magisk module?
Click to expand...
Click to collapse
Any problem with jitter, sir?
Thank you for this kernel, I have installed it on Resurrecting Remix and it says its not EAS based rom. Is it importan this?
Also, how can it be set backlight dimmer?
Enviado desde mi Redmi Note 4 mediante Tapatalk
amibumping said:
Thank you for this kernel, I have installed it on Resurrecting Remix and it says its not EAS based rom. Is it importan this?
Also, how can it be set backlight dimmer?
Enviado desde mi Redmi Note 4 mediante Tapatalk
Click to expand...
Click to collapse
Not important, that just algorithm to replace powerhint.json if exist.
Backlight dimmer you can set using FK Kernel manager for more details, if you're using smartpack or etc, then it'll show only simple on/off toggle.
Nicklas Van Dam said:
Any problem with jitter, sir?
Click to expand...
Click to collapse
I'm not on eas ROM right now. Previous eas kernel I used usually had high jitter, so I want to see if this one is better
Watanabe_You said:
I'm not on eas ROM right now. Previous eas kernel I used usually had high jitter, so I want to see if this one is better
Click to expand...
Click to collapse
I'm currenrly not on EAS rom too now, is this testing only for EAS based ROM?
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Hi. This is based Android 10 or Android 9?
Nicklas Van Dam said:
I'm currenrly not on EAS rom too now, is this testing only for EAS based ROM?
Click to expand...
Click to collapse
It's for testing all devices.
Omg dude. I just flashed from telegram your caf kernel on advanced lineage and is extremely fast

Categories

Resources