• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[EOL][KERNEL][STABLE][TW][O][8.0][BRJ3][SM-G96XF/FD/N] FlashKernel V1.6.0 Final

Status
Not open for further replies.
Search This thread

Tkkg1994

Inactive Recognized Developer / Contributor
Jun 10, 2014
10,138
29,151
Coding City
FlashKernel for SM-G96XF/FD/N (S9/S9+)

PnM2iU.jpg


Supports touchwiz based roms only

IF YOU FOLLOW MY STEPS BELOW, YOU WILL LOSE YOUR WARRANTY, KNOX WILL DISPLAY 0x1! I'M NOT RESPONSIBLE FOR ANY DAMAGED DEVICE!

If you want to take my work and need it somewhere, or do other things with it, ask me first for the permission. Otherwise you are not allowed to take it! Thank you :)!

Features of this Kernel:
- Build with latest 4.9 google toolchain
- Build with BRJ3 kernel source code
- Latest Linux version 4.9.135, is always up to date
- Performance and battery life improved
- Choose between different CPU governors: performance, powersave, userspace, ondemand, interactiv, conservative, schedutil (default)
- Includes latest BRJ3 ramdisk
- I/O schedulers: CFQ (Default), No-op, Deadline, BFQ
- TCP (Network) control: Bic (default), Reno, cdg, cubic, dctcp, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, LP, Yeah, Illinois, Lia, Olia, Wvegas, balia
- Selinux is set to permissive
- All samsung security related configs disabled (as knox, tima, restrict rooting)
- More to come soon


Download:
V1.5.0 Via GrifoDev
V1.6.0 Via AFH

Bugs/Problems:
- Samsung Pay, Secure folder won't work anymore after tripping knox!
- Let me know :)

Instructions:
0. Have a working recovery (this includes OEM unlock enabled) and encryption removed! (to install TWRP visit this thread)
1. Download kernel and copy it to your sd card
2. Boot into twrp recovery mode (press bixby + volume up + power)
3. Flash kernel
4. Flash any other file which affects the ramdisk (Magisk or SuperSU)
5. Reboot

Telegram:
FlashKernel Chat

Support:
If you like my work, feel free to hit thanks and/or give me a small donation by clicking the link right below. Thank you very much in any way! :D :good:

PayPal

Credits/Thanks:
- Samsung for the sources
- the great linus for his amazing kernel source
- geiti94 for general help

XDA:DevDB Information
FlashKernel SM-G96XF, Kernel for the Samsung Galaxy S9

Contributors
Tkkg1994
Source Code: https://github.com/GrifoDev/FlashKernel

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: 1.6.0
Stable Release Date: 2018-10-22

Created 2018-03-20
Last Updated 2019-04-07
 

Tkkg1994

Inactive Recognized Developer / Contributor
Jun 10, 2014
10,138
29,151
Coding City
Changelogs

FlashKernel V1.0.0:
- Initial release

FlashKernel V1.0.1:
- Updated linux to latest 4.9.89
- Enabled dex with any HDMI adapter
- Introduced BFQ iosched
- Upstream: updated EAS (Energy Aware Scheduler) to most recent v1.4 version
- Updated schedutil governor
- Updated AIK to latest 3.2 release
- Enabled wireguard
- Enable fake knox and init.d in ramdisk
- Switch to latest linaro 7.2 toolchain
- Fixed slow downs from the device
- Fixed bluetooth not working
- Set selinux to permissive (now it will show permissive in settings)

FlashKernel V1.1.0:
- Rebased on latest ARCC source code
- Based on latest ARCC ramdisk
- Linux updated to 4.9.92
- Updated dtb to latest ARCC with revers engineering, thanks @Noxxxious
- Fixed copy/paste and other issues due to disabled knox

FlashKernel V1.2.0:
- Rebased on latest BRE5 source code
- Updated to latest BRE5 ramdisk
- Updated linux to latest 4.9.102
- Samsung hasn't released the dts files for BRE5, so I modified it manually (revers engineering). Let's see how many people will kang us :D
- Adjusted some small things

FlashKernel V1.2.1:
- Updated to latest linux 4.9.109
- Updated EAS (Energy Aware Scheduler) to latest r1.5
- Changes there are:
- Removal of sched-freq (mainline schedutil should be used instead)
- Basic support for DynamIQ DSU little-sync support (min frequency capping)
- Improved performance for 'EnergyDiff' calculation
- Immediate force-migration of misfit tasks

FlashKernel V1.3.0:
- Source updated to BRF8
- Ramdisk updated to BRF8
- Linaro toolchain updated to 7.3.1
- Linux updated to 4.9.112

FlashKernel V1.4.0:
- Source updated to BRG6
- Ramdisk updated to BRG6
- Toolchain changed to latest google 4.9 (due to compatibility and overall performance)
- Linux updated to 4.9.116
- Reverted EAS update from FlashKernel V1.2.1 (people reported freqs being locked)
- Updated AIK to 3.3

FlashKernel V1.5.0:
- Source updated to BRI1
- Ramdisk updated to BRI1
- Linux updated to 4.9.128

FlashKernel V1.6.0:
- Source updated to BRJ3
- Ramdisk updated to BRJ3
- Linux updated to 4.9.135
 
Last edited:

pepo187

Senior Member
Mar 13, 2012
51
6
so did anyone flash it successfully? how is the performance and battery life VS stock?
 

martgenius

Senior Member
Jan 28, 2011
110
47
Hi Tkkg,
at first thanks for your development.

Im on the Devbase Rom with your Kernel. Everything ist stable but
1. battery drain is very high -> im not a social media fanboy. no push news etc
2. sometimes its laggy and stuttering

And Yeah i i switch the gov, phone crashes and restart the first time.

Hope i can give you enough input for further rls.
Thanks for all your hard work.

M.
 

flummi3000

Senior Member
Sep 6, 2010
348
59
I can not change the frequenz of Second CPU Group over 1794mhz. Any ideas? Should Go up to 2700.

Gesendet von meinem SM-G965F mit Tapatalk
 

Tkkg1994

Inactive Recognized Developer / Contributor
Jun 10, 2014
10,138
29,151
Coding City
Update arrives

FlashKernel V1.0.1:
- Updated linux to latest 4.9.89
- Enabled dex with any HDMI adapter
- Introduced BFQ iosched
- Upstream: updated EAS (Energy Aware Scheduler) to most recent v1.4 version
- Updated schedutil governor
- Updated AIK to latest 3.2 release
- Enabled wireguard
- Enable fake knox and init.d in ramdisk
- Switch to latest linaro 7.2 toolchain
- Fixed slow downs from the device
Edit:
- Reuploaded to fix bluetooth issues

Download:
V1.0.1 via AFH

BTW it's normal that you loose the wifi and need to re-enter the password!

For any kind of problems, please attach proper logs, without them I'm unable to help :)
 
Last edited:

vulgaros

Member
Jun 14, 2010
21
8
With version 1.0.1 the UI has become very fast & responsive. The issue I'm still having is with the device rebooting whenever I try to use the Recents button to try and enter split screen view.
 

Tkkg1994

Inactive Recognized Developer / Contributor
Jun 10, 2014
10,138
29,151
Coding City
With version 1.0.1 the UI has become very fast & responsive. The issue I'm still having is with the device rebooting whenever I try to use the Recents button to try and enter split screen view.
I'm sorry to disappoint you but this has nothing to do with the kernel and happens also with the stock kernel. It's an UI issue (systemui crash) and not a reboot, just a softreboot

Cause is this:
Code:
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.server.pm.PersonaManagerService.notifyActivityDrawn(int, boolean, boolean, android.content.ComponentName, int, boolean)' on a null object reference
 

xpirt

Recognized Developer / Recognized Contributor
Feb 19, 2013
5,070
21,211
With version 1.0.1 the UI has become very fast & responsive. The issue I'm still having is with the device rebooting whenever I try to use the Recents button to try and enter split screen view.

I'm sorry to disappoint you but this has nothing to do with the kernel and happens also with the stock kernel. It's an UI issue (systemui crash) and not a reboot, just a softreboot

