[EOL][KERNEL][STABLE][TW][O][8.0][ERH1][31.08.18][SM-G930F/FD] SuperKernel V3.1.0

Status
Not open for further replies.
Search This thread

Tkkg1994

Recognized Contributor / Inactive Recognized Devel
Jun 10, 2014
10,138
29,146
Coding City
SuperKernel for SM-G930F/FD/K/L/S/W8

41ba937c-80a9-47a9-8984-e83191b1ad82.png

Supports all touchwiz roms 6.0.1 on BPH6 base and higher

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

Please check Question and Answer Thread first!

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

SuperMan-Rom, a Touchwiz based rom made by myself!

Features of this Kernel:
- Build with latest official google toolchain v4.9
- Build with ERH1 kernel source!
- Latest Linux version 3.18.120, is always up to date
- Performance and Batterylife improved
- Choose between different CPU governors: performance, powersave, userspace, ondemand, interactiv (default), conservative, zzmoove, barry_allen, nightmare, darkness, pegasusq, yankactive intelliactive, ondemandplus, intellimm, bioshock, lionheart, smartmax, smartass2, smartmax_eps, alucard, blu_active, cafactive, electrodemand, ondemand_x, hyper and intellidemand
- Built with latest ramdisk sources from samsung (ERG2)
- Frandom Support
- Thunderplug hotplug driver can be selected in aroma (only for advanced users!)
- Gzip compressed ramdisk (supersu, magisk etc will work fine)
- I/O schedulers: CFQ (Default), ROW, No-op, Deadline, BFQ, FIOPS, SIO, VR, ZEN, FIFO, maple and SIOplus
- UKSM (Ultra Kernel Samepage Merging)
- Zram can be set in synapse
- Gentle fair sleeper switch enabled
- StateNotifier included
- HTC's async added
- Fsync toggle
- LED Control
- Charging control
- HMP control
- Full CPU/GPU control in synapse
- DVFS in Synapse
- Many controllable wakelocks
- Underclock: big core to 312Mhz, little core to 338Mhz
- Overlock: depens on your ASV
- GPU OC to 806 Mhz
- Init.d Support
- NTFS file system enabled
- CIFS/NFS file systems enabled
- F2fs supported
- Allow ADB-Insecure
- Wlan Wakelock decreased
- Fully controllable with synapse
- TCP (Network) control: Bic (default), Reno, cubic, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, LP, Yeah and Illinois
- Selinux is set to permissive
- Zen-Tune implemented
- All bad samsung drivers disabled (like tima or rkp)
- Force encryption disabled
- Knox faked to 0x0
- Boeffla wakelock control


Download:
Marshmallow V1.X:

Nougat V2.X:

Oreo V3.X:

Download via GrifoDev
All old releases

Bugs/Problems:
- None

Instructions:
0. Make a backup of your current stock kernel in TWRP, just in case you want to go back
1. Install a custom recovery for your phone, like this one here:TWRP
2. Follow the instructions on the page above, until you get a working recovery
3. Download the Kernel from below and copy it to your external SD Card
4. Reboot to your recovery by pressing volume up, home button and power button at the same time.
5. Install zip/select the kernel
6. Flash supersu, phh's root, magisk and all things that modify your boot.img
7. Wipe cache and dalvik cache (recommand)
8. Reboot

If you wanna join the beta tester group, download yourself telegram and click on the chat link: Telegram Group

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:

Credits/Thanks:
- Samsung for sources
- the great linus for his amazing kernel source
- arter97
- Jesec (for the great FP fix!!)
- dorimanx
- AndreiLux
- halaskz
- neobuddy83
- UpInTheAir for his great Synapse implementation

XDA:DevDB Information
SuperKernel for herolte, Kernel for the Samsung Galaxy S7

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

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: V3.1.0
Stable Release Date: 2018-08-31

Created 2016-05-30
Last Updated 2018-09-25
 

Attachments

  • Screenshot_20160530-213423.png
    Screenshot_20160530-213423.png
    206.1 KB · Views: 31,493
  • Screenshot_20160530-213533.png
    Screenshot_20160530-213533.png
    195.2 KB · Views: 31,230

Tkkg1994

Recognized Contributor / Inactive Recognized Devel
Jun 10, 2014
10,138
29,146
Coding City
Changelog:

Old Changelogs:
SuperKernel V1.0:
- Changes compared to stock:
- updated CPUfreq drivers
- updated to latest stable linux (3.18.34)
- updated zram/zsmalloc and zswap for better ram management
- implemented tasks adj tree
- updated ext4
- updated crypto files
- added UKSM
- updated workqueue and sched features
- added gentle fair sleepers switch
- added new governors, ioscheds and tcp
- backports from 4.0 kernel
- many more things (already over 1000 changes compared to stock!!!)
- detailed history

