[KERNEL][Nougat] ElectraBlue Kernel 2.0 For Android One 1st Gen - Android One (First-Generation) Cross-Device Origin

{
"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.2.x
Linux version 3.10.108
ThunderPlug Hotplug driver
ThunderCharge control fast charging driver (default 1000mA)
Sweep2Wake/Sweep2Sleep (Enabled by default)
DoubleTap2Wake
Pocket Mode
ThunderQuake Engine
F2FS support
Dynamic Fsync control
Supports Nougat/Marshmallow/Lollipop
Supports every ROM (Stock & Custom ROMs both)
Governors : thunderx, alucard, hotplug, conservative, interactiveplus, ondemand, userspace, powerspace, interactive(default), performance
I/O Schedulers : noop, deadline, cfq, bfq(default), fiops, sio
TCP congestion algorithm : cubic, reno, westwood(deafult), bic, highspeed, htcp, vegas, veno, scalable, lp, yeah, illinois
init.d support
Z-RAM support
Wakelock blocker
WireGuard VPN support
Kernel sampage merging
Insecured
adb runnable as root
Disabled Gentle fair sleepers
Dynamic entropy setting based on usage
Mali GPU cache Optimizations
Mali: Increase L2 cache max read size
ARM: Cortex A7 compiler optimizations
Power suspend driver
LZ4 compression
Tweaked interactive governor
Reduced VFS cache pressure for better battery
Disabled Gentle fair sleepers
Optimized square root algorithm
Disabled CRC check in MMC for 30% extra performance with IO
Aggressive multicore power savings
Requirements
Must be on LP/MM/Nougat based ROM (any ROM)
A custom recovery (TWRP, CWM, CTR) 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-sprout.zip file
Flash the zip
Reboot
Enjoy!!
Downloads
Click here to Download
Credits
Code:
- @varun.chitre15
- @flar2
- @vikrantarya1
- @thewisenerd
- Team DroidX
- Team Roger That
- Sprout Telegram group
XDA:DevDB Information
ElectraBlue Kernel For Android One 1st gen (sprout), Kernel for the OEM Cross Device Development
Contributors
Vipul Jha
Source Code: https://github.com/vipuljha08/electrablue_sprout
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 2.0
Stable Release Date: 2018-01-12
Created 2016-08-23
Last Updated 2018-01-12

Changelogs
ElectraBlue 2.0 - Jan 12, 2018
Added advance TCP congestion algos like westwood, highspeed etc
Upstreamed to latest LInux 3.10.108
Added WireGuard VPN support
Switched to Linaro 7.2.x toolchain
Nougat support added
Wakelock blocker added
LZ4 compression for ZRAM
Cortex A7 optimisations
Added power suspend driver
Many other optimisations and changes for better battery and performance
ElectraBlue 1.0 - Aug 23, 2016
*Initial release

Controling features!
==================================================
sweep2wake
--------------------------------------------------
toggle
Code:
echo [mode] > /sys/android_touch/sweep2wake
modes available:
0 - disable
1 - enable
--------------------------------------------------
sweep2sleep_only
Code:
echo [mode] > /sys/android_touch/s2w_s2sonly
modes available:
0 - disable
1 - enable
==================================================
doubletap2wake
--------------------------------------------------
toggle
Code:
echo [mode] > /sys/android_touch/doubletap2wake
modes available:
0 - disable
1 - enable
==================================================
ThunderQuake Engine
--------------------------------------------------
toggle
Code:
echo [level] > /sys/kernel/thunderquake_engine/level
levels available:
0-7 - Intensity Level (0 for lowest and 7 for highest)
==================================================
SELinux status
--------------------------------------------------
toggle
Code:
setenforce [mode]
modes available:
0 - Permissive
1 - Enforcing
==================================================

F.A.Q:
1. My device rebooted or crashed, how can I help?
A: Get me /proc/last_kmsg on pastie.org.
2. Battery sucks, my device is not entering deep sleep. FIX PLOX!
A: Fix it yourself, it's an app waking your device up not the kernel's problem
3. Signal is dropping since I flashed the kernel, amg u sucks!
A: The kernel has nothing to do with gsm/cmda signal. Make sure you have the latest radios
4. Do I need to wipe anything when flashing this kernel?
A: No.
5. Does this kernel has X or Y mod?
A: Learn to read, everything you need to know is in the features list, changelog or public repo.

Wow, looking forward dude. Great!

Sixfall said:
Wow, looking forward dude. Great!
Click to expand...
Click to collapse
Thanks! First build released! Do checkit out

How do i set thundercharge ???

thirdzcee said:
How do i set thundercharge ???
Click to expand...
Click to collapse
Thundercharge already set to 1000mA

Vipul Jha said:
ElectraBlue Kernel​A Vipul Jha & Team DroidX Presentation​
About ElectraBlue Kernel
ElectraBlue Kernel is a newly released kernel for Android One 1st generation devices. It is developed to unleash the full power of your device, without the cost of battery. 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 gets updated regularly with new features/patches/fixes. I am continuously trying to make it more better day by day.
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 UberTC 6.0
[*]Linux version 3.10.101
[*]ThunderPlug Hotplug driver
[*]ThunderCharge control fast charging driver (default 1000mA)
[*]Sweep2Wake/Sweep2Sleep (Enabled by default)
[*]DoubleTap2Wake
[*]Pocket Mode
[*]ThunderQuake Engine
[*]F2FS support
[*]Dynamic Fsync control
Works in both LP/MM
Supports Stock & Custom ROMs both
Governors : thunderx, alucard, hotplug, conservative, interactiveplus, ondemand, userspace, powerspace, interactive, performance
I/O Schedulers : noop, deadline, cfq, bfq, fiops, sio
TCP congestion algorithm : cubic, reno
init.d support
Z-RAM support upto 510 MB
Kernel sampage merging
Insecured
adb runnable as root
Disabled Gentle fair sleepers
Dynamic entropy setting based on usage
Mali GPU cache Optimizations
Mali: Increase L2 cache max read size
ARM: Cortex A7 compiler optimizations
Reduced VFS cache pressure for better battery
Disabled Gentle fair sleepers
Optimized square root algorithm
Disabled CRC check in MMC for 30% extra performance with IO
Aggressive multicore power savings
Requirements
Must be on LP/MM based ROM (any ROM)
A custom recovery (TWRP, CWM, CTR) should be installed
How to flash
Download the zip file of kernel from given below link
Boot your device into recovery mode
Select EB-Kernel zip file
Flash the zip
Reboot
Enjoy!!
Downloads
Click here to Download
Credits
Code:
- @varun.chitre15
- @flar2
- @vikrantarya1
- @thewisenerd
- Team DroidX
- Team Roger That
- Sprout Telegram group
XDA:DevDB Information
ElectraBlue Kernel For Android One 1st gen (sprout), Kernel for the OEM Cross Device Development
Contributors
Vipul Jha
Source Code: https://github.com/vipuljha08/electrablue_sprout
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.0_r15
Stable Release Date: 2016-08-23
Created 2016-08-23
Last Updated 2016-08-23
Click to expand...
Click to collapse
Great Job Vipul, looking forward for support of your kernel on rest devices!! Kudos for hard work!

Vipul Jha said:
Thundercharge already set to 1000mA
Click to expand...
Click to collapse
Can i set it higher than 1000??? Just wanted to test how fast this thing would charge

Wårløçk said:
Great Job Vipul, looking forward for support of your kernel on rest devices!! Kudos for hard work!
Click to expand...
Click to collapse
Thanks a lot @Wårløçk

thirdzcee said:
Can i set it higher than 1000??? Just wanted to test how fast this thing would charge
Click to expand...
Click to collapse
The max value I gave it to is 1000mA, as it's 100% safe.

sorry for bothering
can i use your kernel on cm13 snapshot?
ps: on stock kernel battery life is average
Sent From My Sprout 4

Vipul Jha said:
==================================================
sweep2wake
--------------------------------------------------
toggle
Code:
echo [mode] > /sys/android_touch/sweep2wake
modes available:
0 - disable
1 - enable
--------------------------------------------------
sweep2sleep_only
Code:
echo [mode] > /sys/android_touch/s2w_s2sonly
modes available:
0 - disable
1 - enable
==================================================
doubletap2wake
--------------------------------------------------
toggle
Code:
echo [mode] > /sys/android_touch/doubletap2wake
modes available:
0 - disable
1 - enable
==================================================
ThunderQuake Engine
--------------------------------------------------
toggle
Code:
echo [level] > /sys/kernel/thunderquake_engine/level
levels available:
0-7 - Intensity Level (0 for lowest and 7 for highest)
==================================================
SELinux status
--------------------------------------------------
toggle
Code:
setenforce [mode]
modes available:
0 - Permissive
1 - Enforcing
==================================================
Click to expand...
Click to collapse
Do you have any plans for an app to control all features?, or even can i use Kernel Auditor to control it?
Nice work btw, ill test it out and let you know my experience.

nanomine said:
Do you have any plans for an app to control all features?, or even can i use Kernel Auditor to control it?
Nice work btw, ill test it out and let you know my experience.
Click to expand...
Click to collapse
Didn't planned any app, but till now you use Kernel Adiuter.

Good work vipul . I hope you continue supporting with nougat also . I read a lot of nasty new boost had been kicked in in the new linux kernel

how to increase loudspeaker volume?
Sent from my Nexus 5X

DarkHeart Z said:
Good work vipul . I hope you continue supporting with nougat also . I read a lot of nasty new boost had been kicked in in the new linux kernel
Click to expand...
Click to collapse
Yeah!

How to enable Pocket Mode
Is there any specific app to enable this feature or enabled by Default?
I waited so long for this feature...
Thunderzap lacked this...
Thank you for bringing it...

RajNik89 said:
Is there any specific app to enable this feature or enabled by Default?
I waited so long for this feature...
Thunderzap lacked this...
Thank you for bringing it...
Click to expand...
Click to collapse
Thunderzap didn't lack this . It was enabled there by default because majority will enable it anyway . Check properly before commenting about something . Use custom control in kernel adiutor if you wanna enable disable or change the timeout of that .

Related

[KERNEL][Uber-5.3] Clarity [r26][-O3][LP/MM]

{
"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:
[SIZE="3"]#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/[/SIZE]
Please read completely this thread before using for minimize FAQ
If you coming from other custom kernel, please restore to cm kernel or dirty flash your rom before flash this!, to make sure everythings go to original and prevent from unexpected bugs.
THIS DOESN'T SUPPORT FOR STOCK ROM!​
Requirement
TWRP
CM-12.1/CM13.0 or AOSP 5.1/6
Features
Compiled with Uber Toolchain 5.3
Compiled with -O3 with Some usefull flags optimizer.
Sync With Original CyanogenMod Repo.
Powersuspend 1.7
Lcd Notify.
underclock frequency to 96Mhz. (new)
Sweep2 & Doubletap2 Wake support (GestureWake) (DT2W enabled by default).
GestureWake with Pocket Mode. (Permanent in GW version).
Hotplug : Mpdecision, Intelli-plug v5, Alucard (Default: MPdecision).
Fsync Control Sysfs.
Conservative, OndemandPlus, Nightmare, Impulse, smartmax, Optimax, Lionheart Governors.
Faux Sound control 3.4.
Faux Simple GPU Algorithm.
TCP Congestion : Bic, Cubic, Westwood, HTCP, Veno (default: cubic).
BFQ v7r8, fiops, sio, sio+, vr, zen, tripndroid, Fifo schedulers.
USB Force Fast Charge.
Gentle Fair Sleepers and Arch Power Sysfs (userspace).
Kill Some Log Spam.
Optimized sha 224/256 (arm-asm and neon).
Disable useless debugs.
more
i recomended to using this app for control kernel
Kernel Adiutor
Instalation
Flash it via TWRP
No Need wipe dalvik/cache
Bugs
Nothing
if you found, please pm me with dmesg or last_kmsg.
logcat ? it useless for kernel
Credits
Google
CyanogenMod
Motorola
Percy_g2 - scritch007 -
Ashwin007 - Squid2 (As Maintainer CM for Condor).
Blechd0se (For his source kernel where i have much learn)
Savoca (For his source kernel where i have much learn)
franciscofranco ( for some nice commit and features)
Faux123 ( for some nice commit and features)
Christopher83 (for custom Linaro toolchain)
Cl3kener (his is a father of Uber Toolchain)
pinkflozd ( for some nice commit and features)
Adarsh1998 For the old great banner
They all is great developers, no them and so this kernel is nothing.!
Download
NOTE : if you coming from other custom kernel, please dirty flash you current rom. its for make ramdisk and everythings back to original, and will prevent unexpected bugs and problem.
CM-12.1 & AOSP [ STOPED! ] = [ r19 - Release 2016-02-21 ] : Download Here Use Only for CM-12.1 & Aosp 5.1.1 Based Roms.
CM-13.0/AOSP M = [ r26 - Release 2016-05-01 ] : Download Here Use Only for CM-13.0 based rom or AOSP.
Description
* Gesture = S2W & DT2W || No Gesture = non_gesture.
* es = enforcing selinux || ps = permissive selinux.
Changelogs
Need Help or Have questions ? post in this Thread to keep neat and tidy.
If You like my work, click Thanks or buy me one cup of Coffee
XDA:DevDB Information
Clarity Kernel for the Moto E
Contributors
rainforce279
Source Code: https://github.com/ryan-andri/android_kernel_motoe
Kernel Special Features: -O3, S2W, DT2W, Multiple custom hotplug.
Version Information
Status: Stable
Current Stable Version: r26
Stable Release Date: 2016-05-01
Created 2015-08-24
Last Updated 2016-05-01
Reserved
Woww, good to see tons of kernels developing for our little device,
Sent from my Moto E using Tapatalk
Please add aosp based ROMs compatibility too
Changelogs
CHANGELOGS​
For completely Changelogs see at My Github
CM-12.1 - AOSP-L [r19 | 2016-02-21] - [clarity-L-condor] FINAL - Closed
Code:
3e9abd1 alucard_hotplug: adapt to dualcore for hotplug_rate array
0f45d7e alucard_hotplug: fix error mismatch
2f2bc81 alucard_hotplug: increase hotplug_rq
1fdb13dc alucard_hotplug: increase sampling rate
b264a76 alucard_hotplug: online all possible core if hotplug disabled
049a115 alucard_hotplug: allow hotplug to suspend while device sleep
619b1eb2 intelliplug: fix panic in intelli_plug_exit function
17cbf80 alucard_hotplug: add get_cpu_idle_time function
39ad186 alucard_hotplug: change workqueue method
8d832b4 alucard_hotplug: adapt to condor
607a341 alucard: import from https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel
a9959e5 nf: Remove compilation error caused by bc8c003
5852c91 nf: IDLETIMER: time-stamp and suspend/resume handling.
b40f9ed5 ext4: Add support for FIDTRIM, a best-effort ioctl for deep discard trim
7b2ef3f sync: don't block the flusher thread waiting on IO
1ac6328 synaptics_dsx_i2c: fix non gesture compilation
b4a91f2 fs/buffer.c: increase the buffer-head per-CPU LRU size
89fe2e4 selinux: make option for enforcing or permissive mode
91e8ccb security: force SELinux permissive mode
e8713aa synaptic_i2c: fix bugs 'WARNING: at kernel/irq/manage.c ...'
bba5982 cfg80211: Correct API cfg80211_vendor_cmd_reply_skb
d254685 nl80211: Correct the usage of command NL80211_CMD_VENDOR
1434e55 nl80211: fix error path in nl80211_get_key()
596580a nl80211: nl80211hdr_put() doesn't return an ERR_PTR
d4aab1b prima: kconfig: add enable/disable debug wlan
208f83b prima: switch to non-debug build
a1d92a6 config: condor: update & disable some debugs
5eed147 block: add FIFO scheduler
7c25ab0 init: don't debug kernel
607bff8 Revert "mmc: clk_scaling: add sysfs for avoiding scale down in write"
b858415 mm: vmscan: support complete shrinker reclaim
4088fa0 mm, oom: base root bonus on current usage
CM-13 - AOSP-M [r26 | 2016-05-01] - [clarity-M-condor]
Code:
***** Gesture Wake version (GW) *****
a2070b4 config: clarity r26
5e04628 msm8610: correct 249 Mhz underclock frequency
dc77bb6 mm/slub: don't wait for high-order page allocation
cba6b1c mm: slub: Default slub_max_order to 0
0ea567c Revert "cpufreq: ondemandplus: prepare for specific underclock"
64ebb99 msm8610: add underclock frequency to 96Mhz
5cf6412 cpufreq: ondemandplus: prepare for specific underclock
92707de Revert "net: do not use rcu in rtnl_dump_ifinfo()"
b41601d Revert "ion: adjust system heap pool orders"
d0f31ab ion: adjust system heap pool orders
28ddacd slub: fix a possible memory leak
09d7ebb net: do not use rcu in rtnl_dump_ifinfo()
d727331 condor: clarity: Set CONFIG_HZ to 300 as commit a635b9d
a635b9d otus: condor: Set CONFIG_HZ to 300
184aeb8 ARM: dts: msm8x10: Switch to msec idle-timeout
a71fd91 msm: kgsl: Fix direct references to HZ
***** No Gesture Wake version (NoGW) *****
7cd84e8 config: clarity r26
b39af71 msm8610: correct 249 Mhz underclock frequency
e6c66ea mm/slub: don't wait for high-order page allocation
9098bc6 mm: slub: Default slub_max_order to 0
8953897 Revert "cpufreq: ondemandplus: prepare for specific underclock"
75540c4 msm8610: add underclock frequency to 96Mhz
fcaaaae cpufreq: ondemandplus: prepare for specific underclock
5246a22 Revert "net: do not use rcu in rtnl_dump_ifinfo()"
fa6884c Revert "ion: adjust system heap pool orders"
a096094 ion: adjust system heap pool orders
20bef99 slub: fix a possible memory leak
c262431 net: do not use rcu in rtnl_dump_ifinfo()
e69cfff condor: clarity: Set CONFIG_HZ to 300 as commit a635b9d
25613c3 otus: condor: Set CONFIG_HZ to 300
18eea84 ARM: dts: msm8x10: Switch to msec idle-timeout
42c2986 msm: kgsl: Fix direct references to HZ
@rainforce279 if possible plz mirror the downloads to other sites like AFH, MEGA has lot of issues here
zeeshanhussain12 said:
Please add aosp based ROMs compatibility too
Click to expand...
Click to collapse
i'm not tets on aosp, but aosp kernel build from cm repo, and it should work to..
test it and let us know sir.
Adarsh1998 said:
@rainforce279 if possible plz mirror the downloads to other sites like AFH, MEGA has lot of issues here
Click to expand...
Click to collapse
wait a moment
rainforce279 said:
i'm not tets on aosp, but aosp kernel build from cm repo, and it should work to..
test it and let us know sir.
wait a moment
Click to expand...
Click to collapse
I'll let you know
Added mirror to Dev-Host
rainforce279 said:
Added mirror to Dev-Host
Click to expand...
Click to collapse
Greta kernel, all are working well, performance is superb and snappy, i wish more to come in future.
Adarsh1998 said:
Greta kernel, all are working well, performance is superb and snappy, i wish more to come in future.
Click to expand...
Click to collapse
thanks man, i'll do my best for our device ..
downloading and testing, hopefully its good kernel. Thank you for your work.
Carlos Arriaga said:
downloading and testing, hopefully its good kernel. Thank you for your work.
Click to expand...
Click to collapse
your welcome dude, try it and give me your feedback.
Just to confirm :
1) Are there any screen freezes? When DT2W is enabled?
2) Is there any impact on the battery life?
Edit:
I have downloaded and installed it... Let's see how it performs
Rohitagni said:
Just to confirm :
1) Are there any screen freezes? When DT2W is enabled?
2) Is there any impact on the battery life?
Edit:
I have downloaded and installed it... Let's see how it performs
Click to expand...
Click to collapse
No impact on performance or battery life, i tested for 24hr no freeze
Sent from my Moto E using Tapatalk
Adarsh1998 said:
No impact on performance or battery life, i tested for 24hr no freeze
Sent from my Moto E using Tapatalk
Click to expand...
Click to collapse
Thanx bro.... Let me test mine... If this is good, I will be using this one instead of stock CM.
Great kernel ??.
Double tap is working smooth.
Let's check battery life.
Sent from JARVIS'S server
@rainforce279 please add power suspend modes if possible
Adarsh1998 said:
@rainforce279 please add power suspend modes if possible
Click to expand...
Click to collapse
i will try adding it on next version
@rainforce279 Big love bro Loving every bit of ur kernel
Keep up the good work

[KERNEL][ANDROID M BASED][S2W][DT2W] One kernel-1.2 [sprout][13-10-15]

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.
*/
One Kernel based on Android 6.0 kernel source. I want to keep this kernel as simple as possible but much power. This kernel is best in its class.
F.A.Q:
1. My device rebooted or crashed, how can I help?
A: Get me /proc/last_kmsg on pastie.org.
2. Battery sucks, my device is not entering deep sleep. FIX PLOX!
A: Fix it yourself, it's an app waking your device up not the kernel's problem
3. Signal is dropping since I flashed the kernel, omg u sucks!
A: The kernel has nothing to do with gsm/cmda signal. Make sure you have the latest radios
4. Do I need to wipe anything when flashing this kernel?
A: No.
5. Does this kernel has X or Y mod?
A: Learn to read, everything you need to know is in the features list, changelog or public repo.
Features :
Cortex A7 Specific Optimizations.
Updated from AOSP source.
Governors : alucard, wheatley, Smartmax, hotplug, interactiveplus, powersave, interactive, ondemand, performance.
I/O Schedulers : noop, deadline, fiops, cfq, bfq, vr, sio, zen, fifo.
TCP : westwood, reno, bic, cubic, highspeed, hybla, htcp, vegus, veno, scalable, lp, illinois.
Dynamic Fsync Control
Memory Readahead setted as 1024kb
Improved filesystem mounting flags - NOATIME and NODIRATIME
ThunderQuake Engine 1.0 - Vibration Intensity Controller for MTK vibrators
Added CPU Boost Driver.
CPU Core Control.
Quick wake-up driver.
ARM: Cortex A7 compiler optimizations
ARM: Removed various debug traces
Compiled with 4.9 cortex a7 gcc .
Wake Gestures : Sweep2wake, DoubleTap2wake.
Mali GPU cache Optimizations And Various GPU Tweaks.
MMC: disable crc check for 30% extra performance
Mutlicore Scheduler Support
Dirty Ratio Tweaks
Selinux setted as permissive by default
Fixed screen lock/unlock lag
Enabled Pocket Mode
Wakelock toggle
Lots of fixes
Download :
One_kernel-1.2
Or go to
My Site
INSTRUCTIONS :
- Flash the zip with any custom recovery!
Source:
https://github.com/Anik1199/kernel_sprout
Credits :
Code:
[user=4684315]@flar2[/user]
[user=3292224]@franciscofranco[/user]
[user=4418779]@akhilnarang[/user]
[user=5475344]@varun.chitre15[/user]
[user=5475344]@##W4TCH0UT##[/user]
[user=4575244]@agaphetos[/user]
[user=3332811]@faux123[/user]
[user=4869275]@thewisenerd[/user]
and many more!
XDA:DevDB Information
One kernel, Kernel for the OEM Cross Device Development
Contributors
Anik_khan
Kernel Special Features:
Version Information
Status: Stable
Created 2015-10-09
Last Updated 2015-10-09
Reserved
Changelog:
Code:
[U]13-10-15[/U]
[U]v-1.2[/U]
* Alucard as default GOV
* FIOPS as default IO
* Added wakelock toggle
* Enabled pocket mode
-if you enable this then phone won't wake up on pocket if you are using DT2W
* A lots of fixes and improvement
[U]09-10-15[/U]
[U]v-1.1[/U]
* Initial Release
Reserved
==================================================
sweep2wake, doubletap2wake
--------------------------------------------------
To enable
Code:
Use Kernel Auditor app
==================================================
ThunderQuake Engine
--------------------------------------------------
toggle
Code:
echo [level] > /sys/kernel/thunderquake_engine/level
levels available:
0-7 - Intensity Level (0 for lowest and 7 for highest)
=================================================
any feedbacks ?
damn...
i has downgrade to L..
can I ask something , what the meaning is thunderquake_engine , can you explain the function of thunderquake_engine ?
can I put this script " echo [level] > /sys/kernel/thunderquake_engine/level " in init.d and activated on boot
thanks for the answer ..... ( sorry if my english is bad )
richiarema said:
can I ask something , what the meaning is thunderquake_engine , can you explain the function of thunderquake_engine ?
can I put this script " echo [level] > /sys/kernel/thunderquake_engine/level " in init.d and activated on boot
thanks for the answer ..... ( sorry if my english is bad )
Click to expand...
Click to collapse
That stands for level of vibration
Sent from my QMobile A1 using Tapatalk
Bro, can i flash this kernel in lollipop custom rom...??? Or else, is this kernel available for custom lp rom ????
richiarema said:
can I ask something , what the meaning is thunderquake_engine , can you explain the function of thunderquake_engine ?
can I put this script " echo [level] > /sys/kernel/thunderquake_engine/level " in init.d and activated on boot
thanks for the answer ..... ( sorry if my english is bad )
Click to expand...
Click to collapse
yes you can put it in an init.d script
@Anik_khan Won't you upgrade it ? Sorry I didn't know u made a kernel bro . This is awesome . Just give an upgrade please .

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

