[DISCONTINUED] [KERNEL] [SM-J400X] RedLine Kernel for Samsung Galaxy J4 (GSI ONLY!) (Q VENDOR ONLY!) - Samsung Galaxy J ROMs, Kernels, Recoveries, & Othe

Introducing ...
RedLine Kernel - for Samsung Galaxy J4
(Lol, bad image )​
Code:
#include <std_disclaimer.h>
/*
* Your warranty is 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. */
1. What is RedLine Kernel?
RedLine kernel is custom optimized and improved kernel, aiming for less-developed device (Like this Samsung Galaxy J4).
2. Features
This kernel have :
CPU Overclocked to 1.6 Ghz
Kali NetHunter support
HID support for Kali NetHunter
SELinux mode can be changed to Enforce or Permissive (default)
WireGuard Support
Boeffla Wakelock Blocker
Powersuspend Driver
Enable built-in available CPU Governors
Switchable fsync & Dynamic Fsync
GPU Voltage Control
Increased refresh rate to 65Hz
Graphic & Rendering Optimization
Sec Battery Control
Increased charging input
Disabled anoyying security
ZRAM lz4 support (default)
And many more! More features coming soon
Notes: This kernel only support GSI ROM, if you install it in stock, maybe there are bug! To see what is GSI and how to install it, see the @phhusson 's GitHub GSI
3. Requirement
Samsung Galaxy J4, with bootloader unlocked
Official TWRP 3.4 (CLICK HERE)
Any GSI ROM A64 A/B installed (Search for the tutorial)
Magisk (Optional, if you want root)
4. Installation Steps
Boot Into Recovery
Flash as usual
If you ever flash Magisk before, it got deleted. Reflash magisk or keep unrooted, that's up to you
Reboot
If you face the 'there is a problem with your device' (AOSP GSI), simply ignore it
5. Bugs
You tell me If you want to report, please send me last_kmsg from /proc and logcat when doing the bug. Syslog is helpful too.
6. FAQ
A: Does my data will going to deleted when installing this kernel?
B: NO! The installer script is just replacing boot and dtbo partition, NOT DATA PARTITION. So data will safe.
A: Keep getting bootloop or infinity boot (enter the screen and then goes back to boot animation)!
B: Do you flash in GSI? What GSI you use? And you sure you flash this after Android 10 update, so the Q vendor is installed, not P?
A: You f*cking fake!! This is broken kernel!!
B: Dude, I tested this kernel my self! And it works properly. You want proof? Go to Post 3!!
A: Great! How I can help you? By donating?
B: See number 7 below
6. Screenshots
See Post 3
7. Donate
If you feel this kernel is helpful, and want to help me build by donating, here is the answer : Don't donate to me, donate to other people that more need donation. I'm not being rude, or don't want to be helped, or whatever. This kernel is builded in my free time, so I don't do this for job, but just my hobby
8. Source
Kernel : https://github.com/RedLine-Project/RedLine_j4ltejx
Defconfig: redline_defconfig
GCC: Google GCC 4.9, branch ndk-release-r17
My source is freely used for anyone. You can fork it, clone it, even build it without my permission. But, if you want to rebuild kernel, add other features, and share to somewhere, please add my credit! Atleast my XDA username, 'source forked from RedLine', or anything! It will be very appreciated
JOIN OUR GROUP IN TELEGRAM :
• Samsung Galaxy J4 Group : t.me/SamsungGalaxyJ4
• RedLine Project Channel : t.me/redlinep_channel
9. Thanks to
Allah SWT
My beloved parents and family
@asarre , for helping me to overclock
@AlexGeek3 , his commit is very useful for my kernel
All of Samsung Galaxy J4 telegram group's member
My tester
@osm0sis for AIK, @jcadduono for Dtbtool
And other!
Thanks for using this kernel! Cheers
EDIT 19/03/2021: Discontinued! The link is dead.

