[KERNEL][LOS/AOSP] DragonXia Kernel v3.9 [OC] [17 May] - Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev

{
"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"
}
1. IO Scheduler- Zen, Deadline, BFQ, CFQ
2. Governers - BluActive, ElementalX, Darkness, Impulse, CAF_Active+ Stock
4. TCP Algorithms - Westwood, Cubic, Reno, Veno, Scalable.
5. F-Sync - Asynchronus & Dynamic
6. SoundControl
7. UberTC 5.3
8. LCD Notifier Driver
9. LCD Backlight Dimmer
10. Dynamic FSync
11. Swap Support
12. Color Control - KCal v2
13. Input Boost, CPU Boost & Touch Boost
14. OTG - NTFS_RW
15. Adreno Idler
16. Arch Power
17. Power Suspend
18. Toggles : CRC,FairSleepers, ArchPower,
19. WakeLock Control
20. Hotplug - Lazyplug
21. Thermal - intelliThermal
Downloads - AndroidFileHost
A. TWRP Method
1. Download the DragonXiaKernel_v3.x.zip
2. Boot to TWRP Recovery
3. Install -> Select DragonXiaKernel_v3.x.zip
4. Swipe to Install, Reboot.
✽ MI5-Devs, XDA-Devs, Harrynowl, AKT Devs, You All
✽ Dragons Logo Credit : Golden Dragon by Kiril Climson @ Dribbble
kernel_xiaomi_msm8996
Status: Stable
Current Stable Version: 3.4
Stable Release Date: 2016-11-01
Created 2016-10-16
Last Updated 2017-05-17
If you like my work, please feel free to donate.
​

Watch Video Reviews on Youtube by @musabcel (Thanks Mate)

ChangeLogs : Stable Builds
Code:
Changelog : 18 March
1. AKT Support for Stable builds (For OC build flash SD821 profiles)
2. Lineage Upstreams
3. Solved Hotplugs *****ery : Added Lazyplug
4. Adreno Boost : Enabled by default
5. New governors : Chill & Relaxed
6. Tweaked ZenTune
7. All varients got 2.15 Ghz CPU on Stable builds
Changelog : 20 February
1. Overclocked 32/64/128/ CPU @ 2.34/2.0 Ghz & GPU @652Mhz
2. Added back Hotplugs - MP-Decision & Zen-Decision
3. Fixed CRC-Toggle
4. Added Power Suspend Driver
5. Force Enable QC 3.0
6. FIOPS IO-Scheduler added back
7. Kernel Upstream
Changelog : 16 February
1. Kernel Upstream
2. Optimized TouchBosst, Kcal
3. Added new Governors
4. Overclocked Lite Varient CPU upto 2.34Ghz/2.0 Ghz
5. Kernel Upstream
Changelog : 26 January
1. OC builds are back
2. Kernel Upstreams
3. Removed Hotplugs - Temp
4. Massive Code Cleanup
Changelog : 07 January
1. Added Hotplug - intelliPlug
2. Added Thermal - intelliThermal Driver
3. USB Fast Charge @ 900mA
4. Tweaked QC2 & QC3 charge voltages
5. Added Darkness Gov
6. Added Energy Model Tweak - PowerSaving Profile
7. Support for OTG-NTFS_RW, Keyboard, Mouse.
8. Added Interface for GentleFairSleepers & ArchPower
8. Kernel Upstream + more
Changelog : 03 January
[U]Stable_Version[/U]
1. Kernel Upstreams
2. OTG-NTFS_RW Support
3. Stable GPU @ 652Mhz
[U]OC_Version[/U]
1. As above +
2. 32 GB Varient CPU @ 2.0Ghz/1.6Ghz with tweaked voltages
3. 64/128 GB Varient CPU @ 2.3Ghz/1.7Ghz with tweaked voltages
Changelog : 28 December
1. Kernel Upstream
2. Graphite & O3 Optimization
3. Security Patches
4. Improved Stability & Performance
5. F2FS Support
6. Massive Kernel Code Cleanup, removed Junk Add-ons
7. Overclocked GPU @ 652Mhz (All Varients)
8. Overclocked CPU @ 2.0/1.6 Ghz (Only 32GB Varient)
9. WakeLock Control
Changelog : 09 December [HOTFIX]
1. Kernel Upstream
2. Full F2FS Support
3. Tweaked Thermals
4. Changed CPU & GPU Frequencies to avoid Reboots, Lags & ScreenFreeze
5. GPU Input Boost
6. Performance & Stability Boost
Changelog : [06-December]
1. Overclocked 64/128GB Varient @2.3Ghz/1.7Ghz
2. Added FileSystems - NTFS, NFS
3. Quick WakeUp Driver
4. OTG-Ethernet
Changelog : [06-December]
1. Added Adreno Idler
2. Added More Governors - ALUCard, ZZMoove, HyperX, Intelliactive, Darkness + A Lot More
3. Fixed Touch Boost
4. Linux UpStream to 3.18.44
5. Fixed GPU Lag, now clocked @ 652Mhz
6. Arch Power & Capacity Enabled
Changelog : [05-December]
1. Added blu-active Governor
2. Upstream to Linux 3.18.43
Changelog : [03-December]
1. OverClocked CPU - 2.0Ghz/1.6Ghz (Only 32 GB Varient)
2. Overclocked GPU - 650 Mhz (All Varients)
3. Merged Latest Upstreams
Changelog : [02-December]
1. Backlight Dimmer
2. LCD Notifier
3. FSync - Async & Dynamic
4. Color Control
5. Added IO Schedulers
+ more optimizations
Changelog : [01-December]
1. Added More Governors
2. Compiled By UberTC 7.0
3. Kexec Hardboot Patched
4. Added Advance TCP Algorithms
+more optimizations

