[KERNEL][8.1] Electron Kernel for Taimen [v4][Discontinued] - Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth

Due to the @MSFJarvis and @nathanchance being the unbeatable dynamic duo, I've decided to discontinue this kernel. At this point, our kernels are extremely similar, save ElectroUtil and a few misc commits. Rather than put time into a modified Flash kernel, I recommend y'all just try Flash (warning: its pretty good). ElectroUtil and my other changes will live on in the CarbonROM kernel, and will simply be added on top of flash kernel. Thanks for supporting this project while it was alive.
For those of you who have used my angler and (unreleased) ether kernels, then you already know how this works. Feel free to skip to the Instructions.
Electron kernel has a few goals that make it different from other kernels. These goals are to:
Be as light weight as possible
Improve battery while performing at least as well as stock
Be a flash-and-go kernel (recommended settings are defaults)
That being said, This is a flash and go kernel (If you install the Magisk Module), please do not tweak options unless you are an advanced user.
Electron does NOT have spectrum support yet, and I don't plan on adding it until twrp is semi stable.
Current Features:
Upstreamed to 4.4.108
Updated EAS
ElectroUtil governor (renamed schedutil for compatibility)
Maple I/O scheduler
Adreno Idler
GPU Display state awareness
KCAL Support
Wake Gesture support
State Notifier
Disabled FSync
Power-Efficient Workqueues
Wakelock blocker
Devfeq wake boosting
FP Scanner speedups
CAF CPUIdle Updates
GPU+CPU Undervolted
Zen Interactive Tunings
Optimized string routines
Many warnings fixed
Optimized strlen use
Compiled with DragonTC 4.0
Polly optimizations
Installation:
Download the Electron boot image
OPTIONAL: Patch with Magisk
Run "adb reboot bootloader"
Run "fastboot flash boot /path/to/Electron-boot.img"
RECOMMENDED: Download Electron Defaults zip
Install as a Magisk module by pressing the "+" in the modules menu
Reporting Bugs:
Please follow this guide by @The Flash . If reporting a crash/reboot, provide both a dmesg and ramoops. Otherwise, provide a logcat and dmesg. CLICK HERE
Download:
Boot Image
Magisk Module
I would like to thank all of the great people whose support and help that I've received and whose work I've referenced to make this kernel a reality: nathanchance(TheFlash), boeffla(andi-p), FranciscoFranco, RenderBroken, flar2, xanaxdroid, R3V3NT3CH, arter97, DespairFactor, neobuddy89, ZeroInfinity, and anyone I missed!
XDA:DevDB Information
Electron Kernel for Taimen, Kernel for the Google Pixel 2 XL
Contributors
frap129
Source Code: https://github.com/frap129/taimen
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v4
Stable Release Date: 2017-12-26
Created 2017-11-15
Last Updated 2018-02-08

In this post, I will add descriptions of my original kernel features for users and developers to reference.
ElectroUtil Governor:
ElectroUtil is a schedutil based CPU Frequency governor, taking some queues from pwrutilx by ZeroInfinity, but with an overall different frequency selection algorithm.
ElectroUtil is a hexacore-biased governor, meaning that all 4 Silver and the first 2 Gold cores are preferentially granted higher frequencies at lower utilizations than the last 2 Gold cores to prevent excess use of more Gold cores than necessary. ElectroUtil is also device state aware, forcing lower frequencies when the device is suspended. This is handled via 2 different mechanisms. The primary mechanism is the 'suspend_capacity_factor' tunable, which is used such that
max = capacity * (suspend_capacity_factor + 1) / suspend_capacity_factor
where 'max' is the divisor of the frequency calulation
algorithm. For example, a value of 10 for the capacity factor result in a frequency that is 1/10th lower when the device is suspended. The second mechanism is a hard limit, set by the tuneables {gold/silver}_suspend_max_freq. If the requested frequency is higher than than the respective suspend max, the max will not be exceded. For the last 2 Gold cores, this max is always the minimum frequency.
Maple I/O Scheduler:
Maple is based on the Zen and Simple I/O schedulers. It uses Zens first-come-first-serve style algorithm with separate read/write requests and improved former/latter request handling from SIO. Maple is biased towards handling asynchronous requests before synchronous, and read requests before write. While this can have negative aspects on write intensive tasks like file copying, it slightly improves UI responsiveness. Like chill, maple also has power saving features. When the device is asleep, maple increases the expiry time of requests so that it can handle them more slowly, causing less overhead.
More to come...

Reserved

Errors out when I try to install module, but the kernel itself runs smooth

crossen0 said:
Errors out when I try to install module, but the kernel itself runs smooth
Click to expand...
Click to collapse
Thats weird, it installed for me. Will look into it asap.

Here's what the error said:

Ah yes, feed my flashing hunger muhahahaha!!! Install of kernel and module went without issues. I have noticed the following repeated in logcat but I had to run out for a few so only posting the error until I return home. Every 10-15 lines in logcat contains the below at least once.
11-14 20:57:26.139 811 811 E [email protected]: Governor not supported by powerHAL, skipping

crossen0 said:
Here's what the error said:
Click to expand...
Click to collapse
That's the same exact error ive been getting with no matter what module i try to flash with magisk. just started after i unistalled viper4android and tried reinstalling it. Can't find a workaround with it just yet either

crossen0 said:
Here's what the error said:
Click to expand...
Click to collapse
Thats a device issue. Try rebooting and/ redownloading
123SIT said:
Ah yes, feed my flashing hunger muhahahaha!!! Install of kernel and module went without issues. I have noticed the following repeated in logcat but I had to run out for a few so only posting the error until I return home. Every 10-15 lines in logcat contains the below at least once.
11-14 20:57:26.139 811 811 E [email protected]: Governor not supported by powerHAL, skipping
Click to expand...
Click to collapse
I forgot that the governor is powerHAL dependant for EAS devices. I'll look for a workaround until twrp works (requires installing a custom powerHAL), but for now, performance and battery don't seem to be affected much

Do I need to rename the .zip?
Maybe I'm missing something here? I have rebooted several times redownloaded the zip.

crossen0 said:
Do I need to rename the .zip?
Maybe I'm missing something here? I have rebooted several times redownloaded the zip.
Click to expand...
Click to collapse
Did you make sure that the Kernel flashed correctly? First time I flashed it I was still on the previous FLash kernel. Had to do it one more time and it finally showed Electron kernel under sett/about. Then I installed the Magisk Module w/the defaults successfully by using + once in Modules menu.
https://drive.google.com/file/d/1lPda5zNtK0FUXswmIIDEvPAGry4wZqss/view?usp=sharing

an21281 said:
Did you make sure that the Kernel flashed correctly? First time I flashed it I was still on the previous FLash kernel. Had to do it one more time and it finally showed Electron kernel under sett/about. Then I installed the Magisk Module w/the defaults successfully.
Click to expand...
Click to collapse
I am on Electron v1

