KERNEL] [LightningZap!-6/6T] [OOS 9.* / Pie Custom ROMs] - OnePlus 6 & 6T Cross Device Development

What is LightningZap! kernel?
It is a lightweight, yet heavily tweaked and optimized kernel geared towards balancing performance and battery life.
Please read this ENTIRE post before downloading and flashing LightningZap! kernel.
Disclaimer: As with all custom kernels, you flash at your own risk. Always make a backup! I nor the associates of LightningZap! kernel, Teamfahq, or the testers group cannot and will not take responsibility for YOUR actions. I cannot always control what works and doesn't work with ROMs other than my own. If there is a bug, feel free to report it with logs, but note that the problem may be due to a conflict with coding int the ROM. If said condition exists, please discuss the concern with said ROM developer. If a bug condition does exist within the kernel and there is a known fix for said bug, please don't hesistate to link me to that fix. Make sure to give credit, thanks, and maybe even a cup of coffee to your developers. If you have a feature request, please feel free to share it as well.
Features:
Based off ElementalX kernel by flar
blue_schedul governor from blue_spark kernel thanks to eng.st
Ondemand gov Optimized for better performance while maintaining battery life
FIOPS ioscheduler by default (suggest leavving it that way)
My insane readahead tweak **** In HDK-Mod kernel manager, it reports "Not in range." This is normal DO NOT adjust. My tweaks optimizes readahead per demand usage.****
LZ4 compression
O3 Optimizations
zram
lz-sysctl tweaks
Sound control (speaker, earpiece and mic)
Backlight min setting
Adjust or disable vibration
Advanced Color Control and K-Lapse
Block wakelocks
NTFS r/w, CIFS and NFS support
WireGuard support
Option to disable fsync
Pass SafetyNet
LightningZap! kernel will work on oneplus 6 and oneplus 6T on stock OOs and most custom roms. There are 2 versions, PIE and NDP.
Diferences
PIE was built for custom roms
STOCK was modified for stock OOS (Does not include commits to fix fps that custom roms need)
NDP was slightly modified for SkyDragonOs by removing wake gestures. Wake gestures are natviely written into SkyDragonOs (and maybe more roms).
I have not tested all roms to see what works and what doesn't. So, I would suggest trying PIE first. If wake gestures (like dt2w) do not work, try NDP. Feel free to report what rom and LightningZap! kernel version you are using.
Bug reporting is HIGHLY encouraged, but please accompany your reports with logs. I cannot do much to fix things without them. Pruning of the logs is deeply appreciated as well.
I feel that if you are here, you already know how to flash a custom kernel. If not, close this page and do some research about it first. This will not erase recovery or root when flashing. But, I would like to quote @eng.stk
Warning: If you come from other kernel or have any issues, you should dirty flash your ROM before flashing LightningZap! zip to avoid problems.
Reflash ROM -> if you want root flash SuperSU or Magisk (default, no plugins/modules) -> flash LightningZap!.
If you are already rooted or upgrading between LightningZap! versions, just flash the kernel zip. Also uninstall or clean data of any kernel control app you're using.
Click to expand...
Click to collapse
Download links:
LightningZap! kernel PIE- Updated 10-07-2019
LightningZap! kernel NDP
LightningZap!-kernel-STOCK
Changelog
XDAevDB Information
LightningZap! kernel for OnePlus 6/6T
Special thanks to:
flar, eng.stk, HolyAngel Kernel Source: OnePlus6T-LZ
Version Information
Status: Stable
Current Stable Version: 2.3
Stable Release Date: 10-05-2019

ROM tracker
Here I will post what version of LightningZap! kernel works with what ROMs. As well as any noted bugs with said rom.
PIE
Most custom roms
NDP
SkyDragonOs
Stock
Stock OOS

It sounds very interesting! But a doubt that not before the SkyDragon rom was running the HolyDragon kernel? This would be the evolution of that kernel?
It sounds very promising! As soon as possible I will try it!

Thank you man!!

thomas.raines said:
Here I will post what version of LightningZap! kernel works with what ROMs. As well as any noted bugs with said rom.
PIE
Stock OOS
NDP
SkyDragonOs
Click to expand...
Click to collapse
Thank you so much. Do you recommend sticking with schedutil, which is default I believe, or do you prefer Onedemand or Blu instead? Thanks again for the kernel, I'm checking it out now.
---------- Post added at 04:18 PM ---------- Previous post was at 04:14 PM ----------
Everything seems great so far except one thing. Has anyone else noticed that their fingerprint sensor stopped working on OOS stable? Or could this just be a coincidence for me?

Ryano89 said:
Thank you so much. Do you recommend sticking with schedutil, which is default I believe, or do you prefer Onedemand or Blu instead? Thanks again for the kernel, I'm checking it out now.
---------- Post added at 04:18 PM ---------- Previous post was at 04:14 PM ----------
Everything seems great so far except one thing. Has anyone else noticed that their fingerprint sensor stopped working on OOS stable? Or could this just be a coincidence for me?
Click to expand...
Click to collapse
Isnt working for me either

fosgate24360 said:
Isnt working for me either
Click to expand...
Click to collapse
Yeah, I tried to reregister my FP but it won't let me.

Ryano89 said:
Yeah, I tried to reregister my FP but it won't let me.
Click to expand...
Click to collapse
It's not going to work on OOS as he's got the FOD hacks required for functional fingerprint on custom ROMs. Doing this breaks fingerprint on OOS, and removing them will break it on custom ROMs. The only way to accommodate both currently is with two separate kernel variants.

Great work Thomas

Riddle5 said:
It sounds very interesting! But a doubt that not before the SkyDragon rom was running the HolyDragon kernel? This would be the evolution of that kernel?
Click to expand...
Click to collapse
Completely different kernel from HolyDragons.
Ryano89 said:
Thank you so much. Do you recommend sticking with schedutil, which is default I believe, or do you prefer Onedemand or Blu instead? Thanks again for the kernel, I'm checking it out now.
---------- Post added at 04:18 PM ---------- Previous post was at 04:14 PM ----------
Everything seems great so far except one thing. Has anyone else noticed that their fingerprint sensor stopped working on OOS stable? Or could this just be a coincidence for me?
Click to expand...
Click to collapse
For governor, use whatever fits your needs the most. I recommend trying all 3 to see which on egives you the most performance and battery life.
return.of.octobot said:
It's not going to work on OOS as he's got the FOD hacks required for functional fingerprint on custom ROMs. Doing this breaks fingerprint on OOS, and removing them will break it on custom ROMs. The only way to accommodate both currently is with two separate kernel variants.
Click to expand...
Click to collapse
Yep... Accidentally merged those commits to the PIE branch. Running new build now. oops...

PIE branch updated. Fingerprint should be fixed now.

The New Update Is Buttery Smooth Bro Great Work Fp Works Better Than Stock Oos the only thing is the gaming performance has came down can experiencing shutter lags, and fps drops any fixes over that rest is just amazing bro .

Dhairya said:
The New Update Is Buttery Smooth Bro Great Work Fp Works Better Than Stock Oos the only thing is the gaming performance has came down can experiencing shutter lags, and fps drops any fixes over that rest is just amazing bro .
Click to expand...
Click to collapse
With your favorite kernel manager app, try using ondemand governor and lowering the up_threshold value adjust the sampling rate.
Using 3D benchmark app with Sling Shot Exteme setting up_threshold at 70 (default value) OpenGL ES 3.1 scored 4632 and Vulkan came in at 4272
Dropping it to 15 (lowest possible value)
OpenGL ES 3.1 scored 4857 and Vulkan came in at 4456
Setting it to 90
OpenGL ES 3.1 scored 4337 and Vulkan came in at 4068
These are overall scores and only an example. Results may very per device.
You can also try raising the sampling_rate as well. But I think the default value is best.
Be aware when adjusting these values, your perfomance vs battery life is effected.
lower up_threshuold will increase performance and decrease battery life whereas higher up_threshold decreases performance but raises battery life. Adjusting these values too high/low can cause the device to become unstable or overheat. Make your adjustments in small increments and if you notice a significant lag or your device is starting to get too hot, you can change them back and avoid complete device failure.
And by battery life, I mean the discharge rate, not the length of time until your battery takes a poop and you have to replace it or your phone.

New download link for pie branch. New branch added STOCK.
So, as pointed out by return.of.octobot , the PIE branch fp worked but became broken after reverting the commit for fp on custom roms. So, I made a new branch for OOS only and the PIE branch is for custom ROMs.

Tried flashing this stock version kernel on OOS 9.0.17 via FK manager app and got the abort message with error as unsupported device. Please see attached screenshot and let me know if there is something I need to change.

deepu458 said:
Tried flashing this stock version kernel on OOS 9.0.17 via FK manager app and got the abort message with error as unsupported device. Please see attached screenshot and let me know if there is something I need to change.
Click to expand...
Click to collapse
Flash in recovery. Since this is not a franko kernel, the franko kernel app won't work...

thomas.raines said:
Flash in recovery. Since this is not a franko kernel, the franko kernel app won't work...
Click to expand...
Click to collapse
Hello dear dev, is it working on 10.3.0 OOS for OP 6?cause the latest build is from October 2019...

James Blode said:
Hello dear dev, is it working on 10.3.0 OOS for OP 6?cause the latest build is from October 2019...
Click to expand...
Click to collapse
The thread title says it all...OOS9/ Pie.

James Blode said:
Hello dear dev, is it working on 10.3.0 OOS for OP 6?cause the latest build is from October 2019...
Click to expand...
Click to collapse
The current released and stable version is for android 9.0/pie.
Thre android 10 version is still in testing.

thomas.raines said:
The current released and stable version is for android 9.0/pie.
Thre android 10 version is still in testing.
Click to expand...
Click to collapse
Thanks for letting me know...ill wait for this great kernel...

Related

[KERNEL] Nougat kernels

To God be the glory, It is finally here: Android N kernels!
@malacore had a good suggestion for me to get started on my AKLU kernels while I wait for more ram for my computer to make my own N builds. I started with JDCTeams's CM14, and hope to branch out to AOSP and others soon.
Feel free to comment if you have tried them on another rom, successful or not, or to leave feedback on these kernels as well. These can be flashed on any JF variant of phone, but I have only personally tested them on JFLTETMO.
Post #2: N kernels
Source: https://github.com/alaskalinuxuser/
Kernel Version 3.4.112
Post created: 11/02/16
Last updated: 9/5/17
Nougat kernels!
For AOKP 7:
(AOKP is now based on LineageOS)
https://www.mediafire.com/folder/h3p473al6xstx/kernels
For SlimRoms 7:
http://www.mediafire.com/file/s3v49439d9k5k1e/AKLU-SLIM-N-JFLTE-intelliplug-20170117.zip
For LineageOS 14.1:
http://www.mediafire.com/file/305w1rnap7qj2he/AKLU-LINEAGEOS-N-JFLTE-intelliplug-20160112.zip
For RR 5.8.0:
(RR is now based on LineageOS)
http://www.mediafire.com/file/0nq9p5qq5mx9q8u/AKLU-RR580-N-JFLTE-UPDATE-20170126.zip
For CM14 by the JDCTeam:
http://www.mediafire.com/file/9z097f1aox8pguu/AKLU-CM14-N-JFLTE-iosched-20161110.zip
Change Log:
20170619
-Added Faux Sound! Thanks @faux123
-Added fast charge!
20170524
-Added GPU and CPU voltage controls!
--> Control the CPU through Kernel Adiutor
--> Control the GPU with my GPU Voltage Control App.
https://forum.xda-developers.com/ga...gpu-voltage-control-app-aklu-kernels-t3506985
20170425
-Updated for 7.1.2 compatibility.
20170315
-Update for Substratum compatibility.
20170126
-Fixed WiFi hot-spot issue for AOKP and RR.
20170115
-Updated RR and AOKP kernel with LineageOS base, as they transitioned away from CM.
20161222
+ Added Intelliplug, an alternative hotplugging option made by @faux123.
20161220
+ No feature changes, just cleaning up a few things to help with RR 5.8.0
20161110
+ Added I/O Schedulers:
-->FIOPS
-->SIO
-->VR
20161102
+ Overclocked CPU to 1998 MHz.
+ Overclocked GPU to 487 MHz.
+ Added Governors:
-->SmartMax
-->Wheatley
-->LionHeart
Old Kernels:
http://www.mediafire.com/file/rzt412chq67b3av/AKLU-JFLTE-AOKP-N-20170425.zip
Screenshots!
Some screenshots of Kernel Aduitor with these kernels.
Awesome gonna give it a go and see but I'm sure will run/perform just fine
sent from my SGH-M919 BadAss TinkerToy
---------- Post added at 04:26 PM ---------- Previous post was at 04:09 PM ----------
have u tested with systemless root does it play nice the marshmallow dev worked great just wondering since supersu patches boot.img but I'll test it incase and let u know
sent from my SGH-M919 BadAss TinkerToy
Kernel seems to run fine I noticed no fauxsound or fast charge. Also didn't have all the same governors as other kernels u have. Web apps ran laggy but I think that's something with that rom. Also noticed on boot unlike ur marshmallow dev kernel it show not selinux enforcing. currently back on marshmallow it says only about kernel. Why is that on marshmallow it says permissive when full booted under about phone. I wonder if it's some flag or something supersu patches on marshmallow dev that it can't or isn't patching on the nought kernel. Because both ur rom and cm14.1 are both showing permissive fully booted under about phone with me changing nothing. Even ran getenforce to make sure.
sent from my SGH-M919 BadAss TinkerToy
dtriguero said:
Kernel seems to run fine I noticed no fauxsound or fast charge. Also didn't have all the same governors as other kernels u have. Web apps ran laggy but I think that's something with that rom. Also noticed on boot unlike ur marshmallow dev kernel it show not selinux enforcing. currently back on marshmallow it says only about kernel. Why is that on marshmallow it says permissive when full booted under about phone. I wonder if it's some flag or something supersu patches on marshmallow dev that it can't or isn't patching on the nought kernel. Because both ur rom and cm14.1 are both showing permissive fully booted under about phone with me changing nothing. Even ran getenforce to make sure.
sent from my SGH-M919 BadAss TinkerToy
Click to expand...
Click to collapse
Yes, I am still adding features, so fast charge, fauxsound, etc., are not added yet. Also it is not set to permissive when I made it for their ROM, because their default was enforcing. I can make it default permissive if needed when I make more adjustments. It is somewhat difficult working within their ROM to make my own kernel, so it will take some time to get all of the features put in.
that's funny cause the nought one boots with two errors on sammy logo not seandroid enforcing I think and kernel warranty bit as if is permissive but when boot mm dev kernel only shows kernel warranty bit on sammy screen as if enforcing during boot but permissive when finished boot. Also N shows permissive but did flash supersu before booting maybe it changed it. Steps was
Full wide-after backup of course
flash cm14.1
flash 7.1 micro gapps
flash ur N kernel
flash supersu 2.78 sr3- there rom flash 2.78 sr1
sent from my SGH-M919 BadAss TinkerToy
For now I am satisfied with Alucard kernel in OotCM14 but I'll be keeping an eye on this thread to see how things developed.
I do have one question, is your kernel based on stock cm kernel or Alucard?
Sent from my SGH-M919 using Tapatalk
Xplorer4x4 said:
For now I am satisfied with Alucard kernel in OotCM14 but I'll be keeping an eye on this thread to see how things developed.
I do have one question, is your kernel based on stock cm kernel or Alucard?
Click to expand...
Click to collapse
No worries!
Yes, my kernel is based on stock CM kernel. Alucard kernels are great, I have a lot of respect for Alucard kernels.
AlaskaLinuxUser said:
For CM14 by the JDCTeam:
http://www.mediafire.com/file/9z097f1aox8pguu/AKLU-CM14-N-JFLTE-iosched-20161110.zip
For AOKP 7:
http://www.mediafire.com/file/znzpjieflvb7q9r/AKLU-AOKP-N-JFLTE-iosched-20161110.zip
Change Log:
20161110
+ Added I/O Schedulers:
-->FIOPS
-->SIO
-->VR
Click to expand...
Click to collapse
To God be the glory, another successful addition to the N kernel! Just added a few I/O schedulers.
i see you are making kernels for aokp 7. i am wondering is there even an aokp 7 for us yet and if so where can i test it
gizm0luvsu said:
i see you are making kernels for aokp 7. i am wondering is there even an aokp 7 for us yet and if so where can i test it
Click to expand...
Click to collapse
I am guessing it was a typo and he meant aosp not aosp. No aokp rom yet that I know of.
Sent from my Pixel using Tapatalk
gizm0luvsu said:
i see you are making kernels for aokp 7. i am wondering is there even an aokp 7 for us yet and if so where can i test it
Click to expand...
Click to collapse
Xplorer4x4 said:
I am guessing it was a typo and he meant aosp not aosp. No aokp rom yet that I know of.
Click to expand...
Click to collapse
Actually, there is an AOKP 7.0 teaser download in the AOKP MM thread. No working calls yet.
AlaskaLinuxUser said:
Actually, there is an AOKP 7.0 teaser download in the AOKP MM thread. No working calls yet.
Click to expand...
Click to collapse
ahhh ok
Will u be adding all the goodies u had in ur MM Dev kernel to ur aokp N kernel
dtriguero said:
Will u be adding all the goodies u had in ur MM Dev kernel to ur aokp N kernel
Click to expand...
Click to collapse
Great question!
Yes, I plan to do that eventually, it may take me a while. There are some other pressing phone items that I need to fix first.
For some reason I tried flashing your aokp kernel on your new build and boot indefinitely. Could be me
smartt699 said:
For some reason I tried flashing your aokp kernel on your new build and boot indefinitely. Could be me
Click to expand...
Click to collapse
Hmmm... It did test good here. However, I let AOKP N boot fully, then went back to recovery and flashed this kernel.
However, I have updated it, so try the new one in the OP, if you would. It also tests good here. When flashing, it gave me an error, but still flashes just fine. The error is about the syntax of the META-INF file, not a kernel problem.
Let me know how if you have any more problems. I did not have GAPPS installed when I tested this, just for reference.
Praise God, new kernel is up!
Hey guys, just wanted to let you know that the OP is updated with the new kernel, including intelliplug, an alternative to mpdecision for hotplugging. This controls how many cores are used at once. You have to use Kernel Adiutor or some similar app to control it. Intelliplug has several options that show up in the Kernel Adiutor as well. Let me know what you think!
hi there is a procedure to install this kernel on RR ( like wipe cache), because i tried an get a bootloop

[KERNEL][OP5] FrancoKernel ?- r49 - 27th Aug · Pie & custom roms

Hi all.
Compatibility:
Builds from r1 up to r12 are for Android 7.1.1 Nougat OxygenOS based roms only.
Builds from r13 are for Android 8.0.0 Oreo OxygenOS based roms only.
Builds starting with r18 work with Android 8.1.0 Custom roms.
Builds starting with r28 up to r32 work with OxygenOS 5.1.0 Android 8.1.0
Builds starting with r33 work with OxygenOS 5.1.5 Android 8.1.0
Builds starting with r40 are for OxygenOS 9.0 Android Pie.
Builds starting with r44 are also available for custom roms such as LineageOS.
Download:
https://francokernel.app
Installation:
Flash the zip in your recovery
or
Auto-flash from FK Kernel Manager app, it's magical
Changelog:
https://francokernel.app
Scroll down, choose your device & select the latest release to see the changelog.
Source:
https://github.com/franciscofranco/OP5-5T-unified
Follow me on socials for updates and interesting tidbits
Twitter[/URL
FK Kernel Manager video
[url]https://www.youtube.com/watch?v=ARdNqh71D0E
Disclaimer to moderators:
Slight OT is fine, but when users decide to act stupid they should be dealt with with the appropriate means - its really annoying for me when OT turns crazy. Please put the warning/ban hammer anytime any of you think there's lack of respect and/or too much unwanted OT crap - but if it doesn't meet this criteria let the OT posts alone. Thank you.
Cheers!
Wow nice! For OOS?
As usual there's a large focus on battery life. F2FS is upstreamed to the latest version and I spent a couple days single picking useful commits from Qualcomm's repository with fixes and power consumption improvements.
You should see an improvement in battery life.
Beukhof1 said:
Wow nice! For OOS?
Click to expand...
Click to collapse
Yes.
wowww Franco is here!
25% off sale on FK Manager & Updater for the next 48 hours to celebrate adding One Plus 5 support
https://play.google.com/store/apps/details?id=com.franco.kernel
I'm wait this moment. Thanks FF!
@franciscofranco The king is here!!!!Tnx buddy!!
can it be flash over another custom kernel?
Thank you for supporting Oneplus 5! Using now and it's very smooth.
Just want to report also that the stock screen gestures (double tap to wake, draw O for camera etc) are not working yet
lohaanaa said:
can it be flash over another custom kernel?
Click to expand...
Click to collapse
Nope....first stock kernel...after custom one....
Great work Franco!
After a reboot, the phone boots to default color calibration and it takes like 10-20 seconds to switch to DCI-P3 or SRGB.
PS:Gestures are broken too.
The kernel is systemless?
Sent from ONEPLUS A5000 by Tapatalk
v7 said:
After a reboot, the phone boots to default color calibration and it takes like 10-20 seconds to switch to DCI-P3 or SRGB.
PS:Gestures are broken too.
Click to expand...
Click to collapse
Color calibration did not reset for me. Working fine. But Gestures don't work when screen is off.
I don't see the discount price for the Manager & Updater in the PlayStore.
Edit: price already updated in the store
@franciscofranco
fsync seems to be causing issues for me. With fsync disabled some apps fc after being cleared and some other work fine. After reenableing fsync everything returns to normal.
I´am running the latest stock rom with the only modificatiion being your kernel and magisk.
here is a short vid. of it in action: https://gfycat.com/MemorableMemorableCaecilian
logcat (sorry its quite huge ) https://www.dropbox.com/s/w2rbudldqw3ofvr/log.txt?dl=0
AlfalfaX said:
fsync seems to be causing issues for me. With fsync disabled some apps fc after being cleared and some other work fine. After reenableing fsync everything returns to normal.
I´am running the latest stock rom with the only modificatiion being your kernel and magisk.
here is a short vid. of it in action: https://gfycat.com/MemorableMemorableCaecilian
Click to expand...
Click to collapse
Grab a logcat.
Nice, I missed you (used Franco on my 3T). Already have the app, but nice for new users with discount :highfive:
Nice thanks
lohaanaa said:
can it be flash over another custom kernel?
Click to expand...
Click to collapse
Flash full zip. Let it boot. Boot back too twrp then flash kernel

[Kernel][LOS/CAF][M/N] Linux 3.10 custom kernel v3

Linux 3.10-based kernel for Oneplus One (bacon)
Info:
use this kernel at your own risk. Flashing it the wrong way might brick your device. I'm not responsible for any software/hardware damage.
This kernel is based on top of erorcun's 3.10 kernel. erorcun has spent an enormous time working on this project and he deserves a huge "Thank you" for having succeeded in one of the most difficult tasks in Android development: upgrading a device to a newer Linux release.
Features:
v3 (12th December)
built with O3 optimizations
CAF CPU boosting driver (replaces cpu_input_boost - might be a temporary switch)
kernel code base updated to Linux 3.10.60
sdcardfs updates
minor miscellaneous improvements
old releases:
v2.1
minor stability fix
v2 (12th November)
kernel code base updates reverted, then re-applied only up to 3.10.54
compiled with an improved set of GCC flags
tuned AIO for SSD-only machines
v1 (30th October)
built with GCC 5, UBER Toolchain and the optimal compiler flags for Krait CPUs
kernel code base upgraded to Linux 3.10.88
power-efficient workqueues
sound control by francisconfranco
CPU voltage control
cpu_input_boost by Sultanxda
sdcardfs & f2fs support
support for both LineageOS's and Sultan's camera HALs
Compatibility
The kernel is compatible with all the Marshmallow/Nougat ROMs that use either LineageOS's camera HAL or Sultan's (a.k.a. CAF's). Just make sure you download the right version
Currently, the kernel has been tested only on LineageOS 14.1, but I'm sure the CAF build is safe to flash and works properly as well.
The kernel doesn't work on Oreo (yet)!
Download
The kernel can be download from AFH: 3.10 kernel on AndroidFileHost
Thanks to:
erorcun, franciscofranco, Sultanxda, CAF & UBER, Mecca EL.
XDA:DevDB Information
Tom's Linux 3.10 kernel, Kernel for the OnePlus One
Contributors
Tomoms, erorcun
Source Code: https://github.com/Tomoms/neon_kernel_bacon
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 3.0
Stable Release Date: 2017-12-12
Created 2017-10-30
Last Updated 2017-12-12
thanks man! any plans on oreo version?
criminality said:
thanks man! any plans on oreo version?
Click to expand...
Click to collapse
Everything will come in due time
It's one of the things I'll work on soon. Be patient, and you'll eventually get what you want
Thank you for this.
Don't know if it's your Lineage rom or this kernel, but video that i record is really stuttery. Like very janky.
I recorded the video with the build-in snap camera.
Fatsodonkey said:
Thank you for this.
Don't know if it's your Lineage rom or this kernel, but video that i record is really stuttery. Like very janky.
I recorded the video with the build-in snap camera.
Click to expand...
Click to collapse
Could you tell me the exact resolution you used?
Tomoms said:
Could you tell me the exact resolution you used?
Click to expand...
Click to collapse
Happens with all resolutions. I already tested Sultans Lineage as well with this kernel and the same thing happens. Don't know if it tries to record it too fast as it seems to be too quick and stutters a lot.
The Los kernel seems to work fine with video recording altough i just dirty flashed it on top of Boefflas kernel.
E:It definetly is the kernel that is causing the stutter.
Fatsodonkey said:
Happens with all resolutions. I already tested Sultans Lineage as well with this kernel and the same thing happens. Don't know if it tries to record it too fast as it seems to be too quick and stutters a lot.
The Los kernel seems to work fine with video recording altough i just dirty flashed it on top of Boefflas kernel.
E:It definetly is the kernel that is causing the stutter.
Click to expand...
Click to collapse
I'll compare the camera driver present in this kernel and the one in Sultan's kernel, then try to fix this. Unfortunately at the moment this is the best thing we can achieve, CAF camera support had always got some small problems even in erorcun's build if I recall correctly, and these problems are inevitably "inherited" by my kernel.
Thank you for working on this, I was looking forward to release since I saw your announcement in erorcun's thread.
Firstly i tried to dirty flash kernel on top of LineageOS build (N) by idprophecy, since i got positive experience changing kernels (3.4 ones) this way even with encrypted phone. So when i tried to boot up with new kernel, unfortunately it did not work and phone says my password is correct but encryption partition is broken and i need to hard reset.
I went to clean install, removed encryption and flash same LinOS build + your kernel. Then i encrypted phone again and everything went fine. However now my TWRP refuses password for decrypting partitions (its was like that in early N development for bacon on many roms).
Overall perfomance is not really smooth comparing with 3.4 kernels, but i didnt bothered to play with kernel setting.
Also i cant get MTP working, phone only charging via usb and PC (Windows) cannot see its memory.
I know this report is probably useless without kmsg logs, but i didnt have time to pull them off, so sorry about that. I try do it later
TbMa said:
Thank you for working on this, I was looking forward to release since I saw your announcement in erorcun's thread.
Firstly i tried to dirty flash kernel on top of LineageOS build (N) by idprophecy, since i got positive experience changing kernels (3.4 ones) this way even with encrypted phone. So when i tried to boot up with new kernel, unfortunately it did not work and phone says my password is correct but encryption partition is broken and i need to hard reset.
I went to clean install, removed encryption and flash same LinOS build + your kernel. Then i encrypted phone again and everything went fine. However now my TWRP refuses password for decrypting partitions (its was like that in early N development for bacon on many roms).
Overall perfomance is not really smooth comparing with 3.4 kernels, but i didnt bothered to play with kernel setting.
Also i cant get MTP working, phone only charging via usb and PC (Windows) cannot see its memory.
I know this report is probably useless without kmsg logs, but i didnt have time to pull them off, so sorry about that. I try do it later
Click to expand...
Click to collapse
Definitely would need a log, to see what the issue is, with your experiences.
I've been alpha and beta testing this kernel, and I'm not experiencing any of the problems you and other users are describing. Clean install @idprophecy LOS14.1, flash this kernel, reboot back to recovery and flash MagiskSU, enjoy an ultra responsive OPO.
TbMa said:
Thank you for working on this, I was looking forward to release since I saw your announcement in erorcun's thread.
Firstly i tried to dirty flash kernel on top of LineageOS build (N) by idprophecy, since i got positive experience changing kernels (3.4 ones) this way even with encrypted phone. So when i tried to boot up with new kernel, unfortunately it did not work and phone says my password is correct but encryption partition is broken and i need to hard reset.
I went to clean install, removed encryption and flash same LinOS build + your kernel. Then i encrypted phone again and everything went fine. However now my TWRP refuses password for decrypting partitions (its was like that in early N development for bacon on many roms).
Overall perfomance is not really smooth comparing with 3.4 kernels, but i didnt bothered to play with kernel setting.
Also i cant get MTP working, phone only charging via usb and PC (Windows) cannot see its memory.
I know this report is probably useless without kmsg logs, but i didnt have time to pull them off, so sorry about that. I try do it later
Click to expand...
Click to collapse
I faced the same MTP problem when I started developing this kernel several months ago. But I'm sure it appeared at a later stage of development. So MTP shouldn't be an issue as of now. Also, according to @Mecca EL, there should be a substantial performance improvement.
Mecca EL said:
Definitely would need a log, to see what the issue is, with your experiences.
I've been alpha and beta testing this kernel, and I'm not experiencing any of the problems you and other users are describing. Clean install @idprophecy LOS14.1, flash this kernel, reboot back to recovery and flash MagiskSU, enjoy an ultra responsive OPO.
Click to expand...
Click to collapse
So can you confirm MTP is working on this kernel? What about video recording? Is it lagging or not? I still haven't had enough time to thoroughly try my own kernel :/
Thank you.
Mecca EL said:
Definitely would need a log, to see what the issue is, with your experiences.
I've been alpha and beta testing this kernel, and I'm not experiencing any of the problems you and other users are describing. Clean install @idprophecy LOS14.1, flash this kernel, reboot back to recovery and flash MagiskSU, enjoy an ultra responsive OPO.
Click to expand...
Click to collapse
What about encryption? Are your TWRP able to decrypt data with this kernel?
Tomoms said:
I faced the same MTP problem when I started developing this kernel several months ago. But I'm sure it appeared at a later stage of development. So MTP shouldn't be an issue as of now. Also, according to @Mecca EL, there should be a substantial performance improvement.
So can you confirm MTP is working on this kernel? What about video recording? Is it lagging or not? I still haven't had enough time to thoroughly try my own kernel :/
Thank you.
Click to expand...
Click to collapse
I'll double check, and do a complete run down on this latest one, in case it differs from the last one you sent me.
---------- Post added at 08:56 AM ---------- Previous post was at 08:53 AM ----------
TbMa said:
What about encryption? Are your TWRP able to decrypt data with this kernel?
Click to expand...
Click to collapse
I've not set encryption. I've seen way too many problems with that across almost all android devices. I'll see if it's not too much trouble to set and test for you, if I'm able to revert to unencrypted easily.
Mecca EL said:
I'll double check, and do a complete run down on this latest one, in case it differs from the last one you sent me.
---------- Post added at 08:56 AM ---------- Previous post was at 08:53 AM ----------
I've not set encryption. I've seen way too many problems with that across almost all android devices. I'll see if it's not too much trouble to set and test for you, if I'm able to revert to unencrypted easily.
Click to expand...
Click to collapse
Well i am using encryption since early MM and not a single problem if developer of rom and kernel did his work fine. Biggest payoff its hit battery.
Unfortunately you cant revert encryption without formating whole internal storage, so its a little bit complicated with backups and etc
MTP is not working for me either, I'm using the CAF kernel on LineageOS by Sultan.
SirSoviet said:
MTP is not working for me either, I'm using the CAF kernel on LineageOS by Sultan.
Click to expand...
Click to collapse
Thanks for your feedback, I'll do my best to fix this issue as soon as possible. Do you face the video recording issue?
Tomoms said:
Thanks for your feedback, I'll do my best to fix this issue as soon as possible. Do you face the video recording issue?
Click to expand...
Click to collapse
I never record videos, so I don't know. I'll check later today.
@Tomoms ,just a heads up: kernel works fine with Marshmallow(los13).
Mr.Ak said:
@Tomoms ,just a heads up: kernel works fine with Marshmallow(los13).
Click to expand...
Click to collapse
Thank you for letting me know. I'll immediately update the thread.
SirSoviet said:
I never record videos, so I don't know. I'll check later today.
Click to expand...
Click to collapse
Nothing wrong with video recording here.
SirSoviet said:
Nothing wrong with video recording here.
Click to expand...
Click to collapse
Hmm... I'll try it myself soon. In the meantime, my main concern will be fixing MTP, and it won't take me too much, fortunately.

[JDCTeam] [Kernel] BUFFcore-o rel02 [8.x.x][AOSP/Lineage based rom] {EOL]

Buffcore oreo kernel​Samsung Galaxy S4 i9505 (jfltexx)​Release 02 - 11th June 2018​
Code:
#include
/*
* Your warranty is now void.
* And other random stuff no-one reads.
*/
Intro
I had never intended releasing this as a stand alone, but had always been aware that it would work.
With BB and Side both being busy and AOSP and OptLos stalling for a bit, the kernel from RR-oreo should I think help a bit to alleviate users battery issues.
What is it?
Buffcore 2.04 - this is a fork of BB's AOSP 8.1 kernel with added fastcharge and battery saving features.
It is the kernel supplied with RR-o release 2, so isn't needed for RR users.
Code:
renamed to buffcore;
sdfat enabled;
fastcharge implemented for faster charging (up to 1900 ac / 1000 usb);
bcmhd wakelocks for rx and tx halved;
libmemcopy and libstring sped up;
io readahead to 1024k;
lower min cpu governor frequency (270);
power efficient work queues;
voltage tweaking user interface;
faster vmstat;
autosmp hotplugging replacement;
mmc crc disabled;
allow for lower cpu voltage;
reduce swapiness;
optimise divide / multiply by power of 2;
added tcp optimisation options,;
set westwood default;
force doze screen off helper;
optimise cbfillrect function;
reduce wifi wakelock times;
nohz: reduce overhead under high-freq idling patterns.
What rom is it for?
BB's AOSP oreo
Side's OptLos 15.1
Installation
Dirty (use with current rom flash)
Extract the boot.img file from the zip (It is not a flashable zip!).
Reboot rom into twrp.
Perform a nandroid backup to be safe, incase you need to go back.
Go into Install, then select Install Image for Buffcore kernel.
Reinstall your prefered root solution (Magisk, etc).
Do not wipe caches.
Reboot.
Clean (flash as part of clean install)
Extract the boot.img file from the zip (It is not a flashable zip!).
Reboot rom into twrp.
Perform a nandroid backup to be safe, incase you need to go back.
Perform clean recomended in your rom thread.
Install rom.
Go into Install, then select Install Image for Buffcore kernel.
Reinstall your prefered root solution (Magisk, etc)
Install Gapps.
Do not wipe caches.
Reboot.
Usage
Some features will need to be forced on (IF desired) and set to apply on boot with an app like Kernel Aduitor, EXKM etc. (Fastcharge, Min cpu frquency used, Power efficient work queues, Voltage tweaking, AutoSMP hotplugging).
This kernel should / will not be compatible with stweaks.
There will essentially be no support with this, if it works then it works, or doesn't.
If it helps you then it helps you, if it doesn't tough, don't moan about it.
It has had a little testing with the roms it is intended, boots fine and seems to provide some benefit.
This may not get updated either - see it as a stop gap for the moment.
Thanks
Thanks due to Drrossum, Kesaras, CR4IGY_BOY for testing for me.
BB for original kernel and Side and TsvietOK for picks.
Download
Download from AFH here BUFFcore-o-2.04-release02-20180611.zip
md5sum - d2293a1e623ddcc68946dbea7ea12869
XDA:DevDB Information
BUFFcore-o, Kernel for the Samsung Galaxy S4
Contributors
Buff99, side
Source Code: https://github.com/Buff99/platform_kernel_samsung_jf/tree/aosp-8.1
Kernel Special Features: Fastcharge, battery saving features
Version Information
Status: No Longer Updated
Created 2018-06-18
Last Updated 2018-09-13
Reserved
might as well have one, won't be writing much tho....
Very well done, master!
Perfect. I guess it's my new optlos main kernel
side said:
Perfect. I guess it's my new optlos main kernel
Click to expand...
Click to collapse
Of course, we work better and smarter together.
Since Kernels are/should be backward compatible, any reason why this shouldn't work with RR Marshmallow?
Thx!
<CuriousCat> said:
Since Kernels are/should be backward compatible, any reason why this shouldn't work with RR Marshmallow?
Thx!
Click to expand...
Click to collapse
Backwards compatibility with kernels? Not guaranteed that I know of.
When Oreo kernels use 64 bit binder, it locks out use with ROMs that don't have 64 bit binder defined.
You'd be better trying a sidecore kernel for nougat as an intermediate, if it works then try this. A kernel flash that doesn't work should be easy to recover from if have you stock one on hand ready to reflash. Remember that any mod / root that patches the kernel will need reflash.
SideCore kernel is a no go. A stock RR Nougat kernel also. Do you think some repacking with the boot.img of the RR Marshmallow would help?
<CuriousCat> said:
SideCore kernel is a no go. A stock RR Nougat kernel also. Do you think some repacking with the boot.img of the RR Marshmallow would help?
Click to expand...
Click to collapse
if they don't work, then this is a definite no-go.
I think RR marshmallow used the stock CM13.1 kernel, nothing was changed. Your viable choice would be anything cm13 compatible.
Syzrgy & Alucard spring to mind from back in the day.
Buff99 said:
if they don't work, then this is a definite no-go.
I think RR marshmallow used the stock CM13.1 kernel, nothing was changed. Your viable choice would be anything cm13 compatible.
Syzrgy & Alucard spring to mind from back in the day.
Click to expand...
Click to collapse
Alucard can't be found for MM and Synergy is very old (and not sure how stable).
Is there a way to take the (your/lineage) source and compile it to work with MM?
<CuriousCat> said:
Alucard can't be found for MM and Synergy is very old (and not sure how stable).
Is there a way to take the (your/lineage) source and compile it to work with MM?
Click to expand...
Click to collapse
just change the ramdisk using an image kitchen
side said:
just change the ramdisk using an image kitchen
Click to expand...
Click to collapse
I was thinking the same. Let me try.
Once repacked it boots but it's unstable. After running AnTuTu a few times it restarted every time. Not a good sign.
I flashed it several times on I9505 running the LOS15.1 and everytime I reboot after flash it shows the boot up screen with the phone model and then goes to Download mode. The fix for this non booting condition is to reflash the ROM.
Pecata01 said:
I flashed it several times on I9505 running the LOS15.1 and everytime I reboot after flash it shows the boot up screen with the phone model and then goes to Download mode. The fix for this non booting condition is to reflash the ROM.
Click to expand...
Click to collapse
Where is los15.1? Which rom u mean
I meant the Optimized Lineage OS 15.1 builds Version1 on which I tried to install BUFFcore-o rel02 kernel and it didn't work. But i flashed the Lineage OS 15.1 Version2 and it's all working. Good job
Is it possible to change the max frequency? Before compiling? Or manually with an root Explorer?
Just for fun
M4verick44 said:
Is it possible to change the max frequency? Before compiling? Or manually with an root Explorer?
Just for fun
Click to expand...
Click to collapse
aka overclock.
yes its possible.not suggested though.this thing is really advanced and i dont think that u will have nice results.wont be 'fun' at all
Can you add Boeffla Wakelock Blocker to this kernel? The Wi-Fi wakelocks are still annoying.
side said:
aka overclock.
yes its possible.not suggested though.this thing is really advanced and i dont think that u will have nice results.wont be 'fun' at all
Click to expand...
Click to collapse
Will you add over clocking to this kernel anytime soon? @side @Buff99?, maybe @ripee
---------- Post added at 05:34 PM ---------- Previous post was at 05:33 PM ----------
side said:
aka overclock.
yes its possible.not suggested though.this thing is really advanced and i dont think that u will have nice results.wont be 'fun' at all
Click to expand...
Click to collapse
Will you add over clocking to this kernel anytime soon? @side @Buff99?, maybe @ripee

Question Does exist a kernel for A12 OOS C.44?

The question is pretty straightforward.
Does anyone know if there is a good (or even one) kernel for stock A12 OOS C.44? I am the only one who likes the stock rooted from. Any help will be appreciated.
I just asked in the arter TG group. I'll update you when I hear back.
engcristiano said:
The question is pretty straightforward.
Does anyone know if there is a good (or even one) kernel for stock A12 OOS C.44? I am the only one who likes the stock rooted from. Any help will be appreciated.
Click to expand...
Click to collapse
So far nothing afaik
TheKnux said:
I just asked in the arter TG group. I'll update you when I hear back.
Click to expand...
Click to collapse
[r26] arter97 kernel for OnePlus 9 series
arter97 kernel for OnePlus 9 series running OxygenOS /* Features */ Supports OnePlus 9 series Fully rebased kernel without unnecessary OnePlus code Latest CAF msm-5.4 kernel fully merged Latest Linux v5.4 subversion merged Latest Google’s...
forum.xda-developers.com
mrjuniork said:
So far nothing afaik
[r26] arter97 kernel for OnePlus 9 series
arter97 kernel for OnePlus 9 series running OxygenOS /* Features */ Supports OnePlus 9 series Fully rebased kernel without unnecessary OnePlus code Latest CAF msm-5.4 kernel fully merged Latest Linux v5.4 subversion merged Latest Google’s...
forum.xda-developers.com
Click to expand...
Click to collapse
Did you install that? Did it work?
engcristiano said:
Did you install that? Did it work?
Click to expand...
Click to collapse
No I did not. That link only pointed towards a statement of the kernel dev, that it is very unlikely to publish that specific kernel for A12.
Personally, I haven't updated to A12 yet.
mrjuniork said:
No I did not. That link only pointed towards a statement of the kernel dev, that it is very unlikely to publish that specific kernel for A12.
Personally, I haven't updated to A12 yet.
Click to expand...
Click to collapse
Honestly, I liked the A12 stock. After I rooted the ROM and changed to governor to performance (using FKM), it is very fast, stable, zero stutter but the battery is draining as hell. That's why maybe some kernel can change it a bit.
engcristiano said:
Honestly, I liked the A12 stock. After I rooted the ROM and changed to governor to performance (using FKM), it is very fast, stable, zero stutter but the battery is draining as hell. That's why maybe some kernel can change it a bit.
Click to expand...
Click to collapse
Yeah, I know what you are talking about. On A11 there is also so often stuttering with certain apps, so I tried to modify a bit CAF CPU control, which immediately showed a great improvement, but like you said, it pushed the cores to a constant maximum and therefore drained the battery immensely. So I reverted it..
Even with a custom kernel on A11, stuttering is still present and I hope that will be better when I will update to A12.
But I still refrain from it, coz I'm waiting for a few more OP updates to see if they can get ahold of this mess created with the merger of oxygen and color OS.
engcristiano said:
Honestly, I liked the A12 stock. After I rooted the ROM and changed to governor to performance (using FKM), it is very fast, stable, zero stutter but the battery is draining as hell. That's why maybe some kernel can change it a bit.
Click to expand...
Click to collapse
No, kernel wouldn't help. Arter's kernel works with custom ROM's based on A12, but battery life still sucks in my case, even on custom kernel. I think when new paranoid android release would come out, the situation may change
PoSayDone said:
No, kernel wouldn't help. Arter's kernel works with custom ROM's based on A12, but battery life still sucks in my case, even on custom kernel. I think when new paranoid android release would come out, the situation may change.
Click to expand...
Click to collapse
Good to know that!
Keep us informed about that. It would be much appreciated!

Categories

Resources