RedLine V2.0
This is just for avoiding forgot zip name. This release is only add 2 features.
Download Link: https://github.com/redline-dev/RedLine_j4ltejx/releases/tag/V2
All downloads: https://github.com/redline-dev/RedLine_j4ltejx/releases
Changelog:
Migrate to shell script installer. This allowing me to edit & tweak the kernel when installing, and better UI message
Added RTL8188EU & RTL8812AU for Kali NetHunter. Modules available in /sdcard/RedLine-stuff
================================
V1 NOT AVAILABLE, DUE TO WEBSITE DELETION. V2 IS AVAILABLE IN GITHUB
RedLine V1.0
Download Link : http://hendramanu.rf.gd/j4ltejx/RedLine-09_11_2020_16_51-j4ltejx.zip
All downloads : http://hendramanu.rf.gd/j4ltejx
Changelog:
- Initial build with :
CPU Overclocked to 1.7 Ghz
GPU Overclocked to 1.1Ghz (still bugged!)
Kali NetHunter support
HID support for Kali NetHunter
SELinux mode can be changed to Enforce (default) or Permissive
WireGuard Support
Boeffla Wakelock Blocker
Powersuspend Driver
Enable built-in available CPU Governors
Switchable fsync & Dynamic Fsync
GPU Voltage Control
Increased refresh rate to 65Hz
Graphic & Rendering Optimization
Sec Battery Control
Increased charging input
Disabled security
ZRAM lz4 support (default)

Screenshot taken from Bless GSI :

Reserved (Other things)

Excellent work, mate

asarre said:
Excellent work, mate
Click to expand...
Click to collapse
Thanks

Awesome
Great work bro. I am still waiting for an overclocked kernel for a51 tbh but anyways great work. Also you asked me about the dtbo support in ofox , was that to make this work with ofox?

Mirai_deku said:
Great work bro. I am still waiting for an overclocked kernel for a51 tbh but anyways great work. Also you asked me about the dtbo support in ofox , was that to make this work with ofox?
Click to expand...
Click to collapse
I'm not sure. At first I just flashing dtb to dtbo partition, with maybe expecting any different, but I think it is little bit useful.
But still can't install in twrp 3.2, since it Android O based (no system_root), so myb will edit the script.
And for A51, I already send query for samsung to release OneUI 2.5 / U4 source, but still no respond. If I develop now, it may useless because there is a chance will cause conflict when importing U4 source in future. And Exynos 9610 is something quite new to me, so need to learn kmsg, log, and dts.
Btw thanks

the link doesn't open bro

leoleeo said:
the link doesn't open bro
Click to expand...
Click to collapse
Fixed. My website is under deletion, and I upload release in GitHub. Check the new link.

will it work on the J5 Prime? since it has the same chipset (exynos 7570) and I would like to try it.

Agus0215 said:
will it work on the J5 Prime? since it has the same chipset (exynos 7570) and I would like to try it.
Click to expand...
Click to collapse
I think no, since it has different dts

the link is broken dude

batangllanos said:
the link is broken dude
Click to expand...
Click to collapse
Hi!
Yes, because it's discontinued. Even the source link is dead too. I'll change the status to discontinued in thread.
But I make new kernel: https://t.me/SamsungGalaxyJ4/13629. However it's still in testing phase, but will released if I have time.
Thanks!

hendramanu said:
Hi!
Yes, because it's discontinued. Even the source link is dead too. I'll change the status to discontinued in thread.
But I make new kernel: https://t.me/SamsungGalaxyJ4/13629. However it's still in testing phase, but will released if I have time.
Thanks!
Click to expand...
Click to collapse
thank, but why is this discontinued?

batangllanos said:
thank, but why is this discontinued?
Click to expand...
Click to collapse
Busy and got messed up

hendramanu said:
Busy and got messed up
Click to expand...
Click to collapse
Oh, okay

Related

