[Galaxy S 4 i9505 Original Android Development] Buff99:
Buffcore oreo kernel​

Samsung Galaxy S4 i9505 (jfltexx)​

Release 02 - 11th June 2018​

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

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