**** yea!
Thanks man,
I think I can speak for the whole Mi5 community:
We appreciate it very much.
You are the first!?

Ethested said:
**** yea!
Thanks man,
I think I can speak for the whole Mi5 community:
We appreciate it very much.
You are the first!��
Click to expand...
Click to collapse
You'r Welcome

finally! after so many issues there's some advance on mi5 kernel's, thanks friend! we all thank you, gonna try it in a few days.

Changelog : Alpha 1.1
1. Fixed Invert Switch
2. TCP Algorithms ++
3. IO Schedulers ++
4. KCal Improvised
Click to expand...
Click to collapse

Hi bro @WhyOrean
Does this kernel also have the Performance bug below 5% battery?
Edit: Thanks for JIO VoLTE.
Does the cm13 build in 2nd post also have the other two bugs?
I means ambient display and headphones no sound bug!

ravinder0003 said:
Hi bro @WhyOrean
Does this kernel also have the Performance bug below 5% battery?
Edit: Thanks for JIO VoLTE.
Does the cm13 build in 2nd post also have the other two bugs?
I means ambient display and headphones no sound bug!
Click to expand...
Click to collapse
Yeah I too have the same question, are the bugs present?

sai milind said:
Yeah I too have the same question, are the bugs present?
Click to expand...
Click to collapse
1. I dont use my phone when its below 15 % battery, if you use then probably I will add CHILL Governer in next build, hope it solves.
2. Headphone no luck till now, Im working on it though.
3. Ambient Display, waiting for CM guys and Martin to fix it.

sai milind said:
Yeah I too have the same question, are the bugs present?
Click to expand...
Click to collapse
Bugs still there:
Performance bug below 5% battery
Ambient display
Headphones no sound
Thanks the dev for JIO VoLTE and the kernel...
VoLTE is really a very good news...

atleast headphone sound fix can make the kernel and all rom awesome......

Since SlimRom uses caf commits this kernel will be compatible?

any news about overclocking for 32 gigs variant?thanks for the kernel though.

Kulwinder Singh said:
any news about overclocking for 32 gigs variant?thanks for the kernel though.
Click to expand...
Click to collapse
I'm sure it can be worked on..
https://github.com/CyanogenMod/andr...arch/arm/boot/dts/qcom/msm8996-regulator.dtsi
32GB and 64/128GB variant are different speed bins on the soc (a bit like old PVS on msm8974), one bin is stopping at 1.8/1.35/510 and the other goes to full 2.15/1.6/624

Harrynowl said:
I'm sure it can be worked on..
https://github.com/CyanogenMod/andr...arch/arm/boot/dts/qcom/msm8996-regulator.dtsi
32GB and 64/128GB variant are different speed bins on the soc (a bit like old PVS on msm8974), one bin is stopping at 1.8/1.35/510 and the other goes to full 2.15/1.6/624
Click to expand...
Click to collapse
you mean there is no hardware limitation?

Kulwinder Singh said:
you mean there is no hardware limitation?
Click to expand...
Click to collapse
Well, you cannot change bin id. But you can change the tables for that bin (usually). I'm not experienced dev though.
example (LITTLE cluster)
qcom,corner-frequencies =
/* Speed bin 0 */
<307200000 384000000 460800000
537600000 595200000 672000000
748800000 825600000 902400000
979200000 1056000000 1132800000
1190400000 1228800000 1305600000
1382400000 1459200000 1536000000
1593600000>,
/* Speed bin 1 */
<307200000 384000000 460800000
537600000 595200000 672000000
748800000 825600000 902400000
979200000 1056000000 1132800000
1190400000 1228800000 1305600000>;

Harrynowl said:
Well, you cannot change bin id. But you can change the tables for that bin (usually). I'm not experienced dev though.
example (LITTLE cluster)
qcom,corner-frequencies =
/* Speed bin 0 */
<307200000 384000000 460800000
537600000 595200000 672000000
748800000 825600000 902400000
979200000 1056000000 1132800000
1190400000 1228800000 1305600000
1382400000 1459200000 1536000000
1593600000>,
/* Speed bin 1 */
<307200000 384000000 460800000
537600000 595200000 672000000
748800000 825600000 902400000
979200000 1056000000 1132800000
1190400000 1228800000 1305600000>;
Click to expand...
Click to collapse
I guess current clock speed for MI5 is quite good, but if you want it for counting then probably there is a go..

Having ElementalX governer is the same as installing It's kernel from the official site?
http://elementalx.org
I found a vídeo of a guy with a OP3 tweaking a few things with this kernel and kernel audiutor and I would like to try it. https://youtu.be/ZSa-9aWmTFk
Is it possible? Thanks!
Enviado desde mi MI 5 mediante Tapatalk

contradriver said:
Having ElementalX governer is the same as installing It's kernel from the official site?
http://elementalx.org
I found a vídeo of a guy with a OP3 tweaking a few things with this kernel and kernel audiutor and I would like to try it. https://youtu.be/ZSa-9aWmTFk
Is it possible? Thanks!
Enviado desde mi MI 5 mediante Tapatalk
Click to expand...
Click to collapse
elementalx will have a few extras over a stock cm source with elementalx governer
I built a kernel using elementalx gov from oneplus 3 commits but it didn't work properly, the clusters would try sync clock speed (to 1.6ghz on all 4 core) rather than full speed. so it may need a little work fully, or maybe dev fixed it up. need source to know :good:

Related

KERNEL | Nougat CM / AOSP | 7th Jan | HalogenKernel R31 | UBER | 3.4.42

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

[DISCONTINUED][KERNEL OREO][MM/Nougat] Evolution Kernel [Titan][2018/06/03]