[KERNEL][Reborn] Clarity [CM13-M] [Uber 4.9] [FINAL]

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now 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.
*/
Please read completely this thread before using for minimize FAQ
If you coming from other custom kernel, please restore to cm kernel or dirty flash your rom before flash this!, to make sure everythings go to original and prevent from unexpected bugs.
THIS DOESN'T SUPPORT FOR STOCK ROM!
Requirement
TWRP
CM 13.0 or AOSP 6.0.1
Features for Reborn
Linux 3.4.113
Hybrid Kernel
Sync Latest Cyanogenmod source
Compiled with Uber 4.9
Powersuspend 1.7
Doubletap2 Wake support (DT2W enabled by default).
WakeGesture with Pocket Mode.
Fsync Control Sysfs.
added io scheduler : sio, zen, tripndroid, fifo
added cpu governor : badass, smartassH3, clarity, lionheart and nightmare
added gpu governor : conservative (default)
Faux sound control
Faux simple gpu algorithm
Gentle fair sleeper and power arch sysfs
true zsmalloc/zram from linux 3.17.y
Cherry pick from any other source.
NOTE
Please do not make some request, i just make this kernel lightweight with some usefull features.
BUGS ?
You tell me with proper logs
Credits
Google
CyanogenMod
Motorola
Ashwin007 - Squid2
Christopher83
Savoca
franciscofranco
Faux123
Arter97
Donation list
Code:
[CENTER]
electrohippie - $5
[/CENTER]
Download for Reborn Final
https://www.androidfilehost.com/?w=files&flid=140803
Donate Me​
XDA:DevDB Information
Clarity Kernel Reborn/Revolution, Kernel for the Moto E
Contributors
rainforce279
Source Code: https://github.com/ryan-andri/android_kernel_motoe/commits/condor/cm-13.0
Kernel Special Features: Multiple custom hotplug, Wake Gesture
Version Information
Status: Stable Final
Current Stable Version: Reborn Final
Stable Release Date: 2017-01-01
Created 2016-06-25
Last Updated 2017-01-01
Please Check my github, Thanks
great rainforce279 that good you came back with another kernel amazing , this time use all the time you want to launch an upgrade , the only thing I ask is that if there are changes in the kernel cyanogenmod this you update device the kernel to the latest sources cyanogenmod
hetor99 said:
great rainforce279 that good you came back with another kernel amazing , this time use all the time you want to launch an upgrade , the only thing I ask is that if there are changes in the kernel cyanogenmod this you update device the kernel to the latest sources cyanogenmod
Click to expand...
Click to collapse
yes i'll do, and this using the latest source cyanogenmod.
Oh yes!
Would you mind to make a permissive or enforcing selinux mode choice in next build? Great to see Clarity (again).
Sent from my Moto E using XDA Labs
rian_tama said:
Oh yes!
Would you mind to make a permissive or enforcing selinux mode choice in next build? Great to see Clarity (again).
Sent from my Moto E using XDA Labs
Click to expand...
Click to collapse
I use RR, but I would like this option in the kernel. Very happy to see Clarity back to my device
Big FAT Thanks
good to see clarity back. one question though, did you picked up the project where it was left or you are starting this project from the scrap?
great work man. and Thanks...
good work bro, nice kernel!
Thank you!
Also a big fat Thank You from me!
I'm happy that you're back and because of that fact I'm gonna donate now.
cheers
Awesome man!!! Thanks a lot!!!
rian_tama said:
Oh yes!
Would you mind to make a permissive or enforcing selinux mode choice in next build? Great to see Clarity (again).
Sent from my Moto E using XDA Labs
Click to expand...
Click to collapse
will trying it.
brundark said:
I use RR, but I would like this option in the kernel. Very happy to see Clarity back to my device
Click to expand...
Click to collapse
nice to make you happy, thanks for using this.
deepuluck said:
Big FAT Thanks
good to see clarity back. one question though, did you picked up the project where it was left or you are starting this project from the scrap?
great work man. and Thanks...
Click to expand...
Click to collapse
thanks man , yeh it started from begining, not started from where i left clarity.
TechnoAnder said:
good work bro, nice kernel!
Click to expand...
Click to collapse
thanks you bro.
electrohippie said:
Also a big fat Thank You from me!
I'm happy that you're back and because of that fact I'm gonna donate now.
cheers
Click to expand...
Click to collapse
Big thanks bro, i was add your name at op's as donation list.
many thanks.
cerberusss said:
Awesome man!!! Thanks a lot!!!
Click to expand...
Click to collapse
your welcome
Update to stable 1.1
Download
https://www.androidfilehost.com/?w=files&flid=72788
changelogs:
- 9e24088 config: push clarity reborn 1.1
- 3d2a897 Makefile: tell gcc to tune all code
- 1ce6256 arch power: disable by default
- 3643dce sched: cpu_power: Add controls for sched features
- cae77e1 sched: Add sysinterface for GENTLE_FAIR_SLEEPERS
- be2e768 msm8610/8226: don't use deprecated swp{b} in ARMv6+
- b8ae1f9 add faux sound control 3.4
- a3bc719 devfreq: simple_gpu_algorithm: prevent overflow pwrlevel
- 6c347f5 Simple GPU Algorithm: Initial coding for devfreq based Adreno Drivers
- 5f893cd dt2w: improve accuracy of single touch detection
Thanks.
Update
Updated kernel is good. Was missing faux sound control.So Thanx.... :good:
Hey can you pls consider underclocking the cpu. Missing that too from clarity r26...Pls.....
And Since I haven't used any other cpu governor else than impulse. So Could You Pls Tell which one of the present governors is good for battery backup or atleast similar to impulse.
Update to stable 1.2
Download
https://www.androidfilehost.com/?w=files&flid=72788
Changelogs:
- a3a8837 config: clarity reborn 1.2
- 60537d5 Makefile: build with Linaro 5.2
- 9a0400f cpufreq: Introduce new relation for freq selection
- 59b9632 cpufreq: add impulse and ondemandplus governor
Yeeeah, Clarity again!
Hi, Rainforce.
I want to get the max possible SOT on my device by changing the kernel settings, what would be the best suggested settings over default settings on your kernel ? Thanks in advance.
Works in falcon or xt1021?
Cheers
ProudRed said:
Hi, Rainforce.
I want to get the max possible SOT on my device by changing the kernel settings, what would be the best suggested settings over default settings on your kernel ? Thanks in advance.
Click to expand...
Click to collapse
i was push version 1.3 with some feature to save battery, all adding intelliplug and alucard it your choice
Vicrol123 said:
Works in falcon or xt1021?
Cheers
Click to expand...
Click to collapse
this only for condor (xt1021/1022) cm 13 only.
never flash this to other devices, it will break your devices.
Deleted, dopost.
Update to stable 1.3
Download
https://www.androidfilehost.com/?w=files&flid=72788
changelogs:
- add Intelliplug and Alucard hotplug (use just one hotplug only, dont enable all hotplug or your device will going crazy!)
- add Power Efficient Workqueue (Sacrifice Performance for saving battery).
check to second post for completly build logs.
Thanks and have a nice day
Donate Me to Buy a Coffee