Cause is this:
Code:
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.server.pm.PersonaManagerService.notifyActivityDrawn(int, boolean, boolean, android.content.ComponentName, int, boolean)' on a null object reference
confirmed samsung bug, fixed.. https://drive.google.com/file/d/1hz9omJpSof41yLGZ_TGuZzHuL8Z_7mjO/view?usp=sharing (flashable zip for G960F only)
 

jfm91

Senior Member
Jun 28, 2011
362
27
Hi.
Wiped my phone (G965F) today. Installed FlashKernel 1.0.1 and SuperSU from TWRP. Running stock ROM. Then downloaded SuperSU from Play Store. But SuperSU dont detect root.

Before wiping phone root was working fine.
What have I missed?
 

Tkkg1994

Inactive Recognized Developer / Contributor
Jun 10, 2014
10,138
29,151
Coding City
what is battery life vs stock?
Hard to say, I guess similar or slightly better than stock
Hi.
Wiped my phone (G965F) today. Installed FlashKernel 1.0.1 and SuperSU from TWRP. Running stock ROM. Then downloaded SuperSU from Play Store. But SuperSU dont detect root.

Before wiping phone root was working fine.
What have I missed?
That the app wasn't installed shows already that there went something wrong. Have you removed the encryption after flashing twrp?
I can confirm that supersu works fine on this kernel so there must be another factor messing it up
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    FlashKernel for SM-G96XF/FD/N (S9/S9+)

    PnM2iU.jpg


    Supports touchwiz based roms only

    IF YOU FOLLOW MY STEPS BELOW, YOU WILL LOSE YOUR WARRANTY, KNOX WILL DISPLAY 0x1! I'M NOT RESPONSIBLE FOR ANY DAMAGED DEVICE!

    If you want to take my work and need it somewhere, or do other things with it, ask me first for the permission. Otherwise you are not allowed to take it! Thank you :)!

    Features of this Kernel:
    - Build with latest 4.9 google toolchain
    - Build with BRJ3 kernel source code
    - Latest Linux version 4.9.135, is always up to date
    - Performance and battery life improved
    - Choose between different CPU governors: performance, powersave, userspace, ondemand, interactiv, conservative, schedutil (default)
    - Includes latest BRJ3 ramdisk
    - I/O schedulers: CFQ (Default), No-op, Deadline, BFQ
    - TCP (Network) control: Bic (default), Reno, cdg, cubic, dctcp, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, LP, Yeah, Illinois, Lia, Olia, Wvegas, balia
    - Selinux is set to permissive
    - All samsung security related configs disabled (as knox, tima, restrict rooting)
    - More to come soon


    Download:
    V1.5.0 Via GrifoDev
    V1.6.0 Via AFH

    Bugs/Problems:
    - Samsung Pay, Secure folder won't work anymore after tripping knox!
    - Let me know :)

    Instructions:
    0. Have a working recovery (this includes OEM unlock enabled) and encryption removed! (to install TWRP visit this thread)
    1. Download kernel and copy it to your sd card
    2. Boot into twrp recovery mode (press bixby + volume up + power)
    3. Flash kernel
    4. Flash any other file which affects the ramdisk (Magisk or SuperSU)
    5. Reboot

    Telegram:
    FlashKernel Chat

    Support:
    If you like my work, feel free to hit thanks and/or give me a small donation by clicking the link right below. Thank you very much in any way! :D :good:

    PayPal

    Credits/Thanks:
    - Samsung for the sources
    - the great linus for his amazing kernel source
    - geiti94 for general help

    XDA:DevDB Information
    FlashKernel SM-G96XF, Kernel for the Samsung Galaxy S9

    Contributors
    Tkkg1994
    Source Code: https://github.com/GrifoDev/FlashKernel

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: 1.6.0
    Stable Release Date: 2018-10-22

    Created 2018-03-20
    Last Updated 2019-04-07
    16
    FlashKernel V1.4.0:
    - Source updated to BRG6
    - Ramdisk updated to BRG6
    - Toolchain changed to latest google 4.9 (due to compatibility and overall performance)
    - Linux updated to 4.9.116
    - Reverted EAS update from FlashKernel V1.2.1 (people reported freqs being locked)
    - Updated AIK to 3.3

    Information:
    I'm sorry that I skipped several versions on XDA, I completely forgot about the thread here. I released V1.2.1 and V1.3.0 earlier on www.grifodev.ch. However this release now is now the most up-to-date kernel. Only use it on BRG6 based roms!

    Download:
    Via GrifoDev

    You have two options on our website, if you are logged in you will see a "download" button. Gives you full speed without restrictions. There is also a AFH in the post available in case you prefer it over the GrifoDev download :good:
    10
    Update arrives

    FlashKernel V1.0.1:
    - Updated linux to latest 4.9.89
    - Enabled dex with any HDMI adapter
    - Introduced BFQ iosched
    - Upstream: updated EAS (Energy Aware Scheduler) to most recent v1.4 version
    - Updated schedutil governor
    - Updated AIK to latest 3.2 release
    - Enabled wireguard
    - Enable fake knox and init.d in ramdisk
    - Switch to latest linaro 7.2 toolchain
    - Fixed slow downs from the device
    Edit:
    - Reuploaded to fix bluetooth issues

    Download:
    V1.0.1 via AFH

    BTW it's normal that you loose the wifi and need to re-enter the password!

    For any kind of problems, please attach proper logs, without them I'm unable to help :)
    10
    Kernel BRJ3 update

    FlashKernel V1.6.0:
    - Source updated to BRJ3
    - Ramdisk updated to BRJ3
    - Linux updated to 4.9.135

    I completly forgot to release it here on XDA as well, I'm sorry guys :D

    Downloads:
    Via AFH
    Download via GrifoDev

    Have fun and wish you a nice day :fingers-crossed:
    9
    Changelogs

    FlashKernel V1.0.0:
    - Initial release

    FlashKernel V1.0.1:
    - Updated linux to latest 4.9.89
    - Enabled dex with any HDMI adapter
    - Introduced BFQ iosched
    - Upstream: updated EAS (Energy Aware Scheduler) to most recent v1.4 version
    - Updated schedutil governor
    - Updated AIK to latest 3.2 release
    - Enabled wireguard
    - Enable fake knox and init.d in ramdisk
    - Switch to latest linaro 7.2 toolchain
    - Fixed slow downs from the device
    - Fixed bluetooth not working
    - Set selinux to permissive (now it will show permissive in settings)

    FlashKernel V1.1.0:
    - Rebased on latest ARCC source code
    - Based on latest ARCC ramdisk
    - Linux updated to 4.9.92
    - Updated dtb to latest ARCC with revers engineering, thanks @Noxxxious
    - Fixed copy/paste and other issues due to disabled knox

    FlashKernel V1.2.0:
    - Rebased on latest BRE5 source code
    - Updated to latest BRE5 ramdisk
    - Updated linux to latest 4.9.102
    - Samsung hasn't released the dts files for BRE5, so I modified it manually (revers engineering). Let's see how many people will kang us :D
    - Adjusted some small things

    FlashKernel V1.2.1:
    - Updated to latest linux 4.9.109
    - Updated EAS (Energy Aware Scheduler) to latest r1.5
    - Changes there are:
    - Removal of sched-freq (mainline schedutil should be used instead)
    - Basic support for DynamIQ DSU little-sync support (min frequency capping)
    - Improved performance for 'EnergyDiff' calculation
    - Immediate force-migration of misfit tasks

    FlashKernel V1.3.0:
    - Source updated to BRF8
    - Ramdisk updated to BRF8
    - Linaro toolchain updated to 7.3.1
    - Linux updated to 4.9.112

    FlashKernel V1.4.0:
    - Source updated to BRG6
    - Ramdisk updated to BRG6
    - Toolchain changed to latest google 4.9 (due to compatibility and overall performance)
    - Linux updated to 4.9.116
    - Reverted EAS update from FlashKernel V1.2.1 (people reported freqs being locked)
    - Updated AIK to 3.3

    FlashKernel V1.5.0:
    - Source updated to BRI1
    - Ramdisk updated to BRI1
    - Linux updated to 4.9.128

    FlashKernel V1.6.0:
    - Source updated to BRJ3
    - Ramdisk updated to BRJ3
    - Linux updated to 4.9.135