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

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.

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][Stock][CAF][05-06] Redmi Note 3 CAF kernel source

Hi,
I recently bought the redmi note 3 and noticed the lack of kernel support, so I decided to share this with you guys:
https://github.com/daeiron/kenzo_caf_kernel
Its a fully functional buildable kernel for stock MIUI.
Changelog:
05-06-2016
- Merge LA.BR.1.3.2_rb3.28
- Fix camera for some?
28-05-2016
- Enable KSM
- Fix fingerprint on 6.5.26 (xiaomi didn't update their kernel source, so have to use fingerprint hal from 6.5.19)
- Update ramdisk
- Other small stuff
21-05-2016
- Merged to LA.BR.1.3.2_rb3.27
- Merged some patches from ido source drop
15-05-2016
- Tested with 6.5.12
- Full kcal support
- Defauls at boot to 400mhz min freq & bfq scheduler
- Fsync toggle
- State_notifier and state_helper (from neobuddy89)
- Backlight dimmer (from flar2)
- A lot of patches and fixes (see git)
04-05-2016
- Merged to LA.BR.1.3.2_rb3.26
- Upstream patched to 3.10.101
- O3 + makefile optimized
- BFQ, Fiops and SIO
- RGB color support (use custom app like kernel adiutor)
- Other patches (see git)
Limitations:
- No color/contrast/reading mode support, seems they didn't release it as part of the kernel
- In kerneladiutor gpu freq displays at 600mhz, this is just a false reading. Check 'cat /sys/class/kgsl/kgsl-3d0/devfreq/cur_freq' for the real frequency
- If you build the kernel and it won't boot try stock toolchain (https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9) with up to this commit e1a8a48e59638c0d24d2214c2a85046068158a08
To build;
- Clone the repo
- Get yourself a toolchain (I use stock google 4.9 up to commit: e1a8a48e59638c0d24d2214c2a85046068158a08)
- Edit user vars in build/build_kernel.sh
- From kernel root run: sh build/build_kernel.sh
- You end up with a flashable zip file in build/dist/
I am planning on keeping the source up to date with CAF and also sync in the latest patches from kernel.org.
Feel free to fork or use, please mention that you did though.
You can find my flashable zip builds here: https://drive.google.com/open?id=0B7XCSgymRoP0ZjJtSkxuS01kYUk
In oneplus one forum, sultanxda build a CM13.0 with CAF kernel and is pretty smooooooooth
Whoah,
Thank you, I was working on the same thing, this will save me a lot of time.
Yay more dev support, maybe in a month I'll figure out the stuff about building kernels and all that
Thanks for this
Thanks m8 great work
Flashed the kernel, feels snappy but has a big bug, system fails to detect simcard.Tested on both miui and aosp.
sanjib734 said:
Flashed the kernel, feels snappy but has a big bug, system fails to detect simcard.Tested on both miui and aosp.
Click to expand...
Click to collapse
Wich improvements have you felt with this kernel? Share your personal opinion please
EDIT: I´ve googled CAF meaning and didn´t found anything, anyone could help me?
EDIT 2: I´ve flashed and it works perfectly, no bugs, and in Antutu Benchmark got 78.000 points. Feels fast and smooth. Working on Xiaomi.eu dev 6.4.21
Migueliyo98 said:
Wich improvements have you felt with this kernel? Share your personal opinion please
EDIT: I´ve googled CAF meaning and didn´t found anything, anyone could help me?
EDIT 2: I´ve flashed and it works perfectly, no bugs, and in Antutu Benchmark got 78.000 points. Feels fast and smooth. Working on Xiaomi.eu dev 6.4.21
Click to expand...
Click to collapse
caf is Code Aurora Forum
color and contrast disable
am currently using global beta 6.4.21 can i flash this..?
Johnny199314 said:
am currently using global beta 6.4.21 can i flash this..?
Click to expand...
Click to collapse
Yes.
a2820356 said:
color and contrast disable
Click to expand...
Click to collapse
Confirmed. It seems that they didn't include this in their open source kernel.. I already created an issue for it at their git; https://github.com/MiCode/Xiaomi_Kernel_OpenSource/issues/44
thomas1991_12 said:
Yes.
Click to expand...
Click to collapse
needed any modified boot image are just simply flash?
Stock aosp, sim doesn't get detected and Wi-Fi doesn't work
asdafdasdaf said:
Stock aosp, sim doesn't get detected and Wi-Fi doesn't work
Click to expand...
Click to collapse
he has clearly mentioned its for miui 6.4.21
Any possibility to maintain the kernel updated too on aosp? Someone can do it? *_*
Inviato dal mio kenzo utilizzando Tapatalk
Johnny199314 said:
he has clearly mentioned its for miui 6.4.21
Click to expand...
Click to collapse
Sorry that slipped out its 2am I should go to sleep thanks thoug
thomas1991_12 said:
Hi,
I recently bought the redmi note 3 and noticed the lack of kernel support, so I decided to share this with you guys:
https://github.com/daeiron/kenzo_caf_kernel
Its a fully functional buildable kernel for stock MIUI.
Limitations:
- No color/contrast support, seems they didn't release it as part of the kernel
To build;
- Clone the repo
- Get yourself a toolchain (I use stock google 4.9)
- Edit user vars in build/build_kernel.sh
- From kernel root run: sh build/build_kernel.sh
- You end up with a flashable zip file in build/dist/
I am planning on keeping the source up to date with CAF and also sync in the latest patches from kernel.org.
Feel free to fork or use, please mention that you did though.
You can find my flashable zip builds here (ramdisk based on 6.4.21 beta): https://drive.google.com/open?id=0B7XCSgymRoP0ZjJtSkxuS01kYUk
Click to expand...
Click to collapse
Hi! Do you think you could help me with this issue?
http://forum.xda-developers.com/redmi-note-3/help/help-developers-network-issue-t3367436
Probably a stupid question but I did read all the posts. Is this considered a modified 'cracked' boot.IMG?
Sent from my kenzo using Tapatalk
qkall said:
Probably a stupid question but I did read all the posts. Is this considered a modified 'cracked' boot.IMG?
Sent from my kenzo using Tapatalk
Click to expand...
Click to collapse
Are you in aosp?
Inviato dal mio kenzo utilizzando Tapatalk

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

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

[Kernel] [EAS] [CAF PIE BASED] [GCC8] LoverOriented Kernel

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?

Categories

Resources