Unknown [kernel] [nougat] [gcc7.2]

Kernel only supports stock MIUI, No Lineage/Oreo SUPPORT!!!​
Kernel is based on sagit-oss and some CAF patches and some upstream backports, kernel is for my own use, so don't expect too much on it for fancy features
Disclaimer
/* * * Your warranty is now void. * We are not responsible for anything that may happen to your phone by installing any custom kernels. * You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers. * */
What inside this kernel:
Kernel support MIUI 7.12.7
Kernel compiled with GCC 7.2 Android Bionic 64Bit
Kernel build with -O2 with full optimization
Kernel remove annoying wlan logs, pkt logs in the stock kernel
Kernel is systemless, restore stock boot.img before you do OTA
Kernel build with debug disabled to improve performance
Kernel updated up to 4.4.106 build.
Kernel operate in 300HZ
Kernel include IPA/TIMERFD/WIFI/NETLINK wakelocks removal code by @franciscofranco
Kernel include open source QUALCOMM Wi-Fi driver updated to max without debugs.
Kernel include advanced binder driver from main line 4.10.y kernel.
Kernel include latest F2FS driver for 4.4.y with fixes for ICE(not tested yet)
Kernel include ZEN,NOOP,CFQ,MAPLE govs
Kernel includes Blu_active, Interactive Performance CPU GOVS.
Kernel includes ARM enhanced performance and battery patches
Kernel includes random driver backported from mainline
Kernel includes fast finger print sensor mod when screen is off.
Kernel includes @flar2 sound/mic gain control interface.
Kernel include boost to I/O by mounting partitions with optimized flags,
Kernel include fix to various selinux warning in stock kernel
Kernel include ext4 improvement backports
Kernel include memory allocator improvement backported from 4.6 kernel
Kernel include driver that will switch io scheduler to noop for power save when screen off after 5s
Download and Installation
Check github page and use fastboot to flash it
The simple answer is use fastboot to flash it. if you ever unlock your phone, fastboot is in the unlock tool you downloaded.
The detail answer is:
1. download image from github
2. connect your phone to computer using usb, with usb debug enabled
3. run "adb reboot bootloader" in shell
4. run "fastboot flash boot Kernel-Unknown-V2.0-Nougat-boot.img" in shell
5. run "fastboot reboot" to reboot phone
if you want to do OTA or kernel is not booting
1. run "fastboot flash boot boot.img" to restore stock kernel, of course you should find stock kernel on stock MIUI rom, there is a boot.img in the zip
Download link: https://github.com/carck/SAGIT-DOWNLOADS/
Releases
Release V2.2
* Linus 4.4.112
* cfq scheduler backports from mainline and set as default
* CPU minfreq switcher to reduce CPU minfreq in order to save power on screen off, screen off=300Mhz, screen on=Stock MIUI value
* Enable camera2 API to use HDR+ camera
Release v2.0
* Linux 4.4.108
* Experimental with io_is_busy set to 0 for interactive gov, to see if this will improve battery and not affect UI fluency
Release v.19
* Linux 4.4.106
* Tool change update to linaro gcc 2017.11
* Switch to @boeffla's wakelock blocker
* Try to improve fingerprint responsvieness
Release v1.6
* rollback some bluetooth changes, fixed device not going to sleep after Bluetooth disconnected
Release v1.5
*misc lib optimization backported from mainline
Release v1.4
*Linux 4.4.105
*miui 7.12.7 ramdisk
*Enable process reclaim, used by miui
Release v1.3
*Include a kernel driver that will switch io scheduler to NOOP for power saveing when screen off/on
Release v1.2
* memory allocator improvements backported from upstream 4.6
Release v1.1
* ext4 file improvements backports
Release V1.0
* Initial release, see github commits for what inside
XDA:DevDB Information
UNKNOWN, Kernel for the Xiaomi Mi 6
Contributors
lance.zhou
Source Code: https://github.com/carck/sagit_kernel
Kernel Special Features:
Version Information
Status: Beta
Created 2017-12-08
Last Updated 2017-12-28
Reserved
can you support aosp android 7.1?
and build zip?
where is the link?
Miftahzy98 said:
where is the link?
Click to expand...
Click to collapse
github's release tab
abc0922001 said:
can you support aosp android 7.1?
and build zip?
Click to expand...
Click to collapse
I think other kernel is good enough, I have no plan to build for aosp as i can't test.
Can you add fixed KCAL? I feel the color is thin...(My eyes seem to be bad)
What mean "fixed KCAL" ?
1. If turn-off screen, KCAL settings will be reset. (This is a problem on MIUI Nougat)
2. device rebooting when KCAL setting is applied(Apply on boot / changing setting).
Click to expand...
Click to collapse
This problem can be confirmed with custom Kernel which support KCAL
Garry050 said:
Can you add fixed KCAL? I feel the color is thin...(My eyes seem to be bad)
What mean "fixed KCAL" ?
This problem can be confirmed with custom Kernel which support KCAL
Click to expand...
Click to collapse
please provide kernel log, however it is not gurantee this can be fixed by me
what a nice kernel
Don't boot. Wipe's data without media. AND DON'T BOOT. Be aware. MIUI 7.12.7
boots fine here, anyway use other kernel please, no log no fix.
lance.zhou said:
boots fine here, anyway use other kernel please, no log no fix.
Click to expand...
Click to collapse
i try to flash it epic rom but it deletes everything but data and it bootloops on miui screen
MI 6 cihazımdan Tapatalk kullanılarak gönderildi
muzxx7 said:
i try to flash it epic rom but it deletes everything but data and it bootloops on miui screen
MI 6 cihazımdan Tapatalk kullanılarak gönderildi
Click to expand...
Click to collapse
Sorry to hear that, did you flash it by fastboot?
Your kernel works fine except one bug on finger print . When I turn off the screen for more than 5 seconds, there is a seconds-delay to wake the screen on with finger print. My finger print is FPC, not goodix. I guess if it is because "Kernel include driver that will switch io scheduler to noop for power save when screen off after 5s"? BTW the download page is missing, hope you restore it and fix the bug soon. I really like it and it is more stable than the other two xda kernels here on MIUI, you've done a great job. Thanks.
lance.zhou said:
Sorry to hear that, did you flash it by fastboot?
Click to expand...
Click to collapse
Rooted and decrypted devices may need to flash SuperSU to avoid bootloop and auto wiping the data after flash your kernel. This may due to MIUI problem, because I have the same problem when I flash a new version of MIUI rom.
hello,404 not found that url
Project is moved to bitbucket, the download link is updated.
Release v1.6, fix a issue device not going to sleep after bluetooth disconnect.
For those who want to help me to build a more stable kernel, please report with logs , after kernel panic and reboot,
adb shell
cat /proc/last_kmsg > /sdcard/ log.txt
and post log.txt here
lance.zhou said:
Project is moved to bitbucket, the download link is updated.
Release v1.6, fix a issue device not going to sleep after bluetooth disconnect.
For those who want to help me to build a more stable kernel, please report with logs , after kernel panic and reboot,
adb shell
cat /proc/last_kmsg > /sdcard/ log.txt
and post log.txt here
Click to expand...
Click to collapse
Pls give the bitbucket download link. The link hasn't been updated.
iChinxu said:
Your kernel works fine except one bug on finger print . When I turn off the screen for more than 5 seconds, there is a seconds-delay to wake the screen on with finger print. My finger print is FPC, not goodix. I guess if it is because "Kernel include driver that will switch io scheduler to noop for power save when screen off after 5s"? BTW the download page is missing, hope you restore it and fix the bug soon. I really like it and it is more stable than the other two xda kernels here on MIUI, you've done a great job. Thanks.
Click to expand...
Click to collapse
Here is the log.txt, I hope it's helpful to fix screen waken delay with finger print.
doesnt boot on xiaomi.eu

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

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 / 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
@forkbomb444'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:
@Lord Boeffla (Boeffla Kernel)
@arter97 (Intelli-Plug)
@forkbomb444 (experimental HWC)
@rINanDO (SECCOMP)
@NoN1979 (for low ram tweaks)
@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=&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
How i can update this kernel?
RΞ:D¥ said:
How i can update this kernel?
Click to expand...
Click to collapse
just download latest zip & flash via twrp
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
Spectre
Does Spectre need to be mitigated by the kernel or the ROM?
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?
ThommyIV said:
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?
Click to expand...
Click to collapse
Just flash latest zip
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
xappre said:
Does Spectre need to be mitigated by the kernel or the ROM?
Click to expand...
Click to collapse
According to this table, our cortex-a9 cores is variant 3 and unaffected
https://developer.arm.com/support/security-update
Kind of a long shot but will this kernel work with the experimental lineage nougat ROM for i9300??
anarchist1017 said:
Kind of a long shot but will this kernel work with the experimental lineage nougat ROM for i9300??
Click to expand...
Click to collapse
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.
A$teroid said:
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.
Click to expand...
Click to collapse
You're right. I have random reboots here and there in experimental build.
Sent from my S III using XDA Labs
Spectre
A$teroid said:
According to this table, our cortex-a9 cores is variant 3 and unaffected
Click to expand...
Click to collapse
Attack variants are different to processor variants.
The A9 is vulnerable to Spectre (attack variants 1 and 2) but not to Meltdown (attack variant 3).
A$teroid said:
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.
Click to expand...
Click to collapse
Thank you for the reply!!:good:
Can you build for note 2 plz
Saliver_Sky said:
Can you build for note 2 plz
Click to expand...
Click to collapse
No. I hasn't this device for test & debug kernel
Any good config for this kernel vía boeffla config whith good batery life and perfomance?
The best kernel out there! Thank you so much! Now I can pass safetynet!
Best regards!
Hey brother @A$teroid I wanted to ask that what if i wanted to use superSU with this kernel ??
Look , First I have installed Resurrection Remix
then , I have uninstalled magisk and installed superSU.zip
So , Can I install your kernel now ??
I wanted to use your kernel as well as superSU !
Help
mrpascal said:
Hey brother @A$teroid I wanted to ask that what if i wanted to use superSU with this kernel ??
Look , First I have installed Resurrection Remix
then , I have uninstalled magisk and installed superSU.zip
So , Can I install your kernel now ??
I wanted to use your kernel as well as superSU !
Help
Click to expand...
Click to collapse
You can use Koffee with any Nougat ROM and with (or without) any SU implementation.
I use Koffee with RR + Magisk.