crossen0 said:
I am on Electron v1
Click to expand...
Click to collapse
Hmm, the only other thing I did was copy the Electron-defaults.zip to the MagiskManager folder before installing as a mudule...

an21281 said:
Hmm, the only other thing I did was copy the Electron-defaults.zip to the MagiskManager folder before installing as a mudule...
Click to expand...
Click to collapse
I tried moving it over to MagiskManager folder but it still fails.

Made a quick workaround for the powerHAL issue, will include in v2 (Should only be a couple days)
crossen0 said:
Do I need to rename the .zip?
Maybe I'm missing something here? I have rebooted several times redownloaded the zip.
Click to expand...
Click to collapse
Sounds like a magisk issue. Try completely remove magisk and manager.

Going to dive in!! But, ugh! I have to go back to 8.0? THE HORROR!!! LoL.. Onward!
Up and running fine!!! Just a quick question..maybe OT? Maybe not.. But would this script have any issues with the kernel being installed from here?
https://forum.xda-developers.com/pixel-2-xl/development/mod-pks-tuning-script-t3702834

Is this kernel compatible with the pixel 2?

JayTheNinja said:
Is this kernel compatible with the pixel 2?
Click to expand...
Click to collapse
Really?? Look 5 posts above yours!

Badger50 said:
Really?? Look 5 posts above yours!
Click to expand...
Click to collapse
No, this is XL only! If it was Pixel 2 compatible, it would be in the Pixel 2 forum.
JayTheNinja said:
Is this kernel compatible with the pixel 2?
Click to expand...
Click to collapse
But... its not

No idea why there's such a large number of pixel 2 users that hang out in the xl forum

Related

[Kernel][TW][AOSP][KK][JB]MaxFour GT-I9500 (5410)[v14]

