[KERNEL] MALAKAS KERNEL r189 [GCC10][UPDATED❯ *9-8-13* ] - Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev

[size=+2]DISCLAIMER[/size]
Code:
[I][center]* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards, dead dogs, or cats,
* but I'm very interested in thermonuclear war, so if you point the finger
* at me for messing up your device just because of this kernel,
* I will send you to mars on a nuclear rocket. Act accordingly.
* I know this paragraph is conspiracy-related,
* so don't ask about it. Welcome...[/center][/I]
{
"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"
}
[size=+2]ABOUT[/size]
[size=+1]The Malakas Kernel or MLX, is a balance between speed & efficiency with all latest patches optimized to take full advantage of your device.
It is made off Lineage source to ensure optimal working state. The MLX kernel is one of the most patched kernels adapting work from famous developers like Sultan for example.
Work on this kernel is very serious and will continue to improve even further.
Works on both MIUI and custom roms.[/size]
[size=+2]PREREQUISITES[/size]
1. Unlocked bootloader.
2. Working TWRP/Recovery. (CLEAN FLASH IF YOU HAVE ISSUES)
[size=+2]FEATURES[/size]
Toolchain used self compiled GCC 10 snapshots
Upstreamed from android-linux-stable/msm-4.9 (+ f2fs-stable + android-4.9)
Merged latest LineageOS 16.0 updates
Merged CAF tag LA.UM.7.3.r1-07900-sdm845.0 (+ other CAF cherry picks)
Touchscreen drivers always updated to the latest versions
Touch/Input lag reduction and increased touch smoothness
Dt2w/Dt2s
Fast charging
USB Fast charge control
Sultans simple low memory killer
Kcal Display color control
Klapse v5.0 Livedisplay kernel module
Backlight expanded limits of minimum/maximum brightness control
Sound control
Fsync control
Swap
Zswap
Zram (deflate, lzo, lz4, lz4hc, zstd)
Support added for F2FS, NTFS, SDFAT, VFAT, EXFAT
MAC address randomization
Wireguard Support
300 Hz scheduler tick
GPU 180-710Mhz / optional GPU OC manually 180-820Mhz (preconfigured in MLX tweak)
Non Display OC / Display OC TIANMA panels 69hz - EBBG & JDI panels 65hz
Many more patches and improvements, check commits
TCP Congestion Algorithms :-
Code:
westwood, reno, cubic, bbr, bic, cdg, dctcp, highspeed, hybla, htcp, vegas, nv, veno, scalable, lp, yeah, illinois
CPU Governors :-
Code:
conservative, ondemand, userspace, powersave, performance, schedutil, blu_schedutil, pixutil
GPU Governors :-
Code:
compute, mem_latency, bw_hwon, msm-vidc-llc, msm-vidc-ddr, gpubw_mon, bw_vbif, msm-adreno-tz, cpufreq, userspace, powersave, performance, simple_ondemand
I/O Schedulers :-
Code:
noop, deadline, cfq, fiops, sio, bfq, anxiety, zen, maple, tripndroid
Zram compression algorithms :-
Code:
deflate, lzo, lz4, lz4hc, zstd
[size=+2]CHANGELOGS & ADDITIONAL INFO[/size]
Because I will not be updating this thread regularly you can keep an eye out on the original kernel thread from beryllium for changelogs and more updated info.
Original updated thread for additional info: here
Changelogs: here
Frequently Asked Questions: here
[size=+2]INSTRUCTIONS[/size]
1. Have a clean setup. (rom, boot.img & vendor)
2. Install magisk & reboot to rom.
3. Reboot to recovery (clean) flash the kernel & DON'T wipe dalvik/cache. (wiping cache will give bugs in MIUI and most likely give you the app open delay bug)
4. Power on the device and boot to android.
These steps only need to be repeated if you update your setup.
[size=+2]SOURCE CODE[/size]
Kernel: https://github.com/thanasxda/malakas_kernel_xiaomi_sdm845
[size=+2]DOWNLOADS[/size]
Below...
[size=+1]❯❯DOWNLOAD HERE[/size]
[size=+2]SUPPORT[/size]
This is my personal project and am working alone on this, if you appreciate my work you can help by getting me a beer.
[size=+1]❯❯Click here to buy me a beer[/size]
Make sure to hit the Thanks button if you appreciate this! :good:​

reserved

Nice and welcome

Thanks for the kernel.
Will we ever see (optional) display Hz overclock like your Pocophone kernel?
If no, is there any hardware limitation or something else ?

I will try the kernel right now, I was expecting something like that in the mi8, since in the poco f1 I used this kernel and it was spectacular. Very good work friend.

@thanas
Sounds amazing! Thank you very much!

Is it possible to add 70Hz for the display?