[KERNEL] [MI6X/WAYNE] [PIE/MIUI] [CLANG] [Linux 4.4.179] NeonKernel

Code:
*
* Your warranty is... still valid?
*
* 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.
*
NeonKernel is a custom kernel for the Mi 6X (wayne), also there will be version for Mi A2 (jasmine) if requested.
Features:
Code:
- Linux 4.4.179
- Built with latest AOSP Clang.
- Kernel based on clean import.
- EAS With our own energy model
- Tweaked CFQ IOSCHED
- Anxiety IOSCHED
- DT2W
- Westwood TCP Cong enabled
- Changed haptic feedback
- Audit disabled
- KCAL
- Initial GPU freq is 160MHz
- F2FS Supported
- Inbuilt custom thermals config (by rcstar6696)
This is first beta build, tested on pie MIUI and few custom ROMs. If you've stuck on Mi logo after flashing kernel, hold power button until phone reboots twice.
How to install
Code:
1. Flash zip via TWRP (or any other recovery)
2. Wipe Cache & Dalvik (optional)
3. Done. Reboot into system.
Download: Telegram channel (mostly updated), GitHub
If you've got any questions or problems, join our telegram group.
Contributors:
hypeartist, me, rebenok90x
Source code: [url]https://github.com/NeonKernel/NeonKernel[/URL]
Also thanks to everyone who have helped me/I've picked commits from.
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Version Information
Status: Beta
Created 2019-04-30
Last Updated 2019-04-30
reserved.
can you make seperate package without thermal config for next build? thanks
help
Hi, I recently installed this kernel on my mi 6X with Xiaomi .eu latest stable rom 10.3.2 and de double tap to wake feature isn't working porpertly. I hope you can help me, thanks.
Greetings from Colombia
Daniel Olivares said:
Hi, I recently installed this kernel on my mi 6X with Xiaomi .eu latest stable rom 10.3.2 and de double tap to wake feature isn't working porpertly. I hope you can help me, thanks.
Greetings from Colombia
Click to expand...
Click to collapse
Try disabling selinux from enforcing to permissive.
in terminal type these below
su
Press enter then type
setenforce 0
Press enter
(to check the status though you can write getenforce and it'll tell you if permissive or enforcing)
After that in Settings if you have a enable / disable DT2W switch turn it off then on again, turn off screen and test.. but recently for me even that doesn't work anymore as it seems whoever makes builds of Mokee rom for my device removed DT2W from the rom instead of fixing it not working when enforcing
Don't think the kernel is the problem, rather it's the rom
ZaldhyDarwin said:
can you make seperate package without thermal config for next build? thanks
Click to expand...
Click to collapse
Next build will be without thermals at all. Comes soon, I hope
where can I download this kernel?
inVain_theGenuine said:
where can I download this kernel?
Click to expand...
Click to collapse
Did you read the OP post ?
Neverhopless said:
Did you read the OP post ?
Click to expand...
Click to collapse
I did!
heck, I even re-read it!!!
did you try to click the github link ?
inVain_theGenuine said:
I did!
heck, I even re-read it!!!
did you try to click the github link ?
Click to expand...
Click to collapse
Did you try to click the Telegram link ?
Neverhopless said:
Did you try to click the Telegram link ?
Click to expand...
Click to collapse
I don't have any telegram account.
does that mean the github link is broken ?
inVain_theGenuine said:
I don't have any telegram account.
does that mean the github link is broken ?
Click to expand...
Click to collapse
Yes

[KERNEL] [SM-T870] Quantic Kernel for Galaxy Tab s7 (WiFi only) [4.19.113]

Welcome to Quantic a Kernel built specially for Galaxy Tab s7 (WiFi) codename: SM-T870
One of the most used kernel on Custom ROMS on Xiaomi Mi 9, POCO F2 Pro, Mi 10T Pro, POCO F3 Pro, chosen by developers , built from scratch with source provided by email from Samsung OSS service/B]​
/* I'm not responsable for any damage on your device, for X or Y reason, also I'm not responsable if you loose your alarm and got fired and also the thermonuclear war, anything like that, installing this kernel you renounce to make me responsable of any unwanted behavior of your device */
/*Compatible ONLY with Android 11*/
Hi everyone, I want to introduce you my new kernel named Quantic-Kernel, this is my personal build kernel with my prefered features. Hope everyone enjoy it and I'll be maintaining it so people can used it (See details below)
FEATURES
Reduced logging events
Performance Improvements on scheduler
Enabled ZRAM with lz4 compressor
Upstreamed lz4 compressor
readahead optimizations
Android Binder tweaks
Optimized memory allocations
Reduced kernel weight
Optimized CAF CPU BOOST with my personal tweaks using Sultan's kthread affine API's
FIX CPU Capacity issues
Added Drag Kernel GPU Overclock table.
RCU Backports from mainline kernel.
Wireguard Enabled
Devfreq boost enabled and aligned with CAF sched_boost powerhal. Enjoy lag free UI experience with no frame drops.
Using efficient frequencies for kona (disabled 865+ overclock on CPU temporarily).
Support for 24 bits audio
Patched warranty flags on kernel, so knox status and warranty status are spoofed at boot stage.
Removed kperfmon debug driver
Removed lag UI when low battery
INSTALLATION PROCEDURE
Download FK Manager
Flash Quantic-Kernel_rX.zip
Reboot
Enjoy it
BUGS:
Boot time takes too much (trustzone doing his nasty stuff)
DOWNLOAD HERE
https://github.com/Official-Ayrton990/android_kernel_samsung_sm8250/releases/tag/r1.0
TELEGRAM CONTACT
https://t.me/Ayrton990 <-- Personal TG
https://t.me/AyrtonChat <-- Discussion group for support
Thanks List
To kdrag0n
To Kerneltoast
To alk3pInjection
To DragKernel's dev
To the awesome community in telegram of developers of Samsung sm8250
XDA:DevDB Information
Quantic Kernel for Galaxy Tab s7 (WiFi only)
Contributors
Ayrton990
Source Code: Github KONA-DEVS
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: r2
Beta Release Date: 2020-11-29
Created 2020-11-22
Last Updated 2020-11-29
Reserved
Reserved 2
Looks like awesome work! I'm excited to see the performance on others tab S7 devices! Any plans to support SM-T970 tab S7+ wifi?
Kernel nice ..... could use help with twrp
deleted
Does this overwrite the entire operating system? Does it add some tweaks to the current operating system? I'm a little confused about what flashing this does. And since we don't have TWRP for this device I don't want to mess up my current set up. Thanks.
Latest release boots on T875BUK2. Device seems to be fine, 4G also works.
Edit: Well, apart from the kernel panic whenever the device wakes up from sleep. Since its not for T875, I guess trying it isnt a very bright idea then..
Why A11. Mostly every 1 on A12.
gerabbi said:
Does this overwrite the entire operating system? Does it add some tweaks to the current operating system? I'm a little confused about what flashing this does. And since we don't have TWRP for this device I don't want to mess up my current set up. Thanks.
Click to expand...
Click to collapse
If you don't know what flashing a custom kernel will do to your device, it as well not be important at all for you to flash it. Just use your device stock.
ekin_strops said:
If you don't know what flashing a custom kernel will do to your device, it as well not be important at all for you to flash it. Just use your device stock.
Click to expand...
Click to collapse
I don't know. It's why I asked the question as to what this does? Your response didn't really address my question, though I appreciate the response. This is only a kernel and not the full rom? What is the advantage to flashing this compared to root with magisk?
gerabbi said:
Does this overwrite the entire operating system? Does it add some tweaks to the current operating system? I'm a little confused about what flashing this does.
Click to expand...
Click to collapse
XDA Rule #1: Search before posting.
Ayrton990 said:
Welcome to Quantic a Kernel built specially for Galaxy Tab s7 (WiFi) codename: SM-T870
One of the most used kernel on Custom ROMS on Xiaomi Mi 9, POCO F2 Pro, Mi 10T Pro, POCO F3 Pro, chosen by developers , built from scratch with source provided by email from Samsung OSS service/B]​
/* I'm not responsable for any damage on your device, for X or Y reason, also I'm not responsable if you loose your alarm and got fired and also the thermonuclear war, anything like that, installing this kernel you renounce to make me responsable of any unwanted behavior of your device */
/*Compatible ONLY with Android 11*/
Hi everyone, I want to introduce you my new kernel named Quantic-Kernel, this is my personal build kernel with my prefered features. Hope everyone enjoy it and I'll be maintaining it so people can used it (See details below)
FEATURES
Reduced logging events
Performance Improvements on scheduler
Enabled ZRAM with lz4 compressor
Upstreamed lz4 compressor
readahead optimizations
Android Binder tweaks
Optimized memory allocations
Reduced kernel weight
Optimized CAF CPU BOOST with my personal tweaks using Sultan's kthread affine API's
FIX CPU Capacity issues
Added Drag Kernel GPU Overclock table.
RCU Backports from mainline kernel.
Wireguard Enabled
Devfreq boost enabled and aligned with CAF sched_boost powerhal. Enjoy lag free UI experience with no frame drops.
Using efficient frequencies for kona (disabled 865+ overclock on CPU temporarily).
Support for 24 bits audio
Patched warranty flags on kernel, so knox status and warranty status are spoofed at boot stage.
Removed kperfmon debug driver
Removed lag UI when low battery
INSTALLATION PROCEDURE
Download FK Manager
Flash Quantic-Kernel_rX.zip
Reboot
Enjoy it
BUGS:
Boot time takes too much (trustzone doing his nasty stuff)
DOWNLOAD HERE
https://github.com/Official-Ayrton990/android_kernel_samsung_sm8250/releases/tag/r1.0
TELEGRAM CONTACT
https://t.me/Ayrton990 <-- Personal TG
https://t.me/AyrtonChat <-- Discussion group for support
Thanks List
To kdrag0n
To Kerneltoast
To alk3pInjection
To DragKernel's dev
To the awesome community in telegram of developers of Samsung sm8250
XDA:DevDB Information
Quantic Kernel for Galaxy Tab s7 (WiFi only)
Contributors
Ayrton990
Source Code: Github KONA-DEVS
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: r2
Beta Release Date: 2020-11-29
Created 2020-11-22
Last Updated 2020-11-29
Click to expand...
Click to collapse
I flashed it to my sm-t870 now it won't boot. Please help
Hempster18 said:
I flashed it to my sm-t870 now it won't boot. Please help
Click to expand...
Click to collapse
RIP. I’ll play the tiny violin for you while you put it in download mode via the key combo and restore it with Odin and the firmware files from Sammobile
This kernel is a monster!! Thanks

Categories

Resources