The first time I made AdaMax was for the Chinese Galaxy S4 Duos GT-I9502. I ported Adam kernel and added more tweaks from other kernels like Persus, halaszk (5420). After several releases, I decidec to spread this kernel to more models. So I built the v8 for both Chinese and international GT-I9500. This thread it for hosting it.
This week, i successed compiling for the s4 with 5410 cpu. As we know GT-I9500, GT-I9502 and SCH-I959. They share almost same compiling configure and their own ramdisk. So I compile them together with almost same features.
At last, I have to make following declarations, AGAIN:
Take your own risk and responsibility on flashing this kernel. I am not responsibale for any loss of your hardware, software, data or warranty.
Read this OP from start to finish before flashing the packages or asking any questions. There is a Q&A section. Any questions already answered will be ignored by me and may be insulted by other members. So save your your keyboard, your time and your data traffic.
No ETAs.
Don't ask me to make this kernel for a specific rom. There are basically only two kinds of roms, AOSP and TouchWiz. So I compile for these two kinds with differnet SDK levels. If it dose not work on some rom, don't blame me and ask me to adapt the rom for it.
If you found a new version, but its download link is not directly showed in this OP, that means it is a version I don't think good enough to be a release. So take your own risk to use it. I will remember your feedback, try to make changes, but not respond with posts.
Thanks to a lot of people, I will add their names here... @wanam, [email protected], @Dees_Troy and Team Win, @AndreiLux
As my habit, I always put the download link first:
v15: https://github.com/maxfu/android_kernel_samsung_exynos5410/releases/tag/v15-9500
File name instruction:
touchwiz: for most used international GT-I9500 with exynos5410 cpu.
aosp: for AOSP KitKat 4.4 roms like CM, ramdisk comes from CM 11
kk442: kernel for KitKat 4.4.2
jb43: kernel for Jelly Bean 4.3
jb442: kernel for Jelly Bean 4.2.2
lite: live version is built with stock zImage and maxfour initrd. It has limited maxfour features. And sometimes selinux f**ks up the STweaks.
boot: system kernel package
recovery: recovery kernel package
kernel: system + recovery combined kernel package
*.tar/*.tar.md5: Odin package
*.zip: CWM/TWRP recovery package
example.1: boot-i9500-aosp kk442-v10f1tc.zip means a system kernel image CWM/TWRP flashable package for international I9500 with TouchWiz KitKat 4.4.2 roms.
example.2: kernel-i9500-aosp-kk442-v10f1tc.tar.md5 means a system recovery combined odin package for international I9500 with AOSP roms like CM.
Old versions:
v14: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v14/GT-I9500/
v13: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v13/GT-I9500/
v12: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v12/GT-I9500/
v11: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v11/GT-I9500/
v10f1: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v10f1/GT-I9500/
You can always go to the following addresses to see whether there is a new version:
https://github.com/maxfu/android_kernel_samsung_exynos5410/wiki
https://github.com/maxfu/android_kernel_samsung_exynos5410/releases
I open the issue section for the source code, you can report problems here. Please provide at least version aosp/touchwiz jb/kk.
https://github.com/maxfu/android_kernel_samsung_exynos5410/issues/new
The source code:
You can
git clone https://github.com/maxfu/android_kernel_samsung_exynos5410.git
git clone https://github.com/maxfu/initramfs_samsung_galaxy_s4.git
git clone https://github.com/maxfu/toolchains.git
use the build.sh for exynos in toolchains/script ro build the kernel.
you need to su before build the kernel cause the ramdisk belongs to root.
Since this is a side product of my kernel for GT-I9502 which is the phone I am currently using. I don't actually test this build for GT-I9500, so I really need feedback. And please backup your rom before using this.
Features:
Built with OSRC KK 4.4 source and ramdisk, now it should work on many 4.4 roms.
Contains most features from Adam kernel including Wolfson Audio Control. For I9502 which uses yamaha sound chip, Wolfson Audio Control will be hidden automatically since it does not work.
From v10, the kernel is renamed to MaxFour due to wamam's request.
Kernel + Recovery release at one time, recovery based on TWRP with EFS_GSM (for Chinese Duos devices) support.
Compiled with GCC 4.8 toolchain from Google NDK r9c.
Packed in LZMA format to make smaller images.
Native exfat support based on OSRC exfat source code.
UCI script for STweaks and may be others.
Unlocked some hidden CPU frequency: 2.0GHz, 1.9GHz, 1.8GHz, 1.7GHz, 800MHz, 700MHz for big cores; 1.3GHz, 1.2GHz, 400MHz,
300MHz, 200MHz for little cores. Frequencies over stock like 1.7GHz for big cores and 1.3G for little cores are implemented in tc*/overclock version.
Added more STweaks settings which are not included in Adam kernel, including CPU power management, Tools with reboot options, GPU settings, CPU governor.
Android logger is compiled as standanlone module, so user can disable it completely to save power.
Tc/overclock version contains Persus dvfs for GPU with 700MHz overclock, thanks to AndreaLux.
Built-in Seeder entropy generator to provide lag reduction although it is not significant as it was on Gingerbread.
Built-in busybox with auto-installation.
Optimize on ram.
Added several I/O Schedulers including ZEN and ROW.
Built-in dynamic eMMC read ahead
Built-in Asynchronous Fsync
Compiled with compile flag for Cortex-A15 and NEON
Disable KNOX and SELinux when booting, selinux will be set to permissive with the boot command line.
init.d support.
A lot of changes and fixes.
Disabled a lot of rarely used devices support.
PS:
*1. TC means turbocharged, so it is overclock
Change Log:
v15:
Rebuild with GT-I9502 CHN KK Opensource from OSRC.
Upgrade KSM (Kernel Samepage Merging) to uksm (Ultra KSM) which has Super quiet CPU usage, Ultra scan speed and High CPU efficiency.
Support init.d.
Lower CPU frequencies presented in previous versions, voltage options coming soon.
GPU tweak presented in previous versions.
STweaks cueerntly unsupported, coming soon.
mDNIe and Sound Control coming soon.
AOSP support coming soon.
v14:
Upgrade kernel to 3.4.10
Implement AES-ARM and SHA1-ARM crypto algorithm
Rollback selinux related script to v11
v13:
Rebuilt source tree from HNC6 source.
Most features kept
INT, MIF, MEMIO settings removed, these should not be touched
Should be much better than v12
Fixed video bug for AOSP, I think it is fixed
Upgraded AOSP initramfs, may fix the modem/signal problem
Set ro.secure and ro.adb.secure to 0
Camera lag? Less.
Upgraded busybox
v12:
I don't want to talk about it, this version is totally a rubbish
v11:
STweaks: Added Chinese UI, works on Chinese system, when the language is set to other ones, English UI will show. An templete is provided for more translations.
STweaks: Added boost mode in the Misc tab. The boost mode is found when the news of Samsung cheating on benchmark softwares came out. When a benchmark software is detacted running, the boost mode will be on to allow higher temprature and faster CPU scaling. Simply turn on this mode will not provide any visable change, it should be used with CPU, GPU, INT, MIF clock operations.
STweaks: Added control for Internal, Memory Interface and Memory I/O.
STweaks: Added a button to switch the USB mode to Mass Storage Mode, which is classical mode before GingerBread got out dated.
STweaks: Added a CPU wake lock switch.
STweaks: Added instructiuon of Sound Control being not available on models other than I9500.
STweaks: Added instruction of GPU voltage control being not available on non-tc versions.
Kernel: Added a odin mode. Now we can reboot to download mode with "adb reboot odin". The original commands still work.
v10f1:
initial build for XDA users.
Q&A:
I did not reserve a post for this section, so I will put the Q&A here in the OP.
Q: Which package should I use? A: boot is what you need. recovery is just a side product.
Q: Which version I should use? A: Please the "File name instruction" section in the OP, you will find the answer.
Q: Do I need to wipe the data after I flash? A: Well I don't think you need, but due to some report, wiping data can solve certain problems after flashing this kernel. So whatever you like, please backup data before you flash or wipe.
Q: Which rom does this kernel support? A: I can't tell, please refer to the File name instruction section, if you rom is not mentioned there, it is not supported?
Q: Does this support MIUI? A: Official MIUI is based on touchwiz 4.2.2. So please refer to Q2,3,4.
Q: There is no OC in tc version. A: In the init.rc there is a script limiting the CPU frequency to 1.6GHz, so you should use STweaks to unlock it. Please open /sys/devices/system/cpu/cpu0/cpufreq/UV_uV_table, if there is 2000 1900 1800 and 1700, then there is OC, just unlock it.
Q: Some app FC? A: Usually FCs are not due to the kernel, check the rom first, and settings etc, the kernel should be the last reason, cause it just provide the bridge between the system hal and hardware. Report the fc, I will take a look, but I can not say I can fix it.
Q: Battery life? A: It is due to your habit, just like driving a car, a Toyota Prius can use 10L gas if driven by somebody like Michael Schumacher. As my test, due to my habit with non tc version, it is better than stock.
Q: Do I need STweaks to run the kernel? A: The kernel can run without it, but with it you can have more options.
Q: STweaks shows "unextected error"? A: This situation usually happens at the first time STweaks starts, it is OK. Just go on using STweaks.
Q: STweaks FCs. A: Well this sometimes is due to the kernel, sometimes. Here is something you can do: Wipe the STweaks' data, remove /data/.maxfour and /data/.adamax, check the superuser software and give STweaks root access. And yes you need root access. At last, use normal version.
Q: Auto root? A: Use the CWM zip package. And I would take it out soon. Sometimes it breaks root.
Q: Not actually auto-root with v13? A: Yes, v13 will put a wizard like app which will lead you download SuperSU, only when your rom is not rooted.
Q: Conservative governor stock at certain frequency? A: Don't use it, only ondemand governor is optimized for 5410 with big.little cores.
Q: Can you add something? You must do something? Please do something? A: I take advice, but not demand. The reason is simple: I make this kernel due to my interests, not purchase orders. I am not funded for doing this. If the advice is good, I'd take it. If it is just a personal preference, I have to consider it.
Q: Got very low volume of sound? A: Use stweaks, I9500 has wolfson sound control.
Q: Video color is not correct, got blur faces. A: v13 should have this issue fixed.
Q: No internal storage access permission. A: I will make a workaroung later. For now, remount it with rw option through adb.
Q: Random reboot. A: Well, it exists, I admit. I don't know why. I will look for the reason.
Q: After flashing, the phone won't boot. A: Well, I can't guarantee that this kernel works everywhere. And please check if you are using the correct version.
Q: When is your next release? A: I don't know either.
Q: I flashed, it doesn't work. A: Well, it does not work. I don't know why cause it just don't work. I only answer information-rich questions. Questions like this is only a waster of your keyboard, your time and your data traffic. Please at least tell me which version and what rom you are using.
Q: Anything asked above. A: I will keep silence. Other people may insult for this.
Q: Why don't you answer/respond our questions? A: I am a employee, husband, father and son of someone other than XDA and you.
maxfu said:
The first time I make AdaMax is for the Chinese Galaxy S4 Duos GT-I9502. I ported Adam kernel and added more tweaks from other kernels like Persus, halaszk (5420). After several releases, I decidec to spread this kernel to more models. So I built the v8 for both Chinese and international GT-I9500. This thread it for hosting it.
Thanks to a lot of people, I will add their names here...
As my habit, I always put the download link first:
https://github.com/maxfu/android_kernel_samsung_galaxy_s4/releases/tag/9500v8
The uploading is still on going...
Features:
Based on OSRC GT-I9500 JB Opensource Update4 source tree.
Contains most features from Adam kernel, so this kernel is called Adam + Max.
Kernel + Recovery release at one time, recovery based on TWRP with EFS_GSM (for Chinese Duos devices) support.
Compiled with GCC 4.8 toolchain from Google NDK r9c.
Packed in LZMA format, smaller images.
Native exfat supportbased on OSRC exfat source code.
UCI script for STweaks and may be others.
Unlocked some hidden CPU frequency: 2.0GHz, 1.9GHz, 1.8GHz, 1.7GHz, 800MHz, 700MHz for big cores; 1.3GHz, 1.2GHz, 400MHz,
300MHz, 200MHz for little cores.
Frequencies over stock are implemented in overclock (tc/turbocharged) version.
Added more STweaks settings from Adam kernel, including CPU power management, Tools, CPU settings, CPU governor.
Logger module is compiled as standanlone module, so user can disable it completely to save powew.
Overclock (tc/turbocharged) version contains Persus dvfs for GPU with 700MHz overclock, thanks to AndreaLux.
Disabled a lot of rarely used devices support.
Built-in Seeder.
Built-in busybox with auto-installation.
Optimize on ram.
Added several I/O Schedulers including ZEN and ROW.
Built-in dynamic eMMC read ahead
Compiled with compile flag for Cortex-A15 and NEON
Disable KNOX and SELinux when booting
init.d support.
A lot of changes and fixes.
Click to expand...
Click to collapse
Most features of Adam & Perseus Kernel. Does this include the Wolfson Audio Control?
Paolonicus said:
Most features of Adam & Perseus Kernel. Does this include the Wolfson Audio Control?
Click to expand...
Click to collapse
I kept the feature, so it should show up in STweaks on I9500. I am using 9502 which does not have the feature so I can not test it. When I compile for 9500, sound control is enabled.
@maxfu Is this kernel for the 4.3 or 4.4.2?
a2441918 said:
@maxfu Is this kernel for the 4.3 or 4.4.2?
Click to expand...
Click to collapse
Sorry I did not directly mention. It is for 4.3 JellyBean.
maxfu said:
Sorry I did not directly mention. It is for 4.3 JellyBean.
Click to expand...
Click to collapse
Can you please mention it in the op please it's very confusing.
Thanks.
Sent from my GT-I9500 using Tapatalk
Will there be version for Kitkat?
This is something that prevents me from flashing the newer version of Android.
Paolonicus said:
This is something that prevents me from flashing the newer version of Android.
Click to expand...
Click to collapse
If Samsung releases the source code for 4.4, I will.
Paolonicus said:
This is something that prevents me from flashing the newer version of Android.
Click to expand...
Click to collapse
I have a good news for you. I found I9500XXUFNB1: GT-I9500_KK_Opensource.zip, so I will push it up in several days.
How about battery life and performance compared to stock kernel?
Sent from my GT-I9500 using XDA Premium 4 mobile app
snxxxxx said:
How about battery life and performance compared to stock kernel?
Sent from my GT-I9500 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Well it is hard to say. If you use the normal version, it should be battery friendly. The tc version is overclocked. Due to my 3DMark result, the overclock version maxied out the First and Second stage tests.
maxfu said:
Well it is hard to say. If you use the normal version, it should be battery friendly. The tc version is overclocked. Due to my 3DMark result, the overclock version maxied out the First and Second stage tests.
Click to expand...
Click to collapse
If you can Make it AOSP support also
Thanks maxfu for the contribution...will try soon. You didn't mention about the screen color option from perseus kernel. Is it there?
Yesss at last some hope for 4.4 custom kernel!! Thank you Maxfu for continuing Wanam's legacy.
Wow!
maxfu said:
I have a good news for you. I found I9500XXUFNB1: GT-I9500_KK_Opensource.zip, so I will push it up in several days.
Click to expand...
Click to collapse
Sweet! Can't wait to try you kernel! Thanks a bunch!
For AOSP, I will try.
Sent from my GT-I9502 using xda app-developers app
great to see another addition to kennels for gt -9500. please also add support fir miui.
Sent from my GT-I9500 using Tapatalk
Some Proposals
1. Auto Install Stweaks
2. Clearly describe CPU Options which one for big cores and which for little cores
3. Don't lock GPU Frequency at 532MHz as i see by default ... maybe more relaxed 177-532 settings?
4. SELinux is set to Permissive by default ... maybe set as Disabled?
and maybe some very useful Insecure version please?
ro.secure=0
ro.adb.secure=0
(computer translation)
Hi, I already flashed Adam Kernel on my S4. Can I simply flash this Kernel on recovery or do I need to do something else?
Dnssuffix said:
Thanks maxfu for the contribution...will try soon. You didn't mention about the screen color option from perseus kernel. Is it there?
Click to expand...
Click to collapse
If it is in Adam kernel, then it is here. There is a screen tab in STweaks.

