Related
Spirit Kernel
This kernel is ONLY for AOSP based ROMs. This will NOT work on the stock Moto roms.
I will update this regularly as I have time and will add new features and fixes as well.
If you have any feature requests or ideas that haven't been seen before, don't hesitate to post it here!!
PLEASE READ
How to report a bug?
Include the following in your bug report:
The ROM you are currently using + a link to the ROM's thread
A log, preferably dmesgs or kmsgs (use Google to find out how to pull these from your device)
The version of SpiritKernel you use (=rx, e.g.r3)
Bug reports not meeting these requirements will be ignored.
NO BUG REPORTS ON EXPERIMENTAL BUILDS!
Features
This Hybrid kernel contains features from great kernel devs with like faux,franco and neobuddy,optimized for titan to make it work.Initially there are less features but I will add much more soon
[*]Based on the Latest CyanogenMod sources
[*]Patched 3.4.106 kernel
[*]Governors: ondemand/userspace/powersave/performance/interactive/IntelliMM/inteliidemand/intelliactive/smartmax/pegasusQ
[*]Hotplug: MPDecision/MSM Hotplug/Intelliplug(default)
[*]Intellithermal v2
[*]DT2W/S2W/S2S Wake controls
[*]CPU Underclocking 192Mhz
[*]GPU OC 533Mhz | UC 100Mhz
[*]Add MSM Hotplug Driver
[*]Asynchronous Fsync extracted from HTC
[*]Sweep2Sleep driver
[*]Dynamic management of timer slack
[*]Slimbus OC thanks to neeobuddy89 and poondog
[*]increase Torch power 20mA
[*]Dynamic management of dirty page writebacks
[*]IO: BFQv7r7/FIFO/SIO/FIOPS/ZEN/VR IO Schedulers
[*]Faux Sound Control 3.2
[*]KCAL v2 by @savoca
[*]USB forced fast charge
[*]Stereo call recording support by skvalex
[*]Powersuspend from Faux and yank555-lu *updated to 1.8 after r8*
[*]Kernel Compression: XZ
[*]psx2usb controller
[*]Use Android device as USB keyboard/mouse
[*]optimized ARM RWSEM algorithm.
[*]Ultra Kernel Samepage Merging {UKSM}
[*]FRandom
[*]Dynamic FSync Control
[*]Added Simple GPU Algorithm
[*]WQ_POWER_EFFICIENT for bettery battery life. Hello Battery!!
[*]ANY Kernel
[*]Kexec hardboot patch for Multirom support
[*]TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD
Optimizations
[*]Compiled Using UBER 5.0.1 SaberMod 4.8 Optimized toolchain for better performance | UBER 4.9 Toolchain after r4
[*]Added optimized ARM RWSEM algorithm.
[*]Disable add_random
[*]Pocketmode and deepsleep for dt2w/s2w
[*]Optimized VFP Module
[*]FIx integer-overflow in veno,vegas
[*]Add sysinterface for GENTLE_FAIR_SLEEPERS
[*]NOATIME and NODIRATIME as default
[*]New 99LMK script by @Pizza_Dox
[*]Nvidia Patches to enhance power efficiency.
[*]Sched optimizations
[*]Increase battery level check interval
[*]writeback: increase bdi_min_ratio to 5
[*]block: cfq: merge tweaked tunables.
[*]Wait just 1 second for other CPU to halt
[*]net: combat buffer bloat
[*]PM: Introduce suspend state PM_SUSPEND_FREEZE
[*]Disable -fconserve-stack on ARM v2
[*]Enable power efficient workqueues by default
[*]do not use msm_run_queue_stats
[*]enable/disable cpu-boost via sysfs
[*]softirq: reduce latencies
[*]Built with Ofast flags
[*]Force SELinux permissive
[*]LowMemoryKiller management of non killable processes
[*]Headset High Performance Mode
[*]Allow CPU-supported unaligned accesses
[*]Enable UNALIGNED_ACCESS
[*]enable ARCH_POWER
[*]lower swappiness
[*]vfp: remove double entries
[*]Disable disable crc check for 30% extra performance in IO
[*]Optimized SLUB memory allocator
[*]Optimize Sfck Compression
[*]set sched_mc_power_savings to 2 (moar powarrrrrrr! saving)
[*]readahead to 256
[*]Built with Graphite flags
[*] Enabled Pipe Flag
TO-Do List
IntelliMM-intelliminmax
New Govs and I/Os
Intelliplug 4.0
GPU OC and UC
* Recommended app for tweaking the kernel: FauxControl,Kernel Auditor or TricksterMod
Recommended settings :
Governor: Intelliactive
I/O Scheduler: Fiops or row
TCP Congestion : Westwood
GPU Governor : Simple Ondemand Or Msm-adreno-tz
Hotplug : Intelliplug ( Keep screen off frequency to 787 MHz )
Powersuspend : Hybrid
Simple GPU Algorithm : On
How DO I flash this?
Reboot to recovery.
Install zip from SD Card.
Choose the SpiritKernel-Rx-titan.zip
Insatll and Reboot.
Changelog:
Click Me
Downloads:
Basketbuild
Source:
Github(branch:spirit)
Wiki containing changelogs,settings and more
Antutu Score: http://forum.xda-developers.com/showpost.php?p=59736983&postcount=136
Credits goes to these SUPERHUMAN for Inspiration and support (In no specific order)
faux123
Cl3Kener
slukk
luca020400
savoca
Anas Karbila
hurtsky
pinkflozd
YoshiShaPow
Flashhhh
flar2
vigneshrajagopalan
And more
XDA:DevDB Information
Spirit kernel for titan, Kernel for the Moto G 2014
Contributors
DC07
Source Code: https://github.com/DC07/spirit_msm8226
Kernel Special Features: Powersuspend,Ultra KSM,FRandom,Faux Sound,LCD KCAL,DT2W/S2W,Fastcharge and More
Version Information
Status: Stable
Current Stable Version: r13
Stable Release Date: 2015-04-21
Created 2015-03-16
Last Updated 2015-04-21
F.A.Q. - Read this before complaining!
1. My phone exploded, HALP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: Doesn't work with ROMs having different ramdisk or any derivates due to their irresponsibility of using a different ramdisk which needs patches that break stock rom users. Use a different rom and don't bother me.
3. OMG BETTARY SUCKZ, IT DEAD IN 45 MINUTAS, HALP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. How do I flash this?
A: Reading the OP, theres a reason why I added instructions on it.
5. What is a data loss? Did I just had one?
A: Data loss is simply having the connection cut for X periods of time, usually few seconds. Grey bars means the device is not connected to Google services for some weird reason, but you'll still have internet connection.
6. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.
Settings recommended by our users
metalrules321 said:
Heres what I use and it gives me exceptionally good battery life and perfomance (may differ for others) /using faux-clock app
1.CPU Hotplug
-Intelliplug (I use fauxclock, so cant find the msm hotplug)
-Touch boost on
-Screen off frequency 787 mhz
-Hysterisis value : 8
-Profile : Ecoconservative
-Threshold value 350
2.Thermal Manager
-Intellithermal
-Frequency Throttle temp; 70
-Core throttle temp: 65
3.GPU manager
-Governor: msm-adreno-tz
-simple gpu algorithm
-gpu clock:320
-Simple governor (laziness); 5
-Ramp Threshold: 5
4. IO scheduler
-ROW (for both emmc and sd)
-Read ahead :1024
-Entropy: off
5.Memory Manager
-Zram: Off
-All the other options on
- Swappines:80
-VFS cache pressure : 120
-Dirty ratio:20
-background ratio:5
6.Same page merge
-Intelli ksm enable
-Activation treshold :24
-Cycles per activation 3
-Pages to scan:400
-Scan delay interval :500
7.Battery Control
-Throttling - On
-Temperature threshold :45
-Throttle frequency:787
8.Miscellaneous
- Powe suspend mode: Userspace
-powesuspend: On
-Dynamic file sync: on
-TCP congestion control:Westwood
*Sorry for an awfully long post *:silly:
Click to expand...
Click to collapse
@DC07 wrong kernel tree xd
https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.0
luca020400 said:
@DC07 wrong kernel tree xd
https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.0
Click to expand...
Click to collapse
The kernel just works fine with the trees I'm using ATM.
DC07 said:
The kernel just works fine with the trees I'm using ATM.
Click to expand...
Click to collapse
But not in new trees
Now our cm12 uses this kernel and if you flash this one you will broke media ( cannot play/record videos )
Yeah... Thankssss
luca020400 said:
But not in new trees
Now our cm12 uses this kernel and if you flash this one you will broke media ( cannot play/record videos )
Click to expand...
Click to collapse
Oh,I'll rebase it in the next build then.
Thanks for pointing it.
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
DC07 said:
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
Click to expand...
Click to collapse
YEa I'm sure
When I tested lp kernel on kk media was broken
And new lp kernel is a way better
Eager to use it on latest Builds and requesting to add kexec support if possible
Sent from my XT1033{LP} using TAPATALK
DC07 said:
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
Click to expand...
Click to collapse
For me, sometimes it works, but then other times won't.
In blisspop video works for a day...then well i moved to stock 4.4.4 for some testing and optimisation on it btw i'm on xt1068
Hello Guys,
After working off to a new base fixed everything in the new build.
Get it https://s.basketbuild.com/devs/DC07/Spirit/titan
Steps and feature list are on the OP.
Enjoy!!
Help
Hello im a new moto g user and i flashed the latest cm12 nightly. I really want to flash this kernel but im afraid that it wil screw up my phone. I flashed franco and it screw me up. Should i do it? I have backup stockrom
MotoGUser69 said:
Hello im a new moto g user and i flashed the latest cm12 nightly. I really want to flash this kernel but im afraid that it wil screw up my phone. I flashed franco and it screw me up. Should i do it? I have backup stockrom
Click to expand...
Click to collapse
Normal moto g or second generation?
And there isnt even franco kernel for this device lol so ofc you screw up.
If you indeed own a moto g 2nd gen (titan) and your are running latest cm12 nightly it is safe to flash this kernel.
Anas Karbila said:
Normal moto g or second generation?
And there isnt even franco kernel for this device lol so ofc you screw up.
If you indeed own a moto g 2nd gen (titan) and your are running latest cm12 nightly it is safe to flash this kernel.
Click to expand...
Click to collapse
Second gen
What
Sent from my Moto G 2014 using XDA Free mobile app
I did not think the new governors nor Min Freq: 96000
Is there anyway to disable the cpu being clocked at 19000 whenever I touch the screen? It's a feature of CM12, however is there anyway to disable this? I tried putting off mpDecision through Faux123 but it still goes to 19000 even with intelliplug and the user defined option. Any help appreciated!
Thanks,
iG0tB00ts
MotoGUser69 said:
Second gen
Click to expand...
Click to collapse
How the hell you have a Moto G 2nd Gen and flashed Franco Kernel? Franco Kernel is for 1st Gen. lol man you need new eyes, even glasses don't help in this case.
Sent from my Moto G 2014 using XDA Free mobile app
disclaimer
-- Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will simply laugh at you.
*/
I'm not a developer, I'm only contributing to the community with MY custom kernel, hope you enjoy it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
decipher_kernel
Introduction
Based on stock CM 12.1 kernel and modified for a more IN CONTROL user experience, Kernel includes many features and upgrades not found in stock, Stability is the number one priority. Now, CM13 is supported (it's still the same as CM12 kernel, with new upgrades). Simple-CM kernel will be discontinued (it will remain in OP), decipher kernel is a lot more stable, especially MPB.
Main features
Hotplugs:
IntelliPlug 4.0
Bricked hotplug
MSM Hotplug
AutoSMP
Governors:
Yankactive
Impulse
IntelliActive
IntelliDemand
ZZMoove
BioShock
+ all CM defaults
IO Schedulers:
bfq
sio
zen
tripndroid
+ all CM defaults
Other Features
Advanced TCP congestions
Sound Control
Frandom
KCAL control
Adreno idler
Dynamic Fsync toggle
Kernel mode: NEON
SElinux mode: Permissive
KEXEC support
Enable headset in high performance
Powersuspend modes
GPU UC/OC
Simple-CM
Introduction
Ok, so here it is, this is probably the closest to stock CM kernel, I've included only the most essential features, this means no extra CPU governors/IO schedulers/Hotplugs. So it's basically stable CM stock kernel with a few added features to have a little more control. You can see github to view the changes.
For those who are considered about battery life; this will give you same battery as stock CM and it's ok for two reasons:
1. Under clocking to save power is useless below 787200.
Remember when on stock kitkat your default "low" frequency was 787200? well it was for a reason.
2. Frequency's below 787200 consume the same power as 787200. The same goes for frequency's above 787200, so ideally we would get optimal performance with just using 2 frequencys, 787200 and 1190400..
Main features
Hotplugs:
mpdecision
Governors:
all CM defaults
IO Schedulers:
all CM defaults
Other Features
UBER toolchain GCC 4.9.4
KCAL control
GPU UC/OC
KEXEC support
Permissive
Install Instructions
download latest version of the zip
reboot recovery
make sure you are on stock CM kernel before flashing for the first time, if not then proceed to wipe system partition and flash CM/AOSP ROM.
install ANY VERSION OF DECIPHER kernels
if upgrading, proceed to flash normal way.
wiping dalvik is not necessary in any case.
Downloads
GOOGLE DRIVE
Thanks To/Credits
Code:
* CyanogenMod
* osm0sis
* savoca
* faux123
* neobuddy89
* ZaneZam
* Zakee94
* Flashhhh
* arter97
* Hurtsky
* mrg666
* many more
XDA:DevDB Information
decipher_kernel, Kernel for the Moto G 2014
Contributors
-decipher-
Source Code: https://github.com/decipher90
Kernel Special Features: MSM Hotplug, Bricked Hotplug, Awesome Governors, IO schedulers, KCAL control, Neon mode, Sound control.
Version Information
Status: Stable
Current Stable Version: [CM13][13.12.16]
Stable Release Date: 2016-12-13
Created 2015-07-31
Last Updated 2017-01-29
Latest Change-logs
13.12.16:
[CM14.1][13.12.16]decipher // MPB
merge CM changes
Major tweak script changes
bioshock lag fix attempt #1
Older Change-logs
16.11.16:
[CM13][CM14.1][16.11.16]decipher // MPB
merge CM changes
minor installer script changes
VM improvements
06/11/16:
[CM13][2016-11-06]decipher // MPB
merge CM changes
minor script changes for MPB
24/10/16:
[CM13][031016]decipher // MPB
merge CM changes
03/10/16:
[CM13][031016]decipher // MPB
installer script changes
back to msm mpdesicion hotplug as default
disable slice idle for BFQ and CFQ (this parameter is meant for rotational storage)
silence some logs
Linux patch-3.4.100 (skipped a few, LOL)
Added Auto SMP hotplug driver to both kernel versions (might be removed from MPB later)
09/09/16:
[CM13][240816]decipher // MPB
merge CM kernel updates
bioshock as default governor
Intelliplug as default Hotplugging driver
Installer script completely tweaks the kernel for a balanced profile
24/08/16:
[CM13][240816]decipher // MPB
merge CM changes
updated default configuration files as per CM.
yankactive is now more battery friendly
Installer script sets yankactive as default gov (for now)
12/08/16:
[CM13][120816]decipher // MPB
merge CM changes
New script sets 787200 Hz as the default frequency.
Reduced Bricked hotplug start delay + fewer checks + Idle frequency is now 787200
tuned Intelliplug hysteresis value for better battery.
02/08/16:
[CM13][020816]decipher // MPB
merge CM changes
22/06/16:
[CM13][220616]decipher // MPB
toolchain updated
compiled from scratch
merge CM changes
11/06/16:
[CM13][110616]decipher // MPB
merge CM changes
23/05/16:
[CM13][230516]decipher // MPB
fix low volume issue introduced in last update
21/05/16:
[CM13][210516]decipher // MPB
merge CM changes
10/05/16:
[CM13][100516]decipher // MPB
merge CM changes
30/04/16:
[CM13][300416]decipher // MPB
Update toolchains
Update defconfigs
merge CM changes
03/04/16:
[CM13][030416]decipher // MPB
merge CM changes
26/03/16:
[CM13][260316]decipher
merge CM changes
20/03/16:
[CM13][200316]decipher
merge CM changes
vibrator tweaks
B]04/03/16: [/B]
[CM13][040316]decipher
UBER TC updates
14/02/16:
[CM13][140216]decipher
incorporate new drivers for /drivers/staging/prima (wlan and WiFi)
merge cm changes
10/02/16:
[CM13][100216]decipher
updated defconfigs
TripNdroid IO is back
simple GPU algorithm (off by default)
headphone_pa_gain added to sound Control (only tunable with Faux sound APP)
01/02/16:
[CM13][010216]decipher
updated defconfigs
merge latest CM changes
11/01/16:
[CM13][110116]decipher
completely Rebuilt FROM SCRATCH (again)
debloated the kernel
update to latest CM sources (7 pages of 35 commits per page of updates)
29/12/2015:
[CM13][291215]decipher
completely Rebuilt FROM SCRATCH
Overhauled the custom defconfigs > applied Google recommended settings..
update to latest CM sources
tons of futex updates
Fix high load average from uninterruptible waits
Add current consumption values used by cpufreq_stats
VM fixes and updates
ARM updates
bring back old CPU governors.
selinux fixes and updates
TONS of enhancements and upgrades
23/12/2015:
[CM13][231215]decipher
Linux kernel version 3.4.42
merge CM13 updates to 22/12/15
Wiimote is now supported (thanks CM)
Enable CONFIG_UID_CPUTIME
The latest doze feature should now be supported (thanks Luk and luca)
ARM updates
TONS of enhancements and upgrades (not kidding)
21/12/2015:
[211215]decipher
ARM updates
miscellaneous enhancements and upgrades
30/11/2015:
[301115]decipher
merge CM changes
remove KSM (kernel same page merging)
miscellaneous enhancements and upgrades
20/11/2015:
[201115]decipher
Linux version 3.4.110
many enhancements to cpu and mach-msm code
implement USB fast charge
many ARM updates
miscellaneous enhancements and upgrades
12/11/2015:
[121115]simple-CM
merge CM changes
[121115]decipher
merge CM changes
ARM updates
silent some log
VM updates
power: Disable IRQ wake-up when disabling the IRQ
31/10/2015:
[151031]simple-CM
merge CM changes
[151031]decipher
merge CM changes
various CPU and GPU improvements
disable smartmax/ Intellimm CPU govs
disable VR IO scheduler (ZEN is an improved version of VR)
Miscellaneous upgrades/fixes
22/10/2015:
[151022]simple-CM
update install scripts not nuking the new powerhal binary
[151022]decipher
update install scripts not nuking the new powerhal binary
bring back headphone_pa_gain
disabled advanced TCP congestion except westwood
disabled userspace/ondemand/conservative CPU governors
17/10/2015:
[151017]simple-CM
Miscellaneous upgrades
[151017]decipher
implement BioShock CPU governor
tune bricked hotplug once more
tune some CPU govs responsiveness (intellidemand/intellimm/zzmoove)
set default profile (8) zzperf for zzmoove
sound control: remove headphone_pa_gain (was not working)
Miscellaneous upgrades
10/10/2015:
[151010]simple-CM
Introduce NEW VERSION (simple-CM) details here.
UBER toolchain GCC 4.9.4
KCAL control
GPU UC/OC
KEXEC support
Permissive
[151010]decipher
merge CM changes
tune bricked hotplug to be more aggressive
tune some CPU governors
VM upgrades
04/10/2015:
[151004]decipher_v7
Merge CM changes
switch to UBER toolchain GCC 4.9.4
Bring back MSM hotplug (should not cause those extremely rare reboots now)
many ARM updates
Switch to -O3 flag (more optimizations in compilation)
implement RWSEM algorithm (experimental, may go away)
implement unaligned memory access capability for ARM
plus many more updates (check git)
[151004]simple_v6
ALL decipher_v7 updates (except MSM hotplug)
30/9/2015:
decipher_simple_v5.1 + decipher_kernel_v6.1
bump to Linux kernel v3.4.109
entropy tweaks
18/9/2015:
decipher_simple_v5
merge CM changes
new and improved BFQ IO
removed smartmax CPU gov (improved interactive is better)
removed SIO + ZEN (no longer necessary)
removed Intelliplug 4.0 (bricked hotplug can easily replace it)
as simple as it gets
decipher_kernel_v6
merged CM changes
new and improved BFQ IO
13/9/2015:
decipher_simple_v4
completely based on decipher_kernel now (many updates)
rebuilt from scratch
7/9/2015:
decipher_kernel_v5.3
stability improvements
disable simple_GPU (adreno idler is better)
disable Intellithermal (default thermal engine is more stable, intellithermal can cause some problems with frequency's)
1/9/2015:
decipher_simple_v3.2 + decipher_kernel_v5.2
merge CM changes
implement adreno_idler by arter97
23/8/2015:
decipher_simple_v3.1 + decipher_kernel_v5.1
merge CM changes (many)
16/8/2015:
decipher_simple_v3
switch toolchain to Linaro 5.1 optimized for cortex-a7 CPU
replace Intelliactive with newest ZZMoove 1.0 beta8 for SNAPDRAGON (tested)
decipher_kernel_v5
switch toolchain to Linaro 5.1 optimized for cortex-a7 CPU
add newest ZZMoove 1.0 beta8 for SNAPDRAGON (tested)
10/8/2015:
decipher_simple_v2.1
add KEXEC support
9/8/2015:
decipher_simple_v2
enable kernel mode:NEON
Headset in high performance
audio optimizations
ARM Cortex-A7 optimizations
decipher_kernel_v4
ARM Cortex-A7 optimizations
merged CM changes
7/8/2015:
decipher_simple_v1 initial release
3/8/2015:
Add IntelliActive governor (tested)
Add IntelliDemand governor (tuned+tested)
Remove MSM hotplug (causing random reboots if wrong values were tampered with)
Add IntelliPlug 4.0 by faux123
1/8/2015:
Enable KEXEC support
Tripndroid IO scheduler
Optimized zen IO scheduler for android
Fixed battery draining even in deep sleep (former CM bug)
Merged CM changes
31/7/2015:
initial release v1
FAQ
what's the difference in this kernel?
decipher_kernel will focus mainly on stability, before each update the kernel undergoes heavy testing to ensure the least errors possible, this means that features may come and go if they're potentially unstable.
Why no CPU underclocking?
CPU underclocking tries to save power by reducing the cycles a CPU undergoes in one second (Hz) It's not available in decipher_kernel for one reason: Lower frequencys like 192MHz or 96MHz use the same voltage as 300MHz, so there is no apparent power saving.
Why no CPU overclocking?
Implementing this feature in the source code can (and has) be done, nevertheless REAL overclocking is not possible due to hardware level limitations.
Can't flash the kernel? or kernel doesn't apply when flashing?
Try placing the .zip file in the root of internal storage and flash from there, also rename the zip file to something that includes no special characters or spaces ( example: kernel.zip ), some users have reported this solves this issue. If you're getting an error executing updater binary, just wipe system and flash again. As a last resort, try wiping System partition and reflash ROM.
Tuning The Settings
Use kernel adiutor to tune the settings.
Iv'e included a few profiles oriented to: performance, battery, balanced.
Expand to see Profiles
My personal Settings
CPU governor: interactive
muticore power saving: off
CPU boost: off
Input boost: off
CPU hotplug: intelliplug
hysteresis: 8
touch boost: ON
max freq screen off: 787
threshold:350
GPU governor: msm-adreno-tz
max_freq: 533
adreno idler: on (defaults)
IO scheduler: bfq (both)
read_ahead: 512 (Internal)
read_ahead: 2048 (external 32GB class 10)
Virtual memory:
dirty ratio: 20
dirty bacground ratio: 10
dirty expire centicecs :200
dirty writeback centices: 500
min free kbytes: 4096
swappiness: 60
vfs cache pressure: 100
laptopmode: 2
minfree extra kb: 10800
swap: 250
Click to expand...
Click to collapse
Balanced
CPU governor: zzmoove
profile: zzrelax (11) or yankactive
muticore power saving: off
CPU boost: off
Input boost: off
CPU hotplug: MSM MPdecision (defaults)
or
IntelliPlug: Balanced
hysteresis: 8 - 12
GPU governor: msm-adreno-tz
max_freq: 533
adreno idler: on (defaults)
IO scheduler: bfq (int) & noop (ext)
read_ahead: 128 (Internal)
read_ahead: 2048 (external 32GB)
Virtual memory: defaults
Click to expand...
Click to collapse
Performance
CPU governor: bioshock
muticore power saving: off
CPU boost: on
touch boost: off
CPU hotplug: MSM MPdecision
idle freq: 384000
or
IntelliPlug performance
hysteresis value: 8
GPU governor: msm_adreno-tz
max_freq: 533
adreno idler: on (defaults)
IO scheduler: bfq (int) & deadline (ext)
read_ahead: 128 (Internal)
read_ahead: 2048 (external 32GB)
Virtual memory: defaults
Click to expand...
Click to collapse
Battery
CPU governor: zzmoove
profile: ybat (2) or ybatext (3) or zzrelax(11) <-- recommended
muticore power saving: agressive
CPU boost: off
Input boost: off
CPU hotplug: MSM MPdecision
max cores online: 2
or
IntelliPlug: Eco conservative
Hysteresis: 8 - 12
GPU governor: powersave
max_freq: 320
IO scheduler: fiops(internal) noop (external)
read_ahead: 512 (both)
Virtual memory (important settings)
dirty ratio: 80
dirty bacground ratio: 65
dirty expire centicecs :1500
dirty writeback centices: 3500
min free kbytes: 4096
swappiness: 100
vfs cache pressure: 40
Click to expand...
Click to collapse
These virtual memory settings are not for all users, it depends on how much multitasking you have going on on your phone, if you face some lag in any heavy app like FB just revert these VM changes and stick with the default ones altho they are a little bit more power hungry.
Explanation: dirty ratio is a value in percent that determines the max amount of system memory that can be filled with dirty pages untill they need to be writen to disk, when this limit is reached, system begins writing to disk (this is what may cause sligh lags) the value is high (80) because we don't want to write to disk very often, swappiness also plays an important role here, it is also set to high (100) to make the kernel swap agressively when dirty background ratio (60) is met. Then comes vfs cache pressure and it is set to low (30) this is also a percentage value and controls the tendency of the kernel to reclaim the memory which is used for caching (we don't want this to often). The centicec values are only timers for wrting actions. The min free kbytes value is the minimum memory the kernel will keep free at all times.
Iv'e written this for better understanding, you can visit this link for a more tecnical explanation.
Is there any plans to make SELinux permissive?
pinkerini said:
Is there any plans to make SELinux permissive?
Click to expand...
Click to collapse
it's already permissive
see https://github.com/decipher90/decipher_K/commits/cm12.1-Z
-decipher- said:
it's already permissive
see https://github.com/decipher90/decipher_K/commits/cm12.1-Z
Click to expand...
Click to collapse
Oh my bad. Because I didn't saw it in the description I assumed it wasn't, thanks.
Does it Work on cm based ROM?
wifestealer said:
Does it Work on cm based ROM?
Click to expand...
Click to collapse
yes, I think I'll give out more info on OP hehe.
-decipher- said:
yes, I think I'll give out more info on OP hehe.
Click to expand...
Click to collapse
Thank you that's why I asked
Wow..another kernel...looks promising......gonna try fr sure..... @decipher
Thanx fr ur kernel tunings?
Flashed with pa 5.1
reeeju said:
Flashed with pa 5.1
Click to expand...
Click to collapse
I'm too on pa 5.1 but I haven't flashed this one. I'll do it soon
wifestealer said:
I'm too on pa 5.1 but I haven't flashed this one. I'll do it soon
Click to expand...
Click to collapse
Lol..okay but I changed my ROM just now....now on sarath's EU phoria latest build....
Gonna flash this kernel and .........to be continue?
Just flashed with euphoria......and followed balanced settings from op above......
If you encounter unexpected behaviour please report back politely, I will do my best to fix any problems.
How about adding kexec?
Running it with tesla, going good for now
-decipher- said:
If you encounter unexpected behaviour please report back politely, I will do my best to fix any problems.
Click to expand...
Click to collapse
@decipher
Battery draining is fast in even screen off situation......
I hav attached a ss below
reeeju said:
@decipher
Battery draining is fast in even screen off situation......
I hav attached a ss below
Click to expand...
Click to collapse
thank's for reporting, it's fixed in v2.
BTW, you mentioned the wrong user xD
UPDATE v2
1/8/2015:
Enable KEXEC support
Tripndroid IO scheduler
Optimized zen IO scheduler for android
Fixed battery draining even in deep sleep (former CM bug)
Merged CM changes
-decipher- said:
UPDATE v2
1/8/2015:
Enable KEXEC support
Tripndroid IO scheduler
Optimized zen IO scheduler for android
Fixed battery draining even in deep sleep (former CM bug)
Merged CM changes
Click to expand...
Click to collapse
Nice.....happy to see quick fix....downloading...will report later
Just flashed v2....will test fr 24 hours and telling u later
hi, i want try this kernel, but i can't install
i use the Euphoria rom unofficial, i try to install the kernel with twrp, but when i go to check the kernel is the same of Euphoria, don't change, i try to wipe system partition and flash the rom, but nothing
how can i resolve? thx!
[KERNEL][TW] 🌟xMotion🌟 ROM Based v4.7 OC Gpu to 550Mhz UBERT-7.0.0 Dual-sim OC KCAL
/*
* 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.
*/
Features
Add KCAL - Advanced color control for Qualcomm MDSS 8226 use Kernel Adiutor
Note:
Lock screen restore RGB value at max. Not solve this.
Note : Build Full -Ofast Toolchain Linaro gcc 5.2.1 20151005
Old Version :
Kernel v1.1
Add POWERSUSPEND to Samsung panel
Bug display wrong freq in Apps Setting Kernel
Little drain but very fast
Kernel v1.2
Add WCD93xx sound control module v3.4
Copyright 2013~2014 Paul Reioux
Kernel v1.3
Fix wrong freq
Set this in /sys/kernel/cpufreq_hardlimit/
Kernel v1.4
Change Toolchain Dorimanx-LG-G2-D802-Kernel
Change to KCAL V2 mdss_mdp_kcal_ctrl.c
Kernel v1.5
Power Suspend settable.
New Version 1.7:
KCAL v2.0 savoca <[email protected]> and Paul Reioux <[email protected]>
WIFI ok
MSM_HOTPLUG by myfluxi
WCD93xx sound control module Author: Paul Reioux aka Faux123
ZZMOOVE governor 2001 Russell King 2012 Michael Weingaertner <[email protected]>
CYAN governor Author: Emre Harbutoğlu on Paul Reioux ([email protected]) Modified for cyan
SIOPLUS I/O scheduler
TRIPNDROID I/O scheduler
ZEN I/O scheduler
VR I/O scheduler
Toolchain 4.9.4 PWR-CORE
Click to expand...
Click to collapse
New Version 1.8:
Add INTELLI_PLUG cpu control module Author: Paul Reioux aka Faux123
More governors
No OC for battery drain
Click to expand...
Click to collapse
New Version 1.9:
Update WiFi PRIMA driver
ARM: add support for kernel mode NEON
ARM: crypto: add NEON accelerated XOR implementation
msm: memutils: memcpy, memmove optimization
crypto: create generic version of ablk_helper
ARM: add support for bit sliced AES using NEON instructions
More commit : Commits
Kernel v3.4.25 CAF
Click to expand...
Click to collapse
New Version 2.0:
For MotionROM_v17.0_20160322
KCAL v2.0 savoca <[email protected]> and Paul Reioux <[email protected]>
WIFI ok Tested AP Router WiFi
MSM_HOTPLUG by myfluxi
WCD93xx sound control module Author: Paul Reioux aka Faux123
ZZMOOVE governor 2001 Russell King 2012 Michael Weingaertner <[email protected]>
CYAN governor Author: Emre Harbutoğlu on Paul Reioux ([email protected]) Modified for cyan
PEGASUSQPLUS governor
SMARTMAX governor
SIOPLUS I/O scheduler
TRIPNDROID I/O scheduler
Toolchain 4.9.4 PWR-CORE
Bug: no DeepSleep (i work to fix)
Click to expand...
Click to collapse
New Version 2.1:
For MotionROM_v17.0_20160322
KCAL v2.0 savoca <[email protected]> and Paul Reioux <[email protected]>
WIFI ok Tested AP Router WiFi
MSM_HOTPLUG by myfluxi
INTELLI_PLUG v4.0
WCD93xx sound control module Author: Paul Reioux aka Faux123
More governors
More I/O scheduler
Toolchain 4.9.4 PWR-CORE
OverClock 1593Mhz
Tweak for GPU
POWERSUSPEND
BTW Notification light is working.
Fix DEEPSLEEP
Click to expand...
Click to collapse
New Version 2.2:
For MotionROM_v17.0_20160322
Update MSM_HOTPLUG by myfluxi
Update governors INTELLIACTIVE, INTELLIDEMAND, INTERACTIVE
Update FREQ_FOR_RESPONSIVENESS in governor PEGASUSQPLUS to 300.000 Mhz
Update fastcharge
Click to expand...
Click to collapse
New Version 2.3:
For MotionROM_v17.0_20160322
Fix Bluetooth Stuttering by [email protected]
Build Full -O3 Toolchains 4.9.x-sabermod 20150926 (release)
kernel with HARDLIMIT CONTROL
cpufreq: CPU max. hardlimit v2.2 (Yank555.lu)
For fast changes you mod this:
/sys/kernel/cpufreq_hardlimit/current_limit_max 1497600 (or whatever you want)
/sys/kernel/cpufreq_hardlimit/scaling_max_freq_screen_on 1497600 (or whatever you want)
99ChangeFreq.zip (unpack and put in dir /system/etc/init.d set permisssion 0755 and activate kernel adiutor init.d)
Click to expand...
Click to collapse
New Version 2.5:
For All MotionROM TW based
Rewrite all CPU Governor
Governor ZZMOOVE fix profile
Update Powersuspend v1.7
New Toolchain UBERTC-4.9.4 20160401
Initram KERNEL in GZIP
Add Dual-sim support for i9300i flash Also RIL_for_I9300I_by_nikita36078.zip and
kernel-MotionRom-TW-17.0-v2.5-zram_FIX_for_i9300i_RIL.zip
Click to expand...
Click to collapse
New Version 2.6:
For All MotionROM TW based
New Toolchain UBERTC 5.3.x 20160401 (optimized)
Click to expand...
Click to collapse
New Version 2.7:
For All MotionROM TW based
New Toolchain UBERTC 5.3.x 20160401 (optimized)
Add GRAPHITE optimizations
Click to expand...
Click to collapse
New Version 2.8:
For All MotionROM TW based
New Toolchain Linaro gcc 5.2.1 20151005
Add GRAPHITE optimizations
Charging off-line work with animation
(I swear I did not realize that does not work ... sorry)
Add Kernel in ZSWAP
Click to expand...
Click to collapse
New Version 3.3:
For All MotionROM TW based
New Toolchain Linaro gcc 5.2.1 20151005
Build Full -Ofast
Add GRAPHITE optimizations
Charging off-line work with animation
Add Scheduler I/O Fiops Sio Sioplus Tripndroid and Zen
ZRAM num_devices = 4 and add script enabled by kernel adiutor init.d 99zram
You can edit this script in /system/etc/init.d/ (change value 64 to set more MB)
ZRAM default_compressor = "lz4"
Update vnSwap zsmalloc.c zswap.c
Workqueues marked with WQ_POWER_EFFICIENT
Update commit WQ_POWER_EFFICIENT
Fix SOUND DRIVER (resolved bug no sound on any music player)
Control Output Sound in Kernel Adiutor menu Sound
Sound Control 3.4 Author: Paul Reioux aka Faux123 <[email protected]>
Update Gpu Devfreq
Add Adreno Gpu governor CONSERVATIVE (now work)
Add more Governors Cpu: WAVE, BLU_ACTIVE, HELLSACTIVE, BIOSHOCK,
NIGHTMARE, ALUCARD and TRIPNDROID
New CPU BOOST driver ACCELLERATE HOTPLUG
New HotPlug driver: BRICKED, MAKO, MSM_LIMITER, ZEN, and ALUCARD
Update INTELLI_PLUG (v5.4) and MSM_HOTPLUG
Click to expand...
Click to collapse
New Version 3.6:
For All MotionROM TW based
Same 3.3, 3.4 3.5
Add Governors:
ARTERACTIVE Copyright (C) 2014 Samsung from SM-G900F source
"Latency sensitive workloads based on Samsung's Galaxy S5 Interactive");
CYAN Copyright (C) 2015 Emre Harbutoğlu
"Latency sensitive workloads based on Google's Interactive"
Rebuild I/O Schedulers add IOSCHED_BFQ and IOSCHED_VR
Add new commit:
fix false disconnect due to a signal sent to the reading process
ksm: check and skip page, if it is already scanned
Input: Send events one packet at a time
cpufreq: Optimize cpufreq_frequency_table_verify()
Add /dev/frandom
lib/string: use glibc version
lib/memcopy: use glibc version
Enable pipe flag.
mm: readahead to 256
vfp: hardfloat
KERNEL in XZ
Click to expand...
Click to collapse
New Version 4.0:
For All MotionROM TW based
Same 3.3, 3.4 3.5 3.6 3.7 3.8
Add Commit to Cpu Boost
Change Fast Charge Driver (old seem break Touchscreen)
Limit the max charge level to 2100 mA
Author Jean-Pierre Rasquin <[email protected]>
Change /drivers/power/qpnp-sec-charger.c from S5 mini
Update sources Selinux
v3.9
update input (touchscreen, ecc.), hid and usb (all) kernel files from S5 Mini
v4.0
In this version regress hotplug to 3.9
disable BRICKED_HOTPLUG
Click to expand...
Click to collapse
New Version 4.7:
For All MotionROM TW based
v4.1
add OC Gpu to 550Mhz (finally)
add Busybox in Ramdisk
add Hot Reboot (use RebootManager )
readd HOTPLUG to v5.4
readd BRICKED_HOTPLUG
v4.2
Fix Cpu UnderClock Frequency to 192Mhz and 249Mhz
WOW...
v4.3
kernel v.4.3 swap in ZCACHE
Parameters in:
sys/kernel/mm/zcache
v4.4
Add Async Fsync from HTC Kernels
Add Dynamic file sync control
v4.5
New Toolchain...
UBERTC gcc version 7.0.0 20160421 (experimental)
Add CRYPTO LZ4 (forgot)
Add Async Fsync from HTC Kernels
Update Dynamic file sync control
Optimize more FULL -03
v4.6
ZSWAP in LZ4
SOUND:
In fauxsound codec
Fix speaker gain volume store (use Kernel Adiutor in Sound)
Now work volume speaker :laugh:
ATTENTION or damage speaker Max value 4-5
for WCD9306 sound control module Copyright 2013 Paul Reioux
v.4.7
Fix GPU overclock 550 Mhz
Add GPU min freq to 100 Mhz
Limit CPU Voltage at freq 192 and 249 MHz
Script Zram to 512 MB
zram vs zswap vs zcache Ultimate guide: when to use which one
Note:
First uninstall Kernel Adiutor, install the new kernel, then reinstall Kernel Adiutor
Click to expand...
Click to collapse
OC Gpu to 550Mhz - Charging off-line work with animation - Fix SOUND
Note:
First uninstall Kernel Adiutor, install the new kernel, then reinstall Kernel Adiutor
Download: Kernel-xMotion-v4.7-u700-zram.zip
Download: Kernel-xMotion-v4.7-u700-zswap.zip
Download: Kernel-xMotion-v4.7-u700-zcache.zip
Test please:
This work on 9300I Dual Sim
Download: Kernel-9300I-DualSim-xMotion-v4.7-u700-zram.zip
Download: Kernel-9300I-DualSim-xMotion-v4.6-u700-zswap.zip
If necessary flash this: Patch+RIL+(Dual+SIM).zip
old:
Download: Kernel-xMotion-v4.6-u700-zram.zip
Download: Kernel-xMotion-v4.6-u700-zswap.zip
Download: Kernel-xMotion-v4.6-u700-zcache.zip
Download: Kernel-xMotion-v4.5-u700-zram.zip
Download: Kernel-xMotion-v4.5-u700-zswap.zip
Download: Kernel-xMotion-v4.5-u700-zcache.zip
Download: Kernel-xMotion-v4.4-l521-zram.zip
Download: Kernel-xMotion-v4.3-l521-zcache.zip
Download: Kernel-xMotion-v4.2-l521-zram.zip
Download: Kernel-xMotion-v4.2-l521-zswap.zip
Download: Kernel-xMotion-v4.2-l521-zram_FIX_for_i9300i_RIL.zip
Download: Kernel-xMotion-v4.2-l521-zswap_FIX_for_i9300i_RIL.zip
Special Version 1.0b7 zRam:
Old version
For All MotionROM TW based
Version beta4:
This version use part of RamDisk of the Boeffla-Kernel and use Boeffla-Config V2 app
Copyright (C) By ZaneZam
Donation: Donation-Link
Link: Page Kernel
Or, just purchase the donation version of the Boeffla-Config app
Yeah go on folks donate for this great Dev By ZaneZam !!
Add zRam (now swap effectively!)
Fix wrong settings
KERNEL in XZ
AnTutu v5.7.2 21600 pts
Change Fast Charge Driver (old seem break Touchscreen)
Limit the max charge level to 2100 mA
Author Jean-Pierre Rasquin <[email protected]>
Version beta6:
Return to Toolchain Linaro gcc 5.2.1 20151005 Graphite
Change :
/drivers/power/qpnp-sec-charger.c
/drivers/hid
/drivers/input
/drivers/usb
add Cpu governor interactive_sm
from S5 mini g800h
Hot Reboot in power app
Click to expand...
Click to collapse
For All MotionROM TW based
Version beta7:
Add OC Gpu to 550Mhz
Add Under Clock CPU to 192Mhz and 249Mhz
Click to expand...
Click to collapse
Special Version 1.0b7 zRam OC Gpu to 550Mhz
Download: Kernel-xMotion-Base-TW-l521-Boeffla-1.0b7-zram.zip
Download: Kernel-xMotion-Base-TW-l521-Boeffla-1.0b7-zram_FIX_for_i9300i_RIL.zip
How to use new ZRAM goto here here
PHP:
Setting Recommended
v4.2
I used zram with setting:
Cpu max : 1401
Governor : interactive_sm
Multicore Power Saving : enabled
Schedule workqueues on awake CPUs to save power. on
Cpu Boost : on
Input boost frequency : disabled (all)
Wakeup Boost : off
Hotplug Boost : on
Cpu Hotplug : IntelliPlug (all default)
Termic : Core Control
GPU : default
Fast Charge: on
Scheduler I/O : deadline 256K
Misc :
Dynamic Fsync : off
Power Suspend Mode : UserSpace
Network : veno
For Setup kernel: kernel-adiutor-0-9-9-4-android-apk-download
If you need a file manager via recovery flash this:
Download: Files manager via TWRP
Thanks to: ZaneZam
Thanks to [email protected] And [email protected]
Commit: toolchain: multiple fixes and changes for gcc 5.0.0
BONUS :
Keyboard SamsungIMEv2 theme xda ( flash in recovery )
*** FIX emoticon ***
Added <<keyboard BLACK and WHITE>>
Thanks ninja_unmatched
Download: SamsungIMEv2_theme_white_fix-emoticons.zip
Download: SamsungIMEv2_theme_black_fix-emoticons.zip
Download: SamsungIMEv2_theme_xda_fix-emoticons.zip
News....
If wifi disconnect flash new WiFi Fix in recovery mode
WiFi Fix : WiFi-fix Galaxy S3 Neo CM12.1.zip
or this:
WiFi Fix original motion ciro v4 : WiFi-fix-Galaxy-S3-Neo-motion-ciro.zip
This Kernel working to Gt-i9300i Dual ???
Amazing Thx @Renix63
About I9300I REnix have i9301i so You can try it works on i9300i .... and tell other users if it works.
Do backup first and flash the kernel.
Ali Asgar said:
This Kernel working to Gt-i9300i Dual ???
Click to expand...
Click to collapse
Sameone test?
Firmware started. It means that the kernel works and I9300I
Why drain? Battery life is not good? If you setup kernel to be battery friendly?
on I9301I works good.
About battery drain I know nothing because a flashed it by 20min.
The Kernell still has a bug 26.. MHz physically is 1593 MHz
Thx a lot @Renix63
Good work
what is the difference between zram ans zswap?? Which one should i flash ??
aziz_chargui said:
what is the difference between zram ans zswap?? Which one should i flash ??
Click to expand...
Click to collapse
Zram - use virtual file file from Your SD card or Internal memory.
Zswap use partition for swap from your SD card - foramted before.
So if you don't want erase your data use Zram, if you have swap partition about 521MB use Zswap.
Propbably Zswap more destroy your sd card - i wrote about it.
nalas said:
Zram - use virtual file file from Your SD card or Internal memory.
Zswap use partition for swap from your SD card - foramted before.
So if you don't want erase your data use Zram, if you have swap partition about 521MB use Zswap.
Propbably Zswap more destroy your sd card - i wrote about it.
Click to expand...
Click to collapse
so i have to use the Zram simpky by flashing it with TWRP
battery drain is real boys
like 3% per 5-6 min
nalas said:
on I9301I works good.
About battery drain I know nothing because a flashed it by 20min.
The Kernell still has a bug 26.. MHz physically is 1593 MHz
Thx a lot @Renix63
Good work
Click to expand...
Click to collapse
Even for me it works well....
Is in daily use and no reboot....
Thanks Bro...
98181735 said:
battery drain is real boys
like 3% per 5-6 min
Click to expand...
Click to collapse
We should also say that it is an experimental Rom :victory:
I'm using latest zram and the max frequency is 2.6ghz (??) This prevents me from setting kernel right. Can you fix it? Other than that works well
Renix63 said:
Even for me it works well....
Is in daily use and no reboot....
Thanks Bro...
Click to expand...
Click to collapse
Yes , no reboot and it's daily use - right and this is amazing
We have TW 5.1.1 with Your great kernel
Battery :
About 18h with normally use - little net, calls, ect. battery is at 66% from 100% so I think it is normall
Thx for Your work @Renix63
I had one restart in stock camera app with OC to 1593MHz ... I check 1497MHz and is ok and again to 1593MHz and is ok.
In first time after OC I had one restart after that everythink is OK
aziz_chargui said:
so i have to use the Zram simpky by flashing it with TWRP
Click to expand...
Click to collapse
Yes, next do wipe cache and dalvik cache - and that's all.
In this Rom the kernel works decently, in CM 12.1 bothers me.
nalas said:
Yes , no reboot and it's daily use - right and this is amazing
We have TW 5.1.1 with Your great kernel
Battery :
About 18h with normally use - little net, calls, ect. battery is at 66% from 100% so I think it is normall
Thx for Your work @Renix63
I had one restart in stock camera app with OC to 1593MHz ... I check 1497MHz and is ok and again to 1593MHz and is ok.
In first time after OC I had one restart after that everythink is OK
Click to expand...
Click to collapse
Thx for info
Perhaps I exclude overclocking ...
News....
If wifi disconnect flash new WiFi Fix in recovery mode
WiFi Fix : WiFi-fix Galaxy S3 Neo CM12.1.zip
I confused firmware
can you share your settings in kernel audi. for battery saver?
Sent from my SM-G800H using xda premium
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Floppy is kernel for all custom rom based on LineageOS 14.1, 15.1 and Miui , support the Xiaomi Mi Note 2
Code:
#include <disclaimer.h>
* Your warranty is now void. *
* No guaranteed this'll explode your device, be careful, follow the instructions ! *
*don't point at me if your alarm dies after flashing this kernel ! *
Based on Linux Kernel 3.18.31
Based on LineageOS Kernel
GCC Linaro 7.2.1, UBERTC 8.0, SaberMod 7.0 and Google 4.9
Governors: Impulse, Despair, Zzmove, Darkness, Blu_active, ElementalX, Interactive, Conservative, Ondemand, Powersave, Lionheart, Userspace, Bioshock, Alucard, Hyper, Wheatley, Nightmare, Dancedance, Adaptive, Pegasusq, Chill, Cafactive and Performance.
I/O Schedulers: Noop, Deadline, Cfq, Fiops, Bfq, Zen, Sio, Sioplus, Maple and Tripndroid.
Compiled with -Os
Full Linaro Optimizations ON
Optimized Parameters from L Speed @Paget96
Google Snappy Algorithm
ARM RWSEM Algorithm
Charge Control module - credits : xNombre
Wireless adapter (LIB80211, RTL8180, RTL8187, MAC80211, EEPROM: LEGACY, MAX6875, 93CX6, 93XX46)
Spectrum support
Kexec HardBoot support
Wireguard
Kernel Samepage Merging (KSM)
Dynamic File Sync and Asynchronous FIle Sync - credits : andip71 | Francisco Franco
Passing SafetyNet
[*] Frandom - Entropy Generator
USB OTG NTFS r/w Support
SYSInterface Gentle Fair Sleepers
[*] Some CFLAGS optimizations
Performance enhancements
OC Slimbus frequencies to provide better sound quality
Lazyplug - credits : arter97 | frap129
Backlight Dimmer
Arch Power saving - credits : kirananto | Cl3Kener
Adreno Idler- credits : arter97 | yarpiin
[*] Intelli-Thermal v3.0 - credits : faux123
Support f2fs, exfat, ntfs filesystem
Quick WakeUp Driver and power suspend 1.7 - credits : Paul Reioux | Jean-Pierre Rasquin | Francisco Franco
Support cpu boost, cpu input boost and fingerprint boost
MDSS color control (Kcal v2) - credits : flar2 | andip71
Sysfs interface to Enable/Disable CRC - credits : whyorean
[*] Sysfs interface CPU Vdd levels
Boeffla wl blocker v1.1.0: sensor_ind, msm_hsic_host, wlan_rx, wlan_ctrl, wlan, ipa, qcom rx and more - credits : Francisco Franco | andip71
Vibration Control Intensity
TCP Congestion Algorithms: Westwood (default), Reno, Bic, Highspeed, Hybla, HTCP, Vegas, Scalable, Lp, Yeah and Illinois.
And much more!
First time:
Reboot to recovery
Flash FloppyKernel.zip
Flash magisk (optional to get root)
Wipe cache e dalvik cache
Reboot
Update the kernel:
Reboot to recovery
Flash FloppyKernel.zip
Wipe cache e dalvik cache
Reboot
Coming from another kernel:
Reboot to recovery
Flash your ROM
Flash FloppyKernel.zip
Flash magisk (optional to get root)
Wipe cache e dalvik cache
Reboot
Floppykernel
FloppyKernel's Autonomous Builds
FloppyTeam
FloppyReleases
Donate here, if you like my work!!!
LineageOS
Mi5Devs
@GreekDragon
XDA:DevDB Information
Floppy Kernel, Kernel for the Xiaomi Mi Note 2
Contributors
Jonas Cardoso, InsideMuz
Source Code: https://github.com/JonasCardoso/android_kernel_xiaomi_msm8996
Kernel Special Features: A magical support, I am all day here, reading the publications of the posts, ready to help in any doubt (unless you have not read the OP that contains the information that you need).
Version Information
Status: Stable
Current Stable Version: RC1.3
Stable Release Date: 2018-01-13
Created 2018-01-08
Last Updated 2018-08-20
RC1 - 28/11/2017
Changes from source "LineageOS/android_kernel_xiaomi_msm8996"
kernel: support for GCC 5, 6 and 7
cpufreq: added new governor
block: added new iosched
filesystem: add NTFS r/w support
power : power_suspend 1.7 - credits : Paul Reioux | Jean-Pierre Rasquin
sched: Add SysInterface for GENTLE_FAIR_SLEEPERS
int_sqrt: Improve 3x faster integer sqrt
sync: Dynamic Sync Control 2.0
fs: Async I/O latency to a ssd greatly increased, 34% gain (Creds: kl…
include: Set 1024KB as Max Read ahead - more performance now
thermal : intelli-Thermal v3.0
ASoC: wcd9335: Sound control
msm8996: all variants same clock
staging: Google Snappy
Power : Add Quick WakeUp Driver
cmdline: Safetynet
fs: add exfat support
cpufreq: show cpu voltages via sysfs 009a6c0
cpufreq: Add CPU Input Boost Driver : SultanXDA
cpufreq: cpu-boost: Optimizations
fs: Dynamic Sync Control 2.0 and MDSS color control
drivers: Slimbus Overclock
gemini: Enable All TCP Congestion Algorithms
OC : Standard MSM8996 Frequency CPU | GPU
devfreq : Add Adreno Idler
cpufreq: add fingerprintboost and lazyplug
drivers: intelli-Thermal v3.0
version: floppykernel RC1
RC1.1 - 10/12/2017
SoundControl: fixed speaker \o/
ramdisk: add tweaks on init.floppy.rc
char: disabled frandom
gemini: enabled ksm
gcc: support gcc 7.x and 8.0 (Linaro and UBERTC)
zip-creator: add spectrum support
drivers: misc: implement usb fast charge mode
version: floppykernel RC1.1 62e569c
zip-creator: delete zip build 8ae3d63
RC1.2 - 27/12/2017
android: binder
ALSA: compress: Add DSD format support for ALSA
ALSA: compress: Add APTX format support in ALSA
firmware: Update synaptic
firmware: Update fte8716
spectrum: don't change clock cpu
kernel: added support to lithium
kernel: added support to natrium
kernel: added support to scorpio
msm8996: Overclocking frequencies
msm: qdsp6v2: Allow 320K AAC encoding
Add Kexec HardBoot Support
Revert "drivers: intelli-Thermal v3.0"
Merge tag 'LA.UM.5.5.r1-06400-8x96.0' into HEAD
drivers: staging: Update qcacld-2.0 driver
version: floppykernel rc1.2
build.sh: update device.prop
defconfig: CPU and GPU more battery-friendly
wakeup: More Wakelocks
RC1.3 - 13/01/2018
zip-creator: update AnyKernel2
build.sh: update device.prop
defconfig: CPU and GPU more battery-friendly
zip-creator: update AnyKernel Setup
wakeup: More Wakelocks
msm: mdss: kcal: Add KCAL support for post processing control [v2] 6b40a22
zram: LZ4 after LZ0
block: Add Maple I/O Scheduler
zip-creator: Patch to remove dm-verity
gcc8: fix warnings
defconfig: Wireless Adapter
net/wireguard: add wireguard importer
zip-creator: device check
dtbTool: now dtbTool will be built
travis: GitHub Release
zip-creator: update patchs
boeffla_wl_blocker: update to wakelock blocker driver v1.1.0 3efdcbf
defconfig: enable lazyplug a9785fe
defconfig: enable adreno idler a5d0558
cpufreq : Add Chill CPU Governor - credits : Joe Maples (@frap129) 6d26826
cpufreq: Add CAF-Active Governer - credits : Jean-Pierre Rasquin 4ba764b
version: floppykernel rc1.3 34479b6
travis: deploy in lineage-14.1 branch e5f4308
Frequently asked questions
Q: Will this conflict with any mod I'm using?
A: As long as it doesn't have any entropy related stuff, its okay. Since the kernel already comes with an inbuilt entropy generator, it will conflict with the ones from mod, causing a poor, stuttered performance!
Q: Deep Sleep isnt working for me, Google Services causing wake-locks, what to do?
A: Go to settings, Privacy, Privacy Guard, All apps, long press Google Services, and deny/disable wake-locks! (Thanks to @Paget96 for the solution)
Q: Which version should I flash?
A: Flash kernel with toolchain that you prefer.
Q: What is the difference between the UBERTC, Linaro, SaberMod and Google toolchain? Which one is the best?
A: It's a good read on the toolchain UBERTC you are wanting to know more about it, this for Linaro, this for SaberMod and this for Google.
Q: What is the difference between the HMP and Miui kernel?
A: Miui folder is for miui roms -> xiaomi.eu, MiuiBR and other derivatives from miui official. HMP folder is for aosp rom and derivatives -> Aosp, Lineage and other derivatives from aosp
Q: Is your kernel secure?
A: You MAY face some issues, but it's safe! My cell phone has not exploded yet.
Q: WiFi doesnt work for me.
A: Reflash ROM and Kernel.
Q: What application can I use to configure the kernel?
A: Use Spectrum, and if you have enough knowledge of what to modify or do in the application use together Kernel Adiutor.
Q: Can I use the kernel source in my ROM?
A: If you want to use my kernel in your ROM, just put my name in the credit, just like I did.
Q: Does your kernel support writing to the NTFS file system?
A: Yeeh, you can use flash drives and HD with NTFS via OTG.
Q: My cpu clock is locked with any governor.
A: Just disable the thermal control in the kernel temperature settings.
Q: I have problems with your kernel.
A: Take a logcat and kmesg, this website and this video should help you
Q: Why does my magisk and root disappear after installing your kernel?
A: The kernel script makes changes that directly interfere with both, reinstall the magisk that it will function normally, follow this installation line always: FloppyKernel -> Magisk -> Reboot system.
Q: Does your kernel support Miui ROM?
A: Yes, support was added in "RC1.2".
Q: Why did your kernel go straight to "RC1.2"?
A: Because it is based on the FloppyKernel for MI5, which is already in RC1.2.
Q: What is the "Battery" profile in the spectrum?
A: Based on Project Zhana & X.A.N.A was made for trying to be as efficient as possible without compromising the performance. Thanks to the discovery on Voltages used by our SD820 I could make a profile that utilizes more the BIG cluster. My first attempt was to move ALL the load to the BIG cluster, it was against anything that I have learned about little. BIG CPU but I tried, it turned really good at first, low usage was just amazing... But on more usage things didn't go that good. So what I did it was to give a twist to things, but not such twist. It kind of works like Nameless and Shotgun, Mostafa Wael and I worked the same idea. #LITTLE cluster will be running on low-mid frequencies but delivers full performance when is needed. # BIG Cluster will help LITTLE ease Load, but in a great way than before. Things can be done faster and more efficient giving us profit in form of battery. It should run smooth on all scenarios, but you guys tell me. You can easily get around 7~9 hours SOT for 24 hours even more If you don't play game. This will, of course, may vary, but it will definitely be better.
Q: What is the "Balanced" profile in the spectrum?
A: Based on GhostPepper was made to uses a quantized, frequency-aligned parametric curve to influence low core clock rates while providing extremely smooth transitions from each clock rate and exceptional battery life. Really well-defined clock speed escalation for a good battery and performance.
Q: What is the "Performance" profile in the spectrum?
A: Based on FusionP this profile brings a more "agressive" way to scale frequencies. It will scale frequencies sooner(regarding load values from cpu) and will use more the big cluster to provide more performance doing the tasks on hands. Battery should not take a big hit but using heavy demanding tasks you can expect a higher drain.
Q: What is the "Gaming" profile in the spectrum?
A: Based on Burnout PR5, this profile's main goal is to provide absolute maximum performance when needed, but lies low quite well. You see, some times I see the CPU hitting some of the high freqs of 1190 while making something as simple as watching YouTube or playing some spotify tracks needlessly, and sometimes I feel it is a bit slower than it should be in things like brute multitasking. Most profiles do aim at bringing a mid-ground to rest on. But with the sensible words of one of my favourite idols Jeremy Clarkson, he says 'Power solves everything' and right he is. By eliminating the mid freqs of the Little cluster and efficiently using some specific frequency steps, you get some power savings by staying on lower freqs as much as possible, and even on brutal tasks you get the job done faster as well, since the CPU will give you all the power to finish the job as fast as it can, and hit back to idle faster.
Q: I want more information about your spectrum profiles.
A: Read this thread.
Q: I want more information about governors, I/O Scheduler, Hotplug, TCP Algorithms and other things.
A: Read this thread.
Hi! I tried the new version of the kernel on mi-globe 7.12.21 rom with twrp 3.2.1 .
I think i am doing something wrong as it does not boot, even if i install the latest magisk v15.
It gets to the boot image and then it shuts down the phone.
Then i reinstall mi-globe rom that comes with the stock kernel and it is fine.
alexmanu1 said:
Hi! I tried the new version of the kernel on mi-globe 7.12.21 rom with twrp 3.2.1 .
I think i am doing something wrong as it does not boot, even if i install the latest magisk v15.
It gets to the boot image and then it shuts down the phone.
Then i reinstall mi-globe rom that comes with the stock kernel and it is fine.
Click to expand...
Click to collapse
Try with version 7.11.19
Jonas Cardoso said:
Try with version 7.11.19
Click to expand...
Click to collapse
Pretty strange. It was from the mi-globe rom . I installed xiaomi.eu's version 7.12.21 and it's working. Testing it and i'll come back with feedback if needed.
none of the versions dont work on miuipro , would be nice if it worked,.. thanks
nofx161 said:
none of the versions dont work on miuipro , would be nice if it worked,.. thanks
Click to expand...
Click to collapse
Can you get log?
Jonas Cardoso said:
Can you get log?
Click to expand...
Click to collapse
Doesn't even start the rom..
@Jonas Cardoso I've a question, could you compile WiFi monitor mode with your kernel? Its a tool which let's you capture wifi packages, and enables to use tools like pcap for android.
Thanks in advance.
UnknowenDev said:
@Jonas Cardoso I've a question, could you compile WiFi monitor mode with your kernel? Its a tool which let's you capture wifi packages, and enables to use tools like pcap for android.
Thanks in advance.
Click to expand...
Click to collapse
Do you have the necessary changes for this? I do not know this feature
Thanks for the custom kernel!
Is it overclocked?
Control with kernel auditor, or can you suggest a better app?
Knz7777 said:
Thanks for the custom kernel!
Is it overclocked?
Control with kernel auditor, or can you suggest a better app?
Click to expand...
Click to collapse
Yeeh, is with OC in CPU, can you get a screen the table clocks with kernel adiutor for me?
Use spectrum for configure kernel, have four profiles and kernel adiutor if necessary
Jonas Cardoso said:
Yeeh, is with OC in CPU, can you get a screen the table clocks with kernel adiutor for me?
Use spectrum for configure kernel, have four profiles and kernel adiutor if necessary
Click to expand...
Click to collapse
Im currently waiting for the device, when it will be in my hands, i will do it. Im planning to use miui.pro with your kernel.
---------- Post added at 02:36 PM ---------- Previous post was at 02:32 PM ----------
And i tried to read about different types of compiling, still i cant understand what to download) ubertc, linaro?) Is there any difference for thr enduser?
Jonas Cardoso said:
Do you have the necessary changes for this? I do not know this feature
Click to expand...
Click to collapse
Here you go: https://null-byte.wonderhowto.com/h...android-device-with-wireless-adapter-0162943/
UnknowenDev said:
Here you go: https://null-byte.wonderhowto.com/h...android-device-with-wireless-adapter-0162943/
Click to expand...
Click to collapse
build with this feature
Knz7777 said:
Im currently waiting for the device, when it will be in my hands, i will do it. Im planning to use miui.pro with your kernel.
---------- Post added at 02:36 PM ---------- Previous post was at 02:32 PM ----------
And i tried to read about different types of compiling, still i cant understand what to download) ubertc, linaro?) Is there any difference for thr enduser?
Click to expand...
Click to collapse
miui pro dont work with my kernel
Jonas Cardoso said:
build with this feature
Click to expand...
Click to collapse
Thank you very much, I'm usually to lazy to rebuild a kernel by myself and since I love your kernel I asked you.
Thank you! ?
UnknowenDev said:
Thank you very much, I'm usually to lazy to rebuild a kernel by myself and since I love your kernel I asked you.
Thank you!
Click to expand...
Click to collapse
I await feedback if the feature worked
Jonas Cardoso said:
miui pro dont work with my kernel
Click to expand...
Click to collapse
Will you fix it?
[KERNEL][OC/UC/UV] ꓘⓄ - 4.7.1 [DragonTC 8.0 + Linaro 7.3][.147 + 6.2.r1-10500][EOL]
ꓘⓄ KernelEOL NO MORE UPDATES (exams) FLASH ANY OTHER KERNEL
Telegram DISCUSSION & TESTING GROUP
General Improvements:
Built with DragonTC 8.0 and Linaro 7.3 gcc
Always up to date with Linux stable and latest CAF tag
CPU & GPU Improvements:
Overclocked Big cluster to 2.3Ghz and Little to 1.9Ghz
Underclocked Big and little to 300mhz
Undervolted and voltages adjusted
Several CPU Governors available - Chill, Alucard, Nightmare, Ironactive, Cultivation, Impulse, ZZMoove big.LITTLE Edition, Blu active, Tripndroid, Cafactive
Adreno Idler and Adrenoboost available
Network improvements:
Implemented Wireguard VPN support usable with Azire VPN
Enhanced TCP methods - cubic, westwood, vegas, scalable, CHINA, Agile-SD, many more
I/O improvements:
Several I/O control tweaks
Added schedulers - Maple, Zen, Vr, Tripndroid, Sioplus, SIO, FIOPS, Fifo
Adaptive LMK
Added UKSM
Dynamic FileSync toggle
Disabled I/O CRC check for more performance
Screen Improvements:
sRGB and KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
Backlight dimmer for lower minimum brightness
Battery improvements:
USB Fast Charge
Boeffla Wakelock blocker available
Miscellaneous improvements:
Vibrator Strength tunable
Added Nav Bar gesture
Much more, refer git
DOWNLOADS
XDA:DevDB Information
ꓘⓄ Kernel, Kernel for the Asus ZenFone Max Pro M1
Contributors
Sudeep Duhoon
Source Code: https://github.com/SudeepDuhoon/KO.git
Kernel Special Features: Always up to date with linux stable and caf sources, feature rich and stable
Version Information
Status: Stable
Created 2018-07-18
Last Updated 2018-08-16
ChangeLogs :-
v4.7
nu time to update changelogs sry
flash and feel the difference
v4.0
Check github
v2.5
Merged .141 & .142
Merged LA.UM.6.2.r2-04700
Permissive denials logging disabled
Enable core control
Adrenoboost:conservative governor
Allow 320K AAC encoding
Powersuspend PM kernel driver
Gentle fair sleepers disabled by default
State notifier updates and switch removed
TCP congestion algorithm: CHINA & Agile-SD
Governor: Cafactive
Slow charging fix? (test)
Lot more under the hood changes and improvements
v2-
1. Merged .141
2. CPU governors added:-
Chill
Interactive (additions)
Add Support to Display State
Add powersave bias tunable
Add screen off max frequency tunable
3. Fixed min frequency of Little cluster stuck at 1536
4. CRC Check toggle
5. Added KSM, UKSM
6. Added Nav Bar gesture
7. Added Simple GPU Algorithm.
8. Added CAKE packet scheduler
9. Disabled adreno idler by default
10. LZ4 compressor updates
11. O3 Optimizations
12. Turned off Core Control Hotplug and Performance Hotplug (testing)
13. Updated anykernel2
v1-
1. Merged .140
2. Latest CAF Tag
3. CPU governors:-
alucard, nightmare, ironactive, cultivation, impulse, ZZMoove big.LITTLE Edition, blu active, tripndroid.
4. I/O Scheduler:-
Maple, zen, vr, tripndroid, sioplus, SIO, FIOPS, fifo.
5. TCP congestion algorithms:-
cubic, westwood, vegas, scalable.
6. CRC Check disabled (toggle from next build)
7. State Notifier (enabled by default)
8. WakeLock Toggles
9. KCAL Control
10. Arch Power
11. Arch Capacity
12. Gentle Fair Sleepers
13. Powersuspend
14. Enable FP Boost (testing needed)
15. Adreno Idler
16. Adreno Boost
17. CPU Wake Boost
18. Wireguard Support
19. Boeffla WakeLock Blocker
20. Fsync on/off support
21. USB fast charge
22. MSM Preserve Memory
23. File System Improvements
24. Better Decompression Performance
this kernel works only custom or both stock and customrom ?
savijaysalem said:
this kernel works only custom or both stock and customrom ?
Click to expand...
Click to collapse
both
Sudeep Duhoon said:
both
Click to expand...
Click to collapse
does/would usb otg work after flashing this? see my post here. thanks for any help.
This kernel has increased my mobile's memory management score on DOT OS
Steps to flash !!
anandushari said:
Steps to flash !!
Click to expand...
Click to collapse
Download kernel zip ,flash in recovery , wipe cache/dalvik(not compulsory) , reboot
james11705 said:
Download kernel zip ,flash in recovery , wipe cache/dalvik(not compulsory) , reboot
Click to expand...
Click to collapse
do root is required or not
anandushari said:
do root is required or not
Click to expand...
Click to collapse
No , but u need to unlock ur bootloader and flash a custom recovery like twrp or red Wolf , before flashing this zip.
I do not understand half of the things listed in the improvements. However, something caught my attention: USB Fast Charge. Does this means the phone will support fast charging once this kernel is flashed?
After installing. My phone is asking to format sd card and shows currpted. Rebooted and clear dalvik cache same error back to stock kernel. Using stock rom 316
Update 2.5
Merged .141 & .142
Merged LA.UM.6.2.r2-04700
Permissive denials logging disabled
Enable core control
Adrenoboost:conservative governor
Allow 320K AAC encoding
Powersuspend PM kernel driver
Gentle fair sleepers disabled by default
State notifier updates and switch removed
TCP congestion algorithm: CHINA & Agile-SD
Governor: Cafactive
Slow charging fix? (test)
Lot more under the hood changes and improvements
Aftab_khatri said:
After installing. My phone is asking to format sd card and shows currpted. Rebooted and clear dalvik cache same error back to stock kernel. Using stock rom 316
Click to expand...
Click to collapse
send boot time log
don't wipe anything, just reboot
are you using xposed module?
abubin said:
I do not understand half of the things listed in the improvements. However, something caught my attention: USB Fast Charge. Does this means the phone will support fast charging once this kernel is flashed?
Click to expand...
Click to collapse
through USB 3 port, yes
Dumb question.
How should I use boeffla wake lock blocker
Dt2w support?
Sent from my G5 SE using XDA Labs
Sudeep Duhoon said:
send boot time log
don't wipe anything, just reboot
are you using xposed module?
Click to expand...
Click to collapse
How to take log ? And no i don't use xpose its battery hog and makes.device laggy
Is it possible that we get WiFi 5ghz band as the SoC supports it? And also what about Qualcomm quick charge?
How fast does it charge? 3000mA at 4V? Or even more?