READ ALL BEFORE ANYTHING!
ATTENTION
Code:
/*
I'm not (yet) a developer , I'm taking effort to put more choices of kernel for our great community.
This kernel is tweaked for best balance possible, if you want a feature quote me and i will see what i can do,
I will build this kernel when possible on my free time and because of it is a nightly and I will use this thread as a worklog too.
Thank you for using this kernel.
*/
Disclaimer
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Adapt, improve and evolve!​
Info:
Guys I created this kernel to Moto G 2013 (Falcon/Peregrine) and Moto G 2014 (Titan/Thea) in other words MSM8226 Motorola SoC baseds to learn, adapt some "unstable and unsafe" things as well to give a new life to my device, the plan is to support all Android versions avaliable for our device, I plan to do a better kernel with time and help of the comunity. This kernel is a nightly I will do it when I have a freetime or LineageOS update their sources or I add new features, it aims to be a rich feature kernel and a "perfection balance" between battery life and performance, this can be a UNSTABLE kernel, my routine will be build,upload and test, so stay tuned! I am open to suggestions. This is a kernel that don't work out-of-the-box the objetive of this kernel is give power to the user.
This kernel DO NOT WORK WITH STOCK MOTOROLA/GOOGLE PLAY EDITION ROM or IDCRISIS or AOSPARADOX.
On post 1:
#1 - Features and installation instructions
#2 - Downloads and kernel Source
#3 - Buglist and to do's
On post 2:
#1 - Changelog
​
Features (By now and latest one):
Based on 3.4.113 LTS Linux kernel and latest LOS/AOSP/CM/Motorola sources
Kexec hardboot patch (MultiROM support)
Governors: Interactive,Ondemand,Performance,Userspace,Conservative,Powersave
Hotplugs: AutoSMP and Alucard Hotplug
Overclocks and Underclocks (Attention this can be dangerous to your device! you have been warned!):
Overclocked CPU (up to 1.6Ghz),Overclocked GPU (up to 600Mhz) Overclocked RAM and Overclocked Slimbus for better audio
Intellithermal v2 to protect our device from heating
Sound: High performance Headset,Low latency playback Support,24 bits Playback Support,Enabled additional Moto G Exclusive Audio Channels TPA-a6165a2
Screen: DT2W and S2W/S2S, KCAL
GPU:Simple GPU Algorithm and AdrenoIdler
Misc: Init.d support, Fsync on/off, ARCH_Power, Gentle Fair Sleepers, Toggle for some wakelocks, Stereo Call Recording Support, Reclaim RAM from loggers, Powersuspend, State Notifier .
For full features list check my github.
Compiled with Arch Linux up-to-date and UBER Toolchain 4.9 and optimize flags[/COLOR]
Bootlogos
PREVIEWS ONLY CHECK DOWNLOADS SECTION FOR LINKS
Created by me and the others two by @Mattwmaster58:
Silver
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Blue
Red
Downloads
(Folder on AFH) (Please DO NOT MIRROR, if one is down just post in the thread or pm me and i will repair!):
Cyanogenmod/AOSP for Falcon:
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
Cyanogenmod/AOSP for Peregrine:
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
Cyanogenmod/AOSP for Titan/Thean (Same defconfig):
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
NOTE:ALWAYS CHECK LAST PAGES TO SEE WHAT IS GOING ON!!!
LSpeed Profiles (OLD! LSpeed envolved too fast!) - Balance
Bootlogos: ZER0 Byte Bootlogo
Old releases of ZER0 and ZER0 Byte (Reborn) Kernel : AFH
Mirror: Github mirror and how to download
​
How to install
If you're on other kernel please at least DIRTY FLASH you ROM, thanks.
The kernel:
By recovery:
Using TWRP (Please use the latest one)
1. Put the zip at /sdcard > Reboot to recovery > Install > Chose the kernel zip > Confirm to flash > (optional) Wipe caches > Reboot.
or
By app:
2. Flash it using Flashify or similar app from Playstore.
The kernel scripts backup your current boot.img so if you want to restore just use Flashify or TWRP.
The Bootlogo:
Using TWRP (Please use the latest one)
1. Reboot to recovery > Install > Chose the bootlogo zip > Confirm to flash > Reboot and enjoy.
2. Flash it using Flashify or similar app from Playstore.
3. Extract the zip and on mfastboot (or just fastboot) enter this command: fastboot flash logo logo.bin
Recommendations/Tweaking
Gov Tuner a mod to tune govs based on profiles for better battery life, better performance, or a balance., I have added a lot of sound patchs but A.R.I.S.E. will blow your mind! so if you want a better sound on your Moto G I suggest you A.R.I.S.E the best one in my opinion or just Viper+Dolby. And the best of the best tweaks app LSpeed just download and select a profile from main screen and fell it! or tune it by yourself!
To tweak use Kernel Adiutor from Playstore (or XDA Link), the Kernel Adiutor-Mod (fork with more experimental features) at XDA or Synapse You will need this zip and download Synapse app from Playstore.
Info about tweaking kernel The best guide to it!
Better RAM management for FALCON/PEREGRINE/TITAN/THEA thanks to @Pupet_Master
-Download "Kernel Auditor" from the "Play Store" and open it
-Once inside, Swipe from left to right to show the side menu.
-Tap on "Low Memory Killer"
-Change to these custom settings:
Code:
Foreground Applications: 29mb
Visible applications: 61mb
Secondary Server: 157mb
Hidden Applications 227mb
Content Providers: 87mb
Empty Applications 191mb
-Swipe from left to right again and tap at the option "Virtual Memory"
-Change those settings from there:
Code:
dirty_ratio: 20
dirty_background_ratio: 5
dirty_expire_centisecs: 100
dirty_writeback_centisecs: 300
min_free_kbytes: 4096
oom_kill_allocating_task: 1
overcommit_ratio: 100
swappiness: 100
vsf_cache_pressure: 53
laptop_mode: 0
extra_free_kbytes: 24576
Z-RAM Disksize: 470mb
-Swipe from left to right again and tap at the "Profile" section
-Click at the "+" button and save the current settings on a new profile
-Holdon the new profile and choose the option "apply on boot"[/QUOTE]
This kernel does not ships with a default config, so here it is how to config (an example) a profile for battery/balance/performance:
Battery
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1190Mhz or 1094Mhz
Multicore power save - Aggressive
Alucard Hotplug - ON
On GPU
GPU max freq. - 450Mhz or 320Mhz (if dont play use 320Mhz)
GPU Gov - simple_ondemand or msm_adreno_tz with tweaked adreno idler
On I/O Scheduler
Scheduler - ROW or SIO
-
Balance
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1190Mhz
Multicore power save - Enabled
AutoSMP - ON
On GPU
GPU max freq. - 450Mhz
GPU Gov - msm-adreno-tz
On I/O Scheduler
Scheduler - ROW or ZEN
-
Performance
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1593Mhz
Multicore power save - Disabled
AutoSMP - ON
On GPU
GPU max freq. - 600Mhz
GPU Gov - msm-adreno-tz
On I/O Scheduler
Scheduler - ZEN
Note about some features
Display types WORKING with DT2W/S2S/S2W:
mdss_dsi_mot_inx_720p_video_v0 (TITAN/THEA)
mdss_dsi_mot_cmi_720p_video_v2 (FALCON/PEREGRINE)
Display types NOT WORKING with DT2W/S2S/S2W:
mdss_dsi_mot_jdi_720p_video_v1 (TITAN/THEA)
mdss_dsi_mot_jdi_720p_video_v0 (TITAN/THEA)
mdss_dsi_mot_lgd_720p_video_v0 (FALCON/PEREGRINE)
If you don't have a working DT2W/S2S/S2W or don't like it you can disable it and/or use AcDisplay app or Anbient Display of your ROM instead.
To check which display type you have by going into terminal and type:
su
cat /proc/cmdline
Bugs
None by now, if you encounter one please make a post in this thread with steps to reproduce and if possible a LOGCAT and DMESG. A simple how to help me debug.
To do
Undervolt and Userspace Voltage Controller
OC of 1.8Ghz
More Hotplugs
More Govs
More I/O's (SIOplus,FIFO)
Added all features to all variants
Vibrator Intensity Control
Ram Underclock
Sched & Mutex Tweaks
Stock and GPE variants
WQ_POWER_EFFICIENT
LZO Compression image (Fast boot)
DOLBY_DAP dependency fix
Frandom
Filesystems support:
NTFS Support / EXT 2/3/4 support / F2FS (Most roms only support it at /data)
Optimized ARM RWSEM algorithm
Silence some logs
NEON in kernel mode
Misc Crypt tweaks
LMK tweaks and adaptive
More Security Patchs
Yankactive (Cause reboot at the moment),Yankdemand,Smartmax,Lionhert,Impulse,DanceDance,Bioshock
I/O's: ROW,NOOP,Deadline,CFQ,FIOPS,BFQ,SIO,VR,ZEN
All avaliable TCPs congestions on Android
How to git and build
Setting up and building
Basics of GIT
- How to build my kernel:
Code:
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=/path/to/toolchain/bin/arm-eabi-
make mrproper (cleans config files)
make clean (cleans already builded files)
make falcon_defconfig (or you device_defconfig)
make menuconfig (if you want to tweak the config)
make (I use this too -o2 -j4 CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_NO_ERROR_ON_MISMATCH=y)
How to cherry pick commits
Basically to cherry pick a commit you have to have it source and branch, this is a simple how to do it
First of all you need to set your upstream since it is a fork of CM/LOS or STOCK source:
Code:
git remote add upstream linkingithub.git
For example
Code:
git remote add upstream https://github.com/CyanogenMod/android_kernel_motorola_msm8226.git
so if you want to cherry pick a commit from me
Code:
git remote add bryanbytez mysourcelink.git
and after that you need to have my source locally but stay calm this wont mess you source
Code:
git fetch -all
To merge upstream changes (From CM/LOS or Motorola)
Code:
git merge upstream/cm-13.0
This will merge upstream cm branch cm-13.0 in your source code.
Misc help:
http://forum.xda-developers.com/showthread.php?t=2319018 (about boot.img, ramdisk and others)
https://stackoverflow.com/questions/2816715/branch-from-a-previous-commit-using-git (Unlike me you can just revert or create another branch based on the commit and not delete the whole source code )
https://stackoverflow.com/questions/4410091/github-import-upstream-branch-into-fork (Import a upstream branch on your fork)
And to revert a git: git revert sha1, example git revert eab5c8fef098548f0f00085196bbf40f41bf8ba1
​
Source/Credits
If you want to post this on your site or other forum it's okay just post a link to this thread too and the correct credits and if you can, pm me with link so i can see it too, thanks.
The GNU General Public License is a free, copyleft license for software and other kinds of works.
The GPL permits use, share, study and modify.
But this does not mean you should not give the deserved credit to the previous author.
So if you use my source code under GPL you must share with GPL too and quote me in the credits.
CM/LOS/AOSP Based Source
Stock/GPE Based Source
Thanks to:
GOD
The Real Dev's:
Motorola/Lenovo
LineageOS/CyanogenMod/AOSP/CAF Teams
A special thank you to @Kamin4ri to be answering questions from a noob
@hurtsky @pinkflozd @zakee94 @TeamMex (not a team ) @RenderBroken @alin.p @Flashhhh @Shivam Kuchhal @RolanDroid @attack11 @DC07 @frap129 @-decipher- @bedalus @MetalPhoenix45 @srisurya95 @para94 @chijure @Aayushya @neonkat and @faux123 for inspiration and commits (i guess that everyone that i pick a single commit is here... since i don't know yet to pick commits (picking commits automatically add the credits) a big thanks to all !)
@kwoktopus, for the tutorial how to build
And you the user!
If I forget someone please contact me and I will add here! [/FONT]​
XDA:DevDB Information
[Kernel][GPL][K-N][Peregrine][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP], Kernel for the Moto G
Contributors
BryanByteZ
Source Code: https://github.com/BryanByteZero/android_kernel_motorola_msm8226
Kernel Special Features: OC/UC/DT2W/S2W/S2S/Sound Patchs and a lot more, check it!
Version Information
Status: Nightly
Current Stable Version: R3
Stable Release Date: 2017-02-22
Current Beta Version: R4
Beta Release Date: 2017-04-29
Created 2016-11-20
Last Updated 2017-05-01
Changelogs for CM/LOS/AOSP K/L/M/N
Changelogs for CM/AOSP K/L/M/N:
For Falcon and Peregrine
19/11/2016
No more MPDecision and CM PowerHAL
DT2W and S2W/S2S
Optimization Flags
Overclock and Underclock
Alucard Hotplug
AutoSMP Hotplug
Faux Sound 3.5
KCAL v2
High performance and low latency audio headset
KEXEC Hardboot patch
04/02/2017
Up-to-date with LOS source and Linux (now it's 3.4.113 the LTS version)
Intelliplug, AutoSMP and Alucard Hotplugs
Intellithermal
MSM-Limiter (you will need KernelAdiutor-MOD to use this feature)
Toggles for some wakelocks
ARCH_power
Gentle fair sleepers
Stereo call recording support
Reclaim RAM from loggers
Dynamic management of dirty page writebacks, expire and cache pressure
Some GPU patchs
SIO,VR,ZEN and Tripndroid I/O's
Powersuspend, LCD notify and state notifier
Dynamic FSYNC
CPU, GPU and RAM overclock
Simple GPU algorithm and AdrenoIdler
Enhanced audio with Faux Sound and low latency drivers and high performance mode
KCAL
KEXEC Hardboot patch
DT2W/S2S/S2W
Make optimizations
Powered by UBER STOCK Toolchain 4
22/04/2017
LATEST SOURCES
CPU OC/UC
GPU OC/UC
CPU boost
KCAL
faux Sound
High perf headset mode
OC RAM and slimbus
Intellithermal
Simple GPU Algorithm and AdrenoIdler
State notifier and Powersuspend
Alucard and AutoSMP hotplugs
Stereo call recording
Custom I/O's
Stock GOVS
KEXEC Hardboot patch
wakelock blocks
Fsync on/off
Power efficient workqueue
29/4/2017
DT2W/S2S/S2W
Bugs:
None by now,if you encounter one please make a post in this thread with steps to reproduce and if possible a LOGCAT and DMESG.
Reserved
Reserved
Waiting for it. Amazing job, good luck and thanks!
Edit: Just downloaded Peregrine CM14.1 kernel, will flash and comment later.
Works good. I though the kernel had the option to change the CPU max freq when screen is off. I'm wrong?
Edit: Going to comment in original thread!
Fedray said:
Waiting for it. Amazing job, good luck and thanks!
Edit: Just downloaded Peregrine CM14.1 kernel, will flash and comment later.
Works good. I though the kernel had the option to change the CPU max freq when screen is off. I'm wrong?
Edit: Going to comment in original thread!
Click to expand...
Click to collapse
I will look indo it.
Please the ones who test it report back with battery life, performance and stability.
using the kernel now on cm14.1, amazingly fast.:good:
still with no tweaks and battery optimization to check the battery life.
hopefully get better battery life than stock kernel.
thanks for the kernel @BryanByteZ.
fairly well as mostly on 4g.
Guys I will bring back MSM Limiter (per core cpu max min freq and gov) and independent headphone gain but will be necessary use Kernel Adiutor Mod (at least for using this features).
Guys a new version will come soon as I end my tests and we now will have full support of kernel adiutor in download tabs soon as grarak push a new version. And I considered a stock variant too. So big surprises await
Any updates ? Is the GPU overclocked?
Sent from my XT1040 using XDA-Developers Legacy app
Joel Oliveira said:
Any updates ? Is the GPU overclocked?
Click to expand...
Click to collapse
Not yet buddy, I don't have a PC anymore. Burned motherboard.
The cell phone gets very hot, the processor frequency drops to 1094mhz and 998mhz, and it gets very slow. Can you disable SoC's Temperature Control?
Joel Oliveira said:
The cell phone gets very hot, the processor frequency drops to 1094mhz and 998mhz, and it gets very slow. Can you disable SoC's Temperature Control?
Click to expand...
Click to collapse
No, i dont have a PC at the moment. Try to use coolify app.
So I am running latest RR and tried the stock kernel, kamari and this one. I had better battery on stock and kamari but this kernel is much smoother and faster. The OC on the CPU makes a huge difference. Looking forward to more development on this kernel! But I don't seem to be able to OC GPU?
baxtex said:
So I am running latest RR and tried the stock kernel, kamari and this one. I had better battery on stock and kamari but this kernel is much smoother and faster. The OC on the CPU makes a huge difference. Looking forward to more development on this kernel! But I don't seem to be able to OC GPU?
Click to expand...
Click to collapse
Not yet, and i got no PC at the momment.
News ?
Sent from my XT1040 using XDA-Developers Legacy app
Joel Oliveira said:
News ?
Click to expand...
Click to collapse
Not yet.
Joel Oliveira said:
News ?
Sent from my XT1040 using XDA-Developers Legacy app
Click to expand...
Click to collapse
People I got a new motherboard and I'm setting my system maybe today or tomorrow a update will come at least for M and N.
Guys new version uploaded in CM14.1 section, this is unified for M(6.X) and N(7.X) up-to-date with LOS source and Linux LTS Kernel, what's new?
Up-to-date with LOS source and Linux (now it's 3.4.113 the LTS version)
Intelliplug, AutoSMP and Alucard Hotplugs
Intellithermal
MSM-Limiter (you will need KernelAdiutor-MOD to use this feature)
Toggles for some wakelocks
ARCH_power
Gentle fair sleepers
Stereo call recording support
Reclaim RAM from loggers
Dynamic management of dirty page writebacks, expire and cache pressure
Some GPU patchs
SIO,VR,ZEN and Tripndroid I/O's
Powersuspend, LCD notify and state notifier
Dynamic FSYNC
CPU, GPU and RAM overclock
Simple GPU algorithm and AdrenoIdler
Enhanced audio with Faux Sound and low latency drivers and high performance mode
KCAL
KEXEC Hardboot patch
DT2W/S2S/S2W
Make optimizations
Powered by UBER STOCK Toolchain 4
I will not add to mirrors now because my net is slow at the momment
and I didn't tested yet need to fix my phone first.
Falcon
https://www.androidfilehost.com/?fid=457095661767134902
3e73c91dce4ebcc0e05d6bb97c3455b0
Peregrine
https://www.androidfilehost.com/?fid=745425885120705602
05ebd67eb237883436e7fb28ec6d8a14

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

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

[KERNEL][9.0/10.0] Pop Kernel reborn

{
"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:
/* *** Disclaimer
* Your Warranty is now Void!
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed. Please do some research
* if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* BOOM goes the Dynamite
*/
Introduction
Hello everyone,
Pop Kernel is reborn;
the goal of this kernel is to be stable and have many features
Features
-Compiled With UberTC GCC 7.x.x
-Compiled With hybrid -O2/-O3 optimization level (Oreo/Pie)
-Updated with the latest Lineage sources(LOS versions)
-Underclock cpu to 268Mhz
-Underclock gpu to 100Mhz and idle to 27Mhz
-CPU Governors: Blu_active, interactive(Updated from francisco franco kernel for hammeread), conservative(tweaked), all stocks
-Hotplugs: Mpdecision(tweaked but disabled by default), Lazyplug(tweaked but disabled by default)
-I/O: Maple, Zen, All stocks
-Faux sound control
-Sultan cpu input boost (replace our cpu boost driver)
-Adreno idler
-Disable some unnecessary debugs
-Reduced some voltages by default
-More tweaks(check source)
Exclusive Q feature (all features above are present unless otherwise specified )
-Compiled With QUVNTNM-TC 7.x.x with cortex a15 optimizations
-Compiled With -Os optimization level with some part compiled with -O3 to compensate performace regression due to -Os (Q)
-CPU Governors: smartmax, smartmax_eps, intelliactive, zzmoove
-Hotplugs: Bricked hotplug, AutoSMP, blu_plug
Installation instructions
--Reboot in recovery
--Wipe dalvik cache,cache(recommended)
--flash kernel
Download
Download last Oreo/Pie version
Download last Q version
Thanks To
Code:
-LineageOS team
-Google
-Motorola
-hypertoolchains team
-franciscofranco
-flar2
-faux123
-much others.
XDA:DevDB Information
Pop Kernel reborn, Kernel for the Moto X 2014
Contributors
linckandrea
Source Code: kernel
Kernel Special Features:
Version Information
Status: Testing
Created 2019-09-04
Last Updated 2019-09-04
Tweaks part 1​
Cpu governor
this kernel come with many cpu governor hoewer i suggest to choose only :
interactive (default)
blu_active
ondemand
lolz_snappy
Intelliactive
The best governor for:
everyday usage (light) = interactive or smartax or smartax_eps
everyday usage (moderate) = interactive or ondemand or intelliactive
everyday usage (intensive) = blu_active or lolz_snappy
games = performance
music/video playback = intelliactive or smartax or smartax_eps
Note: some governor performs better when they are tweaked, at the of this post you will find a zip with some amazing profiles (IHMO).
==========================================================================================================
Cpu Hotplugs:
this kernel is shipped with AUTOSMP, Lazyplug, Bricked hotplug, blu_plug
there are many guides out there that explain their best use scenario
hoewer is suggest interactive with bricked hotplug for moderate usage
when you are using a hotplug is hightly suggested to enable cpu.notify_on_migrate
the sysf path is "/dev/cpuctl/cpu.notify_on_migrate" (0 = disabled) (1 =enabled)
==========================================================================================================
Cpu-boost driver:
This kernel come with 2 cpu input boost driver:
Caf cpu boost(enabled by defautl) and Sultan's cpu input boost
both are tweaked by default
Caf cpu boost has the ability to boost all online cpu to the max freq when an app is launched to reduce latency, to enable this option you need to change the parameter in
"/sys/module/fork/parameters/boost_when_app_is_launched" from "N" to "Y" (N = disabled) (Y = enabled)
IMPORTANT:
use only one at the same time
AUTOSMP and blu_plug have their own input boost so when you use one of them disable both caf and sultan's cpu boost
==========================================================================================================
Gpu governor:
I reccomend to stay with the default governor and enable adreno_idler if are wathing video or play music to reduce power consumption
==========================================================================================================
I/O scheduler
i suggest to stay with maple since is tweaked by default and perform better in any case scenario that i tested
==========================================================================================================
Ksm:
i writed some modification to the ksm driver, now it can be disabled or it can use differt tunables when screen is off
"ksm_thread_pages_to_scan_display_off" & "ksm_thread_sleep_millisecs_display_off"
which are equivalent to ksm_thread_pages_to_scan & ksm_thread_pages_to_scan but they are enabled when screen is off (so you should use more relaxed values)
syfs path for both values are "sys/kernel/mm/ksm"
if you want disable ksm whem screen is off the parameter can be found in "sys/module/ksm" (N = disabled) (Y = enabled)
==========================================================================================================
Misc:
when the screen is off the kernel can compact zones and drop cache in the RAM;
to enable this feature the sysf path is here "sys/module/compaction/enable_drop_cache" (N = disabled) (Y = enabled)
you can even modify the interval "sys/module/compaction/interval"
==========================================================================================================
Kcal settings:
I collected some kcal profiles to archive a better color reproduction those profiles can be found in zip at the end of the post
==========================================================================================================
Filesystem:
Our phone support both f2fs and ex4
Ext4 is suggested for system partition
F2fs for data and cache partions
Tweaks part 2​
I made a collection of the best governor settings; kcal profiles and the all kernel parameters mentioned in the upper post (that aren't avaible in any kernel manager by default)
if you are using elementalx you can directly insert the folder inside your memory and enjoy, if you are using any other kernel manager you can benefit anyway but you will need to apply manually those settings
DOWNLOAD KERNEL TWEAKS
i don't exactly know if it's kernel's problem...
device is taking more than 5-8 hrs to fully charged.
device shutdowns if charger is unplugged after 90%
I'm on Lineage OS 16 official rom
New version
Changelog:
1.Underclock cpu to 268Mhz
2.Underclock gpu to 100Mhz and idle to 27Mhz(is disabled by default so you need to enable it)
3.Set optimal value for cpu input boost(is disabled by default so you need to enable it)
4.Add adreno idler
5.Disable some unnecessary debugs
Download
Bristow Xavier said:
i don't exactly know if it's kernel's problem...
device is taking more than 5-8 hrs to fully charged.
device shutdowns if charger is unplugged after 90%
I'm on Lineage OS 16 official rom
Click to expand...
Click to collapse
Probably a logcat would be useful...
anyway on my phone i don't have problem with charge mode( i NOT touched charger stuff on my kernel)
noob question, how do u enable those features (hotplugs, cpu input boost, etc..) that is disabled by default? cant see them in kernel manager im using FK's
New version
Changelog:
1.Merged last Lineageos kernel commits
2.Dropped 02 in favor of Os
3.Dropped f2fs support
This version like the others is not backward compatible
Download
linckandrea said:
New version
Changelog:
1.Merged last Lineageos kernel commits
2.Dropped 02 in favor of Os
3.Dropped f2fs support
This version like the others is not backward compatible
Download
Click to expand...
Click to collapse
Hi linckandrea,
First, thank you for your great work, it is great to see our old moto x 2014 is still alive
Do you think it is a good idea to flash your lastest kernel for android 9.0 with the lastest version of Lineage OS 16 for victara? If not, I would like to merge your kernel source for android 9.0 with the one from Lineage OS 16 and built it. I am going to follow this reference https://forum.xda-developers.com/android/software-hacking/reference-how-to-compile-android-kernel-t3627297 Is this procedure ok? or Am I missing some intermediate step?
xehartnort said:
Hi linckandrea,
First, thank you for your great work, it is great to see our old moto x 2014 is still alive
Do you think it is a good idea to flash your lastest kernel for android 9.0 with the lastest version of Lineage OS 16 for victara? If not, I would like to merge your kernel source for android 9.0 with the one from Lineage OS 16 and built it. I am going to follow this reference https://forum.xda-developers.com/android/software-hacking/reference-how-to-compile-android-kernel-t3627297 Is this procedure ok? or Am I missing some intermediate step?
Click to expand...
Click to collapse
hi you can flash the latest version for pie with the latest version of los16 without problems
Download version for Android 10 but gives error in twrp when flashing, error 1 wrong Android version even though I'm on Android 10
BIG UPDATE !!!
Changelog:
1.Merged last Lineageos kernel commits
2.Added wake gestures ( D2W, S2W, S2S )
3.Reworked lazyplug hotplug (all cores are now online when screen is on)
4.Added bricked and AutoSMP hotplug
5.Tweak intelliactive governor to not boost when screen is off
6.Added zzmoove cpu governor
7.Simple gpu algorithm by faux
8.Add some tweaks to ksm by me
Now you can disable it when screen is off in order to allow the device to go in deep sleep much easier
you can also set
"ksm_thread_pages_to_scan_display_off" & "ksm_thread_sleep_millisecs_display_off"
which are equivalent to ksm_thread_pages_to_scan & ksm_thread_pages_to_scan but they are enabled when screen is off (so you should use more relaxed values)
"ksm_thread_pages_to_scan_display_off" & "ksm_thread_sleep_millisecs_display_off" tunables can be found in "sys/kernel/mm/ksm"
if you want to disable ksm when screen is off, the parameter can be found "sys/module/ksm" , parameters allowed are "Y" (to enable) and "N" (to disable)
Download
Minor update
i recently submitted to lineageos gerrit some patch for bring back f2fs support
so this update is futureproof
DOWNLOAD
Major update
changelog:
1.merged binder from 3.18
2.sched tweaks
3.added blu plug and blu active
4.added kcal and klapse
5.Cpu voltage control
6.many others
IMPORTANT:
this version will kill lineage livedisplay in favour of klapse a live display driver more customizable
DOWNLOAD
Tweaks
i also made a collection of the best governor settings; kcal profiles and some kernel parameters that aren't avaible in any kernel manager by default
if you are using elementalx you can directly insert the folder inside your memory and enjoy, if you are using any other kernel manager you can benefit anyway but you will need to apply manually those settings
DOWNLOAD KERNEL TWEAKS
linckandrea said:
if you are using elementalx you can directly insert the folder inside your memory and enjoy, if you are using any other kernel manager you can benefit anyway but you will need to apply manually those settings
Click to expand...
Click to collapse
Hi. Do you have a settings file for Franco Kernel Manager?
renzs said:
Hi. Do you have a settings file for Franco Kernel Manager?
Click to expand...
Click to collapse
Unfortunatley no, but if you want to create settings files for franco kernel manager please share them here
Hi, all, have this kernel in Android Q support for Texas Instruments audio chp? in other releases of android more old, yes.
Hey, I've been using your kernel for ~half a year now and it's great.
I installed it, the Smartpack Kernel Manager and Magisk (for root for the manager).
It's awesome, K-Lapse is much nicer than Live Display, GPay didn't break (yay), I could tweak a few minor things that always bugged me, and through undervolting (and -clocking) I could even mitigate (to almost eliminate) the battery-shutdown-issue!
The only thing I was missing, was the "wave to preview notifications" feature from Ambient Display. But a few weeks after I installed the kernel, it started working again. (Im 90% sure I didn't update LOS, it just suddenly started working.) I have no idea why, but I didn't dare to update LOS or Magisk since for fear it might break again, maybe you have any
Now that LOS 18.1 is out, I was wondering - if this kernel doesn't work for 18.1 (which I assume it won't?) - are you planning to update it to do work? It's really amazing how much more useful live I was able to get out of the phone by tweaking the kernel.
Thanks for your work.

Categories

Resources