[Kernel][14/01/15][AOSP][D851]Rin Kernel 1.6.5[LOLLIPOP]

AOSP RIN Kernel for D851
Close to stock with some sugar added ... delicous!
Hey guys and girls,
here is my attempt to build up on the cm source for an modified AOSP kernel, hope you like it, have fun
First of, DISCLAIMER, I'm not responsible for bricked devices, dead unicorns, rainbows with missing colors, world war, nose bleed, void warranty (you know that already, don't you? your warranty is void now and it's your fault ) or any other harm happening to your device, you or people around you!
What does it serve? (Features)
AnyKernel
Kexec Hardboot patch
FauxSound support
OC to 2.7GHz and UC support
Voltage control
Intelliplug
Cpu limiter
GPU Overclocking to 675Mhz
Simple GPU Algorithm
Simple_ondemand GPU Governor fixed
fsync on/off support (on by default)
Power efficient workqueues
Dynamic management of dirty page writebacks
Dynamic Read Ahead
IO Schedulers
CFQ
DEADLINE
FIFO
FIOPS
NOOP
ROW (default)
SIO
TRIPNDROID
VR
ZEN
Governors
Adaptive
Conservative
DanceDance
Intelliminmax
Interactive (default)
Lagfree
Lionheart
OnDemand
Performance
Powersave
SmartassV2
Userspace
Wheatley
Smartmax
TCP Congestion Algorithms
BIC
Westwood+
Vegas
Veno
Yeah
HTCP
Cubic (default)
Reno
LiveSharpening
2-Way Call Recording support
exFat support
DriveDroid support
KSM
android logger sysfs toggle (disabled by default)
Many under the hood fixes
Stability
More to come
How to apply it? (Installation)
IMPORTANT: Read through all the requirements, steps and warnings before you do anything, if any requirement doesn't match or you don't know what one or more of the steps below mean or do, ask before you do any of them, if you don't know how all the steps can be done, let it be, I warned you, if you don't do and something bad happens, I'll just laugh at you!!
Requirements? Yes!
D851
Custom Recovery
AOSP based lollipop ROM (Mainly cm12 based)
How to flash the kernel?
BEWARE to be on the default kernel of the given ROM (NO custom, except at updates of this one!!) when flashing this kernel, the ramdisk is taken from the currently flashed kernel!!!
Download zip
Place on internal or external SD
Reboot to recovery
Choose install zip
Search for the downloaded zip
Confirm flashing
Wipe cache
Reboot
Have fun
Changes? (Changelog)
14.01.2015/1.6.5
FauxSound support added
Dynamic read ahead
13.01.2015/1.6
Initial AOSP release
Full list of commits can be found here
Where to get it from? (Download)
google drive | AndroidFileHost | dev host
Let me test!! (Beta Testing Community)
Google+ LG G3 Beta Testing Community
Show me the so(u)rce(ry)! (Source Code)
https://github.com/tectas/android_kernel_lge_msm8974ac/tree/rin-cm-12.0
Donators (huge thanks, you're simply great )
@Toneman07
@Helloworld294
@shaarky
@Dreamxtreme
@guyd
@mosincredible
@tobitege
@AndroidUzer
Credits
XDA for the great community
Google for their great operating system
LG for the great device
CyanogenMod for the base this is built up from
@invisiblek for his marvelous job on the bring up of the device and the many patches
@HolyAngel for some commits I used
@faux123 for his great work with intelli* and beyond
@KAsp3rd for some commits I used
@myfluxi for some commits I used
@trialsrider1 for some commits I used
@Skin1980 for his breakthroughs at our device, his support and for being such a nice guy
@Lord Boeffla for some commits I used
@GuneetAtwal for some commits I used
@DooMLoRD for some commits I used
@Fechinator for some commits I used
@savoca for AnyKernel, Livesharpening and some other stuff
@Christopher83 for his implementation of Dynamic management of dirty page writebacks and some additional stuff
If you like my work, please show your appreciation by pressing the thanks button, if you want to do more, i've nothing against a little donation, but I'm as happy when you just thank me by pressing the button
XDA:DevDB Information
Rin Kernel AOSP, Kernel for the T-Mobile LG G3
Contributors
Tectas
Source Code: https://github.com/tectas/android_kernel_lge_msm8974ac/tree/rin-cm-12.0
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 1.6.5
Beta Release Date: 2015-01-14
Created 2015-01-14
Last Updated 2015-01-14
Reserved
Awesome thanks. Heard good things about your STK LG kernel. Downloading
razrlover said:
Awesome thanks. Heard good things about your STK LG kernel. Downloading
Click to expand...
Click to collapse
Super addition to the D851 arsenal.
Thanks
P.S: Can't seem to find it in the downloads!
arifqur said:
Super addition to the D851 arsenal.
Thanks
P.S: Can't seem to find it in the downloads!
Click to expand...
Click to collapse
Sorry, link fixed.
Tectas said:
Sorry, link fixed.
Click to expand...
Click to collapse
Thanks for the link and especially thanks for being the first Dev to include kexec hard boot patch for D851 in his kernel
Heh, I managed to screw up my MultiROM setup.
Fusion LP was a tertiary ROM. I decided to flash this kernel against it. Almost 10 minutes and it never finished flashing. TWRP was also frozen.
On restart none of the ROMs would boot. Trying to reselect Fusion in MultiROM would fail and freeze/lock TWRP. Seems the partition with Fusion got corrupted.
Got tired of pulling the battery so wound up restoring primary ROM and will start over with MultiROM.
Just one of those things probably unrelated to the kernel itself.
I should have at least backed up the secondary ROM. Oh well. ?
Small update to 1.6.5:
14.01.2015/1.6.5
FauxSound support added
Dynamic read ahead
Download within the OP, have fun
Tectas said:
Small update to 1.6.5:
14.01.2015/1.6.5
FauxSound support added
Dynamic read ahead
Download within the OP, have fun
Click to expand...
Click to collapse
Thanks
Working well so far, thanks :good:
marcdw said:
Heh, I managed to screw up my MultiROM setup.
Fusion LP was a tertiary ROM. I decided to flash this kernel against it. Almost 10 minutes and it never finished flashing. TWRP was also frozen.
On restart none of the ROMs would boot. Trying to reselect Fusion in MultiROM would fail and freeze/lock TWRP. Seems the partition with Fusion got corrupted.
Got tired of pulling the battery so wound up restoring primary ROM and will start over with MultiROM.
Just one of those things probably unrelated to the kernel itself.
I should have at least backed up the secondary ROM. Oh well. ?
Click to expand...
Click to collapse
I'm using it with Fusion as primary ROM with no problems. But flashing fusion itself takes close to ten minutes to flash, and the progress bar shows nothing until it's done. I was already on fusion, then flashed RIN and Multirom.
Never mind.
Working well with Euphoria.
Thanks for a great AOSP kernel
joshuajones said:
I'm using it with Fusion as primary ROM with no problems. But flashing fusion itself takes close to ten minutes to flash, and the progress bar shows nothing until it's done. I was already on fusion, then flashed RIN and Multirom.
Click to expand...
Click to collapse
I changed my primary SkyDragon ROM then reflashed kexec kernel and multirom. Discovered my CM11 was still there (cool) then reflashed Fusion.
Flashed RIN kernel but this time I waited. It took much longer than the ROM install.
But all is good. Fusion seems to be running great with RIN.
Thanks.
Sent from my LG-D851 using Tapatalk
Kernel is working great
I've used this Kernel on about 3 different LP ROM's (clean flash) and on each of them, the pull down menu appears and freezes after ending calls whether its being made or receiving them. If you are able to get out of the menu, the pull down no longer works. You must reboot for everything to return to normal...
Nothing says great batterylife except when it tells me 1 day 19 hours and hasnt been on a charger since 8 am
Nice kernel exelent battery and no complains for now ?
Been off charger all day with light use and its still going strong
scribbles92 said:
I've used this Kernel on about 3 different LP ROM's (clean flash) and on each of them, the pull down menu appears and freezes after ending calls whether its being made or receiving them. If you are able to get out of the menu, the pull down no longer works. You must reboot for everything to return to normal...
Click to expand...
Click to collapse
Done a few clean flashes since I started using this kernel but I'm not having this problem...

[KERNEL] [EOL] [OnePlus3T] [OOS 5, 4, 3] Boeffla-Kernel (16-01-2019)

*** This kernel is now end-of-life, not supported and developed anymore !!! ***
Hi all,
some of you know me from the other OnePlus or Samsung devices areas, where I provide my kernels already for more than three years to OnePlus 3, 2, one and X, Galaxy S5, S3 and Note 10.1 users for all sort of platforms (Samsung, Cyanogenmod, Omnirom etc.)
Please note:
I am not heading to have as many features as possible implemented, this is not my design goal. If you are more into that, move on to other, good existing kernels. If you are searching for a good mix of improvements and new functions while not sacrificing stability, you are welcome here (see below the history section for more info).
Compatibility
Important: This kernel is only meant to be compatible with official OnePlus OOS and nothing else.
So when the kernel does not run on custom rom XYZ, do not even bother me with it or ask hundred times in the thread for compatibility.
I could not care less about it !!
To add: An open beta (aka community build) is NOT an official build supported here. If you use a community build and have issues, don't complain or even report. I am not merging any kernel changes from open betas into my kernels !!
Important notes
When using new anykernel concept Boeffla-Kernel: Flash stock kernel of rom first !
This kernel is ONLY compatible to OxygenOs stock, nothing else !!!
If you are using a custom rom that bases on OxygenOs, it might work. However, if it does not work, do not expect me to do tweak to make the kernel running with your favorite rom. I would not do it - my one and only reference is OxygenOs stock.
It is not supposed to be compatible to CM, HydrogenOS etc.
Also note: You have to use Boeffla-Config app which I provide on my homepage to tweak the kernel. 3rd party apps will not be able to unleash the full power of the kernel.
Installation
Read the install instructions in the support section on the Boeffla Site.
Support
First read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app (outdated at the moment).
Click here to learn about using the config app (outdated at the moment).
I will refuse to give support if you do any undervolting/overclocking and experience freezes or hot reboots.
I will also not provide any support if you do not use Boeffla-Config app to tweak the kernel, other 3rd party tweaking apps are known (and intended) to cause issues.
I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it.
Otherwise, you can get in touch with me via the support e-mail address: [email protected]
Please provide kernel version, rom version, a detailed issue description and ideally supporting screenshots or log files.
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Change log for OxygenOS 4.x.x kernel - Click here
Change log for OxygenOS 3.x.x kernel - Click here
Known issues
none
Features
Note: This kernel only runs on OOS 3.x.x for the OnePlus 3T - nothing else !!!
Support of anykernel concept (only latest kernels) - flash stock kernel before flashing Boeffla
Full integration with Boeffla-Config V2 (you need at least version 2.4.21 or higher !!!) configuration app (get it from http://www.boeffla.de) to configure all kernel settings
Dash charging fully supported
The two CPU clusters (big and little cpu) can be configured completely separate in terms of min/max frequencies, governors and CPU core profiles
Additional governors: Impulse, zzmoove, elementalx, conservative, ondemand, blu_active
Additional schedulers: fiops, bfq, sio, sioplus, fifo, vr, tripndroid, zen, maple
No CPU overclocking and voltage interface, no GPU overclocking and voltage interface
USB charge rate bumped up to 900 mA
Boeffla charge analysis (display of charger type and charge current in Boeffla-Config app in real time)
Boeffla touchkey LED control (LEDs fully off, LED on screen touch, configurable duration)
CPU core profiles to restrict number of CPU cores being used (the OP3 does not hotplug based on load)
Notification LED control (effect + speed for blinking/fading, brightness for continuous notification like battery charging etc.)
Boeffla-Sound engine: Headphone volume and speaker volume (only lowering volumes for speaker)
Dynamic FSync (activated if screen on, deactived if screen off), configurable
Input boost frequencies and duration configurable per CPU cluster, input boost switch
Show CPU frequency usage per CPU and frequency in Boeffla-Config
Show GPU frequency usage per frequency in Boeffla-Config
KCal V2 Color control
Display backlight limits configurable (to avoid display brightness gets too low in some situations)
Display backlight dimmer
Swipe2wake gestures
Control haptic feedback of gestures (except fingerprint)
Haptic feedback intensity control
Swipe2sleep gestures
Boeffla generic wakelock blocker V1.1.0 (documentation)
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (only when data volume is formated with ext4, stock default is f2fs)
Kernel logger (dmesg) configurable
CIFS support (module, do not mount inside /data, if you rooted with Chainfire SuperSu, make sure you uncheck the namespace separation in SuperSu app)
NFS support (module)
NTFS support (module)
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Many additional TCP congestion algorithms available
Entropy values configurable
Hardware touch keys are locked as long as screen is in use (touched) for better usability
Swap supported
Doze mode switchable
Verifiedbootstage flag remove to avoid triggering safetynet
Various minor kernel tweaks
Doze mode configurable in Boeffla-Config
Full selinux strict support (switchable to permissive on demand)
Show speedbin information (PVS level) in Boeffla-Config app
init.d support (in /system/etc/init.d - set correct permissions!)
Entropies configurable
Automatic EFS backup
Integrated full busybox 1.27.2 (own compilation)
Kernel initialisation log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Security patches included, which are not in the official repo
Google gcc 4.9 toolchain (64 bit) used for best stability
Always based on latest OOS kernel sources (https://github.com/OnePlusOSS/androi...neplus_msm8996)
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
History and design targets
Basically I created my first Boeffla-Kernel in 2012 as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. Also it does not aim to have the broadest feature set available everywhere.
It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!!
These design targets are also valid for the OnePlus kernel here!!!
This said, I will definitely NEVER implement:
things I do personally not need
things I do not like
things that are in any way dangerous
anything which is highly experimental
a CAF based kernel
anything that requires upstreaming of kernel parts to a higher kernel major version
So do not even ask for it if it falls into the listed categories. Everything else I am happy to check and decide.
And: I do not really care about benchmark numbers, they say almost nothing as long as something is not completely wrong. Important for me is the feel-good factor.
I am also not interested in gaming at all, so never expect a gamer kernel. It will just not happen...
Compatibility
To reiterate it again: Flash the kernel only if you are running a compatible rom !!!
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from the downloads section on www.boeffla.de.
You need at least version 2.4.21 or higher for the OnePlus 3T Boeffla Kernels.
Donation
If you like my work, feel free to donate: Donation-Link
If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.
Source code
All sources can be found in my Github repository: http://github.com/andip71
Credits to developers
Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:
* ZaneZam
* Grarak
* Yank555
* Hardcore
* Chainfire
* AndreiLux
* Netarchy
* Gokhanmoral
* Simone201
* Mialwe
* Entropy512
* Faux
* Harunjo
* FranciscoFranco
* Ak
* Osm0sis
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in your custom recovery and safely store your personal data before you flash a new kernel.
Cheers and enjoy
Andi
Latest change log:
OOS4
http://kernel.boeffla.de/oneplus3t/boeffla-kernel-oos/oos4xx/changelog.htm
OOS3
http://kernel.boeffla.de/oneplus3t/boeffla-kernel-oos/oos3xx/changelog.htm
--- Reserved 2 ---
Here we go!
First beta is online for you guys.
As always, find everything on www.boeffla.de
And just to stress it again: It is the VERY FIRST beta, so expect bugs!
Have fund
Andi
nice! downloading right now!
so happy to see you again andi! your kernel was simply the best on my galaxy S5 and I missed your affords in my S7!
so happy flashing to everyone!
Sent from my ONEPLUS A3003 using XDA-Developers mobile app
After jumping from kernel to kernel (since there are many more kernel devs here than on the OP2) with various minor niggles, finally back to the one I feel fits my needs best. This release brings me relief, as now I don't have to go kernel hopping again, and I think Boeffla provides the best support of all. No bugs so far, multirom boot menu works, everything runs great.
Out of curiosity, is the kernel systemless? (Can I revert to stock by just flashing stock boot.img from latest ROM zip?) I ask because flashing the entire stock ROM takes a long time, and the TWRP loading time is also long.
Also, ext4 tweaks is not hidden for me and is enabled when a profile is reset to default settings. I'm on the default filesystems. (f2fs data, ext4 everything else)
Should I leave ext4 tweaks on or off?
PS: I was probably the first person to like and subscribe to this thread. (within 5 minutes of thread creation)
Edit: Flashable stock kernels? Perfect, thank you @Lord Boeffla ! Does it revert any custom kernel to stock kernel?
Been with Boeffla since S3 and via OPO this will be my third phone with the kernel.
Thanks!
Skickat från min ONEPLUS A3003 via Tapatalk
knpk13 said:
After jumping from kernel to kernel (since there are many more kernel devs here than on the OP2) with various minor niggles, finally back to the one I feel fits my needs best. This release brings me relief, as now I don't have to go kernel hopping again. No bugs so far, multirom boot menu works, everything runs great.
Out of curiosity, is the kernel systemless? (Can I revert to stock by just flashing stock boot.img from latest ROM zip?) I ask because flashing the entire stock ROM takes a long time, and the TWRP loading time is also long.
Click to expand...
Click to collapse
This is not possible on OOS in a clean way.
The kernel comes with modules which are placed in /system/lib/modules too.
So only flashing stock boot.img would not replace the kernel modules by stock ones. So it is only a "half-good" solution.
But, as most of the time, I have a solution for you
Look here: http://boeffla.de/index.php/downloads/downloads-general
Flashable stock kernels for the 3T, which also include the modules.
Guess this is what you need.
Andi
knpk13 said:
Also, ext4 tweaks is not hidden for me and is enabled when a profile is reset to default settings. I'm on the default filesystems. (f2fs data, ext4 everything else)
Should I leave ext4 tweaks on or off?
Click to expand...
Click to collapse
This is something I might need to correct in the app then. Leave them off, there is no ext4 anymore on /data volue with stock OOS (but the f**inkg f2fs).
I will look into that over the next days then.
EDIT: Just tried it - cannot replicate that. Maybe your /data partition is indeed formatted in ext4???
(you can check by firing the following command in a terminal: mount | grep data)
Andi
Lord Boeffla said:
This is something I might need to correct in the app then. Leave them off, there is no ext4 anymore on /data volue with stock OOS (but the f**inkg f2fs).
I will look into that over the next days then.
Andi
Click to expand...
Click to collapse
I reopened the app, and ext4 tweaks was off. But when I click on reset profile settings, it turns on. But on reopening again, it turns off automatically every time, so I guess it's working fine. Yes I'm sure I'm on f2fs.
knpk13 said:
I reopened the app, and ext4 tweaks was off. But when I click on reset profile settings, it turns on. But on reopening again, it turns off, so I guess it's working fine.
Click to expand...
Click to collapse
Yep, and also means, your data partition is not formatted with f2fs (my op3t came with /data on f2fs)... lucky you. I love ext4 much more, I even consider reformatting /data with ext4 soon, hehe.
Andi
Ok guys, evening hours here in Germany.
I am off for today. If you have any questions, you can also move over and read in the OP3 thread. The devices are - concerning my kernel - 99,99% the same.
So you would most probably find all answers to your questions already there.
Tomorrow I will catch up again.
Andi
Lord Boeffla said:
Yep, and also means, your data partition is not formatted with f2fs (my op3t came with /data on f2fs)... lucky you. I live ext4 much more, I even consider reformatting /data with ext4 soon, hehe.
Andi
Click to expand...
Click to collapse
I'm sure I'm on f2fs. Even TWRP says I'm on f2fs. 3T comes stock with f2fs. This is the output of mount | grep data, but since I'm using magisk I think the output has many partitions and I can't make sense of it.
I think the ext4 tweaks toggle is working fine since it reverts to off automatically when the app is restarted. Thanks!
Here is the output: https://hastebin.com/iwokiramek.hs
Welcome to the 3t Lord Boeffla.. Enjoyed having your kernels and support on the s5 when I was running that phone.. Look forward to the same here..
Sent from my ONEPLUS A3000 using Tapatalk
Lord Boeffla said:
But, as most of the time, I have a solution for you
Look here: http://boeffla.de/index.php/downloads/downloads-general
Flashable stock kernels for the 3T, which also include the modules.
Guess this is what you need.
Andi
Click to expand...
Click to collapse
nice, been waiting for this since day one. :good:
So it is not oos 4.0.0 compatible
Gesendet von meinem ONEPLUS A3003 mit Tapatalk
inzaghi75 said:
So it is not oos 4.0.0 compatible
Gesendet von meinem ONEPLUS A3003 mit Tapatalk
Click to expand...
Click to collapse
No. OOS 4 has not yet been officially released and no kernel source has been released.
christmas is here since andi is our santa.
welcome to the 3T world.
loyalists like me have been waiting for you perhaps since the device was launched.
glad OnePlus and XDA did such an awesome thing to distribute devices to devs.
been following your work for a while now.
your kernel turned my OpO into a beast.
just flashed onto my 3T.
will report issues as and when(and if) I can find them.
cheers
Glad to see you here Andy!
finally you will develope on 3T:good:
Glad to see you here Andi:victory:
I use your kernel since Galaxy S3, also flashed it on my opo and my wife's opt.
:good: Now the kernel it's running very well on my new op3t.

[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

[KERNEL]Revvz Kernel[3.18]

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now probably void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this 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.
*/
Compiled using UBERTC 4.9.4
It is recommended to use the SmartPack Kernel Manager to use and control this kernel.
Works only on AOSP roms.Do not try to install on MIUI.
WARNING:TAKE A BACKUP OF YOUR BOOT.IMG AND THEN FLASH THIS KERNEL.I WILL NOT BE RESPONSIBLE IF YOU BRICK YOUR DEVICE.
Latest Updates will be announced here.
(+) 3.18 Kernel v1 Released!
What's new:
- Initial release,check CHANGELOG
Check the CHANGELOG and NOTES below for more details
Click to expand...
Click to collapse
FEATURES:
3.18 kernel:
*CPU Governors: Lionfish,Chill,Relaxed,Electron,ZZMoove
*Hotplugs: Lazyplug
*Power saving workqueues
*GPU Governors: Simple_ondemand
*Simple GPU Algorithm
*Adreno Idler
*I/O schedulers: sio,zen,maple
*Dynamic fsync 2.0
*Screen:KCAL v2,Backlight dimmer
*TCP Congestion Algorithm: westwood,reno,cubic,cdg
*Custom crypto algorithms: Chacha20*,ZSTD algorithms
*SCH_CAKE net scheduler
*Optimized ZRAM
*Various optimizations and fixes
Click to expand...
Click to collapse
INSTALLATION:
Make sure you have a proper recovery. TWRP 3.2.x is recommended
*Backup your boot.img.
*Press INSTALL,locate and flash the zip.
*Reboot.
NOTE:If you want to reinstall the kernel,restore stock boot image and flash
Click to expand...
Click to collapse
DOWNLOADS:
Mediafire:
3.18 kernel (v1):
REVVZ Kernel 3.18 v1
Click to expand...
Click to collapse
CREDITS:
@mahajant99 for the sources,
The UBER Team for the UBER toolchain,
and all other kernel devs whom I cherry-picked sources from.
Please PM me for proper credits if not given.Thanks.
Click to expand...
Click to collapse
CHANGELOG:
3.18 kernel
v1:
#Initial release
CHANGELOG:
-- CPU Governors: Lionfish,Chill,Relaxed,Electron,ZZMoove
-- GPU Governors: Simple_ondemand
-- Adreno idler enabled (and tuned for msm8953)
-- I/O Schedulers: BFQ,SIO,Zen,FIOPS,Maple
-- Crypto changes:
|-- Add Chacha20* algorithms
|-- Add ZSTD compression algorithm
-- Improved Random(entropy) generator to use Chacha20*
-- Dynamic Fsync 2.0
-- Sched and ION optimizations
-- Added and fixed MDSS notifier hooks
-- Backlight dimmer feature
-- Undervolting feature (?)
-- Disabled debugging and logging
-- Removed some wakelocks
-- Optimized ZRAM:
|-- ZSTD as default compression algorithm
|-- Removed redundant code and fixed various errors
-- TCP changes:
|-- Add SCH_CAKE as net scheduler
|-- Add CDG as default TCP congestion algorithm
|-- Fastopen optimization
-- Eliminated some overhead
-- Misc optimizations and fixes (not that relevant)
Click to expand...
Click to collapse
NOTES:
*This kernel has been designed with stability and performance enough to get you a
good battery life.It has been specifically designed for normal app usage and multitasking.
*This kernel is not for heavy gaming.Please be aware while playing games/using heavy apps.
*RAM usage,battery life,performance etc. can vary with usage.Please dont complain about any problem if you apps
are wildly running in the background or you dont maintain your device properly.Sometimes it is not the fault of the kernel.
.Please provide proper bugreports(/proc/last_kmsg,dmesg output,/sys/fs/pstore/console-ramoops files can be provided)
otherwise your bugfix request will be ignored.
Click to expand...
Click to collapse
A Huge Thanks to you people for downloading my kernel.If you like it,leave a Thanks!
XDA:DevDB Information
REVVZ Kernel, Kernel for the Xiaomi Redmi S2
Contributors
darkhzy_kh
Source Code: https://github.com/darkhz/revvz_ysl
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 3.18-v1
Beta Release Date: 2019-11-11
Created 2019-11-11
Last Updated 2019-11-11
I will try...
thanks...:good:

			
				
it works
I will test the performance for the next few days...
1.if the screen turns off there is an incoming message, the device does not wake up.
(WhatsApp apk)
this is unbelievable a custom kernel for our device many thanks and huge respect God bless you brother. i have 1 request too please try to build Linux 4.9 kernel for this device too in future if you can (maybe it's too much to ask but it's only a request)
ram management is good due to inclusion of swap partition (1gb) and battery seems to be draining fast
Hi, i never used a Kernel before. I used lots of roms but I dont know what is kernel and why is it important. Anyways.
I was wanting to use KCAL app, it seems it's working with it. I have some questions.
1- how to back up my own kernel, so if I want to restore it I can go back to my original kernel.
2- is it just some kind of backend thing, if I install this it will not act like a rom and reset all the data on my phone right?
3- somebody says it have battery drain problem above in the comments. I don't care about battery drain so much but how it drains, like 1% per 2 or 3 minutes is okay but if it's less than this it won't be okay for me.
4- as I said above, I will use it for KCAL app, is there similar great things that I can do with custom kernel? I don't know much about it.
That's all. Sorry for my bad English.
Thanks
zulkarneyn said:
Hi, i never used a Kernel before. I used lots of roms but I dont know what is kernel and why is it important. Anyways.
I was wanting to use KCAL app, it seems it's working with it. I have some questions.
1- how to back up my own kernel, so if I want to restore it I can go back to my original kernel.
2- is it just some kind of backend thing, if I install this it will not act like a rom and reset all the data on my phone right?
3- somebody says it have battery drain problem above in the comments. I don't care about battery drain so much but how it drains, like 1% per 2 or 3 minutes is okay but if it's less than this it won't be okay for me.
4- as I said above, I will use it for KCAL app, is there similar great things that I can do with custom kernel? I don't know much about it.
That's all. Sorry for my bad English.
Thanks
Click to expand...
Click to collapse
1. first backup your boot partition via twrp.
restore if you want to return to your original kernel
2.yups...
thanks bro
All the cpu cores are running at max frequency all the time in this kernel that's why it's draining battery so fast
Does i can flash it on havoc os 10
sanketdeoraj said:
Does i can flash it on havoc os 10
Click to expand...
Click to collapse
yes u can (arm64) ... but back up first your boot partition
parthibratan said:
All the cpu cores are running at max frequency all the time in this kernel that's why it's draining battery so fast
Click to expand...
Click to collapse
the battery drain is normal here, actualy is better than the default in custom rom ProjectEva
nataloppez said:
the battery drain is normal here, actualy is better than the default in custom rom ProjectEva
Click to expand...
Click to collapse
Witch rom Is Project Eva?
KackBarton said:
Witch rom Is Project Eva?
Click to expand...
Click to collapse
ProjectEva is the default kernel pre-installed in custom roms for our device. This kernel is better for gaming, but Revvz kernel is better for multtasking, and is for that reason that i use Revvz kernel.
It has not worked for me in HAVOC OS 10, however in roms with Android 9, Evolution type, etc, yes
paul vity said:
It has not worked for me in HAVOC OS 10, however in roms with Android 9, Evolution type, etc, yes
Click to expand...
Click to collapse
This works on Android 10 Arm64
paul vity said:
It has not worked for me in HAVOC OS 10, however in roms with Android 9, Evolution type, etc, yes
Click to expand...
Click to collapse
i don't know what you did, but is working very well for me in Havoc
nataloppez said:
i don't know what you did, but is working very well for me in Havoc
Click to expand...
Click to collapse
I installed it after the rom and it gave me brick
I had to reinstall the rom and not install that kernel
I'll try again, thanks

Categories

Resources