SuperKernel V1.1:
- fixed fingerprint support, thanks to @Jesse Chan who found the right files to delete!
- arm64: mm: support ARCH_MMAP_RND_BITS
- int_sqrt.c: Correction square root algo with naming
- int_sqrt: Improve 3x faster integer sqrt
- mm: mmap: add new /proc tunable for mmap_base ASLR
- mmc: core: Expose use_spi_crc module parameter in sysfs (and disable it to gain perfomance)
- tima, knox and all "bad" samsung related configs are disabled now!
- over 100 updates in kernel/sched and in kernel/rcu to gain performance and better batterylife
- as always, visit github to see what exactly changed!

SuperKernel V1.2.1:
- Reverted back some changes I made in kernel/sched and kernel/time -> Probably fixed the random reboots (I never had one before, so you need to test this)
- Added the requested ROW iosched
- Added UC/OC frequencies thanks to @Jesse Chan (Kernel detects if you phone is capable or not for OC (jesses work), I added a check that only Grade A phones have full OC)
- added DAX to fs
- Many /mm and filesystem Updates (for ext4, ext3, ext2 and f2fs)
- Applied Jesse's fingerprint lag fix
- updated kernel/locking
- implemented Zen-tune V4.5
- cfq-iosched: fix the setting of IOPS mode on SSD
- More changes on github

SuperKernel V1.2.5:
- changed ramdisk compression from lz4 to gzip (which should fix systemless xposed)
- add a fsync toggle to enable and disable fsync
- added async from HTC
- Use erandom functions
- added wakup toggle for wlan
- mm: Allow for Exynos swap to be enabled
- enabled 2 additional lower CPU steps
- update "mm/zsmalloc: don't fail if can't create debugfs info"
- updated cifs/nfs/nfsd and filesystems
- updated memory management (page_alloc, vmstat, etc)
- added new z3fold driver
- probably made fingerprint scanner a little big faster

SuperKernel V1.3.1:
- Updated ramdisk to APF2
- Updated linux to 3.18.35
- removed the red latter at start up (you really really wanted that :D )
- Fixed random reboots from 1.3 in superman rom
- added a wakelock fix who should fix some google wakelocks

SuperKernel V1.4:
- completely reworked my w. Wipe cache and dalvik cache (recommand)
hole source code, now available under: Github
- Updated ramdisk with latest supersu patch
- many updates in /base/power/opp
- backports from 3.19 branch
- interactive updates (even more smooth now)
- added kasan for arm64 devices
- overall smoothness improved
- tested over one day, not a single reboot till now

SuperKernel V1.7:
- fixed phone turning on when offline charging
- Updated base and ramdisk to latest BPH6 source, this kernel will only work on BPH6 ROM!!!!
- added full synapse support, thanks to UpInTheAir (I adapted his implementation to work on S7)
- Updated linux to 3.18.39
- added f2fs support for /data
- fixed private mode not working after a reboot
- fully remade the whole source tree to get you the best experience!
- fixed the tcp bug which would otherwise make your phone vulnerable
- some other backports
- updated workqueue
- switched to 7.0 sabermod toolchain
- many more things I may forgot

SuperKernel V1.8.5:
- Started from scratch on BPHJ source code
- No more freezing, not a single problem left anymore!
- Updated to 3.18.42 linux (latest)
- Merged some new linaro patches into kernel
- f2fs should now work (and stay) on partitions you have chosen
- HMP opimizations added (tunable in synapse)
- GPU UC removed for now
- CPU OC/UC enabled, but stock freqs are default on first flash
- Disabled PEWQ (can be enabled in synapse)
- Updated thermal
- Disabled task ADJ tree
- enabled hmp packing
- crypto updated
- cpufreq some small updates
- BPIF ramdisk
- Selinux audit configurable

SuperKernel V1.9:
- Based upon BPJ7 source code
- Updated to linux 3.18.44
- added GPU OC to 806Mhz (thanks to @lyapota)
- updated ramdisk to BPJ7
- fixed some battery settings in synapse
- updated busybox to 1.26
- patched CVE-2016-5195
- changed behavior of cpu on high freqs a bit

SuperKernel V1.9.2:
- Updated to BPJG source drop
- Updated ramdisk to BPJG source

SuperKernel V1.9.5:
- This kernel is only for MM!
- Ramdisk base changed to BPL3 (source base is still the same)
- Updated linux to latest 3.18.45 version
- Backported most crypto drivers form 4.4 mainstream linux
- Enabled new crypto drivers and optimizations
- Updated random drivers
- Updated synapse, hopefully all is up to your needs now :)
- Added thunderplug hotplug (keep in mind that playing with thunderplug settings may lead to SOD)
- Added a special tab for hotplug drivers: Stock, disabled or thunderplug
- Updated busybox
- Updated script to create an init.d file if not existing
- Fixed LED fading in synapse
- statenotifier enabled again for thunderplug

SuperKernel V1.9.6:
- Based on latest BPL3 source drop release
- Fixed adaptable storage problem

SuperKernel V1.9.7:
- Rebased on latest BPLB Kernel source drop
- Updated ramdisk to latest BPLB
- Updated Linux version to 3.18.46

SuperKernel V2.0:
- Only for NOUGAT and TOUCHWIZ roms
- Rebased on latest DPLT base
- Latest DPLT ramdisk
- Latest f2fs backport from 3.18.y branch
- Maple iosched added (needs testing)
- selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables
- UPSTREAM: capabilities: ambient capabilities
- BACKPORT: full hardened usercopy backported
- mnt: Add filesystem private data to mount points
- New DVFS tab in synapse
- Updated all mcRegistry files to Nougat
- Changed toolchain to selfcompiled GNU 6.3 a53 optimized
- Sqlite binary updated
- Fstrim added
- Busybox changed to sbin/busybox (needs to be at this directory otherwise synapse won't work!)
- Some other things I may forgot

SuperKernel V2.0.1:
- Linux updated to 3.18.47
- busybox detection enhanced (you can now install to /sbin, system/xbin or su/xbin)
- State notifier disabled by default
- Allow all cores to go to highest freq
- People report working deepsleep so if it does NOT work for you, give me your wakelock stats, otherwise that's not helping anyone

SuperKernel V2.0.2:
- Updated ramdisk to DQAS
- Changed some settings in wakelock tabs for synapse (deepsleep issue was produced setting to extreme levels in synapse)

SuperKernel V2.1.5:
- Based on latest DQB3 release
- Updated Linux version to 3.18.48
- Updated ramdisk to DQB3
- Updated all mcRegistries to DQB3
- Added HID gadget keyboard/mouse patch
- Updated android binder driver
- Also one file to flash for all variants

SuperKernel V2.2.0:
- Based on latest DQB7 source drop release
- Updated to latest DQB7 ramdisk
- Fake knox 0x0 (as in superman-rom 2.2 or superstock-rom 2.5) (credits to @lyapota )
- Fixed init.d not working correctly sometimes

SuperKernel V2.4.2:
- Completly rebased on top of superstock kernel
- Based on latest DQCG release
- Updated ramdisk to DQCG release
- Added and reworked scripts to fake knox (should also work with supersu now)
- Updated conservative and ondemand govenror
- Added PWM flicker free patch
- Fixed safetynet failing sometimes

SuperKernel V2.4.3:
- Updated Zen-tune to V4.10 version (only minor changes)
- Fixed thunderplug showing errors in synapse
- killed PWM flicker free due to many broken stuff
- mcRegistry files have been upgraded to DQCG
- Reverted many sched patches, I think general performance is much better now (maybe placebo idk), please let me know your thoughts!
- Fixed some synapse errors here and there, still I haven't had the time to work on cortex brain staying offline, sorry guys

SuperKernel V2.5.0:
- Source updgraded to DQD1 (same as DQD2)
- Ramdisk updated to DQD2
- mcRegistry updated to DQD2
- Fixed external iosched error on Synapse

SuperKernel V2.5.2:
- Ramdisk updated to DQD3
- mcRegistry files updated to DQD3
- Linux version updated to 3.18.51

SuperKernel V2.6.1:
- Updated to DQEF source code
- Updated ramdisk to DQEF
- Added more flags to resetprop (secret mode in browser should work again, at least it did on the s8)
- Updated to most recent f2fs branch from official google supporter
- Updated Linux to 3.18.56
- Updated mcRegistry to DQEF

SuperKernel V2.7.0:
- Based on latest DQFM source code
- Ramdisk updated to latest DQFM
- Updated linux to 3.18.60
- Reverted a patch in one of those linux updates which broke deepsleep in some cases
- Changed code for mcRegistries: they won't get replaced anymore, it just deletes the "bad" file
- Added spectrum support, untested!

SuperKernel V2.7.2:
- Based on latest DQG1 source code
- Ramdisk updated to latest DQG1
- Updated linux to 3.18.66
- Includes GPU libs, so there is no chance after another kernel this will bootloop!
- Since samsung is not updating their kernels very frequently on the s7, I thought I better push out some small updates

SuperKernel V2.8.0:
- DQH8 source drop update
- DQHY ramdisk update
- Linux update to 3.18.70
- Toolchain update to GNU GCC 6.4.0 @djb77

SuperKernel V2.9.0:
- Finally an awesome update to DQIC with a much higher changelist!
- DQIC ramdisk update
- Linux update to 3.18.72
- Updated AIK to V2.9

SuperKernel V2.10.0:
- DQJ1 source drop update
- DQJ1 ramdisk update
- Linux update to 3.18.77
- 6.4.1 toolchain update to @djb77

SuperKernel V2.10.1:
- DQK1 source code shares the same source as DQJ1, that's why it's only a small change
- DQK1 ramdisk update
- Linux update to 3.18.83
- Toolchain updated thanks to @djb77
- Boeffla wakelock control added

SuperKernel V2.10.5:
- DQLF still has the same kernel source code as DQK1
- DQLF ramdisk update
- Linux updated to latest 3.18.91
- Updated toolchain
- F2fs update to latest release
- AIK updated to v3.1

SuperKernel V2.11.0:
- DRAG source code update
- DRAG ramdisk update
- Linux update to 3.18.94
- Toolchain updated thanks to @djb77


SuperKernel V3.0.1:
- This kernel can only be used on OREO stock based roms! (no ports)
- Updated kernel source to most recent ERG2 code
- Updated ramdisk to ERG2
- Changed toolchain to google 4.9 for better compatibility
- Updated AIK to 3.3
- Updated f2fs to most recent available
- Updated linux to 3.18.118
- Added battery store mode
- All previous features are included!

SuperKernel V3.0.2:
- Rebuild from scratch to fix some bugs

SuperKernel V3.1.0:
- Source code based on ERH1
- Updated linux to 3.18.120
- Fixed samsungs mismatch in kernel compilation
 
Last edited:

Tkkg1994

Recognized Contributor / Inactive Recognized Devel
Jun 10, 2014
10,138
29,146
Coding City
Q&A

Below I added some basic Q&A stuff which here so hopefully it will answer most of your questions!


Q: How to get into Download Mode?
A: Power off your phone, than hold: home + volume down + power on button until you see the download mode.

Q: How to get into Recovery Mode?
A: Power off your phone, than hold: home + volume up + power on button until you see the recovery mode.

Q: I get verification failed at start up!?!? My phone is broken now?
A: Yes, you have to buy a new phone now. Just kidding :D You did not disable force encryption in TWRP (how to do so you will find below in how to decrypt your phone).

Q: I get FRP LOCK? WHYYYYYY???
A: Very simple answer, you did not enable OEM Unlock in developer options. Now you need to flash full rom with odin again and start from scratch. But don't forget to enable OEM Unlock this time!

Q: I got FC's and other Problems with the kernel, what to do?
A: Take a logcat for me, developers use to say: without a log, it never happened ;). A logcat can be grapped with a PC and ADB installed, simply type: adb logcat > log.txt while your phone is connected and the error is happening.

Q: What kind of logs can I provide to help you?
A: Logcat: This one is for general infos about FC's
DMESG: this is for kernel related things
Last_Kmsg: this can be used after a random reboot


Q: How to get logs?
A: 1. Connect your phone to your pc
2. Make sure you got usb debugging enabled
3. Install Minimal ADB tool
4. After install open it and type: adb logcat > logcat.txt, adb shell dmesg > dmesg.log, adb shell cat proc/last_kmsg kmsg.log
5. Send me the file you got


Q: Which devices are supported at the moment?
A: Current supported devices are: SM-G930F/FD/W8. All other exynos models can work but are UNTESTED

Q: Is this kernel working on Snapdragon 820 variants?
A: No, sadly not.

Q: Help, I never had a code and now after installing the rom my phone asks for a password??
A: Your device is still encrypted, on step 0 it tells you to be sure you're not. So, what do you need to to in case you are still encrypted:
1. Boot into TWRP
2. Select Wipe
3. Select wipe data
4. Then you manually need to type "yes" with the keyboard
5. Confirm the wipe (this will remove the encryption)
6. Reboot your recovery


Q: Is there a way to get rid of encryption which is simpler?
A: Not really, you could also wipe data with stock recovery but this is quite a big hassle so above method works better.

Q: On TWRP there is an error about /data mount, what to do?
A: Your device is encrypted, follow the above steps to get rid of your encryption.

Q: Synapse shows no UCI support!
A: Reflash kernel, a script of you may overwrite my synapse config

Q: I want to switch kernel, how?
A: Since we have systemless xposed and systemless supersu, we have patches in ramdisk of boot.img. This means you have to reflash xposed and supersu after every change of kernel!.

Q: I lost root after installing this rom. What to do?
A: All mods (like supersu, phh's root, xposed and magisk) are stored in /ramdisk of kernel boot.img. So if you flash this rom, and after this another kernel (Which has supersu included by default) you can not do much. You have to stick to the two kernels provided in rom. Also when switching kernel, you need to flash all related zips again after changing it. Last tip: Do not use magisk until you really need it for android pay!

Q: I got random reboots, heeelp!
A: This is most likely from a custom kernel, if you face random reboots please check if you have the latest kernel installed or switch back to the stock kernel included in the rom.

Q: My screen is kind of yellow/orange and the touchscreen doesn't work at all!
A: You have chosen the wrong kernel in aroma selection. Reflash the rom without any wipe selecting the right kernel version.
 
Last edited:
G

GuestK00195

Guest
Thanks for this kernel. I like the zzmoove governor. But if i choose him on little my phone freezes and than it reboots. At big it's ok
 

Destroyedbeauty

Senior Member
Apr 16, 2012
2,301
712
28
Sundsvall
Zzmoove does hotplug, but the little cores can't do hotplugging. So it will reboot

Sent with my SM-G930F powered by SuperMan
Any chance that you will add..

1) ARCH_POWER
2) ROW Scheduler
3) Make Power Efficient WorkQueues user-configurable in next version
4) Trim kernel and remove useless debuggers, bloated kernel drivers and so on for making the kernel as slim and battery / performance friendly as possible
5) (Perhaps) configurable C-States (Idle states) ?