Hi guys, I have proposed to make a kernel for the falcon and here they have it <3 ​
{
"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"
}
Screenshot:
Click to expand...
Click to collapse
​
Old builds history:
http://pastebin.com/RqyTpYna
New Build Evolution Kernel-R10 , For Nougat and Marshmallow Roms
- Linux code updated to lastest LineageOS source: 3.4.113 :good:
- Based on a new clean source for greater stability
- Compiled with latest simple GCC 4.8 (great for this) :good:
- Some optimizations for kernel compression (lzma)
- Many optimization for memory usage and reduce Lag
- Added Customs TCP
- New AsCaRex custom TCP by TeamMex Added (nice)
- Lzma compression (very nice)
- No more useless mods
- Added and improved SIO, SIOPLUS, VR, ZEN v2 I/O schedulers and default BFQ, etc...
- Row I/O scheduler is recommended by me :good:
- Added toggles for wakelocks
- MSM Hotplug stable rules (Nice deep sleep Now)
- Powersuspend updated (Use in Hybrid mode)
- Kcal v2 support
-Dt2w added but does not work for the moment (disable)
- Selinux enabled in permissive mode by default
- WQ Power Efficient tweaks
- State notifier driver added
- Lcd notify driver Removed (NO MORE START SCREEN FREEZE)
- New Governors added: zzmoove, Xperience by @TeamMex , Bioshock, Lionheart and ElementalX (testing)
- Interactive and Ondemand governor updated for better efficiency
- Added Sound Control v3.6
- Fast Charge enable by default
- Fix memory leaks for better perfomance
- Many more optimizations for performance and battery saving (check source)
- New TCP congestion driver called AsCaRex by @TeamMex Added
AsCaRex employs end-to-end bandwidth measurements to set cwnd and ssthresh after packet loss. The probing phase is as the original Reno, have a modified control mechanism for use with large congestion windows. A table indicates how much to increase the congestion window when an ACK is received.
Click to expand...
Click to collapse
[/SIZE]
Important: Use the kernel adiutor application to tune this kernel
How to install:
-Paste the zip on internal memory
-Install zip with twrp recovery
-If you use SUPERSU or Magisk, after installing my kernel install again
-Reboot and Enjoy :good:
If you like my work, contribute for more updates please:
Download:
https://www.androidfilehost.com/?fid=889764386195904758
**No mirrors please**
Suggestions for balance perfomance/battery
-Use interactive gov with hispeedfreq on 787mhz and min freq 300mhz....
-For more conservative use Bioshock or Xperience governor and min freq 300mhz
-For most battery life use zzmoove gov and select profile #2 (Some lags)
-Cpu hotplug as default msm_hotplug
-Sheduler ROW
-In misc features select suspension mode on hybrid (default) and TCP select AsCaRex or westwood
Consider please
Hi friends, I appreciate your support testing my work, If you like my kernel, contribute please, actually I'm studying at the university, I do this in my free time, I would appreciate a little help if it is at your disposal, thank you very much!
Evolution Turbo Kernel Oreo Updated
-Kernel build with QUVNTNN 6.4 2018.01 Custom ToolChain
-Improved Cortex-A7 configs
-Improved XZ kernel compression
-def_config regenerate
-Updated cpufreq and gpu drivers configs for better performance
-MSM_HOTPLUG
-Spinlocks changes
-Significant lag in oreo reduced
-Simple Adreno GPU algorithm added
-New governors distribution: Default govs, XPerience, SmartMax and BioShock govs
-All TCP cong is activated (AsCaRex default)
-Many more changes for you..
Source: https://github.com/willizambrano/android_kernel_motorola_msm8226
Download: https://androidfilehost.com/?fid=746163614322268638
How to install:
-Paste the zip on internal memory
Backup of you stock boot.img
-Install zip with twrp recovery
-Reboot and Enjoy :good:
Thanks to:
-CodeAurora
-CyanogenMod team
[email protected] for Sound Control
[email protected]
[email protected] for Kcal Screen Control
[email protected] for cherry-picks
[email protected] for cherry-picks
[email protected] Arriaga
- @TeamMex
Click to expand...
Click to collapse
XDA DevDB Information
Evolution_Kernel, Kernel for the Moto G
Contributors:
@willizambrano01
Click to expand...
Click to collapse
Sources:
https://github.com/willizambrano/android_kernel_motorola_msm8226
Click to expand...
Click to collapse
XDA:DevDB Information
Evolution Kernel unified for Oreo-MM/Nougat roms, Kernel for the Moto G 2014
Contributors
willizambrano01, willizambrano01
Source Code: https://github.com/willizambrano/android_kernel_motorola_msm8226
Kernel Special Features:
Version Information
Status: Beta
Stable Release Date: 2018-06-03
Current Beta Version: TURBO
Created 2016-12-07
Last Updated 2018-10-23​
Downloaded and testing. Thank you
Good work,but its just for CM ROMs? :/
DeluxeMark said:
Good work,but its just for CM ROMs? :/
Click to expand...
Click to collapse
7.1 roms baseds on cm14.1 or aosp 7.1
willizambrano01 said:
7.1 roms baseds on cm14.1 or aosp 7.1
Click to expand...
Click to collapse
Nice! So i'll test it
Edit: When i've flashed the kernel,my superSU is gone,its normal?
And when i reflash the superSU,my sim doesnt work :/
Keep up the good work! smooth butter with RR Rom!
DeluxeMark said:
Nice! So i'll test it
Edit: When i've flashed the kernel,my superSU is gone,its normal?
And when i reflash the superSU,my sim doesnt work :/
Click to expand...
Click to collapse
It have in build root permission.. Goto developer options and activate root access for apps&adb..
.
No need to flash supersu
captian_jb said:
It have in build root permission.. Goto developer options and activate root access for apps&adb..
.
No need to flash supersu
Click to expand...
Click to collapse
Actually im using tesla N rom and it isnt pre rooted
Is this for titan?
do you have any plans on supporting GPU/CPU underclock overclock and undervolt?
DeluxeMark said:
Actually im using tesla N rom and it isnt pre rooted
Click to expand...
Click to collapse
Goto developer options find root access menu.. See the attachment...
Its not there u need SuperSU..
Otherwise activate root access for apps&adb
anybody using RR 7.1.1 ? have laggy issues?
captian_jb said:
Goto developer options find root access menu.. See the attachment...
Its not there u need SuperSU..
Otherwise activate root access for apps&adb
Click to expand...
Click to collapse
This rom isnt prerooted man
Can some1 review the battery and OS performance after using this kernel ?
New build For CM13
-Evolution CM13 - R1 - New Happy Christmas Edition
-Linux 3.4.51
-Linaro 4.9 CortexA7 optimization
-Many optimization for memory usage and reduce Lag
-Added TCP modes like westwood
-Optimized when compiling: pipeFlags, -O3, Gzip
-Added fast charge v2
- Optimized BFQ planner
-Added toggles for wakelocks (activate them with kernel adiutor)
-Advanced Intellidemand and Intelliactive Governors
-Hotplug AutoSMP added
-Powersuspend added and optimized
-Fsync enabled by default
-DT2W/S2W features
-Added Kcal v2 support
-Many more optimizations for performance and battery saving
Click to expand...
Click to collapse
Download:
https://www.androidfilehost.com/?fid=673368273298918120
**No mirrors please**
Click to expand...
Click to collapse
***Very soon update for nougat***
Waiting update for nougat !
-Evolution_N-R3 is ready (need test it, My device is a falcon and works perfectly)
-Linux 3.4.100
-Linaro 4.9 CortexA7 optimization
-Many optimization for memory usage and reduce Lag
-Added TCP modes like westwood
-Optimized when compiling: pipeFlags, -O3, Lzma compression (very nice)
-Added fast charge v2 deleted (not work correctly)
- More BFQ optimizatios
-Added toggles for wakelocks
-Hotplug MSM (Very nice)
-Powersuspend v1.5 added and optimized
-Fsync enabled by default
-SoundControl 3.5 added
-Added Kcal v2 support
-DT2W/S2W features woohooo
-Selinux enabled in permissive mode
-Many more optimizations for performance and battery saving (check source)[/QUOTE]
Download:
https://www.androidfilehost.com/?fid=529152257862690587
?? downloading !! ??
Wonderful kernel. Zero lag anywhere even on snapchat. My titan feels like a 6p lol. Thanks
EXO_K said:
Wonderful kernel. Zero lag anywhere even on snapchat. My titan feels like a 6p lol. Thanks
Click to expand...
Click to collapse
Thanks for you feedback bro, enjoy??

