[Kernel] [LineageOS_15.1] [KLTE] OreKazu-Kernel Project [BETA] - Galaxy S 5 Original Android Development

Welcome to OreKazu-Kernel Project
My main objective for this kernel project is to somewhat keep it simple but include a few features that I find useful , it won't be bloated with all the features out there.
I decided to share this kernel (at first it was a personal project ) with the great S5 community. Im a noob at this so don't expect much (lol) , as far as I know this kernel was complied under KLTE but my variant is a KLTEVZW , so my guess any other variant that can run KLTE kernels this should work as well.
OreKazu-Kernel is still in beta stages but it still works very well.
* Features of this Kernel*
- 268mhz CPU
- Smartmax eps CPU Gov
- CPU Boost
- Input Boost
- CPU Voltage Control
- Mako Hotplug
- GPU Overclocked to 600mhz ( since LOS15.1 still has a power drain issue higher gpu freq will def drain even more , keep that in mind )
- GPU Overclocked to 657mhz
- GPU UnderClocked to 27mhz
- Adreno Idler
- Kcal
- USB Fast Charge
- Kernel Samepage Merging
- LMK (soon switching to @fbs 's version)
- Few TCP Congestion Algorithm
- and maybe other features to come..
Download : Rebasedv3 Latest Download ( !! This link will be updated with each release !!)
XDA:DevDB Information
OreKazu, Kernel for the Samsung Galaxy S5
Contributors
KazuDante, haggertk, sunilpaulmathew, LineageOS , @fbs , @ktoonsez , @hispasian, @CrazyGamerGR and @To all of you for trying my kernel......Thank You.
Source Code: https://github.com/KazuDante89/android_kernel_samsung_msm8974
Kernel Special Features: Listed in Original Post
Version Information
Status: Beta
Current Beta Version: v2.0
Current Rebasedv3 Version: v1.4
Beta Release Date: 2018-01-27
Created 2018-01-27
Last Updated 2018-03-16

Reserved
01/27/2018 - Initial Release (Beta).
01/29/2018 - Added MSM MPDecision Hotplug
- Sound Control
- Sound Control Gain Level increased by default ( thanks @sunilpaulmathew ).

Reserved

Nice to see your kernel @KazuDante
Good luck...

sunilpaulmathew said:
Nice to see your kernel @KazuDante
Good luck...
Click to expand...
Click to collapse
Its mostly thanks to you that this was possible. Thank you Mathew:highfive:

Great work...

OreKazu-Kernel v1.6 Released
check the OP for download link (updated as always)
Check reserved for changes made to the kernel.
Enjoy!!

Update
V2.0 is now out .
Kernel as been started back off from the ground ( :crying: ) up due to some issues i faced , heck it might start off from scratch again but that time it would be due a switch to a different ( new laptop) workstation.
-sound control was removed due to instabilities from initial Lin15-1 so adding sound control only made it worst ( in my experience)
-a few other stuff are not added back yet but a few thing were added.
- since this is not stable/official release i won't bore you with the details , as always same download link from OP is updated to current release.

OreKazu-Kernel-Rebased_v1.0
This is just a re-base launch ( yep started from scratch again lol ) but decided to switch it up a little .
Pretty much the same features with some new added ones that were not in the original Orekazu-Kernel.
Latest Lin15-1 kernel commits as of today.
Also added another gpu gov , and i dont remember if the other Orekazu-Kernel had the added cpu frequencies.
Download link in OP.
Enjoy!!

WireGuard
Hi, what about WireGuard support? Is included in this kernel? Or will be?
Thanks

ZS-Man said:
Hi, what about WireGuard support? Is included in this kernel? Or will be?
Thanks
Click to expand...
Click to collapse
I will look into it , ive never heard of wire guard b4 , but it is an interesting feature. Can't say for sure that it will work unless you know of another samsung kernel that already had the support in it ( that would be much helpful ) , but i will take a crack at it and see if it will work and not cause a loss in anyway.:highfive:

ZS-Man said:
Hi, what about WireGuard support? Is included in this kernel? Or will be?
Thanks
Click to expand...
Click to collapse
It will be difficult to include Wireguard support to any klte kernel atm as it is only available and intended to work on Linux Kernel versions 3.10.y and above.
KazuDante said:
I will look into it , ive never heard of wire guard b4 , but it is an interesting feature. Can't say for sure that it will work unless you know of another samsung kernel that already had the support in it ( that would be much helpful ) , but i will take a crack at it and see if it will work and not cause a loss in anyway.:highfive:
Click to expand...
Click to collapse

sunilpaulmathew said:
It will be difficult to include Wireguard support to any klte kernel atm as it is only available and intended to work on Linux Kernel versions 3.10.y and above.
Click to expand...
Click to collapse
3.10.x kernels and up? , then sadly it wont be able to be supported.
i guess the only option is if Lineage can support it unless it depends on the kernel aspect as well ,if so then thats a no-go for WireGuard.:crying:

Hi.. Awesome kernel.. Btw i manage to port it on hlte with lineage defconfig... I got many features but some are missing and may not work properly because u're using MSM8974PRO.. Can u support MSM8974 too?? Thanx.. Im new in this kind of things btw..

jprimero15 said:
Hi.. Awesome kernel.. Btw i manage to port it on hlte with lineage defconfig... I got many features but some are missing and may not work properly because u're using MSM8974PRO.. Can u support MSM8974 too?? Thanx.. Im new in this kind of things btw..
Click to expand...
Click to collapse
Not sure , since my setup is limited and manually applying the commit for hlte might be a a troublesome task , but none the less i'll give it a shot .

Can the CPU increase 3.0 oc

limalvin1203 said:
Can the CPU increase 3.0 oc
Click to expand...
Click to collapse
It will burn out your phone

Boot loop and how long does it take to boot

limalvin1203 said:
Can the CPU increase 3.0 oc
Click to expand...
Click to collapse
as @kenedielh stated , it will overtime burn(sort of speak)out your device, kill the cpu at one point , also to avoid even more battery drain as Lineage has not fully fix battery drain plus the gpu is at 657mhz compared to stock 578mhz max , also due to past experience testing 3.0ghz its very unstable so keeping max at 2.4ghz is the best course of action in this kernel's case. For example when i was testing Venom Kernel my max cpu freq was always set at 15xxmhz and nothing more and gpu at 657mhz max and between a 100-105 - undervolt ( silicon lottery , your mileage may vary ) .
Also since this is just beta thread im just compiling , testing and sharing builds here , Stable release when ready and very stable/smooth/and power efficient even for gamers like myself , it will be in the Unified section and this beta project will be deleted , think of this as a rough-draft for the main thing to come.( hopefully)

limalvin1203 said:
Boot loop and how long does it take to boot
Click to expand...
Click to collapse
You need to update your lineage to @haggertk's ( taking this opportunity to thank @haggertk ) latest build , i doubt my kernel will work on an old build of lineage since many changes have been made on both kernel and rom sides.
Yours: Kernel date : december 2017
Rom : december 2017
Heres the latest klte build : https://androidfilehost.com/?fid=673956719939820275 " download and flash it then flash OreKazu-Kernel-Rebased right after "
that what everyone else is using if running this kernel , both have to be up to date.

Related

[Kernel][CM13/AOSP]3.4.113_mm_x_kernel_v1.5 (27/10/2016)

x_mm_kernel for CM13 & AOSP marshmallow roms
Disclaimer: You're installing this at your own risk. Please, make nandroid backups before installing any of these kernels. I take no responsibility for damaging your phone.
Same features as seen in the x_kernel for CM12.1. Original Thread: http://forum.xda-developers.com/moto-x/development/kernel-xkernelv1-15-12-2015-t3271780
Main Features
- build with gcc4.9
- Linux Kernel 3.4.113 updates -> "Dirty Cow" fix
- Codeaurora LA.AF.1.1_rb1.18 branch updates
- IoScheduler: Fiops, Sio, Vr, Zen
- Smartmax Governor and the changes by @tdhite
- IntelliActive Governor -> changed frequencies to match msm8960dt
- Intellidemand Governor-> changed frequencies to match msm8960dt
- Interactive Governor -> updates from the razrqcom-dev-team git and much more
- Faux's simple GPU governor
- Faux's IntelliPlug, IntelliThermal, Soundcontrol and USB Fastcharge adaption
- Vibration Strength Control
- Userspace LUT tuning & Colour Calibration, thx to @Gustavo_s
- Zram, Zsmallox, Zcache, Frontswap -> complete Linux Kernel 3.17 backport, a lot of credits goes to the razrqcom-dev-team
- Lz4 compression/decompression
- Kernel Mode Neon + Crypto SHA512 support
- complete lowmemorykiller backport with adaption to vmpressure and many other tweaks
- Rewritten overclocking capabilities up to 1890Mhz, thx to @faux123 fot his initial coding
- Kernel underclocking with a lower frequency of 189 Mhz, thx to @zwliew
- Customizable voltage table / Voltage regulator
- Kernel Samepage Merging tweaks
- disabled sparsemem
- WQ_POWER_EFFICIENT for power oriented workqueues
- LoUIS API for cache maintenance ops
- Scheduler updates
- RCU_FAST_NO_HZ enabled
- massive update regarding kernel's memory managment
- many many more stuff
- init.d script tweaks, see second post
- sweeptosleep
- dt2w & d s2w do not work
DOWNLOAD: download tab Downloads
Credits and Thanks to:
CyanogenMod, Kernel.org, Code Aurora Forum, Google, razrqcom-dev-team and everyone who is involved in developing for the moto x. Check out the commits author in my git.
XDA:DevDB Information
x_kernel, Kernel for the Moto X
Contributors
tycoo
Source Code: https://github.com/tycoo/moto_x_kernel/tree/mm_x_kernel_v1.5
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: v1.5
Beta Release Date: 2016-09-06
Created 2016-09-06
Last Updated 2016-10-28
Reserved
Changelog:
(27/10/2016)
- updates of Linux Kernel 3.4.113
-> Fix of the "Dirty Cow" vulnerability: http://www.xda-developers.com/9-year-old-linux-kernel-bug-dubbed-dirty-cow-can-root-every-version-of-android/
-> commits: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/?id=refs/tags/v3.4.113
Reserved
please download link
Unusualfire said:
please download link
Click to expand...
Click to collapse
In the download tab you can find it
you did it! Thank you so much!
UrielGT-X said:
In the download tab you can find it
Click to expand...
Click to collapse
N/A
omy4069 said:
have wake control and work??
Click to expand...
Click to collapse
argh, you are asking again , it is not announced, so no changes regarding this feature
whenever i ask you something bother, and you answer me with disgust, best left to support the forum and will be best for you ok understood, thanks for all and good luck. i will never ask you again or bother you.
omy4069 said:
whenever i ask you something bother, and you answer me with disgust, best left to support the forum and will be best for you ok understood, thanks for all and good luck. i will never ask you again or bother you.
Click to expand...
Click to collapse
calm down bro, as far as i can see, beside some useful posts in the past, you are asking a lot, which often sounds demanding, for stuff, features, roms ; instead of doing a little research for already given answers, instead of carefully reading the threads and instead of testing the things own your own and sharing your experiences afterwards. This just leads to many unnecessary posts, which dilutes the important contents for everyone more and more (similar i explained to you before already). . and again the last 4 posts, including mine, would not have been necessary. That's my point and i dont like.
Thanks for new kernel. I just installed it.
@tycoo sorry for the question, but I didn't find something related to that, is there the color calibration script included? Thanks in advance for the kernel.
Works well.
Thanks.
Working great! Thanks a lot tycoo.
For those wondering, yes, this has colour calibration script.
Im going to try it with the latest build. Thanks.
Sent from my Moto X using Tapatalk
Fast charge
i have a little bug whe i active the fast charge, i think not work :/ cuz the phone charge the same ime active or not actived the optin
Nice work @tycoo thanks for all ^_^ i can be your teter if you want i have a lot of freee time
ømâr31 said:
i have a little bug whe i active the fast charge, i think not work :/ cuz the phone charge the same ime active or not actived the optin
Nice work @tycoo thanks for all ^_^ i can be your teter if you want i have a lot of freee time
Click to expand...
Click to collapse
Fast charge option is for charging your phone via usb cable connected to your pc as fast as with your power supply.
regards
Boot ok using Ressurrection Remix 5.7.3.
Let the tests begin.
Thanks to bring life to X1.
Cleiton COUT said:
Boot ok using Ressurrection Remix 5.7.3.
Let the tests begin.
Thanks to bring life to X1.
Click to expand...
Click to collapse
work really nice with RR 5.7.3
What is the advantage of this kernel over stock cm13 kernel?

[DISCONTINUED][kernel][J Series 2015][TW-MM] hadesKernel v2.5R [06.06.2017]

Code:
Disclaimer
#include
*
* [B]Your warranty is now void.[/B]
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
Welcome to hadesKernel
Some personal thoughts:
- this kernel works only on J5 2015 versions. I`m not responsable for what can happen if you flash on other devices.
- v2.3 for J5 already includes all the previous things from A5 releases.
- if you take any of my work without my permission i'll report you, and you'll probably get banned.
- you should read at least install instructions stated in this post - i won`t offer support for any issues regarding installation;
- bug reports without device variant and logs can't be considered bugs - make sure you provide detailed info when reporting bugs;
- press 'Thanks' button instead of saying it - it will keep the thread clean and keep me motivated to do more;
- feel free to donate to me if you want to support my work.
Features:
Aroma Installer with root options
SuperSU 2.79 SR3
Magisk v12.0
OTG support enabled
Private mode (for roms that support that feature)
knox 0x0 - borrowed some things from magisk and from @Bulgaricus
CPU overclock to 1.5Ghz
GPU overclock to 720Mhz
J500HXXU2BPK4 update - December security patches
Adreno Idler
intelli_thermal
nvidia relaxation patch
undervolt
Color calibration
prima wlan driver
fast, stable and cool
Latest ramdisk
Permissive kernel
init.d support
maybe more - will update when remember...
Devices:
J500F
J500FN
J500G
J500M
J500H
Bugs:
None (see FAQ on #3 post for any issues)
Instructions:
make sure you have TWRP from here installed (or any other with Aroma Installer support)
download zip and put it into phone's storage
enter TWRP recovery
flash zip
reboot and enjoy
Downloads
Credits:
*DjSteve
*Lord Boeffla
*psndna88
*Bulgaricus
*SuperR
*Faux123
*duki994
*kernel testers
*if i missed someone PM me and i`ll add
XDA:DevDB Information
hadesKernel v2.5, Kernel for the Samsung Galaxy J5
Contributors
corsicanu
Source Code: https://github.com/corsicanu/hadesKernel
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: v2.5
Beta Release Date: 2017-04-26
Created 2017-02-21
Last Updated 2017-07-03
Reserved
Changelog:
v2.5R - 06.06.2017
fixed private mode for roms that support this feature
v2.5 - 26.04.2017
fixed heating on A500G
fixed wifi
re-fixed camera for J5 family
added i/o schedulers back
v2.4 - 25.04.2017
kernel built permissive to avoid some issues
updated ramdisk to latest official fw
added root options in Aroma
added Magisk as root option
removed charging limit for some devices
disabled modules unload
reworked modules implementation,
*now you can switch to any other kernel without wifi or FM Radio issues
reworked knox 0x0 script
revert update to linux 3.10.60 for now
revert add more governors for now
revert add hotplugs for now
revert add i/o schedulers for now
v2.3 - 05.04.2017
fixed camera focus for J series
added support for A500W and A500K
updated to linux 3.10.60
added more governors (alucard/lionfish/barry_allen/intelliactive - these can be unstable-use interactive if you have issues)
added hotplugs (intelliplug/bricked hotplug/alucard/msm_hotplug)
added i/o schedulers (vr/fiops/sioplus/zen) and set FIOPS as default
knox 0x0 - borrowed some things from magisk and from @Bulgaricus
updated powersuspend
ramdisk tune-ups
cpufreq tune-ups
memory/cache tune-ups
v2.2 - 20.02.2017
added support for J5 2015 (J500xx)
added usb fast charge
made cubic tcp default for better net speeds
disabled software CRC for better performance
optimized framebuffer for better performance
added regulator for overclock
undervolted for better battery
lowered safe frequency from 400 to 200mhz
A5S deepsleep fix
added nvidia relaxation patch for better battery
enhance power efficiency
implement fast idling of CPU
reduced high-load and average-load for better battery
enabled arch_power
lowered throttle threeshold and enable it by default
v2.1 - 10.02.2017
Fix FM Radio
Fix OTG for all versions
Fix overheating issues for G
Add support for A3FU
Add SuperSU-v2.79-SR3
v2.0 - 25.01.2017
J500HXXU2BPK4 update - December security patches
Add support for A500H/A500S versions
Add builtin wlan module
Add westwood tcp and make cubic default again
Adreno Idler 1.1, fixed msm_adreno_tz
Add powersuspend
More msm-thermal tweaks
kernel: reduce overheat
Enable multi-core power savings
Add SuperSU SR5 back
Fix Deepsleep for F/G/M
Add 50Mhz and 100Mhz frequencies for low consumption when awake (AOD)
Add dynamic sync 2.0
Add lcd notify
xz: Optimize Sfck Compression
Added Aroma Installer
v1.4 - 22.12.2016
Fixed wifi again for each version
Multitask and battery optimisations + permissive mode enabled
Fix for frequencies not sticking at boot
ramdisk cpu / io / battery tune-ups
Add specific ramdisk for each supported variants
Separate SU from ramdisk
Fixed Kcal (color calibration)
V1.3 - 15.12.2016
add KCAL driver
4sysctl: favor filesystem
GPU OC to 720Mhz
Reverted CPU OC to 1.5Ghz
Fixed wifi for A500G
V1.2 - 11.11.2016
A500FU SuperSU SR3 patch + init.d support
SuperSU SR3 patch + init.d support
Experimental wifi fix
A500FU support
Switch to CUBIC TCP congestion control
arch/arm : compile with hardfloat + neon-vfpv4"
Tune-up for Cortex A53/ARMv8 architecture
V1.0 - 08.11.2016 - initial release
A500GXXU1CPH4 update
OTG and permissive enabling
free-mem optimisations
added SU patched ramdisk
2.07Ghz CPU OC
Enable neon and VFPv3
enable xz compression
Reserved
FAQ:
Q: My wifi is broken after flash. What to do?
A: Flash latest modem available for your device.
Q: Can`t connect to wifi network. What to do?
A: Reboot the phone, reboot the wifi router/ap, make sure you don`t have mac filtering enabled on ap/router.
Q: MAC adress has changed. What to do?
A: There is nothing you can do. That happens because of newer wifi module, built along with kernel, from the latest sources. If you can`t connect see Q2 above. I won`t change back to legacy wifi modules, at least not now.
Q: Device appears as "unauthorized" in adb and notification to authorize doesn`t appear. What to do?
A: Enter developer options, disable usb debugging, wait 30 seconds and re-enable it. Now you should see the notification to allow debugging.
Q: loading
A: loading
One more just in case of need
Deleted.
#Henkate said:
It's nice to see you here.
Click to expand...
Click to collapse
Multumesc!
Great .
Fast Kernel, Stable. (First really good kernel for J5)
From the tester to this build your kernel has worked perfectly. (Commenting here your tester)
My new rom with your kernel is amazing.
Cheers! :highfive:
Thanks @corsicanu ..
I'm using this kernel on my Stock 6.0.1 rom & I must say that this is one of the best kernels for J5.. Its very fast & stable..
Thank You So Much..
---------- Post added at 09:04 AM ---------- Previous post was at 08:59 AM ----------
By Zonik said:
Great .
Fast Kernel, Stable. (First really good kernel for J5)
From the tester to this build your kernel has worked perfectly. (Commenting here your tester)
My new rom with your kernel is amazing.
Cheers! :highfive:
Click to expand...
Click to collapse
Hi @By Zonik ..
Waiting for your rom (v2) bro..
Some q's
Fast charge as in fast charge?? Does our present kernels support that, beacause it's pretty slow.
Any plans to follow it up for a non touchwiz based rom??
does it support skies rom beta ??
corsicanu said:
One more just in case of need
Click to expand...
Click to collapse
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
For me the link doesnt work i just get this:
YuZaGa said:
Fast charge as in fast charge?? Does our present kernels support that, beacause it's pretty slow.
Any plans to follow it up for a non touchwiz based rom??
Click to expand...
Click to collapse
I will quote my friend @Bulgaricus for this
...we force supporting devices such as laptops and desktops that have fast charge to provide the quick charger to our phone.
I will see what can be done in the future for non touchwiz.
Super.Mody said:
does it support skies rom beta ??
Click to expand...
Click to collapse
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
paulo boë said:
For me the link doesnt work i just get this:
Click to expand...
Click to collapse
Just wait more or refresh the page.
Demicro said:
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
Click to expand...
Click to collapse
I added 50Mhz for some certain scenarios, to step down the freq if the load is small - screen on but idle (i have screen timeout set to 10mins), or screen off and awake (for AOD on the roms that have it-my rom for A5). Anyway i have custom script in ramdisk that bypasses stock init.qcom.post_boot.sh and sets custom loads for all the frequencies, so the device can go down even to 50Mhz, but step up if the load is reached, so it doesn't lag at all.
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
I mostly cherry-picked features and fixes, even from your j5(6) kernel [emoji16] since all are based on same soc. This project started as personal kernel, permissive with otg enabled (because A series has OTG disabled by Samsung), and after that decided to add more things and make it public.
Cheers!
Sent from my SM-N930F using Tapatalk
OMG ITS SO SMOOOOOOTTHHHHH. I bearly have any lag:laugh::victory:
Demicro said:
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
Click to expand...
Click to collapse
corsicanu said:
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
Sent from my SM-N930F using Tapatalk
Click to expand...
Click to collapse
You can see the GPU frequency in real time by using these commands in Terminal (PC):
Code:
adb shell
cd /sys/devices/soc.0/1c00000.qcom,kgsl-3d0/devfreq/1c00000.qcom,kgsl-3d0
while true; do cat trans_stat; busybox sleep 0.1; done
1) The path may be different.
2) The current GPU frequency is the one with the asterisk.
3) Total transictions means the total switches between GPU frequencies.
Try these commands to confirm that the GPU frequency is stuck at 720.
We can bring the current fast charging also on custom roms or even improve the fast charging to support custom mAh and stuff like that. But forcing a battery to charge faster than it's limit can demage and reduce the battery life drastically so I think we will leave it just like that. Greetings
corsicanu said:
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
Click to expand...
Click to collapse
Skies Rom beta is a Note 7 Port rom .. so it is Grace UX not touchwiz ..
corsicanu said:
I will quote my friend @Bulgaricus for this
...we force supporting devices such as laptops and desktops that have fast charge to provide the quick charger to our phone.
I will see what can be done in the future for non touchwiz.
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
Just wait more or refresh the page.
I added 50Mhz for some certain scenarios, to step down the freq if the load is small - screen on but idle (i have screen timeout set to 10mins), or screen off and awake (for AOD on the roms that have it-my rom for A5). Anyway i have custom script in ramdisk that bypasses stock init.qcom.post_boot.sh and sets custom loads for all the frequencies, so the device can go down even to 50Mhz, but step up if the load is reached, so it doesn't lag at all.
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
I mostly cherry-picked features and fixes, even from your j5(6) kernel [emoji16] since all are based on same soc. This project started as personal kernel, permissive with otg enabled (because A series has OTG disabled by Samsung), and after that decided to add more things and make it public.
Click to expand...
Click to collapse
I know, that you have cherry pick from me?
I also found something interesting in your code
Referring to the intelli thermal, I do not know why faux124 used a different thermal control for the TSEN8974. I found that version 1 gives some errors in the logcat when I boot up the phone
I also started my kernel for personal use, specifically to be able to use viper4 ? I just needed the kernel to be permissive. And now look where the kernel go
Super.Mody said:
Skies Rom beta is a Note 7 Port rom .. so it is Grace UX not touchwiz ..
Click to expand...
Click to collapse
Grace UX is touchwiz based. Non tw roms are lineage, cyanogenmod, or any other that uses AOSP as base.
Sent from my SM-N930F using Tapatalk
Demicro said:
I know, that you have cherry pick from me?
I also found something interesting in your code
Referring to the intelli thermal, I do not know why faux124 used a different thermal control for the TSEN8974. I found that version 1 gives some errors in the logcat when I boot up the phone
I also started my kernel for personal use, specifically to be able to use viper4 ? I just needed the kernel to be permissive. And now look where the kernel go
Click to expand...
Click to collapse
I removed it from features/changelog since isn`t activated yet. I saw too late in msm8916 defconfig the CONFIG_THERMAL_MONITOR=y so the intelli_thermal isn`t there yet. I can`t even finish the build (lots of errors), and you have errors in logcat ?. You are way far than me. For now i didn`t had time to chase those errors. I`ll look more maybe next week. Anything else interesting in my source? ?
Cheers!

[LOS][KERNEL]DARKKERBAL v1.3

DarkKerbal V1.3 for LOS and LOS based ROMs for Z3 Compact
Features:
1. Overclock upto 2.7Ghz
2. Added multiple governors
3. Added multiple IO Scheds
4. Overclocked GPU to 650Mhz
5.Added Multiple TCP Algorithms
6. QC2.0 Support (Not working right now)
7. F2FS only works for data and cache partitions(just like stock LOS kernel)
8. SUPER AWESOME MEGA PERFORMANTE-BATTERIEEE BALANCE MOD(TM) (jk)
ToDo:
1. Out of ideas ... dont really think you need more from a kernel. But you can request features here, Ill try to add them
2. No adreno idler. sorry.
3. flashable zips
Download:
https://www.androidfilehost.com/?fid=673368273298967234
Please use latest LOS only
Installation:
1. Flash TWRP 3.0.2-1 or 3.1.0-0
2. Flash LOS or any LOS based rom
3. Flash the downloaded DarkKerbal zip.
Bugs:
-You tell me ( @tomascus )
Now now ... you want to report bugs ? Thats awesome . But I need a logcat, method to reproduce the bug, and a rather detailed explanation. otherwise I might just ignore your post.
Changelog:
1.0:
-Initial release
1.1:
-QC2.0 Support added (Needs testing)
-Changed minimum GPU frequency to 100MHz
1.2:
-Fixed issues related to flashing Magisk and Boot Image Patcher
1.3:
-QC charged due to heating issues.
-Compatible with Latest LOS (23rd June) and latest AIM builds
-Compiled with UberTC 4.9 ​XDA:DevDB Information
DarkKernel, Kernel for the Sony Xperia Z3 Compact
Contributors
panzerox123, panzerox123, tomascus, @nailyk @xkeita @rcstar6696 @ShadowElite @malacha @Robot76
Source Code: [url]https://github.com/panzerox123/android_kernel_sony_msm8974/[/URL]
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2017-05-09
Created 2017-05-10
Last Updated 2017-05-10
Wow, we finally have a modified kernel for LOS, great job! I will test it out later..
Is it possible for you to add Fauxsound sound control to the kernel in a future release?
stefx98 said:
Wow, we finally have a modified kernel for LOS, great job! I will test it out later..
Is it possible for you to add Fauxsound sound control to the kernel in a future release?
Click to expand...
Click to collapse
I don't think that's the greatest idea as faux sound is notorious for being buggy/breaking **** when not implemented properly.
An alternative would be boeffla sound or something, I'll look for an alternative and contribute it to this project.
@stefx98 as @_LLJY said I will explore other options
Ok, keep up your good work
Hi!
Thanks for your work. So this kernel is based on 3.4, right? and it's only for Lineage OS?
Thanks!
andry360 said:
Hi!
Thanks for your work. So this kernel is based on 3.4, right? and it's only for Lineage OS?
Thanks!
Click to expand...
Click to collapse
Yep. Only for LineageOS
stefx98 said:
Wow, we finally have a modified kernel for LOS, great job! I will test it out later..
Is it possible for you to add Fauxsound sound control to the kernel in a future release?
Click to expand...
Click to collapse
Fauxsound is dead since Marshmallow, it is now deprecated, and should not be used.
I read about it here:
http://forum.xda-developers.com/showthread.php?p=65346831
It says that fauxsound is bad for the kernel.
Afaik
[emoji7]
Λ.᪃.I.S.Ξ_Z3C_MΛGISK_SUᗱST᪃ΛTUM
panzerox123 said:
DarkKerbal V1.0 for LOS and LOS based ROMs for Z3 Compact
Click to expand...
Click to collapse
This is nice - Well done panzerox!
Don't know if its easy to implement but UV (under volting...) would be nice as well...
Otherwise I'm with you... Some Govs, some I/Os, OC CPU/GPU and done...
But take this as an future suggestion. I'm still not using LOS so I have no vote here actually
fluffi444 said:
This is nice - Well done panzerox!
Don't know if its easy to implement but UV (under volting...) would be nice as well...
Otherwise I'm with you... Some Govs, some I/Os, OC CPU/GPU and done...
But take this as an future suggestion. I'm still not using LOS so I have no vote here actually
Click to expand...
Click to collapse
I might have added undervolting at some point during the last 2 months
/Good job/
panzerox123 said:
Contributors
panzerox123, panzerox123, tomascus, @nailyk @xkeita @rcstar6696 @ShadowElite @malacha @Robot76
Click to expand...
Click to collapse
Good job kerbal magister. Keep this up. But please... Don't take my part of kernel industry in Z3 section. Thanks for your awesome work. Greetings from Poland.
quick charge 2.0 like in the redmi note 3 from franco kernel?
---------- Post added at 05:53 PM ---------- Previous post was at 05:35 PM ----------
also kernel is 3.4.0
latest is 3.4.113
any chance of applying the patches?
veti said:
quick charge 2.0 like in the redmi note 3 from franco kernel?
---------- Post added at 05:53 PM ---------- Previous post was at 05:35 PM ----------
also kernel is 3.4.0
latest is 3.4.113
any chance of applying the patches?
Click to expand...
Click to collapse
QC2.0 is under testing right now . I do not have a QC charger so I have to rely on other's testing.
Yes. Ive tried applying the patches .... Spent 8 hours trying to do it and I got tonnes and tonnes of errors . Ill try again some other time.
Custom kernel for LOS, nice one :victory:
As for new features, from top of my head:
1. Intelliplug hotplug (MPdecision is terrible)
2. GPU lowest freq 27mhz
3. Adreno idler (I saw you mentioned it already)
4. Simple GPU algorithm (by faux if I recall correctly)
Those GPU features should help to improve battery life, as I think the Simple GPU algorithm keeps GPU freq at lowest (27mhz if included) while using the phone, as opposed to 200mhz which is the behavior ATM.
I can't test the kernel sadly since top of my touch has stopped working (was unglued before - f*cking Sony) and I'm in process of selling it, I might go with another Z3C again, however I'm leaning towards Z3, anyway this suggestions should further improve the kernel.
Cheers
Cirra92 said:
Custom kernel for LOS, nice one :victory:
As for new features, from top of my head:
1. Intelliplug hotplug (MPdecision is terrible)
2. GPU lowest freq 27mhz
3. Adreno idler (I saw you mentioned it already)
4. Simple GPU algorithm (by faux if I recall correctly)
Those GPU features should help to improve battery life, as I think the Simple GPU algorithm keeps GPU freq at lowest (27mhz if included) while using the phone, as opposed to 200mhz which is the behavior ATM.
I can't test the kernel sadly since top of my touch has stopped working (was unglued before - f*cking Sony) and I'm in process of selling it, I might go with another Z3C again, however I'm leaning towards Z3, anyway this suggestions should further improve the kernel.
Cheers
Click to expand...
Click to collapse
1. Sure
2. I have just changed lowest to 100mhz rather than 27mhz ... Just to suppress the lag. Ofcourse it can be changed
3. I actually have mentioned that I won't be adding adreno idler. Took me several tries to get compile with it... And when I did, it didn't work properly . :silly:
4. Yup. That's a good suggestion ... Though I'm not sure, I might have added it already. The feature list is what I remember adding. You can look at my GitHub for all the features.
That's sad. I had the same issue and got it replaced under warranty . My battery has actually weakened drastically. So I have upgraded my device and given the z3c to my brother (getting battery replaced soon). So the z3c is my main Dev device for now :laugh:
I hope you can get it fixed
Supersu does not work with this kernel :c appears "boot image patcher failure" in TWRP
frixed said:
Supersu does not work with this kernel :c appears "boot image patcher failure" in TWRP
Click to expand...
Click to collapse
IMHO,
Closed source SuperSu (since v2.76* approximately. was the last by the real, Chainfire after he sold it to CodingCode, who nobody knows) is both a privacy and security concern: SuperSu now belongs to CodingCode which is a subsidiary to a large global telecommunications company, JJWorld Network Technology Co., LTD. Beijing China. I don't trust it and why the secrecy. This is the reason behind the sudden rise of both opensourced: Pierre-Hugues SuperUser and TopJohnWu's Magisk Manager. (Both rapidly playing catch up)
I would never give administrative rights to an authority I do not know, use at your own risk.
[emoji7]
*Some v2.76 stable were being supplied by Chinese website's even before Chainfire had officially released his v2.76, due to a communication error and without his knowledge, and had contained a bug that v2.76 was designed to fix.
Λ.᪃.I.S.Ξ_Z3C_MΛGISK_SUᗱST᪃ΛTUM
frixed said:
Supersu does not work with this kernel :c appears "boot image patcher failure" in TWRP
Click to expand...
Click to collapse
Flashing magisk or anything that involves patching is an issue now. I'll try to fix it ASAP.
New Build out:
-QC2.0
-Changed Min GPU Frequency
-Fixed issues with installing Magisk and other boot image patchers
thanks for your great job. i wonder, is it hard to make it flashable zip? cause it's more practical from adb..
Xperia Z3C cihazımdan Tapatalk kullanılarak gönderildi

[KERNEL][ALL VARIANTS][AnyKernel][v3.0] G3X-Ultimate Kernel for CM and AOSP ROM's

Introduction:
Welcome! I've developed ArtxKernel, with the aim to make a great and clean kernels for CM and AOSP ROM's, but this one is for those that don't want to mess with a lot of features, like a Flash and Use Kernel! Battery life its very impressive and this Kernel is the most clean that I've made, so, enjoy it
Click to expand...
Click to collapse
Features:
- CPU Input Boost
- Gov's: Interactive, OnDemand, Conservative, Powersave, Perfomance, Userspace, pegasusq, zzmoove, Alucard and IntelliMM
- Multicore power saving
- Alucard and Bricked hotplugs
- 27Mhz GPU
- Adreno Idler
- FastCharge Support (Updated, faster than ArtxKernel)
- PowerSuspend Mode
- Kcal color control
- Faux sound control
- Fifo, fiops, sio and zen schedulers
- Frandom support
- Async I/O, 37% more perfomance
- Fsync control
- init.d support
- Selinux permissive
- Fixed simple_ondemand GPU Gov
- 2-Way Stereo Call recording Patch
- PVS Level via sysfs
- Boosted min and max screen Brightness (It's safe)
- RAM, GPU and Battery optimizations
- Some Artx Optimizations
SmoothUnlocker:
If you want an extra boost flash it, check MEGA link, but take in consideration that it will make your Battery drain faster in exchange of perfomance and pure Smoothness
Downloads:
----------
MEGA
----------
Spectrum:
Wanna use it with Spectrum App? Then follow this simple steps:
• Download Spectrum Injector HERE (3rd post) Thanks to @frap129
• Flash the Kernel and then Spectrum Injector
• Put my Profile files in spectrum/profiles folder in your internal memory after boot
------
Profiles
------
• You're done, remember that you can change those configs with a text editor
Bugs:
If you see a bug, let me know and I'll be glad to help you and fix it
Social:
Wanna join a Telegram group of this Kernel? If you have any question or you need help, get in!
(let me know if the link is broken )
----------
Telegram Group
----------
Compatible with:
(Thanks to @marcdw and @jlb1959.01)
- Nougat ROM's
- Marshmallow ROM's
- Lollipop ROM's (Not confimed yet)
Thanks to:
cesarandres_8911, savoca, faux123, LineageOS Team, osm0sis, Feinzer
LG, matthewdalex, Andrei F, yarpiin and me
If anyone is missing here PM me
If you like the kernel and want to do a small donation it for sure gonna help me a lot and keep me motivated! :laugh:
Thank you and enjoy it!
​
XDA:DevDB Information
G3X-Ultimate, Kernel for the LG G3
Contributors
Stayn
Source Code: https://github.com/Artx-II/G3X_Kernel_lge_g3
Kernel Special Features: See above
Version Information
Status: Stable
Current Stable Version: 3.0
Stable Release Date: 2017-07-05
Created 2017-06-28
Last Updated 2017-08-19
Changelog!
Code:
[B]* v3.0[/B]
- Source updated
- Boosted min and max screen brightness (It's safe)
- Added 2-Way Stereo Call Recording Patch
- Added Governors: Alucard & IntelliMM
- PVS Level via SysFs
- RAM, GPU and Battery optimizations
- Some optimizations from Artx Kernel
- Cleaned a lot of code
[B]* v2.0[/B]
- Source updated
- Added Dualsim support
- Added Pegasusq Gov
- Added zzmoove Gov
- Added Alucard and Bricked hotplug
- 27Mhz GPU
- Adreno Idler
- Sound control (Replaces Faux)
- Power Suspend Mode
- Added fifo, fiops, sio and zen schedulers
- Added Frandom
- Kernel Selinux permissive
- Fsync control
- Compiled with updated UberTC
- General optimizations
- Battery improvements
[B]* v1.0[/B]
- Initial release
Smooth as butter, and charging so fast it's almost scary
Thank you
You need a banner for your OP which is called "KernelBae"
Anyway thanks for awesome job and new kernel.
Sent from my LG-D855 using Tapatalk
Stayn said:
Reserved
Click to expand...
Click to collapse
sorry to say but i still cant understand why this kernel when there are ARTX and Light kernels??
and is there any chance that it would work on stock rom ?
mohammadtalha93 said:
sorry to say but i still cant understand why this kernel when there are ARTX and Light kernels??
and is there any chance that it would work on stock rom ?
Click to expand...
Click to collapse
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Stayn said:
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Click to expand...
Click to collapse
COOL.....but after trying every single custom rom MM or N......i went back to modded Stock rom because of stability and Camera Quality.... and literally i have tried EVERY SINGLE ROM out there.
mohammadtalha93 said:
COOL.....but after trying every single custom rom MM or N......i went back to modded Stock rom because of stability and Camera Quality.... and literally i have tried EVERY SINGLE ROM out there.
Click to expand...
Click to collapse
I cannot use stock based ROMs, it's too much lag for me
Stayn said:
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Click to expand...
Click to collapse
Nice too See a New kernel again.. But... You sad its fast er then the other kernel of yours. I'm using the latest LightKernel, so this Ultimate kernel is faster and i want to now if this kernel is better in battery life ?
francois amon said:
Nice too See a New kernel again.. But... You sad its fast er then the other kernel of yours. I'm using the latest LightKernel, so this Ultimate kernel is faster and i want to now if this kernel is better in battery life ?
Click to expand...
Click to collapse
Light and normal kernel has better battery life that depends on how you configure it
Stayn said:
Light and normal kernel has better battery life that depends on how you configure it
Click to expand...
Click to collapse
Allright then You. I will stay with the latest Light Version.
THX for reply
Iv been on this kernel all this morning and so far its great!
PS: Is it possible to add bioshock to this kernel?
Downloaded twice fot f400, both zip corrupted.
khnoizer said:
Downloaded twice fot f400, both zip corrupted.
Click to expand...
Click to collapse
Sorry dude, I re-uploaded it
So, default cpu governor is performance? I hope it doesn't drains battery so much, since I usually prefer to just use the default setting because I believe OP have the best balanced settings there.
khnoizer said:
So, default cpu governor is performance? I hope it doesn't drains battery so much, since I usually prefer to just use the default setting because I believe OP have the best balanced settings there.
Click to expand...
Click to collapse
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Stayn said:
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Click to expand...
Click to collapse
Keep your time. You don't have to push an update all days. Let the users use it for a while and then report. One day with this kernel and report it is nothing. The system need time to get one with the kernel settings
G3X is pretty much beta. ArtX is not beta (IMO). If you want a more stable kernel use ArtX until this one gets all the kinks worked out.
Stayn said:
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Click to expand...
Click to collapse
I think I should also mention that I'm using RR 5.8.3 rom for F400 variant by oadam11, which is also have performance governor by default on its default kernel. Maybe there are something related.
Anyway, take your time, and thank you for your hard work.
EDIT: However, I've tried artxlight 2.1 but its governor wasn't set to performance by default. It was zzmoove.
Hi I have a little problem. When I flash through TWRP I get unsupported device and error 1. My device is d852.

[KERNEL][OOS][PIE][4.4.172][GCC 8.2.1] π-Kernel v4 [27-01-2019]

​
Introduction
Hello everyone, this is my personal kernel for the OnePlus 5/5T.
This kernel is made with a focus on performance, battery life and stability.
Please flash it only on OOS Pie!
Hopefully you will enjoy it!
Telegram Chat
Important thread information!
If you got issues please provide a log.
If you got feature requests, just ask.
OT is allowed.
Flash instruction
On OOS stock kernel:
- Flash kernel zip
On custom kernel:
- Dirty flash stock rom
- Flash kernel zip
Features
Major features
- Up to date with OOS Pie (Stable and Beta)
- Up to date with the latest stable Linux version
- Up to date with the latest CAF tag
- Mainline CFQ scheduler improvements
- Disables dm-verity
- CPU Boost improvements
- Interactive Gov. improvements
- Touchboost
- Wake Gestures
- Sweep2Sleep
- Backlight Dimmer
- Sound Control
- Wakelock Blocker
- USB Fast Charge
- Several subsystems converted to use power efficient workqueues
- Latest WireGuard snapshot
- Westwood as the default TCP algorithm
- Built with a self compiled GCC 8.2.1 toolchain
- ...
Downloads
Primary
Sources:
Kernel: https://github.com/crian/kernel_oneplus5
AnyKernel: https://github.com/crian/AnyKernel2
Credits and Thanks:
- @nathanchance for upstreaming
- @osm0sis for AnyKernel2
- @Sultanxda for being a Dev
- @franciscofranco for having some nice stuff
- and all the other amazing Devs out there
If you like my work and want to support me, buy me a coffee or two: Donate
XDA:DevDB Information
[KERNEL][OOS][PIE][GCC] Pi-Kernel, Kernel for the OnePlus 5T
Contributors
crian
Source Code: https://github.com/crian/kernel_oneplus5/tree/9.0_Beta
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v5
Stable Release Date: 2019-01-27
Created 2019-01-05
Last Updated 2019-01-28
Reserved
Been using this kernel for awhile, and though we have many good options out there (RZ, blu, and the countless custom kernels in the roms we flash daily), I find that π has the best handle on boosting the smaller cores. I also think the input / touch response time is noticeably smoother on this kernel.
TBH it's not the one I'm running right now, but I'll probably be back to π when the next release is posted.
Go to the telegram channel if you need immediate support. I've only tested on stable 9.0.1.
This is the best kernel for the op5
Do not plan to do for custom firmware
Welcome.
[email protected] said:
Do not plan to do for custom firmware
Click to expand...
Click to collapse
Not at the moment.
So you got new op5t?
wOMPZA said:
So you got new op5t?
Click to expand...
Click to collapse
Got one of a friend who bought the OP6.
So yes!
Thanks a lot for sharing your personal kernel for our OP5 9.0.1 PIE .. thank you !!
Please, in the next update give support to "Spectrum".
Wonderful kernel
TioFalopa said:
Please, in the next update give support to "Spectrum".
Wonderful kernel
Click to expand...
Click to collapse
I don't think so...
Update to v2
Changelog
- Merged Linux 4.4.170
- Upstreamed cpufreq times
- Upstreamed sdcardfs
- Bluetooth improvements
- arm64 optimizations
- Switched to HZ 300
- Reduced kernel size
- Boot time improvement
- Fixed issues with Google Camera
AnyKernel2 changes:
- Adjusted read-ahead values
- Added some file permissions
Download
Direct
Commits: https://github.com/crian/kernel_oneplus5/commits/9.0_Beta
Please add support for custom firmware
[email protected] said:
Please add support for custom firmware
Click to expand...
Click to collapse
Currently not planned.
crian said:
Currently not planned.
Click to expand...
Click to collapse
It is regrettable
crian said:
Currently not planned.
Click to expand...
Click to collapse
Hey this kernel has grown tremendously since I started testing it on TG. I used to think this was a "good", not "great", but I wasn't letting it settle. It seriously takes about a good 15 minutes for things to just feel right. If you gave up on this kernel before, try it again, you will not be disappointed in it's reliability.
preference said:
Hey this kernel has grown tremendously since I started testing it on TG. I used to think this was a "good", not "great", but I wasn't letting it settle. It seriously takes about a good 15 minutes for things to just feel right. If you gave up on this kernel before, try it again, you will not be disappointed in it's reliability.
Click to expand...
Click to collapse
Thanks and good advice!
crian said:
Thanks and good advice!
Click to expand...
Click to collapse
OP San, it might be placebo but when I turn on enable_prediction to 1 in the country governor options, I seem to get better performance. This seems to only benefit the little cores, when I enabled it on the big cores I started to suffer a lot of stuttering.
Why is this setting netting me performance? Is it off by default for a major reason?
I think as long as I'm on oos, I can't leave π kernel for now. To my use, this is the best one I can find right now. Huge thanks to the Dev for bringing this kernel to 5T.

Categories

Resources