Just as some bonus, useful stuff in v2.0? :)

Sent from my SGP712 using XDA-Developers mobile app
 

Tkkg1994

Recognized Contributor / Inactive Recognized Devel
Jun 10, 2014
10,138
29,146
Coding City
Any chance that you will add..

1) ARCH_POWER
2) ROW Scheduler
3) Make Power Efficient WorkQueues user-configurable in next version
4) Trim kernel and remove useless debuggers, bloated kernel drivers and so on for making the kernel as slim and battery / performance friendly as possible
5) (Perhaps) configurable C-States (Idle states) ?

Just as some bonus, useful stuff in v2.0? :)

Sent from my SGP712 using XDA-Developers mobile app

1. Arch power has been removed on mainstream kernel
2. ROW was my plan as well
3. It is enabled by default, but isn't it already tuneable?
4. This is always my goal
5. Haven't thought about that until now

Sent with my SM-G930F powered by SuperMan
 
  • Like
Reactions: Quickvic30

Destroyedbeauty

Senior Member
Apr 16, 2012
2,301
712
28
Sundsvall
1. Arch power has been removed on mainstream kernel
2. ROW was my plan as well
3. It is enabled by default, but isn't it already tuneable?
4. This is always my goal
5. Haven't thought about that until now

Sent with my SM-G930F powered by SuperMan
PowerEfficient WorkQueues seems to revert itself to "Enabled / On" even though I have tried to disable it..

Sent from my SGP712 using XDA-Developers mobile app
 

Tkkg1994

Recognized Contributor / Inactive Recognized Devel
Jun 10, 2014
10,138
29,146
Coding City
Another question. Can you add undervolting?

I'm using the KTweaker app and it allows me to undervolt.

Sent from the silver bullet 930F Running Superman Rom
Yes it's already in the kernel but not all kernel apps can detect that. Will add stweaks and/or synapse support for this soon