[KERNEL][OPO][CM13/14.1]CrazySuperKernel v4.0[02-01-17]

{
"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"
}
FOR DEVS AND USERS BEFORE FIGHT ME CLICK HERE!: https://forum.xda-developers.com/showpost.php?p=70362424&postcount=3
Code:
DISCLAIMER!!
I am not responsible in any way for anything that can be happen to your device when you flashing my kernels.You do so at your own risk!
Features
Anykernel:
- Anykernel2 zip for maximum compatibility with all ROMs, CrazySuperKernel uses your existing ramdisk (Do NOT flash this over other custom kernels!You should only flash CrazySuperKernel over the kernel that came with your ROM!!)
Kernel tweaker app:
- CrazySuperKernel Adiutor (need download it from downloads)
Toolchain:
DF 4.9 Toolchain [latest update]
CPU:
- governors:
crazyactive(my governor:balance governor for great battery life and performance based on interactive)
interactive
impulse
ondemand
smartmax
zzmoove
ondemandplus
pegasusq
nightmare
conservative
lionheart
powersave
userspace
yankactive
smartmax_eps
intellidemand
intelliactive
- MSM Limiter
- input boost
- state notifier
IO schedulers:
bfq
tripndroid
cfq
noop
deadline
fiops
row
sio
zen
vr
fifo
TCP congestion controls:
cubic
bic
westwood
htcp
highspeed
hybla
reno
bic
hybla
vegas
lp
yeah
illinois
scalable
- tcp congestion changed to Westwood
GPU:
- governors:
msm-adreno-tz
simple_ondemand
powersave,performance
userspace
cpubw_hwmon
msm_cpufreq
- Adreno idler
- simple gpu algorithm
Thermal control:
- Intelli thermal v2
Hotplug:
- Disabled MP Decision hotplug
- Enabled Bricked Hotplug
- Prevent wakelock when ambiend display disabled(misc control tab)
Sound:
- Faux sound updated and fixed
- Slimbus overclock
More:
- Kernel runs with SELinux permissive by default
- init.d support
- insecure kernel (adb has root privileges)
- fast charge
- pvs level info
- Kcal v2
- Frandom support
- Disabled Arch Power
- CRC Check Disabled
- Gentle Fair Sleepers (Disabled by default)
- Enabled All Suspend and Idle Modes
- Power Suspend Mode/State
- Dynamic filesystem read-ahead
- A lot improvments
- A lot fixes
Download Link CrazySuperKernel [AnyKernel]:https://www.androidfilehost.com/?w=files&flid=138590
Download Link CrazySuperKernelAdiutor[Updated]:https://www.androidfilehost.com/?w=files&flid=139961
Installation guide
Do NOT flash this over other custom kernels!
You should only flash CrazySuperKernel over the kernel that came with your ROM!!
- Download Kernel from this thread
- Flash it with Recovery
[Wipe cache and Dalvik cache recommended]
- Then Reboot
Enjoy the CrazySuperKernel !!!!
Credits
thx Showp1984
thx Faux123
thx Savoca
thx RenderBroken
thx Neobuddy
thx Myfluxi
thx FranciscoFranco
thx SultanXDA
thx osm0sis
thx ShinyShide
thx bhb27
thx Lord Boeffla
thx yank555
thx apb_axel
thx the devs where made the cm14 bootable and working
thx CrazyGamerGR yeh me
Donators
red5pade
XDA:DevDB Information
CrazySuperKernel, Kernel for the OnePlus One
Contributors
CrazyGamerGR
Source Code: https://github.com/CrazyGamerGR/CrazySuperKernel-CM14.1-OPO
Kernel Special Features: check the feature list
Version Information
Status: Stable
Created 2016-12-25
Last Updated 2016-12-25
FAQ
Recommended app : CrazySuperKernel Adiutor
changelogs
v1.0/24-12-16
- initial release
v2.0/27-12-16
- CrazySuperKernel Adiutor (included)
- Deleted Synapse
- added stable faux sound
- some anykernel fixes
v3.0/31-12-16
- added fast charge
- deleted included CSKAdiutor (need download it)
- many fixes
v4.0/02-01-17
- updated fast charge
- pvs level info
- some fixes
If u use zzmove governor disable all the hotplugs coz it use its own hotplug as anyone knows.
[Q]How i select profile from kernel tweaker app?
[A]You need to go in governor tunable-profile number and select the number of the profile from the list.
Zzmove profiles
1 ) Default -> will set governor defaults
2 )ybat -> Yank Battery -> a very good battery/performance balanced setting - DEV-NOTE: highly recommended!
3 )ybatext-> Yank Battery Extreme -> like yank battery but focus on battery saving
4 )zzbat-> ZaneZam Battery -> a more 'harsh' setting strictly focused on battery saving - DEV-NOTE: might give some lags!
5 )zzbatp -> ZaneZam Battery Plus -> NEW! reworked faster battery setting - DEV-NOTE: recommended too!
6 )zzopt -> ZaneZam Optimized -> balanced setting with no focus in any direction - DEV-NOTE: relict from back in the days, even though some people still like it!
7 )zzmod -> ZaneZam Moderate -> NEW! setting based on 'zzopt' which has mainly (but not strictly only!) 2 cores online
8 )zzperf -> ZaneZam Performance -> all you can get from zzmoove in terms of performance but still has the fast - down scaling/hotplugging behaving
9 )zzinz-> ZaneZam InZane -> NEW! based on performance with new insane scaling active. a new experience!
10 )zzgame-> ZaneZam Gaming -> NEW! based on performance with scaling block enabled to avoid cpu overheating during gameplay
reserve1
reserve2
More and more kernels
Thanks!
Support fast charge?
assassin0408 said:
Support fast charge?
Click to expand...
Click to collapse
I will add soon usb fast charge and maybe charge control.
Thanks and great job!
Bobbi lim said:
Thanks and great job!
Click to expand...
Click to collapse
Thx m8,new features coming soon.
Merry Christmas!!!!!
assassin0408 said:
Support fast charge?
Click to expand...
Click to collapse
U from galaxy s advance mate
pankspoo said:
U from galaxy s advance mate
Click to expand...
Click to collapse
Yes thats true.. S advance. How do you know me?
Hello, Merry Christmas, I installed this kernel but do not work 2 things:
1- installed the kernel, but when I open Synapse tells me: NO UCI DETECT
2-UKM installed 3.8.1, but the audio portion can not be configured, even if imposed different or custom profiles, the values remain the same, and the sound remains very low.
I apologize for my English, but I'm using a translator !!!
NeGriTa79 said:
Hello, Merry Christmas, I installed this kernel but do not work 2 things:
1- installed the kernel, but when I open Synapse tells me: NO UCI DETECT
2-UKM installed 3.8.1, but the audio portion can not be configured, even if imposed different or custom profiles, the values remain the same, and the sound remains very low.
I apologize for my English, but I'm using a translator !!!
Click to expand...
Click to collapse
The synapse after a reboot should work its created for this device with many new features,its not same with the old synapse.But after many problems from the synapse i will not continue it,the new builds will be include other kernel tweaker app.
CrazyGamerGR said:
The synapse after a reboot should work its created for this device with many new features,its not same with the old synapse.But after many problems from the synapse i will not continue it,the new builds will be include other kernel tweaker app.
Click to expand...
Click to collapse
I downloaded from Synapse PlayStore ... several times ... but it does not go ... to make it work I had to install UKM 3.8.1 ... Where can I find UKM updated for your kernel?
NeGriTa79 said:
I downloaded from Synapse PlayStore ... several times ... but it does not go ... to make it work I had to install UKM 3.8.1 ... Where can I find UKM updated for your kernel?
Click to expand...
Click to collapse
It is included,you just instal synapse app from playstore and it work,you use RR?
CrazyGamerGR said:
It is included,you just instal synapse app from playstore and it work,you use RR?
Click to expand...
Click to collapse
If I do not install UKM not start me Synapse. I mount the NuclearRom 7.1.1 Version 1.2.0 BETA
The audio is very low and you can not configure it nessn so ... I tried to install Faux Sound Control ... But it does not change anything!
NeGriTa79 said:
If I do not install UKM not start me Synapse. I mount the NuclearRom 7.1.1 Version 1.2.0 BETA
The audio is very low and you can not configure it nessn so ... I tried to install Faux Sound Control ... But it does not change anything!
Click to expand...
Click to collapse
Its modded faux sound,tomorrow i ll have my new kernel tweaker app ready to fix all these problems from the Synapse.
CrazyGamerGR said:
Its modded faux sound,tomorrow i ll have my new kernel tweaker app ready to fix all these problems from the Synapse.
Click to expand...
Click to collapse
Very Thanks
Inviato dal mio A0001 utilizzando Tapatalk

[ARM64] [8.1.0] Frostbitten Kernel R19 for Moto G4/G4 Plus [athene]

{
"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"
}
Frostbitten Kernel for Moto G4/G4 Plus
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.
Note:
This kernel is for only Oreo custom ROMs.
Builds starting with R12 are for 64 bit ROMs only. Don't flash them to 32 bit ROMs.
Don't flash & report bugs on Nougat
I won't answer non proper bug reports which doesn't include logs or much information.
This kernel won't include useless features.
Features:
- Latest Linux 3.10.108 Kernel
- Google GCC 4.9 Toolchain
- CPU underclock and overclock support
- GPU overclock up to 600 mhz
- I/O schedulers: noop,deadline, row, cfq, bfq, maple (cfq as default)
- TCP algorithms: westwood, reno, bic, cubic, highspeed, hybla, htcb, vegas, veno, scalable, lp, yeah, illanois (westwood as default)
- Sound control
- KCAL Color control
- Ability to block/allow wakelocks. They are blocked by default.
- Several subsystems converted to use power efficient workqueues
- WireGuard support
- CPU Boost
- Vibration control
- lz4 as default ZRAM compressor
- ZRAM enabled by default (You can disable it)
- Ability to use fingerprint sensor as home, power and other buttons
- Boosted HBM
- /dev/frandom support
- Systemless root support
- SafetyNet patches (It can still fail through other reasons)
- AnyKernel2 by osm0sis
- Made with love, still learning kernel stuff
How to install?
- Reboot to TWRP [ARM64 builds need 64 bit TWRP]
- Flash .zip
- Reboot
You don't need to flash Magisk/SuperSU after flashing Frostbitten. But in case of losing root, flash Magisk/SuperSU again.
Download:
- Latest release: R19 [Oreo Only] [64 bit only]: frostbitten-kernel-athene-r19-arm64.zip
- Older releases: AFH Folder
XDA:DevDB Information
Frostbitten Kernel, Kernel for the Moto G4 Plus
Contributors
Frostbite, Dreamstar, flar2, The Flash, osm0sis. lCrD512
Source Code: https://github.com/BDFrostbite/android_kernel_motorola_msm8952
Kernel Special Features: Check OP for features
Version Information
Status: Stable
Created 2017-07-30
Last Updated 2018-02-23
r10:
- Oreo release, don't flash over Nougat
- Removed some useless features, check first post
- Updated to 3.10.108
r11:
- Fixed lower&higher frequencies don't show up
r12:
- Added 64 bit support, you need 64 bit TWRP to flash. Don't flash over 32 bit ROMs.
- Includes all features from R11.
- Added GPU overclock up to 600 mhz.
- Added more CPU frequencies.
r13:
- Added maple I/O scheduler, cfq is still default.
r14:
- Added ability to control wakelocks. They are blocked by default.
r15:
- Fixed remapping fingerprint as power and other buttons
- Several subsystems converted to use power efficient workqueues
- Improvements to CPU Boost/Input Boost
r16:
- Added WireGuard support
- Updated AnyKernel2
r17:
- Improved RAM management with memory leak fixes
- Set noop I/O scheduler on boot to decrease booting times a bit, cfq is still default after boot
r18:
- Reverted lastest change about setting noop I/O scheduler while booting. Confuses users because our init script in device tree doesn't set that for external. Got too many reports about it. Small hotfix.
r19:
- Added KSM, enabled by default
My usage profile for Kernel Adiutor with Frostbitten R19
These are not the best settings for performance or battery. I'm sharing to give idea. You can change anything for your usage pattern. I use social media and messaging apps.
You can find all settings in EX Kernel Manager too. I give this for Kernel Adiutor because everyone can use it, free app.
CPU
Big
- CPU Maximum Frequency: 1516 MHz
- CPU Minimum Frequency: 499 MHz
- CPU Governor: interactive
Little
- CPU Maximum Frequency: 1209 MHz
- CPU Minimum Frequency: 518 MHz
- CPU Governor: interactive
CPU Boost: Disabled
GPU
Frequencies
- GPU Maximum Frequency: 600 MHz
- GPU Minimum Frequency: 200 MHz
- GPU Governor: msm-adreno-tz
I/O Scheduler
Internal Storage
- Scheduler: cfq
External Storage
- Scheduler: cfq
Kernel Samepage Merging
- Kernel Samepage Merging: Enabled
- Pages to scan: 250
- Sleep between scans: 50 ms
Low Memory Killer
- Adaptive Low Memory Killer: Disabled
- Foreground Applications: 55MB
- Visible Applications: 73MB
- Secondary Server: 92MB
- Hidden Applications: 110MB
- Content Providers: 129MB
- Empty Applications: 165MB
Virtual Memory
ZRAM
- Disksize: 760 MB
Misc
Network
- TCP Congestion Algorithm: westwood
Wakelock
- All blocked
Thanks for this kernel. But I have a question. In the features list says that it has CPU overclock but in kernel adiutor doesn't show CPU overclock
Enviado desde mi Moto G4 mediante Tapatalk
mschief148 said:
Thanks for this kernel. But I have a question. In the features list says that it has CPU overclock but in kernel adiutor doesn't show CPU overclock
Enviado desde mi Moto G4 mediante Tapatalk
Click to expand...
Click to collapse
I removed it mistakenly. Will be added in r4.
Great Work. Love it <3
R4 released.
How is the battery consumption by using this kernel?
ramansehra said:
How is the battery consumption by using this kernel?
Click to expand...
Click to collapse
You can try it and share your experience.
Frostbite said:
You can try it and share your experience.
Click to expand...
Click to collapse
V5 works perfectly with Resurrection Remix 7/30/17 Unofficial version on AFH. Smoother than stock kernel on that specific rom.
V4 wouldn't boot with Resurrection Remix 7/30/17 Unofficial version on AFH
Does this work with 6.0 los unofficial? Or any other cm\aospcaf based rom mm?
Wow.. r5.. thank you for this great kernel keep up the good work. Keeping it updated along with du
Sent from my Moto G4 using Tapatalk
---------- Post added at 16:47 ---------- Previous post was at 16:46 ----------
fernandoc1sg said:
Does this work with 6.0 los unofficial? Or any other cm\aospcaf based rom mm?
Click to expand...
Click to collapse
This is a nougat kernel but you can try just keep a backup of your old kernel handy
Sent from my Moto G4 using Tapatalk
---------- Post added at 16:48 ---------- Previous post was at 16:47 ----------
You do mean 6.0 as in marshmallow correct
Sent from my Moto G4 using Tapatalk
Please Revert back to touchboost disable option. It saves lot of battery and is working fine for me.
Which tweak use on this kernel most battery life and over heating problem?
ozgurubuntu said:
Which tweak use on this kernel most battery life and over heating problem?
Click to expand...
Click to collapse
You can use any governor mods and tweak kernel with EX Kernel Manager or Kernel Adiutor.
Please do add sweep to sleep(at least to left) because it's more comfortable than double tap the nav bar.
R7 released.
Frostbite said:
R7 released.
Click to expand...
Click to collapse
Working well with CarbonRom 7.1.2 latest :good:
For disabling touchboost I just have to change the value to 0?
Is there an explanation of the lazyplug profiles anywhere?

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

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

Categories

Resources