[Galaxy S III Android Development] acroreiser:
Koffee is

the first

kernel which has fixes and backports, allowing Magisk running properly.

Only for Nougat(Android 7.x) ROM's!

Based on latest Boeffla, tweaked and extended by patches & backports.

Main idea of kernel is stability, extra features and compatibility with recent apps.

Configurable via Boeffla Config V2, Synapse or Kernel Adiutor

Recomended to use Magisk with this kernel, but other SU implementations also compatible.

This kernel is good choice for ResurrectionRemix N.

/* #include <xda/disclaimer.h>
*
* Your phone's warranty is now void.
* This is a custom kernel developed by me, A$teroid
* You are flashing this on your S3 at your own peril.
* I am not responsible for hard bricks, damages to SD Cards, thermonuclear war,
* or you getting fired because the alarm app failed.
* I would definitely help you out if you are stuck somewhere, provided that you give
* me clear details of the mishap.
* Don't ask for ETA's cause there is a thing called "LIFE" outside XDA.
*/

Please check for few times that your trouble caused by Koffee and nothing else.

I do NOT accept ANY bugreports if you're:

1. do overclock or undervolt

2. use non-default kernel settings

3. doesn't provide me kernel / system logs if it crashed

4. doesn't provide me info about installed ROM, mods, root-utilizing apps

5. have installed Xposed

6. have installed tweaks

Features:

Boeffla Kernel features

Backported Mount Namespace from 3.8, allows hiding root via Magisk and pass SafetyNet

Fix (v3) for sleep issues when Magisk installed

SDCardFS

[MENTION=5405215]forkbomb444[/MENTION]'s HWC out-of-the-box

Allowed much lower display brightness(with addon)

Compatibility with experimental LineageOS

Doze Helper - turn on Doze immediatelly after screen off

Pyramid - new cpufreq and hotplug governor

zCache

FRandom - fast pseudorandom number generator

FQ_Codel network packet scheduler backported from 3.5

TCP Fast Open (client-side, ported from Linux 3.6), enabled by default

TTL mangling support

SECCOMP - Secure computation for untrusted bytecode (used, ex., by mediaserver, Google Chrome)

Support for I/O accounting (for iotop)

Sparse Memory model

Enabled ThumbEE CPU extension

----

Read also:

Tweaked page-writeback for better responsiveness. You cannot change vm.dirty{ratio/bytes} values.

zRam configuration is disabled for stability reasons but zRam is present

/system is write protected! Use system-rw-access.zip Magisk module to disable protection if you really need this!

More additional fixes which not exist in other kernels

Various kernel tweaks, config changes & internal improvements

Reduced wakelocks

Reduced debugging code

Boeffla Sound enabled by default

----

Pyramid

tunables:

mc_pseudocluster, mc_pseudocluster_freq:

allow to work on max frequency up to 2 cores and limit it to mc_pseudocluster_freq value when > 2 cores online

Enabled by default.

mc_eco_auto, mc_auto_factor:

when enabled and pseudocluster are disabled, relative maximal frequency will be calculated usind number online cores and mc_auto_factor.

Greater factor values will reduce max frequency.

Disabled by default.

mc_eco_step{1-3}:

when pseudocluster and eco_auto is disabled, old pyramid's behavior will be enabled.

Using this three tunables you can define frecuency at each next cpu core.

screenoff_limit, screenoff_freq, screenoff_max_cpus_online:

when screenoff_limit is enabled, maximal frequency will be reduced to screenoff_freq value and maximal allowed cpu cores will be limited to screenoff_max_cpus_online.

Disabled by default.

min_cpus_online:

you can set minimum of cpu cores allowed to be enabled when screen is on

max_cpus_online:

you can set maximum of cpu cores allowed to be enabled

----

TCP Fast Open

you can use TFO in Chrome browser, just turn it on via chrome://flags. Also Chrome can be used as system WebView provider via Developer settings.

----

Addons:

1. Svelte(low-ram, Magisk)

Enables Project Svelte to increase performance on low ram devices. Also tweaked for responsiveness.

2. Lower Brightness - use, if you prefer darker screen or want to save battery (Magisk) Only for Koffee 78+!

3. SDCardFS (Magisk) - use sdcardfs instead of slower fuse emulating. Reduces overhead on internal and external storage access

4. I9300XXUGOK1 modem (zip for TWRP)

5. I9300XXUGPE1 bootloader (for Odin)

6. System Read-Write access. Install this if you really need write access to the /system.

Credits:

[MENTION=947981]Lord Boeffla[/MENTION] (Boeffla Kernel)

[MENTION=4898097]arter97[/MENTION] (Intelli-Plug)

[MENTION=5405215]forkbomb444[/MENTION] (experimental HWC)

[MENTION=2222292]rINanDO[/MENTION] (SECCOMP)

[MENTION=363297]NoN1979[/MENTION] (for low ram tweaks)

[MENTION=7427799]pascua28[/MENTION] (compatibility with Experimental LOS, updates fron N7100)

[MENTION=7914139]Oebbler1[/MENTION] (for lower brightness values)

[MENTION=4122877]curiousrom[/MENTION] (for i9300XXUGPE1 bootloader)

Homepage(in russian): https://4pda.ru/forum/index.php?s=&showtopic=403183&view=findpost&p=64299445

Latest build & addons: https://drive.google.com/open?id=1myPyzPtJ2gBNMwLolGcumEADrLfRnIUP

Beta previews and discussion for i9300 and n7100 users: https://t.me/koffeebetatest

XDA:DevDB Information

Koffee, Kernel for the Samsung Galaxy S III I9300

Contributors

A$teroid

Source Code: [url]https://github.com/acroreiser/Koffee[/URL]

Version Information

Koffee 104 "Ultramarine" [FINAL]

for i9300 and n7100

Changelog:

1. Added "min_cpus_online" tunable to Pyramid.

When screen is on, these number of cpus will always be online.

Tested with two cpus online and screen off limiting to two cores - better responsivity with well battery saving when device idle.

2. Fixed random reboots due to invoked OOM killer

3. Some fixes in scripts

----

My device now broken. I cannot continue work on Koffee.

Final builds for i9300 and n7100 now on my Google Drive.

Good luck!

----

Status: End of life

Created 2017-08-22

Last Updated 2018-09-05