[ARM64] [8.1.0] Frostbitten Kernel R19 for Moto G4/G4 Plus [athene] - Moto G4 Plus ROMs, Kernels, Recoveries, & Other De

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

Related

[DISCONTINUED] [Kernel] [SM-910F] [SM-N910G] N4 AEL Kernel [SYNAPSE SUPPORT]

PLEASE NOTE: THIS KERNEL IS ONLY FOR THE SM-N910F and SM-N910G VARIANTS OF THE SAMSUNG GALAXY NOTE 4​​
NOTE 2: THE LOLLIPOP RELEASES ARE ONLY FOR THE N910F VARIANT FOR NOW
{
"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"
}
NOTE 3: BEFORE FLASHING THE LOLLIPOP VERSIONS OF AEL KERNEL READ HERE
N4 AEL Kernel FEATURES:
Code:
[B][COLOR="DarkRed"]* Made with SM-N910F_EUR_KK_Opensource_Update1
* Full Synapse control [UpInTheAir is DA MAN!!]
[NOTE: Synapse support is ONLY available in the KK versions of AEL Kernel]
* Built with the incredible Saber Mod 4.10 Toolchain [KK versions]
* Built with Linaro 4.9.3 (2015.02) Cortex A15 Toolchain [LP Versions]
* Updated to Linux Kernel Base 3.10.5 [KK Versions]
* Linux 3.10.40 [LP Versions]
* CPU Overclock up to 2.89 ghz
(4 OC Steps: 2.68, 2.76, 2.84, 2.89)
* CPU Underlock down to 268 mhz
* Hack to allow non original SView Covers to access all the SView Features!! [twistedumbrella]
[Only available in KK Versions]
* Faux Sound Control [Pafcholini, Faux123]
* Hardlimit Control [Yank555.lu and twistedumbrella]
* Voltage Control
* Intelliplug v3.8 (faux123)
* Intellithermal (faux123)
* Additional Governors: Lionheart, Umbrella_Core, Bluactive, Intellimm, Interactive_Pro, Bioshock, OnDemandPlus, DanceDance, SmartMax, Yankactive, Wheatley,
SmartAssv2, Intelliactive, Darkness, Nightmare, ConservativeX, Alucard, Adaptive
* Additional I/O Schedulers: zen, sio, vr, fifo, fiops, bfq
* Powersuspend v1.5 ( Yank555.lu & faux123)
* LED Brightness Control
* Sweep2Sleep Hack
* USB Keyboard/Mouse Hack
(Use your phone as a keyboard and/or mouse)
* Patched for compatibility with DriveDroid app
(Flash .iso images to your pc from your phone!! No more need for usb sticks or dvd's or cd roms)
* Fast Charge v1.2 [Yank555.lu]
* MDNIE (Color) Control [Yank555.lu and twsitedumbrella]
[Only available in KK Versions]
* Trinity Colors
* STEREO CALL RECORDING SUPPORT
* Overclocked Slimbus for a better overall sound experience
* Simple GPU Algorithm
* Dynamic FSync Control
* Fixed Simple_OnDemand GPU Governor crash
* Added Frandom
* Enabled CIFS Support
* Enabled and Optimized ksm (Kernel Samepage Merging)
* Enabled Gentle Fair Sleepers
* ENABLED ADVANCED TCP CONGESTION AND A LOT OF MORE OTHER TCP's
* Permissive, with init.d support[/COLOR][/B]
DOWNLOAD LINKS:
NOTE 4: BEFORE FLASHING THE LOLLIPOP VERSIONS OF AEL KERNEL READ HERE
ECHOE DEVELOPMENT/DOWNLOAD CENTER
CREDITS and THANKS:
*twistedumbrella
*Faux123
*Yank555.lu
*ktoonsez
*UpInTheAir (you are an amazing person!!)
*Pafcholini
*showp1984
*dorinmax
*andreilux
*MY AMAZING TEAM!!
(I trully hope i have not forgotten anyone!!!!)
GITHUB SOURCE
Dont forget:
Flashing this Kernel voids your warranty. And as with any custom kernel it comes with the usual dangers/ side effects such as, but not limited to, explosions, wars, spontaneous combustion, your pet forgetting all his/her tricks, retrograde and anterograde amnesia, interpersonal alienation, a number of psychosomatic, neurological, and metaphysical complaints, and in general an overall disturbance in the "order of things". Having said all that, WE ARE NOT RESPONSIBLE for anything happening to your phone as a result of you flashing this kernel...
​
XDA:DevDB Information
Note 4 AEL Kernel, Kernel for the Samsung Galaxy Note 4
Contributors
friedrich420
Source Code: https://github.com/friedrich420/AEL_NOTE4_N910FXXU1ANK4
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 8.1
Stable Release Date: 2015-03-03
Created 2014-10-30
Last Updated 2015-05-04
FULL SYNAPSE CONTROL IN PICTURES:
Note for Synapse Control:
- Set the Hardlimit Screen on Max the same as the max CPU Frequency you want
(for example if you want to overclock to 2.84, first set the hardlimit max frequency on to 2.84)
Click to expand...
Click to collapse
SUGGESTED BASIC SETTINGS
a. FULL PERFORMANCE (mainly for benchmarks)
- Hardlimit Screen On Max= 2.89
- Cpu Freq Max= 2.89
- Cpu Freq MIn= 268
- Cpu Governor= Performance or Bluactive
- I/O Scheduler: Deadline
- I/O Scheduler Readahead= 1024
- GPU Governor= Performance or cpubw_hwmon
- Enable simple gpu_algorithm
- Laziness=10
- Ramp Up Threshold= 1
- Dynamic FSync= On
- KSM = On
Click to expand...
Click to collapse
b. BALANCED
- Hardlimit Screen On Max= 2.68
- Cpu Freq Max= 2.68
- Cpu Freq MIn= 268
- Cpu Governor= Umbrella_Core or Interactive_Pro or Bluactive
- I/O Scheduler: sio or zen or bfq
- I/O Scheduler Readahead= 1024
- GPU Governor= msm_adreno or simple_ondemand
- Enable simple gpu_algorithm
- Laziness=5
- Ramp Up Threshold= 4000
- Dynamic FSync= On
- KSM = On
(Optional use of intelliplug- you can still reach very good SOT
on these settings with mpdecision)
Click to expand...
Click to collapse
Reserved
Taken
Running v2b at the moment. Absolutely great, thanks for the great work my man :good:
Pater Albrecht said:
Running v2b at the moment. Absolutely great, thanks for the great work my man :good:
Click to expand...
Click to collapse
Thank you so much !!
Thanks a lot. First kernel for N4, amazing. Everything works nice for me. S2S works nice but I'm unable to make S2W working.
Big thanks for your work.
Sent from Tapatalk
Agree to the kernel driver and the configs match the N910F source code. According to my knowledge, the N910T source code is indeed for the N910F version but some things just go.
tr72 said:
Thanks a lot. First kernel for N4, amazing. Everything works nice for me. S2S works nice but I'm unable to make S2W working.
Big thanks for your work.
Sent from Tapatalk
Click to expand...
Click to collapse
i know my friend..
i have been trying to get that S2W to work since note 3
i will eventually figure it out bc im obsessive..
thehacker911 said:
Agree to the kernel driver and the configs match the N910F source code. According to my knowledge, the N910T source code is indeed for the N910F version but some things just go.
Click to expand...
Click to collapse
i think you are absolutely correct!!
btw tmo users have reported using this kernel without issues but thats not a surprise..
OT (bc i forgot to mention it elsewhere) i used the N910F ramdisk..
friedrich420 said:
i think you are absolutely correct!!
btw tmo users have reported using this kernel without issues but thats not a surprise..
OT (bc i forgot to mention it elsewhere) i used the N910F ramdisk..
Click to expand...
Click to collapse
That with the ramdisk is already clear to me that it is the N910F. My concern is mainly about the kernel driver (source / drivers) do not have problems with N910F. Well the N910F Source code coming soon
[30 October 2014] [Kernel] [SM-910F] N4 AEL Kernel
The source is unified across the board when it comes to the Snapdragon version. The only difference is which carrier's build script is in the root folder. You can find all of the configs for every one of them in the tmo source, though.
I don't intend to cover anything outside of North America, so Europe is all you. I'm sending people here as long as that isn't an issue.
This kernel also works perfectly on my Canadian SM-N910W8 in case any Canadian users are wondering
sent from Canada via my Note 4, 3, 2 or One X+
@friedrich420
glad to see u here. any beta for 910g ?
twistedumbrella said:
The source is unified across the board when it comes to the Snapdragon version. The only difference is which carrier's build script is in the root folder. You can find all of the configs for every one of them in the tmo source, though.
I don't intend to cover anything outside of North America, so Europe is all you. I'm sending people here as long as that isn't an issue.
Click to expand...
Click to collapse
I cant thank you enough for your free courses via github!! I have never ever seen a developer make github look like a narrative with a beginning, middle and end!! Its unreal and shows the brains behind!! Im sorry for my messy messy commits my man i need to get better!!
Thank you
Thanks for your kernel!
Are you going to implement faux sound?
Agaranda said:
Thanks for your kernel!
Are you going to implement faux sound?
Click to expand...
Click to collapse
I almost almost had it.. but as soon as you would try to change values with faux sound it would become unresponsive.. so i removed it for now but ill tell you this.. i will get that [email protected]#$&
Sent from my SM-N910F using Tapatalk
First night with your kernel. Charged before sleeping and left it 8 hours. Result : 93% of deep sleep and battery loose 3%.
Really better than stock. Thanks a lot.
Sent from Tapatalk
@friedrich420
Congratulations my friend
Another excellent work
you are a Fantastic person and a awesome Developer
twistedumbrella said:
The source is unified across the board when it comes to the Snapdragon version. The only difference is which carrier's build script is in the root folder. You can find all of the configs for every one of them in the tmo source, though.
I don't intend to cover anything outside of North America, so Europe is all you. I'm sending people here as long as that isn't an issue.
Click to expand...
Click to collapse
These are the configs of the EU version in source code is known to me. Nevertheless, what is presently as the internal kernel drivers are different in N910F source . Whether there are differences between the drivers you can not say at present . Presumably it does nothing but surely I 'm not .
Here is a problem from a German forum:
Seifi1984 said:
Hi folks just have a little problem I have installed the Echeo Rome on the SGN4 and because Ael kernel since the device loses after every reboot ( Normal or Hot Restart) and the flight mode Passphrasse , what can I do . The only thing I do not want to make the stock Rom flash . Does anyone have an IDEA .
Click to expand...
Click to collapse

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.

[29/08][KERNEL]RAZORREBORN� V1.0[SABERMOD][3.10.87][[UNIVERSAL][KCAL]

ENJOY RAZOR SHARP OPTIMIZATIONS
{
"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"
}
SOURCE​
FIRST CUSTOM KERNEL FOR ONEPLUS2​
Code:
#include
/*
* Your warranty is now void. THIS IS ONEPLUS .GUYzzz
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.[/LEFT]
*/
FANPAGE (FACEBOOK ) : https://www.facebook.com/razorreborn
Features :
Added PowerSuspend Driver
Added Module to Control Thermal throttle temperature from userspace (Thanks to @franciscofranco)
Added more Zram Devices
Dynamic Fsync (Thanks to @VarunChitre)
Addded KCAL (Thanks to @savoca)
Vibrator Control (Thanks to @VarunChitre)
Enabled Arch Power
Compiled using sabermod
Graphite optimizations
AnyKernel2 script used so compatible with all roms...
Updated Kernel to 3.10.87
LowmemoryKiller Tweaks..
Compiled with -o2 flag
Added TouchBoost(Thanks to @franciscofranco)
IOSCHEDULERS included
row
deadline
noop
cfq
zen
fiops
bfq
TCP Congestions Available
westwood
bic
htcp
hstcp
hybla
vegas
scalable
lp
veno
yeah
illinois
Governors Available
pegasusq
intelliactive
adaptive
dancedance
despair
nightmare
barry_allen
zzmoove (Thanks @ZaneZam )
wheatley
yankactive (Thanks to @Yank555.lu)
impulse (Thanks to @neobuddy89 )
blu_active
hyper
darkness
smartmax
hellsactive (Thanks @hellsgod)
elementalx (Thanks to @flar2)
alucard (Thanks to @alucard_24)
interactive
conservative
ondemand
userspace
LionHeart
BioShock (Thanks to @Jamison904 )
performance
HOTPLUGS
intelliplug
Alucard (Thanks to @alucard_24)
Bricked Hotplug(Thanks to @showp1984)
Thunderplug (Thanks to @VarunChitre)
ZenDecision(Thanks to @mrg666)
ASMP (Thanks to @mrg666)
MAKO (Thanks to @franciscofranco)
CHANGELOG
*Buildv1.0
Fixed Freezing problem and Random Reboot
Reduce Heating and kernel size
*Initial Release
KERNEL PREFERED APP :- KERNEL AUDITOR
CREDITS
Osm0sis
Varun Chitre
Grarak
franciscofranco
neobuddy89
Savoca
Suhail(Sskyinfo) for wifi fix patch..
RAZORREBORN TESTERS
Patrick(pagaiba)
Alex
Bob Wells
CoreGaming
kitto92
DOWNLOAD LINK
Build V1.0
DOWNLOAD LINK :- Dropbox / Androidfilehost
OlderBuilds
BetaBuild 2.0
DOWNLOAD LINK AUGUST 29TH BetaBuild2 - https://www.androidfilehost.com/?fid=24052804347803326
RECOMMENDED SETTINGS
CPU
big
max: 1632 MHz
min: 384 MHz
governor: adaptive
LITTLE
max: 1555 MHz
min: 384 MHz
governor: intelliactive​
CPU Hotplug
Hotplug: IntelliPlug
Profile: Balanced
Touch Boost: ON
Hysteresis Value: 8
Threshold Value: 500
CPU Maximum Screen Off Frequency: 960 MHz​
I/O Scheduler (that's more like a personal choice, won't make any difference at all)
Scheduler: deadline
Read-ahead: 2048 kB​
Virtual Memory
laptop mode: 1
Z-RAM: 500 MB​
XDA:DevDB Information
[KERNEL]RAZORREBORN� BETA v2.0[SABERMOD][3.10.87][UNIVERSAL][KCAL], Kernel for the OnePlus 2
Contributors
Kiran Anto, Kiran Anto
Source Code: https://github.com/kirananto/ONEPLUS2RAZOR
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: Beta v2.0
Beta Release Date: 2015-08-29
Created 2015-08-29
Last Updated 2015-09-13
Reserved 1
Reserved 2
That's a good developer right there! Got it working in 4 days, isn't that awesome?
The kernel works pretty well, we'll be testing configurations and post the ones we think are the best.
Here you have some screenshots!
Woke up to a great surprise. Will be testing with Zen hotplug!
there is one small bug to be tested.. phone gets freezed randomly..
still not able to get logs...
i dont have a phone with me so im depending on you guys..
new build is now being tested...
Awesome! WIll be testing in some time!
Awesome... Thanks for the kernel... Also reserved for my configs for the kernel.
Thanks again dev.
From my Exodised lettuce with Sandy Kernel
how to revert back to stock kernel ? only the kernel and not losing data ? please suggest
flash stock boot.img
What Happened?
Kiran Anto said:
flash stock boot.img
What Happened?
Click to expand...
Click to collapse
Nothing just in case its required. can i know where this stock boot.img can be found? i dont have a stock rom, can you just guide me to a link ?
F*** yeah mannn! Testing in progresssss
---------- Post added at 02:19 PM ---------- Previous post was at 02:16 PM ----------
matrix.bharath said:
Nothing just in case its required. can i know where this stock boot.img can be found? i dont have a stock rom, can you just guide me to a link ?
Click to expand...
Click to collapse
reflash oxygen
New Build is Ready.. Not Beta.. Release Candidate.. .
Highlights.. Reduced Image Size by 30% and so is performance and other features enhanced....
Ill test it for a day and if found good.. will release it.. ...
Using this kernel I have a lower core temperature (30° normally, using max 40°) and the battery in standby was amazing.
I changed this settings:
Big: min 384, max 1536, governor alucard;
LITTLE: min 384, max 1248, governor alucard;
Alucard Hotplug: minimum CPU online 2, max 8, max screen off 3.
Kiran Anto said:
New Build is Ready.. Not Beta.. Release Candidate.. .
Highlights.. Reduced Image Size by 30% and so is performance and other features enhanced....
Ill test it for a day and if found good.. will release it.. ...
Click to expand...
Click to collapse
can anyone else help test it for you
---------- Post added at 02:49 PM ---------- Previous post was at 02:43 PM ----------
these hotplugs are optimized for big.LITTLE are they?
I played around with the settings and ran various test to look for the best config for this kernel. But hey, look at that standy at the end! Literally 0% drain.
Kernel Updated Check OP
pagaiba said:
I played around with the settings and ran various test to look for the best config for this kernel. But hey, look at that standy at the end! Literally 0% drain.
Click to expand...
Click to collapse
i havent had any luck, i looked at the source and its from a device with only 4 cores. none of the hotplugs are designed for big.LITTLE its seems
merewood bebox said:
i havent had any luck, i looked at the source and its from a device with only 4 cores. none of the hotplugs are designed for big.LITTLE its seems
Click to expand...
Click to collapse
yeah, hotplug doesnt seem to affect big cores, 4 bigs always on
Luigi_2 said:
yeah, hotplug doesnt seem to affect big cores, 4 bigs always on
Click to expand...
Click to collapse
the hotplugs were from a different device thats why

[L5/L7][KERNEL][4.1.2][Linux 3.4.0] Vector Kernel [UBERTC 4.9.4][RC2][03/01/17]

[L5/L7][KERNEL][4.1.2][Linux 3.4.0] Vector Kernel [UBERTC 4.9.4][RC2][03/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"
}
Vector is kernel for all custom rom based on AOSP and CyanogenMod 4.1.2, support the LG OPTIMUS L5-L7
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.4.0
Based on CyanogenMod 10 and AOSP
GCC UBERTC 4.9.4 compiled
Compiled with -O2 flags and hardware neon-vfpv4 FPU enabled.
zRAM
zCache
zSmalloc
CCache
KSM
Full Linaro Optimizations ON
Optimized Parameters from L Speed
Overclock M4 1300MHz
-> ACPU_PLL_2 850Mhz -1100Mhz (Performance)(Degration in GPU)
-> ACPU_PLL_6 1200Mhz -1300Mhz (Balanced- may have reboot in high frequency)(Without degration in GPU)
Underclock M4 245 Mhz
Overclock U0 1396MHz
Underclock U0 245 Mhz
M4 400 MB userspace RAM
U0 400 MB userspace RAM
Overclock GPU
ZRAM with compression LZ4
Google Snappy Algorithm
USB force fast charging
ARM RWSEM Algorithm
Dynamic File Sync
Enhanced SELinux
Frandom - Entropy Generator
USB OTG Support
Frontswap
ExFAT
NTFS R/W
F2FS
Battery Life eXtender (BLX)
Support for GCC 5.0/6.0
Some ARM v7 optimizations
Improve 3x faster integer sqrt
Disable Gentle Fair Sleepers
Optimized SLUB memory allocator
LZ4 Compressor module
Performance enhancements
Ext4 leak memory fix
Optimized build flags
Audio enhancements
Kernel mode neon enabled
And much more!
Governors
smartassv2
interactive
conservative
ondemand
userspace
wheatley
powersave
smartassH3
performance
smartmax
darkside
intelliactive
smoothass
brazilianwax
noop
deadline
cfq
bfq
sio
fiops
row
sioplus
zen
vr
Reboot to recovery
Flash Vectorkernel.zip
Wipe cache e dalvik cache
Reboot
L5
L7
TeamHackLG
CyanogenMod
XDA:DevDB Information
Vector Kernel, Kernel for the LG Optimus L5
Contributors
Jonas Cardoso, Antonio Almeida Filho, Greekdragon, InsideMuz
Source Code: https://github.com/JonasCardoso/VectorKernel-JB
Kernel Special Features: Full Compatibility with JB 4.1.2 (AOSP and CM)
Version Information
Status: Stable
Current Stable Version: RC2
Stable Release Date: 2017-01-03
Created 2016-04-27
Last Updated 2017-01-03
RC1 - 25/04/2016
Added zRAM
Added zCache
Added zSmalloc
Added CCache
Compiled with -O2 flags and hardware neon-vfpv4 FPU enabled.
Added Full Linaro Optimizations ON
Added Optimized Parameters from L Speed
Added Overclock M4 1300MHz
ACPU_PLL_2 850Mhz -1100Mhz (Performance)(Degration in GPU)
ACPU_PLL_6 1150Mhz -1300Mhz (Balanced- may have reboot in high frequency)(Without degration in GPU)
Update Underclock M4 245 Mhz
Added Overclock U0 1300MHz (stable)
Added Underclock U0 245 Mhz
M4 400 MB userspace RAM
U0 400 MB userspace RAM
Added Google Snappy Algorithm
Added USB force fast charging
Added ARM RWSEM Algorithm
Added Dynamic File Sync
Added Enhanced SELinux
Added Frandom - Entropy Generator
Added USB OTG Support
Added Frontswap
Added Undervolt VDD sysfs interface for configuring the voltage levels
Added Some ARM v7 optimizations
Improve 3x faster integer sqrt
Disable Gentle Fair Sleepers
Optimized SLUB memory allocator
LZ4 Compressor module
Performance enhancements
Ext4 leak memory fix
Optimized build flags
Audio enhancements
Kernel mode neon enabled in M4 and U0
RC2 - 03/01/2017
qdsp5: sound buffer
exFAT 1.2.9
f2fs
NTFS R/W
Overclock for L7 max is 1396Mhz now
Added overclock for GPU
Fixed high drain battery
Improve performance kernel
Base in V20i source kernel 3.4.0
Fixed small bugs
Added more bugs to fix
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 to respective model number (E612/P705)
Q: Which frequency is the safest
A: The default frequency, 800MHz, is the safest!
But, there's no harm in overclocking upto 1100MHz.
You MAY face some issues on 1100MHz-1300MHz, but 1050MHz is stable as 'rock'!
Q: WiFi doesnt work for me
A: Reflash ROM and Kernel
Undervolt Interface:
The current voltage information is available at:
Code:
Code:
/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
Defaults for L5:
Code:
Code:
[email protected]:/ # cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
245760: 3
320000: 4
480000: 5
600000: 6
800000: 7
900000: 7
950000: 7
1000000: 7
1050000: 7
1150000: 7
1200000: 7
1250000: 7
1300000: 7
To change for example the voltage level of the 800000 frequency, you could do:
Code:
Code:
echo '800000 6' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
If you cat this file again, you should see that the voltage level is picked up.
The new voltage level is picked up when the CPU will scale to the particular frequency level.
Thanks a lot.
Any recommended I/O and scheduler?
Sent from my LG-P700 using Tapatalk
vaikz said:
Thanks a lot.
Any recommended I/O and scheduler?
Sent from my LG-P700 using Tapatalk
Click to expand...
Click to collapse
I always used sioplus
Spectacular! Excellent! You rock!
Can I use it on 4.2.2 ?
LG-E610 cihazımdan Tapatalk kullanılarak gönderildi
furkan150061 said:
Can I use it on 4.2.2 ?
LG-E610 cihazımdan Tapatalk kullanılarak gönderildi
Click to expand...
Click to collapse
Only in 4.1.2
Can I use it on 4.1.2 stock?
Paul 77 said:
Can I use it on 4.1.2 stock?
Click to expand...
Click to collapse
If you device is l5 use this https://www.androidfilehost.com/?fid=4996500813288309210
1300 MHz stable as rock on L7, havent had any issues
Sent from my LG-P700 using XDA-Developers mobile app
Is this compatible with LG E610 with stock 4.1.2 ROM?
Professor Woland said:
Is this compatible with LG E610 with stock 4.1.2 ROM?
Click to expand...
Click to collapse
use this https://www.androidfilehost.com/?fid=4996500813288309210
Jonas Cardoso said:
use this
Click to expand...
Click to collapse
Is there separate thread for this kernel?
I want to see features and bugs if there is any...
Any user L7 can test this?
https://drive.google.com/file/d/0B6CKqwPYDvi-ZGlMZkc1Y3BQNnc/view?usp=sharing
Update To The RC2​
RC2 - 03/01/2017
qdsp5: sound buffer
exFAT 1.2.9
f2fs
NTFS R/W
Overclock for L7 max is 1396Mhz now
Added overclock for GPU
Fixed high drain battery
Improve performance kernel
Base in V20i source kernel 3.4.0
Fixed small bugs
Added more bugs to fix
is compatible with cm13 and e612f?
JeefSmith said:
is compatible with cm13 and e612f?
Click to expand...
Click to collapse
NO

[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