nighthawk696969 said:
Thanks for the kernel.
Will we ever see (optional) display Hz overclock like your Pocophone kernel?
If no, is there any hardware limitation or something else ?
Click to expand...
Click to collapse
OsTrichHoltt said:
Is it possible to add 70Hz for the display?
Click to expand...
Click to collapse
dipper has no 70Hz

I saw people talking about overclocked display HZ which is very bad specially for amoled screen like in mi 8. That's why extreme kernel is avoided by many mi 8 users because it has display OC. If you knowingly want to destroy your display then you can use kernel with 70hz display OC. But i personally wish that in this kernel they never add display OC.
By the way this kernel is so good i recommend it trying out once.

no oc, for the above reason of it being amoled. furthermore i have the beryllium and i cant do such things on devices i dont have.

just flashed on havoc
I don't see any problems so far I will update in few days for further more info
anyone that has been using it what is the battery life in comparison with other kernels?
ps. εξαιρετική δουλειά φίλε

updated

Finally, I saw whiners about the harm of overclocking live

Tested the first version and it didn't work to well, lots jitters and lag. Whatever you've done in the updated one has fixed those issues, I will continue testing and let you know how it preforms.

How to change GPU to OC 820Mhz from mlx ?

I have been using the kernel for days, it's completely flawless!

thanks for all good words guys, the update must have improved app opening btw. as u see avoid maintaining 2 threads and have linked the changelog and faq of the beryllium as its the exactly same source/kernel.

is there anyway to force selinux status to permissive? mine still says its on enforcing after flashing kernel...

There is one issue I am having but I do not know if its the kernel. Whenever I use the fingerprint sensor to unlock the phone. There is a noticeable delay in screen turning on. I am using Aosip Illusion rom with this kernel.

Reboot after phone deep sleep, I'm using MIUI 10.3.2.0 Global Stable.

Related

[AOSP/CM][LOLLIPOP][ANYKERNEL][29/05/15] Phantom Kernel r4

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include
/*
* 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.
*/
Some points to note-
Added msm_hotplug hotplugging driver
Thermal control driver by @franciscofranco
XZ compression
Disabled crc check
Task adj rbtree optimization from Motorola
Memcpy, memmove optimization from Motorola
Compiled using latest Linraro 4.9 optimized for Cortex A15
Anykernel script
Latest KCAL control driver
CPU Power driver and updated ARM typology
Overall CPU stats
Disabled crc check
Powersuspend driver
USB Fast Charge
Fixed simple_ondemand GPU governor
Added Conservative GPU governor with many more patches to devfreq
Voltage Control
Stereo call recording support
Entropy tweaks
TCP, KGSL and many many many more patches
CPUFREQ tweaks
Power efficient workqueues for almost everthing
SCHED tweaks
futex patches
exFat support
Sound Control 3.2
Added SIO, FIOPS, BFQ and TripNDroid I/O schedulers
Tweaked existing I/O schedulers
fsync
Added intelliactive and elementalx governors
Tick, time patches
Vibrator Strength Control
...also much more stuff which I can't write here because I don't want to spam. Go to github and check yourself.
Issues-
-You tell.
Instructions-
No support for MIIUI
AOSP tagged zip is only and only for Ivan's AOSP, all other ROM users please use CM tagged zip
First flash a ROM if you haven't already as kernel is not provided in form of a boot.img
Flash zip through recovery
DO NOT POST BUG REPORTS IF YOU DIDN'T FLASH KERNEL ON A CLEAN INSTALL.
Controls for every feature can be found in Kernel Auditor app
Download-
http://forum.xda-developers.com/devdb/project/?id=9618#downloads
GPL Compliance:
Just a statement regarding kernel source: The Kernel Source is of course covered under GPL version 2. Free software does NOT mean no work or time was spent working on it. I have donated a large sum of my free time to this kernel. If you want to include my kernel in your project or use my source code, please mention it in your post, give proper credits.
Opensource does not mean 'Out-of-credit'
Thank you.
NOTE TO MODERATORS- OT is allowed in this thread. Only warn users or delete posts when they start to become uncivil with each other.
XDA:DevDB Information
Phantom Kernel, Kernel for the Xiaomi Mi 3
Contributors
Shivam Kuchhal
Source Code: https://github.com/shivamk11/android_kernel_xiaomi_cancro
Kernel Special Features:
Version Information
Status: Stable
Created 2015-05-05
Last Updated 2015-05-29
Recommended Kernel settings
Use Kernel Adiutor app for making all changes.
CPU:
Governor- Interactive(for balance) or elementalx(for performance)
Multicore Power Saving- Aggressive
Rest untouched.
CPU Voltage:
-50mV all frequencies
CPU Hotplug:
Turn MP Decision off if it isn't already and turn msm_hotplug on. You can leave tunables as it is or make your required changes.
I keep 1036Mhz as maximum screen off frequency
GPU:
GPU Governor- simple_ondemand
Screen:
Do whatever suits you best
I keep saturation at somewhere between 50 and 60. And screen value and contrast at 130.
Sound:
Use FauxSound app for making changes, our version of sound control is old and buggy.
Battery:
Force Fast Charge- on
I/O Scheduler:
Scheduler- bfq/row/sio
Whichever you find best
Misc Controls:
TCP Congestion Algorithm- westwood
Reserved
Credits-
fuax123 for Sound Control
flar2 for elementalx governor
Mi3 developers for base
and all others I missed
Also I am not an "original" coder, I take stuff from everywhere and add stable stuff and also make fixes to make a good kernel. You have a problem? Sorry, I don't care.
Can u detailed about power efficiency patches from nvidia ??
Seems interesting
I still remember the days when we demanded for custom kernels.. and now, they just freaking pop up from anywhere! XD Will try this soon too!
Well done bro, Another Kernel to try, Flashing soon & will report back in evening.
Jhayzt said:
I still remember the days when we demanded for custom kernels.. and now, they just freaking pop up from anywhere! XD Will try this soon too!
Click to expand...
Click to collapse
+1
I didn't notice that ElementalX is included in this kernel. Want the best gaming settings? ElementalX + SIO.
Jhayzt said:
I still remember the days when we demanded for custom kernels.. and now, they just freaking pop up from anywhere! XD Will try this soon too!
Click to expand...
Click to collapse
+2
Power eficient workqueues and MP decision doesn't works..I enable this,but after few sec they disabled automated..btw great kernel,and great works
Sent from my MI 3W using XDA Free mobile app
Working great!!...charging is quite fast...
Mp decision works...it gets deactivated when u manually shut off cores....
Smooth kernel
I've been using this since last night and.. Speechless. XD No drop frames when scrolling here and there. UI animations are solid 60fps its as if I own a Nexus device(As in no dropped frames). The kernel works well with XenonHD. You dev @Shivam Kuchhal, deserve the 5 star rating.
Want to feel the same experience? Leave everything as is and change your Governor to ElementalX and I/O to SIO.
Jhayzt said:
I've been using this since last night and.. Speechless. XD No drop frames when scrolling here and there. UI animations are solid 60fps its as if I own a Nexus device(As in no dropped frames). The kernel works well with XenonHD. You dev @Shivam Kuchhal, deserve the 5 star rating.
Want to feel the same experience? Leave everything as is and change your Governor to ElementalX and I/O to SIO.
Click to expand...
Click to collapse
How's the battery?
Sent from my MI 3W using XDA Free mobile app
Gonna try this once I backed home and will report back
how to flash this kernel from stuxnet??
Successful flash in cwm but reboot in system, it still shows as stuxnet kernel
damnthomas said:
how to flash this kernel from stuxnet??
Successful flash in cwm but reboot in system, it still shows as stuxnet kernel
Click to expand...
Click to collapse
did you wipe cache, dalvik cache after flashing?
sandeep_ratiya said:
did you wipe cache, dalvik cache after flashing?
Click to expand...
Click to collapse
Nope...
I wipe before I flash
damnthomas said:
Nope...
I wipe before I flash
Click to expand...
Click to collapse
wipe after flashing
sandeep_ratiya said:
wipe after flashing
Click to expand...
Click to collapse
still cant
Overall very nice kernel.
But ElementalX is battery consuming.
What about others?

[KERNEL][GRAPHITE][3.18.58][Linaro 7.1.1] DarkMoon Kernel Zuk z2/Zuk z2 plus

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
Code:
If you have anything against me, my projects, this project hurts you,
you don't like this project or you are here just to insult me change thread
because you aren't welcome here.
I won't answer at the useless, spam and flame comments and I will report
them. If you want to troll or ruin a thread this isn't the right one.
Hello Guys, today I'm here with my new and I think the first real Custom Kernel for the Zuk z2/z2 plus.
DarkMoon
Features
Here are the major features of the kernel (feel free to explore Github)
Upstream Linux versions 3.18.31-3.18.58
Upstream patches from CAF (LA.UM.5.5.r1-04900-8x96.0)
Support for overclocking to 2419MHz on big and 1766MHz on little (stock values by default)
Support for the GPU overclocking to 652MHz (stock frequencies as default)
Simple_ondemand set as default GPU governor
CPU governors: interactive, conservative, ondemand, userspace, powersave, performance
Touchboost disabled by default
KCAL color control
Zram
I/O schedulers: bfq, cfq, fiops, maple and noop
Wakelock controls: sensor_ind, Ipa, Netlink, Timerfd, Wlan, Qcom rx, Wlan extscan (all disabled as default)
Vibration Strength percentage control
Fsync
Arch Power
CRC control
Gentle Fair Sleepers control
Power suspend mode: Autosleep, Userspace, LCD Panel, Hybrid (default)
Fingerprint sensor speeded up
TCP algorithms: cubic, highspeed, dctcp, hybia, illinois, lp, reno, scalable, vegas, veno, westwood (default)
F2FS support (latest from here)
Compiled with a Linaro 7.1.1 toolchain built with @The Flash 's script (located here).
Makefile optimizations (check it here)
Graphite
Hides bootloader unlock from SafetyNet (can still fail through other means)
Spectrum Support
Custom Ramdisk
Stock Kernel backup (if you want to restore the stock kernel you just need to flash the zip located here)
Flashed with AnyKernel2 (thanks to @osm0sis)
Downloads:
Current Release (004.1): Download here
Current Release Longtap: Download here
Other Releases:
https://www.androidfilehost.com/?w=files&flid=167771
Don't mirror my builds
Changelogs:
Release 002: Here
Release 003: Here
Release 004:
Kernel completely rebased on the latest caf tag available at the moment (LA.UM.5.5.r1-04300-8x96.0) and then updated to the LA.UM.5.5.r1-04900-8x96.0
Kernel upstreamed to the 3.18.58
Some governors removed (really not even added)
Removed Adreno Idler (we don't need it)
Added some optimizations from the AOSPA op3 kernel
Upstreamed F2FS
Upstreamed SDCARDFS (but the device tree need the support for it)
Overclocked CPU and GPU
Added the spectrum support
Added an abort script for some roms
Check the sources for the rest, I can't remember all
Release 004.1:
Fixed a typo in the ramdisk that bugged the GPU frequency change with the spectrum profiles (thanks to AnjoVingador that reported this problem)
Installation Instructions:
Your bootloader must be unlocked
Download the kernel and flash it in the
twrp and wipe cache and dalvik/art cache if you're doing a dirty flash
If you're doing a clean flash flash ROM, gapps, SuperSU and then the kernel
Current Version Informations:
DarkMoon Kernel Version: Release 004
Linux Kernel Version: 3.18.58
GCC Version: Linaro 7.1.1
Current CAF Tag: LA.UM.5.5.r1-04900-8x96.0
Source Code:
https://github.com/DD3Boh/android_kernel_zuk_msm8996
A thank to:
@FireLord1 [https://GitHub.com/FireLord1]
@KriiX-001 for the Kernel Logo
Fedor917 [ https://GitHub.com/cryscript ]
@davidevinavil [ https://GitHub.Com/Davidevinavil ]
@varotone [ https://GitHub.com/ontherunvaro ]
CallMeSuper [ https://github.com/18712886438 ]
If you like my work donate me, it would be very appreciated:
Donation link:
https://PayPal.me/dd3boh
Zuk z2/z2 plus telegram international group:
https://telegram.me/ZukCustomGoodies
Enjoy​
Beautiful bro
Enviado desde mi Z2 Plus mediante Tapatalk
First charge
Enviado desde mi Z2 Plus mediante Tapatalk
Finally a new kernel to play around with. Good work @DD3Boh
Test on D.U march 03/17
So far so good, no bugs from capturing image to capturing video.
For AOSP or stock ROM?
Ritik17 said:
For AOSP or stock ROM?
Click to expand...
Click to collapse
Maybe for all ROM.
I use Citrus CAF ROM, no problem.
When the next version will be released?
Is possible to use the file "zImage" inside DarkMoon-Kernel-z2_plus-Release-002.zip and use
Code:
fastboot flash boot zImage
to flash kernel instead of use TWRP Install method?
Thanks
oh, OC clocks were removed I liked hitting 160k on antutu just for fun haha
SiRiusCb said:
Is possible to use the file "zImage" inside DarkMoon-Kernel-z2_plus-Release-002.zip and use
to flash kernel instead of use TWRP Install method?
Thanks
Click to expand...
Click to collapse
Yes it's possible but I don't suggest that because probably you will have broken wlan. If you want you can try
ar_15 said:
oh, OC clocks were removed I liked hitting 160k on antutu just for fun haha
Click to expand...
Click to collapse
Ahahahah
Anyway I removed them because already weren't working. Maybe I'll add them another time in the future but the problem is to make them working without set them as default. Setting an overclock value as default is something that I don't want to do
Ritik17 said:
For AOSP or stock ROM?
Click to expand...
Click to collapse
Technically for all the custom ROMs nougat, then I heard some people that said it works on the marshmallow ROMs and on the stock ROMs too. I only can grant for the custom ROMs (it seems not the Jaguar... Lol) so I don't know about the zui. If you want to try and then tell us it will be very appreciated.
tlxxxsracer said:
BATTERY:
USB Fast charge (when connected to a USB port)??
When charging isnt it always connected to a usb port...? Any extra heating?
Click to expand...
Click to collapse
I didn't know how to say that. When connected to a USB port of a computer or something like that is the meaning. I haven't hearing issues, others have. I'll try to fix these completely with the next release. I hope you will like the kernel
Does it has any impact in the battery life of the phone ? If so its better or worse ?
DD3Boh said:
Technically for all the custom ROMs nougat, then I heard some people that said it works on the marshmallow ROMs and on the stock ROMs too. I only can grant for the custom ROMs (it seems not the Jaguar... Lol) so I don't know about the zui. If you want to try and then tell us it will be very appreciated.
Click to expand...
Click to collapse
I'm not really a stock rom guy, I always prefer custom rom. I was only confirming whether is it for stock or custom cause I didn't wanted to go through making nandroid backup and etc. I did try the kernel and I liked it, nice work.
Arul Stark said:
Does it has any impact in the battery life of the phone ? If so its better or worse ?
Click to expand...
Click to collapse
No, no impacts at the battery life, just the charging speed changes. It can't damage the battery because with a normally charge it still charge faster
Hey DD3Boh, a bit offtopic since I didn't find the specific thread, but are you still updating Darkness Redefined or now you're only developing this Kernel and Citrus? I saw some people asking about it on zukfans's thread but you seem to be more active here lately.
ar_15 said:
Hey DD3Boh, a bit offtopic since I didn't find the specific thread, but are you still updating Darkness Redefined or now you're only developing this Kernel and Citrus? I saw some people asking about it on zukfans's thread but you seem to be more active here lately.
Click to expand...
Click to collapse
I'm more active there because I won't publish on zukfans anymore. For now there is only the zukfans thread for the DND, with the next update I'll post it here too. I still develop it.
DD3Boh said:
Hello Guys, today I'm here with my new and I think the first real Custom Kernel for the Zuk z2/z2 plus.
DarkMoon
Features:
CPU:
Governors:
zzmoove
blu active
chill
elemental X
impulse
nebula
interactive
conservative
ondemand
userspace
powersave
bioshock
performance
Tuch Boost switch
GPU:
Governors:
spdm bw hyp
cache hwmom
mem latency
bw hwmon
msm vidc vmem+
msm vidc vmem
msm vidc ddr
bw vbif
gpubw mon
msm adreno tz
cpufreq
userspace
powersave
performance
simple ondemand
Adreno Idler:
An efficient workaround for msm adreno tz's overheads by Arter97
THERMAL:
Intellithermal:
An in-kernel replacement for Qualcomm's Thermald by faux123
SCREEN:
Screen's Colors editing
Saturation Intensity
Minimum RGB Value
Grayscale Mode switch
Sreen Hue
Screen Value
Screen Contrast
BATTERY:
USB Fast charge (when connected to a USB port)
MISC:
Vibration Strength
Wakelocks switches:
sendor_ind Wakelock
msm_hsic_host Wakelock
wlan_rx Wakelock
wlan_ctrl Wakelock
wlan Wakelock
BlueSleep Wakelock
INFO:
Linux Kernel version: 3.18.48
DarkMoon Kernel Release: Release 002
GCC: Uber TC 6.x
DOWNLOADS:
Release 001: https://www.androidfilehost.com/?fid=529152257862716201
Release 002:
https://www.androidfilehost.com/?fid=457095661767152450
Changelog Release 002:
https://www.androidfilehost.com/?fid=673368273298945966
SOURCE CODE:
https://github.com/DD3Boh/android_kernel_zuk_msm8996
CONTRIBUTORS:
@miju12 [https://github.com/miju12]
A thank to:
@FireLord1 [https://GitHub.com/FireLord1]
Fedor917 [ https://GitHub.com/cryscript ]
@davidevinavil [ https://GitHub.Com/Davidevinavil ]
@varotone [ https://GitHub.com/ontherunvaro ]
If you like my work donate me, it will be very appreciated:
Donation link: https://PayPal.me/dd3boh
Zuk z2/z2 plus telegram international group: https://telegram.me/ZukCustomGoodies
Enjoy
Click to expand...
Click to collapse
A new update is out. The Release 002. Really it was already out on zukfans but I didn't updated the thread here. Now I'll publish only on XDA so the next update will be always there

[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?

[KERNEL][3.18.119] Pepsy Kernel v0.9 [Oreo/Pie][gemini]

{
"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"
}
INTRODUCTION
Code:
/*
* Your Warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, dead dogs, or cats,
* but i'm very interest in thermonuclear war, so if you point the finger
* at me for messing up your device just because this kernel, I will
* send you to the mars with Nuclear Rocket. Act accordingly.
* I know this paragraph is conspiracy-included, so
* dont ask about it. Welcome.
*/
Pepsy is a custom kernel that improves battery consumptions and performances. It's based on LineageOS's kernel to ensure the best stability. It has a lot of improvements made by various legendary XDA developers. I will ever prefer quality over quantity, so do not ask for useless features. And do not forget to drink a PEPSY!
FEATURES
Compatible with android 8.x
Upstream to latest 3.18.y kernel tag from kernel.org
Synced with latest changes from LineageOS
Synced with latest changes from CodeAuroraForum
Sio, Fiops, Fifo, SioPlus, Tripndroid, VR and Zen ioscheds
Impulse governor
Boeffla's Wakelock Blocker
LCD Notifier driver
Backlight Dimmer
Dynamic Sync Control 2.1
KCAL Post Processing Control v2
Adreno Boost
Adreno idler
WireGuard
USB fast charging up to 900 mA
Disabled CRC check
Swappiness 0
Bic, Cubic, Westwood, Hstcp, Hybla, Htcp, Vegas, Reno, Scalable, Lp, Yeah and Illinois advanced TCP
Disabled various logspam of various drivers
Optimized Interactive governor
Arch Power Energy Saving
Gentle Fair Sleepers
Reworked CPU boost
Reworked msm-thermal
Slab updates
Cfq-iosched upstreams
Optimized cpu-idle
OC: CPU | GPU MSM8996 (Standard frequencies for speedbin 1)
... and much more
Please refer to GitHub for a complete features list
DOWNLOAD
Latest Pepsy Kernel
Compatible with:
MI 5
MI 5s
MI 5s Plus
MI Mix
MI Note 2
INSTALLATION
First time install:
Reboot to TWRP recovery
Flash the kernel zip
Flash Magisk (optional)
Wipe cache and dalvik (optional)
Reboot
Updating the kernel:
Reboot to TWRP recovery
Flash the kernel zip
Wipe cache and dalvik (optional)
Reboot
Coming from another kernel:
Dirty flash your ROM or flash the boot.img only
Flash the kernel zip
Flash Magisk (optional)
Wipe cache and dalvik (optional)
Reboot
THANKS TO
Please refer to GitHub
Donate HERE if you want ​
XDA:DevDB Information
Pepsy Kernel, Kernel for the Xiaomi Mi 5
Contributors
Psy_Man
Source Code: https://github.com/PsyMan47/Pepsy-Kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v0.8
Stable Release Date: 2018-08-04
Created 2018-02-12
Last Updated 2018-08-04
It's good project men thanks
Miui kernel need to be better
Keep going
I will try that...
I deeply appreciate your kernel for mi5, mi5 miui does not have too many kernels , but don't you think 2.45ghz and 681mhz is a little overkill, especially if your after battery , this may ruin the processor due to high voltages especially the most vulnerable is 820 lite variants shipping on 32gb mi5 , and there's also heat to consider
Got bootloop with xiaomi.eu rom
moep1234 said:
Got bootloop with xiaomi.eu rom
Click to expand...
Click to collapse
Working fine here
Hm, i got complete "stock" xiaomi.eu Rom no other mods.. only flashed this new Kernel and wiped the cache... =/
moep1234 said:
Hm, i got complete "stock" xiaomi.eu Rom no other mods.. only flashed this new Kernel and wiped the cache... =/
Click to expand...
Click to collapse
I had naga3 kernel so i did dirty flash to 21.9 of miui eu then flashed this kernel then clear cache then flashed superuser. Goodluck.
wow miui kernel, thanks for that man! :good:really appreciate your works. can you add flar2 wake gesture like on kenzo? i know you also from kenzo esp your firmware updates. btw, your kernel support spectrum?
waiting your kernel for custom rom too
This kernel seems very good, now i'm wondering, someone can limit the freqs and it will use that max freq? i say because that GPU/CPU Overclock is def. overkill
OC to 2.42Ghz???im surprised
ready to have a try.thanks:good:
Good news for MIUI user,
Sadly I don't use MIUI any more, great OC, I remember use DX 3.8 OC that has 2.5/2.0 Ghz clock.
i'd flash it....
but the OC doesnt work..
why?
Yu821741512 said:
i'd flash it....
but the OC doesnt work..
why?
Click to expand...
Click to collapse
Same here buuuut amazing battery!!!
Was a thread mistake, becouse i've copy-paste from Mi Note 2 thread. No OC for MI5 and MI5s.
Anyone Confirm working with latest EU weekly ?
Anyone confirm that video record make Black Videos?
pi4a7a said:
Anyone Confirm working with latest EU weekly ?
Click to expand...
Click to collapse
Working great
Lgd screen support?) Better for battery them naga 3 ?) Whith naga i played 4 hours in mobile legends )
rotemkk said:
Same here buuuut amazing battery!!!
Click to expand...
Click to collapse
oh..when i find it OC didnt work i had flashed black to official kernel....so i didnt try that battery
really really amazing?
Great and do I need to do some stuff with a kernel manager to get it working properly or no ?

[20/12/18]Prototype Kernel [DTC][4.4.x]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Code:
#include <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 ! *
Introduction
Hello all!
So this is Prototype™ Kernel for Lenovo Z2 Plus on which i was working.Main Purpose of the kernel is to provide balance performance to the user in daily life while giving full freedom to users to control the kernel.So this a short contribution to zuk community from my side hope you all will like it!
Thanks.
*Please read FAQ and installation instructions carefully.
Features
msm 3.18
Kernel rebased over als.
Upto date with linux stable (3.18.128)
Compiled with DTC+GCC9
Governors: Impulse, Darkness, Interactive, Conservative, Ondemand, Powersave, Userspace, Alucard, Nightmare, Chill, Blueactive
Relaxed, and Performance.
I/O Schedulers: Noop, Deadline, Cfq, ROW, Fiops, Bfq, Zen, Sio, Maple and Tripndroid.
F2FS Support
Advance TCP Congestion Control
Dynamic FSync
Boeffla WakeLock Blocker
Sound Control
Power Efficient Work Queue for major drivers and enabled by default.
commits to make cpuboost efficient
Faster app installation time
Simple GPU algorithm
PowerSuspend Drivers
Interactive and tuned for balance performance
State Notifier
Ships with Aroma installer
msm_thermal_simple instead msm_thermal
VDSO implementation
Spectrum supprt
Adreno idler
Fingerprint boost
And Much more.
msm 4.4
Rebased on linux stable tree
Current Kernel version is 4.4.168
Latest CAF tag merged is LA.UM.7.2.r1-05500-sdm660.0
Toolchain used is DTC8+GCC9
Features
EAS
Clang Support
CFQ updates from upstream
Power Efficient WQ
Brought back msm_thermal_simple instead msm_thermal
Fingerprint Boost
Boosting is done through CPU-Boost+Dynamic Schedtune Boost
UC to 1.4 and 1.9
IO schedulers available:cfq,bfq,noop,fiops,sio,zen,deadline
Fsync on/off toogle
Advance TCP Algorithms
Spectrum support
USB Fast charge
Installation instructions
First time:
Reboot to recovery
Flash Prototype kernel.zip
Reboot
Update the kernel:
Reboot to recovery
Flash Prototypekernel.zip
Reboot
Coming from another kernel:
Reboot to recovery
Dirty flash your current ROM
Flash Prototypekernel.zip
Reboot
Download
Sourceforge Folder
FAQ
1. Why the kernel zip is so large?
-> Treble Pie and Treble Oreo version of the kernel are packed in single file.You have to choose your version during installation so choose carefully.
2. How frequently it will get updated?
->Well its not fixed ,most probably it will be updated after every 15 days.But if some major bug is there then there can be quick updates.
3.Do you have any telegram release channel where we will be updated about the news about this kernel?
-> Yes we have telegram channel-https://t.me/prototypereleases
4.Can we request features?
-> Yes you can request features and ill try my best to implement it but no promise
5.I dont have any knowledge about governors and schedulers?
-> Dont worry if you dont have any knowledge just select next in aroma installer
6.Which ROMS are supported ?
-> Treble ROMS of pie and oreo are supported.Further compatibility will expand.
6.My phone heating after booting the kernel ?
-> Yes as the phone boots CPU carries out various tasks which lead to increase load on cpu and thus heating.So it is recommended that after flashing the kernel keep the phone idle for 10 mins and then see the magic
Thanks To/Credits
Code:
@amog787 (My Master)
@dmitrikudas (Helped me to boot my first kernel)
@DD3Boh (Master Dev)
@faizauthor
@davidvinavil
@frap129
@SultanXDA
@yarost
@davidevinavil
@andip71
@Kenny3fcb (Cleared Some Major Doubts)
@Cosmedd
@Flar2
@amarulz
@franciscofranco
@sanketp60 (For thread banner)
@movzx (For aroma installer)
@Pavan_Paps,@Gmp KV,@omkarmodgi and @lonelystag(For testing builds)
And all the authors of commit in my sources
[If i Forgot you by mistake please remind me]
Telegram Channel
@prototypereleases
XDA:DevDB Information
Prototype™ Kernel, Kernel for the Lenovo ZUK Z2 (Plus)
Contributors
Danish1999
Source Code: [url]https://github.com/Danish1999/msm-4.4 [/URL]
Kernel Special Features: Just Special
Version Information
Status: Stable
Current Stable Version: v4
Stable Release Date: 2018-10-29
Created 2018-10-04
Last Updated 2018-12-20
Screenshots
Reserved
Thanks for the kernel! Looking forward to flash it. Will review post few day usage
Interesting. I will try it soon. Hope it suitable with my daily use.
I have flashed it. Let us see how it performs
Sent from my z2_plus using XDA Labs
Why so slow in pubg?
takes forever to start...
Please give faster updates, that's the only hearty request.
---------- Post added at 06:23 PM ---------- Previous post was at 06:21 PM ----------
Sir, can you please add Spectrum app support,it is easy switching between profiles...... ?
Will it work for pe pie??
Pavan420 said:
Will it work for pe pie??
Click to expand...
Click to collapse
Ofcourse
Okay, initial impression.
-Charging rate is fine.
-Pubg gameplay is smooth and this is amazing that it stayed at 40°C for me. I was shocked cuz this was only possible before in Cardinal Rom. Great work dev
-Battery consumption is 13-14% per full length classic match.
- Though the phone doesn't heats as such, but the idle temps are higher than stock Arrow and Moxie ie. >36°C
I haven't done a full charge, so can't really comment in battery.
But this is Greta for initial build. Thanks for this kernel.
Finally a pie kernel. Well managed thermals undoubtedly. Although it is too early to comment. I hope battery lasts. Please move the thread to development section. Also kernel lacks hotplugs, wakelocks, and thermal controls. Also please list the work of each governors as listed on aroma on the thread for easy governor handling. One major missing is option to overclock gpu and cpu both.
PUBG not working
Super fine performance but while on pubg it's taking too long just to load (About 3 mins) then it hangs up at loading screen. I'm on AEX 5.8 rooted.
Kindly Suggest something to resolve this issue. I tried reflashing kernel but it didn't workout.
Thanks again for this Super thing.
I'll add battery backup as soon as possible.
Edit- I have checked with cpu float GPU freq. are not going up.
If this is using aroma for install, can something like ElementalX where you pick the default cpu & gpu clock speeds before installing the kernel possible? Of course setting everything after booting into rom with a kernel manager is fine, but a option to run without a manager would be appreciated
Will try this later today on ArrowOS Pie, as for features Im looking forward to overclocking, thermal and voltage control to be implemented
edit: early benchmark result, with all battery-oriented choice from aroma (darkness governor, noop i/o sched, "No" at playing games). Adreno driver v328 rev3
about the same as a snapdragon 625 according to gb. Gpu performance doesn't seems to be hobbled much
pipyakas said:
If this is using aroma for install, can something like ElementalX where you pick the default cpu & gpu clock speeds before installing the kernel possible? Of course setting everything after booting into rom with a kernel manager is fine, but a option to run without a manager would be appreciated
Will try this later today on ArrowOS Pie, as for features Im looking forward to overclocking, thermal and voltage control to be implemented
edit: early benchmark result, with all battery-oriented choice from aroma (darkness governor, noop i/o sched, "No" at playing games). Adreno driver v328 rev3
about the same as a snapdragon 625 according to gb. Gpu performance doesn't seems to be hobbled much
Click to expand...
Click to collapse
Yep that frequency selection are possible in aroma installer but I not going oc cpu.I'll think about oc gpu
Danish1999 said:
Yep that frequency selection are possible in aroma installer but I not going oc cpu.I'll think about oc gpu
Click to expand...
Click to collapse
Well with how the little cluster's missing 1.56ghz frequency I guessed that asking for cpu oc would be hard although it's obviously the main performance bottleneck and the adreno 530 on a 1080p screen is already fast enough.
Pre-baked undervolting and voltage though would make it I hope? Can predefined uv level be implemented in aroma as well?
pipyakas said:
early benchmark result, with all battery-oriented choice from aroma (darkness governor, noop i/o sched, "No" at playing games). Adreno driver v328 rev3
about the same as a snapdragon 625 according to gb. Gpu performance doesn't seems to be hobbled much
Click to expand...
Click to collapse
Its a known issue. When you upgrade GPU drivers from 2xx on z2, geekbench fails to properly benchmark the device, GPU performance isn't considered. Antutu benchmark doesn't have this issue.
after dirty flashing my rom then flashing the kernel all is going good performance is great but when i play pubg if i try to raise or lower the volume i get flashes in the background of the volume panel . i think its something related to the gpu drivers .
im on aex 6.0 latest
guyz_ahead said:
Finally a pie kernel.
Click to expand...
Click to collapse
Moxie and Nameless are there too!
ahh988 said:
after dirty flashing my rom then flashing the kernel all is going good performance is great but when i play pubg if i try to raise or lower the volume i get flashes in the background of the volume panel . i think its something related to the gpu drivers .
im on aex 6.0 latest
Click to expand...
Click to collapse
Atleast your game is starting mine is just not loading mainscreen. I'm on AEX 5.8.

Categories

Resources