FORUMS
Remove All Ads from XDA

 View Poll Results: What you want from next releases?

Battery saving
 
26 Vote(s)
38.81%
Performance enhacements
 
25 Vote(s)
37.31%
Bugfixes
 
8 Vote(s)
11.94%
New features
 
4 Vote(s)
5.97%
New addons
 
4 Vote(s)
5.97%

[KERNEL][7.X][i9300] Koffee

190 posts
Thanks Meter: 391
 
By A$teroid, Senior Member on 1st January 2018, 09:33 AM
Post Reply Email Thread
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.

Code:
/* #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 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 K
  • Fix (v3) for sleep issues when Magisk installed O
  • Allowed much lower display brightness(with addon)
  • Compatibility with experimental LineageOS
  • Doze Helper - turn on Doze immediatelly after screen off F
  • Pyramid - new cpufreq and hotplug governor F
  • zCache
  • FRandom - fast pseudorandom number generator
  • FQ_Codel network packet scheduler backported from 3.5 E
  • TTL mangling support
  • SECCOMP - Secure computation for untrusted bytecode (used, ex., by mediaserver, Google Chrome)
  • Sparse Memory model
  • Killed l2_hsic with fire
  • Enabled ThumbEE CPU extension

Read also:
  • Tweaked page-writeback for better responsiveness. You cannot change vm.dirty{ratio/bytes} values.
  • Maximum zRam size limited in 400MB for stability reasons
  • 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

Addons:
1. Svelte (Magisk)
Enables Project Svelte to increase performance on low ram devices. Also tweaked for responsiveness.
2. Systemless HWC (Magisk) Only for Koffee 75+!
Enables HWC from Experimental LineageOS on any Nougat ROM.
3. Lower Brightness - use, if you prefer darker screen or want to save battery (Magisk) Only for Koffee 78+!
4. I9300NEUGOA1 modem (zip for TWRP)
5. I9300XXUGPE1 bootloader (for Odin)

Credits:
@Lord Boeffla (Boeffla Kernel)
@arter97 (Intelli-Plug)
@rINanDO (SECCOMP)
@NoN1979
@pascua28 (Compatibility with Experimental LOS, updates fron N7100)
@Oebbler1 (for lower brightness values)
@curiousrom (for i9300XXUGPE1 bootloader)

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

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

XDA:DevDB Information
Koffee, Kernel for the Samsung Galaxy S III I9300

Contributors
A$teroid
Source Code: https://github.com/acroreiser/Koffee

Version Information

Koffee 88 (13.06)
Changes:
1. Updated bootup scripts
2. Pegasusq is default governor
3. Readjusted some Boeffla Config options
4. Enabled enhanced behavior for Pyramid governor (set multicore_eco = 1)
5. Downgraded modem interface fixup (v4 -> v3)
6. Stabilisation changes in kernel configuration
7. zRam is disabled by default (use Boeffla Config to enable)
8. s3cfb updates
9. Upstream patches
10. Reverted f2fs updates
11. Some tweaks

WIP: porting to Galaxy Note 2 N7100

---

Koffee 83 (22.05)
Changes:
1. Compiler GCC 4.7
2. Security patches
3. Dropped zzmoove, conservative
4. Enhanced network security
5. Dropped additional compiler optimizations

Koffee 80 (15.05.18)
Changes:
1. Dropped Multicore Powersaving and related hacks
2. Enabled Intelli-Plug
3. Enabled non-hotplug governors for Intelli-Plug
4. Fixed audio playback after incoming/outgoing call

Status: Stable
Created 2017-08-22
Last Updated 2018-06-14
The Following 46 Users Say Thank You to A$teroid For This Useful Post: [ View ] Gift A$teroid Ad-Free
 
 
1st January 2018, 03:15 PM |#2  
RΞ:D¥'s Avatar
Junior Member
Thanks Meter: 4
 
More
How i can update this kernel?
1st January 2018, 03:19 PM |#3  
A$teroid's Avatar
OP Senior Member
Thanks Meter: 391
 
More
Quote:
Originally Posted by RΞ:D¥

How i can update this kernel?

just download latest zip & flash via twrp
The Following 3 Users Say Thank You to A$teroid For This Useful Post: [ View ] Gift A$teroid Ad-Free
2nd January 2018, 05:40 PM |#4  
Senior Member
Flag Johannesburg
Thanks Meter: 326
 
More
Nice, will give it a go, the only downside about my giving this a try is that I'm using SuperSU. Otherwise I am on RR N
Thanks
6th January 2018, 07:39 AM |#5  
Junior Member
Thanks Meter: 0
 
More
Spectre
Does Spectre need to be mitigated by the kernel or the ROM?
6th January 2018, 12:01 PM |#6  
Junior Member
Thanks Meter: 0
 
More
can I dirty flash it over the elite-boeffla-kernel-6.0.0.2 or do I have to install RR N again and then flash Koffee-kernel?
6th January 2018, 01:57 PM |#7  
A$teroid's Avatar
OP Senior Member
Thanks Meter: 391
 
More
Quote:
Originally Posted by ThommyIV

can I dirty flash it over the elite-boeffla-kernel-6.0.0.2 or do I have to install RR N again and then flash Koffee-kernel?

Just flash latest zip
The Following 2 Users Say Thank You to A$teroid For This Useful Post: [ View ] Gift A$teroid Ad-Free
6th January 2018, 02:01 PM |#8  
A$teroid's Avatar
OP Senior Member
Thanks Meter: 391
 
More
Koffee build 34 (06.01.2018)

Changelog:
  • LCD: allow much lower display brightness
  • mm: refix for shmem_swp_set crash
  • mm: (U)KSM removed due to conflict with camera driver
The Following User Says Thank You to A$teroid For This Useful Post: [ View ] Gift A$teroid Ad-Free
6th January 2018, 02:07 PM |#9  
A$teroid's Avatar
OP Senior Member
Thanks Meter: 391
 
More
Quote:
Originally Posted by xappre

Does Spectre need to be mitigated by the kernel or the ROM?

According to this table, our cortex-a9 cores is variant 3 and unaffected
https://developer.arm.com/support/security-update
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20180106-160528.png
Views:	1310
Size:	91.6 KB
ID:	4381360  
The Following User Says Thank You to A$teroid For This Useful Post: [ View ] Gift A$teroid Ad-Free
6th January 2018, 04:32 PM |#10  
Member
Thanks Meter: 10
 
More
Kind of a long shot but will this kernel work with the experimental lineage nougat ROM for i9300??
6th January 2018, 05:00 PM |#11  
A$teroid's Avatar
OP Senior Member
Thanks Meter: 391
 
More
Quote:
Originally Posted by anarchist1017

Kind of a long shot but will this kernel work with the experimental lineage nougat ROM for i9300??

No: kernel based on boeffla and on old smdk4412 base.

Kernel in experimental lineage 14.1 based on n7100 kernel sources and has experimental HWC implementation. I'll rebase Koffee to the new codebase in future, but now this code is not enough stable.

And all other custom kernels is NOT suitable with experimental Lineage.
The Following User Says Thank You to A$teroid For This Useful Post: [ View ] Gift A$teroid Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes