[Kernel] [EAS] [CAF PIE BASED] [GCC8] LoverOriented Kernel - Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev

Why LoverOriented?
There are many programming language which are object-oriented. In Chinese, the pronunciation of "object" is same as "lover", which is more than just a pun. And a tease that a programmer with a girlfriend .
Note: This is not a kernel with a lot of "useless" features, I will only keep those features that really help for our devices. So you just need flash and enjoy, in general, you don't need to use the kernel controll app to care about the configuration of kernel.
Features:
Based on latest caf pie tag with latest upstream merged
Really much optimized to boost battery and performance for your phone
Full EAS supported with sultan's boost
Build with custom gcc-8.2.1 with cpu-specific optimization
QC3.0 Fast charging (Depending on thermal of your rom)
Doubletap2wake
KCAL Advanced color control
Sound control
Underclock CPU/GPU(CPU mix 175mhz and GPU mix 171mhz)
Undervoltage CPU
Wakelock blocker(already disabled some useless by default)
Adjust or disable vibration
Maple i/o schedulers
Westwood tcp congestion algorithm with many tcp fix from upsteam
Zram support with latest upstream lz4 compression algorithm
NTFS r/w, CIFS and NFS support
Performance and power optimizations
FS fsync toggle on/off
sultan's simple android lmk
File system optimization
Improved sound quality, forced use of high resolution to output
Disabled many debug which are useless for users and keep it clean
AND MUCH MORE
Download:
https://drive.google.com/folderview?id=14U-iwdOskukS8RAkGeBTTsgTL5nP8VsU
Source:
https://github.com/wloot/LoverOriented

DD

I like this.

Awesome, LIUNIAN, study hard! Haha

compatible with MIUI?

SnajperKRS said:
compatible with MIUI?
Click to expand...
Click to collapse
for pie only

Gib us Chiron one God wloot

a test version with f2fs support.
tell me if it works
https://drive.google.com/file/d/1fIvC3cuz-_-JSM8ejaxr2CVIHLaLeoFF/view?usp=drivesdk

AleD219 said:
Gib us Chiron one God wloot
Click to expand...
Click to collapse
build-able and Ultrasound must be broken lol

wloot said:
build-able and Ultrasound must be broken lol
Click to expand...
Click to collapse
Sad

Thank you. :highfive:

i have a problem with this kernel, so i moved to Vantom kernel
sometimes when i push the power button the screen remains black but the hardware buttons are lit, then i press the power button again i try after few seconds its ok, i faced this problem 7 times in 30 minutes

Is F2FS supported?

ulev said:
Is F2FS supported?
Click to expand...
Click to collapse
check the first page. There is a beta 1.5 version with F2FS support

E2sembler said:
check the first page. There is a beta 1.5 version with F2FS support
Click to expand...
Click to collapse
Thanks. I must have been blind...

Hello, can you add interactive original scheduling back to the kernel? If so, could you please send me a copy? Thank you. And in the process of using the ROM you compiled, the frequency of this kernel is 175mhz, but the frequency of ROM kernel is 300mhz. I hope you to change it to 175mhz,

The Kernel works with Pie ROMs only?

A Bug:Can't charge on shutdown

Nice kernel and thanks
Worked with 7.1.1 miui, but wifi does not working

Anyone using this kernel on pe unofficial?

Related

[KERNEL] [4.4] Werewolf kernel v008 [15/02/2015] SM-T210(R) and T211

Hey guys
As you already might have read in either the CM11 dev thread or the Q&A section, I am working on a custom kernel for our T210(R) and T211. It's still in a pretty early stage, but the current build is fully stable, so I thought why not share it
As I'm pretty new to this community, a few words about myself: My (only) device I have been working on is the LG Optimus 4x HD, for which I also made a custom kernel (also named werewolf kernel, who would have thought of that ). Me and 2 other fellow RDs were able to "switch" many blobs with the ones from grouper, which fixed many, many issues we were facing in 4.4 with the stock 4.1 blobs. I am the official maintainer of namelessROM and vanir for the 4x HD, and am also compiling GummyROM, LegoROM, unofficial CM 11 (using grouper blobs) and SlimKat for the 4x HD on a nightly base. And as soon as we have a proper device tree for our tab, I'm sure I can port the Tab3 to all those ROMs
Now, enough chit chatting, let's talk about the kernel
It's based on @ketut.kumajaya's blackhawk kernel (thanks again, mate ) From v004 on we are based on official KitKat sources, with some additions such as:
Features:
Various network tweaks
Entropy tweaks
I/O speed improvements
cortex a9 and neon omtimizations
Added frandom
Tweaked vm dirty ratios
Dynamic read-ahead values
Added I/O schedulers: ROW, SIO, BFQ, FIOPS, V(R)
Optimized AES and SHA1 routines
Added CPU governors: Lionheart, Adaptive, Intellidemand, Hotplug, Hyper
Reduced RAM usage from logger
Updated lowmemkiller
Overclocked to 1.420 GHz by default
Disabled vsync for better 2D performance
Overclocked GPU up to 624MHz (default 416MHz)
Custom user voltage control (CPU)
Undervolted by default (-25mV)
S2W and DT2W (WIP)
Fast Charging
KSM
Bugs:
You tell me!
Installation:
Download the kernel from HERE
Reboot into recovery (recommended to make a nandroid)
Flash the kernel zip
Recommended to wipe /cache
Reboot and enjoy!
And remember to remove phservice if you want to change some CPU/GPU settings yourself
Notes:
See 2nd post
GPL:
Kernel sources
Kernel Modules (only for v001 - v003)
Used defconfig
Used build script
Thanks:
@ketut.kumajaya for the initial kernel base
@gr8nole for general help, info and testing
XDA:DevDB Information
Werewolf kernel SM-T210/T211, Kernel for the Samsung Galaxy Tab 3
Contributors
laufersteppenwolf
Kernel Special Features: Tuned for best possible performance
Version Information
Status: Stable
Created 2014-07-21
Last Updated 2015-05-25
Tweaks and other stuff
Since v002, we have an updated lowmemorykiller. It behaves a bit snappier than the old one, also with the default minfree values. However, in case you like to tweak your device a bit to make it even more snappy (like me ), I tweaked the minfree values a bit to slightly increase the free RAM without really affecting the multitasking experience. The script can be found in the attachment. All you need to do is to extract the script and place it in your /system/etc/init.d/ folder and that's it. The values will be automatically set on boot.
UV interface
The min possible voltage is 1000mV for now, and the max one is 1400mV. If you want me to lower the min voltage, please let me know.
Also, please note, that the voltage has to be changed in 12.5mV steps. If you apply for example 1110mV, it will be rounded down to 1100mV.
Fast Charge interface
The main interface is inside /sys/kernel/fast_charge/*
/sys/kernel/fast_charge/force_fast_charge (rw)
0 - disabled (default)
1 - use custom mA configured through the sysfs interface (see below)
/sys/kernel/fast_charge/ac_charge_level (rw)
rate at which to charge when on AC (1.8A to 2.3A)
/sys/kernel/fast_charge/usb_charge_level (rw)
rate at which to charge when on USB (0.5A to 1.0A)
/sys/kernel/fast_charge/failsafe (rw)
0 - disabled - allow anything up to 2.3A to be used as AC / USB custom current (USE WITH CAUTION!)
1 - enabled - behaviour as described above (default)
/sys/kernel/fast_charge/version (ro)
display fast charge version information
New kmsg layout
From v008 onwards the kmsg looks a tiny bit different. Instead of displaying the time since boot, it logs the actual time and date.
Now, you may ask yourself: "does that any good?" Sure it does. When you encounter an issue and grab a log, you can send it my way saying "the issue happened at 15:35". It is way harder to find out the exact time (in seconds) since the device booted, right?
When changing the CPU gov, you might want to keep THIS (4.1) or THIS (4.4) in mind
Changelog:
v008 [15/02/15]
- Disabled zcache
- Added KSM (including deferred timer to save battery)
- Tweaked zRAM
- New kmsg log layout (see 2nd post for more details)
- Fixed kernel version in settings
- Disabled S2W and DT2W by default
When you flash this version, please wipe cache, otherwise bad things could happen
v007 [08/12/04] RIP Beth
- Slightly more RAM from logger
- S2W and DT2W (Still WIP)
- Decreased min possible CPU voltage to 800mV
- Undervolted by default (-25mV)
- Fast Charge support
v006 [01/11/14] MOAH CPU
- Added CPU UV interface
- OC'ed further to 1420MHz
- Max GPU freq limited to 624MHz until all issues are resolved
- Fixed init.d support on T211
v005a Minor fix
- Fixed DeviceControl GPU support
- Output all GPU freqs in Hz instead of KHz
v005 [18/10/2014] SM-T211 support
- Added support for the T211 variant (thanks to @sscsps for testing)
- Merged latest Sammy updates
- Enabled I/O accounting (only needed for devs)
- zcache enabled by default
- GPU OC up to 624MHz (default is 416MHz)
v004 [25/09/2014] Android 4.4 support
- Re-based on latest KitKat sources
- Re-added almost all features from v003
- Removed 156MHz freq step (causing trouble for still unknown reasons)
- Overclocked to 1.344 GHz (instead of 1.205GHz)
- Disabled vsync for better 2D performance
- Disabled "reboot recovery" to avoid being stuck in recovery on old recoveries (special version)
v003 [31/08/2014]
- new govs: Hotplug, Hyper
- new freq step @ 156MHz
v002 [25/07/2014]
- reduced RAM usage from logger
- new/updated lowmemkiller (see attachment in 2nd post for init.d script with tweaked minfree values)
v001 [18/07/2014]
- initial release
good work you link where ? and nice job workıng 4.1.2 ???? 4.2.2 .4.4.2 kernel android version what? @safariking [MENTION=3034891]gr8nole[/MENTION
not working dont flash ı using ultimate rom safarinking by 4.1.2 soft brick device
Not working yet hope you get it working good luck
Sent from my SPH-L720 using XDA Premium 4 mobile app
sorry guys, I just found the issue... my last commit breaks the GPU module so it doesn't compile, doesn't get copied over into the zip and so does not get replaced on your system, but the new kernel cannot load the stock module as I used another defconfig name...
Will be fixed ASAP
EDIT: Fixed and uploaded
laufersteppenwolf said:
sorry guys, I just found the issue... my last commit breaks the GPU module so it doesn't compile, doesn't get copied over into the zip and so does not get replaced on your system, but the new kernel cannot load the stock module as I used another defconfig name...
Will be fixed ASAP
EDIT: Fixed and uploaded
Click to expand...
Click to collapse
Nice work. This kernel works. Will monitor battery life and game performance.
Sent from my SM-T210R using XDA Free mobile app
laufersteppenwolf said:
When changing the CPU gov, you might want to keep THIS in mind
Click to expand...
Click to collapse
is there anyway to flash it on tab 3 t211 kk 4.4.2 firmware
big job thank can you add overclock gpu ? downclock?
gr9nole said:
big job thank can you add overclock gpu ? downclock?
Click to expand...
Click to collapse
You can check if there is OC available by installing "No-Frills CPU Control" from the google play store
a question about toolchain
@laufersteppenwolf
hi, i would like to know which toolchain you used to build this kernel, a direct link to it would be helpful.
also, using the supplied defconfig can i make [defconfig] and then make -j# or are there additional things to do?
i build kernel for tab3 10 fine but setting up my system for sm-t210 is proving stubborn. there is another project going on
that i would like to learn from and help with, your help would be appreciated.
thank you for reading.
m
Anil Shovo said:
is there anyway to flash it on tab 3 t211 kk 4.4.2 firmware
Click to expand...
Click to collapse
I do not think so, as I'm using the ramdisk from t210, which most likely isn't compatible with t211, and sure not with 4.4.2
gr9nole said:
big job thank can you add overclock gpu ? downclock?
Click to expand...
Click to collapse
step by step
moonbutt74 said:
@laufersteppenwolf
hi, i would like to know which toolchain you used to build this kernel, a direct link to it would be helpful.
also, using the supplied defconfig can i make [defconfig] and then make -j# or are there additional things to do?
i build kernel for tab3 10 fine but setting up my system for sm-t210 is proving stubborn. there is another project going on
that i would like to learn from and help with, your help would be appreciated.
thank you for reading.
m
Click to expand...
Click to collapse
for this build, I used CM's 4.6 toolchain, but that'll change soon
I will also push the build script and modules to github ASAP, so just wait for that, as setting up the modules and stuff isn't the most pleasant thing to do
Werewolf is not playing lol so what your saying is that we will be having cm 11 and aosp all the good stuff soon ?
Sent from my SM-T210 using XDA Premium 4 mobile app
I've used this kernel for 2 days. I have noticed the screen flickers on the 2nd day and while watching a movie (while plugged in) the tab was battery drained battery was 30% when I started watching. Can others confirm this?
Goodside. Battery life is enhanced and performance is the same. Nice work on this
Sent from my SM-T210R using XDA Free mobile app
trazfer said:
I've used this kernel for 2 days. I have noticed the screen flickers on the 2nd day and while watching a movie (while plugged in) the tab was battery drained battery was 30% when I started watching. Can others confirm this?
Goodside. Battery life is enhanced and performance is the same. Nice work on this
Sent from my SM-T210R using XDA Free mobile app
Click to expand...
Click to collapse
I was experiencing the exact same flickering myself as well, but on stock kernel
This flickering isn't kernel related, but ROM related. Sammy must have screwed up the auto backlight handling, as it only happens at some certain brightness values
No ir blaster
Edit: This is what I get when I open peel smart remote
laufersteppenwolf said:
I was experiencing the exact same flickering myself as well, but on stock kernel
This flickering isn't kernel related, but ROM related. Sammy must have screwed up the auto backlight handling, as it only happens at some certain brightness values
Click to expand...
Click to collapse
He is tottaly right, also sometimes when you are using this tab, the screen locks by itself
Ripshock said:
No ir blaster
Edit: This is what I get when I open peel smart remote
Click to expand...
Click to collapse
Check your build.prop to see what the ro.build.product shows.
gr8nole said:
Check your build.prop to see what the ro.build.product shows.
Click to expand...
Click to collapse
I am using stockrom series with a build for sm-t210 but I have used device spoofer and spoofed my original build sm-t210r
Ripshock said:
I am using stockrom series with a build for sm-t210 but I have used device spoofer and spoofed my original build sm-t210r
Click to expand...
Click to collapse
It works for me with the stock firmware/rom with this kernel.

[KERNEL][I919x][CUSTOM][TouchWiz][KK4.4.2]

Hellow!
This kernel works only on stock and some custom KItKat 4.4.2 TouchWiz ROMs for Samsung Galaxy S4 mini I9190/I9195/I9192 variants!
Features:
Based on last official kernel source for GT-I9195 (used SilviuMik's branch)
Synced with E370KKTU2BOD2 kernel source (KK 4.4.4 kernel for SHV-E370K variant of Galaxy S4 Mini LTE (announced only for Korea))
CPU Overclock (OC): up to 2052MHz
CPU Underclock (UC) down to 81MHz
GPU Overclock up to 627MHz
CPU Voltage Control (VC)
Hotplug thread infrastructure
Faux123's Intelliplug
MyFluxi MSM-hotplug new
Alucard-hotplug new
Lazy-hotplug new
Gamma control
Faux123's GPL Sound Control 2.1
Sweep2Sleep
Fast charge
Upgraded taus88 to taus113 algorithm for entropy generator
Added and realy used frandom (fast random number generator)
Krait optimized strcmp and memcmp
Motorola MSM memcopy enhancements (memutils) to improve of the memory subsystem performance
CPU-boost new
Quickwakeup new
KSM (Kernel SamePage Merging)
Timer slack controller
Speedup late resume patch for faster wakeup of the device
F2FS support
NTFS support with full read/write access
init.d support
Updated exFAT module to v1.2.12
LZ4 compressor for zSwap new
TCP-cong: westwood, vegas, reno and etc.new
Set SELinux always into "Permissive mode"
Pre-installed bosybox (placed in /sbin folder)
Compiled with Linaro GCC 4.9.4-2015.06 Toolchain
Additional Governors:
Impulse
[*]Intelliminmax
[*]Intelliactive
[*]Lionheart
[*]Ondemandplus
[*]Smartmax
[*]Preservative
[*]Wheatly
[*]Intellidemand new
[*]Alugard new
[*]Slim new
Additional I/O Schedulers:
FIOPS (Fair Input/Output Per Second)
[*]SIO (Simple I/O)
Credits:
@arco68
@Christopher83
@F4k
@junkyde
@SilviuMik
@Grarak​Installation instructions:
for ODIN:
1. Extract XXXX-ALX-x.x.x.md5 from XXXX-ALX-x.x.x.tar.zip
2. Flash with ODIN XXXX-ALX-x.x.x.md5 file​
for CWM:
1. Copy XXXX-ALX-x.x.x.zip (without tar) to your sdcard
2. Reboot into CWM recovery
3. Choose "Install zip from sdcard"
4. Select XXXX-ALX-x.x.x.zip kernel and confirm installation.​
Download:
Link1
Link2​
XDA:DevDB Information
Custom TouchWiz KK4.4.2 Kernel for I9190/I9195/I9192, Kernel for the Samsung Galaxy S 4 Mini
Contributors
alexax66
Source Code: https://github.com/alexax66/KitKat_kernel_samsung_msm8930-common
Kernel Special Features: CPU and GPU Overclocking, CPU Underclocking, CPU Voltage Control, Advanced CPU hotplugs, Gamma control, Faux123's Sound Control, Sweep2Sleep, Additional Governors and I/O Schedulers, KSM, F2FS, NTFS, Timer Slack Controller, Fast charge
Version Information
Status: Stable
Current Stable Version: ALX-0.1.2
Stable Release Date: 2015-11-15
Current Beta Version: ALX-0.1.3
Beta Release Date: 2015-12-30
Created 2015-08-15
Last Updated 2015-11-18
How to use kernel features
- for CPU, GPU, Hotplug and Gamma Control tunings use Kernel Auditor by Grarak
- for Faux123's Sound Control tuning use FauxSound Audio/Sound Control
- set of some features for switching through a parameters of the build.prop:
For all kernel version:
- to enable Sweep2Sleep:
Code:
ro.config.sweep2sleep=true
- to enable init.d support add in build.prop:
Code:
ro.config.sysinit=true
Only for ALX-0.1.0 and later:
- to enable KSM:
Code:
ro.config.ksm=true
Only for ALX-0.1.1 and later:
-to enable Adaptive LMK:
Code:
ro.config.adaptive_lmk=true
Read about how adjust LowMemoryKiller with management of not killable processesin
Only for ALX-0.1.2 and later:
Use only one of this hotplugs!
-to set Alugard-hotplug as default:
Code:
ro.config.alucardplug=true
-to set MyFluxi MSM-hotplug as default:
Code:
ro.config.msm-hotplug=true
-to set Intelli-hotplug as default:
Code:
ro.config.intelliplug=true
-to set Lazy-hotplug as default:
Code:
ro.config.lazyplug=true
Chaneglog:
ALX-0.1.0
ALX-0.1.1
ALX-0.1.2-Release
ALX-0.1.3
Full Changelog
Kernel tested by me over month, all :good:
---------- Post added at 09:23 AM ---------- Previous post was at 09:10 AM ----------
One thing, gamma control work only in device control app, and after reboot is set by default, maybe in future is will be fixed
can i use with ploiki's rom?
00ehsan00 said:
can i use with ploiki's rom?
Click to expand...
Click to collapse
I not test this kernel in ploiki's rom, but i think that it work without any problems.
OOMMGG!!! Finallyyyyyy!!! I can't believe it!!!
THANK YOUUUU! :victory: :good:
o0chtm0o said:
OOMMGG!!! Finallyyyyyy!!! I can't believe it!!!
THANK YOUUUU! :victory: :good:
Click to expand...
Click to collapse
Yep)))
Some summer day i tired waiting kernel from f4k and ask my friend alexax66, he say ok no problem, next day i tested first version
P.S.
By the way, he not use stock, he use CM, and he did it for us just because he good man :good:
denon480 said:
Yep)))
Some summer day i tired waiting kernel from f4k and ask my friend alexax66, he say ok no problem, next day i tested first version
Click to expand...
Click to collapse
Wow! It's INCREDIBLE!! I have no words. I hope it's not the first and last work, I hope OP can continue with this project. It's amazing! I was waiting for this since loooooong time ago, losing any hopes
o0chtm0o said:
Wow! It's INCREDIBLE!! I hace no words. I hope it's not the first and last work, I tope OP can continúe with this project. It's amazing! I was waiting forma this since loooooong time loosing any hopes
Click to expand...
Click to collapse
not first and not last)))
Soon, OTG and maybe ext4 support
it's stable and there is no battery drain with overclock and underclock.
it's fully work with ploiki's rom too.
do u have plane to add otg and bln support?
and another question is that how can i use sweep2sleep?
thanks again for kernel.:good:
00ehsan00 said:
it's stable and there is no battery drain with overclock and underclock.
it's fully work with ploiki's rom too.
do u have plane to add otg and bln support?
and another question is that how can i use sweep2sleep?
thanks again for kernel.:good:
Click to expand...
Click to collapse
We test some new patches bln, dosent work
add in build.prop
ro.config.sweep2sleep=true
reboot
swipe on the bottom screen from left to right, is lock the phone
Tested new kernel with memory patches.
Just for info, work on kernel dont stop
Very very good job... I appreciate your work with this kernel ... I have only one question if is possible, what are the best governor and scheduler to use for a balance between performance and battery?
Sent from my GT-I9195 using xda premium
petrevirgil said:
Very very good job... I appreciate your work with this kernel ... I have only one question if is possible, what are the best governor and scheduler to use for a balance between performance and battery?
Sent from my GT-I9195 using xda premium
Click to expand...
Click to collapse
I personally like ondemand/cfq I find it makes things that tiny bit more responsive like 1080p video recording and scrolling thru my Google Keep widget. Ondemand for me gives some of the best battery.
who have tested this kernel with the rom "N5 four mini" ?????
better than silviu for battery ???
Will this work on I9192?
Loulou-13 said:
who have tested this kernel with the rom "N5 four mini" ?????
better than silviu for battery ???
Click to expand...
Click to collapse
I'm currently using this with N5 four mini rom, works so awesome, incredible battery life, there is just one problem though, private mode does not work with this kernel, but they said its because of the rom not fully compatible with the kernel., i don't know if this works fine with s6 port 5.1, havent tried yet.
Can I use with S6 Mini Port Rom
alexax66
sajid0786 said:
Can I use with S6 Mini Port Rom
alexax66
Click to expand...
Click to collapse
Yes, you can use this variant

[KERNEL][G935FXXU1APFG][Aug 14] ImageBreaker Kernel for S7 edge/flat v1.0

I am NOT responsible for any damage done to your device, your neighbor, or any other things you like/hate.
FEATURES:
Compiled with SaberMod 5.3 Toolchain
Ofast and some GCC Optimizations
Binder Optimizations
Cpuidle Optimizations
Some AArch64 improvements Merged
Some cache line aligned Optimizations
Reworked Samsung's DVFS
Debloated Device Tree
Disabled kernel debug configurations
FIOPS I/O Scheduler
Mount as Lazytime by default
Tickless System
Entropy Optimization
Improved CPU Governor & Scheduler
Disable big cores when screen off
Voltage Contorl
Synapse Supported
Zcache added
Optimized VNSWAP
Other misc optimizations
NOTICE:
Please use newest TWRP Recovery
Make sure your DATA partition is not encrypted
Make sure you have an EFS backup
If you like my work, Please vote this thread 5 stars!!!
DOWNLOAD:
https://drive.google.com/file/d/0BzF1xgn4nprrXzJvWGZ0bHpBdUk/view?usp=sharing
Thanks/Credits:
jesec for his patch to fix fingerprint problem
https://github.com/DevriesL/Exynos8890_ImageBreaker/graphs/contributors
XDA:DevDB Information
ImageBreaker Kernel, Kernel for the Samsung Galaxy S7 Edge
Contributors
Devries, jesec
Source Code: https://github.com/DevriesL/Exynos8890_ImageBreaker
Version Information
Status: Stable
Current Stable Version: v1.0
Stable Release Date: 2016-08-14
Created 2016-07-10
Last Updated 2016-08-14
Changelog:
v1.0
1. Add Zcache
2. Optimize VNSWAP
3. Optimize interactive governor
4. Give performance mode more performance
v0.9
1. Add DVFS limitation control
2. Some misc optimizations
v0.8
1. Add voltage contorl
2. Add synapse support
3. Back to stock DVFS limitation when temp high
4. Some misc optimizations
v0.7
1. Disable big cores when screen off
2. Some misc optimizations
3. Fix single sim S7 flat signal issue
v0.6
1. Update to G935FXXU1APFG
2. Add Lazytime mount option
3. Config Tickless System
4. Add Entropy Optimization
v0.5
1. Add FIOPS Scheduler
2. More cpuidle Optimizations
3. Some scheduler&governor Optimizations
4. Make DVFS cpufreq limit flexible(improve battery life)
v0.4
1. Disable some kernel debug configurations
2. More AArch64 improvements
v0.3
1. Update to G935FXXU1APF2
2. Debloat Device Tree
3. Add some cache line aligned Optimizations
4. Remove big core limitation
v0.2:
1. Disable SELinux
2. Binder Optimizations
3. Cpuidle Optimizations
4. Merge some AArch64 improvements
5 Add GCC Optimizations
v0.1:
1. Fix build error to compatible with SaborMod GCC 5.3
2. Use Ofast optimization
Reserved...
Great work bro nice to see more stuff here :good:
Great work,dev! Nice to see new kernels for our beautiful device here Thanks! :good: :good:
Anyone tried this?
Edge of insanity
wow nice work bro ?
Sent from my SM-G935F using Tapatalk
Awesome to have another kernel to test. Grabbing v0.4 now. Cheers!
dynospectrum said:
Awesome to have another kernel to test. Grabbing v0.4 now. Cheers!
Click to expand...
Click to collapse
Not many reports about this yet. How is it?
Edge of insanity
Please make it for the S7 flat too
Gesendet von meinem SM-G930F mit Tapatalk
Smooth kernel...
Sent from my SM-G935F using XDA-Developers mobile app
I must say that I love the performance from the kernel,thank you.
Can anyone comment on battery?
Edge of insanity
liam_davenport said:
Great work bro nice to see more stuff here :good:
Click to expand...
Click to collapse
Soft4y said:
Great work,dev! Nice to see new kernels for our beautiful device here Thanks! :good: :good:
Click to expand...
Click to collapse
sagarb said:
wow nice work bro
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
dynospectrum said:
Awesome to have another kernel to test. Grabbing v0.4 now. Cheers!
Click to expand...
Click to collapse
Thanks for your encouragement!!!
sswagonman said:
Can anyone comment on battery?
Edge of insanity
Click to expand...
Click to collapse
Battery life maybe shorter than stock kernel in version 0.4,
Because I have unlocked big core limitation but not add other control code yet...
Devries said:
Battery life maybe shorter than stock kernel in version 0.4,
Because I have unlocked big core limitation but not add other control code yet...
Click to expand...
Click to collapse
Thanks. Just flashed and definitely smooth with renovate rom. Nice work. Looking to see how this progresses. Thanks again
Edge of insanity
Devries said:
Battery life maybe shorter than stock kernel in version 0.4,
Because I have unlocked big core limitation but not add other control code yet...
Click to expand...
Click to collapse
Hello, can you explain about the big core limitation ?
What's the difference between this kernel, and Jesse's kernel and other kernels like AEL? There are too many kernels in this thread which are mostly the same, except maybe 1-2 minor differences. That doesn't warrant a new kernel, maybe devs should collaborate with each other and keep minimal number of kernels, having so many of them just causes confusion and bloat, especially when all of them are almost the same in features/functionality. I am seeing people create new kernels with tiny modifications, which is just a waste, rather submit them as patches to kernels that many people already use in this thread, like Jesse's or Superkernel.
micr0g said:
Hello, can you explain about the big core limitation ?
Click to expand...
Click to collapse
Samsung modified interactive governor, That gives TouchWiz a port to control which to judge in application can let big core to work, If not, Limit the big cores freq...
Devries said:
Samsung modified interactive governor, That gives TouchWiz a port to control which to judge in application can let big core to work, If not, Limit the big cores freq...
Click to expand...
Click to collapse
Nice,thanks for the explanation.
Great that you keep your source near to stock with no uc/oc etc,i believe it's the only way to keep the good performance,and in combination with stock odexed rom i love it.
What's your opinion about the sabermod toolchain,i remember it was better for the battery but linaro for performance.

[KERNEL] HackKernel 0.4 [EMUI Based 4.1][Sabermod][-03 pipe]

Features:
- Compiled with SaberMOD toolchain with -o3 flags
- Linux 3.10.107 (UPSTREAM TO LINUX 3.11)
- Kernel self-protection and high quality ASLR
- Dynamic management of dirty page writebacks, expire and cache pressure
- Optimized AES and SHA1 routines for ARM cpu architecture
- Optimized SLUB memory allocator
- Optimized ARM RWSEM (read/write semaphore) algorithm
- Optimized asynchronous I/O latency on solid state disks
- Optimized string and memcopy libs
- Filesystem dynamic read-ahead (based on disk size)
- CIFS support
- Fast Random generator (frandom) support
- Dynamic FSync v1.2
- Dynamic dirty page writebacks
- VM tweaks for performance and less battery consumption
- Revised LowMemoryKiller parameters for better performance
- Dynamic management of the minimal timer slack value during suspend/resume
- LowMemoryKiller management of not killable processes
- WakeLock Taggles by FranciscoFranco
- Controls for sched features (Attributes can be found under /sys/kernel/sched/*) (like arch power)
- NVIDIA power suspend
- Many, many patches from others kernel sources (like 3.14.x and 3.18.x)
- Smooth, Smooth!!!!
- Many patches (Check all commits here)
Support
- Only EMUI 4.1 based roms (like AOSPA)
Intallation
- Download Here current version
- Flash via TWRP
- Enjoy
(NOTE) Signal take arround of 2 min.
DOWNLOADS SECTION:
V04 (BREAK)
HackKenrel 02 Stable
HackKernel 01 (Data Broken)
GitHub:
GITHUB
Does it work on emui 4.1?
Xyzko said:
Does it work on emui 4.1?
Click to expand...
Click to collapse
Yes. Please read The full OP.
Wow, awesome, which one is better, what do you think? Simple or Hack kernel? Does it have fcking good performance?
D1stRU3T0R said:
Wow, awesome, which one is better, what do you think? Simple or Hack kernel? Does it have fcking good performance?
Click to expand...
Click to collapse
@xperiafan13 did you fixed gpu?
are all CPU kernels functional or just the first four?
bandos23 said:
are all CPU kernels functional or just the first four?
Click to expand...
Click to collapse
Should be... I wait someone to test it xd don't wanna be first.
@xperiafan13
I flashed this kernel and its awesome. I used impulse governer and found a bug.
I cannot use by data although there is H+ seen at the signal bars.
udtul said:
@xperiafan13
I flashed this kernel and its awesome. I used impulse governer and found a bug.
I cannot use by data although there is H+ seen at the signal bars.
Click to expand...
Click to collapse
Hello, what version of emui have?
I check this......
xperiafan13 said:
Hello, what version of emui have?
I check this......
Click to expand...
Click to collapse
Did you fixed gpu? Can @kosmitchak improve your kernel a little bit, if he can? Is it mainly for p8lite or modified from 4c?
Tried to flash it on MM 4.1.3 and got bootloop...
ekobaltika said:
Tried to flash it on MM 4.1.3 and got bootloop...
Click to expand...
Click to collapse
Maybe only emui 4 and 4.0.3
OP, please can you put the right link to your kernel source code in the OP ? As I think you already know, is mandatory to put a valid link on OP with your kernel source code - including absolutely all changes to the stock kernel
Thanks for understanding !
D1stRU3T0R said:
Maybe only emui 4 and 4.0.3
Click to expand...
Click to collapse
Probably you're right.
Installed, seems fine but the cellular data connection is not working, wifi works fine.
It has less governor profiles than SimpleKernel like Pmc, smartmax are missing.
It will be great to have everything in one place. Good job! :good:
Rom : Emui 4.0.3 B610 Basic
surdu_petru said:
OP, please can you put the right link to your kernel source code in the OP ? As I think you already know, is mandatory to put a valid link on OP with your kernel source code - including absolutely all changes to the stock kernel
Thanks for understanding !
Click to expand...
Click to collapse
Sure, please wait me, mi internet connection is a sheet... but yes
xperiafan13 said:
Hello, what version of emui have?
I check this......
Click to expand...
Click to collapse
H+ appears but datanot working.
I am on emui 4.0
Version: chinese aleU00 b575
Thanks
Please upload the source to github end let @kosmitchak to fő his own things, so we can have Simple V2 Hack kernel? your kernel is soo fcking interesting, and his one has alot of performance. We would like to see 1 combined version, and please, try to search for cpu/gpu overclock.
Btw, surdu has more likes than op... Shame on the community.
D1stRU3T0R said:
Please upload the source to github end let @kosmitchak to fő his own things, so we can have Simple V2 Hack kernel your kernel is soo fcking interesting, and his one has alot of performance. We would like to see 1 combined version, and please, try to search for cpu/gpu overclock.
Btw, surdu has more likes than op... Shame on the community.
Click to expand...
Click to collapse
whe i return to my home i upload all code, plaese be patient
Quick off topic: kernel 3.10 will be supported till 2017 October, so we can get one big update.

[ALL][Kernel][8.1][AOSP] LightningZap! Kernel

Greetings all!
Introducing LightningZap! kernel for the Moto Z2 Force. It is based off Pantheon kernel with some of my own little tweaks and enhancements to improve performance and battery life.
Pantheon features:
Upstream kernel from source
Edits to avoid Safetynet/CTS (If you have root, it will fail signature check inherently without SUhide or Magisk hide)
Disabled CRC check
Disabled dm-verity
Over Clock / Under Clock on CPU Frequencies added:
Little CPU: 175 MHz, 230 MHz, 2035 MHz
Big CPU: 175 MHz, 230 MHz, 2476 MHz; 2592 MHz
Slight undervolt (our device is overvolted compared to other msm8998 devices)
UC GPU (added 180 Mhz step for battery savings when web browsing, low GPU usage)
OC GPU (changed 710 MHz to 750 MHz)
Same Adrenoboost tweaks as the Pixel 2 ElementalX kernel.
Wakelock fixes by Boeffla
Added Zen, FIOPS, BFQ, and SIO IO schedulers
LigthningZap! Features:
Insane readahead tweak: No need to raise readahead cache with a kernel tweaker. With this tweak all partitions are set to their maximum readahead possible and is handle by the io-scheduler. This tweak is best used with FIOPS (set by default), BFQ and SIO schedulers. I haven't ran many tests on other schedulers.
LightningZap! sysctl tweaks: Adjust values for kernel system controls for better performance and battery life.
Lionheart governor added: This is the recommended governor for LightningZap! kernels. I have set the dbs_tuners_ins.sampling_rate and min_sampling_rate to 100 (lowest value)so the end user can adjust the values in their favourite kernel tweaker add to suit their needs. It's very simple, when setting the sampling rates, a high number will improve battery life but performance will take a slight hit, and a lower number will increase performance but battery life will take a small hit. Values for these range between 100-1000. This governor is not set by default, but can be set with you favourite kernel tweaking app
Aroma Installer: Same options as in Pantheon kernel for now. More to come as I work them in.
Compiled with Linaro 4.9 only (no clang here)
See second post for fixes, improvements, changelogs, and downloads
Source code: LightningZap! kernel for nash
Flashing Instrcutions:
Device must be rooted with custom recovery (TWRP)
Place LightningZap! kernel for nash on sdcard
Reboot to recovery and flash .zip
Follow on screen prompts
Re-flash root (Magisk)
Reboot, wait 15 minutes, and enjoy
For further adjustments, I recommend Kernel Toolkit
I wasn't going to post this kernel, but since there is very little other support and options going on with this phone, I changed my mind. I ask everyone to keep things civil, do your best to stay on topic, be patient when asking/answering questions, try to search for an answer before you post a question, and PLEASE make a backup.
Special thanks to Uzephi for the base source code (Pantheon Kernel)
Fixes, Improvements, Changelogs, and Downloads
LightningZap! kernel for nash v1.0 (Download link)
Insane readahead tweak (v2)
LightningZap! sysctl tweaks
Lionheart governor
Aroma Installer
Compiled with Linaro 4.9 only (no clang here)
USB Tethering fixed
Working on LineageOS?
matheusgcdj said:
Working on LineageOS?
Click to expand...
Click to collapse
He used my LOS base. Will work on LOS, but not other AOSP ROMs. @thomas.raines, you might want to start merging from o8x-caf. Your kernel is at 4.4.132 latest stable is 4.4.138. (Just going off your git). It might make WiFi break with LOS, but @npjohnson stated they will be merging those caf commits in the very near future where you don't need two forks anymore.
Thanks for the USB tethering fix as well. Merged into mine today and sending a release shortly.
Edit: oh, yeah, verity bypass isn't in my kernel anymore, so if you want to add it, you might want to pick it from EX, Franco, or Kirisakura kernels. Didn't see the point, so when I rebased, I didn't pick it in.
matheusgcdj said:
Working on LineageOS?
Click to expand...
Click to collapse
Haven't tested. Would be nice if you tested for me...
Uzephi said:
He used my LOS base. Will work on LOS, but not other AOSP ROMs. @thomas.raines, you might want to start merging from o8x-caf. Your kernel is at 4.4.132 latest stable is 4.4.138. (Just going off your git). It might make WiFi break with LOS, but @npjohnson stated they will be merging those caf commits in the very near future where you don't need two forks anymore.
Thanks for the USB tethering fix as well. Merged into mine today and sending a release shortly.
Edit: oh, yeah, verity bypass isn't in my kernel anymore, so if you want to add it, you might want to pick it from EX, Franco, or Kirisakura kernels. Didn't see the point, so when I rebased, I didn't pick it in.
Click to expand...
Click to collapse
I'm using your AOSP branch (I thought)... It's working on AOSiP flawlessly. Thanks for the heads up on the verity bypass. I'm actually working on that now, but not sure if I'm going to or not... Glad I could help with the USB thethering...
thomas.raines said:
Haven't tested. Would be nice if you tested for me...
I'm using your AOSP branch (I thought)... It's working on AOSiP flawlessly. Thanks for the heads up on the verity bypass. I'm actually working on that now... Glad I could help with the USB thethering...
Click to expand...
Click to collapse
Pantheon branch is stale, o8x-caf is current.
Motomods?
Sent from my Moto G4 Plus using XDA Labs
KelleyCook said:
Motomods?
Click to expand...
Click to collapse
If it comes off my source, Motomods should work.
thomas.raines said:
Haven't tested. Would be nice if you tested for me...
I'm using your AOSP branch (I thought)... It's working on AOSiP flawlessly. Thanks for the heads up on the verity bypass. I'm actually working on that now, but not sure if I'm going to or not... Glad I could help with the USB thethering...
Click to expand...
Click to collapse
Removed the stale branch. My source just got 4.4.139 merged into it. I use Nathan Chancellor's msm-4.4 tree if you ever don't want to wait for jbats or I to push the Linux-stable commits.
Uzephi said:
Removed the stale branch. My source just got 4.4.139 merged into it. I use Nathan Chancellor's msm-4.4 tree if you ever don't want to wait for jbats or I to push the Linux-stable commits.
Click to expand...
Click to collapse
Just merged the 08x-caf branch... Thanks
So if flashed on stock and it broke my Wifi how do I go about fixing it? This Moto Z2 force is like starting all over. I thaught i was good at this once? Other than no WiFi the kernel works great. Thanks for the development this phone needs all it can get.
I got a bootloop. Any advice?
I'm on Lineage OS 15.1-20181106.
zZLord said:
I got a bootloop. Any advice?
I'm on Lineage OS 15.1-20181106.
Click to expand...
Click to collapse
Unless OP updated for Treble (mounting /vendor instead of /oem) this won't work on Treble. Any LOS built after August is Treble enabled. Try with DU official.

Categories

Resources