Sent with my SM-G930F powered by SuperMan
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 98
    SuperKernel for SM-G930F/FD/K/L/S/W8

    41ba937c-80a9-47a9-8984-e83191b1ad82.png

    Supports all touchwiz roms 6.0.1 on BPH6 base and higher

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

    Please check Question and Answer Thread first!

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

    SuperMan-Rom, a Touchwiz based rom made by myself!

    Features of this Kernel:
    - Build with latest official google toolchain v4.9
    - Build with ERH1 kernel source!
    - Latest Linux version 3.18.120, is always up to date
    - Performance and Batterylife improved
    - Choose between different CPU governors: performance, powersave, userspace, ondemand, interactiv (default), conservative, zzmoove, barry_allen, nightmare, darkness, pegasusq, yankactive intelliactive, ondemandplus, intellimm, bioshock, lionheart, smartmax, smartass2, smartmax_eps, alucard, blu_active, cafactive, electrodemand, ondemand_x, hyper and intellidemand
    - Built with latest ramdisk sources from samsung (ERG2)
    - Frandom Support
    - Thunderplug hotplug driver can be selected in aroma (only for advanced users!)
    - Gzip compressed ramdisk (supersu, magisk etc will work fine)
    - I/O schedulers: CFQ (Default), ROW, No-op, Deadline, BFQ, FIOPS, SIO, VR, ZEN, FIFO, maple and SIOplus
    - UKSM (Ultra Kernel Samepage Merging)
    - Zram can be set in synapse
    - Gentle fair sleeper switch enabled
    - StateNotifier included
    - HTC's async added
    - Fsync toggle
    - LED Control
    - Charging control
    - HMP control
    - Full CPU/GPU control in synapse
    - DVFS in Synapse
    - Many controllable wakelocks
    - Underclock: big core to 312Mhz, little core to 338Mhz
    - Overlock: depens on your ASV
    - GPU OC to 806 Mhz
    - Init.d Support
    - NTFS file system enabled
    - CIFS/NFS file systems enabled
    - F2fs supported
    - Allow ADB-Insecure
    - Wlan Wakelock decreased
    - Fully controllable with synapse
    - TCP (Network) control: Bic (default), Reno, cubic, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, LP, Yeah and Illinois
    - Selinux is set to permissive
    - Zen-Tune implemented
    - All bad samsung drivers disabled (like tima or rkp)
    - Force encryption disabled
    - Knox faked to 0x0
    - Boeffla wakelock control


    Download:
    Marshmallow V1.X:

    Nougat V2.X:

    Oreo V3.X:

    Download via GrifoDev
    All old releases

    Bugs/Problems:
    - None

    Instructions:
    0. Make a backup of your current stock kernel in TWRP, just in case you want to go back
    1. Install a custom recovery for your phone, like this one here:TWRP
    2. Follow the instructions on the page above, until you get a working recovery
    3. Download the Kernel from below and copy it to your external SD Card
    4. Reboot to your recovery by pressing volume up, home button and power button at the same time.
    5. Install zip/select the kernel
    6. Flash supersu, phh's root, magisk and all things that modify your boot.img
    7. Wipe cache and dalvik cache (recommand)
    8. Reboot

    If you wanna join the beta tester group, download yourself telegram and click on the chat link: Telegram Group

    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:

    Credits/Thanks:
    - Samsung for sources
    - the great linus for his amazing kernel source
    - arter97
    - Jesec (for the great FP fix!!)
    - dorimanx
    - AndreiLux
    - halaskz
    - neobuddy83
    - UpInTheAir for his great Synapse implementation

    XDA:DevDB Information
    SuperKernel for herolte, Kernel for the Samsung Galaxy S7

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

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: V3.1.0
    Stable Release Date: 2018-08-31

    Created 2016-05-30
    Last Updated 2018-09-25
    47
    Changelog:

    Old Changelogs:
    SuperKernel V1.0:
    - Changes compared to stock:
    - updated CPUfreq drivers
    - updated to latest stable linux (3.18.34)
    - updated zram/zsmalloc and zswap for better ram management
    - implemented tasks adj tree
    - updated ext4
    - updated crypto files
    - added UKSM
    - updated workqueue and sched features
    - added gentle fair sleepers switch
    - added new governors, ioscheds and tcp
    - backports from 4.0 kernel
    - many more things (already over 1000 changes compared to stock!!!)
    - detailed history

    SuperKernel V1.1:
    - fixed fingerprint support, thanks to @Jesse Chan who found the right files to delete!
    - arm64: mm: support ARCH_MMAP_RND_BITS
    - int_sqrt.c: Correction square root algo with naming
    - int_sqrt: Improve 3x faster integer sqrt
    - mm: mmap: add new /proc tunable for mmap_base ASLR
    - mmc: core: Expose use_spi_crc module parameter in sysfs (and disable it to gain perfomance)
    - tima, knox and all "bad" samsung related configs are disabled now!
    - over 100 updates in kernel/sched and in kernel/rcu to gain performance and better batterylife
    - as always, visit github to see what exactly changed!

    SuperKernel V1.2.1:
    - Reverted back some changes I made in kernel/sched and kernel/time -> Probably fixed the random reboots (I never had one before, so you need to test this)
    - Added the requested ROW iosched
    - Added UC/OC frequencies thanks to @Jesse Chan (Kernel detects if you phone is capable or not for OC (jesses work), I added a check that only Grade A phones have full OC)
    - added DAX to fs
    - Many /mm and filesystem Updates (for ext4, ext3, ext2 and f2fs)
    - Applied Jesse's fingerprint lag fix
    - updated kernel/locking
    - implemented Zen-tune V4.5
    - cfq-iosched: fix the setting of IOPS mode on SSD
    - More changes on github

    SuperKernel V1.2.5:
    - changed ramdisk compression from lz4 to gzip (which should fix systemless xposed)
    - add a fsync toggle to enable and disable fsync
    - added async from HTC
    - Use erandom functions
    - added wakup toggle for wlan
    - mm: Allow for Exynos swap to be enabled
    - enabled 2 additional lower CPU steps
    - update "mm/zsmalloc: don't fail if can't create debugfs info"
    - updated cifs/nfs/nfsd and filesystems
    - updated memory management (page_alloc, vmstat, etc)
    - added new z3fold driver
    - probably made fingerprint scanner a little big faster

    SuperKernel V1.3.1:
    - Updated ramdisk to APF2
    - Updated linux to 3.18.35
    - removed the red latter at start up (you really really wanted that :D )
    - Fixed random reboots from 1.3 in superman rom
    - added a wakelock fix who should fix some google wakelocks

    SuperKernel V1.4:
    - completely reworked my w. Wipe cache and dalvik cache (recommand)
    hole source code, now available under: Github
    - Updated ramdisk with latest supersu patch
    - many updates in /base/power/opp
    - backports from 3.19 branch
    - interactive updates (even more smooth now)
    - added kasan for arm64 devices
    - overall smoothness improved
    - tested over one day, not a single reboot till now

    SuperKernel V1.7:
    - fixed phone turning on when offline charging
    - Updated base and ramdisk to latest BPH6 source, this kernel will only work on BPH6 ROM!!!!
    - added full synapse support, thanks to UpInTheAir (I adapted his implementation to work on S7)
    - Updated linux to 3.18.39
    - added f2fs support for /data
    - fixed private mode not working after a reboot
    - fully remade the whole source tree to get you the best experience!
    - fixed the tcp bug which would otherwise make your phone vulnerable
    - some other backports
    - updated workqueue
    - switched to 7.0 sabermod toolchain
    - many more things I may forgot

    SuperKernel V1.8.5:
    - Started from scratch on BPHJ source code
    - No more freezing, not a single problem left anymore!
    - Updated to 3.18.42 linux (latest)
    - Merged some new linaro patches into kernel
    - f2fs should now work (and stay) on partitions you have chosen
    - HMP opimizations added (tunable in synapse)
    - GPU UC removed for now
    - CPU OC/UC enabled, but stock freqs are default on first flash
    - Disabled PEWQ (can be enabled in synapse)
    - Updated thermal
    - Disabled task ADJ tree
    - enabled hmp packing
    - crypto updated
    - cpufreq some small updates
    - BPIF ramdisk
    - Selinux audit configurable

    SuperKernel V1.9:
    - Based upon BPJ7 source code
    - Updated to linux 3.18.44
    - added GPU OC to 806Mhz (thanks to @lyapota)
    - updated ramdisk to BPJ7
    - fixed some battery settings in synapse
    - updated busybox to 1.26
    - patched CVE-2016-5195
    - changed behavior of cpu on high freqs a bit

    SuperKernel V1.9.2:
    - Updated to BPJG source drop
    - Updated ramdisk to BPJG source

    SuperKernel V1.9.5:
    - This kernel is only for MM!
    - Ramdisk base changed to BPL3 (source base is still the same)
    - Updated linux to latest 3.18.45 version
    - Backported most crypto drivers form 4.4 mainstream linux
    - Enabled new crypto drivers and optimizations
    - Updated random drivers
    - Updated synapse, hopefully all is up to your needs now :)
    - Added thunderplug hotplug (keep in mind that playing with thunderplug settings may lead to SOD)
    - Added a special tab for hotplug drivers: Stock, disabled or thunderplug
    - Updated busybox
    - Updated script to create an init.d file if not existing
    - Fixed LED fading in synapse
    - statenotifier enabled again for thunderplug

    SuperKernel V1.9.6:
    - Based on latest BPL3 source drop release
    - Fixed adaptable storage problem

    SuperKernel V1.9.7:
    - Rebased on latest BPLB Kernel source drop
    - Updated ramdisk to latest BPLB
    - Updated Linux version to 3.18.46

    SuperKernel V2.0:
    - Only for NOUGAT and TOUCHWIZ roms
    - Rebased on latest DPLT base
    - Latest DPLT ramdisk
    - Latest f2fs backport from 3.18.y branch
    - Maple iosched added (needs testing)
    - selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables
    - UPSTREAM: capabilities: ambient capabilities
    - BACKPORT: full hardened usercopy backported
    - mnt: Add filesystem private data to mount points
    - New DVFS tab in synapse
    - Updated all mcRegistry files to Nougat
    - Changed toolchain to selfcompiled GNU 6.3 a53 optimized
    - Sqlite binary updated
    - Fstrim added
    - Busybox changed to sbin/busybox (needs to be at this directory otherwise synapse won't work!)
    - Some other things I may forgot

    SuperKernel V2.0.1:
    - Linux updated to 3.18.47
    - busybox detection enhanced (you can now install to /sbin, system/xbin or su/xbin)
    - State notifier disabled by default
    - Allow all cores to go to highest freq
    - People report working deepsleep so if it does NOT work for you, give me your wakelock stats, otherwise that's not helping anyone

    SuperKernel V2.0.2:
    - Updated ramdisk to DQAS
    - Changed some settings in wakelock tabs for synapse (deepsleep issue was produced setting to extreme levels in synapse)

    SuperKernel V2.1.5:
    - Based on latest DQB3 release
    - Updated Linux version to 3.18.48
    - Updated ramdisk to DQB3
    - Updated all mcRegistries to DQB3
    - Added HID gadget keyboard/mouse patch
    - Updated android binder driver
    - Also one file to flash for all variants

    SuperKernel V2.2.0:
    - Based on latest DQB7 source drop release
    - Updated to latest DQB7 ramdisk
    - Fake knox 0x0 (as in superman-rom 2.2 or superstock-rom 2.5) (credits to @lyapota )
    - Fixed init.d not working correctly sometimes

    SuperKernel V2.4.2:
    - Completly rebased on top of superstock kernel
    - Based on latest DQCG release
    - Updated ramdisk to DQCG release
    - Added and reworked scripts to fake knox (should also work with supersu now)
    - Updated conservative and ondemand govenror
    - Added PWM flicker free patch
    - Fixed safetynet failing sometimes

    SuperKernel V2.4.3:
    - Updated Zen-tune to V4.10 version (only minor changes)
    - Fixed thunderplug showing errors in synapse
    - killed PWM flicker free due to many broken stuff
    - mcRegistry files have been upgraded to DQCG
    - Reverted many sched patches, I think general performance is much better now (maybe placebo idk), please let me know your thoughts!
    - Fixed some synapse errors here and there, still I haven't had the time to work on cortex brain staying offline, sorry guys

    SuperKernel V2.5.0:
    - Source updgraded to DQD1 (same as DQD2)
    - Ramdisk updated to DQD2
    - mcRegistry updated to DQD2
    - Fixed external iosched error on Synapse

    SuperKernel V2.5.2:
    - Ramdisk updated to DQD3
    - mcRegistry files updated to DQD3
    - Linux version updated to 3.18.51

    SuperKernel V2.6.1:
    - Updated to DQEF source code
    - Updated ramdisk to DQEF
    - Added more flags to resetprop (secret mode in browser should work again, at least it did on the s8)
    - Updated to most recent f2fs branch from official google supporter
    - Updated Linux to 3.18.56
    - Updated mcRegistry to DQEF

    SuperKernel V2.7.0:
    - Based on latest DQFM source code
    - Ramdisk updated to latest DQFM
    - Updated linux to 3.18.60
    - Reverted a patch in one of those linux updates which broke deepsleep in some cases
    - Changed code for mcRegistries: they won't get replaced anymore, it just deletes the "bad" file
    - Added spectrum support, untested!

    SuperKernel V2.7.2:
    - Based on latest DQG1 source code
    - Ramdisk updated to latest DQG1
    - Updated linux to 3.18.66
    - Includes GPU libs, so there is no chance after another kernel this will bootloop!
    - Since samsung is not updating their kernels very frequently on the s7, I thought I better push out some small updates

    SuperKernel V2.8.0:
    - DQH8 source drop update
    - DQHY ramdisk update
    - Linux update to 3.18.70
    - Toolchain update to GNU GCC 6.4.0 @djb77

    SuperKernel V2.9.0:
    - Finally an awesome update to DQIC with a much higher changelist!
    - DQIC ramdisk update
    - Linux update to 3.18.72
    - Updated AIK to V2.9

    SuperKernel V2.10.0:
    - DQJ1 source drop update
    - DQJ1 ramdisk update
    - Linux update to 3.18.77
    - 6.4.1 toolchain update to @djb77

    SuperKernel V2.10.1:
    - DQK1 source code shares the same source as DQJ1, that's why it's only a small change
    - DQK1 ramdisk update
    - Linux update to 3.18.83
    - Toolchain updated thanks to @djb77
    - Boeffla wakelock control added

    SuperKernel V2.10.5:
    - DQLF still has the same kernel source code as DQK1
    - DQLF ramdisk update
    - Linux updated to latest 3.18.91
    - Updated toolchain
    - F2fs update to latest release
    - AIK updated to v3.1

    SuperKernel V2.11.0:
    - DRAG source code update
    - DRAG ramdisk update
    - Linux update to 3.18.94
    - Toolchain updated thanks to @djb77


    SuperKernel V3.0.1:
    - This kernel can only be used on OREO stock based roms! (no ports)
    - Updated kernel source to most recent ERG2 code
    - Updated ramdisk to ERG2
    - Changed toolchain to google 4.9 for better compatibility
    - Updated AIK to 3.3
    - Updated f2fs to most recent available
    - Updated linux to 3.18.118
    - Added battery store mode
    - All previous features are included!

    SuperKernel V3.0.2:
    - Rebuild from scratch to fix some bugs

    SuperKernel V3.1.0:
    - Source code based on ERH1
    - Updated linux to 3.18.120
    - Fixed samsungs mismatch in kernel compilation
    29
    Changelog V1.2.5

    Changelog for new version:

    - changed ramdisk compression from lz4 to gzip (which should fix systemless xposed)
    - add a fsync toggle to enable and disable fsync
    - added async from HTC
    - Use erandom functions
    - added wakup toggle for wlan
    - mm: Allow for Exynos swap to be enabled
    - enabled 2 additional lower CPU steps
    - update "mm/zsmalloc: don't fail if can't create debugfs info"
    - updated cifs/nfs/nfsd and filesystems
    - updated memory management (page_alloc, vmstat, etc)
    - added new z3fold driver
    - probably made fingerprint scanner a little big faster
    - Many many other changes on github

    Download
    18
    SuperKernel V1.1:
    - fixed fingerprint support, thanks to @Jesse Chan who found the right files to delete!
    - arm64: mm: support ARCH_MMAP_RND_BITS
    - int_sqrt.c: Correction square root algo with naming
    - int_sqrt: Improve 3x faster integer sqrt
    - mm: mmap: add new /proc tunable for mmap_base ASLR
    - mmc: core: Expose use_spi_crc module parameter in sysfs (and disable it to gain perfomance)
    - tima, knox and all "bad" samsung related configs are disabled now!
    - over 100 updates in kernel/sched and in kernel/rcu to gain performance and better batterylife
    - as always, visit github to see what exactly changed!

    download: download link. Coming from any version, just flash in recovery and boot up :)
    18
    SuperKernel V1.3.1:
    - Updated ramdisk to APF2
    - Updated linux to 3.18.35
    - removed the red latter at start up (you really really wanted that :D )
    - Fixed random reboots from 1.3 in superman rom
    - added a wakelock fix who should fix some google wakelocks

    Download V1.3.1
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone